/* =========================================================================
   DOC EYES — Design System
   Pattern B • Editorial Grid • Light + Dark
   ========================================================================= */

/* ---- Fonts (Fontshare CDN) ---- */
@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@900,800,700,500&f[]=satoshi@900,700,500,400,300&display=swap');

/* ---- Design tokens ---- */
:root {
  /* Brand */
  --grad-teal: #2DD4BF;
  --grad-blue: #3B82F6;
  --grad-deep: #1E40AF;
  --brand-gradient: linear-gradient(135deg, var(--grad-teal) 0%, var(--grad-blue) 100%);
  --brand-gradient-deep: linear-gradient(135deg, #14B8A6 0%, var(--grad-deep) 100%);

  /* Accents */
  --accent-od: #3B82F6;
  --accent-og: #10B981;
  --accent-amber: #F59E0B;

  /* Light theme surfaces */
  --bg: #F8FAFC;
  --bg-elevated: #F1F5F9;
  --surface: #FFFFFF;
  --surface-tint-blue: #EFF6FF;
  --surface-tint-teal: #ECFEFF;
  --surface-tint-green: #ECFDF5;
  --text: #0F172A;
  --text-soft: #334155;
  --text-muted: #64748B;
  --text-faint: #94A3B8;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.16);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 10px 15px -3px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 20px 50px -12px rgba(15, 23, 42, 0.10);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.18);

  /* Logo tokens (consumed by SVG) */
  --logo-text: #0F172A;
  --logo-accent: #1E40AF;
  --logo-muted: #64748B;

  /* Type scale */
  --font-display: 'Cabinet Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;

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

  /* Container */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
}

[data-theme="dark"] {
  --bg: #07101F;
  --bg-elevated: #0F1A2E;
  --surface: #131F35;
  --surface-tint-blue: #162243;
  --surface-tint-teal: #0F2A3A;
  --surface-tint-green: #0F2B23;
  --text: #F1F5F9;
  --text-soft: #CBD5E1;
  --text-muted: #94A3B8;
  --text-faint: #64748B;
  --border: rgba(241, 245, 249, 0.08);
  --border-strong: rgba(241, 245, 249, 0.16);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 20px 50px -12px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);

  --logo-text: #F1F5F9;
  --logo-accent: #60A5FA;
  --logo-muted: #94A3B8;
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv02', 'cv11';
  transition: background-color .3s ease, color .3s ease;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---- Typography ---- */
.display, h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.05;
}

h1 { font-size: clamp(2.25rem, 5.5vw, 4.5rem); font-weight: 900; }
h2 { font-size: clamp(1.75rem, 3.5vw, 3rem); font-weight: 800; line-height: 1.08; }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 800; line-height: 1.15; }
h4 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }

p { color: var(--text-soft); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grad-blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--brand-gradient);
  transform: rotate(45deg);
  border-radius: 1px;
}
.eyebrow.muted { color: var(--text-muted); }
.eyebrow.muted::before { background: var(--text-muted); }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-soft);
  font-weight: 400;
  line-height: 1.5;
}

/* ---- Layout primitives ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

section { padding-block: clamp(56px, 9vw, 120px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }

/* =========================================================================
   COMPONENTS
   ========================================================================= */

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--text);
  color: var(--bg);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.btn-gradient {
  background: var(--brand-gradient);
  color: white;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}
.btn-gradient:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(59, 130, 246, 0.45); }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-elevated); }

