/* ==========================================================================
   Shankar Jyoti Netralaya · Cataract landing page
   Palette follows the SJN brand: sky blue + slate grey, deep navy for drama.
   ========================================================================== */

:root {
    --sky: #1f9fd4;
    --sky-600: #1581b1;
    --sky-700: #0f6890;
    --sky-300: #8fd4f3;
    --sky-100: #d6eefa;
    --sky-50: #eef8fd;

    --navy: #0c2a3d;
    --navy-800: #0a2233;
    --navy-900: #061621;

    --ink: #0f2230;
    --body: #3b4d5a;
    --muted: #6a7b87;
    --line: #e1e9ef;
    --bg: #f6f9fb;
    --white: #ffffff;

    --amber: #e5a93b;
    --amber-50: #fff7e8;
    --amber-200: #f2dcae;

    /* Same pairing as the main SJN landing page: Poppins for Latin text and
       headings, Noto Sans Devanagari for Hindi. Hindi-led body copy puts
       Noto first, exactly like the main page's descriptions. */
    --font-sans: "Poppins", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Poppins", "Noto Sans Devanagari", system-ui, sans-serif;
    --font-hindi: "Noto Sans Devanagari", "Poppins", system-ui, sans-serif;

    --radius: 20px;
    --radius-lg: 28px;
    --shadow-sm: 0 1px 2px rgba(12, 42, 61, .06), 0 2px 8px rgba(12, 42, 61, .05);
    --shadow: 0 2px 6px rgba(12, 42, 61, .05), 0 18px 40px -12px rgba(12, 42, 61, .18);
    --shadow-lg: 0 30px 80px -24px rgba(6, 22, 33, .45);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    margin: 0;
    line-height: 1.25;
}

h2 {
    font-family: var(--font-display);
    /* 800 is reserved for the hero h1; Devanagari reads better a step lighter */
    font-weight: 600;
    font-size: clamp(1.7rem, 3.1vw, 2.5rem);
    line-height: 1.34;
    letter-spacing: -.02em;
    color: var(--navy);
}

h3 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -.01em;
}

/* Section headings sit half a step above 600. Poppins only ships static
   weights (600 then 700), so a hairline stroke in the text colour does it. */
h2,
h3 {
    -webkit-text-stroke: .014em currentColor;
}

.hero h1,
.faq-head h2,
.faq-list h3 {
    -webkit-text-stroke: 0;
}

p {
    margin: 0;
}

/* Hinglish body copy: Devanagari-first, like the main page's descriptions */
.section-lead,
.hero-lead,
.chart-note,
.tech-bracket,
.tech-lead,
.flow p,
.step p,
.lens-card p,
.lens-photo figcaption,
.book-lead,
.faq-list p,
.form-success p,
.f-foot,
.footer-disclaimer {
    font-family: var(--font-hindi);
}

.wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 104px 0;
}

.section-head {
    max-width: 720px;
    margin-bottom: 52px;
}

.section-head h2 {
    margin-top: 10px;
}

.section-lead {
    margin-top: 16px;
    font-size: 1.08rem;
    color: var(--muted);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sky-600);
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.eyebrow--light {
    color: var(--sky-300);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
    white-space: nowrap;
}

.btn i {
    font-size: .9em;
    transition: transform .25s var(--ease);
}

.btn:hover i.fa-arrow-right {
    transform: translateX(3px);
}

.btn-primary {
    background: linear-gradient(135deg, #27aee5 0%, var(--sky) 45%, var(--sky-600) 100%);
    color: #fff;
    box-shadow: 0 10px 24px -8px rgba(31, 159, 212, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -10px rgba(31, 159, 212, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.btn-glass {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, .18);
}

.btn-outline {
    border-color: var(--sky);
    color: var(--sky-700);
    background: #fff;
}

.btn-outline:hover {
    background: var(--sky-50);
}

.btn-sm {
    padding: 10px 18px;
    font-size: .88rem;
}

.btn-lg {
    padding: 16px 26px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
    position: fixed;
    top: 14px;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 0 16px;
    pointer-events: none;
}

.nav-inner {
    pointer-events: auto;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 8px 8px 8px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 10px 30px -12px rgba(6, 22, 33, .35);
    border: 1px solid rgba(255, 255, 255, .7);
    transition: box-shadow .3s, background .3s;
}

.nav.is-scrolled .nav-inner {
    box-shadow: 0 12px 34px -14px rgba(6, 22, 33, .3), 0 0 0 1px var(--line);
}

.nav-logo img {
    height: 42px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 4px;
    margin: 0 auto;
}

.nav-links a {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--body);
    text-decoration: none;
    transition: background .2s, color .2s;
}

.nav-links a:hover {
    background: var(--sky-50);
    color: var(--sky-700);
}

.nav-ctas {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    padding: 8px 10px;
}

.nav-call i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--sky-50);
    color: var(--sky-600);
    font-size: .8rem;
}

/* ==========================================================================
   HERO
   Light, full-bleed background: a hazy eye-chart pattern with one clear
   lens in the middle. Outside the lens looks the way a cataract makes things
   look; the copy sits inside the clear part. On load the haze opens up.
   ========================================================================== */
@property --clear {
    syntax: "<length>";
    inherits: true;
    initial-value: 0px;
}

.hero {
    --cx: 50%;
    /* lens centre; main.js lines it up with the copy block */
    --cy: 46%;
    --lens: clamp(600px, 58vw, 790px);
    /* diameter of the clear optic */
    --clear: calc(var(--lens) / 2);
    position: relative;
    min-height: max(700px, 100svh);
    display: flex;
    flex-direction: column;
    color: var(--body);
    background:
        radial-gradient(120% 80% at 50% 0%, #f8fcff 0%, rgba(248, 252, 255, 0) 60%),
        linear-gradient(165deg, #eef8fd 0%, #dff1fb 52%, #cde8f8 100%);
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hero-dots {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(31, 159, 212, .24) 1.5px, transparent 1.8px),
        repeating-linear-gradient(135deg, rgba(143, 212, 243, .09) 0 2px, transparent 2px 28px);
    background-size: 26px 26px, auto;
}

/* Placido-style rings, like the light rings an eye scan projects */
.hero-rings {
    position: absolute;
    left: var(--cx);
    top: var(--cy);
    width: 2400px;
    height: 2400px;
    transform: translate(-50%, -50%);
    background: repeating-radial-gradient(circle at center, transparent 0 40px, rgba(31, 159, 212, .2) 41px 42.5px, transparent 43.5px 46px);
    -webkit-mask-image: radial-gradient(circle at center, transparent calc(var(--lens) / 2), #000 calc(var(--lens) / 2 + 50px), #000 calc(var(--lens) / 2 + 200px), transparent calc(var(--lens) / 2 + 560px));
    mask-image: radial-gradient(circle at center, transparent calc(var(--lens) / 2), #000 calc(var(--lens) / 2 + 50px), #000 calc(var(--lens) / 2 + 200px), transparent calc(var(--lens) / 2 + 560px));
}

.hero-letter {
    position: absolute;
    left: var(--x);
    top: var(--y);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--s);
    line-height: 1;
    color: rgba(15, 104, 144, .24);
    transform: translate(-50%, -50%);
    animation: letterDrift 13s ease-in-out var(--d) infinite alternate;
}

@keyframes letterDrift {
    from {
        transform: translate(-50%, -50%) translateY(-12px) rotate(-5deg);
    }

    to {
        transform: translate(-50%, -50%) translateY(12px) rotate(5deg);
    }
}

/* The cataract haze: blurs everything outside the lens */
.hero-haze {
    position: absolute;
    inset: 0;
    background: rgba(238, 247, 253, .38);
    -webkit-backdrop-filter: blur(5px) saturate(.85);
    backdrop-filter: blur(5px) saturate(.85);
    -webkit-mask-image: radial-gradient(circle at var(--cx) var(--cy), transparent var(--clear), #000 calc(var(--clear) + 110px));
    mask-image: radial-gradient(circle at var(--cx) var(--cy), transparent var(--clear), #000 calc(var(--clear) + 110px));
    animation: hazeClear 1.8s .15s var(--ease) both;
}

@keyframes hazeClear {
    from {
        --clear: 0px;
    }
}

.hero-glow {
    position: absolute;
    left: var(--cx);
    top: var(--cy);
    width: var(--lens);
    height: var(--lens);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .72) 48%, rgba(255, 255, 255, .3) 88%, rgba(255, 255, 255, .5) 100%);
    box-shadow: 0 30px 80px -40px rgba(15, 104, 144, .35);
    animation: lensIn 1.5s .1s var(--ease) both;
}

.hero-lens {
    position: absolute;
    left: var(--cx);
    top: var(--cy);
    width: calc(var(--lens) * 1.383);
    height: calc(var(--lens) * 1.383);
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 14px rgba(31, 159, 212, .3));
    animation: lensIn 1.5s .1s var(--ease) both;
}

.hero-lens svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hero-lens-spin {
    animation: iolSpin 70s linear infinite;
}

@keyframes iolSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes lensIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.88);
    }
}

