/* ============================================================
   MyLook Surgery — "Navy & Gold" design system
   Dr. Arvin Taneja · Plastic & Cosmetic Surgery · Newport Beach / South Pasadena
   Inspired by doctaneja.com. Hand-built, no framework.
   Cormorant Garamond (display) + DM Sans (body).
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
    /* surfaces */
    --bg:        #FBFAF9;   /* ivory page canvas */
    --bg-2:      #F4F1EA;   /* warm band */
    --bg-3:      #ECE7DC;   /* deepest warm band */
    --card:      #FFFFFF;   /* card surface */

    /* navy (dark sections / hero / footer) */
    --navy:      #181D25;
    --navy-2:    #20262F;
    --navy-3:    #2B323D;

    /* ink */
    --ink:       #181D25;   /* primary text = deep navy */
    --ink-2:     #44505D;   /* secondary text (cool slate) */
    --muted:     #6B7682;   /* tertiary / captions */
    --on-dark:   #F6F4EE;   /* cream text on navy */
    --on-dark-2: #AEB7C2;   /* muted on navy */

    /* lines */
    --line:      #E8E3D8;
    --line-2:    #D8D1C3;
    --line-dark: #313945;

    /* accent — amber / brass gold */
    --gold:      #D7A042;   /* primary amber (CTA fill) */
    --gold-deep: #9B733B;   /* brass — eyebrows, accents */
    --gold-soft: #E3BE74;
    --gold-tint: #F7EDD8;   /* light gold wash */

    /* status */
    --success:   #3F7D5A;
    --success-bg:#E7F0E9;
    --danger:    #C2503F;
    --danger-bg: #F8E9E6;

    /* type */
    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sans:  "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* radius / shadow */
    --r-sm: 10px;
    --r:    16px;
    --r-lg: 24px;
    --r-pill: 100px;
    --shadow-sm:  0 1px 2px rgba(24,29,37,.04), 0 2px 8px rgba(24,29,37,.05);
    --shadow:     0 8px 22px rgba(24,29,37,.07), 0 22px 48px rgba(24,29,37,.08);
    --shadow-lg:  0 28px 80px rgba(24,29,37,.20);
    --shadow-gold:0 14px 34px rgba(215,160,66,.28);

    /* layout */
    --container: 1200px;
    --gutter: clamp(20px, 5vw, 64px);
    --header-h: 78px;
    --banner-h: 0px;

    /* type scale (fluid) */
    --t-eyebrow: .74rem;
    --t-body:    clamp(1rem, .97rem + .15vw, 1.075rem);
    --t-lede:    clamp(1.08rem, 1rem + .45vw, 1.32rem);
    --t-h6:      1.05rem;
    --t-h5:      clamp(1.3rem, 1.15rem + .6vw, 1.6rem);
    --t-h4:      clamp(1.6rem, 1.35rem + 1vw, 2.1rem);
    --t-h3:      clamp(2rem, 1.55rem + 1.9vw, 3.1rem);
    --t-h2:      clamp(2.5rem, 1.8rem + 3vw, 4.1rem);
    --t-h1:      clamp(3rem, 2rem + 5vw, 5.6rem);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--banner-h) + 16px); }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--sans);
    font-size: var(--t-body);
    line-height: 1.66;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: .002em;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; }
p { margin: 0; }
::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ---------- TYPOGRAPHY HELPERS ---------- */
.serif { font-family: var(--serif); }
.display {
    font-family: var(--serif);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: -.005em;
    color: var(--ink);
}
.display em { font-style: italic; font-weight: 400; color: var(--gold-deep); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--sans);
    font-size: var(--t-eyebrow);
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--gold-deep);
}
.eyebrow::before {
    content: "";
    width: 26px; height: 1px;
    background: var(--gold);
    display: inline-block;
}
.eyebrow.center::after {
    content: "";
    width: 26px; height: 1px;
    background: var(--gold);
    display: inline-block;
}
.eyebrow.no-rule::before { display: none; }

.lede { font-size: var(--t-lede); color: var(--ink-2); line-height: 1.62; font-weight: 400; }
.muted { color: var(--muted); }