.btn-whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover { background: #1FB955; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }

.btn-on-gradient {
  background: rgba(255, 255, 255, 0.95);
  color: var(--grad-deep);
  backdrop-filter: blur(12px);
}
.btn-on-gradient:hover { background: white; transform: translateY(-1px); }

.btn-icon { width: 22px; height: 22px; }

/* ---- Pills / Chips ---- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  background: var(--surface-tint-blue);
  color: var(--grad-deep);
  border: 1px solid transparent;
}
[data-theme="dark"] .pill { color: #93C5FD; }

.pill-teal { background: var(--surface-tint-teal); color: #0E7490; }
[data-theme="dark"] .pill-teal { color: #5EEAD4; }
.pill-green { background: var(--surface-tint-green); color: #047857; }
[data-theme="dark"] .pill-green { color: #6EE7B7; }
.pill-amber { background: #FEF3C7; color: #92400E; }
[data-theme="dark"] .pill-amber { background: #3F2A0B; color: #FCD34D; }
.pill-on-gradient {
  background: rgba(255, 255, 255, 0.18);
  color: white;
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ---- Cards ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.card-tint-blue { background: var(--surface-tint-blue); }
.card-tint-teal { background: var(--surface-tint-teal); }
.card-tint-green { background: var(--surface-tint-green); }

/* =========================================================================
   NAVIGATION
   ========================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  gap: 24px;
}

.nav-logo { height: 36px; flex-shrink: 0; }
.nav-logo svg { height: 100%; width: auto; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
  padding: 8px 0;
  position: relative;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.current { color: var(--text); font-weight: 700; }
.nav-links a.current::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--brand-gradient);
  border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  transition: background .2s;
}
.theme-toggle:hover { background: var(--bg-elevated); }
.theme-toggle svg { width: 18px; height: 18px; stroke: var(--text-soft); }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-burger { display: none; }

@media (max-width: 900px) {
  .nav-links { 
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 24px var(--gutter);
    gap: 18px;
    align-items: flex-start;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-burger {
    display: grid;
    width: 40px; height: 40px;
    place-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
  }
  .nav-burger svg { width: 18px; height: 18px; stroke: var(--text); }
  .nav-actions .btn { display: none; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 10vw, 128px);
  background: var(--brand-gradient);
  color: white;
  overflow: hidden;
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
}

/* Decorative gradient mesh */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.25), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(30, 64, 175, 0.3), transparent 50%);
  pointer-events: none;
}

/* Decorative grain */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1   0 0 0 0.15 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.4;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }

