/* =====================================================================
   Sarvdrishti Eye Hospital: landing page
   Palette comes from the logo's steel blue, set on deep ink with a warm
   gold accent ("Lighting Darkness").

   Shape language: "almond" corners taken from the eye in the logo. Boxes
   get a big radius on two opposite corners and a tight one on the other
   two; on hover they flip to the other diagonal.
   ===================================================================== */

:root {
    --ink: #071a28;
    --ink-2: #0c2a3e;
    --brand: #1a688f;
    --brand-dark: #135273;
    --brand-deep: #0d3d57;
    --brand-light: #8cc7e3;
    --brand-pale: #dcedf6;
    --brand-bg: #eff6fa;
    --gold: #e2a93b;
    --gold-bright: #f0bd55;
    --gold-deep: #a8720f;
    --gold-pale: #fbf1dc;
    --white: #ffffff;
    --text-dark: #0d2433;
    --text-body: #3a5364;
    --text-muted: #6b8494;
    --border: #d9e6ee;
    --green-ok: #1a7a4a;

    /* Almond corners: "TL/BR TR/BL" and the flipped hover state. */
    --r-xl: 44px 6px;
    --r-xl-flip: 6px 44px;
    --r-lg: 32px 5px;
    --r-lg-flip: 5px 32px;
    --r-md: 20px 4px;
    --r-md-flip: 4px 20px;
    --r-sm: 14px 3px;
    --r-sm-flip: 3px 14px;
    --r-xs: 10px 2px;
    --r-xs-flip: 2px 10px;

    --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
    --shadow: 0 22px 54px rgba(13, 61, 87, 0.14);
    --shadow-sm: 0 4px 18px rgba(13, 61, 87, 0.08);
    --nav-h: 84px;
    --font: 'Sora', 'Anek Devanagari', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

ul,
ol {
    list-style: none;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
}

section {
    padding: 88px 32px;
    position: relative;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    padding: 16px 28px;
    border-radius: var(--r-sm);
    border: 1.5px solid transparent;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.25s var(--ease-out), border-radius 0.3s var(--ease-out), box-shadow 0.25s ease,
        background 0.2s ease, border-color 0.2s ease;
}

.btn i {
    font-size: 0.9em;
}

.btn:hover {
    transform: translateY(-2px);
    border-radius: var(--r-sm-flip);
}

.btn-sm {
    font-size: 0.82rem;
    padding: 11px 18px;
    border-radius: var(--r-xs);
}

.btn-sm:hover {
    border-radius: var(--r-xs-flip);
}

.btn-gold {
    background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 100%);
    color: var(--ink);
    box-shadow: 0 10px 26px rgba(226, 169, 59, 0.32);
}

.btn-gold:hover {
    box-shadow: 0 14px 32px rgba(226, 169, 59, 0.42);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.26);
    color: var(--white);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-brand {
    background: var(--brand);
    color: var(--white);
    box-shadow: 0 10px 26px rgba(26, 104, 143, 0.28);
}

.btn-brand:hover {
    background: var(--brand-dark);
}

/* --- Nav --- */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.2s ease;
}

.site-nav.is-scrolled {
    box-shadow: 0 8px 28px rgba(7, 26, 40, 0.1);
}

.nav-inner {
    max-width: 1224px;
    height: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo {
    height: 66px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 auto;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-body);
    text-decoration: none;
    padding: 9px 15px;
    border-radius: var(--r-xs);
    transition: color 0.15s, background 0.15s, border-radius 0.3s var(--ease-out);
}

.nav-links a:hover {
    color: var(--brand-dark);
    background: var(--brand-bg);
    border-radius: var(--r-xs-flip);
}

.nav-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.lbl-short {
    display: none;
}

.btn-nav-call {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--brand-dark);
    text-decoration: none;
    white-space: nowrap;
}