/* ---------- LAYOUT ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.section { padding-block: clamp(66px, 9vw, 132px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.band { background: var(--bg-2); }
.band-3 { background: var(--bg-3); }
.dark { background: var(--navy); color: var(--on-dark); }
.dark .display, .dark h2, .dark h3 { color: var(--on-dark); }
.dark .lede { color: var(--on-dark-2); }
.dark .eyebrow { color: var(--gold-soft); }
.dark .eyebrow::before, .dark .eyebrow.center::after { background: var(--gold-soft); }

.section-head { max-width: 660px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { font-size: var(--t-h2); margin-bottom: 16px; }
.section-head .lede { margin-top: 4px; }

.sec-no {
    font-family: var(--serif);
    font-style: italic;
    font-size: var(--t-h5);
    color: var(--gold);
}

/* grain texture for dark sections */
.grain { position: relative; }
.grain::after {
    content: "";
    position: absolute; inset: 0;
    pointer-events: none;
    opacity: .045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- BUTTONS ---------- */
.btn {
    --btn-pad-y: 15px;
    --btn-pad-x: 32px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: var(--btn-pad-y) var(--btn-pad-x);
    font-family: var(--sans);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .01em;
    border: 1px solid transparent;
    border-radius: var(--r-pill);
    transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s, color .25s, border-color .25s, box-shadow .25s;
    white-space: nowrap;
    line-height: 1;
}
.btn i, .btn svg { transition: transform .25s ease; }
.btn:hover i.arrow, .btn:hover svg.arrow { transform: translateX(4px); }

.btn-gold { background: var(--gold); color: #2A1E08; box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: #E3AC4D; transform: translateY(-2px); box-shadow: 0 18px 40px rgba(215,160,66,.34); }
.btn-gold:active { transform: translateY(0); }

.btn-primary { background: var(--navy); color: var(--on-dark); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #0F141B; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary:active { transform: translateY(0); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); background: rgba(24,29,37,.03); }
.dark .btn-outline { color: var(--on-dark); border-color: rgba(246,244,238,.30); }
.dark .btn-outline:hover { border-color: var(--on-dark); background: rgba(246,244,238,.07); }

.btn-ghost { background: transparent; color: var(--ink); padding-inline: 14px; }
.btn-ghost:hover { color: var(--gold-deep); }

.btn-block { width: 100%; }
.btn-lg { --btn-pad-y: 18px; --btn-pad-x: 38px; font-size: 1rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* button loading */
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
    content: ""; position: absolute;
    width: 18px; height: 18px; border-radius: 50%;
    border: 2px solid rgba(42,30,8,.35); border-top-color: #2A1E08;
    animation: spin .7s linear infinite;
}
.btn-primary.is-loading::after { border-color: rgba(255,255,255,.4); border-top-color: #fff; }
.btn-outline.is-loading::after, .btn-ghost.is-loading::after { border-color: rgba(24,29,37,.25); border-top-color: var(--ink); }

.textlink {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; color: var(--gold-deep);
    border-bottom: 1px solid var(--gold-soft);
    padding-bottom: 2px;
    transition: gap .25s ease, color .2s;
}
.textlink:hover { gap: 12px; color: var(--ink); }

/* ---------- HEADER ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--header-h);
    display: flex; align-items: center;
    transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: clamp(16px, 2.5vw, 32px); width: 100%; max-width: 1360px; flex-wrap: nowrap; }
/* transparent over the dark hero, then solid ivory on scroll */
.site-header .brand img { height: 30px; width: auto; transition: filter .35s ease; }
.site-header:not(.scrolled) .brand img { filter: brightness(0) invert(1); }
.site-header:not(.scrolled) .nav a { color: rgba(246,244,238,.82); }
.site-header:not(.scrolled) .nav a:hover { color: #fff; }
.site-header:not(.scrolled) .header-phone { color: var(--on-dark); }
.site-header:not(.scrolled) .header-phone i { color: var(--gold-soft); }
.site-header:not(.scrolled) .nav-toggle { color: var(--on-dark); }
.site-header.scrolled {
    background: rgba(251,250,249,.88);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(24,29,37,.06);
}
body.has-banner { padding-top: var(--banner-h); }
body.has-banner .site-header { top: var(--banner-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand .brand-word { font-family: var(--serif); font-size: 1.5rem; letter-spacing: -.01em; color: var(--ink); }
.brand .brand-word b { font-weight: 600; color: var(--gold-deep); }

.nav { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 32px); flex-shrink: 1; min-width: 0; }
.nav a {
    font-size: .9rem; font-weight: 500; color: var(--ink-2);
    position: relative; padding-block: 6px; white-space: nowrap;
}
.nav a::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
    background: var(--gold); transition: width .3s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 18px); flex-shrink: 0; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--ink); white-space: nowrap; }
.header-phone i { color: var(--gold-deep); }
.header-actions .btn { white-space: nowrap; }

.nav-toggle { display: none; background: none; border: none; width: 44px; height: 44px; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* mobile drawer — closed state is display:none (NOT translated off-screen),
   so the panel never has a box beyond the viewport and can never create
   horizontal scroll on any browser (iOS Safari included). */
.mobile-nav {
    position: fixed; inset: 0; z-index: 120;
    background: var(--navy);
    display: none;
    flex-direction: column;
    padding: 28px var(--gutter);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: max(28px, env(safe-area-inset-bottom));
}
.mobile-nav.open { display: flex; animation: drawerSlideIn .38s cubic-bezier(.6,.05,.1,1); }
@keyframes drawerSlideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .mobile-nav.open { animation: none; } }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.mobile-nav-top .brand img { filter: brightness(0) invert(1); }
.mobile-nav a.m-link { font-family: var(--serif); font-size: 2.1rem; padding: 14px 0; border-bottom: 1px solid var(--line-dark); color: var(--on-dark); }
.mobile-nav a.m-link:last-of-type { border-bottom: none; }
/* language switch + CTAs sit together at the bottom of the drawer, below a divider */
.mobile-nav .lang-toggle-m { margin: auto 0 16px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.mobile-nav .m-actions { margin-top: 0; display: grid; gap: 12px; }
/* the outline (call) button must read on the navy drawer — not dark-on-dark */
.mobile-nav .btn-outline { color: var(--on-dark); border-color: rgba(246,244,238,.30); }
.mobile-nav .btn-outline:hover { border-color: var(--on-dark); background: rgba(246,244,238,.07); }
.icon-btn { background: none; border: 1px solid var(--line-dark); border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; color: var(--on-dark); flex-shrink: 0; }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    background: var(--navy);
    color: var(--on-dark);
    overflow: hidden;
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(820px 540px at 12% -6%, rgba(215,160,66,.12), transparent 60%),
        radial-gradient(700px 520px at 96% 110%, rgba(215,160,66,.07), transparent 55%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: clamp(520px, 76vh, 760px);
    align-items: stretch;
}
.hero-copy {
    position: relative; z-index: 2;
    align-self: center;
    max-width: 640px;
    padding: calc(var(--header-h) + clamp(24px, 3.5vw, 48px)) clamp(28px, 4vw, 60px) clamp(32px, 4vw, 56px) var(--gutter);
    margin-left: auto;
    width: 100%;
}
.hero-tag {
    display: inline-flex; align-items: center; gap: 9px;
    border: 1px solid rgba(246,244,238,.22); border-radius: var(--r-pill);
    padding: 7px 16px; font-size: .8rem; font-weight: 500; color: var(--on-dark);
    margin-bottom: 22px;
}
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(215,160,66,.22); }
.hero h1 { font-size: clamp(2.6rem, 1.8rem + 3.2vw, 4.4rem); line-height: 1.04; margin-bottom: 20px; color: var(--on-dark); }
.hero h1 em { display: block; font-style: italic; color: var(--gold-soft); font-weight: 400; white-space: nowrap; }
.hero .lede { color: var(--on-dark-2); max-width: 500px; margin-bottom: 26px; }
.hero .lede strong { color: var(--on-dark); font-weight: 600; }

.hero-fee {
    display: inline-flex; align-items: stretch; gap: 18px;
    background: rgba(246,244,238,.04); border: 1px solid rgba(246,244,238,.14);
    border-radius: var(--r); padding: 14px 20px; margin-bottom: 26px;
}
.hero-fee .hf-price { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--gold-soft); }
.hero-fee .hf-price small { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); margin-top: 6px; }
.hero-fee .hf-div { width: 1px; background: rgba(246,244,238,.16); }
.hero-fee .hf-note { align-self: center; font-size: .92rem; color: var(--on-dark); max-width: 200px; line-height: 1.45; }
.hero-fee .hf-note strong { color: var(--gold-soft); font-weight: 600; }

.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
/* the hero sits on the dark navy background but has no .dark class — make the
   outline ("See How It Works") button legible there. */
.hero .btn-outline { color: var(--on-dark); border-color: rgba(246,244,238,.30); }
.hero .btn-outline:hover { border-color: var(--on-dark); background: rgba(246,244,238,.07); }

.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badge-chip {
    display: inline-flex; align-items: center; gap: 10px;
    border: 1px solid rgba(246,244,238,.16); border-radius: var(--r-pill);
    padding: 9px 16px;
}
.hero-badge-chip i { color: var(--gold-soft); font-size: .95rem; }
.hero-badge-chip > span { display: flex; flex-direction: column; gap: 1px; }
.hero-badge-chip .hb-t { font-size: .82rem; font-weight: 600; color: var(--on-dark); line-height: 1.15; }
.hero-badge-chip .hb-s { font-size: .72rem; color: var(--on-dark-2); line-height: 1.1; }

/* hero figure (new-ui-doc.jpg) */
.hero-figure { position: relative; }
/* portrait photo (867×1814) — bias the crop to the top so the face/smile is
   always shown and the forehead is never cut, on both desktop and mobile. */
.hero-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero-figure::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(160deg, transparent 40%, rgba(20,25,33,.55) 100%),
                linear-gradient(90deg, rgba(20,25,33,.5) 0%, transparent 22%);
}
.hero-doc {
    position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(24px, 3vw, 44px); z-index: 2;
    max-width: 320px;
}
.hero-doc .hd-name { font-family: var(--serif); font-size: 2rem; color: #fff; line-height: 1.05; }
.hero-doc .hd-name em { font-style: italic; }
.hero-doc .hd-role { font-size: .92rem; color: rgba(255,255,255,.86); margin-top: 4px; }
.hero-doc .hd-exp { font-size: .82rem; color: var(--gold-soft); font-weight: 600; margin-top: 6px; }
.hero-doc .hd-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.hero-doc .hd-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(20,25,33,.5); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px);
    border-radius: var(--r-pill); padding: 6px 13px; font-size: .78rem; color: #fff;
}
.hero-doc .hd-pill i { color: var(--gold-soft); font-size: .8rem; }

