:root {
  --gold: #cba135;
  --gold-2: #e8bf4f;
  --gold-ink: #7a5a06;
  --gold-soft: #fbf1d6;
  --ink: #1c1a17;
  --ink-2: #2b2823;
  --text: #2a2722;
  --muted: #6b6559;
  --line: #e7e0d1;
  --bg: #ffffff;
  --tint: #faf6ec;
  --ok: #1f7a4d;
  --ok-soft: #e6f4ec;
  --warn: #9a5b00;
  --warn-soft: #fff4dc;
  --bad: #b3261e;
  --bad-soft: #fdecea;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(28, 26, 23, .06), 0 8px 24px rgba(28, 26, 23, .06);
  --font: "Jost", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Apple SD Gothic Neo", "Malgun Gothic", system-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: #e9e4d8; }
.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: #c9c2b2; }
.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); }
/* Insurance page: the checker sits on a compact white band, with the guide right below it */
#insurance.page-top { min-height: 0; padding: clamp(40px, 6vw, 64px) 0 clamp(36px, 5vw, 56px); }
.muted { color: var(--muted); }
.muted-light { color: #c9c2b2; }
.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: 64px; height: 42px; border-radius: 10px; background: #000; flex: none; }
.logo-badge img { width: 52px; 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: .5em; margin-top: 3px; }
.logo-footer { display: inline-block; }
.logo-footer img { display: block; margin-inline: auto; width: 200px; height: auto; mix-blend-mode: lighten; }
.main-nav { display: flex; gap: 16px; 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% - 32px); }
  .header-actions { gap: 8px; }
  .main-nav { gap: 14px; }
  .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(28, 26, 23, .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='%237a5a06' 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: #eae4d6; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 20%, rgba(214, 166, 42, .28), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(214, 166, 42, .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(28, 26, 23, .55) 35%, rgba(28, 26, 23, 0) 70%), linear-gradient(0deg, rgba(28, 26, 23, .85) 0%, rgba(28, 26, 23, 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; }
.brand-logos li.wide img { height: 17px; max-width: 200px; }
.brand-logos li.lg img { height: 32px; }
.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: #d7d0c0; }
.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: #cfc8b8; font-size: .95rem; }
.feature-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(203, 161, 53, .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 #ecd9a6; }
.why-card { position: relative; overflow: hidden; background: var(--ink); color: #e3dccb; 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(203, 161, 53, .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; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.hero-badges .status-pill { margin-bottom: 0; }
.hours-pill svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hours-pill[hidden] { display: none; }
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #9c9586; }
.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(232, 191, 79, .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: #f7f6f2; 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: minmax(0, 760px); justify-content: center; 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 #f1d9a3; }
.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), #a67b12); 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='%237a5a06' 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(28, 26, 23, .06), 0 16px 32px rgba(28, 26, 23, .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; } }
.ins-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.ins-type { padding: 22px; }
.ins-type .contact-icon { margin-bottom: 14px; }
.ins-type h3 { font-size: 1.12rem; margin-bottom: .45em; }
.ins-type p { color: var(--muted); margin: 0; font-size: .97rem; }
.ins-before { max-width: 1000px; }
@media (max-width: 1100px) { .ins-types { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ins-types { grid-template-columns: 1fr; } }
.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 #f1e2b8; 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 #f1e2b8; }
.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: #b9b2a2; 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: #e9e4d8; }
.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(28, 26, 23, .92) 0%, rgba(28, 26, 23, .7) 55%, rgba(28, 26, 23, .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; }
}
