/* =========================================================
   Smiles in Narrogin — light, inviting, premium dental brand
   General Sans throughout, italic for accents
   Lenis + GSAP + ScrollTrigger motion layer
   ========================================================= */

:root {
  /* Palette — light, warm, trustworthy */
  --bg: #fbfaf7;            /* warm off-white */
  --bg-elev: #ffffff;       /* card surface */
  --bg-cream: #f6efe4;      /* warm cream highlight */
  --bg-soft: #eef3f7;       /* cool soft blue tint */
  --text: #0e1a2e;          /* deep navy */
  --text-muted: #4f5b73;    /* warm grey */
  --text-subtle: #8b95a8;
  --border: #ebe6dc;        /* warm border */
  --border-strong: #d5cdbe;
  --accent: #1c6fb0;        /* trustworthy blue */
  --accent-deep: #134d7d;
  --accent-soft: #e6f1fa;
  --warm: #c9925a;          /* warm peach/gold accent */
  --warm-soft: #faf0e1;
  --shadow-sm: 0 2px 6px rgba(14, 26, 46, 0.04);
  --shadow-md: 0 12px 28px rgba(14, 26, 46, 0.07);
  --shadow-lg: 0 28px 68px rgba(14, 26, 46, 0.09);

  /* Type — all General Sans, varied weight + italic */
  --font-sans: 'General Sans', 'Söhne', 'Inter', system-ui, -apple-system, sans-serif;
  --fs-display: clamp(2.5rem, 5.5vw, 4.5rem);
  --fs-display-sm: clamp(1.85rem, 3.8vw, 2.85rem);
  --fs-h1: clamp(2rem, 4vw, 3.25rem);
  --fs-h2: clamp(1.5rem, 2.8vw, 2.25rem);
  --fs-h3: 1.25rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  /* Spacing */
  --space-section: clamp(5.5rem, 11vw, 10rem);
  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  --mx: 50%;
  --my: 50%;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'ss02';
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: #fff; }

/* Layout primitives */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
  z-index: 2;
}
.section { padding-block: var(--space-section); position: relative; overflow: hidden; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--hero { padding-top: clamp(8.5rem, 15vw, 13rem); padding-bottom: clamp(4rem, 8vw, 7rem); }

/* Section ambient blooms — subtle radial colour washes */
.bloom-warm-right::before,
.bloom-blue-left::before,
.bloom-split::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.bloom-warm-right::before {
  background: radial-gradient(50% 60% at 92% 40%, rgba(201, 146, 90, 0.16) 0%, transparent 60%);
}
.bloom-blue-left::before {
  background: radial-gradient(50% 60% at 8% 60%, rgba(28, 111, 176, 0.13) 0%, transparent 60%);
}
.bloom-split::before {
  background:
    radial-gradient(40% 55% at 12% 25%, rgba(28, 111, 176, 0.12) 0%, transparent 55%),
    radial-gradient(40% 55% at 88% 75%, rgba(201, 146, 90, 0.14) 0%, transparent 55%);
}

/* Page-wide noise overlay — fine grain, low opacity, multiplies into the warm tone */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent) 0%, var(--warm) 100%);
  z-index: 100;
  transition: width 0.08s linear;
}

/* Typography — all sans, weights for hierarchy */
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.022em; line-height: 1.1; color: var(--text); }
.display {
  font-size: var(--fs-display);
  font-weight: 600;
  letter-spacing: -0.034em;
  line-height: 1.02;
  color: var(--text);
}
.display em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}
.display--sm { font-size: var(--fs-display-sm); letter-spacing: -0.028em; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.028em; font-weight: 600; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.024em; font-weight: 600; }
h3 { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -0.012em; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.lede { font-size: clamp(1.125rem, 1.5vw, 1.35rem); color: var(--text-muted); max-width: 60ch; line-height: 1.5; }

/* Word-mask reveal (driven by JS) */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.06em 0.12em 0.14em;
  margin: -0.06em -0.05em -0.14em;
  line-height: inherit;
}
.word {
  display: inline-block;
  will-change: transform;
}
.word--em {
  font-style: italic;
  color: var(--accent);
}

/* Reveal pre-state */
html.has-gsap [data-reveal] { opacity: 0; transform: translateY(36px); }
html.has-gsap [data-reveal-stagger] > * { opacity: 0; transform: translateY(36px); }