.hero h1 {
  color: white;
  font-size: clamp(2.5rem, 6.5vw, 5.25rem);
  margin-block: 18px 22px;
  font-weight: 900;
}
.hero h1 .accent {
  font-style: italic;
  font-family: 'Cabinet Grotesk', serif;
  background: linear-gradient(135deg, #FEF3C7, #FFFFFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
}
.hero-eyebrow::before { background: rgba(255, 255, 255, 0.7); }

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Hero side panel — floating prescription card mockup */
.hero-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 30px 60px -15px rgba(7, 16, 31, 0.4);
  position: relative;
  color: var(--text);
  transform: rotate(-2deg);
}
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 16px;
}
.hero-card-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: var(--surface-tint-blue);
  display: grid;
  place-items: center;
}
.hero-card-icon svg { width: 22px; height: 22px; stroke: var(--grad-deep); }
.hero-card-title { font-size: 0.95rem; font-weight: 800; color: #0F172A; line-height: 1.2; }
.hero-card-subtitle { font-size: 0.75rem; color: #64748B; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-card-pill { margin-left: auto; padding: 4px 12px; font-size: 0.75rem; font-weight: 700; border-radius: var(--radius-full); }
.pill-od { background: #DBEAFE; color: #1E40AF; }
.pill-og { background: #D1FAE5; color: #065F46; }

.rx-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}
.rx-cell {
  background: var(--bg-elevated);
  background: #F1F5F9;
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
}
.rx-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; color: #64748B; text-transform: uppercase; margin-bottom: 4px; }
.rx-value { font-size: 1.5rem; font-weight: 800; color: #1E40AF; }
.rx-cell.og .rx-value { color: #047857; }
.rx-unit { font-size: 0.65rem; color: #94A3B8; margin-top: 2px; }

.hero-card.og { transform: rotate(2deg) translateY(-16px); margin-top: 12px; }

/* =========================================================================
   BENTO / EDITORIAL GRID
   ========================================================================= */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } }

.bento > .span-3 { grid-column: span 3; }
.bento > .span-4 { grid-column: span 4; }
.bento > .span-2 { grid-column: span 2; }
.bento > .span-6 { grid-column: span 6; }
@media (max-width: 900px) {
  .bento > [class*="span-"] { grid-column: span 1; }
}

/* Pillar cards (the three identity pieces) */
.pillar {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 360px;
  padding: clamp(28px, 3vw, 40px);
}
.pillar-large { min-height: 460px; }
.pillar h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.pillar .pillar-body { color: var(--text-soft); font-size: 0.98rem; line-height: 1.55; }
.pillar-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }

.pillar-visual {
  margin-top: 8px;
  height: 140px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.pillar.gradient-bg {
  background: var(--brand-gradient);
  color: white;
}
.pillar.gradient-bg h3,
.pillar.gradient-bg p { color: white; }
.pillar.gradient-bg .pillar-body { color: rgba(255,255,255,0.9); }

.pillar .pillar-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 0;
  color: var(--text);
  border-bottom: 2px solid currentColor;
  transition: gap .2s ease;
}
.pillar.gradient-bg .pillar-cta { color: white; }
.pillar:hover .pillar-cta { gap: 14px; }

.pillar-number {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 4rem;
  line-height: 1;
  color: var(--text-faint);
  opacity: 0.3;
}
.pillar.gradient-bg .pillar-number { color: rgba(255,255,255,0.3); opacity: 1; }

/* =========================================================================
   SERVICES SECTION
   ========================================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 800px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--grad-blue);
}

.service-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--surface-tint-blue);
  display: grid;
  place-items: center;
}
.service-icon svg { width: 22px; height: 22px; stroke: var(--grad-deep); }
[data-theme="dark"] .service-icon svg { stroke: #93C5FD; }

.service-card.featured .service-icon { background: var(--brand-gradient); }
.service-card.featured .service-icon svg { stroke: white; }

.service-title { font-weight: 800; font-size: 1.02rem; margin-bottom: 4px; color: var(--text); }
.service-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.45; }

/* =========================================================================
   FULL-BLEED SHOP SECTION
   ========================================================================= */
.shop-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) { .shop-section { grid-template-columns: 1fr; } }

.shop-photo {
  position: relative;
  min-height: 480px;
  background: #0F172A;
  overflow: hidden;
}
.shop-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.shop-photo-tag {
  position: absolute;
  top: 20px; left: 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  z-index: 2;
}

.shop-info { padding: clamp(36px, 4vw, 56px); }
.shop-info h2 { margin: 12px 0 16px; }

.shop-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 32px;
}
.shop-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.shop-row:last-child { border-bottom: none; padding-bottom: 0; }
.shop-row-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--surface-tint-blue);
  display: grid;
  place-items: center;
}
.shop-row-icon svg { width: 18px; height: 18px; stroke: var(--grad-deep); }
[data-theme="dark"] .shop-row-icon svg { stroke: #93C5FD; }
.shop-row-label { font-size: 0.74rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.shop-row-value { font-size: 1rem; font-weight: 600; color: var(--text); }
.shop-row-value a:hover { color: var(--grad-blue); }

.shop-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* =========================================================================
   STUDY TEASER (chronotherapy preview)
   ========================================================================= */
.study-teaser {
  background: var(--bg-elevated);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}
.study-teaser::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent 70%);
  pointer-events: none;
}

.study-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) { .study-teaser-grid { grid-template-columns: 1fr; } }

.study-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.stat {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  border: 1px solid var(--border);
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.75rem);
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.3;
}

