/* ═══════════════════════════════════════════════════════════════
   RENACER HORMONAL — Professional Clinic Design System v2
   Mobile-First · Cinematic Animations · Full Responsive
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --bg-app: #F7F8F7;
    --surface: #FFFFFF;
    
    --dark-teal: #2A4854;
    --pastel-mint: #A3CAC1;
    --pastel-peach: #F4D3C0;
    --pastel-purple: #CAB6D6;
    
    --primary-teal: #6DAFA9;
    --primary-peach: #FCAE9D;
    
    --light-purple: rgba(202, 182, 214, 0.15);
    --light-mint: #E9F6F5;
    --light-yellow: rgba(252, 174, 157, 0.1);
    
    --text-main: #1A2F38;
    --text-muted: #5A7A86;
    --border-soft: rgba(42, 72, 84, 0.08);
    
    --section-pad-y: clamp(4rem, 8vw, 7rem);
    --section-pad-x: clamp(1.25rem, 5vw, 4rem);
    --max-w: 1200px;
    
    --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ───────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; 
    background: linear-gradient(135deg, #fdfdfd 0%, #f4f6f5 100%); background-attachment: fixed;
    color: var(--text-main); 
    overflow-x: hidden; -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; line-height: 1.6;
    animation: globalFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes globalFadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

h1, h2, h3, h4, .serif { font-family: 'Playfair Display', serif; letter-spacing: -0.01em; font-weight: 700; line-height: 1.15; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }

.app-layout { display: flex; flex-direction: column; min-height: 100vh; }

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.marble-bg {
    background: rgba(255, 255, 255, 0.88);
    position: sticky; top: 0; z-index: 1000;
    backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    width: 100%; border-bottom: 1px solid rgba(42, 72, 84, 0.06);
}
.navbar-area { width: 100%; }
.navbar-inner {
    display: flex; justify-content: space-between; align-items: center;
    max-width: var(--max-w); margin: 0 auto;
    padding: 0.7rem 2rem; width: 100%; min-height: 60px;
}

.navbar-logo { display: flex; align-items: center; z-index: 1001; }
.logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; transition: opacity 0.3s; }
.logo-link:hover { opacity: 0.85; }
.logo-icon { width: 55px; height: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-title { font-weight: 800; letter-spacing: 0.3px; color: var(--dark-teal); font-size: 0.82rem; text-transform: uppercase; }
.logo-subtitle { font-size: 0.58rem; letter-spacing: 2.5px; color: var(--primary-teal); text-transform: uppercase; font-weight: 500; }

/* Desktop Nav */
.nav-links-container { display: flex; align-items: center; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-drawer { display: contents; }
.nav-link-list { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-link-list a { 
    color: var(--text-muted); font-size: 0.7rem; font-weight: 600; 
    text-transform: uppercase; letter-spacing: 0.8px; transition: color 0.3s; 
    position: relative; padding: 0.5rem 0;
}
.nav-link-list a::after { 
    content: ''; position: absolute; width: 0; height: 2px; bottom: -2px; left: 0; 
    background: var(--primary-teal); transition: width 0.4s var(--ease-out); border-radius: 1px;
}
.nav-link-list a:hover { color: var(--dark-teal); }
.nav-link-list a:hover::after, .nav-link-list a.active-link::after { width: 100%; }
.active-link { color: var(--dark-teal) !important; font-weight: 700 !important; }
.mobile-only-link, .mobile-only-block, .mobile-only-flex, .mobile-only-inline { display: none; }

/* Navbar Actions */
.navbar-actions { display: flex; align-items: center; gap: 0.5rem; z-index: 1003; }
.navbar-wa-btn { 
    width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(37, 211, 102, 0.08); color: #25D366; font-size: 1.2rem;
    transition: all 0.3s ease; border: 1px solid rgba(37, 211, 102, 0.1);
}
.navbar-wa-btn:hover { background: #25D366; color: white; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25); }
.btn-navbar-action { 
    background: var(--dark-teal); color: white; padding: 0 1.4rem; height: 38px; 
    display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; 
    font-weight: 700; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.6px; 
    transition: all 0.3s ease; border: none; 
}
.btn-navbar-action:hover { background: #1A2F38; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(42, 72, 84, 0.2); }

/* Mobile Toggle */
.mobile-toggle { 
    display: none; background: none; border: 1.5px solid var(--border-soft); cursor: pointer; 
    width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; 
    z-index: 1003; transition: all 0.3s ease; outline: none; padding: 0;
}
.mobile-toggle i { font-size: 1.4rem; color: var(--dark-teal); }
.mobile-toggle:active { background: var(--light-mint); transform: scale(0.92); }
.desktop-only { display: inline-flex; }

/* FAB WhatsApp */
.fab-whatsapp { 
    display: none; position: fixed; bottom: 20px; right: 20px; z-index: 900;
    background: #25D366; color: white; width: 52px; height: 52px; border-radius: 14px;
    align-items: center; justify-content: center; font-size: 1.6rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}
.fab-whatsapp:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-teal, .btn-peach, .btn-outline-white {
    padding: 0 2rem; height: 50px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.3px; text-transform: uppercase;
    transition: all 0.3s ease; border: none; cursor: pointer; font-family: 'Inter', sans-serif;
}
.btn-teal { background: var(--dark-teal); color: white; box-shadow: 0 4px 14px rgba(42, 72, 84, 0.12), inset 0 1px 1px rgba(255,255,255,0.1); }
.btn-teal:hover { background: #1A2F38; transform: translateY(-3px); box-shadow: 0 16px 30px rgba(26, 47, 56, 0.25), 0 4px 10px rgba(26, 47, 56, 0.1); }
.btn-peach { background: var(--primary-peach); color: var(--dark-teal); box-shadow: 0 4px 14px rgba(252, 174, 157, 0.25); }
.btn-peach:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(252, 174, 157, 0.35), 0 4px 10px rgba(252, 174, 157, 0.15); filter: brightness(1.05); }
.btn-outline-white { background: transparent; color: #FFF; border: 1.5px solid rgba(255,255,255,0.4); box-shadow: none; }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: white; transform: translateY(-2px); }

/* GSAP States */
.reveal-blur { opacity: 0; filter: blur(12px); transform: translateY(30px); will-change: transform, opacity, filter; }
.reveal { will-change: transform, opacity; }

/* ═══════════════════════════════════════════════════════════════
   MAIN LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.main-content-grid { display: flex; flex-direction: column; width: 100%; }
.main-content-grid > section, .main-content-grid > div > section, .main-content-grid > div {
    width: 100%; border-radius: 0; border: none; box-shadow: none;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero-section {
    position: relative; min-height: 90vh;
    padding: 5rem var(--section-pad-x) 4rem;
    background: var(--surface);
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem); align-items: center;
    max-width: var(--max-w); margin: 0 auto; overflow: hidden;
}
.hero-section::before { display: none; }
.hero-content { position: relative; z-index: 2; max-width: 520px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--light-mint); color: var(--primary-teal); 
    padding: 0.45rem 1rem; border-radius: 100px; font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 1.5rem;
}
.hero-title { 
    font-size: clamp(2.4rem, 4.5vw, 3.8rem); margin-bottom: 1.2rem; 
    color: var(--dark-teal); letter-spacing: -0.03em;
}
.hero-subtitle { 
    font-size: 1rem; margin-bottom: 2rem; line-height: 1.7; font-weight: 400; 
    color: var(--text-muted); max-width: 440px; 
}
.hero-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.hero-stats {
    display: flex; gap: 2rem; margin-top: 2.5rem; padding-top: 2rem; 
    border-top: 1px solid var(--border-soft);
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-number { font-size: 1.8rem; font-weight: 800; color: var(--dark-teal); letter-spacing: -0.02em; }
.hero-stat-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

.hero-image-safe {
    width: 100%; height: 100%; min-height: 440px;
    background: linear-gradient(145deg, var(--light-mint), #d4ece8);
    border-radius: 24px; overflow: hidden;
    box-shadow: 0 20px 40px rgba(109, 175, 169, 0.1);
}
.hero-image-safe img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-scroll-indicator { display: none; }

/* ═══════════════════════════════════════════════════════════════
   PROGRAMAS — Bento Grid
   ═══════════════════════════════════════════════════════════════ */
.programas-section { 
    padding: var(--section-pad-y) var(--section-pad-x) !important; 
    background: var(--bg-app) !important; border: none !important; box-shadow: none !important;
}
.bento-home-grid {
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.2rem;
    max-width: var(--max-w); margin: 0 auto;
}
.bento-card-star, .bento-card-alt {
    border-radius: 24px; position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03), 0 1px 3px rgba(0,0,0,0.02); background: var(--surface);
}
.bento-card-star:hover, .bento-card-alt:hover {
    transform: translateY(-8px); box-shadow: 0 25px 50px rgba(42, 72, 84, 0.08), 0 10px 20px rgba(42, 72, 84, 0.04);
}
.bento-card-star { min-height: 480px; justify-content: flex-end; }
.bento-img-bg { position: absolute; inset: 0; z-index: 0; }
.bento-img-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s linear; }
.bento-card-star:hover .bento-img-bg img { transform: scale(1.08); }
.bento-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 30, 40, 0.85) 0%, rgba(10, 30, 40, 0.1) 55%, transparent 100%); }