/* credential strip */
.cred-strip { border-bottom: 1px solid var(--line); background: var(--bg); }
.cred-strip .container { display: flex; align-items: center; gap: clamp(24px,5vw,70px); flex-wrap: wrap; justify-content: center; padding-block: 26px; }
.cred-item { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 500; font-size: .9rem; }
.cred-item i { color: var(--gold-deep); font-size: 1.05rem; }

/* ---------- HOW IT WORKS ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 28px); margin-top: 56px; }
.step-card {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 34px 30px 30px;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
    position: relative;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.step-card .s-no {
    position: absolute; top: 22px; right: 24px;
    font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold);
    background: var(--gold-tint); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
}
.step-card .s-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--gold-tint); color: var(--gold-deep); display: grid; place-items: center; font-size: 22px; margin-bottom: 20px; }
.step-card h3 { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; margin-bottom: 6px; }
.step-card .s-time { display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-deep); background: var(--gold-tint); border-radius: var(--r-pill); padding: 4px 12px; margin-bottom: 14px; }
.step-card > p { color: var(--ink-2); font-size: .98rem; margin-bottom: 16px; }
.step-card .s-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.step-card .s-list li { display: flex; gap: 9px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.step-card .s-list i { color: var(--gold); font-size: .78rem; margin-top: 5px; flex-shrink: 0; }

/* ---------- PROCEDURES ---------- */
.proc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.proc-card {
    position: relative; border-radius: var(--r-lg); overflow: hidden;
    aspect-ratio: 4/5; display: flex; align-items: flex-end;
    color: #fff; isolation: isolate; box-shadow: var(--shadow-sm); cursor: pointer;
}
.proc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.proc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,20,27,.05) 30%, rgba(15,20,27,.82) 100%); }
.proc-card:hover img { transform: scale(1.06); }
.proc-card .pc-body { padding: 26px; width: 100%; }
.proc-card .pc-kicker { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
.proc-card h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; margin-top: 6px; }
.proc-card .pc-list { margin-top: 8px; font-size: .85rem; color: rgba(255,255,255,.84); }
.proc-card .pc-go { position: absolute; top: 20px; right: 20px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(4px); display: grid; place-items: center; opacity: 0; transform: translateY(-6px); transition: .3s; }
.proc-card:hover .pc-go { opacity: 1; transform: translateY(0); }

/* ---------- INSTAGRAM / RESULTS ---------- */
.ig-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.ig-handle { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.ig-handle i { color: var(--gold-deep); font-size: 1.3rem; }

/* live Elfsight Instagram feed */
.ig-elfsight { margin-top: 40px; min-height: 320px; overflow-x: clip; }
/* The Elfsight Instagram widget injects an absolutely-positioned share/branding
   toolbar that leaks ~36px past the right edge on mobile (its own containers are
   overflow:visible), creating phantom horizontal scroll. Contain it at the source.
   overflow-x:clip on the wrapper clips the leak WITHOUT making it a scroll
   container (so vertical scrolling is untouched), and we hide the unused toolbar. */
.ig-elfsight .eapps-widget-toolbar { display: none !important; }
.ig-cta { text-align: center; margin-top: 40px; }

/* ---------- MEET YOUR SURGEON ---------- */
.surgeon-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.surgeon-figure { position: relative; }
.surgeon-figure .frame { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); background: var(--bg-3); }
.surgeon-figure .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.surgeon-figure .badge {
    position: absolute; right: -14px; bottom: 28px;
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--r); padding: 14px 18px;
    box-shadow: var(--shadow); display: flex; gap: 13px; align-items: center;
}
.surgeon-figure .badge .seal { width: 42px; height: 42px; border-radius: 50%; background: var(--gold-tint); color: var(--gold-deep); display: grid; place-items: center; flex-shrink: 0; }
.surgeon-figure .badge .bname { font-weight: 700; font-size: .9rem; }
.surgeon-figure .badge .bsub { font-size: .78rem; color: var(--muted); }
.surgeon-copy h2 { font-size: var(--t-h2); margin-bottom: 20px; }
.surgeon-copy p { color: var(--ink-2); }
.surgeon-copy p + p { margin-top: 16px; }
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.cred-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.cred-box .cb-k { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.cred-box .cb-v { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--ink); margin-top: 4px; line-height: 1.2; }
.surgeon-locs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.surgeon-locs .sl-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 8px 16px; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.surgeon-locs .sl-pill i { color: var(--gold); }

/* ---------- LOCATIONS ---------- */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 34px); margin-top: 52px; }
.loc-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s; }
.loc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.loc-card .loc-img { aspect-ratio: 16/10; overflow: hidden; }
.loc-card .loc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.loc-card:hover .loc-img img { transform: scale(1.05); }
.loc-card .loc-body { padding: 28px 30px 30px; }
.loc-card .loc-city { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; margin-bottom: 4px; }
.loc-card .loc-city i { color: var(--gold); font-size: 1.1rem; }
.loc-card .loc-tag { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 16px; }
.loc-card .loc-row { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: .95rem; padding-block: 7px; }
.loc-card .loc-row i { color: var(--gold); margin-top: 4px; width: 16px; text-align: center; flex-shrink: 0; }
.loc-card .loc-foot { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }

