/* ====== style.css - KHALY BEAUTY STUDIO - VERSIÓN LOGO ACTUALIZADA ====== */

/* ====== 1. VARIABLES CSS & CONFIGURACIÓN GLOBAL ====== */
:root {
    /* Paleta de Colores Corporativos Khaly Premium */
    --color-bg-cream: #FAF9F6;
    /* Blanco Cálido (50%) */
    --color-bg-cream-dark: #F5F1E8;
    /* Beige Ivory (20%) */
    --color-text-brown: #8C8880;
    /* Gris Cemento Medio (15%) */
    --color-text-dark: #1A1A1A;
    /* Negro Premium (5%) */
    --color-gold: #967630;
    /* Dorado Arena (10%) */
    --color-gold-light: #C0A465;
    /* Tono claro derivado del Dorado Arena */
    --color-footer-bg: #1A1A1A;
    /* Negro Premium */

    /* Tipografías */
    --font-serif: 'Playfair Display', serif;
    /* Para Títulos */
    --font-sans: 'Montserrat', sans-serif;
    /* Para Cuerpo de texto y botones */

    /* MODIFICACIÓN AQUÍ: AÑADIMOS LA NUEVA FUENTE PARA EL LOGO */
    --font-logo: 'Pinyon Script', cursive;
    /* <--- Esta es la fuente manuscrita elegante */

    /* Configuración (Mantener) */
    --header-height: 90px;
    --section-spacing: 80px;
    --transition-fast: 0.3s ease;
    --border-gold-thin: 1px solid var(--color-gold);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-cream);
    color: var(--color-text-brown);
    font-family: var(--font-sans);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    color: var(--color-text-dark);
    font-weight: 400;
}

h1 {
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.section-subtitle-gold {
    font-family: var(--font-sans);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.section-intro {
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1rem;
    color: var(--color-text-brown);
    opacity: 0.85;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: var(--section-spacing) 0;
}

.bg-cream-dark {
    background-color: var(--color-bg-cream-dark);
}

.text-center {
    text-align: center;
}

.no-padding-bottom {
    padding-bottom: 0;
}

/* --- BOTONES --- */
.btn-gold,
.btn-gold-outline,
.btn-ghost {
    padding: 15px 30px;
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 500;
    display: inline-block;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.btn-gold {
    background-color: var(--color-gold);
    color: white;
    border-color: var(--color-gold);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--color-gold);
}

.btn-gold-outline {
    background-color: transparent;
    color: var(--color-gold);
    border-color: var(--color-gold);
}

.btn-gold-outline:hover {
    background-color: var(--color-gold);
    color: white;
}

.btn-gold-outline.small {
    padding: 10px 20px;
    font-size: 0.7rem;
}

/* Botón fantasma */
.btn-ghost {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
}

.link-gold {
    color: var(--color-gold);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
}

.link-gold .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.link-gold:hover .arrow {
    transform: translateX(5px);
}


/* ================================================================
   HEADER + DROPDOWN
================================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.75rem 0;
    /* Reducido de 0.85rem a 0.75rem para restar aprox 3px adicionales de alto total */
    background-color: var(--color-bg-cream);
    transition: all 0.4s ease;
    border-bottom: var(--border-gold-thin);
}

.header.scrolled {
    background-color: rgba(248, 245, 240, 0.98);
    padding: 0.55rem 0;
    /* Reducido de 0.65rem a 0.55rem */
    border-bottom: var(--border-gold-thin);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-btn {
    background: none;
    border: none;
    font-size: 1.6rem;
    /* Un poco más grande para mayor visibilidad */
    font-weight: 600;
    /* Más grueso para que se note más */
    color: var(--color-text-brown);
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 0.5rem;
    /* Reducido para acercar al logo */
    transition: all 0.3s ease;
    opacity: 0.8;
    /* Ligeramente más opaco por defecto */
}

.back-btn:hover {
    opacity: 1;
    color: var(--color-gold);
}

/* Ajuste para alinear logo y botón de volver en páginas internas (Desktop) */
@media (min-width: 769px) {

    .internal-page .header-content,
    .product-page .header-content {
        justify-content: flex-start;
    }

    .internal-page .header-content .nav-menu,
    .product-page .header-content .nav-menu {
        margin-left: auto;
    }
}

.logo {
    text-align: center;
    /* Efecto eliminado para que el logo siempre sea visible */
}

.logo h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0;
    line-height: 1;
    color: var(--color-text-dark);
}

.logo span {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold);
}

