/* =========================================================
   Zeudent — prototype CSS v2
   Dirección B (revisada): Azul navy + arena + dorado mate
   Tipografías: Plus Jakarta Sans (display) + Inter (body)
   ========================================================= */

:root {
    /* Colors */
    --bg: #FFFFFF;
    --bg-2: #F7F8FA;
    --surface: #FFFFFF;
    --surface-2: #F7F8FA;
    --primary: #0B1A3C;
    --primary-deep: #050E25;
    --primary-mid: #1E3A6B;
    --primary-soft: #2A4575;
    --secondary: #5C7AAB;
    --accent: #C9A86A;
    --accent-deep: #A88847;
    --accent-warm: #E8D9B2;
    --text: #0A0E1A;
    --text-2: #4B5366;
    --text-3: #8A8F9C;
    --border: #E5E5E7;
    --border-2: #EFEFEF;
    --error: #B5563D;

    /* Fonts */
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
    --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
    --s-9: 96px; --s-10: 128px; --s-11: 160px; --s-12: 200px;

    /* Radii */
    --r-sm: 4px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-xl: 32px;
    --r-pill: 999px;

    /* Shadows */
    --shadow-sm: 0 4px 16px -6px rgba(11, 26, 60, 0.10);
    --shadow-md: 0 20px 50px -18px rgba(11, 26, 60, 0.22);
    --shadow-lg: 0 40px 90px -30px rgba(11, 26, 60, 0.32);

    /* Layout */
    --container: 1320px;
    --gutter: 64px;

    /* Easing */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --t-fast: 200ms var(--ease);
    --t-med: 350ms var(--ease);
    --t-slow: 600ms var(--ease);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--primary); }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--s-11) 0; position: relative; }
.section--tight { padding: var(--s-9) 0; }

/* ---------- Typography ---------- */
.display-xl, .display-l, .display-m, .display-s {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.02;
    color: var(--text);
}
.display-xl { font-size: clamp(40px, 5.5vw, 76px); line-height: 1.0; letter-spacing: -0.03em; }
.display-l  { font-size: clamp(32px, 4.2vw, 58px); }
.display-m  { font-size: clamp(24px, 3.0vw, 42px); }
.display-s  { font-size: clamp(20px, 2.4vw, 32px); line-height: 1.1; }
.display-italic {
    font-style: normal;
    font-weight: 700;
    color: var(--accent);
}
.display-xl em, .display-l em, .display-m em, .display-s em,
h1 em, h2 em, h3 em, .quote-text em {
    font-style: normal;
    font-weight: 700;
    color: var(--accent);
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent);
}
.eyebrow-on-dark { color: var(--accent-warm); }
.eyebrow-on-dark::before { background: var(--accent); }

.lead {
    font-size: clamp(17px, 1.3vw, 21px);
    line-height: 1.55;
    color: var(--text-2);
    font-weight: 400;
    max-width: 58ch;
}
.caption { font-size: 13px; color: var(--text-3); letter-spacing: 0.02em; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    height: 54px;
    padding: 0 var(--s-7);
    border-radius: var(--r-pill);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all var(--t-fast);
    cursor: pointer;
    border: 1px solid transparent;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #fff;
}
.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-ghost-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
    color: #fff;
}
.btn-accent {
    background: var(--accent);
    color: var(--primary-deep);
}
.btn-accent:hover {
    background: var(--accent-deep);
    color: #fff;
}
.btn-whatsapp {
    background: #25D366;
    color: #fff;
}
.btn-whatsapp:hover {
    background: #1FB855;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -10px rgba(37, 211, 102, 0.45);
}
.btn-sm { height: 42px; padding: 0 var(--s-5); font-size: 13px; }
.btn-lg { height: 60px; padding: 0 var(--s-8); font-size: 16px; }
.btn-link {
    padding: 0; height: auto; background: transparent;
    color: var(--primary);
    border-bottom: 1px solid var(--accent);
    border-radius: 0;
    font-weight: 500;
    padding-bottom: 3px;
}
.btn-link:hover { color: var(--primary-deep); border-color: var(--primary-deep); }

/* ---------- Pills ---------- */
.pill {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    padding: 7px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    font-size: 13px;
    color: var(--text-2);
}
.pill-rating { background: rgba(11, 26, 60, 0.06); border-color: rgba(11, 26, 60, 0.12); color: var(--primary); font-weight: 500; }
.pill-rating .star { color: var(--accent); }

/* ============================================================
   TOP INFO BAR
   ============================================================ */
.topbar {
    background: var(--primary-deep);
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar-inner {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-5);
}
.topbar-left, .topbar-right { display: flex; gap: var(--s-6); align-items: center; }
.topbar-item { display: inline-flex; align-items: center; gap: var(--s-2); }
.topbar-item svg { color: var(--accent); width: 14px; height: 14px; }
.topbar a:hover { color: var(--accent); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(229, 229, 231, 0.6);
}
.navbar-inner {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: var(--s-3); }
.brand img { display: block; height: 38px; width: auto; }
.brand-text-fallback { font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -0.02em; color: var(--primary); }

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--s-7);
}
.nav-links a {
    font-size: 14.5px;
    font-weight: 400;
    color: var(--text);
    position: relative;
    padding: 4px 0;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-fast);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; gap: var(--s-3); align-items: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: var(--primary-deep);
    color: #fff;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img, .hero-bg video {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.85) brightness(0.78);
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(5, 14, 37, 0.88) 0%, rgba(5, 14, 37, 0.45) 55%, rgba(5, 14, 37, 0.15) 100%),
        linear-gradient(to bottom, transparent 40%, rgba(5, 14, 37, 0.55) 100%);
}
.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: var(--s-10) 0 var(--s-9);
    display: block;
    max-width: 920px;
    align-self: center;
    margin-top: auto;
    margin-bottom: auto;
}
.hero h1 {
    margin: var(--s-6) 0 var(--s-5);
    color: #fff;
    max-width: 14ch;
}
.hero h1 .display-italic {
    color: var(--accent-warm);
    display: block;
}
.hero-lead {
    color: rgba(255, 255, 255, 0.78);
    max-width: 48ch;
    margin-bottom: var(--s-7);
    font-size: clamp(17px, 1.2vw, 20px);
}
.hero-ctas {
    display: flex;
    gap: var(--s-4);
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: var(--s-7);
}
.hero-meta {
    display: flex;
    gap: var(--s-5);
    flex-wrap: wrap;
    align-items: center;
}
.hero-meta .pill-rating {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.hero-meta-line {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
}
.hero-meta-line svg { color: var(--accent); width: 14px; height: 14px; }

/* Hero card flotante */
.hero-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--r-lg);
    padding: var(--s-7);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.4);
    align-self: end;
}
.hero-card-eyebrow {
    color: var(--primary);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: var(--s-3);
    display: flex;
    align-items: center;
    gap: var(--s-3);
}
.hero-card-eyebrow::before {
    content: ''; width: 20px; height: 1px; background: var(--accent);
}
.hero-card-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: var(--s-4);
    letter-spacing: -0.02em;
}
.hero-card-list {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    margin: var(--s-5) 0 var(--s-6);
    padding: var(--s-5) 0;
    border-top: 1px solid var(--border-2);
    border-bottom: 1px solid var(--border-2);
}
.hero-card-list li {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    font-size: 14px;
    color: var(--text-2);
}
.hero-card-list li svg { flex-shrink: 0; color: var(--primary); }
.hero-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--s-5);
    font-size: 13px;
    color: var(--text-3);
}
.hero-card-foot strong { color: var(--text); font-weight: 500; }