.btn-nav-call i {
    width: 34px;
    height: 34px;
    border-radius: var(--r-xs);
    background: var(--brand-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    transition: background 0.2s, color 0.2s, border-radius 0.3s var(--ease-out);
}

.btn-nav-call:hover i {
    background: var(--brand);
    color: var(--white);
    border-radius: var(--r-xs-flip);
}

/* --- Hero --- */
.hero {
    background:
        radial-gradient(900px 520px at 88% 8%, rgba(26, 104, 143, 0.6) 0%, transparent 62%),
        radial-gradient(640px 420px at -6% 104%, rgba(226, 169, 59, 0.13) 0%, transparent 60%),
        linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
    padding: calc(var(--nav-h) + 60px) 32px 128px;
    overflow: hidden;
    color: var(--white);
}

/* Fine concentric rings, an iris seen from far away. */
.hero-rings {
    position: absolute;
    top: 50%;
    right: -220px;
    width: 980px;
    height: 980px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: repeating-radial-gradient(circle at center,
            rgba(140, 199, 227, 0.11) 0 1px,
            transparent 1px 46px);
    -webkit-mask-image: radial-gradient(circle at center, #000 18%, transparent 70%);
    mask-image: radial-gradient(circle at center, #000 18%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.05rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.24;
    letter-spacing: -0.015em;
    margin-bottom: 20px;
}

.hero h1 .accent {
    color: var(--gold-bright);
}

.hero-lead {
    font-size: 1.06rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.74);
    max-width: 540px;
    margin-bottom: 26px;
}

.symptoms {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 30px;
}

.symptoms li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 15px 7px 13px;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: background 0.2s, border-color 0.2s, border-radius 0.3s var(--ease-out);
}

.symptoms li:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(226, 169, 59, 0.5);
    border-radius: var(--r-sm-flip);
}

.symptoms li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.hero-offer {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 4px 0 4px 20px;
    border-left: 2px solid var(--gold);
    margin-bottom: 30px;
}

.offer-price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.offer-now {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--white);
}

.offer-old {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
}

.offer-off {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    white-space: nowrap;
    color: var(--ink);
    background: var(--gold);
    padding: 5px 10px;
    border-radius: var(--r-xs);
}

.offer-note {
    font-size: 0.84rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.66);
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* --- Section marker ---
   Icon tile plus label. The label pulls into focus (blur to sharp) and the
   icon settles in when the marker scrolls into view. */
.smark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.smark-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.86rem;
    color: var(--white);
    background: var(--ink);
    border-radius: var(--r-xs);
}

.smark-text {
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--brand-deep);
}

.smark-dark .smark-icon {
    background: var(--gold);
    color: var(--ink);
}

.smark-dark .smark-text {
    color: var(--white);
}

.js .smark .smark-text {
    filter: blur(5px);
    opacity: 0.35;
    transition: filter 0.9s ease 0.15s, opacity 0.9s ease 0.15s;
}

.js .smark .smark-icon i {
    transform: scale(0.4) rotate(-30deg);
    opacity: 0;
    transition: transform 0.5s var(--ease-out), opacity 0.4s ease;
}

.js .smark.is-focused .smark-text {
    filter: none;
    opacity: 1;
}

.js .smark.is-focused .smark-icon i {
    transform: none;
    opacity: 1;
}

/* --- Cataract vision comparison --- */
.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.vision-card {
    width: 100%;
    max-width: 460px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--r-xl);
    padding: 18px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.vision-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 8px 14px 14px;
}

.vision-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
}

.vision-hint {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}

.vision-hint i {
    color: var(--gold);
    margin-right: 4px;
}

.vision-stage {
    --pos: 30%;
    position: relative;
    aspect-ratio: 5 / 6;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--ink-2);
    container-type: inline-size;
    user-select: none;
    -webkit-user-select: none;
}

.vision-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.vision-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 55%;
}

/* What a cataract does: haze, a yellow-brown cast, lost contrast. */
.vision-cataract {
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

/* Scaled up a touch so the blur does not leave soft edges at the frame. */
.vision-cataract img {
    filter: blur(4px) sepia(0.75) saturate(1.15) contrast(0.68) brightness(1.04);
    filter: blur(1cqw) sepia(0.75) saturate(1.15) contrast(0.68) brightness(1.04);
    transform: scale(1.06);
}

.vision-cataract::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 46% 44%, rgba(255, 238, 196, 0.4) 0%, rgba(255, 238, 196, 0.14) 55%, transparent 80%);
}

.vision-label {
    position: absolute;
    bottom: 14px;
    z-index: 2;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.3;
    padding: 6px 12px 5px;
    border-radius: var(--r-xs);
    pointer-events: none;
}

.vision-label-before {
    left: 14px;
    background: rgba(60, 48, 20, 0.78);
    color: #fff3d6;
}