/* ---- copy ---- */
.hero-inner {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 116px;
    padding-bottom: 36px;
}

.hero-copy {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-copy>* {
    animation: heroUp .9s var(--ease) both;
}

.hero-copy>:nth-child(1) { animation-delay: .35s; }
.hero-copy>:nth-child(2) { animation-delay: .45s; }
.hero-copy>:nth-child(3) { animation-delay: .58s; }
.hero-copy>:nth-child(4) { animation-delay: .68s; }
.hero-copy>:nth-child(5) { animation-delay: .78s; }

@keyframes heroUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
}

.hero-flag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 14px 5px 5px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--sky-100);
    box-shadow: 0 8px 20px -10px rgba(12, 42, 61, .25);
    font-size: .84rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: border-color .25s, box-shadow .25s;
}

.hero-flag:hover {
    border-color: var(--sky-300);
    box-shadow: 0 10px 24px -10px rgba(31, 159, 212, .45);
}

.hero-flag i {
    font-size: .72rem;
    color: var(--sky-600);
    transition: transform .25s var(--ease);
}

.hero-flag:hover i {
    transform: translateX(3px);
}

.hero-flag-tag {
    flex: none;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f7d98a, var(--amber));
    color: #3b2700;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hero h1 {
    margin-top: 20px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.3rem, 5.3vw, 4.15rem);
    /* Devanagari needs room: the matra under दु on line one otherwise
       runs into the top of line two */
    line-height: 1.36;
    letter-spacing: -.02em;
    color: var(--navy);
}

.hero h1 .accent {
    position: relative;
    display: inline-block;
    /* background-clip:text only paints inside the box, and Devanagari
       matras, the anusvara and the nukta sit outside the line box.
       Pad the box so they get painted, then pull the layout back. */
    padding: .28em .08em .2em;
    margin: -.28em -.08em -.2em;
    color: var(--sky-600);
    background: linear-gradient(90deg, var(--sky-700), var(--sky) 55%, #3bbbec);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* hand-drawn underline that draws itself in */
.hero h1 .accent::after {
    content: "";
    position: absolute;
    left: calc(3% + .08em);
    right: calc(1% + .08em);
    bottom: .1em;
    height: .2em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M4 15 C 70 5, 190 1, 296 8' fill='none' stroke='%23e5a93b' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    clip-path: inset(0 100% 0 0);
    animation: swoosh .9s 1.15s var(--ease) forwards;
}

@keyframes swoosh {
    to {
        clip-path: inset(0 0 0 0);
    }
}

.hero h1 .sub-line {
    display: block;
    margin-top: 14px;
    font-size: clamp(1rem, 1.65vw, 1.28rem);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0;
    color: var(--body);
}

.hero h1 .sub-line b {
    font-weight: 700;
    color: var(--sky-700);
}

.hero-lead {
    margin-top: 10px;
    max-width: 560px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--sky-100);
    font-size: .84rem;
    font-weight: 600;
    color: var(--ink);
}

.hero-points i {
    font-size: .76rem;
    color: var(--sky);
}

/* ---- stats strip ---- */
.hero-stats-wrap {
    position: relative;
    padding-bottom: 28px;
    animation: heroUp .9s .9s var(--ease) both;
}

.hero-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 0;
    padding: 8px;
    list-style: none;
    border-radius: 26px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid #fff;
    box-shadow: 0 24px 60px -30px rgba(12, 42, 61, .38), 0 0 0 1px rgba(31, 159, 212, .08);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    backdrop-filter: blur(16px) saturate(1.2);
    overflow: hidden;
}

/* a soft shine that sweeps across now and then */
.hero-stats::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 36%;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .95) 50%, rgba(255, 255, 255, 0));
    transform: translateX(-130%) skewX(-14deg);
    animation: statShine 8s 2.2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes statShine {
    0% {
        transform: translateX(-130%) skewX(-14deg);
    }

    20%,
    100% {
        transform: translateX(340%) skewX(-14deg);
    }
}

.hs {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 20px;
    transition: background .3s, box-shadow .3s, transform .3s var(--ease);
}

.hs:hover {
    background: #fff;
    box-shadow: 0 12px 28px -16px rgba(12, 42, 61, .35);
    transform: translateY(-2px);
}

.hs+.hs::before {
    content: "";
    position: absolute;
    left: -3px;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: linear-gradient(rgba(31, 159, 212, 0), rgba(31, 159, 212, .25), rgba(31, 159, 212, 0));
}

.hs-ico {
    position: relative;
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #fff, var(--sky-50));
    border: 1px solid var(--sky-100);
    color: var(--sky-600);
    font-size: 1.15rem;
    box-shadow: 0 8px 16px -10px rgba(31, 159, 212, .55);
}

.hs-txt {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hs strong {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
}

.hs-label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px 8px;
    margin-top: 3px;
    font-size: .8rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--muted);
}

/* patients: an eye that blinks, with ripples around it */
.hs-ico--pulse::before,
.hs-ico--pulse::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    border: 1.5px solid var(--sky-300);
    animation: halo 2.8s ease-out infinite;
}

.hs-ico--pulse::after {
    animation-delay: 1.4s;
}

@keyframes halo {
    from {
        transform: scale(1);
        opacity: .9;
    }

    to {
        transform: scale(1.5);
        opacity: 0;
    }
}

.hs-ico--pulse i {
    animation: blink 5s ease-in-out infinite;
}

@keyframes blink {

    0%,
    92%,
    100% {
        transform: scaleY(1);
    }

    95% {
        transform: scaleY(.1);
    }
}

/* surgeries: a tiny lens implant, slowly turning */
.hs-ico--iol svg {
    width: 38px;
    height: 38px;
    overflow: visible;
}

.hs-ico--iol path,
.hs-ico--iol circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 13;
    stroke-linecap: round;
}

.hs-ico--iol circle {
    fill: rgba(143, 212, 243, .35);
}

.hs-iol-spin {
    animation: iolSpin 9s linear infinite;
}