/* photoless location cards (images temporarily removed) — keep them polished,
   equal-height, with a gold top accent so they read as intentional, not empty. */
.loc-grid:has(.loc-card--noimg) { align-items: stretch; }
.loc-card--noimg { border-top: 3px solid var(--gold); display: flex; flex-direction: column; }
.loc-card--noimg .loc-body { padding: clamp(28px, 3.5vw, 40px) clamp(26px, 3vw, 36px); display: flex; flex-direction: column; height: 100%; }
.loc-card--noimg .loc-foot { margin-top: auto; padding-top: 18px; }

/* ---------- TESTIMONIALS ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.quote-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 30px; display: flex; flex-direction: column; }
.quote-card .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 16px; font-size: .9rem; }
.quote-card blockquote { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; line-height: 1.4; color: var(--ink); margin: 0 0 22px; }
.quote-card blockquote em { color: var(--gold-deep); }
.quote-card .q-who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote-card .q-av { width: 42px; height: 42px; border-radius: 50%; background: var(--gold-tint); color: var(--gold-deep); display: grid; place-items: center; font-weight: 700; font-family: var(--serif); font-size: 1.2rem; }
.quote-card .q-name { font-weight: 700; font-size: .92rem; }
.quote-card .q-meta { font-size: .8rem; color: var(--muted); }

/* ---------- CTA BAND ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: var(--t-h2); margin-bottom: 16px; max-width: 760px; margin-inline: auto; }
.cta-band .lede { max-width: 560px; margin: 0 auto 34px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-fineprint { margin-top: 22px; font-size: .85rem; color: var(--on-dark-2); display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; }
.cta-fineprint i { color: var(--gold-soft); }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-2); padding-top: clamp(56px, 7vw, 88px); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand-word { color: var(--on-dark); font-family: var(--serif); font-size: 1.6rem; }
.footer-brand .brand-word b { color: var(--gold-soft); font-weight: 600; }
.footer-brand p { margin-top: 16px; max-width: 300px; font-size: .92rem; }
.footer-soc { display: flex; gap: 12px; margin-top: 22px; }
.footer-soc a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--on-dark); transition: .25s; }
.footer-soc a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer-col h4 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; color: var(--on-dark-2); font-size: .92rem; padding-block: 6px; transition: color .2s; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 26px; font-size: .82rem; color: var(--on-dark-2); }
.footer-bottom a:hover { color: var(--gold-soft); }
.footer-bottom a { color: var(--gold-soft); }

/* ============================================================
   BOOKING — 4-step wizard (full-screen overlay)
   ============================================================ */
.booking { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: none; flex-direction: column; }
.booking.open { display: flex; }
body.booking-open { overflow: hidden; }

.booking-bar {
    height: 64px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between;
    padding-inline: clamp(16px, 4vw, 34px); border-bottom: 1px solid var(--line); background: var(--card);
}
.booking-bar .brand img { height: 26px; }
.booking-back { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-2); background: none; border: none; font-weight: 500; font-size: .92rem; padding: 8px 10px; border-radius: var(--r-sm); }
.booking-back:hover { background: var(--bg-2); color: var(--ink); }
.booking-save { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--muted); opacity: 0; transition: opacity .3s; }
.booking-save.show { opacity: 1; }
.booking-save i { color: var(--success); }

.booking-body { flex: 1; overflow-y: auto; scroll-behavior: smooth; }
.wiz { max-width: 1080px; margin-inline: auto; padding: clamp(22px,3.5vw,44px) var(--gutter) 60px; }

/* stepper */
.stepper { list-style: none; display: flex; gap: 0; margin: 0 0 clamp(24px,4vw,40px); padding: 0; counter-reset: step; }
.stepper li {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 9px;
    position: relative; cursor: default; text-align: center; color: var(--muted);
    padding-top: 4px;
}
.stepper li .st-no {
    width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
    background: var(--bg-2); border: 1.5px solid var(--line-2); color: var(--muted);
    font-weight: 700; font-size: .92rem; transition: .3s; position: relative; z-index: 2;
}
.stepper li .st-lbl { font-size: .82rem; font-weight: 600; letter-spacing: .01em; transition: color .3s; }
/* connector line */
.stepper li::before {
    content: ""; position: absolute; top: 23px; left: -50%; width: 100%; height: 2px;
    background: var(--line-2); z-index: 1;
}
.stepper li:first-child::before { display: none; }
/* states */
.stepper li.is-done { color: var(--ink); }
.stepper li.is-done .st-no { background: var(--gold); border-color: var(--gold); color: #2A1E08; }
.stepper li.is-done::before { background: var(--gold); }
.stepper li.is-active { color: var(--ink); }
.stepper li.is-active .st-no { background: var(--navy); border-color: var(--navy); color: var(--on-dark); box-shadow: 0 0 0 4px rgba(24,29,37,.10); }
.stepper li.is-clickable { cursor: pointer; }
.stepper li.is-clickable:hover .st-no { transform: translateY(-1px); }

.wiz-single { max-width: 720px; margin-inline: auto; }
.wiz-main { min-width: 0; }

/* doctaneja-style progress bar under the booking bar */
.booking-progress { flex-shrink: 0; display: flex; align-items: center; gap: 14px; padding: 10px clamp(16px, 4vw, 34px); background: var(--card); border-bottom: 1px solid var(--line); }
.booking-progress .bp-track { flex: 1; height: 6px; background: var(--bg-3); border-radius: 4px; overflow: hidden; }
.booking-progress .bp-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); border-radius: 4px; transition: width .45s cubic-bezier(.2,.8,.2,1); }
.booking-progress .bp-label { font-size: .78rem; font-weight: 600; color: var(--muted); white-space: nowrap; min-width: 84px; text-align: right; }

/* booking intro */
.booking-intro { margin-bottom: 8px; }
.booking-intro .eyebrow { margin-bottom: 14px; }
.booking-intro h1 { font-family: var(--serif); font-size: var(--t-h3); font-weight: 500; line-height: 1.06; margin-bottom: 12px; color: var(--ink); }
.booking-intro p { color: var(--ink-2); max-width: 560px; }

/* welcome note */
.booking-welcome { margin-top: 22px; margin-bottom: clamp(28px, 4vw, 44px); padding: 20px 22px; background: var(--gold-tint); border: 1px solid var(--line-2); border-left: 3px solid var(--gold); border-radius: var(--r); }
.booking-welcome p { color: var(--ink-2); font-size: .96rem; line-height: 1.62; }
.booking-welcome p + p { margin-top: 12px; }
.booking-welcome strong { color: var(--ink); font-weight: 700; }
.booking-welcome .bw-sign { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink); }