/* ============================================================
   MARQUEE / TICKER
   ============================================================ */
.marquee {
    background: var(--primary);
    color: #fff;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.marquee-track {
    display: flex;
    gap: 64px;
    padding: 22px 0;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    will-change: transform;
}
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}
.marquee-item .dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================================
   STATS BENTO
   ============================================================ */
.stats {
    background: var(--bg);
    padding: var(--s-10) 0;
    border-bottom: 1px solid var(--border-2);
}
.stats-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--s-5);
}
.stat-card {
    padding: var(--s-7);
    border-radius: var(--r-md);
    background: var(--surface);
    border: 1px solid var(--border-2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    transition: transform var(--t-med), box-shadow var(--t-med);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-card.dark { background: var(--primary); color: #fff; border-color: var(--primary); }
.stat-card.dark .stat-number { color: #fff; }
.stat-card.dark .stat-label { color: rgba(255, 255, 255, 0.65); }
.stat-card.dark .stat-meta { color: var(--accent-warm); }
.stat-card.feature { background: var(--accent); color: var(--primary-deep); border-color: var(--accent); }
.stat-card.feature .stat-number { color: var(--primary-deep); }
.stat-card.feature .stat-label { color: rgba(11, 26, 60, 0.7); }
.stat-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: var(--s-4);
}
.stat-card.dark .stat-eyebrow { color: var(--accent-warm); }
.stat-card.feature .stat-eyebrow { color: rgba(11, 26, 60, 0.65); }
.stat-number {
    font-family: var(--font-display);
    font-size: 88px;
    line-height: 0.9;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.04em;
    margin-bottom: var(--s-3);
}
.stat-number small {
    font-size: 24px;
    color: var(--accent);
    margin-left: var(--s-1);
    vertical-align: super;
}
.stat-card.feature .stat-number small { color: var(--primary-deep); }
.stat-label {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.5;
}
.stat-meta {
    font-size: 12px;
    color: var(--text-3);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: var(--s-4);
}
.stat-card.large {
    grid-row: span 1;
}
.stat-card.large .stat-number {
    font-size: 120px;
}

/* ============================================================
   SECTION HEADS
   ============================================================ */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--s-7);
    margin-bottom: var(--s-9);
}
.section-head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.section-head--center .lead { margin: var(--s-5) auto 0; }
.section-head-left { max-width: 640px; }
.section-head h2 { margin-top: var(--s-4); }
.section-head .lead { margin-top: var(--s-5); }
.section-head-right { display: flex; align-items: flex-end; gap: var(--s-4); }

/* ============================================================
   TREATMENTS
   ============================================================ */
.treatments { background: var(--bg); }

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-5);
}
.treatment-card {
    position: relative;
    background: var(--surface);
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--border-2);
    transition: transform var(--t-med), box-shadow var(--t-med);
    display: flex;
    flex-direction: column;
}
.treatment-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.treatment-card-photo {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.treatment-card-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--ease);
    filter: saturate(0.88) brightness(0.97);
}
.treatment-card:hover .treatment-card-photo img { transform: scale(1.05); }
.treatment-card-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(11, 26, 60, 0.4) 100%);
    pointer-events: none;
}
.treatment-card-num {
    position: absolute;
    top: var(--s-4);
    left: var(--s-4);
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--accent);
    background: rgba(11, 26, 60, 0.85);
    padding: 6px 12px;
    border-radius: var(--r-pill);
    backdrop-filter: blur(8px);
}
.treatment-card-body {
    padding: var(--s-6);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.treatment-card h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: var(--s-3);
    color: var(--text);
}
.treatment-card p {
    color: var(--text-2);
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: var(--s-5);
    flex-grow: 1;
}
.treatment-card-meta {
    display: flex;
    gap: var(--s-3);
    margin-bottom: var(--s-5);
    flex-wrap: wrap;
}
.treatment-card-meta span {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-3);
    padding: 4px 10px;
    background: var(--bg);
    border-radius: var(--r-pill);
    font-weight: 500;
}
.treatment-card .arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.04em;
}
.treatment-card .arrow svg { transition: transform var(--t-fast); }
.treatment-card:hover .arrow svg { transform: translateX(4px); }

/* ============================================================
   EDITORIAL QUOTE
   ============================================================ */