/* reviews: the Google "G" in its own colours, stars popping in */
.hs-ico--google i {
    font-size: 1.35rem;
    background: conic-gradient(from -45deg, #ea4335 0 25%, #4285f4 0 50%, #34a853 0 75%, #fbbc05 0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hs-stars {
    display: inline-flex;
    gap: 1px;
    font-size: .6rem;
    color: var(--amber);
}

.hs-stars i {
    animation: starPop .45s calc(1.4s + var(--i) * .12s) var(--ease) both;
}

@keyframes starPop {
    from {
        opacity: 0;
        transform: scale(.2) rotate(-50deg);
    }
}

/* satisfaction: a ring that fills to 98% */
.hs-ico--ring {
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: #ef5d73;
}

.hs-ico--ring svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.hs-ring-track,
.hs-ring-bar {
    fill: none;
    stroke-width: 4;
}

.hs-ring-track {
    stroke: var(--sky-100);
}

.hs-ring-bar {
    stroke: var(--sky);
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: calc(100 - var(--p));
    animation: ringFill 1.8s 1.1s var(--ease) both;
}

@keyframes ringFill {
    from {
        stroke-dashoffset: 100;
    }
}

.hs-ico--ring i {
    font-size: 1rem;
    animation: beat 2.4s ease-in-out 3s infinite;
}

@keyframes beat {

    0%,
    30%,
    100% {
        transform: scale(1);
    }

    12% {
        transform: scale(1.22);
    }

    20% {
        transform: scale(.95);
    }
}

/* ==========================================================================
   SIGNS + EYE CHART
   ========================================================================== */
.signs {
    background:
        radial-gradient(900px 400px at 100% 0%, var(--sky-50), transparent 70%),
        var(--white);
}

.signs-head {
    margin-bottom: 40px;
}

.signs-grid {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: 48px;
    /* the chart card stretches to the tile column, so neither side
       leaves a block of empty space */
    align-items: stretch;
}


.signs-check {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* symptom tiles: a small picture of the symptom, a few words, tap to tick */
.sign-tiles {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.sign-tile {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 8px 12px;
    border-radius: 18px;
    border: 1.5px solid var(--line);
    background: #fff;
    font: inherit;
    font-family: var(--font-hindi);
    font-size: .88rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: border-color .2s, background .2s, transform .25s var(--ease), box-shadow .25s var(--ease);
}

.sign-tile:hover {
    border-color: var(--sky-300);
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -18px rgba(12, 42, 61, .45);
}

.sign-tile:focus-visible {
    outline: 3px solid var(--sky-300);
    outline-offset: 2px;
}

.sign-art {
    display: block;
    aspect-ratio: 3 / 2;
    border-radius: 12px;
    overflow: hidden;
}

.sign-art svg {
    display: block;
    width: 100%;
    height: 100%;
}

.sign-txt {
    padding: 0 4px;
}

.sign-tile .tick {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 1;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1.5px solid #c5d3dd;
    font-size: .66rem;
    color: transparent;
    box-shadow: 0 2px 6px rgba(12, 42, 61, .15);
    transition: background .2s, border-color .2s, color .2s, transform .3s var(--ease);
}

.sign-tile[aria-pressed="true"] {
    border-color: var(--sky);
    background: var(--sky-50);
    box-shadow: 0 0 0 3px rgba(31, 159, 212, .14);
}

.sign-tile[aria-pressed="true"] .tick {
    background: var(--sky);
    border-color: var(--sky);
    color: #fff;
    transform: scale(1.12);
}

/* little hover moments in the pictures */
.sg-glare,
.sg-ghost,
.sg-beam {
    transition: transform .5s var(--ease), opacity .5s;
}

.sg-glare {
    transform-origin: 60px 40px;
}

.sign-tile:hover .sg-glare {
    transform: scale(1.18);
}

.sign-tile:hover .sg-ghost {
    transform: translate(6px, -3px);
}

.sign-tile:hover .sg-beam {
    opacity: .9;
}

/* result: an eye that clouds over as more boxes are ticked */
.sign-meter {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--bg);
    border: 1px solid var(--line);
    transition: background .3s, border-color .3s;
}

.sign-meter.is-mild {
    background: var(--sky-50);
    border-color: var(--sky-100);
}

.sign-meter.is-warn {
    background: var(--amber-50);
    border-color: var(--amber-200);
}

.meter-eye {
    flex: none;
    width: 76px;
    height: auto;
}

.meter-cloud {
    opacity: calc(var(--n) / 6 * .95);
    transition: opacity .5s var(--ease);
}

.meter-body {
    flex: 1;
    min-width: 0;
}

.meter-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.meter-count {
    font-size: .8rem;
    font-weight: 600;
    color: var(--muted);
}

.meter-count b {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
}

.meter-dots {
    display: flex;
    gap: 4px;
}

.meter-dots i {
    width: 18px;
    height: 6px;
    border-radius: 3px;
    background: #d5e1e8;
    transition: background .3s;
}

.meter-dots i.on {
    background: var(--sky);
}

.is-warn .meter-dots i.on {
    background: var(--amber);
}

.meter-msg {
    margin-top: 3px;
    font-family: var(--font-hindi);
    font-size: .9rem;
    line-height: 1.5;
    color: var(--ink);
}

.meter-cta {
    flex: none;
    display: none;
}

.sign-meter.is-warn .meter-cta {
    display: inline-flex;
}

.chart-card {
    display: flex;
    flex-direction: column;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.chart-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
}

.chart-tag--cloudy {
    background: var(--amber-50);
    color: #8a5a00;
}

.chart-tag--clear {
    background: var(--sky-50);
    color: var(--sky-700);
}

.chart {
    position: relative;
    flex: 1;
    min-height: 330px;
    border-radius: 18px;
    overflow: hidden;
    background: #fffdf9;
    user-select: none;
    --pos: 52%;
}

.chart-layer {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.chart-layer--cloudy {
    background: #f4e9cd;
}

.chart-layer--cloudy .chart-sheet {
    filter: blur(2.6px) contrast(.5) sepia(.6) brightness(1.08);
    opacity: .9;
}

.chart-layer--cloudy::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 25%, rgba(255, 250, 235, .75), rgba(255, 250, 235, 0) 45%),
        radial-gradient(circle at 25% 80%, rgba(255, 245, 220, .5), rgba(255, 245, 220, 0) 40%);
    pointer-events: none;
}

.chart-layer--clear {
    background: #fffefb;
    clip-path: inset(0 0 0 var(--pos));
    -webkit-clip-path: inset(0 0 0 var(--pos));
}

.chart-sheet {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #101820;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.chart-sheet span {
    display: block;
    letter-spacing: .32em;
    margin-right: -.32em;
}

.chart-sheet .l1 { font-size: clamp(3.2rem, 7vw, 4.4rem); }
.chart-sheet .l2 { font-size: clamp(2rem, 4.4vw, 2.75rem); }
.chart-sheet .l3 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
.chart-sheet .l4 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
.chart-sheet .l5 { font-size: clamp(1rem, 2.2vw, 1.3rem); }
.chart-sheet .l6 { font-size: clamp(.82rem, 1.7vw, 1rem); }
.chart-sheet .l7 { font-size: clamp(.68rem, 1.3vw, .8rem); }

.chart-sheet .l8 {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(16, 24, 32, .2);
    font-size: clamp(.95rem, 1.9vw, 1.1rem);
    font-weight: 600;
    letter-spacing: 0;
    margin-right: 0;
}

.chart-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 2px;
    margin-left: -1px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(15, 34, 48, .12), 0 0 14px rgba(31, 159, 212, .5);
    pointer-events: none;
}

.chart-handle span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--sky-600);
    box-shadow: 0 6px 18px rgba(12, 42, 61, .25), 0 0 0 4px rgba(31, 159, 212, .18);
}

.chart input[type="range"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    -webkit-appearance: none;
    appearance: none;
}

.chart input[type="range"]:focus-visible+.chart-handle,
.chart:focus-within .chart-handle span {
    outline: 3px solid var(--sky-300);
}

.chart-note {
    margin-top: 12px;
    font-size: .85rem;
    color: var(--muted);
    text-align: center;
}

/* Myth vs fact as a picture: four lenses from clear to fully ripe,
   with the right moment for surgery marked on the way */
.ripe {
    margin-top: 56px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-areas: "copy track" "cta track";
    gap: 18px 36px;
    align-items: center;
    padding: 32px 36px;
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, var(--amber-50), #fffdf8 55%, #f5fbfe);
    border: 1px solid var(--amber-200);
}

.myth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .8rem;
    font-weight: 600;
    color: #9a6500;
}

.myth-kicker i {
    color: #d9534f;
}

.ripe-copy h3 {
    margin-top: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.45rem;
    line-height: 1.35;
    letter-spacing: -.01em;
}

.ripe-copy p:not(.myth-kicker) {
    margin-top: 8px;
    font-family: var(--font-hindi);
    color: var(--body);
}

.ripe-copy {
    grid-area: copy;
    align-self: end;
}

.ripe-cta {
    grid-area: cta;
    justify-self: start;
    align-self: start;
}

.ripe-track {
    grid-area: track;
}

.ripe-track {
    position: relative;
    margin: 0;
    padding: 34px 0 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

/* the line the lenses sit on, clear blue fading to ripe amber */
.ripe-track::before {
    content: "";
    position: absolute;
    top: calc(34px + 34px);
    left: 12.5%;
    right: 12.5%;
    height: 4px;
    margin-top: -2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--sky-300), var(--sky) 55%, var(--amber) 80%, #c98a2a);
}