.vision-label-after {
    right: 14px;
    background: var(--brand);
    color: var(--white);
}

.vision-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 2px;
    margin-left: -1px;
    background: var(--white);
    box-shadow: 0 0 0 1px rgba(7, 26, 40, 0.12), 0 0 18px rgba(7, 26, 40, 0.3);
    z-index: 3;
    pointer-events: none;
}

.vision-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gold);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 6px 20px rgba(7, 26, 40, 0.3);
}

.vision-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    z-index: 4;
    touch-action: pan-y;
    -webkit-appearance: none;
    appearance: none;
}

.vision-range:focus-visible + .vision-divider .vision-handle,
.vision-stage:focus-within .vision-handle {
    box-shadow: 0 0 0 4px rgba(226, 169, 59, 0.45), 0 6px 20px rgba(7, 26, 40, 0.3);
}

.vision-foot {
    font-size: 0.8rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.62);
    padding: 14px 8px 2px 14px;
}

/* --- Facts strip ---
   Pulled up so the card straddles the bottom edge of the hero. The negative
   margin sits on the section itself (which stays transparent), so the hero
   shows through behind the top half of the card. */
.facts-section {
    padding: 0 32px;
    margin-top: -62px;
    z-index: 2;
}

.facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.fact {
    position: relative;
    padding: 28px 28px 26px 32px;
    border-left: 1px solid var(--border);
    transition: background 0.25s ease;
}

.fact:first-child {
    border-left: none;
}

.fact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 32px;
    right: 28px;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease-out);
}

.fact:hover {
    background: var(--brand-bg);
}

.fact:hover::before {
    transform: none;
}

.fact-value {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--brand-deep);
    transition: color 0.25s ease, transform 0.35s var(--ease-out);
}

.fact:hover .fact-value {
    color: var(--brand);
    transform: translateX(3px);
}

.fact-value i {
    font-size: 0.62em;
    color: var(--gold);
    vertical-align: 0.14em;
}

.fact-label {
    font-size: 0.86rem;
    line-height: 1.45;
    color: var(--text-muted);
    margin-top: 6px;
}

/* --- Section headings --- */
.sec-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: end;
    margin-bottom: 44px;
}

.sec-head-center {
    display: block;
    text-align: center;
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
}

.sec-heading {
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    font-weight: 700;
    line-height: 1.26;
    letter-spacing: -0.015em;
    color: var(--ink);
}

.sec-heading-light {
    color: var(--white);
}

.sec-lead {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-body);
}

.sec-head-center .sec-lead {
    margin-top: 14px;
}

/* --- Cataract --- */
.cataract-section {
    background: var(--white);
    padding-top: 96px;
}

.cataract-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 24px;
    align-items: stretch;
}

.steps-card {
    background:
        radial-gradient(520px 300px at 100% 0%, rgba(26, 104, 143, 0.55) 0%, transparent 65%),
        linear-gradient(165deg, var(--ink) 0%, var(--ink-2) 100%);
    color: var(--white);
    border-radius: var(--r-xl);
    padding: 36px 36px 30px;
}

.steps-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.steps li {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.steps li:last-child {
    padding-bottom: 4px;
}

.step-num {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--gold-bright);
    flex-shrink: 0;
    min-width: 40px;
    transition: transform 0.35s var(--ease-out), color 0.25s ease;
}

.steps li:hover .step-num {
    transform: translateX(5px);
    color: var(--white);
}

.step-name {
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 6px;
}

.step-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
    transition: color 0.25s ease;
}

.steps li:hover .step-desc {
    color: rgba(255, 255, 255, 0.86);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.feature {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--brand-bg);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 26px 24px 24px;
    transition: transform 0.35s var(--ease-out), border-radius 0.4s var(--ease-out), box-shadow 0.35s ease,
        background 0.3s ease, border-color 0.3s ease;
}

/* Iris rings that open up in the corner on hover. */
.feature::after {
    content: '';
    position: absolute;
    top: -70px;
    right: -70px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: repeating-radial-gradient(circle at center, rgba(26, 104, 143, 0.16) 0 1px, transparent 1px 14px);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
    pointer-events: none;
}

.feature:hover {
    transform: translateY(-6px);
    border-radius: var(--r-lg-flip);
    background: var(--white);
    border-color: var(--brand-light);
    box-shadow: var(--shadow);
}

