/* Aplicando las fuentes y colores base */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f2ef;
    /* Base clara para transiciones */
}

.font-bebas {
    font-family: 'Bebas Neue', sans-serif;
}

h1,
h2,
h3 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.05em;
}

strong {
    font-weight: 700;
}

/* Colores y fondos */
.bg-light {
    background-color: #f4f2ef;
}

.text-dark {
    color: #1a1a1a;
}

.bg-dark {
    background-color: #1a1a1a;
}

.text-light {
    color: #f4f2ef;
}

.grainy-dark {
    background-color: #1a1a1a;
    position: relative;
}

.grainy-dark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800"><filter id="f"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23f)" opacity="0.05"/></svg>');
    z-index: 2;
}

footer.grainy-dark {
    background-color: #000000;
    /* Fondo más oscuro para el footer */
}

.content-wrapper {
    position: relative;
    z-index: 10;
}

.hero-section {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9) 0%, rgba(26, 26, 26, 0.6) 50%, rgba(26, 26, 26, 0.9) 100%);
    z-index: 1;
}

/* Tarjetas de precios adaptadas */
.price-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.light .price-card {
    border: 1px solid #c8c8c8;
    background-color: #f4f2ef;
}

.dark .price-card {
    border: 1px solid #4a4a4a;
    background-color: #2a2a2a;
}

.light .recommended-card {
    border: 1px solid #1a1a1a;
}

.dark .recommended-card {
    border: 1px solid #f4f2ef;
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.light .recommended-badge {
    background-color: #1a1a1a;
    color: #f4f2ef;
}

.dark .recommended-badge {
    background-color: #f4f2ef;
    color: #1a1a1a;
}

/* Ocultar precios por defecto */
.price-display {
    display: none;
}

/* Botones adaptados */
.cta-button {
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

.light .cta-button {
    background-color: #1a1a1a;
    color: #f4f2ef;
}

.light .cta-button:hover {
    background-color: #4a4a4a;
}

.dark .cta-button {
    background-color: #f4f2ef;
    color: #1a1a1a;
}

.dark .cta-button:hover {
    background-color: #c8c8c8;
}

/* Animación de entrada */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll down arrow */
.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-20px);
    }

    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Animación del carrusel de logos */
@keyframes scroll {
    to {
        transform: translate(calc(-50% - 2rem));
    }
}

.scroller {
    max-width: 100%;
}

.scroller__inner {
    padding-block: 1rem;
    display: flex;
    flex-wrap: nowrap;
    gap: 4rem;
}

.scroller[data-animated="true"] {
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller[data-animated="true"] .scroller__inner {
    width: max-content;
    animation: scroll 40s linear infinite;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebc59;
}