/* =========================================================================
   VIENNA VISION — Premium Optical & Vision Care
   Design system + components. No framework, no build. Vanilla CSS.
   ========================================================================= */

/* ----------------------------- Design tokens ---------------------------- */
:root {
  /* Brand */
  --red:        #E50914;
  --red-deep:   #B8000A;
  --red-tint:   #FDECEC;
  --red-glow:   rgba(229, 9, 20, 0.18);

  /* Neutrals */
  --ink:        #111111;
  --ink-soft:   #181818;
  --ink-2:      #3a3a3a;
  --muted:      #6b6b6b;
  --white:      #ffffff;
  --warm:       #FAFAF7;
  --gray-light: #F3F3F3;
  --border:     #E7E7E7;
  --border-2:   #efefef;

  /* Typography */
  --font-display: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;
  --font-si:      "Noto Sans Sinhala", "Inter", sans-serif;

  /* Fluid type scale */
  --fs-eyebrow: 0.78rem;
  --fs-body:    1.0625rem;
  --fs-lead:    clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
  --fs-h4:      1.15rem;
  --fs-h3:      clamp(1.35rem, 1.1rem + 1vw, 1.7rem);
  --fs-h2:      clamp(2rem, 1.4rem + 2.6vw, 3.35rem);
  --fs-hero:    clamp(2.6rem, 1.4rem + 5vw, 5.2rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.85rem;
  --space-md: 1.35rem;
  --space-lg: 2.25rem;
  --space-xl: 3.5rem;
  --space-2xl: clamp(4rem, 3rem + 5vw, 7.5rem);

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-soft:   0 6px 24px rgba(17, 17, 17, 0.06);
  --shadow-medium: 0 18px 50px rgba(17, 17, 17, 0.10);
  --shadow-strong: 0 30px 70px rgba(17, 17, 17, 0.16);
  --shadow-red:    0 16px 34px rgba(229, 9, 20, 0.28);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1.15rem, 0.6rem + 2.4vw, 2.75rem);
  --nav-h: 78px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.si { font-family: var(--font-si); }
body.si h1, body.si h2, body.si h3, body.si h4, body.si .eyebrow { font-family: var(--font-si); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

body.nav-open { overflow: hidden; }

/* ----------------------------- Utilities -------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-2xl); position: relative; }
.section--warm { background: var(--warm); }
.section--dark { background: var(--ink); color: #d6d6d6; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow); font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
.eyebrow--center::after { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
.eyebrow--light { color: #ff6b73; }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-h2); margin-top: 0.9rem; }
.section-head p { margin-top: 1rem; font-size: var(--fs-lead); color: var(--muted); }
.section--dark .section-head h2 { color: #fff; }
.section--dark .section-head p { color: #b5b5b5; }

.text-red { color: var(--red); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* Fallback: if JS is disabled, never hide content */
.no-js .reveal { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }

/* ------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.01em; padding: 0.95rem 1.6rem; border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { background: var(--red-deep); transform: translateY(-3px); box-shadow: 0 22px 40px rgba(229,9,20,0.34); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-medium); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-3px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow-medium); }
.btn--wa { background: #25D366; color: #05320f; }
.btn--wa:hover { background: #1eb857; transform: translateY(-3px); }
.btn--block { width: 100%; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  border-bottom: 2px solid transparent; padding-bottom: 2px; transition: color 0.2s, gap 0.2s;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--red); gap: 0.8rem; }

/* ============================== NAVBAR ================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s, height 0.35s, border-color 0.35s;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { height: 66px; background: rgba(255,255,255,0.92); box-shadow: var(--shadow-soft); border-bottom-color: var(--border); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand img { height: 34px; width: auto; }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand .wordmark b { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.14em; font-size: 1.02rem; color: var(--ink); }
.brand .wordmark span { font-size: 0.6rem; letter-spacing: 0.02em; color: var(--red); font-weight: 700; margin-top: 3px; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 0.15rem; }
.nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  padding: 0.5rem 0.7rem; border-radius: var(--radius-pill); color: var(--ink-2);
  position: relative; transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--red); }
.nav-links a.active::after { content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 2px; height: 2px; background: var(--red); border-radius: 2px; }
.nav-actions { display: flex; align-items: center; gap: 0.65rem; }
.lang-toggle {
  display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 700;
  font-size: 0.85rem; border: 1.5px solid var(--border); border-radius: var(--radius-pill);
  overflow: hidden;
}
.lang-toggle button { padding: 0.4rem 0.75rem; color: var(--muted); transition: background 0.2s, color 0.2s; }
.lang-toggle button.active { background: var(--ink); color: #fff; }

.hamburger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--border); align-items: center; justify-content: center; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform 0.3s, opacity 0.2s; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: transform 0.3s; }
.hamburger span::before { top: -6px; } .hamburger span::after { top: 6px; }

/* Mobile overlay menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; padding: calc(var(--nav-h) + 1rem) var(--gutter) 2rem;
  transform: translateY(-100%); transition: transform 0.5s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu a { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; padding: 0.55rem 0; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--red); }
.mobile-menu .mm-foot { margin-top: auto; display: grid; gap: 0.8rem; padding-top: 1.5rem; }
.mm-lang { display: inline-flex; gap: 0.5rem; }
.mm-lang button { border: 1.5px solid rgba(255,255,255,0.2); border-radius: var(--radius-pill); padding: 0.5rem 1.1rem; color: #fff; font-weight: 700; font-family: var(--font-display); }
.mm-lang button.active { background: #fff; color: var(--ink); }

/* ============================== HERO ==================================== */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(1.5rem, 4vw, 3.5rem)); padding-bottom: var(--space-2xl); overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--warm) 100%); }
.hero::before { /* soft lens ring */
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -140px;
  border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--red-tint), transparent 62%);
  z-index: 0; pointer-events: none;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero-copy h1 { font-size: var(--fs-hero); margin: 1.1rem 0 0; letter-spacing: -0.035em; }