.feature:hover::after {
    opacity: 1;
    transform: none;
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--r-sm);
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 18px;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, border-radius 0.4s var(--ease-out);
}

.feature:hover .feature-icon {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--white);
    border-radius: var(--r-sm-flip);
}

/* Icon stays at the top, the text settles at the bottom of the tile. */
.feature-title {
    margin-top: auto;
    font-size: 1.04rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ink);
    margin-bottom: 6px;
}

.feature-desc {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-body);
}

.cta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-top: 36px;
}

.cta-note {
    font-size: 0.9rem;
    color: var(--text-body);
}

.cta-note i {
    width: 28px;
    height: 28px;
    border-radius: var(--r-xs);
    background: var(--gold-pale);
    color: var(--gold-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-right: 8px;
}

/* --- Doctors --- */
.doctors-section {
    background: var(--brand-bg);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.doc-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s var(--ease-out), border-radius 0.45s var(--ease-out), box-shadow 0.35s ease,
        border-color 0.3s ease;
}

.doc-card:hover {
    transform: translateY(-8px);
    border-radius: var(--r-lg-flip);
    border-color: var(--brand-light);
    box-shadow: var(--shadow);
}

.doc-figure {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--brand-pale);
}

.doc-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.7s var(--ease-out);
}

.doc-card:hover .doc-photo {
    transform: scale(1.05);
}

/* Shade at the foot of the photo for the experience figure. */
.doc-figure::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    background: linear-gradient(to top, rgba(7, 26, 40, 0.82) 0%, rgba(7, 26, 40, 0.35) 55%, transparent 100%);
    pointer-events: none;
}

.doc-chip {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1;
    color: var(--ink);
    background: var(--gold);
    padding: 8px 12px 7px;
    border-radius: var(--r-xs);
    box-shadow: 0 6px 16px rgba(7, 26, 40, 0.22);
}

.doc-exp {
    position: absolute;
    left: 22px;
    bottom: 18px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.doc-exp strong {
    font-size: 2.7rem;
    font-weight: 300;
    letter-spacing: -0.05em;
    line-height: 1;
}

.doc-exp span {
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.85);
}

.doc-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 24px 20px;
}

.doc-name {
    font-size: 1.24rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--ink);
}

.doc-role {
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--brand);
    margin-top: 4px;
}

.doc-creds {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-top: 10px;
    margin-bottom: 18px;
}

.doc-meta {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-body);
}

.doc-meta i {
    color: var(--gold-deep);
    margin-right: 6px;
    font-size: 0.78rem;
}

.also-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 48px;
}

.also-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
}

.also-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.also-list li {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--brand-dark);
    background: var(--white);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: var(--r-xs);
    transition: background 0.2s, color 0.2s, border-color 0.2s, border-radius 0.3s var(--ease-out);
}

.also-list li:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--white);
    border-radius: var(--r-xs-flip);
}

/* --- Booking --- */
.booking-section {
    background:
        radial-gradient(820px 520px at 6% 0%, rgba(26, 104, 143, 0.5) 0%, transparent 62%),
        linear-gradient(170deg, var(--ink) 0%, var(--ink-2) 100%);
    color: var(--white);
    overflow: hidden;
    scroll-margin-top: var(--nav-h);
}

.booking-rings {
    right: auto;
    left: -420px;
    top: 62%;
}

.booking-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: 64px;
    align-items: start;
}

.booking-copy {
    padding-top: 12px;
}

.booking-desc {
    font-size: 1.02rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
    max-width: 470px;
    margin: 16px 0 32px;
}

.perks {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 34px;
}

.perk {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.perk-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    background: rgba(226, 169, 59, 0.12);
    border: 1px solid rgba(226, 169, 59, 0.32);
    color: var(--gold-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease, border-radius 0.4s var(--ease-out);
}

.perk:hover .perk-icon {
    background: var(--gold);
    color: var(--ink);
    border-radius: var(--r-sm-flip);
}

.perk-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.perk-desc {
    font-size: 0.86rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.62);
    margin-top: 2px;
}

.booking-contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.62);
}

.booking-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: var(--r-xs);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background 0.2s, border-color 0.2s, border-radius 0.3s var(--ease-out), transform 0.25s var(--ease-out);
}

.booking-contact a:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    border-radius: var(--r-xs-flip);
    transform: translateY(-2px);
}