.bento-card-alt { background: var(--surface); border: 1px solid var(--border-soft); }
.bento-img-top { width: 100%; height: 240px; overflow: hidden; }
.bento-img-top img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s linear; }
.bento-card-alt:hover .bento-img-top img { transform: scale(1.08); }

.bento-content { padding: 2rem; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.bento-card-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.6rem; letter-spacing: -0.02em; }
.bento-card-subtitle { font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; opacity: 0.9; }
.plan-tag {
    display: inline-block; padding: 0.3rem 0.7rem; border-radius: 6px; font-size: 0.62rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.8px; background: var(--light-mint); color: var(--primary-teal);
    margin-bottom: 0.8rem;
}
.bento-btn {
    margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; 
    text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.6px; padding: 0.8rem 1.3rem; 
    border-radius: 10px; transition: all 0.3s ease; font-family: 'Inter', sans-serif;
}
.bento-btn-white { background: white; color: var(--dark-teal); border: none; }
.bento-btn-white:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.bento-btn-teal { background: var(--dark-teal); color: white; border: none; }
.bento-btn-teal:hover { background: #1A2F38; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(42, 72, 84, 0.2); }

/* ═══════════════════════════════════════════════════════════════
   FILOSOFÍA
   ═══════════════════════════════════════════════════════════════ */
.filosofia-section { padding: var(--section-pad-y) var(--section-pad-x); max-width: var(--max-w); margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════════
   PILARES
   ═══════════════════════════════════════════════════════════════ */
.pilares-section { padding: var(--section-pad-y) var(--section-pad-x); background: var(--surface); text-align: center; }
.pilares-title { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.8rem; color: var(--dark-teal); text-transform: uppercase; }
.pilares-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; 
    max-width: var(--max-w); margin: 0 auto;
}
.pilar-card {
    border-radius: 20px; padding: 2.2rem 1.5rem;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    background: var(--surface); border: 1px solid var(--border-soft);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.pilar-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.06), 0 8px 16px rgba(0,0,0,0.03); }