.hero-copy h1 .accent { color: var(--red); display: inline-block; }
.hero-copy .lead { margin-top: 1.35rem; font-size: var(--fs-lead); color: var(--ink-2); max-width: 30ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-sub { margin-top: 1.5rem; }
.hero-trust { display: flex; gap: 2.2rem; margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid var(--border); }
.hero-trust .stat b { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--ink); display: block; line-height: 1; }
.hero-trust .stat b i { color: var(--red); font-style: normal; }
.hero-trust .stat span { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }

.hero-visual { position: relative; }
.hero-frame {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 4/4.6; box-shadow: var(--shadow-strong);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 20%; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(17,17,17,0.55)); }
.hero-badge {
  position: absolute; top: 22px; left: -18px; background: #fff; border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem; box-shadow: var(--shadow-medium); display: flex; align-items: center; gap: 0.7rem; z-index: 3;
}
.hero-badge .ring { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--red); display: grid; place-items: center; color: var(--red); font-weight: 800; font-family: var(--font-display); }
.hero-badge b { font-family: var(--font-display); font-size: 0.95rem; color: var(--ink); display: block; line-height: 1.15; }
.hero-badge span { font-size: 0.72rem; color: var(--muted); }
.hero-card {
  position: absolute; bottom: 18px; left: 18px; right: 18px; background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px); border-radius: var(--radius-md); padding: 0.9rem 1.1rem; z-index: 3;
  display: flex; align-items: center; gap: 0.9rem; box-shadow: var(--shadow-soft);
}
.hero-card .dot { width: 10px; height: 10px; border-radius: 50%; background: #25D366; box-shadow: 0 0 0 4px rgba(37,211,102,0.2); flex: none; }
.hero-card b { font-family: var(--font-display); color: var(--ink); font-size: 0.95rem; }
.hero-card span { font-size: 0.8rem; color: var(--muted); }

.scroll-ind { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; color: var(--muted); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }
.scroll-ind .mouse { width: 24px; height: 38px; border: 2px solid var(--border); border-radius: 14px; position: relative; }
.scroll-ind .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 7px; background: var(--red); border-radius: 3px; animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0);} 40% { opacity: 1;} 80% { opacity: 0; transform: translate(-50%, 12px);} 100% { opacity: 0;} }