/* Nav menu */
.nav-menu ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.6rem;
}

.nav-menu a {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-brown);
    position: relative;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.nav-menu a:not(.btn-gold-outline)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-menu a:not(.btn-gold-outline):hover::after {
    width: 100%;
}

/* Icono de cuenta en Nav */
.nav-account-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-account-icon svg {
    stroke: var(--color-text-brown);
    transition: stroke 0.3s ease;
}

.nav-account-icon:hover svg {
    stroke: var(--color-gold);
}

/* No necesita ::after */
.nav-account-icon::after {
    display: none !important;
}


/* --- DROPDOWN --- */
.has-dropdown {
    position: relative;
    padding-bottom: 18px;
    /* Puente invisible para el cursor */
    margin-bottom: -18px;
    /* Compensa el padding para no afectar el layout */
}

.dropdown-trigger .chevron {
    font-size: 0.65rem;
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 3px;
}

.has-dropdown.open .dropdown-trigger .chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
    background: var(--color-bg-cream);
    border: var(--border-gold-thin);
    box-shadow: 0 20px 40px rgba(44, 38, 33, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateX(-50%) translateY(10px);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--color-bg-cream);
    border-left: var(--border-gold-thin);
    border-top: var(--border-gold-thin);
}

.has-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.dropdown-inner {
    padding: 0.75rem;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 2px;
    transition: background 0.2s ease;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 0.9rem !important;
}

.dropdown-item::after {
    display: none !important;
}

.dropdown-item:hover {
    background: var(--color-bg-cream-dark);
}

.dropdown-item:hover .di-icon {
    color: var(--color-gold);
}

.di-icon {
    color: var(--color-gold-light);
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.dropdown-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-dark);
}

.dropdown-item small {
    font-size: 0.75rem;
    color: var(--color-gold);
    font-style: italic;
}

/* Hamburger */
.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1100;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--color-text-dark);
}

/* Side menu mobile */
.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 38, 33, 0.8);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100%;
    background-color: var(--color-bg-cream);
    z-index: 1002;
    padding: 100px 40px 50px;
    transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    border-left: 1px solid rgba(191, 163, 124, 0.2);
    display: flex;
    flex-direction: column;
    gap: 3rem;
    box-shadow: -15px 0 40px rgba(44, 38, 33, 0.08);
}

.side-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.side-menu a {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--color-text-dark);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    opacity: 0.85;
}

.side-menu a:active {
    color: var(--color-gold);
    opacity: 1;
    transform: translateX(5px);
}