/* Header / Nav */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: transform 0.4s cubic-bezier(0.65, 0.05, 0.36, 1), background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.hide { transform: translateY(-110%); }
.site-header.scrolled {
  background: rgba(251, 250, 247, 0.92);
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s ease;
}
.brand:hover { opacity: 0.75; }
.brand img {
  height: 62px;
  width: auto;
  display: block;
}
.site-footer .brand img {
  height: 84px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
@media (max-width: 640px) {
  .brand img { height: 52px; }
  .site-footer .brand img { height: 68px; }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(14, 26, 46, 0.04);
  border-radius: var(--r-pill);
  padding: 0.3rem;
}
.nav-links a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-pill);
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--bg-elev); box-shadow: var(--shadow-sm); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.55rem;
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
  will-change: transform;
  overflow: hidden;
  isolation: isolate;
}
.btn--primary {
  background: var(--text);
  color: #fff;
  box-shadow: 0 2px 0 rgba(14, 26, 46, 0.08), 0 6px 18px rgba(14, 26, 46, 0.18);
}
.btn--primary:hover {
  background: var(--accent);
  box-shadow: 0 2px 0 rgba(14, 26, 46, 0.08), 0 12px 28px rgba(28, 111, 176, 0.32);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  background: var(--bg-elev);
  border-color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn--lg { padding: 1.1rem 1.95rem; font-size: 1rem; }
.btn .arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.btn:hover .arrow { transform: translateX(4px); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  padding: 0.5rem 0.95rem;
  color: var(--text);
  font-size: 0.875rem;
}

/* Hero — clean gradients, no photo */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 0;
  min-height: clamp(520px, 68vh, 680px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(1200px circle at var(--mx) var(--my), rgba(28, 111, 176, 0.16) 0%, rgba(28, 111, 176, 0) 50%),
    radial-gradient(60% 75% at 8% 10%, rgba(28, 111, 176, 0.22) 0%, transparent 60%),
    radial-gradient(55% 70% at 95% 25%, rgba(201, 146, 90, 0.28) 0%, transparent 60%),
    radial-gradient(80% 60% at 50% 110%, rgba(201, 146, 90, 0.16) 0%, transparent 60%),
    var(--bg);
}
.hero--with-info-strip { min-height: clamp(560px, 72vh, 720px); padding-bottom: 5rem; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(255, 255, 255, 0.25) 0%, transparent 35%);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: soft-light;
}
.hero__inner {
  position: relative;
  text-align: center;
  z-index: 2;
  padding-block: clamp(5rem, 8vw, 7rem) clamp(3rem, 5vw, 4.5rem);
  width: 100%;
}

/* Refined eyebrow chip */
.hero__eyebrow {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 24px rgba(14, 26, 46, 0.08);
}

/* Ornament rule */
.hero__ornament {
  display: block;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  margin: clamp(2rem, 4vw, 2.75rem) auto 0;
  opacity: 0.8;
  position: relative;
}
.hero__ornament::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(28, 111, 176, 0.12);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  pointer-events: none;
}
.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 56px;
  background: rgba(14, 26, 46, 0.15);
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(180deg, transparent, var(--accent));
  animation: scroll-down 2.4s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
}
@keyframes scroll-down {
  0% { transform: translateY(0); }
  100% { transform: translateY(300%); }
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
}
.hero__eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(28, 111, 176, 0.18);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(28, 111, 176, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(28, 111, 176, 0.06); }
}