.quote-section {
    background: var(--primary-deep);
    padding: var(--s-11) 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.quote-video {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.quote-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
    filter: saturate(0.9) brightness(1.02);
}
.quote-video::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(5, 14, 37, 0.74) 0%, rgba(8, 20, 50, 0.56) 55%, rgba(30, 58, 107, 0.38) 100%),
        linear-gradient(to bottom, rgba(5, 14, 37, 0.32) 0%, transparent 42%, rgba(5, 14, 37, 0.48) 100%);
    pointer-events: none;
}
.quote-section::before {
    content: '"';
    position: absolute;
    top: -40px;
    left: var(--gutter);
    font-family: var(--font-display);
    font-size: 480px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.06);
    pointer-events: none;
    z-index: 1;
}
.quote-inner {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}
.quote-text {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.6vw, 56px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.022em;
    color: #fff;
    margin-bottom: var(--s-7);
}
.quote-text em {
    color: var(--accent-warm);
}
.quote-author {
    display: inline-flex;
    align-items: center;
    gap: var(--s-4);
}
.quote-author-img {
    width: 56px; height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent);
}
.quote-author-img img { width: 100%; height: 100%; object-fit: cover; }
.quote-author-info { text-align: left; }
.quote-author-name { font-size: 15px; font-weight: 500; color: #fff; }
.quote-author-role { font-size: 13px; color: rgba(255, 255, 255, 0.7); }

/* ============================================================
   TEAM
   ============================================================ */
.team {
    background: var(--surface-2);
    position: relative;
}
.team-feature {
    position: relative;
    margin: 0 0 var(--s-9);
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 21/9;
    box-shadow: var(--shadow-md);
}
.team-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
}
.team-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 26, 60, 0.72) 0%, rgba(11, 26, 60, 0.12) 42%, rgba(11, 26, 60, 0) 70%);
}
.team-feature figcaption {
    position: absolute;
    left: var(--s-7);
    bottom: var(--s-6);
    z-index: 2;
    max-width: 460px;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-6);
}
.doctor-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 22px;
    overflow: hidden;
    background: var(--bg-2);
    box-shadow:
        0 1px 2px rgba(11, 26, 60, 0.04),
        0 14px 36px -18px rgba(11, 26, 60, 0.22);
    transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
    cursor: pointer;
}
.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 4px 10px rgba(11, 26, 60, 0.06),
        0 36px 72px -20px rgba(11, 26, 60, 0.30);
}
.doctor-photo-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 22%;
    transition: transform 700ms var(--ease);
    filter: saturate(0.95);
}
.doctor-card:hover .doctor-photo-img { transform: scale(1.05); }
.doctor-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(5, 14, 37, 0.94) 0%,
        rgba(8, 20, 50, 0.74) 16%,
        rgba(11, 26, 60, 0.30) 38%,
        transparent 58%
    );
    pointer-events: none;
}
.doctor-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 22px 22px 22px;
    pointer-events: none;
}
.doctor-name {
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 5px;
}
.doctor-role {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-warm);
    line-height: 1.35;
}
.doctor-card-link {
    position: absolute;
    inset: 0;
    z-index: 3;
}

/* === Carrusel de equipo (home): 4 visibles + flechas === */
.team-carousel { position: relative; }
.team-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * var(--s-6)) / 4);
    gap: var(--s-6);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px 2px 10px;
    margin: 0 -2px;
}
.team-track::-webkit-scrollbar { display: none; }
.team-track > .doctor-card { scroll-snap-align: start; }
.team-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--border-2);
    box-shadow: 0 12px 28px -12px rgba(11, 26, 60, 0.4);
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), opacity var(--t-fast);
}
.team-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.team-arrow-prev { left: -20px; }
.team-arrow-next { right: -20px; }
.team-arrow:disabled { opacity: 0; pointer-events: none; }
.team-carousel.no-scroll .team-arrow { display: none; }
@media (max-width: 1024px) {
    .team-track { grid-auto-columns: calc((100% - 2 * var(--s-5)) / 3); gap: var(--s-5); }
}
@media (max-width: 760px) {
    .team-track { grid-auto-columns: 64%; gap: var(--s-4); }
    .team-arrow { display: none; }
}

/* ============================================================
   TECHNOLOGY
   ============================================================ */
.technology {
    background: var(--primary);
    color: #fff;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.technology > .container { position: relative; z-index: 2; }
.technology-video {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.technology-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) brightness(0.95);
}
.technology-video::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 26, 60, 0.58) 0%, rgba(8, 20, 50, 0.66) 100%),
        linear-gradient(110deg, rgba(11, 26, 60, 0.42) 0%, rgba(11, 26, 60, 0.16) 100%);
    pointer-events: none;
}
.technology::before {
    content: '';
    position: absolute;
    top: -250px; right: -250px;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 106, 0.10) 0%, transparent 70%);
    pointer-events: none;
}
.technology::after {
    content: '';
    position: absolute;
    bottom: -200px; left: -150px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(92, 122, 171, 0.18) 0%, transparent 70%);
    pointer-events: none;
}
.technology h2 { color: #fff; }
.technology .lead { color: rgba(255, 255, 255, 0.7); }

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-5);
    margin-top: var(--s-9);
    position: relative;
    z-index: 1;
}
.tech-tile {
    padding: var(--s-7);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--r-md);
    transition: all var(--t-med);
    position: relative;
    overflow: hidden;
}
.tech-tile:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(201, 168, 106, 0.4);
    transform: translateY(-3px);
}
.tech-tile-number {
    font-family: var(--font-display);
    font-size: 96px;
    color: var(--accent);
    font-weight: 700;
    line-height: 0.9;
    margin-bottom: var(--s-6);
    letter-spacing: -0.04em;
}
.tech-tile h3 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--s-4);
    color: #fff;
    line-height: 1.1;
}
.tech-tile p {
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: var(--s-5);
}
.tech-tile-tag {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(201, 168, 106, 0.15);
    color: var(--accent-warm);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: var(--r-pill);
    font-weight: 500;
}

/* ============================================================
   CASES / GALLERY
   ============================================================ */
.cases { background: var(--bg); }
.cases-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--s-5);
    margin-bottom: var(--s-7);
}
.case-tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-md);
    background: var(--bg-2);
    transition: transform var(--t-med);
    cursor: pointer;
}
.case-tile:hover { transform: scale(1.01); }
.case-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(0.92);
    transition: transform 700ms var(--ease);
}
.case-tile:hover img { transform: scale(1.06); }
.case-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(11, 26, 60, 0.6) 100%);
    pointer-events: none;
}
.case-tile-info {
    position: absolute;
    bottom: var(--s-5);
    left: var(--s-5);
    right: var(--s-5);
    z-index: 1;
    color: #fff;
}
.case-tile-info h4 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.case-tile-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.case-tile.big {
    grid-row: span 2;
    min-height: 580px;
}
.case-tile.big .case-tile-info h4 { font-size: 36px; }
.case-tile.small { min-height: 280px; }