.pilar-card i { font-size: 2.2rem; margin-bottom: 1.2rem; color: var(--primary-teal); }
.pilar-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.pilar-card p { font-size: 0.85rem; margin-bottom: 1.2rem; color: var(--text-muted); line-height: 1.55; flex: 1; }
.pilar-link { font-size: 0.72rem; font-weight: 700; color: var(--primary-teal); text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.3s; }
.pilar-link:hover { color: var(--dark-teal); }
.bg-mint { background: var(--light-mint); border-color: transparent; }
.bg-purple { background: var(--light-purple); border-color: transparent; }
.bg-white { background: var(--surface); }
.bg-peach { background: var(--light-yellow); border-color: transparent; }

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR SECTIONS (Full-Width)
   ═══════════════════════════════════════════════════════════════ */
.sidebar-section { 
    padding: var(--section-pad-y) var(--section-pad-x); text-align: center; 
    overflow: hidden; border-radius: 0; box-shadow: none; border: none;
}
.sidebar-title { 
    font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.8rem; font-weight: 800; 
    color: var(--dark-teal); letter-spacing: -0.02em; text-transform: uppercase; 
}
.sidebar-subtitle { font-size: 0.95rem; color: var(--text-muted); max-width: 500px; margin: 0 auto 3rem; line-height: 1.65; }
.sidebar-light-purple { background: var(--bg-app); }
.sidebar-light-yellow { background: var(--surface); }
.sidebar-white { background: var(--bg-app); }
.sidebar-teal { background: var(--dark-teal); color: white; }