.study-figure {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.study-figure img { width: 100%; height: auto; border-radius: var(--radius-md); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background: #07101F;
  color: #94A3B8;
  padding: 64px 0 32px;
  margin-top: 80px;
}
[data-theme="dark"] .footer { background: #050B16; }

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.footer-brand { color: #F1F5F9; }
.footer-brand p { color: #94A3B8; margin-top: 12px; font-size: 0.92rem; max-width: 320px; }
.footer-logo { height: 48px; margin-bottom: 8px; }
.footer-logo svg { height: 100%; width: auto; }

.footer-col h5 { 
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F1F5F9;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #94A3B8; font-size: 0.92rem; transition: color .15s; }
.footer-col a:hover { color: #F1F5F9; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(241, 245, 249, 0.08);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a:hover { color: #F1F5F9; }

/* footer logo override */
.footer .footer-logo svg text:first-of-type { fill: #F1F5F9; }
.footer .footer-logo svg text:last-of-type { fill: #94A3B8; }

/* =========================================================================
   SECTION HEADER
   ========================================================================= */
.section-header {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-header h2 { margin: 12px 0 16px; }
.section-header.center { margin-inline: auto; text-align: center; }

/* =========================================================================
   MONTURES PAGE — Frame finder
   ========================================================================= */
.frames-hero {
  background: var(--brand-gradient);
  color: white;
  padding: clamp(48px, 8vw, 96px) 0;
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.frames-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(255,255,255,0.25), transparent 50%);
  pointer-events: none;
}
.frames-hero-inner { position: relative; z-index: 1; max-width: 800px; }
.frames-hero h1 { color: white; margin: 16px 0 20px; }
.frames-hero p { color: rgba(255,255,255,0.92); font-size: clamp(1.05rem, 1.4vw, 1.2rem); margin-bottom: 28px; }

.shape-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .shape-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .shape-grid { grid-template-columns: 1fr; } }

.shape-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.shape-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--grad-blue);
}
.shape-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 110px;
  background: linear-gradient(135deg, var(--surface-tint-teal), var(--surface-tint-blue));
  z-index: 0;
}
.shape-svg {
  position: relative;
  z-index: 1;
  height: 80px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.shape-svg svg {
  height: 60px;
  width: auto;
  stroke: var(--text);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shape-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  position: relative;
  z-index: 1;
  margin-top: 8px;
}
.shape-meta { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; position: relative; z-index: 1; }
.shape-flat { font-size: 0.88rem; color: var(--text-soft); line-height: 1.5; position: relative; z-index: 1; }
.shape-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; position: relative; z-index: 1; }
.shape-tag {
  background: var(--bg-elevated);
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-full);
}

/* Quiz block */
.quiz-block {
  background: var(--brand-gradient-deep);
  color: white;
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 800px) { .quiz-block { grid-template-columns: 1fr; } }
.quiz-block h2 { color: white; }
.quiz-block p { color: rgba(255,255,255,0.9); }

.quiz-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.quiz-face {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,0.2);
  position: relative;
}
.quiz-face.oval { border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%; }
.quiz-face.square { border-radius: 28%; }
.quiz-face.round { border-radius: 50%; }
.quiz-face.heart { border-radius: 50% 50% 30% 30% / 40% 40% 60% 60%; }
.quiz-face.long { border-radius: 45% 45% 50% 50% / 35% 35% 65% 65%; aspect-ratio: 0.75; }
.quiz-face.diamond { border-radius: 50% 28% 50% 28%; transform: rotate(45deg); }
.quiz-face span { font-size: 0.75rem; font-weight: 700; color: white; }
.quiz-face.diamond span { transform: rotate(-45deg); }

/* =========================================================================
   STUDY PAGE
   ========================================================================= */
.study-hero {
  background: linear-gradient(135deg, #14B8A6 0%, #1E40AF 100%);
  color: white;
  padding: clamp(56px, 8vw, 104px) 0 clamp(80px, 10vw, 144px);
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.study-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(245, 158, 11, 0.25), transparent 50%);
  pointer-events: none;
}
.study-hero-inner { position: relative; z-index: 1; max-width: 880px; }
.study-hero h1 { color: white; margin: 16px 0 20px; max-width: 720px; }
.study-hero p { color: rgba(255,255,255,0.92); font-size: 1.15rem; max-width: 640px; }

.study-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.study-meta-item .label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  margin-bottom: 4px;
}
.study-meta-item .value { font-weight: 700; color: white; font-size: 1.02rem; }

/* Big stat row */
.bigstats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: -64px auto 0;
  max-width: var(--container);
  padding-inline: var(--gutter);
  position: relative;
  z-index: 5;
}
@media (max-width: 800px) { .bigstats { grid-template-columns: repeat(2, 1fr); margin-top: -48px; } }