/* Case tile como vídeo */
.case-tile-video {
    background: #0B1A3C;
}
.case-tile-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.95);
    transition: transform 700ms var(--ease);
}
.case-tile-video:hover video { transform: scale(1.04); }
.case-tile-video::after {
    background: linear-gradient(180deg, rgba(11, 26, 60, 0.15) 0%, transparent 35%, rgba(11, 26, 60, 0.72) 100%);
}
.cases-disclaimer {
    text-align: center;
    font-size: 13px;
    color: var(--text-3);
    max-width: 64ch;
    margin: var(--s-7) auto 0;
    line-height: 1.6;
}

/* === Carrusel antes/después === */
.cases-carousel { position: relative; }
.cases-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - var(--s-5)) / 2);
    gap: var(--s-5);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 2px;
    margin: 0 -2px;
}
.cases-track::-webkit-scrollbar { display: none; }
.cases-track > .ba-case { scroll-snap-align: start; }

.ba-case {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: var(--r-lg);
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-2);
    box-shadow: 0 14px 36px -18px rgba(11, 26, 60, 0.22);
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}
.ba-case-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 500ms var(--ease), transform 700ms var(--ease);
}
/* ANTES: apagado y amarillento */
.ba-case.is-before .ba-case-img {
    filter: sepia(0.62) saturate(0.62) brightness(0.78) contrast(0.9);
}
/* DESPUÉS: más blanco, brillante y nítido + pequeño "pop" */
.ba-case:not(.is-before) .ba-case-img {
    filter: saturate(1.1) brightness(1.06) contrast(1.04);
    animation: baPop 700ms var(--ease);
}
.ba-case:hover .ba-case-img { transform: scale(1.03); }
@keyframes baPop {
    0%   { transform: scale(1.04); }
    45%  { transform: scale(1.012); }
    100% { transform: scale(1); }
}
.ba-case::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 14, 37, 0.82) 0%, rgba(5, 14, 37, 0.18) 34%, transparent 56%);
    pointer-events: none;
}
/* Destello que barre la imagen al revelar el "después" */
.ba-shine {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.45) 47%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.45) 53%, transparent 68%);
    transform: translateX(-120%);
}
.ba-case:not(.is-before) .ba-shine {
    animation: baShine 850ms ease-out;
}
@keyframes baShine {
    0%   { opacity: 0; transform: translateX(-120%); }
    18%  { opacity: 1; }
    100% { opacity: 0; transform: translateX(120%); }
}
.ba-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}
.ba-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); transition: background var(--t-fast); }
.ba-badge-after { display: none; }
.ba-case:not(.is-before) .ba-badge-before { display: none; }
.ba-case:not(.is-before) .ba-badge-after { display: inline; }
/* DESPUÉS: el badge salta y se pone verde */
.ba-case:not(.is-before) .ba-badge {
    background: #34A853;
    color: #fff;
    box-shadow: 0 6px 18px -4px rgba(52, 168, 83, 0.6);
    animation: baBadgePop 520ms var(--ease);
}
.ba-case:not(.is-before) .ba-badge-dot { background: #fff; }
@keyframes baBadgePop {
    0%   { transform: scale(0.6); opacity: 0; }
    55%  { transform: scale(1.14); }
    100% { transform: scale(1); opacity: 1; }
}

.ba-case-foot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: var(--s-5);
    text-align: left;
    color: #fff;
}
.ba-case-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 4px;
}
.ba-case-foot h4 {
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
}
.ba-hint {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    padding: 8px 15px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.ba-hint-before, .ba-hint-after { align-items: center; gap: 7px; }
.ba-hint-before { display: inline-flex; }
.ba-hint-ico { flex-shrink: 0; }
.ba-hint-after { display: none; }
.ba-case:not(.is-before) .ba-hint-before { display: none; }
.ba-case:not(.is-before) .ba-hint-after { display: inline-flex; }
/* Pulso invitando a tocar, solo en estado "antes" */
.ba-case.is-before .ba-hint {
    animation: baHintPulse 2.1s ease-in-out infinite;
}
@keyframes baHintPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); transform: translateY(0); }
    50% { box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
}
/* En "después" el botón es más discreto (acción secundaria) */
.ba-case:not(.is-before) .ba-hint {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.86);
}
@media (prefers-reduced-motion: reduce) {
    .ba-case.is-before .ba-hint { animation: none; }
}

@media (max-width: 760px) {
    .cases-track { grid-auto-columns: 86%; gap: var(--s-4); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--surface-2); }
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--s-10);
    align-items: center;
}
.about-image {
    aspect-ratio: 4/5;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--bg-2);
    box-shadow: var(--shadow-md);
    position: relative;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }

/* Carrusel de fotos de clínica (about) */
.about-carousel .about-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1100ms var(--ease), transform 6000ms linear;
    will-change: opacity, transform;
}
.about-carousel .about-slide.is-active {
    opacity: 1;
    transform: scale(1);
}
.about-carousel-dots {
    position: absolute;
    bottom: var(--s-5);
    right: var(--s-5);
    display: flex;
    gap: 6px;
    z-index: 3;
}
.about-dot {
    width: 22px;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.4);
    transition: background 300ms var(--ease), width 300ms var(--ease);
}
.about-dot.is-active {
    background: #FFFFFF;
    width: 32px;
}
.about-image-badge {
    position: absolute;
    bottom: var(--s-5);
    left: var(--s-5);
    background: rgba(11, 26, 60, 0.92);
    backdrop-filter: blur(12px);
    color: #fff;
    padding: var(--s-5) var(--s-6);
    border-radius: var(--r-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 240px;
}
.about-image-badge strong {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.01em;
}
.about-image-badge span { font-size: 13px; color: rgba(255, 255, 255, 0.7); }

.about h2 { color: var(--text); margin-bottom: var(--s-5); }
.about-bullets {
    margin-top: var(--s-7);
    display: flex;
    flex-direction: column;
    gap: var(--s-5);
}
.about-bullet {
    display: flex;
    gap: var(--s-5);
    padding-bottom: var(--s-5);
    border-bottom: 1px solid var(--border-2);
}
.about-bullet:last-child { border-bottom: none; }
.about-bullet-number {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--accent);
    line-height: 1;
    min-width: 40px;
}
.about-bullet-text strong {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
}
.about-bullet-text span {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.55;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { background: var(--bg); }
.reviews-head {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--s-9);
    align-items: stretch;
    margin-bottom: var(--s-8);
}
.reviews-head-text { align-self: center; }