/* steps */
.step { display: none; animation: stepin .4s cubic-bezier(.2,.8,.2,1); }
.step.active { display: block; }
@keyframes stepin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step { animation: none; } }

/* form sections within a step */
.fsec { padding-top: 30px; margin-top: 30px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.fsec:first-of-type, .step > .fsec:first-child { border-top: none; padding-top: 8px; margin-top: 8px; }
.fsec-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.fsec-head .fsec-no { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.4rem; flex-shrink: 0; }
.fsec-head h2 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; line-height: 1.1; }
.fsec-head p { font-size: .9rem; color: var(--muted); margin-top: 3px; }

/* fields */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.span2 { grid-column: 1 / -1; }
.triple { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > label { font-size: .82rem; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; }
.field .req { color: var(--gold-deep); }
.field .hint { font-size: .78rem; color: var(--muted); font-weight: 400; }
.input, .field input, .field select, .field textarea {
    width: 100%; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-sm);
    padding: 13px 14px; font-family: inherit; font-size: 16px; color: var(--ink);
    transition: border-color .18s, box-shadow .18s, background .18s; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.55; }
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7682' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(215,160,66,.16); background: #fff;
}
.field input.invalid, .field select.invalid, .field textarea.invalid {
    border-color: var(--danger); box-shadow: 0 0 0 4px rgba(194,80,63,.12);
}
.field .micro { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; display: block; }