/* ============================ TRUST STATS =============================== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 3rem; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.9rem 1.5rem; text-align: center; transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s; }
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-medium); border-color: transparent; }
.stat-card .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 1.6rem + 2vw, 3.4rem); color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.stat-card .num i { color: var(--red); font-style: normal; }
.stat-card .lbl { margin-top: 0.6rem; color: var(--muted); font-weight: 600; }

/* ============================ SERVICES ================================== */
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.15rem; margin-top: 3rem; }
.service-card {
  grid-column: span 2; position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; color: #fff; isolation: isolate; background: var(--ink);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.service-card:nth-child(1) { grid-column: span 3; }
.service-card:nth-child(2) { grid-column: span 3; }
.service-card .bg { position: absolute; inset: 0; z-index: -2; }
.service-card .bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.service-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,17,17,0.05) 20%, rgba(17,17,17,0.82)); transition: background 0.4s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.service-card:hover .bg img { transform: scale(1.07); }
.service-card:hover::after { background: linear-gradient(180deg, rgba(229,9,20,0.12) 10%, rgba(17,17,17,0.88)); }
.service-card .idx { position: absolute; top: 1.2rem; left: 1.5rem; font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: rgba(255,255,255,0.55); letter-spacing: 0.1em; }
.service-card h3 { color: #fff; font-size: var(--fs-h3); display: flex; align-items: center; gap: 0.6rem; }
.service-card h3 .arrow { width: 26px; height: 26px; border-radius: 50%; background: var(--red); display: grid; place-items: center; opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.3s; }
.service-card:hover h3 .arrow { opacity: 1; transform: none; }
.service-card p { color: rgba(255,255,255,0.82); font-size: 0.95rem; margin-top: 0.5rem; max-width: 42ch; }

/* 3-up pillar grid (Surgery Unit) — reuses .service-card visuals */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; margin-top: 3rem; }
.pillars .service-card { grid-column: auto !important; min-height: 300px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ===== Interactive procedure pillars (Surgery Unit tabs) ===== */
.proc-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; margin-top: 2.8rem; }
.proc-pill { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.3rem; color: #fff; isolation: isolate; background: var(--ink); cursor: pointer; text-align: left; border: 3px solid transparent; transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.3s; }
.proc-pill .bg { position: absolute; inset: 0; z-index: -2; }
.proc-pill .bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.proc-pill::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,17,17,0.05) 20%, rgba(17,17,17,0.82)); transition: background 0.4s; }
.proc-pill:hover { transform: translateY(-5px); box-shadow: var(--shadow-strong); }
.proc-pill:hover .bg img { transform: scale(1.06); }
.proc-pill .idx { position: absolute; top: 1rem; left: 1.3rem; font-family: var(--font-display); font-weight: 800; color: rgba(255,255,255,0.55); letter-spacing: 0.1em; }
.proc-pill h3 { color: #fff; font-size: 1.25rem; }
.proc-pill p { color: rgba(255,255,255,0.82); font-size: 0.9rem; margin-top: 0.3rem; }
.proc-pill .taghint { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.8rem; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: #fff; opacity: 0.9; transition: gap 0.2s; }
.proc-pill .taghint svg { transition: transform 0.3s var(--ease); }
.proc-pill:hover .taghint { gap: 0.6rem; }
.proc-pill.active { border-color: var(--red); box-shadow: var(--shadow-strong); }
.proc-pill.active::after { background: linear-gradient(180deg, rgba(229,9,20,0.16) 8%, rgba(17,17,17,0.9)); }
.proc-pill.active .taghint svg { transform: rotate(180deg); }
.proc-pill:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.proc-panels { margin-top: 1.8rem; }
.proc-panel { display: none; }
.proc-panel.active { display: block; animation: procFade 0.5s var(--ease); }
.proc-panel .split-media { aspect-ratio: 4/3; }
@keyframes procFade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .proc-tabs { grid-template-columns: 1fr; } .proc-pill { min-height: 170px; } }

/* ======================= SPLIT / FEATURE SECTIONS ======================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.split > * { min-width: 0; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-medium); aspect-ratio: 5/5.4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.tall { aspect-ratio: 4/5; }
.feature-list { list-style: none; padding: 0; margin: 1.8rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.25rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 500; color: var(--ink-2); }
.feature-list li .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--red-tint); color: var(--red); display: grid; place-items: center; margin-top: 2px; }
.feature-list li .tick svg { width: 13px; height: 13px; }
.pill-free { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--red-tint); color: var(--red-deep); font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; padding: 0.45rem 0.9rem; border-radius: var(--radius-pill); }

/* Editorial media (posters) */
.editorial { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-medium); }
.editorial img { width: 100%; height: 100%; object-fit: cover; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1.6rem 0; }
.chip { border: 1.5px solid var(--border); border-radius: var(--radius-pill); padding: 0.45rem 1rem; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--ink-2); transition: border-color 0.2s, color 0.2s, background 0.2s; }
.chip:hover { border-color: var(--red); color: var(--red); }