.ripe-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.ripe-lens {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 8px 18px -8px rgba(12, 42, 61, .35), 0 0 0 1px rgba(12, 42, 61, .08);
    background: radial-gradient(circle at 35% 32%, #fff 0 10%, transparent 11%), radial-gradient(circle, #2b1a0e 0 30%, #6b4528 31% 70%, #3a2414 71%);
}

/* cloud inside the pupil, thicker at each stage */
.ripe-lens::after {
    content: "";
    position: absolute;
    inset: 15%;
    border-radius: 50%;
    opacity: 0;
}

.ripe-lens--1::after {
    opacity: .45;
    background: radial-gradient(circle at 40% 40%, #fff 0 18%, rgba(255, 255, 255, .2) 40%, transparent 62%);
}

.ripe-lens--2::after {
    opacity: .8;
    background: radial-gradient(circle, #f7efd9 0 30%, rgba(240, 225, 185, .65) 55%, transparent 70%);
}

.ripe-lens--3::after {
    inset: 10%;
    opacity: 1;
    background: radial-gradient(circle, #fffdf4 0 40%, #efe0b8 62%, rgba(214, 190, 140, .7) 72%, transparent 74%);
}

.ripe-name {
    max-width: 120px;
    font-family: var(--font-hindi);
    font-size: .84rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
}

.ripe-pin {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 600;
    white-space: nowrap;
}

.ripe-pin::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    transform: rotate(45deg);
    background: inherit;
}

.is-best .ripe-pin {
    background: var(--sky);
    color: #fff;
    box-shadow: 0 8px 18px -8px rgba(31, 159, 212, .8);
}

.is-best .ripe-lens {
    box-shadow: 0 0 0 5px rgba(31, 159, 212, .25), 0 10px 22px -8px rgba(31, 159, 212, .7);
    animation: bestPulse 2.6s ease-in-out infinite;
}

@keyframes bestPulse {
    50% {
        box-shadow: 0 0 0 10px rgba(31, 159, 212, .08), 0 10px 22px -8px rgba(31, 159, 212, .7);
    }
}

.is-best .ripe-name {
    font-weight: 600;
    color: var(--sky-700);
}

.is-late .ripe-pin {
    position: static;
    order: 3;
    margin-top: -4px;
    transform: none;
    background: #fdecea;
    color: #a73a35;
}

.is-late .ripe-pin::after {
    display: none;
}

.is-late .ripe-name {
    color: var(--muted);
}

/* ==========================================================================
   TECHNOLOGY
   ========================================================================== */
.tech {
    position: relative;
    padding: 110px 0 120px;
    color: rgba(232, 243, 249, .82);
    background:
        radial-gradient(1100px 600px at 50% -10%, #134766 0%, rgba(19, 71, 102, 0) 70%),
        linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
    overflow: hidden;
    isolation: isolate;
}

.tech-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(143, 212, 243, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(143, 212, 243, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}

.tech h2,
.tech h3 {
    color: #fff;
}

.tech-head {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.first-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f7da8f, var(--amber) 60%, #f7da8f);
    background-size: 200% 100%;
    color: #3b2700;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px -8px rgba(229, 169, 59, .55);
    animation: badgeShine 4.5s ease-in-out infinite;
}

@keyframes badgeShine {
    0%, 100% { background-position: 0% 0; }
    50% { background-position: 100% 0; }
}

.tech-head h2 {
    margin-top: 22px;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    line-height: 1.3;
}

.tech-head h2 span {
    background: linear-gradient(90deg, var(--sky-300), #fff 50%, var(--sky-300));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textSweep 6s linear infinite;
}

@keyframes textSweep {
    to { background-position: -200% 0; }
}

.tech-bracket {
    margin-top: 14px;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    font-weight: 500;
    color: var(--sky-300);
}

.tech-lead {
    max-width: 760px;
    margin: 20px auto 0;
    font-size: 1.06rem;
}

/* 3D stage */
.stage {
    position: relative;
    margin-top: 52px;
    height: clamp(440px, 52vw, 640px);
    border-radius: 32px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 55% at 50% 70%, rgba(31, 159, 212, .16), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .005));
    border: 1px solid rgba(143, 212, 243, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 100px -40px rgba(0, 0, 0, .6);
}

.stage canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    touch-action: pan-y;
    cursor: grab;
    opacity: 0;
    transition: opacity .9s ease;
}

.stage.is-ready canvas {
    opacity: 1;
}

.stage canvas:active {
    cursor: grabbing;
}

.stage-room {
    position: absolute;
    top: 22px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(232, 243, 249, .6);
    pointer-events: none;
}

.stage-room::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sky);
    box-shadow: 0 0 10px var(--sky);
}

.stage-room--left { left: 26px; }
.stage-room--right { right: 26px; }

.stage-label {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 14px;
    /* solid-ish instead of backdrop-filter: these move every frame over the
       WebGL canvas, and a live blur behind them is expensive on weak GPUs */
    background: rgba(6, 22, 33, .84);
    border: 1px solid rgba(143, 212, 243, .25);
    pointer-events: none;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .6s ease;
    will-change: transform;
}

.stage.is-ready .stage-label {
    opacity: 1;
}

.stage-label strong {
    font-size: .92rem;
    color: #fff;
}

.stage-label span {
    font-size: .75rem;
    color: rgba(232, 243, 249, .7);
}

.stage-label::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 12px;
    height: 12px;
    transform: translateX(-50%) rotate(45deg);
    background: rgba(6, 22, 33, .75);
    border-right: 1px solid rgba(143, 212, 243, .25);
    border-bottom: 1px solid rgba(143, 212, 243, .25);
}

.stage-label--beam {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    color: #fff;
    background: rgba(12, 58, 84, .9);
    border-color: rgba(143, 212, 243, .45);
}

.stage-label--beam::after {
    display: none;
}

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sky-300);
    box-shadow: 0 0 0 0 rgba(143, 212, 243, .7);
    animation: pulse 1.6s ease-out infinite;
}

@keyframes pulse {
    to { box-shadow: 0 0 0 10px rgba(143, 212, 243, 0); }
}

.stage-hint {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 2;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    color: rgba(232, 243, 249, .7);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    pointer-events: none;
    transition: opacity .5s;
}

.stage.was-dragged .stage-hint {
    opacity: 0;
}

.stage-fallback {
    display: none;
}

.stage.no-3d canvas,
.stage.no-3d .stage-label,
.stage.no-3d .stage-hint {
    display: none;
}

.stage.no-3d {
    height: auto;
}

.stage.no-3d .stage-fallback {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 70px 28px 28px;
}

.stage-fallback img {
    width: 100%;
    border-radius: 18px;
}

.fallback-link {
    color: var(--sky-300);
    font-size: 1.4rem;
    animation: nudge 1.4s ease-in-out infinite;
}

@keyframes nudge {
    50% { transform: translateX(6px); }
}

/* Flow steps */
.flow {
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    counter-reset: flow;
}

.flow li {
    position: relative;
    padding: 28px 26px 26px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .09);
}

.flow li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 52px;
    right: -18px;
    width: 18px;
    height: 2px;
    background: linear-gradient(90deg, rgba(143, 212, 243, .1), var(--sky-300));
}

.flow-num {
    position: absolute;
    top: 18px;
    right: 22px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.4rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(143, 212, 243, .35);
}

.flow-ico {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(31, 159, 212, .16);
    border: 1px solid rgba(143, 212, 243, .3);
    color: var(--sky-300);
    font-size: 1.1rem;
}

.flow h3 {
    margin-top: 18px;
    font-size: 1.12rem;
}

.flow p {
    margin-top: 8px;
    font-size: .95rem;
    color: rgba(232, 243, 249, .72);
}

.tech-bottom {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 18px;
}

.tech-wins {
    padding: 30px 28px;
    border-radius: 22px;
    background: linear-gradient(140deg, rgba(31, 159, 212, .22), rgba(31, 159, 212, .06));
    border: 1px solid rgba(143, 212, 243, .28);
}

.tech-wins h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.35rem;
}

.tech-wins ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.tech-wins li {
    display: flex;
    gap: 12px;
    font-size: .98rem;
    color: rgba(255, 255, 255, .9);
}