.booking-contact a i {
    color: var(--gold-bright);
}

.booking-contact a i.fa-whatsapp {
    color: #25d366;
    font-size: 1rem;
}

.booking-card {
    background: var(--white);
    color: var(--text-dark);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.booking-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px 20px 32px;
    background: var(--brand-bg);
    border-bottom: 1px solid var(--border);
    border-top: 4px solid var(--gold);
}

.bch-title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--ink);
}

.bch-sub {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 3px;
}

.bch-sub i {
    color: var(--gold-deep);
    font-size: 0.72rem;
    margin-right: 3px;
}

.bch-price {
    display: flex;
    align-items: baseline;
    gap: 9px;
    white-space: nowrap;
}

.bch-price s {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.bch-price strong {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--brand-deep);
}

/* --- Appointment form --- */
.appt-form {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.appt-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.appt-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.appt-field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-body);
}

.appt-field label span {
    color: var(--gold-deep);
}

.appt-field label small {
    color: var(--text-muted);
    font-weight: 400;
}

.appt-field input,
.appt-field select,
.appt-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-xs);
    font-family: var(--font);
    font-size: 0.92rem;
    color: var(--text-dark);
    background: #f8fbfd;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s, border-radius 0.3s var(--ease-out);
}

.appt-field input::placeholder,
.appt-field textarea::placeholder {
    color: #9bb0bd;
}

/* iOS Safari renders date/time inputs with native chrome that ignores
   width:100% and sizes to its content, pushing it out of the card. Reset the
   appearance and allow it to shrink so it respects the field width. */
.appt-field input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    min-width: 0;
    max-width: 100%;
    min-height: 47px;
    text-align: left;
}

.appt-field input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
    width: 100%;
}

.appt-field input:focus,
.appt-field select:focus,
.appt-field textarea:focus {
    border-color: var(--brand);
    border-radius: var(--r-xs-flip);
    box-shadow: 0 0 0 3px rgba(26, 104, 143, 0.13);
    background: var(--white);
}

.appt-field textarea {
    resize: vertical;
    min-height: 50px;
    line-height: 1.5;
}

.appt-error {
    display: none;
    background: #fdecea;
    color: #b42318;
    border-radius: var(--r-xs);
    padding: 10px 13px;
    font-size: 0.84rem;
    line-height: 1.45;
}

/* Spam trap: kept off screen so only bots fill it in */
.appt-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.appt-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 20px;
    margin-top: 2px;
    background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 100%);
    color: var(--ink);
    border: none;
    border-radius: var(--r-sm);
    font-family: var(--font);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(226, 169, 59, 0.34);
    transition: transform 0.25s var(--ease-out), border-radius 0.3s var(--ease-out), box-shadow 0.2s, opacity 0.15s;
}

.appt-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    border-radius: var(--r-sm-flip);
    box-shadow: 0 14px 32px rgba(226, 169, 59, 0.44);
}

.appt-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.appt-submit.is-loading i {
    animation: apptSpin 0.8s linear infinite;
}

@keyframes apptSpin {
    to {
        transform: rotate(360deg);
    }
}

.appt-secure {
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.appt-secure i {
    color: var(--green-ok);
    margin-right: 3px;
}

/* --- Footer --- */
.site-footer {
    background: #04121d;
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 32px 30px;
    scroll-margin-top: var(--nav-h);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: 20px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    padding-right: 8px;
}

.footer-logo {
    height: 104px;
    width: auto;
    display: block;
}

.footer-about {
    font-size: 0.86rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 18px;
    max-width: 280px;
}

.footer-mail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-top: 14px;
    overflow-wrap: anywhere;
}

.footer-mail:hover,
.branch-phone:hover {
    color: var(--gold-bright);
}

.branch {
    display: flex;
    flex-direction: column;
    padding: 24px 24px 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, 0.025);
    transition: transform 0.35s var(--ease-out), border-radius 0.4s var(--ease-out), background 0.3s ease,
        border-color 0.3s ease;
}

.branch:hover {
    transform: translateY(-4px);
    border-radius: var(--r-lg-flip);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(226, 169, 59, 0.45);
}

.branch-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.branch-name i {
    color: var(--gold);
    font-size: 0.85rem;
    margin-right: 6px;
}

.branch-addr {
    font-size: 0.84rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 14px;
}

.branch-phone {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: color 0.15s;
}