/* ============================ BRAND MARQUEE ============================= */
.marquee { width: 100%; max-width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 1.15rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand-tile { flex: none; width: 168px; height: 96px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); display: grid; place-items: center; padding: 1rem 1.2rem; transition: box-shadow 0.3s, transform 0.3s; }
.brand-tile:hover { box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.brand-tile img { max-height: 62px; max-width: 100%; width: auto; object-fit: contain; filter: saturate(1); }
.section--dark .brand-tile { background: #fff; border-color: transparent; }

.lens-brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.lens-brands .brand-tile { width: 100%; height: 108px; }

/* Full-bleed square logo tiles (eyewear brands) */
.logo-tile { flex: none; width: 158px; height: 158px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-soft); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.logo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.logo-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-medium); }
.logo-tile:hover img { transform: scale(1.06); }

/* Product cards (contact lens brands) */
.product-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; margin-top: 1.8rem; }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem 1rem 1.3rem; text-align: center; transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-strong); border-color: transparent; }
.product-card .pc-img { aspect-ratio: 4/3; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius-md); background: var(--warm); }
.product-card .pc-img img { max-width: 88%; max-height: 88%; object-fit: contain; transition: transform 0.5s var(--ease); }
.product-card:hover .pc-img img { transform: scale(1.07) rotate(-1deg); }
.product-card b { display: block; font-family: var(--font-display); font-weight: 700; margin-top: 0.9rem; color: var(--ink); }
.product-card span { font-size: 0.85rem; color: var(--muted); }

/* Brand groups (House Brands vs Branded Collection) */
.brand-groups { display: grid; gap: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); margin-top: 2.6rem; }
.brand-group-title { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--ink); display: flex; align-items: center; gap: 0.6rem; }
.brand-group-title::before { content: ""; width: 24px; height: 3px; background: var(--red); border-radius: 2px; }
.brand-group-sub { color: var(--muted); font-size: 0.95rem; margin-top: 0.35rem; }
.brand-group { min-width: 0; }
.brand-group .marquee { margin-top: 1.1rem; padding-block: 10px; }
.marquee-track--rev { animation-direction: reverse; }
/* legacy static wall (kept for reuse) */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 1rem; margin-top: 1.1rem; }
.logo-wall .logo-tile { width: 100%; height: auto; aspect-ratio: 1 / 1; }
.logo-wall .brand-tile { width: 100%; height: 108px; }
@media (max-width: 520px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }

/* JR Hospital banner (Surgery Unit) */
.jr-banner { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; background: var(--red-tint); border: 1px solid #f6d4d6; border-radius: var(--radius-lg); padding: 1.2rem 1.4rem; }
.jr-banner .jr-ic { flex: none; width: 54px; height: 54px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; }
.jr-banner .jr-ic svg { width: 27px; height: 27px; }
.jr-banner .jr-txt { flex: 1 1 260px; }
.jr-banner .jr-txt b { display: block; font-family: var(--font-display); font-size: 1.08rem; color: var(--red-deep); }
.jr-banner .jr-txt span { color: var(--ink-2); font-size: 0.95rem; }
.jr-banner .jr-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.jr-banner .jr-actions .btn { padding: 0.6rem 1rem; font-size: 0.88rem; }

/* ============================ HEARING ================================== */
.hc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2rem; }
.hc-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.4rem; transition: transform 0.3s, box-shadow 0.3s; }
.hc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.hc-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; margin-bottom: 0.8rem; }
.hc-card h4 { font-size: 1.05rem; } .hc-card p { font-size: 0.92rem; color: var(--muted); margin-top: 0.3rem; }

