html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
}

@layer base {
    body {
        font-family: 'Open Sans', sans-serif;
        color: #555555;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-family: 'Montserrat', sans-serif;
    }
}

@layer components {

    /* Estrellas de calificación - Testimonios */
    .star-icon {
        color: #F59E0B;
        font-size: 1.375rem;
        line-height: 1;
    }

    /* Countdown Timer - Banner de urgencia */
    .countdown-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.25);
        border-radius: 0.5rem;
        padding: 0.375rem 0.625rem;
        min-width: 3rem;
    }

    .countdown-num {
        font-family: 'Montserrat', sans-serif;
        font-weight: 900;
        font-size: 1.75rem;
        line-height: 1;
        color: #ffffff;
    }

    .countdown-label {
        font-family: 'Open Sans', sans-serif;
        font-size: 0.625rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.7);
        margin-top: 0.125rem;
    }

    /* --- Headline para CTAs (Mobile First) --- */
    .cta-headline {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        color: #1B3022;
        text-align: center;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;

        /* Cambios específicos que pediste */
        font-size: 1.7rem !important;
        /* Tamaño para móvil */
        line-height: 1.1 !important;
        /* Interlineado bien cerrado */
        margin-bottom: 2rem !important;
        /* Espacio con el botón */
    }

    /* --- Ajustes para Escritorio --- */
    @media (min-width: 768px) {
        .cta-headline {
            font-size: 2rem !important;
            /* Un poco más grande en PC */
            line-height: 1.2 !important;
            margin-bottom: 2.5rem !important;
        }
    }


    /* Badge del Hero */
    .hero-badge {
        background-color: #1c9a57;
        color: #ffffff;
        font-family: 'Montserrat', sans-serif;
        font-size: 1.4rem !important;
        line-height: 1.4 !important;
    }

    @media (min-width: 768px) {
        .hero-badge {
            line-height: 1.1 !important;
        }
    }
}

/* Botones CTA Globales */
/* Sacado fuera de @layer para que la especificidad prevalezca sobre el preflight (reset) de Tailwind */
.cta-button {
    background-color: #1c9a57 !important;
    border: 2px solid white !important;
    border-radius: 9999px !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out !important;
    color: white !important;
}

.cta-button:hover {
    transform: scale(1.05) !important;
    background-color: #28a865 !important;
}

.naranja {
    color: #ff9100 !important;
}

/* --- Tamaño del texto del Botón (Móvil) --- */
.cta-button {
    /* Cambia este valor para agrandar o achicar en el celular */
    font-size: 1.6rem !important;

    /* Opcional: Si quieres que el texto no esté tan pegado a los bordes al agrandarlo */
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

/* --- Tamaño del texto del Botón (Escritorio) --- */
@media (min-width: 768px) {
    .cta-button {
        /* Cambia este valor para el tamaño en monitor/PC */
        font-size: 1.8rem !important;
    }
}


@layer utilities {

    /* Rotación de chevron en FAQ accordion */
    details[open] .faq-chevron {
        transform: rotate(180deg);
    }

    /* Elimina el marcador nativo en todos los navegadores */
    details>summary {
        list-style: none;
    }

    details>summary::-webkit-details-marker {
        display: none;
    }
}

/* --- Pricing Card Premium --- */
.oferta-premium-container {
    background-color: #0b1c13;
    /* Fondo verde muy oscuro, más profundo que el contenedor padre */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 2rem;
}

.oferta-card-destacada {
    border: 1px solid rgba(255, 184, 77, 0.4);
    /* Borde naranja opaco sutil */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 1.5rem;
}

.precio-final-destacado {
    color: #FFB84D;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    /* font-black */
    letter-spacing: -0.05em;
    /* tracking-tighter */
    line-height: 1;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.precio-antiguo {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Open Sans', sans-serif;
    text-decoration: line-through;
    font-weight: 700;
    font-size: 1.5rem;
}

.badge-descuento {
    background-color: #e53e3e;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    transform: rotate(-5deg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    font-size: 2rem;
}

.sello-premium {
    width: 200px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.4));
}

@media (min-width: 1024px) {
    .sello-premium {
        width: 200px;
    }
}