/* Especialistas Grid */
.especialistas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: var(--max-w); margin: 0 auto; }
.especialista-item { 
    display: flex; flex-direction: column; align-items: center; gap: 0.6rem; 
    background: var(--surface); padding: 2.5rem 1.5rem; border-radius: 24px; 
    border: 1px solid var(--border-soft); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.especialista-item:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.06), 0 8px 16px rgba(0,0,0,0.03); }
.especialista-item .img-wrapper { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.especialista-item img { width: 110px !important; height: 110px !important; border: 3px solid var(--surface) !important; }

/* Products Grid */
.sidebar-products-container { 
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; 
    max-width: var(--max-w); margin: 0 auto; text-align: left; 
}
.sidebar-product-card { 
    background: var(--bg-app); border-radius: 16px; padding: 1.2rem; 
    border: 1px solid var(--border-soft); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sidebar-product-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.05); }
.sidebar-product-header { display: flex; gap: 0.8rem; align-items: center; margin-bottom: 0.8rem; }
.sidebar-product-img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.sidebar-product-info { display: flex; flex-direction: column; flex: 1; }
.sidebar-product-title { font-size: 0.88rem; font-weight: 700; color: var(--dark-teal); line-height: 1.25; margin-bottom: 0.2rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar-product-price { font-size: 0.85rem; color: var(--primary-teal); font-weight: 800; }
.sidebar-product-btn {
    display: block; background: var(--dark-teal); color: white; padding: 0.6rem; text-align: center; 
    border-radius: 8px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; 
    letter-spacing: 0.5px; transition: all 0.3s ease;
}
.sidebar-product-btn:hover { background: #1A2F38; }

/* Contact */
.contacto-master-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: var(--max-w); margin: 0 auto; }
.contact-info-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.contacto-form input, .contacto-form textarea { 
    width: 100%; padding: 0.9rem 1rem; border: 1.5px solid rgba(255,255,255,0.12); 
    border-radius: 10px; font-family: 'Inter', sans-serif; font-size: 0.9rem; 
    background: rgba(255,255,255,0.06); color: white; transition: border-color 0.3s;
}
.contacto-form input::placeholder, .contacto-form textarea::placeholder { color: rgba(255,255,255,0.45); }
.contacto-form input:focus, .contacto-form textarea:focus { outline: none; border-color: var(--primary-peach); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.main-footer { background: #1A2F38; color: white; padding: 2.5rem 1.5rem; text-align: center; }
.social-links { display: flex; justify-content: center; gap: 1rem; margin-bottom: 0.8rem; font-size: 1.3rem; }
.social-links i { cursor: pointer; transition: transform 0.3s, opacity 0.3s; opacity: 0.6; }
.social-links i:hover { transform: translateY(-2px); opacity: 1; }
.main-footer p { font-size: 0.72rem; opacity: 0.4; letter-spacing: 0.3px; }

/* ═══════════════════════════════════════════════════════════════
   MOBILE — The Most Important Part
   ═══════════════════════════════════════════════════════════════ */

/* ── Tablet ──────────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .nav-links-container { position: static; transform: none; display: block; }
    .navbar-inner { padding: 0.6rem 1rem; }
    .mobile-toggle { display: flex !important; }
    .desktop-only { display: none !important; }
    .fab-whatsapp { display: flex; }
    
    .mobile-only-link { display: block; margin-top: 0.8rem; width: 100%; }
    .mobile-only-block { display: block; }
    .mobile-only-flex { display: flex; }
    .mobile-only-inline { display: inline-block; }
    .nav-item-desktop-only { display: none !important; }
    
    /* Drawer */
    .menu-cta-box { background: var(--light-mint); padding: 1.2rem; border-radius: 14px; text-align: center; border: none; display: flex; flex-direction: column; align-items: center; }
    .menu-cta-box h4 { font-size: 1rem; color: var(--dark-teal); margin-bottom: 0.4rem; font-weight: 700; }
    .menu-cta-box p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.8rem; line-height: 1.45; }
    .btn-menu-action { 
        background: var(--dark-teal); color: white; display: block; padding: 0.7rem 1.2rem; 
        border-radius: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; 
        font-size: 0.72rem; width: 100%; text-align: center;
    }
    
    .nav-links-container {
        display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, 0); 
        backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);
        z-index: 1002; visibility: hidden; pointer-events: none; 
        transition: background 0.4s ease, visibility 0.4s;
    }
    .nav-links-container.show { visibility: visible; pointer-events: all; background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
    
    .nav-drawer {
        width: 82%; max-width: 380px; height: 100dvh; background: #FFF; position: absolute; right: 0; top: 0;
        transform: translateX(100%); transition: transform 0.5s var(--ease-out);
        display: flex; flex-direction: column; overflow-y: auto; padding: 1.5rem; 
        box-shadow: -8px 0 24px rgba(0,0,0,0.05);
    }
    .nav-links-container.show .nav-drawer { transform: translateX(0); }
    
    .nav-link-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; flex: 1; align-content: start; }
    .nav-item-animated { opacity: 0; transform: translateY(12px); transition: all 0.35s ease; }
    .nav-links-container.show .nav-item-animated { opacity: 1; transform: translateY(0); }
    .mobile-only-link { grid-column: span 2; }
    
    .nav-links-container.show .nav-item-animated:nth-child(1) { transition-delay: 0.02s; }
    .nav-links-container.show .nav-item-animated:nth-child(2) { transition-delay: 0.04s; }
    .nav-links-container.show .nav-item-animated:nth-child(3) { transition-delay: 0.06s; }
    .nav-links-container.show .nav-item-animated:nth-child(4) { transition-delay: 0.08s; }
    .nav-links-container.show .nav-item-animated:nth-child(5) { transition-delay: 0.1s; }
    .nav-links-container.show .nav-item-animated:nth-child(6) { transition-delay: 0.12s; }
    .nav-links-container.show .nav-item-animated:nth-child(7) { transition-delay: 0.14s; }
    
    .nav-link-list > li > a { 
        font-size: 0.78rem !important; font-weight: 600; color: var(--dark-teal) !important;
        display: flex !important; flex-direction: column; align-items: center; justify-content: center; 
        gap: 0.4rem; padding: 1rem 0.4rem; border-radius: 12px; 
        background: var(--bg-app); border: 1px solid var(--border-soft); 
        text-align: center; height: 100%; transition: all 0.2s ease;
    }
    .nav-link-list > li > a:active { background: var(--light-mint); transform: scale(0.97); }
    .nav-link-list > li > a i { font-size: 1.4rem; color: var(--primary-teal); display: block !important; }
    .nav-link-list > li > a::after { display: none; }
    
    .nav-drawer-footer { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--border-soft); }
    .footer-drawer-title { font-size: 0.65rem; color: var(--primary-teal); font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 1rem; }
    .drawer-contact-link { display: flex; align-items: center; font-size: 0.85rem; color: #333; margin-bottom: 0.6rem; }
    .drawer-contact-link i { font-size: 1rem; color: var(--primary-teal); margin-right: 8px; }
    .drawer-socials { display: flex; gap: 0.6rem; margin-top: 1rem; }
    .drawer-socials a { 
        width: 36px; height: 36px; border-radius: 8px; background: var(--bg-app); 
        display: flex; align-items: center; justify-content: center; color: var(--dark-teal); 
        font-size: 1rem; border: 1px solid var(--border-soft);
    }
}