/* ============================ MOBILE UNIT =============================== */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 150px; gap: 0.9rem; margin-top: 2.5rem; }
.gallery button { border-radius: var(--radius-md); overflow: hidden; position: relative; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery button:hover img { transform: scale(1.08); }
.gallery button::after { content: ""; position: absolute; inset: 0; background: rgba(17,17,17,0); transition: background 0.3s; }
.gallery button:hover::after { background: rgba(229,9,20,0.14); }
.gallery .g-big { grid-row: span 2; grid-column: 1; }
.gallery .g-wide { grid-column: span 2; }
.mu-cards { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.mu-cards .mu { display: inline-flex; align-items: center; gap: 0.55rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-pill); padding: 0.55rem 1.05rem; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: #eee; }
.mu-cards .mu svg { color: var(--red); width: 17px; }

/* ============================ MASONRY GALLERY ========================== */
.masonry { column-count: 4; column-gap: 0.9rem; margin-top: 2.5rem; }
.masonry button { display: block; width: 100%; margin: 0 0 0.9rem; padding: 0; border-radius: var(--radius-md); overflow: hidden; position: relative; break-inside: avoid; background: var(--gray-light); cursor: zoom-in; }
.masonry button img { width: 100%; display: block; transition: transform 0.6s var(--ease); }
.masonry button:hover img { transform: scale(1.05); }
.masonry button::after { content: ""; position: absolute; inset: 0; background: rgba(229,9,20,0); transition: background 0.3s; }
.masonry button:hover::after { background: rgba(229,9,20,0.14); }
.section--warm .masonry button { background: #ececec; }

/* ============================ ABOUT TIMELINE ============================ */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; counter-reset: t; }
.tl { position: relative; padding-top: 1.6rem; }
.tl::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 2px; background: var(--border); }
.tl::after { content: ""; position: absolute; top: 1px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-tint); }
.tl b { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--ink); display: block; }
.tl span { color: var(--muted); font-weight: 600; }

/* ============================ BRANCHES ================================= */
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; margin-top: 3rem; }
.branch-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--border); display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.branch-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-medium); }
.branch-card .bc-img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.branch-card .bc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.branch-card:hover .bc-img img { transform: scale(1.06); }
.branch-card .bc-tag { position: absolute; top: 0.8rem; left: 0.8rem; background: rgba(255,255,255,0.92); color: var(--red-deep); font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: var(--radius-pill); }
.branch-card .bc-body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.branch-card h3 { font-size: 1.25rem; }
.branch-card .addr { color: var(--muted); margin-top: 0.35rem; display: flex; align-items: flex-start; gap: 0.4rem; font-size: 0.95rem; }
.branch-card .addr svg { color: var(--red); flex: none; margin-top: 3px; width: 16px; }
.branch-card .bc-actions { display: flex; gap: 0.6rem; margin-top: auto; padding-top: 1.2rem; }
.branch-card .bc-actions .btn { flex: 1; padding: 0.7rem 0.9rem; font-size: 0.88rem; }
/* visiting-surgeon ribbon on branch image */
.branch-card .bc-ribbon { position: absolute; top: 0.8rem; right: 0.8rem; display: inline-flex; align-items: center; gap: 0.35rem; background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.03em; padding: 0.35rem 0.7rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-red); }
.branch-card .bc-ribbon svg { width: 13px; height: 13px; }
/* in-card doctor badge */
.doc-badge { display: flex; align-items: center; gap: 0.65rem; background: var(--red-tint); border: 1px solid #f6d4d6; border-radius: var(--radius-md); padding: 0.7rem 0.85rem; margin-top: 0.9rem; }
.doc-badge .doc-ic { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--red); color: #fff; display: grid; place-items: center; }
.doc-badge .doc-ic svg { width: 18px; height: 18px; }
.doc-badge b { display: block; font-family: var(--font-display); font-size: 0.8rem; color: var(--red-deep); letter-spacing: 0.02em; }
.doc-badge > span > span { font-size: 0.85rem; color: var(--ink-2); font-weight: 600; }

/* dedicated visiting-surgeon cards */
.doctor-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; margin-top: 3rem; }
.doctor-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s; }
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-medium); border-color: transparent; }
.dc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.dc-avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--red-tint); color: var(--red); display: grid; place-items: center; }
.dc-avatar svg { width: 28px; height: 28px; }
.dc-tag { font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-deep); background: var(--red-tint); padding: 0.35rem 0.7rem; border-radius: var(--radius-pill); }
.doctor-card h3 { font-size: 1.3rem; }
.doctor-card .dc-role { color: var(--muted); font-size: 0.9rem; margin-top: 0.2rem; }
.doctor-card .dc-hosp { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.7rem; color: var(--red-deep); font-weight: 600; font-size: 0.9rem; }
.doctor-card .dc-hosp svg { flex: none; width: 17px; height: 17px; color: var(--red); }
.dc-meta { list-style: none; padding: 0; margin: 1.1rem 0 1.4rem; display: grid; gap: 0.55rem; }
.dc-meta li { display: flex; align-items: center; gap: 0.6rem; color: var(--ink-2); font-weight: 500; }
.dc-meta li svg { flex: none; width: 18px; height: 18px; color: var(--red); }
.doctor-card .btn { margin-top: auto; }