.bigstat {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.bigstat-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--grad-deep);
  line-height: 1;
}
[data-theme="dark"] .bigstat-value { color: #60A5FA; }
.bigstat-label { color: var(--text-muted); font-size: 0.85rem; margin-top: 8px; line-height: 1.3; }
.bigstat-meta { font-size: 0.72rem; color: var(--text-faint); margin-top: 4px; letter-spacing: 0.06em; text-transform: uppercase; }

.figure-block {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.figure-block.full-img { padding: 0; overflow: hidden; }
.figure-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.figure-title { font-weight: 800; font-size: 1.15rem; color: var(--text); }
.figure-num { font-size: 0.72rem; color: var(--grad-blue); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.figure-img { width: 100%; height: auto; border-radius: var(--radius-md); }
[data-theme="dark"] .figure-img { filter: invert(0.92) hue-rotate(180deg) brightness(0.95); }
.figure-caption { font-size: 0.92rem; color: var(--text-muted); margin-top: 16px; line-height: 1.5; }

.study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) { .study-grid { grid-template-columns: 1fr; } }

.protocol-card {
  background: linear-gradient(135deg, var(--surface-tint-teal), var(--surface-tint-blue));
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
}
.protocol-list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.protocol-list li { display: flex; gap: 16px; align-items: flex-start; }
.protocol-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--grad-deep);
  background: white;
  border-radius: var(--radius-full);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.protocol-content strong { font-weight: 800; color: var(--text); display: block; margin-bottom: 4px; }
.protocol-content span { color: var(--text-soft); font-size: 0.94rem; }

/* =========================================================================
   GEMINEYE page
   ========================================================================= */
.gemineye-hero {
  background: #0F172A;
  color: white;
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
}
.gemineye-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(45, 212, 191, 0.3), transparent),
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(59, 130, 246, 0.3), transparent);
  pointer-events: none;
}
.gemineye-hero-inner { position: relative; z-index: 1; max-width: 800px; }
.gemineye-hero h1 { color: white; margin: 16px 0 24px; font-size: clamp(2.5rem, 6vw, 5rem); }
.gemineye-hero h1 .grad {
  background: linear-gradient(135deg, var(--grad-teal), #93C5FD);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.gemineye-hero p { color: rgba(255,255,255,0.85); font-size: 1.15rem; line-height: 1.55; max-width: 640px; margin-bottom: 32px; }

.gem-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 158, 11, 0.15);
  color: #FCD34D;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.84rem;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.gem-soon .pulse {
  width: 8px; height: 8px;
  background: #FCD34D;
  border-radius: 50%;
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}
.gem-soon .pulse-wrap { position: relative; width: 8px; height: 8px; }
.gem-soon .pulse-wrap::before {
  content: ""; position: absolute; inset: 0;
  background: #FCD34D; border-radius: 50%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, border-color .25s;
}
.feature-card:hover { transform: translateY(-2px); border-color: var(--grad-blue); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.feature-icon svg { width: 26px; height: 26px; stroke: white; }
.feature-card h3 { font-size: 1.15rem; }

/* =========================================================================
   CONTACT page
   ========================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
}
.about-card h2 { margin: 16px 0 12px; }
.about-card .bio { color: var(--text-soft); font-size: 1rem; line-height: 1.7; margin: 16px 0; }

.credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}
@media (max-width: 600px) { .credentials { grid-template-columns: 1fr; } }
.credential {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.credential-label { font-size: 0.72rem; font-weight: 700; color: var(--grad-blue); text-transform: uppercase; letter-spacing: 0.1em; }
.credential-value { font-weight: 700; color: var(--text); margin-top: 4px; }

.optician-portrait {
  width: 88px; height: 88px;
  border-radius: var(--radius-full);
  background: var(--brand-gradient);
  display: grid; place-items: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-md);
}

.map-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.map-embed { height: 280px; background: var(--bg-elevated); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-info { padding: 24px 28px; }

/* =========================================================================
   ANIMATIONS
   ========================================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .8s ease-out backwards; }
.fade-up.d1 { animation-delay: .1s; }
.fade-up.d2 { animation-delay: .2s; }
.fade-up.d3 { animation-delay: .3s; }
.fade-up.d4 { animation-delay: .4s; }

/* =========================================================================
   UTILITIES
   ========================================================================= */
.text-center { text-align: center; }
.mt-6 { margin-top: 24px; }
.mb-6 { margin-bottom: 24px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* =========================================================================
   PRESCRIPTION MODAL
   ========================================================================= */
.rx-modal-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .25s ease; }
.rx-modal-backdrop.open { opacity: 1; }
@media (min-width: 640px) { .rx-modal-backdrop { align-items: center; } }

.rx-modal { background: var(--surface); border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: 28px 24px 32px; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; position: relative; transform: translateY(40px); transition: transform .3s ease; }
.rx-modal-backdrop.open .rx-modal { transform: translateY(0); }
@media (min-width: 640px) { .rx-modal { border-radius: var(--radius-xl); } }

.rx-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: var(--radius-full); background: var(--bg-elevated); border: 1px solid var(--border); display: grid; place-items: center; cursor: pointer; color: var(--text-muted); }
.rx-close:hover { background: var(--surface); color: var(--text); }