/* === Bloque-resumen de Google === */
.reviews-summary {
    display: flex;
    flex-direction: column;
    gap: var(--s-5);
    padding: var(--s-7);
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--r-lg);
    box-shadow:
        0 1px 2px rgba(11, 26, 60, 0.04),
        0 18px 44px -22px rgba(11, 26, 60, 0.22);
}
.reviews-summary-brand {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    padding-bottom: var(--s-5);
    border-bottom: 1px solid var(--border-2);
}
.reviews-summary-score {
    display: flex;
    align-items: center;
    gap: var(--s-4);
}
.reviews-summary-number {
    font-family: var(--font-display);
    font-size: 64px;
    line-height: 0.9;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.03em;
}
.reviews-summary-stars { color: var(--accent); font-size: 19px; letter-spacing: 2px; }
.reviews-summary-count { font-size: 13.5px; color: var(--text-2); margin-top: 4px; }
.reviews-summary-people {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding-top: var(--s-5);
    border-top: 1px solid var(--border-2);
}
.reviews-summary-avatars { display: flex; }
.reviews-summary-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-display);
    border: 2px solid var(--surface);
    margin-left: -10px;
}
.reviews-summary-avatar:first-child { margin-left: 0; }
.reviews-summary-people-label { font-size: 12.5px; color: var(--text-3); line-height: 1.3; }
.reviews-summary-cta { width: 100%; justify-content: center; }

/* === Carrusel de reseñas (pasa de 2 en 2) === */
.reviews-carousel { position: relative; }
.reviews-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - var(--s-5)) / 2);
    gap: var(--s-5);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 2px;
    margin: 0 -2px;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track > .review-card { scroll-snap-align: start; }
.reviews-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-4);
    margin-top: var(--s-6);
}
.reviews-arrow {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--surface);
    color: var(--primary);
    border: 1px solid var(--border-2);
    box-shadow: 0 10px 24px -12px rgba(11, 26, 60, 0.34);
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.reviews-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.reviews-dots { display: flex; align-items: center; gap: 8px; }
.reviews-dot {
    width: 8px; height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: background var(--t-fast), width var(--t-fast);
}
.reviews-dot.is-active { background: var(--accent); width: 22px; border-radius: 4px; }

.review-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--r-lg);
    padding: var(--s-7);
    display: flex;
    flex-direction: column;
    transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.review-card:hover {
    box-shadow: 0 28px 56px -28px rgba(11, 26, 60, 0.28);
    transform: translateY(-4px);
    border-color: rgba(201, 168, 106, 0.45);
}
.review-card-google {
    position: absolute;
    top: var(--s-6);
    right: var(--s-6);
    opacity: 0.9;
}
.review-stars { color: var(--accent); letter-spacing: 3px; font-size: 15px; margin-bottom: var(--s-4); }
.review-text {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--text-2);
    margin-bottom: var(--s-5);
    flex: 1;
}
.review-foot {
    margin-top: auto;
    padding-top: var(--s-5);
    border-top: 1px solid var(--border-2);
}
.review-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    margin-bottom: var(--s-4);
    border-radius: var(--r-pill);
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    color: var(--accent-deep);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.review-author {
    display: flex;
    align-items: center;
    gap: var(--s-3);
}
.review-avatar {
    width: 44px; height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 18px;
    color: #fff;
    font-weight: 600;
}
.review-name { font-size: 14.5px; font-weight: 600; color: var(--text); }
.review-source {
    font-size: 12px; color: var(--text-3);
    display: inline-flex; align-items: center; gap: 5px;
    margin-top: 2px;
}
.review-source svg { color: #34A853; flex-shrink: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--surface-2); }
.faq-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--s-9);
    align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: var(--s-6) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-5);
    font-size: 19px;
    font-weight: 500;
    color: var(--text);
    transition: color var(--t-fast);
    font-family: var(--font-display);
    letter-spacing: -0.015em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 30px;
    color: var(--accent);
    font-weight: 300;
    width: 32px; height: 32px;
    display: grid;
    place-items: center;
    transition: transform var(--t-med);
    flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { color: var(--primary); }
.faq-item p {
    padding: 0 0 var(--s-6);
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text-2);
    max-width: 62ch;
    margin: 0;
}

/* ============================================================
   VISIT BLOCK (mapa + horarios)
   ============================================================ */