.hero__subtitle {
  margin-top: 1.75rem;
  font-size: clamp(1.125rem, 1.5vw, 1.35rem);
  color: var(--text-muted);
  max-width: 60ch;
  margin-inline: auto;
  line-height: 1.55;
}
.hero__actions { margin-top: 2.75rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Quick-info strip — glassy floating bar below hero */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  margin-top: 4rem;
  box-shadow: 0 20px 50px rgba(14, 26, 46, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.info-strip__item {
  padding: 1.85rem 1.85rem;
  text-align: left;
  position: relative;
  transition: background 0.3s ease;
}
.info-strip__item + .info-strip__item { border-left: 1px solid rgba(14, 26, 46, 0.08); }
.info-strip__item:hover { background: rgba(255, 255, 255, 0.45); }
.info-strip__label {
  font-size: 0.7rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.info-strip__value { font-size: 1.0625rem; font-weight: 500; color: var(--text); line-height: 1.4; }
.info-strip__value a { transition: color 0.25s ease; }
.info-strip__value a:hover { color: var(--accent); }

/* Marquee */
.marquee {
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(60% 100% at 0% 50%, rgba(28, 111, 176, 0.10) 0%, transparent 60%),
    radial-gradient(60% 100% at 100% 50%, rgba(201, 146, 90, 0.14) 0%, transparent 60%),
    var(--bg-cream);
}
.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 42s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  font-size: clamp(1.1rem, 1.85vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  white-space: nowrap;
}
.marquee__item::after {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 2rem;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Section header */
.section-head { max-width: 720px; margin-bottom: 4rem; }
.section-head--centred { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 0.5rem; }

/* Two-column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}
.two-col p + p { margin-top: 1.15rem; }
.two-col p { color: var(--text-muted); line-height: 1.65; }

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.pillar {
  position: relative;
  padding: 2.5rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.65, 0.05, 0.36, 1), box-shadow 0.4s ease;
  box-shadow: var(--shadow-sm);
}
.pillar:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pillar__icon {
  width: 68px;
  height: 68px;
  display: block;
  margin-bottom: 1.5rem;
  object-fit: contain;
}
.pillar h3 { margin-bottom: 0.75rem; }
.pillar p { color: var(--text-muted); font-size: 0.9875rem; line-height: 1.6; }

/* Services grid */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.service-card {
  position: relative;
  padding: 2.25rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.65, 0.05, 0.36, 1), box-shadow 0.4s ease;
  box-shadow: var(--shadow-sm);
}
.service-card::after {
  content: '→';
  position: absolute;
  top: 1.6rem; right: 1.85rem;
  color: var(--text-subtle);
  font-size: 1.2rem;
  transition: transform 0.45s cubic-bezier(0.65, 0.05, 0.36, 1), color 0.3s ease;
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::after { transform: translate(4px, -4px); color: var(--accent); }
.service-card__icon {
  width: 60px;
  height: 60px;
  display: block;
  object-fit: contain;
}
.service-card h3 { font-size: 1.125rem; font-weight: 500; }
.service-card p { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.55; }

/* Detailed services (services page) — 2-col vertical card */
.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}
.service-detail {
  position: relative;
  padding: 2.25rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.65, 0.05, 0.36, 1), box-shadow 0.4s ease;
  box-shadow: var(--shadow-sm);
}
.service-detail:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.service-detail__icon {
  width: 64px;
  height: 64px;
  display: block;
  object-fit: contain;
  margin-bottom: 0.35rem;
}
.service-detail h3 {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 0.2rem;
}
.service-detail p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}
.service-detail p + p { margin-top: 0.7rem; }
.service-detail a { color: var(--accent); transition: opacity 0.2s ease; }
.service-detail a:hover { opacity: 0.75; }

/* Service category sections — tighter than default section spacing */
.services-category { padding-block: clamp(2.5rem, 5vw, 4rem); }
.services-category:first-of-type { padding-top: clamp(2rem, 4vw, 3rem); }
.services-category .section-head { margin-bottom: 2.5rem; max-width: 720px; }
.services-category .section-head h2 { margin-top: 0.5rem; }
.services-category .section-head p {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.55;
  max-width: 56ch;
}

/* Pillar icon sizing */
.pillar__icon i { font-size: 24px; line-height: 1; }

/* SVG icons render as block images */
.pillar__icon, .service-card__icon, .service-detail__icon {
  flex-shrink: 0;
}

/* Invisalign feature block — two-column composition */
.invisalign-feature { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.invisalign-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.invisalign-grid__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  aspect-ratio: 1 / 1;
}
.invisalign-grid__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.invisalign-grid__media:hover img { transform: scale(1.03); }
.invisalign-grid__content h2 { margin-bottom: 1.15rem; }
.invisalign-grid__content > p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
  max-width: 44ch;
}
.feature-list { display: grid; gap: 0.85rem; margin-bottom: 2.25rem; }
.feature-list li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--text);
  font-size: 0.9875rem;
  line-height: 1.4;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
}
@media (max-width: 800px) {
  .invisalign-grid { grid-template-columns: 1fr; }
  .invisalign-grid__media { aspect-ratio: 4 / 3; }
}

/* Services responsive */
@media (max-width: 760px) {
  .service-list { grid-template-columns: 1fr; }
}