.tech-wins li i {
    margin-top: 5px;
    color: var(--sky-300);
}

.tech-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.tech-photos figure {
    position: relative;
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    min-height: 220px;
}

.tech-photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.tech-photos figure:hover img {
    transform: scale(1.04);
}

.tech-photos figcaption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(6, 22, 33, .7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: .78rem;
    font-weight: 600;
    color: #fff;
}

/* ==========================================================================
   JOURNEY + LENSES
   ========================================================================== */
.journey {
    background: var(--bg);
}

.steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    position: relative;
}

.steps::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 30px;
    right: 30px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--sky-300) 0 8px, transparent 8px 16px);
    opacity: .7;
}

.step {
    position: relative;
}

.step-num {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    border: 2px solid var(--sky);
    color: var(--sky-700);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 0 0 6px var(--bg);
}

.step h3 {
    margin-top: 20px;
}

.step p {
    margin-top: 8px;
    font-size: .95rem;
}

.lens-block {
    margin-top: 72px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
    align-items: stretch;
}

.lens-photo {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 380px;
    box-shadow: var(--shadow);
}

.lens-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lens-photo figcaption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink);
}

.lens-photo figcaption i {
    color: var(--sky);
}

.lens-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lens-options>h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -.01em;
    margin-bottom: 6px;
}

.lens-card {
    display: flex;
    gap: 18px;
    padding: 20px 22px;
    border-radius: 20px;
    background: #fff;
    border: 1.5px solid var(--line);
    transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}

.lens-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.lens-card h4 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 1.08rem;
    font-weight: 700;
}

.lens-card p {
    margin-top: 6px;
    font-size: .94rem;
}

.lens-card--hl {
    border-color: var(--sky);
    background: linear-gradient(120deg, var(--sky-50), #fff 70%);
}

.lens-pill {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--sky);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.lens-ico {
    position: relative;
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--sky);
    background: radial-gradient(circle, #fff 0 52%, var(--sky-50) 53%);
}

.lens-ico::before,
.lens-ico::after {
    content: "";
    position: absolute;
}

.lens-ico--mono::before {
    inset: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff, var(--sky-100));
}

.lens-ico--toric::before {
    left: -7px;
    right: -7px;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    background: var(--sky-700);
    transform: rotate(-32deg);
}

.lens-ico--toric::after {
    inset: 14px;
    border-radius: 50%;
    border: 2px dashed var(--sky-300);
}

.lens-ico--multi {
    background: repeating-radial-gradient(circle, var(--sky-100) 0 3px, #fff 3px 6px);
}

/* ==========================================================================
   SURGEONS
   ========================================================================== */
/* Carousel: a native scroll-snap track, so swipe works on phones with
   no library. The track is padded (and pulled back with negative margins)
   so card shadows and the hover lift are not clipped by the overflow. */
.doc-carousel {
    --per: 3;
    --gap: 22px;
}

.doc-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
    gap: var(--gap);
    /* 20px sideways, just under the 22px gap, so the next card stays
       hidden on desktop instead of showing a sliver at the edge */
    margin: -14px -20px -30px;
    padding: 14px 20px 30px;
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.doc-track::-webkit-scrollbar {
    display: none;
}

.doc-slide {
    display: flex;
    scroll-snap-align: start;
}

.doc-controls {
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.doc-arrow {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    background: #fff;
    color: var(--navy);
    font-size: .95rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background .2s, color .2s, border-color .2s, opacity .2s, transform .2s var(--ease);
}

.doc-arrow:hover:not(:disabled) {
    background: var(--sky);
    border-color: var(--sky);
    color: #fff;
    transform: translateY(-2px);
}

.doc-arrow:disabled {
    opacity: .35;
    cursor: default;
    box-shadow: none;
}

.doc-arrow:focus-visible,
.doc-dots button:focus-visible {
    outline: 3px solid var(--sky-300);
    outline-offset: 2px;
}

.doc-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.doc-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--line);
    cursor: pointer;
    transition: width .3s var(--ease), background .3s;
}

.doc-dots button[aria-selected="true"] {
    width: 28px;
    background: var(--sky);
}

.doc-card {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.doc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.doc-photo {
    aspect-ratio: 1 / .92;
    overflow: hidden;
    background: #6b4b35;
}

.doc-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%;
    transition: transform .8s var(--ease);
}

.doc-card:hover .doc-photo img {
    transform: scale(1.04);
}

.doc-body {
    padding: 22px 22px 24px;
}

.doc-role {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sky-600);
}

.doc-body h3 {
    margin-top: 6px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
}

.doc-quals {
    margin-top: 6px;
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.5;
}

.doc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.doc-tags li {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--sky-50);
    color: var(--sky-700);
    font-size: .78rem;
    font-weight: 600;
}

/* ==========================================================================
   BOOKING
   ========================================================================== */
.book {
    position: relative;
    background:
        radial-gradient(800px 500px at 0% 100%, rgba(31, 159, 212, .22), transparent 70%),
        radial-gradient(700px 400px at 100% 0%, rgba(31, 159, 212, .14), transparent 70%),
        var(--navy);
    color: rgba(232, 243, 249, .8);
}

.book-grid {
    display: grid;
    grid-template-columns: 1fr 1.02fr;
    gap: 64px;
    align-items: center;
}

.book-info h2 {
    margin-top: 10px;
    color: #fff;
}

.book-lead {
    margin-top: 16px;
    font-size: 1.06rem;
    max-width: 480px;
}

.book-points {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.book-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #fff;
}

.book-points i {
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(31, 159, 212, .2);
    color: var(--sky-300);
    font-size: .85rem;
}

.book-contact {
    margin-top: 30px;
    display: grid;
    gap: 2px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 22px;
}

.book-contact>* {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 8px 0;
    text-decoration: none;
    font-size: .9rem;
}

.book-contact i {
    width: 18px;
    margin-top: 4px;
    color: var(--sky-300);
}

.book-contact b {
    display: block;
    color: #fff;
    font-size: .95rem;
}

.book-contact a:hover b {
    color: var(--sky-300);
}

.google-badge {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    font-size: .88rem;
    box-shadow: var(--shadow);
}

.google-badge .fa-google {
    color: #4285f4;
    font-size: 1.1rem;
}

.google-badge .stars {
    color: #f4b400;
    font-size: .75rem;
    letter-spacing: 1px;
}

/* Form card */
.form-card {
    position: relative;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-lg);
    color: var(--body);
}

.form-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.form-top h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: -.01em;
}

.form-chip {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--sky-50);
    color: var(--sky-700);
    font-size: .75rem;
    font-weight: 700;
}

#bookForm {
    display: grid;
    gap: 16px;
}

.f-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.f-field {
    display: block;
    min-width: 0;
}

.f-label {
    display: block;
    margin-bottom: 7px;
    padding: 0;
    font-size: .8rem;
    font-weight: 700;
    color: var(--ink);
}

.f-label small {
    font-weight: 500;
    color: var(--muted);
    margin-left: 4px;
}

.f-group {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.f-field input,
.f-field select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: #f8fbfd;
    font: inherit;
    font-size: .95rem;
    color: var(--ink);
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.f-field input::placeholder {
    color: #9aa9b4;
}

.f-field input:focus,
.f-field select:focus,
.f-phone:focus-within {
    border-color: var(--sky);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(31, 159, 212, .14);
}

.f-field.is-invalid input,
.f-field.is-invalid .f-phone,
.f-field.is-invalid select {
    border-color: #d9534f;
    box-shadow: 0 0 0 4px rgba(217, 83, 79, .12);
}

.f-phone {
    display: flex;
    align-items: center;
    height: 48px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: #f8fbfd;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.f-phone b {
    padding: 0 10px 0 14px;
    font-size: .92rem;
    color: var(--muted);
    border-right: 1px solid var(--line);
    line-height: 26px;
}

.f-field .f-phone input {
    height: 100%;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding-left: 10px;
}

.f-select {
    position: relative;
    display: block;
}

.f-select select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.f-select i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: .75rem;
    color: var(--muted);
    pointer-events: none;
}

/* ---- select2: time slot ---- */
.f-select.has-s2 i.fa-chevron-down {
    z-index: 2;
    transition: transform .25s var(--ease), color .2s;
}