.rx-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-right: 40px; }
.rx-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--surface-tint-teal); display: grid; place-items: center; flex-shrink: 0; }
.rx-title { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--text); }
.rx-subtitle { font-size: 0.88rem; color: var(--text-muted); margin-top: 2px; }

.rx-form { display: flex; flex-direction: column; gap: 14px; }
.rx-eye-section { display: flex; align-items: center; gap: 10px; }
.rx-eye-badge { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-size: 0.82rem; font-weight: 800; color: white; flex-shrink: 0; }
.rx-eye-badge.od { background: var(--accent-od); }
.rx-eye-badge.og { background: var(--accent-og); }
.rx-eye-label { font-size: 0.88rem; font-weight: 700; color: var(--text); }

.rx-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rx-field { display: flex; flex-direction: column; gap: 4px; }
.rx-field.full { grid-column: 1 / -1; }
.rx-field label { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.rx-field input, .rx-field textarea { background: var(--bg-elevated); border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 0.95rem; font-weight: 600; color: var(--text); font-family: var(--font-body); transition: border-color .2s; }
.rx-field input:focus, .rx-field textarea:focus { outline: none; border-color: var(--grad-blue); }
.rx-field textarea { resize: vertical; min-height: 52px; }

.rx-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding: 12px 14px; background: var(--surface-tint-green); border-radius: 12px; border: 1px solid rgba(16, 185, 129, 0.15); }
.rx-check input { display: none; }
.rx-checkmark { width: 20px; height: 20px; flex-shrink: 0; border-radius: 6px; border: 2px solid var(--border-strong); background: var(--surface); display: grid; place-items: center; margin-top: 1px; transition: all .2s; }
.rx-check input:checked + .rx-checkmark { background: #10B981; border-color: #10B981; }
.rx-check input:checked + .rx-checkmark::after { content: "✓"; color: white; font-size: 0.7rem; font-weight: 800; }
.rx-check-label { font-size: 0.88rem; color: var(--text-soft); line-height: 1.4; }

.rx-insurance-note { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: var(--surface-tint-teal); border-radius: 12px; border: 1px solid rgba(45, 212, 191, 0.15); }
.rx-insurance-note span { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

.rx-submit { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px; margin-top: 8px; background: #25D366; color: white; font-size: 1rem; font-weight: 800; border-radius: 14px; border: none; cursor: pointer; transition: background .2s, transform .2s; }
.rx-submit:hover { background: #1FB955; transform: translateY(-1px); }

.rx-footer { text-align: center; font-size: 0.78rem; color: var(--text-faint); margin-top: 10px; line-height: 1.4; }

/* =========================================================================
   TINT CUSTOMIZATION PAGE
   ========================================================================= */
.tint-container { min-height: 100vh; }

.tint-preview { position: relative; aspect-ratio: 16/9; max-height: 400px; background: var(--bg-elevated); border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.tint-preview svg { max-width: 80%; max-height: 75%; }

.tint-section { margin-top: 24px; }
.tint-section-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }

/* Color swatches */
.tint-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.tint-swatch { width: 44px; height: 44px; border-radius: 12px; cursor: pointer; border: 3px solid transparent; transition: all .2s; position: relative; }
.tint-swatch:hover { transform: scale(1.1); }
.tint-swatch.active { border-color: var(--text); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text); }
.tint-swatch-label { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: 0.68rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }

/* Style chips */
.tint-styles { display: flex; gap: 8px; flex-wrap: wrap; }
.tint-style-chip { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-full); cursor: pointer; transition: all .2s; }
.tint-style-chip:hover { border-color: var(--grad-blue); }
.tint-style-chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }
[data-theme="dark"] .tint-style-chip.active { background: var(--grad-blue); color: white; border-color: var(--grad-blue); }
.tint-style-icon { font-size: 1.1rem; }
.tint-style-name { font-size: 0.88rem; font-weight: 700; }

/* Density slider */
.tint-density-wrap { margin-top: 8px; }
.tint-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgba(0,0,0,0.05), rgba(0,0,0,0.8)); outline: none; cursor: pointer; }
[data-theme="dark"] .tint-slider { background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.8)); }
.tint-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 3px solid var(--grad-blue); box-shadow: var(--shadow-md); cursor: pointer; }
.tint-density-labels { display: flex; justify-content: space-between; margin-top: 6px; font-size: 0.75rem; color: var(--text-faint); font-weight: 600; }
.tint-density-value { text-align: center; font-size: 1.5rem; font-weight: 900; font-family: var(--font-display); color: var(--text); margin-top: 4px; }