/* Team */
.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.team-card {
  padding: 0;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.65, 0.05, 0.36, 1);
  box-shadow: var(--shadow-sm);
}
.team-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-card__media {
  position: relative;
  aspect-ratio: 4 / 4.5;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-soft), var(--warm-soft));
}
.team-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.team-card:hover .team-card__media img { transform: scale(1.04); }
.team-card__body { padding: 2.5rem 2.5rem 2.75rem; }
.team-card h3 { font-size: 1.65rem; margin-bottom: 0.4rem; }
.team-card__role {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.team-card p { color: var(--text-muted); margin-bottom: 1.1rem; line-height: 1.65; }
.team-card p:last-child { margin-bottom: 0; }

/* Feature image block — large, framed */
.feature-image {
  position: relative;
  margin-top: 4rem;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1.2s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.feature-image:hover img { transform: scale(1.02); }
.feature-image__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(180deg, transparent 0%, rgba(14, 26, 46, 0.78) 100%);
  color: #fff;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  letter-spacing: -0.012em;
  line-height: 1.3;
}
.feature-image__caption small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.85rem;
}

/* Two-col image (paired with text) */
.two-col__image {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}
.two-col__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.two-col__image:hover img { transform: scale(1.03); }
.two-col__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 80% at 20% 100%, rgba(28, 111, 176, 0.18), transparent 60%);
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* FAQ */
.faq { margin-top: 3.5rem; max-width: 920px; }
.faq details {
  padding: 1.85rem 1.85rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 0.65rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.faq details:hover { border-color: var(--border-strong); }
.faq details[open] { border-color: var(--accent); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  cursor: pointer;
  list-style: none;
  font-size: 1.0875rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-size: 12px 1.5px, 1.5px 12px;
  background-position: center, center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.65, 0.05, 0.36, 1), border-color 0.3s ease, background-color 0.3s ease;
  color: var(--text);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  border-color: var(--accent);
  background-color: var(--accent-soft);
  color: var(--accent);
}
.faq details p { color: var(--text-muted); margin-top: 1.1rem; line-height: 1.65; }

/* Tip cards */
.tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.tip {
  position: relative;
  padding: 2.5rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.65, 0.05, 0.36, 1), box-shadow 0.4s ease;
  box-shadow: var(--shadow-sm);
}
.tip:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tip__num {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--warm);
  margin-bottom: 1.25rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
}
.tip h3 { font-size: 1.3rem; margin-bottom: 1rem; line-height: 1.2; }
.tip p { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }

/* Payment cards */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.payment-card {
  padding: 2.5rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.65, 0.05, 0.36, 1), box-shadow 0.4s ease;
  box-shadow: var(--shadow-sm);
}
.payment-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.payment-card__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.5rem;
}
.payment-card h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.payment-card p { color: var(--text-muted); line-height: 1.65; }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  margin-top: 3.5rem;
}
.contact-info { display: grid; gap: 1rem; }
.contact-info__item {
  padding: 1.85rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.contact-info__item:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.contact-info__label {
  font-size: 0.7rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.contact-info__value { font-size: 1.0625rem; line-height: 1.5; }
.contact-info__value a { color: var(--text); transition: color 0.25s ease; }
.contact-info__value a:hover { color: var(--accent); }

.form {
  padding: 2.75rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: grid;
  gap: 1.25rem;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; gap: 0.55rem; }
.form label {
  font-size: 0.7rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
}
.form input, .form textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font: inherit;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.form input:hover, .form textarea:hover { border-color: var(--border-strong); }
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form textarea { min-height: 150px; resize: vertical; }
.form button { justify-self: start; margin-top: 0.5rem; }

/* CTA block */
.cta-block {
  text-align: center;
  padding: clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(50% 70% at 20% 0%, rgba(28, 111, 176, 0.18) 0%, transparent 65%),
    radial-gradient(50% 70% at 80% 100%, rgba(201, 146, 90, 0.20) 0%, transparent 65%),
    var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cta-block h2 { margin-bottom: 1.5rem; position: relative; }
.cta-block p { color: var(--text-muted); max-width: 52ch; margin-inline: auto; margin-bottom: 2.25rem; position: relative; }
.cta-block .btn { position: relative; }

/* Hours */
.hours { display: grid; gap: 0.4rem; }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-row__day { color: var(--text); font-weight: 500; }
.hours-row__time { color: var(--text-muted); }

/* =========================================================
   Footer — proper finale, not a utility strip
   ========================================================= */
.site-footer {
  background:
    radial-gradient(60% 70% at 18% 0%, rgba(201, 146, 90, 0.22) 0%, transparent 60%),
    radial-gradient(70% 90% at 85% 100%, rgba(28, 111, 176, 0.30) 0%, transparent 65%),
    radial-gradient(40% 60% at 50% 50%, rgba(201, 146, 90, 0.06) 0%, transparent 70%),
    var(--text);
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-section);
  padding-block: 0;
  position: relative;
  overflow: hidden;
}
.site-footer .wrap { position: relative; z-index: 2; }

/* Top — big statement + CTA */
.site-footer__top {
  padding-block: clamp(5rem, 10vw, 8rem) clamp(4rem, 7vw, 5.5rem);
  text-align: center;
  position: relative;
  z-index: 2;
}
.site-footer__top .eyebrow {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
}
.site-footer__top .eyebrow::before {
  background: rgba(255, 255, 255, 0.45);
}
.site-footer__top .display {
  color: #fff;
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  line-height: 0.98;
  margin-inline: auto;
  max-width: 18ch;
  letter-spacing: -0.025em;
}
.site-footer__top .display em {
  font-style: normal;
  color: #9dc6ed;
  font-weight: 600;
}
.footer-lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.62);
  margin: 2.25rem auto 0;
  max-width: 54ch;
  line-height: 1.55;
}
.footer-actions {
  margin-top: 2.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.footer-actions .btn--primary {
  background: #fff;
  color: var(--text);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.08), 0 12px 32px rgba(0, 0, 0, 0.32);
}
.footer-actions .btn--primary:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.12), 0 16px 40px rgba(28, 111, 176, 0.45);
}
.footer-phone {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
  transition: color 0.25s ease;
}
.footer-phone strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  transition: color 0.25s ease;
}
.footer-phone:hover { color: rgba(255, 255, 255, 0.85); }
.footer-phone:hover strong { color: #9dc6ed; }

/* Divider */
.site-footer__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.14) 50%, transparent 100%);
  position: relative;
  z-index: 2;
}