.f-select.is-open i.fa-chevron-down {
    transform: translateY(-50%) rotate(180deg);
    color: var(--sky-600);
}

.f-select .select2-container {
    display: block;
    font-family: var(--font-sans);
}

.f-select .select2-container--default .select2-selection--single {
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 40px 0 14px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: #f8fbfd;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.f-select .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0;
    line-height: 1.3;
    font-size: .95rem;
    font-weight: 500;
    color: var(--ink);
}

.f-select .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}

.f-select .select2-container--focus .select2-selection--single,
.f-select .select2-container--open .select2-selection--single {
    border-color: var(--sky);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(31, 159, 212, .14);
}

.f-select .select2-container--open .select2-selection--single {
    border-radius: 12px;
}

.f-field.is-invalid .select2-selection--single {
    border-color: #d9534f !important;
    box-shadow: 0 0 0 4px rgba(217, 83, 79, .12) !important;
}

.s2-time {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.s2-time i {
    position: static !important;
    transform: none !important;
    font-size: .85rem !important;
    color: var(--sky) !important;
}

/* dropdown: times laid out as a grid of pills under Morning / Afternoon / Evening */
.select2-dropdown.sjn-s2 {
    margin-top: 6px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 50px -20px rgba(6, 22, 33, .4);
    overflow: hidden;
    font-family: var(--font-sans);
}

.select2-dropdown.sjn-s2.select2-dropdown--above {
    margin-top: -6px;
}

.select2-container--default .sjn-s2 .select2-results > .select2-results__options {
    max-height: 272px;
    padding: 6px 12px 12px;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--sky-100) transparent;
}

.sjn-s2 .select2-results__option--group {
    padding: 0;
}

.sjn-s2 .select2-results__group {
    padding: 10px 2px 8px !important;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.sjn-s2 .select2-results__options--nested {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.select2-container--default .sjn-s2 .select2-results__options--nested .select2-results__option {
    padding: 9px 4px;
    border-radius: 10px;
    border: 1.5px solid var(--line);
    background: #fff;
    text-align: center;
    font-size: .86rem;
    font-weight: 600;
    color: var(--ink);
    transition: border-color .15s, background .15s, color .15s;
}

.select2-container--default .sjn-s2 .select2-results__option--highlighted.select2-results__option--selectable {
    border-color: var(--sky-300);
    background: var(--sky-50);
    color: var(--sky-700);
}

.select2-container--default .sjn-s2 .select2-results__option--selected,
.select2-container--default .sjn-s2 .select2-results__option--selected.select2-results__option--highlighted {
    border-color: var(--sky);
    background: var(--sky);
    color: #fff;
    box-shadow: 0 6px 14px -6px rgba(31, 159, 212, .8);
}

/* ---- flatpickr: "Other" date ---- */
.flatpickr-calendar.sjn-fp {
    font-family: var(--font-sans);
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--line), 0 28px 60px -22px rgba(6, 22, 33, .45);
    overflow: hidden;
}

.flatpickr-calendar.sjn-fp.open {
    animation: fpIn .25s var(--ease);
}

@keyframes fpIn {
    from { opacity: 0; transform: translateY(-6px); }
}

.flatpickr-calendar.sjn-fp::before,
.flatpickr-calendar.sjn-fp::after {
    display: none;
}

.sjn-fp .flatpickr-months {
    padding: 6px 4px 2px;
    background: var(--sky-50);
}

.sjn-fp .flatpickr-months .flatpickr-month {
    height: 40px;
    color: var(--navy);
    fill: var(--navy);
}

.sjn-fp .flatpickr-current-month {
    padding-top: 8px;
    font-size: 1rem;
    font-weight: 600;
}

.sjn-fp .flatpickr-current-month span.cur-month {
    font-weight: 600;
}

.sjn-fp .flatpickr-current-month .numInputWrapper span {
    display: none;
}

.sjn-fp .flatpickr-current-month input.cur-year {
    font-weight: 600;
    color: var(--sky-700);
    pointer-events: none;
}

.sjn-fp .flatpickr-months .flatpickr-prev-month,
.sjn-fp .flatpickr-months .flatpickr-next-month {
    top: 10px;
    height: 32px;
    width: 32px;
    padding: 0;
    margin: 0 8px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--sky-600);
    font-size: .75rem;
    background: #fff;
    box-shadow: 0 2px 6px rgba(12, 42, 61, .1);
    transition: background .2s, color .2s;
}

.sjn-fp .flatpickr-months .flatpickr-prev-month:hover,
.sjn-fp .flatpickr-months .flatpickr-next-month:hover {
    background: var(--sky);
    color: #fff;
}

.sjn-fp .flatpickr-months .flatpickr-disabled {
    opacity: .3;
    pointer-events: none;
}

.sjn-fp .flatpickr-weekdays {
    height: 34px;
    background: var(--sky-50);
}

.sjn-fp span.flatpickr-weekday {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    background: transparent;
}

.sjn-fp .flatpickr-innerContainer {
    padding-top: 6px;
}

.sjn-fp .flatpickr-day {
    height: 38px;
    line-height: 36px;
    margin-top: 2px;
    border-radius: 11px;
    border: 1.5px solid transparent;
    font-size: .88rem;
    font-weight: 500;
    color: var(--ink);
}

.sjn-fp .flatpickr-day:hover,
.sjn-fp .flatpickr-day:focus {
    background: var(--sky-50);
    border-color: var(--sky-100);
}

.sjn-fp .flatpickr-day.today {
    border-color: var(--sky-300);
    color: var(--sky-700);
    font-weight: 700;
}

.sjn-fp .flatpickr-day.today:hover {
    background: var(--sky-50);
    color: var(--sky-700);
}

.sjn-fp .flatpickr-day.selected,
.sjn-fp .flatpickr-day.selected:hover,
.sjn-fp .flatpickr-day.selected:focus {
    background: var(--sky);
    border-color: var(--sky);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 8px 16px -8px rgba(31, 159, 212, .9);
}

.sjn-fp .flatpickr-day.flatpickr-disabled,
.sjn-fp .flatpickr-day.flatpickr-disabled:hover {
    color: #c6d1d9;
    background: transparent;
    border-color: transparent;
}

.sjn-fp .flatpickr-day.prevMonthDay,
.sjn-fp .flatpickr-day.nextMonthDay {
    color: #b4c1ca;
}

.day-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    /* overflow clips box-shadows, so leave room for the selected chip's
       glow (it reaches about 10px sideways and 18px down) */
    padding: 4px 12px 20px;
    margin: -4px -12px -14px;
    scroll-padding-inline: 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.day-chips::-webkit-scrollbar {
    display: none;
}

.day-chip {
    flex: none;
    min-width: 62px;
    padding: 8px 8px 7px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: #fff;
    font: inherit;
    text-align: center;
    cursor: pointer;
    scroll-snap-align: start;
    transition: border-color .2s, background .2s, color .2s, transform .2s var(--ease);
}

.day-chip:hover {
    border-color: var(--sky-300);
}

.day-chip small {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}

.day-chip b {
    display: block;
    margin-top: 1px;
    font-size: 1.05rem;
    color: var(--ink);
}

.day-chip[aria-checked="true"] {
    border-color: var(--sky);
    background: var(--sky);
    box-shadow: 0 8px 18px -8px rgba(31, 159, 212, .8);
}

.day-chip[aria-checked="true"] small,
.day-chip[aria-checked="true"] b {
    color: #fff;
}

.day-chip--other b {
    font-size: .95rem;
}

.concern-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.concern-chips button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: #fff;
    font: inherit;
    font-size: .82rem;
    font-weight: 600;
    color: var(--body);
    cursor: pointer;
    transition: all .2s;
}

.concern-chips button::before {
    content: "+";
    font-weight: 700;
    color: var(--sky);
}

.concern-chips button[aria-pressed="true"] {
    border-color: var(--sky);
    background: var(--sky-50);
    color: var(--sky-700);
}

.concern-chips button[aria-pressed="true"]::before {
    content: "\2713";
}

.f-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--amber-50);
    border: 1px dashed var(--amber-200);
}

.f-price b {
    display: block;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 600;
}

.f-price small {
    display: block;
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.4;
}