.branch-phone i {
    font-size: 0.72rem;
    color: var(--gold);
}

.footer-bottom {
    padding-top: 24px;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

/* --- Floating WhatsApp --- */
.float-wa {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    z-index: 800;
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s;
}

.float-wa:hover {
    transform: scale(1.08);
}

/* --- Sticky booking bar (mobile only) --- */
.bottom-bar {
    display: none;
}

/* --- Scroll reveal (only when JS is running) --- */
.js .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* index.js drops the reveal classes once the fade has finished, so cards get
   their own hover transitions back. */
.js .reveal.is-in {
    opacity: 1;
    transform: none;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.hero-content > * {
    animation: fadeUp 0.7s ease both;
}

.hero-content > *:nth-child(2) { animation-delay: 0.08s; }
.hero-content > *:nth-child(3) { animation-delay: 0.16s; }
.hero-content > *:nth-child(4) { animation-delay: 0.24s; }
.hero-content > *:nth-child(5) { animation-delay: 0.32s; }
.hero-content > *:nth-child(6) { animation-delay: 0.4s; }

.vision-card {
    animation: fadeUp 0.8s 0.25s ease both;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }

    .js .smark .smark-text,
    .js .smark .smark-icon i {
        filter: none;
        opacity: 1;
        transform: none;
    }
}

/* =====================================================================
   Responsive
   ===================================================================== */

@media (max-width: 1080px) {
    .hero-inner {
        gap: 44px;
    }

    .booking-inner {
        grid-template-columns: minmax(0, 1fr) 440px;
        gap: 44px;
    }

    .btn-nav-call span {
        display: none;
    }

    .docs-grid {
        gap: 20px;
    }

    .doc-body {
        padding: 20px 20px 18px;
    }

    .doc-exp strong {
        font-size: 2.3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px 28px;
        padding: 0 0 12px;
    }

    .footer-about {
        margin-top: 0;
    }

    .footer-mail {
        margin-top: 0;
    }
}

@media (max-width: 920px) {
    section {
        padding: 68px 24px;
    }

    .nav-links {
        display: none;
    }

    .btn-nav-call span {
        display: inline;
    }

    .hero {
        padding: calc(var(--nav-h) + 44px) 24px 108px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .hero-rings {
        top: 74%;
        right: -420px;
    }

    .facts-section {
        padding: 0 24px;
    }

    .facts {
        grid-template-columns: 1fr 1fr;
    }

    .fact:nth-child(3) {
        border-left: none;
    }

    .fact:nth-child(n + 3) {
        border-top: 1px solid var(--border);
    }

    .sec-head {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 36px;
    }

    .cataract-section {
        padding-top: 76px;
    }

    .cataract-grid {
        grid-template-columns: 1fr;
    }

    .docs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Third card sits centred under the first two. */
    .doc-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 10px);
        justify-self: center;
    }

    .booking-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .booking-copy {
        padding-top: 0;
    }
}