/* ============================ APPOINTMENT =============================== */
.appt { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,4vw,4rem); align-items: stretch; }
.appt > * { min-width: 0; }
.appt-aside { background: var(--ink); color: #fff; border-radius: var(--radius-xl); padding: clamp(1.8rem, 3vw, 2.8rem); position: relative; overflow: hidden; }
.appt-aside::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -120px; bottom: -120px; background: radial-gradient(circle, var(--red-glow), transparent 65%); }
.appt-aside h3 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); position: relative; }
.appt-aside p { color: #bdbdbd; margin-top: 0.8rem; position: relative; }
.appt-contact { margin-top: 2rem; display: grid; gap: 1rem; position: relative; }
.appt-contact a { display: flex; align-items: center; gap: 0.9rem; color: #eee; }
.appt-contact .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: var(--red); flex: none; }
.appt-contact a b { display: block; font-family: var(--font-display); color: #fff; font-size: 0.95rem; }
.appt-contact a span { font-size: 0.82rem; color: #9d9d9d; }
.wa-alt { margin-top: 1.6rem; position: relative; }

.appt-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; color: var(--ink); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 0.8rem 0.95rem;
  background: var(--warm); transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px var(--red-glow); }
.field input.invalid, .field select.invalid { border-color: var(--red); background: var(--red-tint); }
.field .err { color: var(--red); font-size: 0.78rem; font-weight: 600; display: none; }
.field.show-err .err { display: block; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 1rem; text-align: center; }
.form-success { display: none; text-align: center; padding: 1.5rem 0.5rem; }
.form-success.show { display: block; }
.form-success .ok { width: 66px; height: 66px; border-radius: 50%; background: var(--red-tint); color: var(--red); display: grid; place-items: center; margin: 0 auto 1rem; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { color: var(--muted); margin-top: 0.5rem; }

/* ============================ FINAL CTA ================================ */
.cta-final { text-align: center; }
.cta-final h2 { font-size: var(--fs-h2); color: #fff; }
.cta-final p { color: #c4c4c4; font-size: var(--fs-lead); margin: 1rem auto 0; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 2.2rem; }

/* ============================== FOOTER ================================= */
.footer { background: #0c0c0c; color: #9a9a9a; padding-top: var(--space-2xl); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer .f-brand img { height: 40px; margin-bottom: 1.1rem; }
.footer .f-brand p { max-width: 34ch; font-size: 0.95rem; }
.footer h5 { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.footer ul a { font-size: 0.95rem; transition: color 0.2s, padding-left 0.2s; }
.footer ul a:hover { color: var(--red); padding-left: 4px; }
.footer .f-contact li { display: flex; gap: 0.6rem; font-size: 0.95rem; align-items: flex-start; }
.footer .f-contact svg { color: var(--red); flex: none; margin-top: 3px; width: 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding: 1.6rem 0; font-size: 0.86rem; }
.footer-bottom .socials { display: flex; gap: 0.6rem; }
.footer-bottom .socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.14); display: grid; place-items: center; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.footer-bottom .socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* =========================== FLOATING FABS ============================= */
.fab-wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,0.45); transition: transform 0.25s var(--ease); }
.fab-wa:hover { transform: scale(1.08) translateY(-2px); }
.fab-wa svg { width: 30px; height: 30px; }
.to-top { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.3s, transform 0.3s, background 0.2s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }

/* ============================== LIGHTBOX =============================== */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,10,0.92); display: none; align-items: center; justify-content: center; padding: 4vw; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius-md); box-shadow: var(--shadow-strong); }
.lightbox .lb-close, .lightbox .lb-nav { position: absolute; background: rgba(255,255,255,0.12); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background 0.2s; }
.lightbox .lb-close:hover, .lightbox .lb-nav:hover { background: var(--red); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-nav.prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-nav.next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ============================ PAGE HERO (sub-pages) ==================== */
.page-hero { position: relative; overflow: hidden; padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 4rem)); padding-bottom: clamp(2.5rem, 4vw, 4.5rem); background: linear-gradient(180deg, #fff, var(--warm)); }
.page-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -160px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--red-tint), transparent 62%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--red); }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.8rem); max-width: 16ch; }
.page-hero p { margin-top: 1rem; font-size: var(--fs-lead); color: var(--muted); max-width: 56ch; }
.page-hero .page-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

