:root {
  --gold: #00a79d;
  --gold-2: #19bdb2;
  --gold-ink: #00726b;
  --gold-soft: #e2f4f2;
  --ink: #0e2a33;
  --ink-2: #173a45;
  --text: #1d2b30;
  --muted: #56676d;
  --line: #dbe6e7;
  --bg: #ffffff;
  --tint: #f1f8f8;
  --ok: #1f7a4d;
  --ok-soft: #e6f4ec;
  --warn: #9a5b00;
  --warn-soft: #fff4dc;
  --bad: #b3261e;
  --bad-soft: #fdecea;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(14, 42, 51, .06), 0 8px 24px rgba(14, 42, 51, .06);
  --font: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 17px; line-height: 1.55; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #e3eced; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p { color: #b8c9cc; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
/* Single-section pages (e.g. contact-lenses.html): keep the footer at the bottom of the screen. */
.page-top { min-height: calc(100vh - 80px); }
.muted { color: var(--muted); }
.muted-light { color: #b8c9cc; }
.fine { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.label { font-weight: 500; margin: 18px 0 8px; }
.note { background: var(--gold-soft); border-radius: 10px; padding: 10px 14px; font-size: .95rem; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, transform .1s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-ghost-dark { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost-dark:hover { border-color: var(--ink); }
.btn:disabled { opacity: .6; cursor: progress; }
.text-link { background: none; border: 0; padding: 0; color: var(--gold-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.text-link.sm { text-decoration: none; font-size: .95rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(0, 0, 0, .05); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 72px; width: min(1320px, 100% - 32px); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-badge { display: grid; place-items: center; width: 60px; height: 46px; flex: none; }
.logo-badge img { width: 58px; height: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-word { font-size: 1.2rem; font-weight: 600; color: var(--ink); letter-spacing: .12em; }
.logo-cn { font-size: .78rem; font-weight: 500; color: var(--gold-ink); letter-spacing: .42em; margin-top: 3px; }
.logo-footer { display: inline-block; }
.logo-footer img { display: block; margin-inline: auto; width: 220px; height: auto; mix-blend-mode: lighten; }
.main-nav { display: flex; gap: 18px; margin-left: 4px; }
.main-nav a { text-decoration: none; font-weight: 500; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.main-nav a, .lang button { white-space: nowrap; }
/* Set by app.js when the menu doesn't fit comfortably (e.g. longer Spanish words): use the menu button */
html.nav-compact .header-inner { display: flex; }
html.nav-compact .header-actions { margin-left: auto; }
html.nav-compact .menu-btn { display: flex; }
html.nav-compact .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 0, 0, .08); padding: 8px 16px 16px; margin: 0; }
html.nav-compact .main-nav.open { display: flex; }
html.nav-compact .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
/* Wide screens: menu centered on the page, logo left, buttons right */
@media (min-width: 1301px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; width: min(1520px, 100% - 40px); }
  .header-actions { gap: 10px; }
  .logo { justify-self: start; }
  .main-nav { margin: 0; justify-content: center; }
  .header-actions { justify-self: end; margin-left: 0; }
}
.lang button { border: 0; background: none; padding: 4px 10px; border-radius: 999px; font-size: .85rem; cursor: pointer; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
/* Globe language menu */
.lang-menu { position: relative; }
.lang-toggle { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink); cursor: pointer; white-space: nowrap; }
.lang-toggle:hover { border-color: var(--ink); }
.lang-toggle svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.lang-toggle .globe { width: 18px; height: 18px; stroke-width: 1.7; }
.lang-toggle .chev { width: 14px; height: 14px; stroke-width: 2.2; transition: transform .2s; }
.lang-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-menu .lang { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; display: flex; flex-direction: column; min-width: 170px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 28px rgba(14, 42, 51, .12); }
.lang-menu .lang[hidden] { display: none; }
.lang-menu .lang button { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: .95rem; color: var(--ink); text-align: left; }
.lang-menu .lang button:hover, .lang-menu .lang button:focus-visible { background: var(--tint); outline: none; }
.lang-menu .lang button[aria-pressed="true"] { background: var(--gold-soft); color: var(--ink); font-weight: 600; }
.lang-menu .lang button[aria-pressed="true"]::after { content: ""; flex: none; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006b65' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.phone-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; white-space: nowrap; }
.phone-link svg, .action-bar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 12px 11px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.menu-btn i { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero { position: relative; background: var(--ink); color: #e4eeef; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 20%, rgba(0, 167, 157, .28), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(0, 167, 157, .14), transparent 70%); pointer-events: none; }
.hero-photo { position: absolute; inset: 0 0 0 auto; width: min(68%, 1100px); pointer-events: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 30%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(14, 42, 51, .55) 35%, rgba(14, 42, 51, 0) 70%), linear-gradient(0deg, rgba(14, 42, 51, .85) 0%, rgba(14, 42, 51, 0) 40%); }

/* Brands strip */
.brands-strip { padding: 36px 0 32px; border-bottom: 1px solid var(--line); text-align: center; }
.brands-strip .eyebrow { color: var(--gold-ink); margin-bottom: 20px; }
.brand-logos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 44px; }
.brand-logos img { height: 26px; width: auto; max-width: 140px; filter: grayscale(1); opacity: .55; transition: filter .2s, opacity .2s; }
.brand-logos li:hover img { filter: none; opacity: 1; }
.brand-logos li.compact img { height: 40px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 820px); gap: 48px; align-items: center; padding: clamp(48px, 7vw, 84px) 0 clamp(32px, 4vw, 48px); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 600; margin-bottom: .35em; }
@media (min-width: 721px) { .hero h1 em { white-space: nowrap; } }
.hero h1 em { font-style: normal; color: var(--gold); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--gold); margin-bottom: 14px; }
.lead { font-size: 1.15rem; max-width: 560px; color: #cbd8da; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 6px; }
.features { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: clamp(40px, 6vw, 64px); }
.feature { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.feature h3 { color: #fff; font-size: 1.05rem; margin: 0 0 2px; }
.feature p { margin: 0; color: #c3d3d6; font-size: .95rem; }
.feature-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(0, 167, 157, .15); }
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 48px; align-items: center; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-copy h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.about-copy p { color: var(--muted); font-size: 1.08rem; }
.about-copy .goal-label { color: var(--ink); font-weight: 600; margin: 24px 0 10px; }
.about-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-feature { padding: clamp(24px, 3vw, 36px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.about-feature h3 { font-size: 1.25rem; margin-bottom: .6em; }
.about-feature p { color: var(--muted); margin: 0; }
.about-feature .service-icon { margin-bottom: 18px; }
.goals { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.goals li { padding: 8px 18px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); font-weight: 600; border: 1px solid #bfe4df; }
.why-card { position: relative; overflow: hidden; background: var(--ink); color: #d6e3e5; border-radius: var(--radius); padding: 32px; }
.why-card h3 { color: #fff; font-size: 1.4rem; }
.why-card .mission { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); color: var(--gold); font-weight: 500; }
.why-mark { position: absolute; right: -10px; top: -30px; font-size: 160px; font-weight: 700; line-height: 1; color: rgba(0, 167, 157, .12); pointer-events: none; }

.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; margin-bottom: 18px; }
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #8a9ca0; }
.status-pill[data-state="open"] .dot { background: #3ccf7f; box-shadow: 0 0 0 4px rgba(60, 207, 127, .2); }
.status-pill[data-state="soon"] .dot { background: var(--gold-2); box-shadow: 0 0 0 4px rgba(25, 189, 178, .2); }
.status-pill[data-state="closed"] .dot { background: #e0675f; }


/* Services */
/* Services: tall photo with the title on it, then tiles in rows of 3 and 2 */
.wrap-wide { width: min(1600px, 100% - 32px); }
.services-layout { display: grid; grid-template-columns: minmax(280px, 1fr) 3fr; gap: 10px; }
.services-photo { position: sticky; top: 96px; align-self: start; height: min(calc(100vh - 120px), 100%); overflow: hidden; display: flex; align-items: flex-end; min-height: 420px; background: var(--ink); }
.services-photo picture, .services-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 25%; }
.services-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .05) 35%, rgba(0, 0, 0, .7)); }
.services-intro { position: relative; z-index: 1; padding: clamp(22px, 2.4vw, 34px); color: #fff; }
.services-intro h1, .services-intro h2 { color: #fff; margin-bottom: .35em; font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
.services-intro p { margin: 0; color: rgba(255, 255, 255, .92); font-size: 1.05rem; }
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.services-grid > .service { grid-column: span 2; }
.services-grid > .service:nth-last-child(2):nth-child(3n + 1), .services-grid > .service:last-child:nth-child(3n + 2) { grid-column: span 3; }
.services-grid > .service:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
.service { background: #f4f7f7; padding: clamp(32px, 4vw, 64px) clamp(22px, 2.6vw, 44px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.service h3 { font-size: 1.3rem; margin-bottom: .7em; }
.service p { color: var(--muted); margin: 0 0 18px; max-width: 520px; }
.service-icon { margin-bottom: 18px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--gold); }
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service .text-link { margin-top: auto; }

/* Wizard */
.wizard { padding: clamp(20px, 4vw, 36px); }
.steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: s; }
.steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); position: relative; text-align: center; }
.steps li::before { content: ""; position: absolute; top: 15px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 2px; background: var(--line); }
.steps li:first-child::before { display: none; }
.steps li.done::before, .steps li.current::before { background: var(--gold); }
.steps span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line); background: #fff; font-weight: 600; position: relative; z-index: 1; }
.steps li.done span { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.steps li.current span { border-color: var(--ink); background: var(--ink); color: #fff; }
.steps li.current { color: var(--ink); font-weight: 600; }
.steps em { font-style: normal; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-size: 1.3rem; font-weight: 600; color: var(--ink); margin-bottom: 16px; padding: 0; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; }
.choice input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; align-items: center; min-height: 56px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 500; transition: border-color .15s, background .15s; }
.choice span:hover { border-color: var(--gold); }
.choice input:checked + span { border-color: var(--ink); background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.seg label { position: relative; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 500; background: #fff; }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg-sm span { min-height: 40px; padding: 0 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row2.align-end { align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-weight: 500; font-size: .95rem; }
.field input, .field select, .field textarea { font-weight: 400; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; min-height: 48px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px var(--gold-soft); }
.field small { color: var(--muted); font-weight: 400; }
[aria-invalid="true"] { border-color: var(--bad) !important; background: var(--bad-soft) !important; }
.step-error, .field-error { color: var(--bad); font-weight: 500; margin: 8px 0 0; }
.alert { margin-top: 16px; padding: 14px 16px; border-radius: 12px; }
.alert-urgent { background: var(--bad-soft); color: #5c120d; border: 1px solid #f3c1bc; }
.alert-urgent a { font-weight: 700; }

.date-strip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; }
.date-chip { flex: 0 0 auto; scroll-snap-align: start; width: 72px; padding: 10px 4px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; }
.date-chip b { font-size: 1.35rem; color: var(--ink); }
.date-chip small { font-size: .78rem; color: var(--muted); }
.date-chip:hover:not(:disabled) { border-color: var(--gold); }
.date-chip.sel { background: var(--ink); border-color: var(--ink); }
.date-chip.sel b, .date-chip.sel small { color: #fff; }
.date-chip:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

.review { margin: 0 0 16px; border: 1px solid var(--line); border-radius: 12px; }
.review div { display: grid; grid-template-columns: 130px 1fr auto; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); align-items: start; }
.review div:last-child { border-bottom: 0; }
.review dt { color: var(--muted); font-size: .92rem; }
.review dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.done { text-align: center; padding: 20px 0; }
.done-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); font-size: 2rem; font-weight: 700; margin: 0 auto 16px; }
.demo-note { font-size: .85rem; color: var(--warn); background: var(--warn-soft); border-radius: 8px; padding: 8px 12px; display: table; margin: 0 auto 16px; }

/* Insurance */
.ins-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.ins-grid h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.search { position: relative; }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search input { width: 100%; min-height: 60px; padding: 0 20px 0 52px; border: 2px solid var(--line); border-radius: 14px; font-size: 1.1rem; background: #fff; }
.search input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 4px var(--gold-soft); }
.ins-result { margin-top: 16px; }
.ins-result:empty { display: none; }
.ins-result.ok, .ins-result.maybe { padding: 18px 20px; border-radius: 14px; }
.ins-result.ok { background: var(--ok-soft); border: 1px solid #bfe3cf; }
.ins-result.maybe { background: var(--warn-soft); border: 1px solid #bfe4df; }
.ins-head { font-weight: 600; font-size: 1.1rem; color: var(--ink); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.ins-head .ok-icon { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ins-result ul { margin: 0 0 10px; padding-left: 20px; }
.ins-result p:last-of-type { margin-bottom: 12px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; border: 1px solid var(--line); background: var(--tint); border-radius: 999px; padding: 6px 12px; font-size: .9rem; cursor: pointer; }
button.chip:hover { border-color: var(--gold); background: #fff; }
.chip.static { cursor: default; background: #fff; }

/* Tools */
.tool { padding: clamp(22px, 3.5vw, 32px); }
.tool h2 { font-size: 1.55rem; }
.tool form .btn { margin-top: 8px; }
.checks { display: grid; gap: 8px; margin-bottom: 12px; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; min-height: 40px; margin-bottom: 14px; }
.checks .check { margin-bottom: 0; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.cl-done { text-align: center; padding: 24px 0 8px; }

/* Eyewear */

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; margin-inline: auto; }
.doc { background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); padding: 28px; text-align: center; }
.avatar { width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--gold), #00726b); display: grid; place-items: center; overflow: hidden; color: var(--ink); font-size: 2rem; font-weight: 700; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.doc p { margin: 0; font-size: .95rem; }

/* New patients */
.np-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.np-grid:has(.np-card[hidden]) { grid-template-columns: 1fr; }
.checklist { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 2px; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006b65' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.np-card { padding: 28px; }
/* Contact lenses page */
.sub-title { font-size: 1.5rem; margin: 8px 0 18px; }
.glasses-intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.glasses-intro h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.glasses-lead { color: var(--muted); font-size: 1.12rem; max-width: 540px; }
.glasses-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.glasses-brands { margin-bottom: 36px; }
.glasses-brands img { opacity: .7; }
.lens-makers { margin: -8px 0 28px; gap: 22px 56px; }
.lens-makers li.compact img { height: 54px; max-width: 170px; opacity: .8; }
#glassLenses { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { #glassLenses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { #glassLenses { grid-template-columns: 1fr; } }
.glasses-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.glasses-points li, .glass-steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.glasses-points h3, .glass-steps h3 { font-size: 1.12rem; margin-bottom: .4em; }
.glasses-points p, .glass-steps p { color: var(--muted); margin: 0; font-size: .97rem; }
.glass-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.glass-steps .how-num { position: static; margin-bottom: 12px; width: 32px; height: 32px; font-size: .95rem; }
@media (max-width: 960px) { .glasses-intro { grid-template-columns: 1fr; } .glasses-photo { order: -1; } }
@media (max-width: 720px) { .glasses-points, .glass-steps { grid-template-columns: 1fr; } }
.explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.explore-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.explore-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 2px 4px rgba(14, 42, 51, .06), 0 16px 32px rgba(14, 42, 51, .1); }
.explore-card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.explore-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.explore-body h3 { font-size: 1.2rem; margin-bottom: .4em; }
.explore-body p { color: var(--muted); font-size: .97rem; margin: 0 0 16px; }
.explore-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--gold-ink); font-weight: 600; }
.explore-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.explore-card:hover .explore-more svg { transform: translateX(3px); }
@media (max-width: 1100px) { .explore-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .explore-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .explore-card, .explore-more svg { transition: none; } .explore-card:hover { transform: none; } }
.lens-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.lens-type { padding: 22px; }
.lens-type h3 { font-size: 1.12rem; margin-bottom: .45em; }
.lens-type p { color: var(--muted); margin: 0; font-size: .97rem; }
.lens-extra { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
.lens-brands, .lens-color { padding: clamp(22px, 3vw, 32px); }
.lens-brands p, .lens-color p { color: var(--muted); }
.lens-logos { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lens-logos li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: center; }
.lens-logos span { font-size: .88rem; color: var(--muted); line-height: 1.3; }
/* Official logos are shown in one dark gray so white and colored versions match. */
.lens-logos img, .lens-color-logo { display: block; height: 28px; width: auto; max-width: 100%; object-fit: contain; filter: brightness(0); opacity: .78; }
/* CooperVision's logo has a colored lens graphic: grayscale keeps its shape. */
.lens-logos img[src$=".png"] { height: 38px; filter: grayscale(1); opacity: 1; }
.lens-color-logo { height: 30px; margin: 4px 0 18px; }
.lens-color { border-top: 4px solid var(--gold); display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: center; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.badges .fda-badge { margin-bottom: 0; }
.partner-badge { display: inline-flex; align-items: center; background: var(--gold-soft); color: var(--gold-ink); border: 1px solid #c9e9e5; border-radius: 999px; padding: 4px 12px; font-weight: 600; font-size: .88rem; }
.hk-gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hk-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%; border-radius: 10px; }
.hk-gallery span { display: block; margin-top: 6px; text-align: center; font-size: .8rem; line-height: 1.3; color: var(--muted); }
.hk-gallery strong { color: var(--ink); font-weight: 600; font-size: .88rem; }
.fda-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--ok-soft); color: #1d5b3a; border: 1px solid #bfe3cf; border-radius: 999px; padding: 4px 12px 4px 8px; font-weight: 600; font-size: .88rem; margin-bottom: 12px; }
.fda-badge svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lens-color-warn { font-size: .95rem; border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 0; }
.how-tabs { display: flex; justify-content: center; gap: 6px; margin: 0 auto 24px; padding: 4px; width: fit-content; max-width: 100%; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.how-tabs button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.how-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.how-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1080px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .how-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .how-steps { grid-template-columns: 1fr; } }
.how-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 18px; }
.how-step h3 { font-size: 1.05rem; margin: 12px 0 .35em; }
.how-step p { color: var(--muted); font-size: .93rem; margin: 0; }
.how-art { position: relative; border-radius: 12px; overflow: hidden; background: var(--tint); aspect-ratio: 3 / 2; }
.how-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.how-num { position: absolute; top: 8px; left: 8px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #fff; font-weight: 700; font-size: .85rem; }
.how-tip { margin: 22px auto 0; max-width: 760px; text-align: center; color: var(--muted); }
.lens-care-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.checklist-1 { grid-template-columns: 1fr; }
.lens-side { display: grid; gap: 16px; }
.lens-warn, .lens-exam { padding: 24px; }
.lens-warn { border-left: 4px solid var(--gold); }
.lens-warn h3, .lens-exam h3 { font-size: 1.15rem; }
.lens-warn p, .lens-exam p { color: var(--muted); }
.lens-cta { text-align: center; }
.section-gold { background: var(--gold-soft); border-top: 1px solid #c9e9e5; }
.lens-cta p { color: var(--muted); font-size: 1.08rem; }
.lens-cta .hero-cta { justify-content: center; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--gold-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* Visit */
.msg-wrap { max-width: 820px; }
.msg-form, .msg-done { padding: clamp(22px, 3vw, 34px); }
.msg-form textarea { resize: vertical; min-height: 140px; font: inherit; }
.msg-form [aria-invalid="true"] { border-color: var(--bad); }
.msg-form .fine { margin: 4px 0 14px; }
.msg-form .field-error { margin: 0 0 14px; }
.msg-done { border-top: 4px solid var(--gold); text-align: center; }
.msg-done:focus { outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: stretch; }
.visit-info h3 { margin-top: 28px; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.addr { font-size: 1.1rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; color: var(--ink); }
.tag { display: inline-block; margin-left: 8px; background: var(--gold); color: var(--ink); font-size: .72rem; padding: 1px 8px; border-radius: 999px; vertical-align: middle; }
.contact-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-lines li { display: flex; align-items: center; gap: 12px; }
.contact-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); }
.contact-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-lines a { word-break: break-word; }
.getting { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.getting li { display: flex; align-items: center; gap: 12px; }
.map { overflow: hidden; min-height: 420px; padding: 0; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact-done { text-align: center; }

/* Footer */
.site-footer { background: var(--ink); color: #a9bcc0; padding: 48px 0 40px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.site-footer p { margin: 12px 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.site-footer nav a { text-decoration: none; color: #e3eced; }
.site-footer nav a:hover { color: var(--gold); }
.copy { align-self: stretch; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; font-size: .9rem; }

/* Mobile action bar */
.action-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1300px) {
  .menu-btn { display: flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 0, 0, .08); padding: 8px 16px 16px; margin: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .features { grid-template-columns: 1fr; gap: 10px; }
  .services-layout { grid-template-columns: 1fr; }
  .services-photo { position: relative; top: auto; height: auto; min-height: 320px; }
  .hero-grid, .about-grid, .about-features, .ins-grid, .visit-grid, .np-grid, .lens-care-grid, .lens-extra, .lens-color { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid > .service, .services-grid > .service:nth-last-child(2):nth-child(3n + 1), .services-grid > .service:last-child:nth-child(3n + 2), .services-grid > .service:last-child:nth-child(3n + 1) { grid-column: auto; }
  .services-grid > .service:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .team-grid { gap: 12px; }
  }
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .header-inner { gap: 10px; min-height: 64px; }
  .header-actions { gap: 8px; }
  .header-actions > .btn, .phone-link { display: none; }
  .logo-word { font-size: 1.05rem; letter-spacing: .1em; }
  .logo-cn { font-size: .7rem; letter-spacing: .4em; }
  .logo-badge { width: 54px; height: 36px; }
  .logo-badge img { width: 44px; }
  .lang button { padding: 4px 8px; font-size: .8rem; }
  .hero-photo { width: 100%; }
  .hero-photo img { object-position: 50% 20%; }
  .hero-photo::after { background: linear-gradient(0deg, rgba(14, 42, 51, .92) 0%, rgba(14, 42, 51, .7) 55%, rgba(14, 42, 51, .45) 100%); }
  .brand-logos { gap: 18px 28px; }
  .brand-logos img { height: 20px; max-width: 110px; }
  .brand-logos li.compact img { height: 30px; }
  .services-grid > .service:last-child:nth-child(odd) { grid-column: auto; }
  .services-grid, .team-grid, .choice-grid, .row2, .checklist { grid-template-columns: 1fr; }
  .lens-logos, .hk-gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-cta .btn { flex: 1 1 100%; }
  .steps em { display: none; }
  .steps li.current em { display: block; position: absolute; top: 38px; white-space: nowrap; }
  .steps { margin-bottom: 44px; }
  .review div { grid-template-columns: 1fr auto; }
  .review dt { grid-column: 1 / -1; }
  .action-bar { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; font-size: .95rem; background: #fff; }
  .action-bar a.primary { background: var(--gold); border-color: var(--gold); color: var(--ink); }
  .map, .map iframe { min-height: 300px; }
}
@media (max-width: 380px) {
  .lang button { padding: 4px 6px; }
  .logo-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Visionary Eye Care additions ---------- */
/* Home: "What we treat" strip uses the brand strip layout with words instead of logos. */
.treat-list { gap: 12px 14px; }
.treat-list a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; transition: border-color .15s, color .15s; }
.treat-list a:hover { border-color: var(--gold); color: var(--gold-ink); }
/* Home: "Our advantages" cards reuse the doctor card style, with an icon in the circle. */
.adv-grid { grid-template-columns: repeat(2, 1fr); }
.avatar svg { width: 46px; height: 46px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.doc .muted-light { margin-top: 6px; }
/* About: illustrations from the current site instead of store photos. */
.about-photo.illus img { height: auto; aspect-ratio: auto; object-fit: contain; background: #fff; padding: 12px; }
@media (max-width: 720px) { .adv-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Visionary theme — its own look, separate from the Noon Vision template:
   light and airy, serif headings, deep-teal sections, arch-framed photos,
   orbit rings taken from the Visionary logo.
   ===================================================================== */
:root {
  --brand: #00a79d;          /* logo teal, for decoration */
  --brand-light: #7fd3ce;    /* logo light teal */
  --gold: #007a73;           /* primary buttons and links (white text passes contrast) */
  --gold-2: #00645e;
  --gold-ink: #006b65;
  --gold-soft: #e4f5f3;
  --ink: #12343b;
  --ink-2: #1b4249;
  --text: #2a3d42;
  --muted: #5a6d72;
  --line: #dbe8e6;
  --tint: #f2f9f8;
  --mint: #e9f7f5;
  --deep: #0c4a47;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(18, 52, 59, .05), 0 10px 30px rgba(18, 52, 59, .07);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --orbits: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none' stroke='%2300a79d' stroke-width='1.2'%3E%3Cellipse cx='200' cy='200' rx='190' ry='80'/%3E%3Cellipse cx='200' cy='200' rx='190' ry='80' transform='rotate(60 200 200)'/%3E%3Cellipse cx='200' cy='200' rx='190' ry='80' transform='rotate(120 200 200)'/%3E%3C/svg%3E");
}
body { font-size: 16.5px; line-height: 1.65; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; font-optical-sizing: auto; }
h3 { font-weight: 700; letter-spacing: -.005em; }
.section-head h2::after { content: ""; display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--brand); margin-top: 16px; }
.section-head.center h2::after { margin-inline: auto; }
.section-dark .section-head h2::after { background: var(--brand-light); }
.eyebrow { color: var(--gold-ink); letter-spacing: .16em; font-size: .76rem; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.brands-strip .eyebrow::before { display: none; }

/* Buttons: soft squares instead of pills */
.btn { border-radius: 12px; font-weight: 600; letter-spacing: .005em; }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 6px 16px rgba(0, 122, 115, .22); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost, .btn-ghost-dark { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover, .btn-ghost-dark:hover { border-color: var(--gold); color: var(--gold-ink); background: #fff; }


/* Header */
.site-header { background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.main-nav { gap: 6px; }
.main-nav a { padding: 8px 14px; border: 0; border-radius: 10px; font-weight: 600; color: var(--text); }
.main-nav a:hover { background: var(--tint); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--gold-soft); color: var(--gold-ink); }
.lang-toggle, .menu-btn { border-radius: 12px; }
.logo-word { font-weight: 700; letter-spacing: .16em; }
.logo-cn { color: var(--brand); font-weight: 600; }

/* Hero: light, text left, arch-framed photo right */
.hero { background: linear-gradient(180deg, var(--mint) 0%, #f7fcfb 70%, #fff 100%); color: var(--text); }
.hero::before { background: var(--orbits) no-repeat; background-size: 620px 620px; background-position: calc(100% + 120px) -60px; opacity: .22; }
.hero::after { content: ""; position: absolute; left: -140px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(127, 211, 206, .35), transparent 70%); pointer-events: none; }
.hero-grid { grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 44px); }
.hero h1 { color: var(--ink); font-size: clamp(2.6rem, 5.8vw, 4.6rem); line-height: 1.04; }
.hero h1 em { font-style: italic; color: var(--brand); }
.lead { color: var(--muted); font-size: 1.12rem; }
.hero-visual { position: relative; justify-self: end; width: min(100%, 500px); }
.hero-visual::before { content: ""; position: absolute; inset: -18px -18px 18px 18px; border-radius: 260px 260px 32px 32px; border: 1.5px solid var(--brand-light); }
.hero-photo { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 75% 35%; border-radius: 260px 260px 32px 32px; box-shadow: 0 30px 60px rgba(18, 52, 59, .18); pointer-events: none; }
.hero-photo::after { display: none; }
.status-pill { background: #fff; border: 1px solid var(--line); color: var(--text); box-shadow: var(--shadow); }
.features { gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 20px 22px; }
.feature h3 { color: var(--ink); }
.feature p { color: var(--muted); }
.feature-icon { background: var(--gold-soft); border-radius: 14px; }
.feature-icon svg { stroke: var(--gold-ink); }

/* "What we treat" strip */
.brands-strip { border-bottom: 0; padding: 30px 0 40px; }
.treat-list a { background: var(--tint); border-color: transparent; color: var(--ink); font-weight: 600; border-radius: 12px; }
.treat-list a:hover { background: var(--gold-soft); border-color: var(--brand-light); color: var(--gold-ink); }

/* Sections */
.section-tint { background: var(--tint); }
.section-dark { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--deep) 0%, #0a6560 100%); color: #d8efec; }
.section-dark::before { content: ""; position: absolute; right: -180px; top: -120px; width: 560px; height: 560px; background: var(--orbits) center / contain no-repeat; opacity: .14; filter: brightness(2.2); pointer-events: none; }
.section-dark .wrap { position: relative; }
.section-dark .section-head p, .muted-light { color: #bfe1dd; }
.doc { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(2px); }
.avatar { background: #fff; color: var(--gold-ink); box-shadow: 0 0 0 6px rgba(255, 255, 255, .12); }
.avatar svg { stroke: var(--gold-ink); }
.section-gold { background: linear-gradient(180deg, var(--mint), #fff); border-top: 0; }

/* Cards */
.card, .explore-card, .how-step, .glasses-points li, .glass-steps li, .faq details { border-color: var(--line); box-shadow: none; }
.explore-card { border-radius: 24px; }
.explore-card img { aspect-ratio: 4 / 3; }
.explore-card:hover { box-shadow: var(--shadow); border-color: var(--brand-light); }
.explore-body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
.service-icon { border: 0; background: var(--gold-soft); border-radius: 16px; }
.service-icon svg { stroke: var(--gold-ink); }

/* Services page: white cards instead of gray tiles */
.services-layout { gap: 16px; }
.services-grid { gap: 16px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.service h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; }
.services-photo { border-radius: 28px; background: var(--deep); }
.services-photo::after { background: linear-gradient(to bottom, rgba(12, 74, 71, 0) 35%, rgba(12, 74, 71, .88)); }

/* About */
.why-card { background: linear-gradient(135deg, var(--deep), #0a6560); color: #d8efec; border-radius: 28px; }
.why-card .mission { color: var(--brand-light); }
.why-mark { color: rgba(255, 255, 255, .08); font-family: var(--serif); font-style: italic; }
.goals li { border-radius: 12px; border-color: transparent; }
.about-photo img { border-radius: 28px; }

/* Smaller details */
.how-tabs, .how-tabs button { border-radius: 14px; }
.how-tabs button[aria-selected="true"] { background: var(--gold); }
.how-num { background: var(--gold); }
.faq summary::after { color: var(--brand); }
.tag { background: var(--gold); color: #fff; }
.checklist li::before { background-color: var(--gold-soft); }
.msg-done { border-top-color: var(--brand); }
.lens-warn { border-left-color: var(--brand); }
.search input, .field input, .field select, .field textarea { border-radius: 12px; }

/* Footer: light, with the full-color logo */
.site-footer { background: var(--mint); color: var(--muted); border-top: 1px solid var(--line); }
.logo-footer img { mix-blend-mode: normal; }
.site-footer nav a { color: var(--ink); font-weight: 600; }
.site-footer nav a:hover { color: var(--gold-ink); }
.copy { border-top-color: var(--line); }

/* Mobile */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; width: min(100%, 440px); order: -1; }
  .hero-photo { aspect-ratio: 5 / 4; border-radius: 200px 200px 28px 28px; }
  .hero-visual::before { border-radius: 200px 200px 28px 28px; }
}
@media (max-width: 720px) {
  .hero-visual::before { inset: -10px -10px 10px 10px; }
  .hero-photo { object-position: 78% 30%; }
  .action-bar a.primary { color: #fff; }
}

/* "What we treat": all buttons in one row. Centered when they fit; on smaller screens the row scrolls sideways. */
.treat-list { flex-wrap: nowrap; justify-content: flex-start; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; }
.treat-list::-webkit-scrollbar { display: none; }
.treat-list li { flex: none; }
.treat-list li:first-child { margin-left: auto; }
.treat-list li:last-child { margin-right: auto; }
.treat-list a { white-space: nowrap; padding: 8px 13px; font-size: .9rem; }

/* ---------- Hindi and Urdu ---------- */
/* Hindi: Devanagari script */
html[lang="hi"] { --font: "Noto Sans Devanagari", "Plus Jakarta Sans", system-ui, sans-serif; --serif: "Noto Sans Devanagari", Georgia, serif; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] .explore-body h3, html[lang="hi"] .service h3 { font-weight: 600; letter-spacing: 0; }
html[lang="hi"] .hero h1 { line-height: 1.25; }
html[lang="hi"] .eyebrow, html[lang="hi"] .logo-word { letter-spacing: .04em; }
/* Urdu: Nastaliq script, written right to left. Nastaliq needs extra line height. */
html[lang="ur"] { --font: "Noto Nastaliq Urdu", "Plus Jakarta Sans", system-ui, sans-serif; --serif: "Noto Nastaliq Urdu", Georgia, serif; }
html[lang="ur"] body { line-height: 2.1; }
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3 { line-height: 1.9; font-weight: 600; letter-spacing: 0; }
html[lang="ur"] .hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.8; }
html[lang="ur"] .hero h1 em, html[lang="ur"] .why-mark { font-style: normal; }
html[lang="ur"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .9rem; }
html[lang="ur"] .btn { line-height: 1.6; padding-block: 6px; }
html[lang="ur"] .main-nav a, html[lang="ur"] .treat-list a { line-height: 1.9; }
/* Keep the logo, phone numbers, emails and plan names in their own direction */
.logo, .js-phone-text, .js-email, .lang-current, .addr { unicode-bidi: isolate; }
.logo, .js-phone-text, .js-email { direction: ltr; }
/* Right-to-left fixes for the few things placed with left/right */
[dir="rtl"] .hero-visual { justify-self: start; }
[dir="rtl"] .hero-visual::before { inset: -18px 18px 18px -18px; }
[dir="rtl"] .lang-menu .lang { right: auto; left: 0; }
[dir="rtl"] .lang-menu .lang button { text-align: right; }
[dir="rtl"] .faq summary { padding: 18px 20px 18px 52px; }
[dir="rtl"] .faq summary::after { right: auto; left: 20px; }
[dir="rtl"] .search svg { left: auto; right: 18px; }
[dir="rtl"] .search input { padding: 0 52px 0 20px; }
[dir="rtl"] .how-num { left: auto; right: 8px; }
[dir="rtl"] .hours td { text-align: left; }
[dir="rtl"] .hours th { text-align: right; }
[dir="rtl"] .tag { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .explore-more svg { transform: scaleX(-1); }
[dir="rtl"] .explore-card:hover .explore-more svg { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .lens-warn { border-left: 1px solid var(--line); border-right: 4px solid var(--brand); }
[dir="rtl"] .why-mark { right: auto; left: -10px; }
[dir="rtl"] .section-dark::before { right: auto; left: -180px; }
[dir="rtl"] .hero::before { background-position: -120px -60px; }
[dir="rtl"] .treat-list li:first-child { margin-left: 0; margin-right: auto; }
[dir="rtl"] .treat-list li:last-child { margin-right: 0; margin-left: auto; }
@media (max-width: 960px) { [dir="rtl"] .hero-visual { justify-self: center; } }
@media (max-width: 720px) { [dir="rtl"] .hero-visual::before { inset: -10px 10px 10px -10px; } }
/* Off-screen helpers must hide to the right in RTL, or the page scrolls sideways */
[dir="rtl"] .skip { left: auto; right: -999px; }
[dir="rtl"] .skip:focus { right: 8px; }
[dir="rtl"] .hp { left: auto; right: -9999px; }
/* Addresses and opening times read left to right, even inside Urdu text */
.js-street, .js-city { unicode-bidi: isolate; direction: ltr; }
[dir="rtl"] .hours td { direction: ltr; unicode-bidi: isolate; }
/* Contact Lenses page: brand names keep their own (left-to-right) order in Urdu */
.lens-logos span { unicode-bidi: plaintext; }
/* Services page: "Call 718-470-2277" button on Emergency Eye Care */
.service .service-call { margin-top: auto; max-width: 100%; flex-wrap: wrap; column-gap: 6px; row-gap: 0; white-space: normal; padding-block: 8px; text-align: center; }
.service-call .js-phone-text { white-space: nowrap; }
.service-call svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Contact page: upcoming holiday closures under the hours table */
.holiday-note { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--gold-soft); }
.holiday-title { margin: 0 0 6px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.holiday-note ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.holiday-note li { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; color: var(--text); }
.holiday-note li span:last-child { color: var(--gold-ink); font-weight: 600; white-space: nowrap; }

/* Insurance page: the checker on its own, one column */
.ins-grid.ins-solo { grid-template-columns: 1fr; }
/* Insurance page: vision vs medical cards, 4 steps */
.ins-types { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
.ins-type { padding: clamp(22px, 3vw, 30px); border-top: 4px solid var(--brand); }
.ins-type h3 { font-size: 1.3rem; margin-bottom: .3em; }
.ins-type-sub { color: var(--muted); margin-bottom: 16px; }
.ins-type .checklist { margin-bottom: 18px; }
.ins-type-ex { margin: 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .92rem; color: var(--muted); }
.ins-steps { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .ins-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .ins-types, .ins-steps { grid-template-columns: 1fr; } }
#insurance.page-top { min-height: 0; }
/* Insurance page: terms (glossary) and tips */
.ins-terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; }
.ins-term { padding: 22px; }
.ins-term dt { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink); margin-bottom: .4em; }
.ins-term dd { margin: 0; color: var(--muted); font-size: .97rem; }
.ins-tips { max-width: 980px; margin: 0 auto; gap: 18px 32px; }
.ins-tips strong { display: block; color: var(--ink); margin-bottom: 2px; }
.ins-tips span { color: var(--muted); font-size: .97rem; }
@media (max-width: 960px) { .ins-terms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .ins-terms, .ins-tips { grid-template-columns: 1fr; } }

/* ===== Centered text everywhere: lines spread out from the middle ===== */
main, .site-footer { text-align: center; }
.section-head { margin-inline: auto; }
.section-head h2::after { margin-inline: auto; }
.hero-cta, .ins-head, .getting li, .contact-lines li, .checklist li { justify-content: center; }
.hero-copy, .about-copy, .visit-info, .np-grid > *, .lens-care-grid > *, .glasses-intro > * { text-align: center; }
.feature { flex-direction: column; text-align: center; }
.explore-body { align-items: center; }
.glass-steps .how-num { margin-inline: auto; }
.faq summary { padding-inline: 52px; }
.hours { width: auto; min-width: min(340px, 100%); margin-inline: auto; }
.hours th, .hours td, [dir="rtl"] .hours th, [dir="rtl"] .hours td { text-align: center; padding-inline: 14px; }
.field { align-items: stretch; text-align: center; }
.ins-result ul, main ul:not([class]), main ol:not([class]) { list-style-position: inside; padding-inline: 0; }
.lens-warn { border-left: 0; border-top: 4px solid var(--brand); }
.checklist li > div, .checklist li { text-align: center; }
#npList { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.getting li, .contact-lines li { flex-direction: column; align-items: center; gap: 6px; }
.getting { gap: 16px; }
.ins-tips li, #lensCare li { flex-direction: column; align-items: center; gap: 6px; }
.goals, .chips { justify-content: center; }
/* Home: "Our advantages" as 4 cards in one row (2 x 2 on tablets, 1 column on phones) */
.team-grid.adv-grid { grid-template-columns: repeat(4, 1fr); max-width: 1180px; }
@media (max-width: 1000px) { .team-grid.adv-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; } }
@media (max-width: 720px) { .team-grid.adv-grid { grid-template-columns: 1fr; } }
.menu-btn { flex: none; }