.side-cta {
    margin-top: auto;
    text-align: center;
    width: 100%;
    letter-spacing: 1px;
    padding: 15px 10px;
    border-radius: 40px;
    white-space: nowrap;
    font-weight: bold;
    font-size: 0.9rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-menu {
    display: none;
    /* Se eliminó del HTML, pero por si acaso lo ocultamos */
}

body.menu-active .side-menu {
    right: 0;
}

body.menu-active .side-menu-overlay {
    opacity: 1;
    visibility: visible;
}

/* ================================================================
   NUEVO HERO LIMPIO
================================================================ */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-parallax-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content-clean {
    position: relative;
    z-index: 10;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content-clean .big-logo {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 7rem;
    color: #FFFFFF;
    margin: 0;
    line-height: 1;
    letter-spacing: 8px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-content-clean .big-subtitle {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: var(--color-gold-light);
    font-size: 1.2rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    display: block;
    margin-top: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-cta {
    margin-top: 2.5rem;
}

/* Fade-in hero */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeInUp 1s forwards 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Se eliminaron los estilos de header transparente para que siempre sea color crema sólido */


/* ================================================================
   FILOSOFÍA
================================================================ */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-2-col.asymmetric {
    grid-template-columns: 2fr 3fr;
}

.philosophy .text-content {
    padding-right: 2rem;
}

.philosophy p {
    margin-bottom: 1.5rem;
}

.signature {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-top: 2rem;
}

.image-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

.manifesto-card {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 28px 80px rgba(44, 38, 33, 0.12);
    border-radius: 28px;
    overflow: hidden;
    padding: 40px;
}

.manifesto-text {
    padding-right: 40px;
}

.manifesto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    max-height: 580px;
}

/* ================================================================
   TRATAMIENTOS — SISTEMA DE CATEGORÍAS
================================================================ */
.section-header {
    margin-bottom: 2rem;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.cat-tab {
    background: transparent;
    border: var(--border-gold-thin);
    color: var(--color-gold);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.6rem 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.cat-tab:hover,
.cat-tab.active {
    background: var(--color-gold);
    color: white;
}

.category-block {
    margin-bottom: 5rem;
    transition: opacity 0.4s ease;
}

.cat-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.cat-label {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.cat-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--color-gold-light);
    line-height: 1;
    opacity: 0.5;
}

.cat-label h3 {
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
}

.cat-label p {
    font-size: 0.85rem;
    color: var(--color-gold);
    font-style: italic;
    margin: 0;
}

.cat-line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(to right, var(--color-gold-light), transparent);
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.treatments-grid--single {
    grid-template-columns: 1fr;
    max-width: 500px;
}

.treatment-card {
    background-color: var(--color-bg-cream);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.treatment-card--wide .card-image {
    height: 350px;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(191, 163, 124, 0.25);
    border-color: var(--color-gold-light);
}

.card-image {
    height: 270px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.treatment-card:hover .card-image img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-gold);
    color: white;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.3rem 0.75rem;
    font-family: var(--font-sans);
    font-weight: 500;
}

.card-badge--fda {
    background: var(--color-text-dark);
}

.card-info {
    padding: 1.75rem;
    text-align: center;
}

.card-info h4 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-dark);
}

.card-info p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card-info small {
    display: block;
    font-size: 0.78rem;
    color: var(--color-gold);
    font-style: italic;
    margin-bottom: 1.25rem;
}

.treatment-cta {
    margin-top: 4rem;
}

/* ================================================================
   ESPACIO (Banner Panorámico)
================================================================ */
.space-section {
    position: relative;
}

.space-banner-img {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.space-floating-box {
    background-color: var(--color-bg-cream);
    padding: 3rem;
    /* Reducido de 4rem */
    max-width: 420px;
    /* Reducido de 500px */
    margin-right: 10%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--color-gold);
}

/* Ajustar tamaños de título dentro de la caja proporcionalmente */
.space-floating-box .section-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.space-floating-box .section-subtitle-gold {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

/* Estilos para el nuevo horario de atención */
.schedule-info {
    margin-top: 1rem;
    /* Reducido de 1.5rem */
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.8rem 0;
    /* Reducido de 1rem */
    border-bottom: 1px solid var(--color-bg-cream-dark);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-day {
    font-family: var(--font-sans);
    font-weight: 500;
    color: var(--color-text-dark);
    font-size: 0.95rem;
    /* Reducido de 1rem */
}

.schedule-time {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-gold);
    font-size: 1.05rem;
    /* Reducido de 1.1rem */
}

/* ================================================================
   MAPA
================================================================ */
.map-section {
    background-color: var(--color-bg-cream-dark);
}

.map-container {
    width: 100%;
    max-width: 900px;
    margin: 2.5rem auto 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-bg-cream-dark);
    padding: 2rem 0;
    border-top: 1px solid rgba(191, 163, 124, 0.2);
}

/* ================================================================
   LOGO GIGANTE CENTRADO (index-page SOLO)
================================================================ */
.index-page .brand-intro {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
    background: transparent;
    opacity: 1;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.index-page .brand-intro.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -100%) scale(0.9);
    filter: blur(5px);
    pointer-events: none;
}

.index-page .brand-intro-content {
    text-align: center;
    pointer-events: auto;
}

.index-page .brand-intro-title {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 8.5rem;
    color: #FFFFFF;
    margin: 0;
    line-height: 1;
    letter-spacing: 12px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.index-page .brand-intro-subtitle {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--color-gold-light);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Reglas eliminadas para que el logo sea visible siempre en index-page */

/* HERO SECTION OCULTA COMPLETAMENTE PARA index-page */
.index-page .hero-content-clean {
    display: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    gap: 1rem;
}

.footer-bottom .social-icons a {
    margin-right: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    transition: color 0.3s ease;
}

.footer-bottom .social-icons a:hover {
    color: white;
}

.privacy-link {
    color: var(--color-gold);
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: white;
}

/* ================================================================
   MEDIA QUERIES
================================================================ */
@media (max-width: 1100px) {
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }

    .blog-card--featured {
        grid-column: 1 / -1;
    }

    .blog-card:not(.blog-card--featured) .blog-info p {
        display: block;
    }

    .nav-menu ul {
        gap: 1.1rem;
    }
}

@media (max-width: 992px) {
    .hero-content-clean .big-logo {
        font-size: 5rem;
    }

    .grid-2-col,
    .grid-2-col.asymmetric {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .philosophy .text-content {
        padding-right: 0;
        order: 2;
    }

    .philosophy .image-content {
        order: 1;
    }

    .space-banner-img {
        height: 500px;
        justify-content: center;
        align-items: flex-end;
    }

    .space-floating-box {
        margin-right: 0;
        margin-bottom: -50px;
        width: 90%;
        padding: 2rem;
    }

    .no-padding-bottom {
        padding-bottom: 60px;
    }

    .cat-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cat-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-content-clean .big-logo {
        font-size: 4rem;
    }

    .hero-content-clean .big-subtitle {
        font-size: 0.9rem;
    }

    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    /* El ícono de hamburguesa en móvil debe ser blanco al estar arriba */
    .header:not(.scrolled) .bar {
        background-color: #FFFFFF;
    }

    .section-title {
        font-size: 2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card--featured {
        grid-column: auto;
    }

    .treatments-grid--single {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .social-icons a {
        margin: 0 10px;
    }

    .category-tabs {
        gap: 0.5rem;
    }

    .cat-tab {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .index-page .brand-intro {
        padding: 0 20px;
    }

    .index-page .brand-intro-content {
        width: 100%;
        max-width: 500px;
    }

    .index-page .brand-intro-title {
        font-size: 5rem;
        letter-spacing: 8px;
    }

    .index-page .brand-intro-subtitle {
        font-size: 1rem;
        letter-spacing: 4px;
    }

    /* Ajuste para títulos de cabecera en páginas de detalle (móvil) */
    .internal-hero-content .hero-title,
    .product-hero .hero-info h1 {
        font-size: 2.2rem !important;
        /* Se usa !important para sobreescribir estilos en línea */
    }
}

/* ================================================================
   HERO PARA PÁGINAS INTERNAS (Facial, Corporal, etc.)
================================================================ */
.internal-hero {
    position: relative;
    height: 50vh;
    /* Es la mitad de la altura de la pantalla */
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 0;
}

.internal-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.internal-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.internal-hero-content .hero-title {
    font-size: 3.5rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Reglas de texto blanco para el header en páginas internas eliminadas, ya que el header ahora es crema sólido en todo momento */

/* ================================================================
   NUEVO DISEÑO: BLOQUES HORIZONTALES (Página Corporal/Facial)
================================================================ */
.horizontal-showcase {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.treatment-row {
    display: flex;
    width: 100%;
    min-height: 375px;
    /* Altura de franja reducida de 450px a 375px */
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
}

/* Invierte el orden del texto y la imagen para lograr el diseño cruzado */
.treatment-row.reverse {
    flex-direction: row-reverse;
}

/* Área de Texto */
.row-text {
    width: 50%;
    padding: 4% 10%;
    /* Ajuste de padding para la nueva altura */
    color: #FFFFFF;
    position: relative;
    z-index: 2;
}

/* Decorador de línea tipo la web de referencia */
.line-decorator {
    width: 40px;
    height: 1px;
    background-color: #FFFFFF;
    margin-bottom: 20px;
}

.row-text h3 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    /* Ajuste sutil de tamaño para la proporción */
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-weight: 400;
}

.row-text p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    /* Ajuste sutil de tamaño para la proporción */
    opacity: 0.95;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 500px;
}

/* Enlace "-> MÁS INFO" */
.link-white {
    color: #FFFFFF;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.link-white:hover {
    opacity: 1;
    transform: translateX(8px);
}

/* Área de la Imagen (Optimizada para PNG transparente) */
.row-image {
    width: 50%;
    height: 100%;
    min-height: 375px;
    /* Altura de área de imagen reducida a 375px */
    display: flex;
    align-items: flex-end;
    /* Pega la imagen PNG al borde inferior */
    justify-content: center;
    position: relative;
    z-index: 1;
}

.row-image img {
    max-width: 100%;
    max-height: 475px;
    /* Altura máxima de imagen reducida a 475px */
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
    transition: transform 0.6s ease;
}

.treatment-row:hover .row-image img {
    transform: scale(1.03);
}

/* ================================================================
   COLORES PASTEL ELEGANTES EN DEGRADADO
================================================================ */
.bg-pastel-peach {
    background: linear-gradient(135deg, #E6AC98 0%, #D89882 100%);
}

.bg-pastel-sage {
    background: linear-gradient(135deg, #A8BCA1 0%, #90A68A 100%);
}

.bg-pastel-sand {
    background: linear-gradient(135deg, #D4C3A3 0%, #C2AE8B 100%);
}

.bg-pastel-blue {
    background: linear-gradient(135deg, #96B5CC 0%, #7A9BB3 100%);
}

.bg-pastel-rose {
    background: linear-gradient(135deg, #D9AAB6 0%, #C48E9D 100%);
}

/* ================================================================
   ADAPTACIÓN PARA CELULARES (Mobile)
================================================================ */
@media (max-width: 992px) {

    .treatment-row,
    .treatment-row.reverse {
        flex-direction: column;
        min-height: auto;
    }

    .row-text {
        width: 100%;
        padding: 10% 8% 5%;
        text-align: center;
    }

    .line-decorator {
        margin: 0 auto 20px;
    }

    .row-text h3 {
        font-size: 2rem;
    }

    .row-image {
        width: 100%;
        min-height: 225px;
        /* Altura móvil reducida a 225px */
    }

    .row-image img {
        max-height: 275px;
        /* Altura máxima móvil reducida a 275px */
    }
}

/* Estilos para Páginas de Producto */
.product-page .header.scrolled {
    background-color: var(--color-bg-cream);
    /* Header siempre visible en detalle */
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.gold-bullets {
    list-style: none;
    padding-left: 0;
}

.gold-bullets li::before {
    content: "✦";
    color: var(--color-gold);
    margin-right: 10px;
}

/* Acordeón FAQ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-gold-light);
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

/* Banner de Cita Inferior */
.cta-banner {
    background-color: var(--color-text-dark);
    color: white;
    padding: 5rem 0;
    margin-top: 4rem;
}

.cta-box h2 {
    color: white;
    margin: 1rem 0 2rem;
}

/* --- Estilos para Páginas de Detalle --- */
.product-hero {
    padding: 100px 0;
    overflow: hidden;
}

.back-link {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 30px;
    display: inline-block;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-page .details-content {
    padding-right: 50px;
}

.product-page .specs-card {
    background: #fff;
    padding: 50px;
    border: 1px solid #eee;
    border-radius: 20px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08);
}

.product-page .specs-card h3 {
    margin-bottom: 2rem;
}

.product-page .grid-2 {
    gap: 100px;
}

.product-page .section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

.product-page .faq-section {
    margin-top: 80px;
}

.gold-bullets {
    list-style: none;
    padding: 24px 0;
}

.gold-bullets li {
    margin-bottom: 24px;
    position: relative;
    padding-left: 25px;
}

.gold-bullets li::before {
    content: "✦";
    color: var(--color-gold);
    position: absolute;
    left: 0;
}

/* Ocultar flecha por defecto de <details> */
summary::-webkit-details-marker {
    display: none;
}

summary {
    font-family: var(--font-serif);
    font-size: 1.2rem;
}

@media (max-width: 777px) {
    .grid-2 {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }

    .hero-img-box {
        order: -1;
        margin-bottom: -60px;
        position: relative;
        z-index: 1;
    }

    .hero-info {
        position: relative;
        z-index: 2;
        padding-top: 20px;
    }
}

/* Difuminar borde inferior de la imagen principal en vistas de detalle */
.hero-img-box img {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 67%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 67%, rgba(0, 0, 0, 0) 100%);
}

/* ================================================================
   SECCIÓN DE PREGUNTAS FRECUENTES (Clon de Referencia)
================================================================ */
.faq-main-title {
    text-align: left;
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--color-text-dark);
    margin-bottom: 30px;
}

.faq-flex-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.faq-column {
    width: 48%;
    /* Imita la estructura vc_col-sm-6 del código original */
    display: flex;
    flex-direction: column;
}

.faq-item {
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
    /* Borde sutil idéntico al original */
    margin-bottom: 12px;
    overflow: hidden;
}

/* CAJA DE PREGUNTA */
.faq-question {
    width: 100%;
    padding: 16px 20px;
    background-color: #FFFFFF;
    border: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--color-gold);
    /* El '+' original es color oro */
    margin-right: 15px;
    font-weight: 300;
    pointer-events: none;
}

.faq-text {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-text-dark);
    pointer-events: none;
}

/* ESTADO ACTIVO: Sombreado de la caja superior */
.faq-item.active .faq-question {
    background-color: var(--color-gold);
}

.faq-item.active .faq-icon,
.faq-item.active .faq-text {
    color: #FFFFFF;
    /* Ícono y texto cambian a blanco */
}

/* CAJA DE RESPUESTA */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: #FFFFFF;
    /* El fondo de la respuesta se queda blanco */
}

.faq-item.active .faq-answer {
    max-height: 400px;
    border-top: 1px solid #E5E5E5;
    /* Línea separadora */
}

.faq-answer-inner {
    padding: 18px 20px 22px 20px;
    /* Padding idéntico al WPBakery */
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text-brown);
    line-height: 1.7;
    text-align: left;
}

/* Adaptación para Celulares */
@media (max-width: 777px) {
    .faq-flex-container {
        flex-direction: column;
        gap: 0;
    }

    .faq-column {
        width: 100%;
    }
}

/* ================================================================
   SPA VIEW CONTROL (Single Page Application)
================================================================ */
.vista-seccion {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.vista-seccion.activa {
    display: block;
    opacity: 1;
}

/* ================================================================
   SECCIÓN NUESTROS TRATAMIENTOS (PORTADA NUEVA)
================================================================ */
.treatments-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.treatment-card-new {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.treatment-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wavy-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 35px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 120' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C320,100 420,-40 720,30 C1020,100 1120,-40 1440,30 L1440,120 L0,120 Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 1;
}

.card-icon-circle {
    position: absolute;
    bottom: 5px;
    left: 30px;
    width: 48px;
    height: 48px;
    background-color: #FFFFFF;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: var(--color-gold);
}

.card-icon-circle svg {
    width: 24px;
    height: 24px;
}

.card-content-new {
    padding: 25px 30px 40px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content-new h4 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--color-text-dark);
}

.card-content-new p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--color-text-brown);
    opacity: 0.9;
    flex-grow: 1;
}

.link-gold-small {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--color-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.link-gold-small:hover {
    color: var(--color-text-dark);
}

@media (max-width: 992px) {
    .treatments-grid-3 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 500px;
    }

    .scroll-indicator {
        display: none !important;
    }
}

/* ================================================================
   DISEÑO DE TARJETAS INTERNAS (Ej. Estética Corporal)
================================================================ */
.internal-treatments-container {
    padding: 3rem 0;
    text-align: center;
}

.internal-treatments-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.internal-card {
    width: calc(25% - 1.125rem);
    /* Equivalente a 4 columnas */
    background-color: var(--color-bg-cream-dark);
    /* Beige Ivory */
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 992px) {
    .internal-card {
        width: calc(50% - 0.75rem);
        /* 2 columnas */
    }
}

@media (max-width: 576px) {
    .internal-card {
        width: 100%;
        /* 1 columna */
    }
}


.internal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.internal-card-img {
    position: relative;
    width: 100%;
    height: 180px;
}

.internal-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.internal-card-icon {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background-color: var(--color-bg-cream-dark);
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: var(--color-gold);
}

.internal-card-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.2;
}

.internal-card-content {
    padding: 35px 20px 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.internal-card-content h4 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--color-text-dark);
}

.internal-card-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--color-text-brown);
    opacity: 0.9;
    flex-grow: 1;
}