/* ============================ PROCESS STEPS (surgery) ================== */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem; margin-top: 3rem; counter-reset: step; }
.process-step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem 1.4rem; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-medium); }
.process-step .step-num { counter-increment: step; font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; color: #fff; background: var(--red); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1rem; }
.process-step .step-num::before { content: "0" counter(step); }
.process-step h4 { font-size: 1.1rem; } .process-step p { color: var(--muted); font-size: 0.92rem; margin-top: 0.4rem; }

/* Icon feature grid (surgery/services benefits) */
.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; margin-top: 2.5rem; }
.icon-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s; }
.icon-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-medium); border-color: transparent; }
.icon-card .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; margin-bottom: 1rem; }
.icon-card h4 { font-size: 1.12rem; } .icon-card p { color: var(--muted); margin-top: 0.4rem; font-size: 0.95rem; }

/* Info note band */
.note-band { display: flex; align-items: flex-start; gap: 0.9rem; background: var(--red-tint); border: 1px solid #f6d4d6; border-radius: var(--radius-md); padding: 1.1rem 1.3rem; margin-top: 2.5rem; color: var(--red-deep); }
.note-band svg { flex: none; color: var(--red); margin-top: 2px; }
.note-band b { color: var(--red-deep); }

/* ============================ RESPONSIVE =============================== */
@media (max-width: 1150px) {
  .nav-links { display: none; }
  .hamburger { display: inline-flex; }
  .desktop-only { display: none !important; }
}
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .split, .appt { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .service-card, .service-card:nth-child(1), .service-card:nth-child(2) { grid-column: span 2; }
  .branch-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { column-count: 3; }
  .doctor-cards { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(1), .service-card:nth-child(2) { grid-column: 1 / -1; min-height: 260px; }
  .lens-brands { grid-template-columns: 1fr 1fr; }
  .product-cards { grid-template-columns: 1fr; }
  .hc-cards { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .branch-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .gallery .g-big { grid-row: span 2; grid-column: 1 / -1; }
  .gallery .g-wide { grid-column: 1 / -1; }
  .hero-trust { flex-wrap: wrap; gap: 1.4rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-badge { left: 8px; }
  .process { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: 1fr; }
  .masonry { column-count: 2; column-gap: 0.6rem; }
  .masonry button { margin-bottom: 0.6rem; }
  .brand .wordmark span { display: none; }
}
@media (max-width: 380px) {
  .brand .wordmark b { font-size: 0.92rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