.f-price-amt {
    flex: none;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 800;
}

.f-price-amt s {
    color: var(--muted);
    font-size: .85rem;
    font-weight: 500;
}

.f-error {
    padding: 10px 14px;
    border-radius: 10px;
    background: #fdecea;
    color: #a73a35;
    font-size: .88rem;
    font-weight: 600;
}

.f-error:empty {
    display: none;
}

#fSubmit {
    margin-top: 2px;
}

#fSubmit.is-loading {
    opacity: .8;
    pointer-events: none;
}

#fSubmit.is-loading i {
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.f-foot {
    margin-top: -4px;
    text-align: center;
    font-size: .78rem;
    color: var(--muted);
}

.f-foot i {
    margin-right: 4px;
    font-size: .7rem;
}

.form-success {
    padding: 28px 8px 12px;
    text-align: center;
}

.form-success h3 {
    margin-top: 18px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
}

.form-success p {
    margin-top: 10px;
}

.form-success b {
    color: var(--ink);
}

.success-small {
    font-size: .9rem;
    color: var(--muted);
}

.success-ring {
    width: 76px;
    height: 76px;
    margin: 0 auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--sky);
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 0 0 10px var(--sky-50), 0 0 0 20px rgba(238, 248, 253, .5);
    animation: pop .6s var(--ease) both;
}

@keyframes pop {
    from { transform: scale(.4); opacity: 0; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.faq-head {
    position: sticky;
    top: 110px;
}

.faq-head h2 {
    margin-top: 10px;
}

.faq-head .btn {
    margin-top: 24px;
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
    border-top: 1px solid var(--line);
}

.faq-list summary {
    position: relative;
    padding: 22px 48px 22px 0;
    list-style: none;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    border-radius: 50%;
    background:
        linear-gradient(var(--sky-600), var(--sky-600)) center / 12px 2px no-repeat,
        linear-gradient(var(--sky-600), var(--sky-600)) center / 2px 12px no-repeat,
        var(--sky-50);
    transition: transform .3s var(--ease);
}

.faq-list details[open] summary::after {
    transform: rotate(135deg);
}

.faq-list details p {
    padding: 0 48px 22px 0;
    animation: fadeDown .35s var(--ease);
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-6px); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    padding: 64px 0 28px;
    background: var(--bg);
    border-top: 1px solid var(--line);
    font-size: .92rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.footer-brand img {
    width: 210px;
}

.footer-brand p {
    margin-top: 10px;
    font-weight: 500;
    color: var(--muted);
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.footer h4 {
    margin-bottom: 10px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
}

.footer-cols p+p {
    margin-top: 6px;
}

.footer a {
    text-decoration: none;
    color: var(--body);
}

.footer a:hover {
    color: var(--sky-600);
}

.footer-base {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: .82rem;
    color: var(--muted);
}

/* ==========================================================================
   FLOATING CONTACT
   ========================================================================== */
.float-wa {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 40;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25d366;
    color: #fff;
    font-size: 1.7rem;
    text-decoration: none;
    box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7);
    transition: transform .25s var(--ease);
}

.float-wa:hover {
    transform: scale(1.07);
}

/* ==========================================================================
   STICKY OFFER STRIP: floating dock on desktop, compact two-row bar on phones
   ========================================================================== */
.footer {
    padding-bottom: 130px; /* room so the strip never covers the footer text */
}

.offer-strip {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    padding: 0 16px calc(16px + env(safe-area-inset-bottom));
    pointer-events: none;
    transform: translateY(130%);
    opacity: 0;
    transition: transform .5s var(--ease), opacity .35s var(--ease);
}

.offer-strip.is-visible {
    transform: none;
    opacity: 1;
}

.os-inner {
    pointer-events: auto;
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 12px 12px 14px;
    border-radius: 22px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(90% 220% at 0% 0%, rgba(31, 159, 212, .38), transparent 55%),
        radial-gradient(60% 200% at 100% 100%, rgba(229, 169, 59, .14), transparent 60%),
        linear-gradient(110deg, var(--navy-900) 0%, var(--navy) 55%, #0f3a55 100%);
    border: 1px solid rgba(143, 212, 243, .2);
    box-shadow: 0 24px 60px -18px rgba(6, 22, 33, .65), inset 0 1px 0 rgba(255, 255, 255, .08);
}

/* thin line along the top that drains as the offer timer runs down */
.os-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, .07);
}

.os-progress span {
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--sky-300), var(--sky) 60%, var(--amber));
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 12px rgba(143, 212, 243, .8);
    transition: width 1s linear;
}

.os-badge {
    position: relative;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    color: var(--sky-300);
    background: rgba(31, 159, 212, .16);
    border: 1px solid rgba(143, 212, 243, .3);
}

.os-badge::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 1px solid rgba(143, 212, 243, .55);
    animation: osRing 2.6s var(--ease) infinite;
}

@keyframes osRing {
    0% { transform: scale(1); opacity: .9; }
    100% { transform: scale(1.55); opacity: 0; }
}

.os-text {
    flex: 1;
    min-width: 0;
}

.os-title {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
}

.os-hl {
    font-weight: 800;
    background: linear-gradient(90deg, #ffd88a, var(--amber) 50%, #ffd88a);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textSweep 5s linear infinite;
}

.os-sub {
    margin: 3px 0 0;
    font-family: var(--font-hindi);
    font-size: .84rem;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, .7);
}

.os-sub b {
    color: var(--sky-300);
    font-weight: 700;
}

.os-timer {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.os-timer-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-hindi);
    font-size: .72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .72);
    white-space: nowrap;
}

.os-live {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff6b5b;
    animation: osLive 1.6s ease-out infinite;
}

@keyframes osLive {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 91, .6); }
    100% { box-shadow: 0 0 0 8px rgba(255, 107, 91, 0); }
}

.os-segs {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.os-seg {
    display: grid;
    justify-items: center;
    min-width: 52px;
    padding: 6px 8px 4px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
    border: 1px solid rgba(143, 212, 243, .22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 14px -8px rgba(0, 0, 0, .6);
    overflow: hidden;
}

.os-seg b {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: .02em;
    font-variant-numeric: tabular-nums;
    color: #fff;
}

.os-seg b.tick {
    animation: osTick .45s var(--ease);
}

@keyframes osTick {
    0% { transform: translateY(-60%); opacity: 0; }
    100% { transform: none; opacity: 1; }
}

.os-seg small {
    font-family: var(--font-hindi);
    font-size: .58rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--sky-300);
}

.os-colon {
    padding-top: 6px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--sky-300);
    animation: osColon 1s steps(1) infinite;
}

@keyframes osColon {
    50% { opacity: .25; }
}

.os-call {
    display: none;
}

.os-btn {
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 56px;
    padding: 0 22px 0 24px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #27aee5 0%, var(--sky) 45%, var(--sky-600) 100%);
    color: #fff;
    font-size: .98rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 12px 28px -10px rgba(31, 159, 212, .85), inset 0 1px 0 rgba(255, 255, 255, .3);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

/* light sweep across the button every few seconds */
.os-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -70%;
    width: 45%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg);
    animation: osShine 3.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes osShine {
    0%, 55% { left: -70%; }
    85%, 100% { left: 130%; }
}

.os-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -10px rgba(31, 159, 212, .95), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.os-btn > i {
    font-size: .9em;
    transition: transform .25s var(--ease);
}

.os-btn:hover > i {
    transform: translateX(3px);
}

.os-btn-price {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, .38);
}

.os-btn-price s {
    font-size: .82em;
    font-weight: 500;
    opacity: .7;
}

.os-btn-price strong {
    font-size: 1.1em;
    font-weight: 800;
}

/* WhatsApp button rides above the strip while it is showing */
.float-wa {
    transition: transform .25s var(--ease), bottom .5s var(--ease);
}

body.strip-on .float-wa {
    bottom: 118px;
}

@media (max-width: 1100px) {
    .os-badge {
        display: none;
    }
}