.visit { background: var(--bg); }
.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-7);
    align-items: stretch;
}
.visit-info {
    background: var(--primary);
    color: #fff;
    border-radius: var(--r-lg);
    padding: var(--s-9);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.visit-info h2 { color: #fff; margin-bottom: var(--s-5); }
.visit-info .lead { color: rgba(255, 255, 255, 0.75); }
.visit-info-block {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: var(--s-5);
    margin-top: var(--s-7);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-5);
}
.visit-info-item h4 {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-warm);
    font-weight: 500;
    margin-bottom: var(--s-3);
}
.visit-info-item p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
    margin: 0;
}
.visit-info-item a { color: #fff; }
.visit-info-item a:hover { color: var(--accent); }

.visit-photo {
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--bg-2);
    position: relative;
    min-height: 540px;
}
.visit-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.visit-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 26, 60, 0.55) 0%, rgba(11, 26, 60, 0) 45%);
    pointer-events: none;
}
.visit-photo-badge {
    position: absolute;
    left: var(--s-6);
    bottom: var(--s-6);
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(11, 26, 60, 0.92);
    backdrop-filter: blur(12px);
    color: #fff;
    padding: 9px 16px;
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.visit-photo-badge-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(201, 168, 106, 0.25);
    flex-shrink: 0;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
    background: var(--primary-deep);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-final-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0.22;
    z-index: 0;
    pointer-events: none;
}
.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(201, 168, 106, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(92, 122, 171, 0.20) 0%, transparent 55%),
        linear-gradient(to bottom, rgba(7, 17, 40, 0.55), rgba(7, 17, 40, 0.78));
    pointer-events: none;
}
.cta-final-inner {
    position: relative;
    z-index: 1;
    max-width: 840px;
    margin: 0 auto;
    text-align: center;
}
.cta-final h2 {
    color: #fff;
    margin-bottom: var(--s-5);
}
.cta-final h2 em {
    color: var(--accent);
}
.cta-final .lead {
    color: rgba(255, 255, 255, 0.75);
    margin: 0 auto var(--s-7);
}
.cta-final-ctas {
    display: flex;
    gap: var(--s-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--s-8);
}
.cta-final-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-7);
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    padding-top: var(--s-7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.cta-final-meta-item { display: inline-flex; align-items: center; gap: var(--s-2); }
.cta-final-meta-item svg { color: var(--accent); width: 16px; height: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--primary-deep);
    color: rgba(255, 255, 255, 0.65);
    padding: var(--s-9) 0 var(--s-6);
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--s-7);
    margin-bottom: var(--s-8);
}
.footer .brand img { filter: brightness(0) invert(1); height: 42px; }
.footer-col h4 {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: var(--s-5);
}
.footer-col p, .footer-col li { font-size: 14px; line-height: 1.7; }
.footer-col ul { display: flex; flex-direction: column; gap: var(--s-3); }
.footer-col a:hover { color: #fff; }
.footer-brand-text { margin-top: var(--s-5); color: rgba(255, 255, 255, 0.55); line-height: 1.6; max-width: 36ch; }
.footer-brand-meta { margin-top: var(--s-4); color: rgba(255, 255, 255, 0.45); font-size: 13px; }
.footer-bottom {
    padding-top: var(--s-6);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--s-4);
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}
.footer-legal { display: flex; gap: var(--s-5); flex-wrap: wrap; }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(11, 26, 60, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(201, 168, 106, 0.2);
    gap: 10px;
    align-items: center;
}
.sticky-mobile-cta .btn { flex: 1; height: 48px; }
.sticky-mobile-cta .icon-btn {
    width: 48px; height: 48px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.sticky-mobile-cta .icon-btn svg { width: 22px; height: 22px; }

/* ============================================================
   HAMBURGER + MOBILE DRAWER
   ============================================================ */
.nav-burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    flex-shrink: 0;
    transition: background var(--t-fast);
}
.nav-burger:hover { background: var(--primary-deep); }
.nav-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--t-fast), opacity var(--t-fast);
}
body.drawer-open { overflow: hidden; }
body.drawer-open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.drawer-open .nav-burger span:nth-child(2) { opacity: 0; }
body.drawer-open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    visibility: hidden;
}
.mobile-drawer[aria-hidden="false"] {
    pointer-events: auto;
    visibility: visible;
}
.mobile-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 14, 37, 0.55);
    opacity: 0;
    transition: opacity 280ms var(--ease);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.mobile-drawer[aria-hidden="false"] .mobile-drawer-overlay { opacity: 1; }
.mobile-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 92vw);
    background: var(--bg);
    transform: translateX(100%);
    transition: transform 320ms var(--ease);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 60px rgba(5, 14, 37, 0.25);
}
.mobile-drawer[aria-hidden="false"] .mobile-drawer-panel { transform: translateX(0); }
.mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-2);
}
.mobile-drawer-head .brand img { height: 32px; }
.mobile-drawer-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--primary);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all var(--t-fast);
}
.mobile-drawer-close:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.mobile-drawer-close svg { width: 20px; height: 20px; }
.mobile-drawer-nav {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
}
.mobile-drawer-nav a {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-2);
    letter-spacing: -0.02em;
    transition: color var(--t-fast), padding-left var(--t-fast);
}
.mobile-drawer-nav a:hover {
    color: var(--primary);
    padding-left: 8px;
}
.mobile-drawer-nav a:last-child { border-bottom: none; }
.mobile-drawer-foot {
    padding: 20px 24px calc(20px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--border-2);
    background: var(--surface-2);
}
.mobile-drawer-foot .btn { width: 100%; }
.mobile-drawer-meta {
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border-2);
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.6;
}
.mobile-drawer-meta strong { color: var(--text); font-weight: 600; }

/* ============================================================
   WHATSAPP ICON VISIBILITY (brand green where context allows)
   ============================================================ */