@media (max-width: 760px) {
    body {
        padding-bottom: 72px;
    }

    /* Prevent mobile browsers from auto-zooming when a field is focused.
       They do this whenever the input font-size is below 16px. */
    .appt-field input,
    .appt-field select,
    .appt-field textarea {
        font-size: 16px;
    }

    .bottom-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 850;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 14px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        background: var(--ink);
        border-top: 2px solid var(--gold);
        box-shadow: 0 -8px 28px rgba(7, 26, 40, 0.3);
        transform: translateY(110%);
        transition: transform 0.3s ease;
    }

    .bottom-bar.is-visible {
        transform: none;
    }

    .bottom-bar-text {
        flex: 1;
        min-width: 0;
        line-height: 1.2;
    }

    .bottom-bar-title {
        font-size: 0.68rem;
        font-weight: 500;
        letter-spacing: 0.04em;
        color: rgba(255, 255, 255, 0.62);
    }

    .bottom-bar-price {
        display: flex;
        align-items: baseline;
        gap: 8px;
        margin-top: 2px;
    }

    .bottom-bar-price strong {
        font-size: 1.3rem;
        font-weight: 800;
        letter-spacing: -0.03em;
        color: var(--white);
    }

    .bottom-bar-price s {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.5);
    }

    .bottom-bar-call {
        width: 44px;
        height: 44px;
        border-radius: var(--r-xs);
        border: 1px solid rgba(255, 255, 255, 0.24);
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        text-decoration: none;
        flex-shrink: 0;
    }

    .bottom-bar .btn {
        padding: 13px 18px;
        font-size: 0.88rem;
    }

    .float-wa {
        right: 14px;
        bottom: 88px;
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {
    :root {
        --nav-h: 68px;
        --r-xl: 32px 5px;
        --r-xl-flip: 5px 32px;
        --r-lg: 26px 4px;
        --r-lg-flip: 4px 26px;
    }

    section {
        padding: 56px 18px;
    }

    .nav-inner {
        padding: 0 16px;
        gap: 10px;
    }

    .brand-logo {
        height: 50px;
    }

    .btn-nav-call span {
        display: none;
    }

    .nav-ctas {
        gap: 10px;
    }

    .nav-ctas .btn-sm {
        padding: 10px 13px;
        font-size: 0.76rem;
    }

    .hero {
        padding: calc(var(--nav-h) + 32px) 18px 100px;
    }

    .smark {
        gap: 10px;
        margin-bottom: 14px;
    }

    .smark-icon {
        width: 30px;
        height: 30px;
        font-size: 0.78rem;
    }

    .smark-text {
        font-size: 0.88rem;
    }

    .hero h1 {
        font-size: 1.95rem;
        line-height: 1.28;
        margin-bottom: 16px;
    }

    .hero-lead {
        font-size: 0.98rem;
        margin-bottom: 22px;
    }

    .symptoms {
        gap: 8px;
        margin-bottom: 26px;
    }

    .symptoms li {
        font-size: 0.82rem;
        padding: 7px 13px 6px 11px;
    }

    .hero-offer {
        flex-wrap: wrap;
        gap: 8px 14px;
        padding-left: 14px;
        margin-bottom: 24px;
    }

    .offer-now {
        font-size: 2.1rem;
    }

    .offer-note {
        flex-basis: 100%;
        font-size: 0.82rem;
        padding-left: 0;
        border-left: none;
    }

    .hero-ctas .btn {
        flex: 1 1 100%;
    }

    .vision-card {
        max-width: 100%;
        padding: 12px;
    }

    .vision-head {
        padding: 4px 6px 12px 10px;
    }

    .vision-title {
        font-size: 0.88rem;
    }

    .facts-section {
        padding: 0 18px;
        margin-top: -56px;
    }

    .fact {
        padding: 20px 16px 18px 20px;
    }

    .fact::before {
        left: 20px;
        right: 16px;
    }

    .fact-value {
        font-size: 1.45rem;
    }

    .fact-label {
        font-size: 0.78rem;
    }

    .cataract-section {
        padding-top: 64px;
    }

    .steps-card {
        padding: 28px 22px 22px;
    }

    .steps li {
        gap: 14px;
    }

    .feature-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .feature {
        display: grid;
        grid-template-columns: 46px 1fr;
        column-gap: 16px;
        padding: 20px 18px;
    }

    .feature-icon {
        grid-row: span 2;
        margin-bottom: 0;
    }

    .cta-row .btn {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .docs-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 420px;
        margin: 0 auto;
    }

    .doc-card:last-child {
        grid-column: auto;
        width: auto;
    }

    .also-row {
        margin-top: 36px;
    }

    .appt-row {
        grid-template-columns: 1fr;
    }

    .appt-form {
        padding: 20px 18px 22px;
    }

    .booking-card-header {
        padding: 18px 18px 16px 22px;
    }

    .bch-price strong {
        font-size: 1.6rem;
    }

    .appt-field input,
    .appt-field select,
    .appt-field textarea {
        padding: 13px 14px;
    }

    .appt-field input,
    .appt-field select {
        min-height: 51px;
    }

    .site-footer {
        padding: 48px 18px 26px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .footer-brand {
        display: block;
        padding-bottom: 14px;
    }

    .footer-logo {
        height: 92px;
    }

    .footer-about {
        margin-top: 16px;
    }

    .footer-mail {
        margin-top: 12px;
    }
}

@media (max-width: 430px) {
    .lbl-full {
        display: none;
    }

    .lbl-short {
        display: inline;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.72rem;
    }

    .btn-nav-call {
        display: none;
    }

    .nav-ctas .btn-sm i {
        display: none;
    }

    .brand-logo {
        height: 44px;
    }
}