.link-ver-mas {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--color-text-dark);
    font-weight: 500;
    display: inline-block;
    transition: color 0.3s ease;
}

.link-ver-mas:hover {
    color: var(--color-gold);
}

/* ================================================================
   BOTÓN FLOTANTE DE WHATSAPP
================================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white !important;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float svg {
    width: 24px;
    height: 24px;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Ocultar en la página de inicio solo cuando está en la portada */
.index-page:not(.past-hero) .whatsapp-float {
    display: none !important;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .whatsapp-float svg {
        width: 20px;
        height: 20px;
    }
}

/* ================================================================
   SPLIT MAP LOCATION SECTION
================================================================ */
.location-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

@media (min-width: 900px) {
    .location-split {
        grid-template-columns: 1fr 1fr;
    }
}

.location-text {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 900px) {
    .location-text {
        padding: 2.5rem 3rem;
    }
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.location-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 3px;
}

.location-item h4 {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.location-item p {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--color-text-dark);
    margin-bottom: 0.2rem;
    line-height: 1.4;
}

.location-ref {
    font-size: 0.85rem;
    color: var(--color-text-brown);
    font-style: italic;
}

.location-map-wrapper {
    position: relative;
    width: 100%;
    min-height: 250px;
    height: 100%;
}

.split-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.split-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(10%) contrast(1.1) opacity(0.95);
    transition: filter 0.3s ease;
}