.topbar-item[href*="wa.me"] svg { color: #25D366 !important; }
.footer-col a[href*="wa.me"] svg { color: #25D366; }
.faq p .wa-link { color: #25D366; font-weight: 500; }
.sticky-mobile-cta .icon-btn-wa {
    background: #25D366;
    color: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* --- Laptop normal (1280px) --- */
@media (max-width: 1280px) {
    :root { --gutter: 48px; }
    .section { padding: var(--s-10) 0; }
    .section-head { margin-bottom: var(--s-8); }
    .stats { padding: var(--s-9) 0; }
    .stat-number { font-size: 76px; }
    .stat-card.large .stat-number { font-size: 100px; }
    .tech-tile-number { font-size: 84px; }
    .quote-section::before { font-size: 360px; }
}

/* --- Tablet landscape (1024px) --- */
@media (max-width: 1024px) {
    :root { --gutter: 40px; }

    /* Topbar más compacto */
    .topbar { font-size: 12px; }
    .topbar-inner { gap: var(--s-3); }
    .topbar-left, .topbar-right { gap: var(--s-4); }
    .topbar-left .topbar-item:nth-child(2) { display: none; } /* hide hours */
    .topbar-right .topbar-item:last-child { display: none; } /* hide email */

    .navbar-inner { height: 76px; }
    .brand img { height: 32px; }
    .nav-links { gap: var(--s-5); }
    .nav-links a { font-size: 13.5px; }

    .hero { min-height: 80vh; }
    .hero-inner { padding: var(--s-9) 0 var(--s-8); max-width: 720px; }
    .hero h1 { max-width: 12ch; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-card.large { grid-column: span 2; }
    .stat-card.large .stat-number { font-size: 88px; }

    .treatments-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-tile p { font-size: 14px; }

    .cases-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .case-tile.big { grid-row: span 1; grid-column: span 2; min-height: 380px; }
    .case-tile.small { min-height: 260px; }

    .reviews-track { grid-auto-columns: calc((100% - var(--s-5)) / 2); }
    .reviews-head { grid-template-columns: 1fr; gap: var(--s-6); align-items: start; }
    .reviews-summary { max-width: 460px; }

    .faq-inner { grid-template-columns: 1fr; gap: var(--s-8); }
    .about-inner { grid-template-columns: 1fr; gap: var(--s-8); }
    .about-image { max-width: 540px; margin: 0 auto; }
    .visit-grid { grid-template-columns: 1fr; gap: var(--s-5); }
    .visit-photo { min-height: 380px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-7); }
    .footer-grid .footer-col:first-child { grid-column: span 2; }
}

/* --- Tablet portrait / mobile L (820px) --- */
@media (max-width: 820px) {
    :root { --gutter: 24px; }
    .section { padding: var(--s-9) 0; }
    .stats { padding: var(--s-8) 0; }

    /* Topbar: solo dirección y teléfono, ocultar email + horario */
    .topbar { display: block; }
    .topbar-inner { height: auto; padding: 10px 0; gap: var(--s-3); flex-wrap: wrap; justify-content: space-between; }
    .topbar-left, .topbar-right { gap: var(--s-4); flex-wrap: wrap; }
    .topbar-left .topbar-item:nth-child(2) { display: none; } /* hide hours */
    .topbar-right .topbar-item:last-child { display: none; } /* hide email */

    /* Navbar */
    .navbar-inner { height: 64px; }
    .brand img { height: 30px; }
    .nav-links { display: none; }
    .nav-cta .btn-ghost { display: none; }
    .nav-wa { display: none !important; }
    .nav-cta .btn-primary { display: none; }
    .nav-burger { display: inline-flex; }

    /* Hero */
    .hero { min-height: 78vh; }
    .hero-inner { padding: var(--s-8) 0 var(--s-7); }
    .hero h1 { max-width: 100%; margin: var(--s-5) 0 var(--s-4); }
    .display-xl { font-size: clamp(40px, 9vw, 60px); }
    .hero-lead { font-size: 15px; max-width: 100%; margin-bottom: var(--s-6); }
    .hero-ctas { gap: var(--s-3); }
    .hero-ctas .btn-lg { height: 54px; padding: 0 var(--s-6); font-size: 15px; flex: 1 1 auto; }

    /* Marquee */
    .marquee-track { gap: 40px; padding: 18px 0; }
    .marquee-item { font-size: 18px; }
    .marquee-item .dot { width: 5px; height: 5px; }

    /* Section heads */
    .section-head { flex-direction: column; align-items: flex-start; gap: var(--s-5); margin-bottom: var(--s-7); }
    .section-head-right { align-items: flex-start; }

    /* Grids → 1 ó 2 columnas */
    .treatments-grid { grid-template-columns: 1fr; gap: var(--s-5); }
    .team-feature { aspect-ratio: 4/3; margin-bottom: var(--s-7); }
    .team-feature figcaption { left: var(--s-5); bottom: var(--s-5); font-size: 16px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
    .tech-grid { grid-template-columns: 1fr; gap: var(--s-4); }
    .cases-grid { grid-template-columns: 1fr; gap: var(--s-4); }
    .case-tile.big, .case-tile.big.case-tile { grid-column: span 1; min-height: 280px; }
    .case-tile.small { min-height: 240px; }
    .reviews-track { grid-auto-columns: 86%; gap: var(--s-4); }

    /* Stats */
    .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--s-3); }
    .stat-card { padding: var(--s-5); min-height: 160px; }
    .stat-card.large { grid-column: span 2; }
    .stat-number { font-size: 56px; }
    .stat-card.large .stat-number { font-size: 72px; }

    /* Quote */
    .quote-section { padding: var(--s-9) 0; }
    .quote-section::before { font-size: 200px; top: -20px; }
    .quote-text { font-size: clamp(22px, 5vw, 32px); }

    /* Treatments */
    .treatment-card h3 { font-size: 24px; }
    .treatment-card-body { padding: var(--s-5); }
    .treatment-card-photo { aspect-ratio: 16/10; }

    /* Team */
    .doctor-card { border-radius: 18px; aspect-ratio: 3/4; }
    .doctor-overlay { padding: 18px; }
    .doctor-name { font-size: 19px; }
    .doctor-role { font-size: 11.5px; }

    /* Tech */
    .tech-tile { padding: var(--s-6); }
    .tech-tile h3 { font-size: 24px; }
    .tech-tile-number { font-size: 64px; margin-bottom: var(--s-4); }
    .technology::before, .technology::after { display: none; }

    /* About */
    .about-image { aspect-ratio: 4/3; max-width: 100%; }
    .about-image-badge { padding: var(--s-4); max-width: 200px; }
    .about-image-badge strong { font-size: 18px; }
    .about-bullet { gap: var(--s-3); padding-bottom: var(--s-4); }
    .about-bullet-number { font-size: 24px; min-width: 32px; }

    /* Reviews */
    .review-card { padding: var(--s-5); }
    .reviews-summary { padding: var(--s-5); }
    .reviews-summary-number { font-size: 56px; }

    /* FAQ */
    .faq-item summary { font-size: 15.5px; padding: var(--s-5) 0; gap: var(--s-3); }
    .faq-item summary::after { font-size: 24px; width: 28px; height: 28px; }
    .faq-item p { font-size: 14.5px; padding-bottom: var(--s-5); }

    /* Visit */
    .visit-info { padding: var(--s-6); border-radius: var(--r-md); }
    .visit-info-block { grid-template-columns: 1fr 1fr; gap: var(--s-4); }
    .visit-photo { min-height: 280px; border-radius: var(--r-md); }

    /* CTA final */
    .cta-final-ctas { flex-direction: column; align-items: stretch; }
    .cta-final-ctas .btn { width: 100%; }
    .cta-final-meta { flex-direction: column; gap: var(--s-3); padding-top: var(--s-5); }
    .cta-final-meta-item { font-size: 12px; }

    /* Footer */
    .footer { padding: var(--s-8) 0 var(--s-5); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); margin-bottom: var(--s-6); }
    .footer-grid .footer-col:first-child { grid-column: span 2; }
    .footer .brand img { height: 36px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; font-size: 11px; }
    .footer-legal { gap: var(--s-4); }

    /* Mobile floats */
    .sticky-mobile-cta { display: flex; }
    body { padding-bottom: 76px; }
    .floating-whatsapp { display: none !important; }
    .hero-scroll-cue { display: none !important; }
}

/* --- Phone landscape / small tablet (640px) --- */
@media (max-width: 640px) {
    :root { --gutter: 18px; }
    .section { padding: var(--s-8) 0; }
    .stats { padding: var(--s-7) 0; }

    /* Topbar: solo dirección abreviada */
    .topbar { display: none; }
    .navbar-inner { height: 60px; }

    /* Hero */
    .hero { min-height: 72vh; }
    .hero-inner { padding: var(--s-7) 0 var(--s-7); }
    .display-xl { font-size: clamp(32px, 8.4vw, 50px); line-height: 1.06; }
    .hero h1 .display-italic { display: block; }
    .hero-lead { font-size: 14.5px; margin-bottom: var(--s-5); }
    .hero-ctas { gap: var(--s-3); flex-direction: column; align-items: stretch; }
    .hero-ctas .btn { width: 100%; }
    .hero-meta { gap: var(--s-3); }
    .pill { font-size: 12px; padding: 6px 12px; }

    /* Stats: full 1 col en phones pequeños */
    .stats-grid { grid-template-columns: 1fr; gap: var(--s-3); }
    .stat-card, .stat-card.large { grid-column: span 1; min-height: 140px; padding: var(--s-5); }
    .stat-number { font-size: 64px; }
    .stat-card.large .stat-number { font-size: 80px; }

    /* Team: 1 columna en phones */
    .team-grid { grid-template-columns: 1fr; gap: var(--s-4); }
    .doctor-card { aspect-ratio: 4/5; }
    .doctor-photo-img { object-position: center 20%; }

    /* Tech */
    .tech-tile h3 { font-size: 22px; }
    .tech-tile p { font-size: 13.5px; }

    /* Treatments */
    .treatment-card h3 { font-size: 22px; }
    .treatment-card p { font-size: 14px; }

    /* About */
    .about-bullets { gap: var(--s-4); }
    .about-bullet-text strong { font-size: 15px; }
    .about-bullet-text span { font-size: 13.5px; }

    /* Quote */
    .quote-section::before { font-size: 160px; }
    .quote-text { font-size: clamp(20px, 5.6vw, 28px); margin-bottom: var(--s-5); }
    .quote-author-img { width: 44px; height: 44px; }
    .quote-author-name { font-size: 14px; }
    .quote-author-role { font-size: 12px; }

    /* Reviews */
    .review-text { font-size: 14.5px; }
    .reviews-summary-number { font-size: 48px; }
    .reviews-summary-stars { font-size: 16px; }

    /* FAQ */
    .faq-item summary { font-size: 15px; padding: var(--s-4) 0; }
    .faq-item p { font-size: 14px; padding-bottom: var(--s-4); }

    /* Visit info */
    .visit-info-block { grid-template-columns: 1fr; gap: var(--s-3); padding-top: var(--s-4); margin-top: var(--s-5); }
    .visit-info { padding: var(--s-5); }
    .visit-photo { min-height: 240px; }

    /* CTA final */
    .cta-final-inner h2 { font-size: clamp(28px, 7vw, 40px); }
    .cta-final .lead { font-size: 15px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: var(--s-5); }
    .footer-grid .footer-col:first-child { grid-column: span 1; }
    .footer-col h4 { margin-bottom: var(--s-3); }

    /* Marquee */
    .marquee-item { font-size: 16px; }
    .marquee-track { gap: 32px; padding: 14px 0; }

    /* Section heads padding */
    .section-head { margin-bottom: var(--s-6); }
    .section-head .lead { font-size: 15.5px; }

    /* Buttons */
    .btn { height: 48px; padding: 0 var(--s-6); font-size: 14.5px; }
    .btn-lg { height: 54px; padding: 0 var(--s-7); font-size: 15.5px; }
    .btn-sm { height: 40px; padding: 0 var(--s-4); font-size: 13px; }
}

/* --- Phone portrait small (420px) --- */
@media (max-width: 420px) {
    :root { --gutter: 16px; }
    .navbar-inner { height: 56px; }
    .brand img { height: 28px; }
    .display-xl { font-size: clamp(32px, 10.5vw, 44px); }
    .display-m { font-size: clamp(22px, 7vw, 30px); }
    .display-l { font-size: clamp(26px, 8vw, 36px); }
    .lead { font-size: 14.5px; }
    .hero { min-height: 68vh; }
    .hero-inner { padding: var(--s-6) 0; }
    .quote-text { font-size: clamp(18px, 6vw, 24px); }
    .quote-section::before { font-size: 120px; left: -10px; }
    .stat-number { font-size: 56px; }
    .stat-card.large .stat-number { font-size: 64px; }
    .reviews-summary-number { font-size: 44px; }
    .tech-tile-number { font-size: 56px; }
    .marquee-item { font-size: 14px; }
    .marquee-track { gap: 24px; padding: 12px 0; }
    .sticky-mobile-cta { padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
    .sticky-mobile-cta .btn { height: 44px; font-size: 13.5px; padding: 0 var(--s-4); }
    .sticky-mobile-cta .icon-btn { width: 44px; height: 44px; }
    .sticky-mobile-cta .icon-btn svg { width: 20px; height: 20px; }
    body { padding-bottom: 70px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
    html { scroll-behavior: auto; }
    .marquee-track { animation: none; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Hero scroll cue ---------- */
.hero-scroll-cue {
    position: absolute;
    bottom: var(--s-7);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--r-pill);
    backdrop-filter: blur(8px);
    background: rgba(11, 26, 60, 0.25);
    transition: all var(--t-fast);
}
.hero-scroll-cue:hover {
    color: #fff;
    border-color: var(--accent);
    transform: translateX(-50%) translateY(-2px);
}
.hero-scroll-cue svg { animation: scroll-bounce 2s ease-in-out infinite; }
@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(3px); opacity: 1; }
}

/* ---------- Navbar WhatsApp icon ---------- */
.nav-wa {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: grid;
    place-items: center;
    transition: all var(--t-fast);
    flex-shrink: 0;
}
.nav-wa svg { width: 20px; height: 20px; }
.nav-wa:hover {
    background: #1FB855;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(37, 211, 102, 0.4);
}

/* ---------- Floating WhatsApp button ---------- */
.floating-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 45;
    background: #25D366;
    color: #fff;
    border-radius: var(--r-pill);
    padding: 14px 22px 14px 16px;
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    box-shadow: 0 20px 50px -12px rgba(37, 211, 102, 0.5),
                0 8px 16px -4px rgba(11, 26, 60, 0.2);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all var(--t-fast);
}
.floating-whatsapp:hover {
    background: #1FB855;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 28px 60px -12px rgba(37, 211, 102, 0.6),
                0 12px 24px -4px rgba(11, 26, 60, 0.25);
}
.floating-whatsapp svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
.floating-whatsapp::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--r-pill);
    background: #25D366;
    opacity: 0.4;
    z-index: -1;
    animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.08); opacity: 0; }
}