/* checkbox */
.check { display: flex; gap: 13px; align-items: flex-start; padding: 15px 17px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.check input { width: 19px; height: 19px; margin-top: 1px; accent-color: var(--gold-deep); flex-shrink: 0; }
.check.invalid { border-color: var(--danger); }

/* ---- option cards (Procedures of Interest checkbox grid) ---- */
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opt-grid.invalid { outline: 2px solid var(--danger); outline-offset: 6px; border-radius: var(--r); }
.opt-card {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 20px; background: var(--bg-2); border: 1.5px solid var(--line-2);
    border-radius: var(--r); cursor: pointer; font-size: 1.05rem; color: var(--ink);
    transition: border-color .18s, background .18s, box-shadow .18s;
}
.opt-card:hover { border-color: var(--gold-soft); background: var(--gold-tint); }
.opt-card input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.opt-card .opt-tick {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px;
    border: 1.5px solid var(--line-2); background: var(--card);
    display: grid; place-items: center; color: #fff;
    transition: background .18s, border-color .18s, transform .15s;
}
.opt-card .opt-tick i { font-size: .85rem; opacity: 0; transform: scale(.5); transition: opacity .18s, transform .18s; }
.opt-card:has(input:checked) { border-color: var(--gold-deep); background: var(--gold-tint); }
.opt-card:has(input:checked) .opt-tick { background: var(--gold-deep); border-color: var(--gold-deep); }
.opt-card:has(input:checked) .opt-tick i { opacity: 1; transform: scale(1); }
.opt-card:focus-within { box-shadow: 0 0 0 4px rgba(215,160,66,.18); border-color: var(--gold); }

/* ---- segmented Yes/No selector ---- */
.seg-label { display: block; font-size: .95rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.seg-btn {
    padding: 18px 20px; background: var(--bg-2); border: 1.5px solid var(--line-2);
    border-radius: var(--r); font-family: var(--sans); font-size: 1.05rem; font-weight: 500;
    color: var(--ink-2); cursor: pointer; transition: border-color .18s, background .18s, color .18s, box-shadow .18s;
}
.seg-btn:hover { border-color: var(--gold-soft); background: var(--gold-tint); }
.seg-btn.is-active { border-color: var(--gold-deep); background: var(--gold-tint); color: var(--ink); box-shadow: inset 0 0 0 1px var(--gold-deep); }

/* ---- nested reveal panel (e.g. previous-surgery follow-ups) ---- */
.subpanel {
    margin-top: 16px; padding: clamp(18px, 3vw, 24px);
    background: var(--bg-2); border: 1px solid var(--line);
    border-radius: var(--r); animation: stepin .3s cubic-bezier(.2,.8,.2,1);
}
.subpanel .seg-label { margin-bottom: 12px; }
.subpanel .field > label { color: var(--ink-2); }

/* ---- "Not sure of the details? [I don't remember]" pill toggle ---- */
.remember-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.remember-row .remember-q { font-size: .92rem; font-weight: 600; color: var(--ink); }
.pill-toggle {
    font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--ink-2);
    background: var(--card); border: 1.5px solid var(--line-2); border-radius: var(--r-pill);
    padding: 9px 18px; cursor: pointer; transition: border-color .18s, background .18s, color .18s, box-shadow .18s;
}
.pill-toggle:hover { border-color: var(--gold-soft); background: var(--gold-tint); }
.pill-toggle.is-active { border-color: var(--gold-deep); background: var(--gold-deep); color: #fff; box-shadow: var(--shadow-sm); }

/* BMI */
.bmi-wrap { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.bmi-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; }
.bmi-out { margin-top: 16px; display: none; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 16px; }
.bmi-out.show { display: flex; }
.bmi-out.high { background: var(--gold-tint); border-color: var(--gold-soft); }
.bmi-out .b-l { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bmi-out .b-v { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; color: var(--ink); line-height: 1; }
.bmi-out .b-c { margin-left: auto; font-size: .88rem; color: var(--ink-2); }
.note { margin-top: 14px; display: none; gap: 11px; align-items: flex-start; padding: 14px 16px; background: var(--gold-tint); border-left: 3px solid var(--gold); border-radius: var(--r-sm); font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.note.show { display: flex; }
.note i { color: var(--gold-deep); margin-top: 3px; }

/* uploads */
.up-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dz {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 158px; background: var(--bg-2); border: 1.5px dashed var(--line-2); border-radius: var(--r);
    padding: 18px; cursor: pointer; text-align: center; overflow: hidden; transition: .2s;
}
.dz:hover, .dz.drag { border-color: var(--gold); background: var(--gold-tint); }
.dz.filled { border-style: solid; border-color: var(--success); background: var(--card); }
.dz input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dz .dz-ic { font-size: 24px; color: var(--muted); margin-bottom: 8px; }
.dz .dz-t { font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.dz .dz-h { font-size: .76rem; color: var(--muted); margin-top: 3px; }
.dz .dz-prev { position: absolute; inset: 0; display: none; }
.dz .dz-prev img { width: 100%; height: 100%; object-fit: cover; }
.dz.filled .dz-prev { display: block; }
.dz .dz-name { position: absolute; left: 8px; right: 8px; bottom: 8px; background: rgba(20,25,33,.85); color: #fff; font-size: .68rem; padding: 4px 8px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: none; }
.dz.filled .dz-name { display: block; }
.dz-wide { min-height: 92px; flex-direction: row; gap: 16px; text-align: left; }
.dz-wide .dz-ic { margin-bottom: 0; }

/* payment block */
.pay-block { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 16px; }
.pay-secure { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.pay-secure i { color: var(--success); }
.pay-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pay-brands { display: inline-flex; gap: 8px; color: var(--muted); font-size: 1.3rem; margin-left: auto; }

/* review summary (step 4) */
.review-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; margin-bottom: 24px; }
.review-card h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; margin-bottom: 14px; }
.review-list { display: grid; gap: 10px; }
.review-row { display: flex; gap: 14px; font-size: .92rem; align-items: baseline; }
.review-row .rr-k { color: var(--muted); width: 130px; flex-shrink: 0; font-weight: 500; }
.review-row .rr-v { color: var(--ink); font-weight: 500; word-break: break-word; }
.review-edit { margin-top: 16px; }

/* legal warning before submit */
.booking-submit { margin-top: 26px; }
.booking-warning { display: flex; gap: 13px; align-items: flex-start; margin: 0 0 18px; padding: 15px 17px; background: var(--danger-bg); border: 1px solid #EBCDC6; border-left: 3px solid var(--danger); border-radius: var(--r-sm); }
.booking-warning i { color: var(--danger); margin-top: 3px; font-size: 1rem; flex-shrink: 0; }
.booking-warning p { font-size: .88rem; line-height: 1.6; color: #7A3327; }
.booking-warning strong { color: var(--danger); font-weight: 700; }

/* wizard nav */
.wiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.wiz-nav .wn-spacer { flex: 1; }
#bookingError { display: none; margin-bottom: 16px; padding: 13px 16px; background: var(--danger-bg); border-left: 3px solid var(--danger); border-radius: var(--r-sm); color: #7A3327; font-size: .9rem; }
#bookingError.show { display: block; }

/* mobile sticky pay summary */
.booking-mobilebar { display: none; }
.booking-back span { white-space: nowrap; }
.booking-bar > * { flex-shrink: 0; }

/* ---------- OVERLAYS / MODAL / LOADING / TOAST / BANNERS ---------- */
.overlay { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(20,25,33,.55); backdrop-filter: blur(6px); }
.overlay.open { display: flex; animation: fade .25s ease; }
.modal { background: var(--card); border-radius: var(--r-lg); max-width: 520px; width: 100%; padding: 40px 36px 30px; box-shadow: var(--shadow-lg); position: relative; animation: pop .3s cubic-bezier(.2,.9,.3,1.2); }
.modal-x { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--bg-2); border: none; color: var(--muted); display: grid; place-items: center; }
.modal-x:hover { background: var(--line); color: var(--ink); }

/* ---------- LANGUAGE: flash-guard, toggle, popup ---------- */
/* hide page until i18n applies, ONLY for returning Spanish visitors (set inline) */
html.i18n-loading body { visibility: hidden; }

/* EN/ES toggle (header + drawer) */
.lang-toggle { display: inline-flex; align-items: center; gap: 2px; background: rgba(246,244,238,.10); border: 1px solid rgba(246,244,238,.22); border-radius: var(--r-pill); padding: 3px; }
.lang-toggle button { background: none; border: none; border-radius: var(--r-pill); padding: 6px 12px; font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--on-dark-2); line-height: 1; transition: background .2s, color .2s; }
.lang-toggle button.active { background: var(--gold); color: #2A1E08; }
.lang-toggle button:not(.active):hover { color: var(--on-dark); }
/* on the solid (scrolled) ivory header, recolor for contrast */
.site-header.scrolled .lang-toggle { background: var(--bg-2); border-color: var(--line-2); }
.site-header.scrolled .lang-toggle button { color: var(--muted); }
.site-header.scrolled .lang-toggle button.active { background: var(--gold); color: #2A1E08; }
.site-header.scrolled .lang-toggle button:not(.active):hover { color: var(--ink); }
/* drawer variant: full-width pill row */
.lang-toggle-m { display: flex; margin: 6px 0 18px; }
.lang-toggle-m button { flex: 1; padding: 11px 12px; font-size: .92rem; }

/* first-visit language popup */
.lang-overlay { z-index: 340; }
body.lang-locked { overflow: hidden; }
.lang-card {
    background: var(--card); border-radius: var(--r-lg);
    max-width: 440px; width: 100%;
    overflow: hidden;
    box-shadow: var(--shadow-lg); text-align: center;
    animation: pop .3s cubic-bezier(.2,.9,.3,1.2);
}
/* photo banner — Dr. Taneja portrait (taller so the full head + smile shows) */
.lang-media { position: relative; height: 300px; background: var(--navy); overflow: hidden; }
.lang-media > img:first-child {
    width: 100%; height: 100%; object-fit: cover; object-position: center 28%;
}
/* soft fade only at the very bottom so the smile/face stays bright and clear */
.lang-media::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, var(--card) 100%);
}
.lang-media .lang-logo {
    position: absolute; top: 18px; left: 20px;
    height: 34px; width: auto; z-index: 2;
    filter: brightness(0) invert(1) drop-shadow(0 1px 8px rgba(0,0,0,.5));
}
.lang-body { padding: 18px clamp(24px, 4vw, 44px) clamp(28px, 4vw, 38px); position: relative; }
.lang-h { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.2rem); color: var(--ink); line-height: 1.1; }
.lang-sub { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--muted); margin-top: 4px; }
.lang-opts { display: grid; gap: 12px; margin-top: 26px; }
.lang-opts .lang-pick { width: 100%; }
.lang-flag { font-size: 1.05rem; line-height: 1; margin-right: 2px; }

/* ---------- CONSENT GATE ---------- */
.consent-overlay { z-index: 320; }
.consent {
    background: var(--card);
    border-radius: var(--r-lg);
    max-width: 560px; width: 100%;
    padding: clamp(30px, 5vw, 52px) clamp(22px, 4vw, 48px) clamp(24px, 4vw, 34px);
    box-shadow: var(--shadow-lg);
    position: relative;
    text-align: center;
    animation: pop .3s cubic-bezier(.2,.9,.3,1.2);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.consent-eyebrow {
    display: inline-block;
    font-family: var(--sans);
    font-size: var(--t-eyebrow);
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 18px;
}
.consent-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
    line-height: 1.04;
    letter-spacing: -.005em;
    color: var(--ink);
    margin-bottom: 10px;
}
.consent-sub { color: var(--muted); margin-bottom: clamp(22px, 4vw, 30px); }

.consent-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    text-align: left;
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    background: var(--bg-2);
    padding: clamp(18px, 3vw, 24px);
    cursor: pointer;
    transition: border-color .2s, background .2s, box-shadow .2s;
    position: relative;
}
.consent-card:hover { border-color: var(--gold-soft); background: var(--gold-tint); }
.consent-card:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(215,160,66,.16); }
.consent-card.selected { border-color: var(--gold); background: var(--gold-tint); }
.consent-card.shake { animation: shake .42s cubic-bezier(.36,.07,.19,.97); }

.consent-check-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.consent-tick {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid var(--line-2);
    background: #fff;
    display: grid; place-items: center;
    color: #fff;
    margin-top: 2px;
    transition: background .2s, border-color .2s, transform .2s;
}
.consent-tick i { font-size: .78rem; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .2s; }
.consent-check-input:checked ~ .consent-tick { background: var(--gold); border-color: var(--gold); color: #2A1E08; }
.consent-check-input:checked ~ .consent-tick i { opacity: 1; transform: scale(1); }

.consent-copy { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.consent-h { font-weight: 700; font-size: 1.08rem; color: var(--ink); line-height: 1.3; }
.consent-p { font-size: .95rem; color: var(--ink-2); line-height: 1.6; }

.consent-hint {
    display: none;
    align-items: center; justify-content: center; gap: 8px;
    color: var(--danger); font-size: .86rem;
    margin: 14px 0 0;
}
.consent-hint.show { display: flex; }

.consent-go { margin-top: clamp(20px, 4vw, 28px); }
.consent-foot {
    margin-top: 18px;
    font-size: .82rem; color: var(--muted);
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.consent-foot i { color: var(--gold-deep); }

@keyframes shake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-5px); }
    40%, 60% { transform: translateX(5px); }
}
@media (prefers-reduced-motion: reduce) { .consent-card.shake { animation: none; } }

.loading { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; background: rgba(251,250,249,.9); backdrop-filter: blur(6px); }
.loading.open { display: flex; }
.loading-card { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.spinner { width: 44px; height: 44px; border: 3px solid var(--line-2); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
.loading-card p { color: var(--ink-2); font-size: .92rem; }

.toast-wrap { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 500; width: calc(100% - 32px); max-width: 440px; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { pointer-events: auto; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--r-sm); box-shadow: var(--shadow); padding: 13px 16px; display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; animation: toastin .25s cubic-bezier(.2,.9,.3,1.2); }
.toast.error { border-left-color: var(--danger); }
.toast.success { border-left-color: var(--success); }
.toast .t-ic { font-size: 17px; margin-top: 1px; }
.toast.error .t-ic { color: var(--danger); }
.toast.success .t-ic { color: var(--success); }
.toast.info .t-ic { color: var(--gold-deep); }
.toast button { background: none; border: none; color: var(--muted); padding: 0 0 0 6px; }

.banner { position: fixed; top: 0; left: 0; right: 0; z-index: 250; display: none; align-items: center; justify-content: center; gap: 14px; padding: 11px 16px; font-size: .88rem; color: #fff; background: var(--navy); box-shadow: var(--shadow); }
.banner.show { display: flex; }
.banner.offline { background: var(--danger); }
.banner.draft { background: var(--gold-deep); }
.banner button { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: var(--r-pill); padding: 5px 14px; font-size: .8rem; font-weight: 600; }
.banner button:hover { background: rgba(255,255,255,.3); }
.banner .b-x { background: none; border: none; padding: 4px 8px; opacity: .8; }

/* ---------- THANK YOU ---------- */
.ty { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; background: radial-gradient(820px 520px at 80% -10%, rgba(215,160,66,.1), transparent 60%), var(--bg); }
.ty .site-header.scrolled { background: var(--card); }
.ty-main { display: grid; place-items: center; padding: 40px var(--gutter) 60px; }
.ty-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(34px,5vw,56px); max-width: 660px; width: 100%; text-align: center; }
.ty-ic { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; background: var(--success-bg); color: var(--success); display: grid; place-items: center; font-size: 30px; animation: pop .45s cubic-bezier(.2,.9,.3,1.4); }
.ty-card h1 { font-family: var(--serif); font-size: var(--t-h2); font-weight: 500; margin-bottom: 12px; }
.ty-id { color: var(--gold-deep); font-weight: 700; font-size: .9rem; letter-spacing: .03em; margin-bottom: 18px; }
.ty-body { color: var(--ink-2); font-size: 1.05rem; max-width: 500px; margin: 0 auto 26px; }
.ty-list { list-style: none; padding: 18px 22px; margin: 0 auto 26px; max-width: 460px; background: var(--bg-2); border-radius: var(--r-sm); display: grid; gap: 11px; text-align: left; font-size: .94rem; color: var(--ink-2); }
.ty-list i { color: var(--gold-deep); width: 18px; text-align: center; }
.ty-list li { display: flex; gap: 12px; align-items: center; }
.ty-locs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 18px 0; margin-bottom: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ty-loc strong { display: flex; align-items: center; gap: 7px; font-size: .95rem; }
.ty-loc strong i { color: var(--gold); }
.ty-loc span { font-size: .85rem; color: var(--muted); }
.ty-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- REVEAL ANIMATION ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- KEYFRAMES ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
@keyframes toastin { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------- UTIL ---------- */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.nowrap { white-space: nowrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; min-height: 0; }
    .hero-copy { max-width: none; margin-left: 0; padding: calc(var(--header-h) + 40px) var(--gutter) 48px; }
    /* taller portrait band so the full face + smile shows, never cropped */
    .hero-figure { position: relative; min-height: clamp(460px, 72vw, 560px); }
    /* trust badges → balanced 2×2 grid, equal width */
    .hero-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .hero-badge-chip { padding: 11px 14px; }
    /* doctor overlay spans the band; location pills share one row, equal width */
    .hero-doc { left: clamp(16px, 4vw, 32px); right: clamp(16px, 4vw, 32px); max-width: none; }
    .hero-doc .hd-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .hero-doc .hd-pill { justify-content: center; padding: 8px 10px; font-size: .76rem; }
    .surgeon-grid { grid-template-columns: 1fr; gap: 48px; }
    .surgeon-figure { max-width: 480px; margin-inline: auto; }
    /* surgeon location pills → equal width too */
    .surgeon-locs { display: grid; grid-template-columns: 1fr 1fr; }
    .surgeon-locs .sl-pill { justify-content: center; }
}
/* Header collapses to the hamburger earlier than the rest of the layout, so the
   longer Spanish nav labels never crowd the phone/CTA. Below this the phone hides
   first (recoverable in the drawer), then the whole nav collapses. */
@media (max-width: 1180px) {
    .header-phone { display: none; }
}
@media (max-width: 1080px) {
    .nav { display: none; }
    .nav-toggle { display: grid; place-items: center; }
    /* the main-site toggle moves into the drawer; the thank-you page (no drawer) keeps it. */
    .header-actions .lang-toggle { display: none; }
    .ty .header-actions .lang-toggle { display: inline-flex; }
}
@media (max-width: 860px) {
    .steps, .proc-grid, .quote-grid { grid-template-columns: 1fr; }
    .proc-card { aspect-ratio: 16/10; }
    .loc-grid { grid-template-columns: 1fr; }
    .cred-grid { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
    /* compact stepper labels on tablet/mobile */
    .stepper li .st-lbl { font-size: .72rem; }
}
@media (max-width: 600px) {
    :root { --gutter: 20px; }
    /* declutter the mobile header: drop the oversized CTA (kept in the hero + drawer),
       leaving a clean logo + hamburger with comfortable edge spacing */
    .header-actions .btn-gold { display: none; }
    .grid2, .triple, .bmi-grid, .up-grid { grid-template-columns: 1fr; }
    .triple { grid-template-columns: 1.2fr 1fr 1fr; }
    .bmi-grid { grid-template-columns: 1.2fr 1fr 1fr; }
    .up-grid { grid-template-columns: 1fr; }
    .opt-grid { grid-template-columns: 1fr; }
    .field select { padding-right: 30px; background-position: right 10px center; }
    .cred-grid { grid-template-columns: 1fr; }
    .hero-cta .btn, .cta-actions .btn { width: 100%; }
    .hero-fee { width: 100%; }
    /* centered, balanced footer on phones */
    .footer-top { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin-inline: auto; }
    .footer-soc { justify-content: center; }
    .footer-bottom { flex-direction: column; justify-content: center; text-align: center; gap: 10px; }
    .footer-legal { justify-content: center; width: 100%; }
    .review-row { flex-direction: column; gap: 2px; }
    .review-row .rr-k { width: auto; }
    /* stepper: hide labels, keep numbers as a compact rail */
    .stepper li .st-lbl { display: none; }
    .stepper li::before { top: 19px; }
    .stepper li .st-no { width: 32px; height: 32px; font-size: .85rem; }
    /* the header progress bar covers progress; the booking nav buttons handle actions,
       so the old sticky pay bar is retired. */
    .booking-mobilebar { display: none !important; }
    .booking-progress .bp-label { min-width: 0; }
    .wiz-nav .btn { flex: 1; justify-content: center; }
}
@media (max-width: 380px) {
    .triple, .bmi-grid { grid-template-columns: 1fr 1fr; }
    .triple > :first-child { grid-column: 1 / -1; }
    .booking-back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
}

/* ============================================================
   LEGAL PAGES (Privacy Policy / Terms of Service)
   ============================================================ */
.legal { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); }
.legal .site-header.scrolled { background: var(--card); }
.legal-main { flex: 1; width: 100%; max-width: 820px; padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(48px, 7vw, 88px); }
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--ink-2); margin-bottom: 28px; }
.legal-back:hover { color: var(--gold-deep); }
.legal-doc .eyebrow { margin-bottom: 16px; }
.legal-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); color: var(--ink); line-height: 1.04; margin-bottom: 8px; }
.legal-updated { font-size: .85rem; color: var(--muted); margin-bottom: 32px; }
.legal-doc h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 1.2rem + .9vw, 1.85rem); color: var(--ink); margin: 36px 0 12px; }
.legal-doc p { color: var(--ink-2); line-height: 1.72; margin-bottom: 14px; }
.legal-doc ul { color: var(--ink-2); line-height: 1.72; margin: 0 0 16px; padding-left: 22px; }
.legal-doc li { margin-bottom: 8px; }
.legal-doc strong { color: var(--ink); font-weight: 700; }
.legal-doc a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc a:hover { color: var(--ink); }
.legal-emphasis { background: var(--gold-tint); border: 1px solid var(--line-2); border-left: 3px solid var(--gold); border-radius: var(--r-sm); padding: 16px 18px; }
.legal-contact { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px 18px; }
.legal-disclaimer { display: flex; gap: 10px; align-items: flex-start; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.legal-disclaimer i { color: var(--gold-deep); margin-top: 3px; }
.legal-foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* bilingual block toggle (driven by <html data-lang>) */
.legal-es, html[data-lang="es"] .legal-en { display: none; }
html[data-lang="es"] .legal-es { display: block; }
.t-es, html[data-lang="es"] .t-en { display: none; }
html[data-lang="es"] .t-es { display: inline; }

/* footer legal links + consent-link styling */
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.footer-legal a { color: var(--gold-soft); }
.footer-legal a:hover { color: #fff; }
.footer-legal .sep { color: var(--on-dark-2); opacity: .5; }
.check a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.check a:hover { color: var(--ink); }

/* ============================================================
   CONSULTATIONS PAUSED — full-page notice (toggled from admin)
   ============================================================ */
.paused-overlay { display: none; position: fixed; inset: 0; z-index: 1000; background: var(--bg); overflow-y: auto; }
html.booking-paused .paused-overlay { display: flex; }
html.booking-paused body { overflow: hidden; }
.paused-inner { margin: auto; max-width: 640px; padding: clamp(40px, 8vw, 72px) 24px; text-align: center; }
.paused-logo { height: 44px; width: auto; margin: 0 auto clamp(28px, 5vw, 44px); }
.paused-h { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 1.4rem + 3vw, 3.2rem); line-height: 1.08; color: var(--ink); margin-bottom: 18px; }
.paused-p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.7; max-width: 520px; margin: 0 auto; }
.paused-div { width: 48px; height: 2px; background: var(--gold); margin: clamp(26px, 4vw, 36px) auto; }
.paused-urgent { font-size: .95rem; color: var(--ink-2); }
.paused-eyebrow { display: block; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 6px; }
.paused-locs { display: flex; gap: clamp(28px, 6vw, 56px); justify-content: center; flex-wrap: wrap; margin: clamp(28px, 5vw, 38px) 0; text-align: left; }
.pl-city { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.pl-addr { font-size: .9rem; color: var(--ink-2); line-height: 1.5; margin-bottom: 8px; }
.pl-phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--gold-deep); }
.pl-phone i { font-size: .82rem; }
.pl-phone:hover { color: var(--ink); }
.paused-foot { font-size: .8rem; color: var(--muted); margin-top: clamp(20px, 4vw, 30px); }
@media (max-width: 480px) { .paused-locs { gap: 24px; } .paused-loc { width: 100%; max-width: 280px; margin: 0 auto; } }