.split-map iframe:hover {
    filter: grayscale(0%) contrast(1) opacity(1);
}

/* ================================================================
   MEJORAS DE NAVEGACIÓN UX
================================================================ */

/* Active State */
.nav-menu ul li a.nav-active,
.side-menu ul li a.nav-active {
    color: var(--color-gold) !important;
    position: relative;
}

.nav-menu ul li a.nav-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}





/* Back Link Minimalista */
.back-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--color-gold);
    opacity: 1;
    transform: translateX(-5px);
}


/* ================================================================
   CORRECCIONES RESPONSIVE (MÓVIL)
================================================================ */
@media (max-width: 768px) {

    /* 1. Fix Bug de Parallax en iOS/Mobile */
    .hero-parallax-img {
        background-attachment: scroll !important;
        height: 100% !important;
    }

    /* 2. Reducir altura del Hero en Tratamientos */
    .internal-hero {
        min-height: 280px !important;
        height: auto !important;
        padding-top: 80px;
    }

    .product-hero .hero-img-box img {
        max-height: 250px !important;
    }

    /* 3. Reducir espaciados gigantes entre secciones */
    .section-padding {
        padding: 50px 0 !important;
    }

    /* 4. Asegurar que los textos grandes no desborden la pantalla */
    .hero-content-clean .big-logo {
        font-size: 3.5rem !important;
    }

    .hero-content-clean .big-subtitle {
        font-size: 0.85rem !important;
        letter-spacing: 2px !important;
    }

    /* Mejorar espaciado del botón minimalista de regresar */
    .back-link {
        margin-bottom: 0.8rem;
    }

    /* 5. Fix Hero Principal Móvil (Textos grandes y botón saliéndose de la pantalla) */
    .hero-section {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }

    .hero-content-left {
        position: static !important;
        width: 100% !important;
        height: 75vh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
    }

    .hero-content-left h1 {
        margin-top: auto !important;
        /* Empuja el texto hacia el centro */
        font-size: 2.2rem !important;
        line-height: 1.15 !important;
        margin-bottom: 1rem !important;
    }

    .hero-content-left p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        margin-bottom: 0 !important;
    }

    .hero-content-left a {
        background: var(--color-gold) !important;
        color: white !important;
        border-color: var(--color-gold) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;

        padding: 16px 24px !important;
        font-size: 0.8rem !important;
        letter-spacing: 2px !important;
        white-space: normal !important;
        line-height: 1.5 !important;
        position: static !important;
        display: block !important;
        margin: auto auto 20px !important;
        /* Empuja el botón hacia la base de la pantalla */
        transform: none !important;
        width: 90% !important;
        max-width: 300px !important;
        text-align: center !important;
        border-radius: 40px !important;
    }

    /* 6. Header Móvil: Visibilidad y Orden */
    .header:not(.scrolled) .bar,
    .header .bar {
        background-color: var(--color-gold) !important;
        /* Hacer visible el ícono de 3 líneas */
    }

    .header-content {
        flex-direction: row-reverse !important;
        /* Cambia el logo a la izquierda y menú a la derecha */
    }

    /* 7. Reducir títulos de sección */
    .section-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }

    /* 8. Botón WhatsApp sólo icono en móvil */
    .whatsapp-float span {
        display: none !important;
    }

    .whatsapp-float {
        padding: 14px !important;
        border-radius: 50% !important;
        bottom: 20px;
        /* Sin !important para que JS pueda moverlo */
        right: 20px !important;
    }

    .whatsapp-float svg {
        width: 28px !important;
        height: 28px !important;
        margin: 0 !important;
    }

    /* 9. Remover espacio en blanco de tratamientos internos */
    .internal-treatments-container {
        padding-top: 1.5rem !important;
    }

    .internal-treatments-grid {
        padding-top: 0.5rem !important;
        margin-top: 0 !important;
    }
}

