/* ── HERO BANNER ─────────────────────────────────────── */
.banner {
    position: relative;
    background: url('../public/img/banner.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
}

/* Gradiente lateral: verde-bosque oscuro hacia la izquierda, transparente hacia la derecha */
.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 30, 10, 0.78) 0%,
        rgba(10, 30, 10, 0.50) 40%,
        rgba(10, 30, 10, 0.08) 65%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 0;
}

.banner > * {
    position: relative;
    z-index: 1;
}

/* Sin fondo blanco — texto flota sobre la imagen */
.banner .txt-banner {
    background: transparent;
    text-align: center;
}

/* Título principal en blanco */
.banner .txt-banner h1,
.banner .txt-banner h1 * {
    color: #ffffff !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

/* "Cuida tu cabello" en verde claro que combina con el follaje */
.banner .txt-banner h1 .text-primary,
.banner .txt-banner h1 span.text-primary {
    color: #b5e46a !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

/* Párrafo descriptivo */
.banner .txt-banner p {
    text-align: center;
    color: rgba(255, 255, 255, 0.90) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

/* Badge "Artesanal & Orgánico" — glassmorphism verde */
.banner .txt-banner .inline-flex.rounded-full {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #d4f0a0 !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.banner .txt-banner .inline-flex.rounded-full * {
    color: #d4f0a0 !important;
}

/* Botón "Ver Catálogo" — borde blanco translúcido */
.banner .txt-banner a.border-primary {
    border-color: rgba(255, 255, 255, 0.65) !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.10) !important;
}
.banner .txt-banner a.border-primary:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
}

@media (min-width: 768px) {
    .banner .txt-banner {
        text-align: left;
    }
    .banner .txt-banner p {
        text-align: left;
    }
}


.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-display {
    font-family: 'Public Sans', sans-serif;
}

header img.logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

@media (min-width: 768px) {
    header img.logo {
        width: 90px;
        height: 90px;
    }
}

.bg-background-primary {
    background-color: #f9ebd4;
}

/* Justificar textos del contenido sin romper bloques centrados */
main p {
    text-align: justify;
    text-justify: inter-word;
}

main .text-center p {
    text-align: center;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows .35s ease, opacity .25s ease;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
    opacity: 1;
}

.faq-icon {
    transition: transform .3s ease, color .3s ease;
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
}

/* Mobile menu */
#mobileMenu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
}

#mobileMenu.open {
    display: block;
}

#mobileMenuOverlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

#mobileMenuPanel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(85vw, 320px);
    height: 100%;
    background: #f9ebd4;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    animation: slideInFromRight 0.25s ease;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.bgFaq {
    background: url('/public/img/Mascarilla.png') no-repeat center;
    background-size: cover;
    width: 100%;
    height: 100%;
}