@media (max-width: 760px) {
    .footer {
        padding-bottom: 170px;
    }

    .offer-strip {
        padding: 0 8px calc(8px + env(safe-area-inset-bottom));
    }

    .os-inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "text text timer"
            "call btn btn";
        gap: 10px;
        padding: 13px 10px 10px 14px;
        border-radius: 20px;
    }

    .os-text {
        grid-area: text;
        align-self: center;
    }

    .os-title {
        font-size: .88rem;
        line-height: 1.3;
    }

    .os-sub {
        font-size: .72rem;
        line-height: 1.35;
    }

    .os-timer {
        grid-area: timer;
        align-items: flex-end;
        gap: 4px;
    }

    .os-timer-label {
        font-size: .62rem;
        gap: 5px;
    }

    .os-seg {
        min-width: 40px;
        padding: 4px 6px 3px;
        border-radius: 10px;
    }

    .os-seg b {
        font-size: 1.05rem;
    }

    .os-seg small {
        font-size: .52rem;
    }

    .os-colon {
        padding-top: 3px;
        font-size: 1rem;
    }

    .os-call {
        grid-area: call;
        display: grid;
        place-items: center;
        width: 50px;
        height: 50px;
        border-radius: 14px;
        background: rgba(255, 255, 255, .1);
        border: 1px solid rgba(143, 212, 243, .25);
        color: var(--sky-300);
        font-size: 1.05rem;
        text-decoration: none;
    }

    .os-btn {
        grid-area: btn;
        height: 50px;
        border-radius: 14px;
        padding: 0 16px;
        font-size: .92rem;
    }

    .float-wa {
        width: 50px;
        height: 50px;
        right: 14px;
        font-size: 1.45rem;
    }

    body.strip-on .float-wa {
        bottom: 176px;
    }
}

@media (max-width: 360px) {
    .os-timer-label {
        display: none;
    }

    .os-btn > i {
        display: none;
    }
}

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.js .reveal.in {
    opacity: 1;
    transform: none;
}

.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
    .nav-call span {
        display: none;
    }

    .nav-links a {
        padding: 8px 10px;
    }

    .tech-bottom {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 36px;
    }

    .steps::before {
        display: none;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .hs:nth-child(3)::before {
        display: none;
    }

    .hs:nth-child(n+3)::after {
        content: "";
        position: absolute;
        top: -3px;
        left: 12%;
        right: 12%;
        height: 1px;
        background: linear-gradient(90deg, rgba(31, 159, 212, 0), rgba(31, 159, 212, .25), rgba(31, 159, 212, 0));
    }
}

@media (max-width: 900px) {
    .section {
        padding: 80px 0;
    }

    .nav-links {
        display: none;
    }

    .nav-ctas {
        margin-left: auto;
    }

    .signs-grid,
    .book-grid,
    .faq-grid,
    .lens-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-head {
        position: static;
    }

    .ripe {
        grid-template-columns: 1fr;
        grid-template-areas: "copy" "track" "cta";
        gap: 24px;
    }

    .flow {
        grid-template-columns: 1fr;
    }

    .flow li:not(:last-child)::after {
        top: auto;
        bottom: -18px;
        right: auto;
        left: 50px;
        width: 2px;
        height: 18px;
        background: linear-gradient(180deg, rgba(143, 212, 243, .1), var(--sky-300));
    }

    .doc-carousel {
        --per: 2;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero {
        --lens: clamp(520px, 84vw, 640px);
    }

    .hero-inner {
        padding-top: 104px;
    }
}

@media (max-width: 640px) {
    .wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section {
        padding: 68px 0;
    }

    body {
        padding-bottom: 72px;
    }

    .nav {
        top: 10px;
        padding: 0 10px;
    }

    .nav-inner {
        padding: 6px 6px 6px 14px;
        gap: 10px;
    }

    .nav-logo img {
        height: 34px;
    }

    .nav-call {
        padding: 0;
    }

    .nav-ctas .btn-sm {
        padding: 9px 14px;
        font-size: .82rem;
    }

    .hero {
        min-height: 0;
        --lens: 132vw;
        --cy: 40%;
    }

    .hero-inner {
        padding-top: 96px;
        padding-bottom: 26px;
    }

    .hero h1 {
        margin-top: 18px;
        font-size: clamp(1.8rem, 8.5vw, 2.5rem);
    }

    .hide-sm {
        display: none;
    }

    .hero h1 .sub-line {
        margin-top: 12px;
        font-size: .98rem;
    }

    .hero-lead {
        font-size: .94rem;
    }

    .hero-ctas {
        width: 100%;
        margin-top: 22px;
    }

    .hero-ctas {
        gap: 10px;
    }

    .hero-ctas .btn {
        flex: 1 1 auto;
        padding: 15px 16px;
        font-size: .94rem;
    }

    .hero-flag {
        font-size: .72rem;
        gap: 8px;
        padding-right: 12px;
        white-space: nowrap;
    }

    .hero-flag i {
        display: none;
    }

    .hero-flag-tag {
        font-size: .62rem;
        padding: 4px 8px;
    }

    .hero-points {
        margin-top: 16px;
        gap: 6px;
    }

    .hero-points li {
        padding: 5px 11px;
        font-size: .78rem;
    }

    .hero-letter {
        font-size: calc(var(--s) * .62);
    }

    .hero-stats-wrap {
        padding-bottom: 20px;
    }

    .hero-stats {
        gap: 4px;
        padding: 6px;
        border-radius: 22px;
    }

    .hs {
        gap: 10px;
        padding: 12px 10px;
        border-radius: 16px;
    }

    .hs-ico {
        width: 42px;
        height: 42px;
        border-radius: 13px;
        font-size: 1rem;
    }

    .hs-ico--iol svg {
        width: 30px;
        height: 30px;
    }

    .hs strong {
        font-size: 1.22rem;
    }

    .hs-label {
        font-size: .72rem;
        gap: 2px 6px;
    }

    .sign-tiles {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .sign-tile {
        font-size: .84rem;
        padding: 6px 6px 10px;
        gap: 8px;
    }

    .sign-tile .tick {
        top: -6px;
        right: -6px;
        width: 22px;
        height: 22px;
    }

    .sign-meter {
        flex-wrap: wrap;
        gap: 12px;
    }

    .meter-eye {
        width: 62px;
    }

    .meter-cta {
        width: 100%;
    }

    .chart-card {
        padding: 12px;
    }

    .ripe {
        margin-top: 40px;
        padding: 24px 16px 22px;
    }

    .ripe-copy h3 {
        font-size: 1.25rem;
    }

    .ripe-track {
        padding-top: 32px;
    }

    .ripe-track::before {
        top: calc(32px + 25px);
    }

    .ripe-lens {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }

    .ripe-name {
        font-size: .74rem;
        padding: 0 2px;
    }

    .ripe-pin {
        font-size: .64rem;
        padding: 4px 8px;
        gap: 4px;
    }


    .tech {
        padding: 80px 0;
    }

    .stage {
        height: 420px;
        border-radius: 24px;
        margin-left: -6px;
        margin-right: -6px;
    }

    .stage-room {
        top: 16px;
        font-size: .62rem;
        letter-spacing: .1em;
    }

    .stage-room--left { left: 16px; }
    .stage-room--right { right: 16px; }

    .stage-label {
        padding: 7px 10px;
    }

    .stage-label strong {
        font-size: .8rem;
    }

    .stage-label span {
        display: none;
    }

    .stage-label--beam {
        font-size: .7rem;
    }

    .stage.no-3d .stage-fallback {
        grid-template-columns: 1fr;
        padding-top: 56px;
    }

    .fallback-link {
        justify-self: center;
        transform: rotate(90deg);
    }

    .tech-photos {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .lens-photo {
        min-height: 300px;
    }

    .lens-card {
        padding: 18px;
        gap: 14px;
    }

    .doc-carousel {
        --per: 1.12;
        --gap: 14px;
    }

    .doc-track {
        margin-inline: -16px;
        padding-inline: 16px;
        scroll-padding-inline: 16px;
    }

    .doc-photo {
        aspect-ratio: 1 / .8;
    }


    .form-card {
        padding: 22px 18px;
        border-radius: 24px;
    }

    .form-top h3 {
        font-size: 1.35rem;
    }

    .footer-cols {
        grid-template-columns: 1fr;
    }

    .footer-base {
        flex-direction: column;
    }

}

@media (max-width: 420px) {
    .f-row {
        grid-template-columns: 1fr;
    }

    .form-chip {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}