/* ================================================================
   FULL-WIDTH TREATMENT HERO (Global Refactor)
================================================================ */
.treatment-hero-section {
    position: relative;
    overflow: hidden;
    height: 450px;
    display: flex;
    align-items: flex-start;
    padding-top: 140px;
}

.treatment-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.treatment-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.treatment-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    display: block !important;
    /* Overrides grid-2 to allow text to expand and prevent wrapping */
}

.treatment-hero-info {
    padding: 0;
    max-width: 800px;
}

@media (max-width: 768px) {
    .treatment-hero-section {
        height: auto;
        min-height: 450px;
        padding-top: 100px;
        padding-bottom: 40px;
    }
}

.treatment-hero-info h1 {
    color: white !important;
    font-size: 4rem !important;
    line-height: 1.1;
    margin-top: 10px;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.treatment-hero-info p {
    color: white !important;
    opacity: 0.95;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.treatment-hero-info .back-link {
    display: inline-block;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.bg-gold {
    background: var(--color-gold-light);
}

@media (max-width: 768px) {
    .treatment-hero-info h1 {
        font-size: 2.2rem !important;
    }

    .treatment-hero-bg {
        background-size: cover !important;
        background-position: center center !important;
    }
}


/* ================================================================
   RESEÑAS (Testimonios)
================================================================ */
.reviews-section {
    overflow: hidden;
    padding: 3rem 0 2rem 0;
    /* Más compacto */
}

.reviews-marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 1.5rem;
    /* Menor espacio */
    padding: 1rem 0;
    /* Más compacto */
    margin-top: 1rem;
}

.reviews-marquee {
    display: flex;
    gap: 1.5rem;
    /* Menor espacio */
    animation: scroll-left 30s linear infinite;
    /* Más rápido (de 50s a 30s) */
    min-width: 100%;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.review-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    /* Extremadamente compacto */
    width: 260px;
    /* Tarjeta aún más angosta */
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    text-align: left;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-bg-cream-dark);
}

.review-stars {
    color: var(--color-gold);
    font-size: 0.85rem;
    /* Aún más pequeño */
    margin-bottom: 0.3rem;
    /* Margen mínimo */
    letter-spacing: 1px;
}

.review-text {
    font-style: italic;
    color: var(--color-text-brown);
    font-size: 0.75rem;
    /* Letras más pequeñas */
    line-height: 1.3;
    /* Interlineado muy ajustado */
    margin-bottom: 0.5rem;
    /* Margen mínimo */
    flex-grow: 1;
}

.review-author {
    font-weight: 600;
    font-size: 0.75rem;
    /* Letras más pequeñas */
    color: var(--color-text-dark);
    font-family: var(--font-sans);
}