/* Tint summary */
.tint-summary { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; padding: 16px; background: var(--bg-elevated); border-radius: var(--radius-md); border: 1px solid var(--border); }
.tint-summary-item { flex: 1; min-width: 80px; }
.tint-summary-label { font-size: 0.7rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.tint-summary-value { font-size: 0.95rem; font-weight: 700; color: var(--text); }

/* =========================================================================
   VERRES PAGE — Lens shop cards
   ========================================================================= */
.lens-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .lens-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lens-grid { grid-template-columns: 1fr; } }

.lens-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.lens-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--grad-blue); }

.lens-card-top {
  padding: 24px 22px 18px;
  position: relative;
}
.lens-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.lens-card-title { font-weight: 800; font-size: 1.1rem; color: var(--text); margin-bottom: 6px; }
.lens-card-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }

.lens-card-bottom {
  padding: 14px 22px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lens-from { font-size: 0.78rem; color: var(--text-muted); }
.lens-price { font-family: var(--font-display); font-weight: 900; font-size: 1.15rem; color: var(--text); }

/* Index cards */
.index-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.index-chip {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 100px;
  text-align: center;
  transition: border-color .2s, transform .2s;
  cursor: default;
}
.index-chip:hover { border-color: var(--grad-blue); transform: translateY(-2px); }
.index-value { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; color: var(--text); }
.index-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }
.index-thickness { font-size: 0.7rem; color: var(--text-faint); margin-top: 2px; }

/* Coating chips */
.coating-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 640px) { .coating-grid { grid-template-columns: 1fr; } }
.coating-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .2s;
}
.coating-card:hover { border-color: var(--grad-blue); }
.coating-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.coating-name { font-weight: 700; font-size: 0.95rem; color: var(--text); margin-bottom: 3px; }
.coating-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.45; }

/* Insurance banner */
.insurance-banner {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
  background: var(--surface-tint-green);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-lg);
  margin-top: 20px;
}
.insurance-banner svg { flex-shrink: 0; }
.insurance-text { font-size: 0.92rem; color: var(--text-soft); line-height: 1.5; }
.insurance-text strong { color: var(--text); }

/* =========================================================================
   LENSKART-INSPIRED UX COMPONENTS
   ========================================================================= */

/* ── Category tiles grid ── */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 700px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-tile { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: transform .3s ease, box-shadow .3s ease; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.cat-tile-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.cat-tile-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent); z-index: 2; }
.cat-tile-label { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.4rem); color: white; }
.cat-tile-count { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-top: 2px; }
.cat-tile-icon { width: 80px; height: 80px; opacity: 0.15; }