/* ── Phone Landscape / Small Tablet ──────────────────────────── */
@media (max-width: 900px) {
    .hero-section { grid-template-columns: 1fr; text-align: center; min-height: auto; padding: 3rem 1.25rem 2rem; }
    .hero-content { margin: 0 auto; text-align: center; max-width: 100%; }
    .hero-badge { margin: 0 auto 1.2rem; }
    .hero-actions { justify-content: center; }
    .hero-subtitle { margin: 0 auto 2rem; max-width: 100%; }
    .hero-stats { justify-content: center; }
    .hero-image-safe { min-height: 300px; border-radius: 20px; }
    
    .bento-home-grid { grid-template-columns: 1fr; }
    .bento-card-star { min-height: 380px; }
    
    .pilares-grid { grid-template-columns: repeat(2, 1fr); }
    
    .especialistas-grid { grid-template-columns: 1fr; max-width: 380px; }
    
    .contacto-master-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contacto-form > div { grid-template-columns: 1fr !important; }
    
    /* Filosofia responsive */
    .filosofia-section > div { grid-template-columns: 1fr !important; gap: 2rem !important; }
    
    /* FAQ responsive */
    .faq-section > div { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
}

/* ── Phone Portrait ──────────────────────────────────────────── */
@media (max-width: 600px) {
    .hero-section { padding: 2rem 1rem 1.5rem; gap: 1.5rem; }
    .hero-title { font-size: clamp(1.8rem, 8vw, 2.5rem) !important; margin-bottom: 0.8rem; }
    .hero-subtitle { font-size: 0.9rem !important; margin-bottom: 1.5rem !important; }
    .hero-badge { font-size: 0.6rem; padding: 0.35rem 0.8rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions a { width: 100%; justify-content: center; height: 48px; font-size: 0.78rem; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
    .hero-stat-number { font-size: 1.4rem; }
    .hero-stat-label { font-size: 0.62rem; }
    .hero-image-safe { min-height: 240px; border-radius: 16px; }
    
    .bento-card-star { min-height: 320px; border-radius: 16px; }
    .bento-card-alt { border-radius: 16px; }
    .bento-content { padding: 1.5rem; }
    .bento-img-top { height: 180px; }
    
    .pilares-grid { grid-template-columns: 1fr; }
    .pilar-card { padding: 1.5rem 1.2rem; }
    
    .sidebar-section { padding: 3rem 1rem !important; }
    .sidebar-title { font-size: 1.3rem !important; }
    
    .sidebar-products-container {
        grid-template-columns: 1fr !important;
        display: flex !important; flex-direction: row; gap: 0.8rem; overflow-x: auto; 
        scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
        padding-bottom: 0.8rem;
    }
    .sidebar-products-container::-webkit-scrollbar { display: none; }
    .sidebar-products-container > * { flex: 0 0 82%; scroll-snap-align: start; max-width: 300px; }
    
    .programas-section { padding: 2rem 1rem !important; }
    .pilares-section { padding: 2.5rem 1rem !important; }
}

/* ── Very Small Phone ────────────────────────────────────────── */
@media (max-width: 380px) {
    .navbar-inner { padding: 0.5rem 0.8rem !important; min-height: 52px; }
    .logo-title { font-size: 0.65rem !important; }
    .logo-subtitle { font-size: 0.45rem !important; }
    .mobile-toggle { width: 36px !important; height: 36px !important; }
    .mobile-toggle i { font-size: 1.2rem !important; }
    .fab-whatsapp { width: 44px; height: 44px; font-size: 1.3rem; bottom: 14px; right: 14px; border-radius: 12px; }
    
    .hero-title { font-size: 1.7rem !important; }
}

/* ── Obsolete ────────────────────────────────────────────────── */
.right-column { display: none; }
.nav-drawer-header, .close-toggle { display: none; }

/* ═══════════════════════════════════════════════════════════════
   TOOLTIP ANIMATIONS 
   ═══════════════════════════════════════════════════════════════ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.tooltip-content {
  display: inline-block;
  white-space: nowrap;
}

.tooltip-content-wrapper {
  position: relative;
  height: 16px;
  overflow: hidden;
  animation: fadeIn 150ms ease-out;
}

.tooltip-label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  transform: translateY(0);
  transition: all 800ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-state='closed'] {
  opacity: 0;
  transition: opacity 150ms ease-out;
}

[data-state='open'] {
  opacity: 1;
  transition: opacity 150ms ease-out, width 800ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideInX {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutX {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

.tooltip-content.slide-in {
  animation: slideInX 150ms ease-out;
}

.tooltip-content.slide-out {
  animation: slideOutX 150ms ease-out;
}

@keyframes slideInY {
  from {
    transform: translateY(-5px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.tooltip-animation {
  animation: fadeIn 0.3s ease-in-out, slideInY 0.3s ease-in-out;
}