/* Main — 4 columns */
.site-footer__main {
  padding-block: clamp(4rem, 7vw, 5.5rem);
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.1fr 1.1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}
.footer-col--brand .brand { margin-bottom: 1.5rem; display: inline-flex; }
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.5rem;
}
.footer-col ul { display: grid; gap: 0.85rem; }
.footer-col li, .footer-col li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.55;
  transition: color 0.25s ease;
}
.footer-col li a:hover { color: #fff; }
.footer-col p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 32ch;
}

/* Hours inside footer */
.footer-hours { display: grid; gap: 0.55rem; }
.footer-hours > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9375rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.09);
}
.footer-hours > div:last-child { border-bottom: none; }
.footer-hours > div > span:first-child {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}
.footer-hours > div > span:last-child {
  color: rgba(255, 255, 255, 0.5);
}

/* Footer marquee */
.footer-marquee {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
}
.footer-marquee .marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 58s linear infinite;
  will-change: transform;
}
.footer-marquee:hover .marquee__track { animation-play-state: paused; }
.footer-marquee .marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.footer-marquee .marquee__item::after {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--warm);
  border-radius: 50%;
  margin-left: 2.25rem;
  flex-shrink: 0;
  opacity: 0.7;
}

/* Bottom bar */
.site-footer__bottom {
  padding-block: 2rem;
  position: relative;
  z-index: 2;
}
.site-footer__bottom .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.site-footer__bottom-copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8125rem;
}
.site-footer__bottom-nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer__bottom-nav a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
  transition: color 0.25s ease;
}
.site-footer__bottom-nav a:hover { color: #fff; }

/* Responsive */
@media (max-width: 960px) {
  .pillars, .services, .tips { grid-template-columns: repeat(2, 1fr); }
  .info-strip { grid-template-columns: 1fr; }
  .info-strip__item + .info-strip__item { border-left: none; border-top: 1px solid var(--border); }
  .two-col, .team, .contact, .payment-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .service-detail { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.5rem; }
  .pillars, .services, .tips { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .site-footer__bottom .wrap { flex-direction: column; align-items: flex-start; }
  .footer-marquee .marquee__item { font-size: 1.6rem; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; }
  .marquee__item { font-size: 1.5rem; }
}

/* Focus */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee__track { animation: none; }
  html.has-gsap [data-reveal], html.has-gsap [data-reveal-stagger] > * { opacity: 1; transform: none; }
  .word { transform: none !important; }
}

/* Print */
@media print {
  .site-header, .site-footer, .hero__actions, .cta-block, .marquee, .scroll-progress { display: none; }
  body { background: #fff; color: #000; }
}