/* ── Shape browser strip ── */
.shape-strip { display: flex; gap: 16px; overflow-x: auto; padding: 8px 0 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.shape-strip::-webkit-scrollbar { display: none; }
.shape-item { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; transition: transform .2s; }
.shape-item:hover { transform: translateY(-3px); }
.shape-circle { width: 80px; height: 80px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; transition: border-color .2s, background .2s; overflow: hidden; }
.shape-item:hover .shape-circle { border-color: var(--grad-blue); background: var(--surface-tint-blue); }
.shape-circle svg { width: 52px; height: 28px; }
.shape-label { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); text-align: center; }

/* ── Product card (Lenskart-style) ── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; cursor: pointer; position: relative; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--grad-blue); }
.product-img { aspect-ratio: 4/3; background: var(--bg-elevated); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transform: scale(1.15); }
.product-img .try-badge { position: absolute; top: 10px; right: 10px; display: flex; align-items: center; gap: 5px; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); color: white; font-size: 0.72rem; font-weight: 700; padding: 5px 10px; border-radius: var(--radius-full); }
.product-img .new-badge { position: absolute; top: 10px; left: 10px; background: var(--accent-amber); color: #1a0800; font-size: 0.68rem; font-weight: 800; padding: 4px 10px; border-radius: var(--radius-full); }
.product-info { padding: 14px 16px 16px; }
.product-brand { font-size: 0.72rem; font-weight: 700; color: var(--grad-blue); letter-spacing: 0.1em; text-transform: uppercase; }
.product-name { font-size: 1rem; font-weight: 800; color: var(--text); margin: 3px 0 2px; letter-spacing: -0.2px; }
.product-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; color: var(--text); }
.product-price .cur { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); margin-left: 2px; }
.product-actions { display: flex; gap: 6px; margin-top: 10px; }
.product-btn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 14px; border-radius: var(--radius-full); font-size: 0.78rem; font-weight: 700; border: none; cursor: pointer; transition: all .2s; flex-shrink: 0; }
.btn-tryon { background: var(--brand-gradient); color: white; }
.btn-tryon:hover { box-shadow: 0 4px 14px rgba(59,130,246,0.35); }
.btn-rx { background: var(--grad-deep); color: white; }
.btn-rx:hover { background: #1e3a8a; }
.btn-tint { background: var(--accent-amber); color: #1a0800; }

/* ── Brand carousel ── */
.brand-strip { display: flex; gap: 20px; overflow-x: auto; padding: 12px 0; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.brand-strip::-webkit-scrollbar { display: none; }
.brand-chip { flex-shrink: 0; padding: 12px 28px; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-full); font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: var(--text); letter-spacing: -0.2px; cursor: pointer; transition: all .2s; white-space: nowrap; }
.brand-chip:hover { border-color: var(--grad-blue); color: var(--grad-blue); transform: translateY(-2px); }

/* ── Services grid ── */
.services-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 800px) { .services-row { grid-template-columns: repeat(2, 1fr); } }
.service-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; text-align: center; transition: transform .2s, border-color .2s; }
.service-tile:hover { transform: translateY(-2px); border-color: var(--grad-blue); }
.service-tile-icon { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 14px; display: grid; place-items: center; }
.service-tile-title { font-weight: 800; font-size: 0.95rem; color: var(--text); margin-bottom: 4px; }
.service-tile-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; }

/* ── Sub-nav (category bar below main nav) ── */
.sub-nav { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 68px; z-index: 90; }
.sub-nav-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.sub-nav-inner::-webkit-scrollbar { display: none; }
.sub-nav-link { padding: 12px 20px; font-size: 0.82rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; border-bottom: 2px solid transparent; transition: all .2s; }
.sub-nav-link:hover { color: var(--text); }
.sub-nav-link.active { color: var(--grad-blue); border-bottom-color: var(--grad-blue); }

/* ── Promo banner ── */
.promo-banner { background: var(--brand-gradient); border-radius: var(--radius-lg); padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: white; overflow: hidden; position: relative; }
.promo-banner::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.promo-text h3 { font-size: 1.3rem; font-weight: 800; color: white; margin-bottom: 4px; }
.promo-text p { font-size: 0.92rem; color: rgba(255,255,255,0.85); }
