/* =====================================================================
   Trout Dental Laboratory — global stylesheet
   ---------------------------------------------------------------------
   The ONLY intentional change from the legacy Wix site is the palette,
   which is refreshed to match the new tooth logo. Every brand colour is
   declared once below as a CSS custom property, so a future palette
   change is a single edit. Do not hard-code hex values elsewhere.
   ===================================================================== */

:root {
  /* ---- Core brand (from the logo) ---- */
  --teal:        #53BBC6;  /* primary brand / accents                  */
  --slate:       #3F5050;  /* secondary / structure & text             */
  --asphalt:     #434343;  /* neutral / fine detail                    */

  /* ---- Extended & functional ---- */
  --teal-deep:   #34939D;  /* links, hovers, teal behind WHITE text    */
  --teal-tint:   #CEEBEF;  /* section washes, card fills               */
  --slate-deep:  #293333;  /* headings                                 */
  --ink:         #121717;  /* body text on light                       */
  --cloud:       #F5F8F8;  /* default page background                  */
  --white:       #FFFFFF;

  /* ---- Derived UI tokens (built only from the palette above) ---- */
  --border:        rgba(63, 80, 80, 0.14);
  --border-strong: rgba(63, 80, 80, 0.26);
  --shadow-sm: 0 1px 2px rgba(41, 51, 51, 0.06), 0 2px 8px rgba(41, 51, 51, 0.06);
  --shadow-md: 0 6px 18px rgba(41, 51, 51, 0.08), 0 2px 6px rgba(41, 51, 51, 0.06);
  --shadow-lg: 0 24px 60px rgba(41, 51, 51, 0.16);

  /* ---- Type ---- */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, "Helvetica Neue", sans-serif;

  /* ---- Layout ---- */
  --container: 1200px;
  --container-narrow: 860px;
  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --gutter:    clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 7vw, 6rem);
  --header-h:  76px;
}

/* ----------------------------------------------------------------- */
/* Reset / base                                                      */
/* ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;            /* 16px */
  line-height: 1.6;
  font-weight: 400;
  color: var(--ink);
  background: var(--cloud);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
img { background: var(--teal-tint); }

a { color: var(--teal-deep); text-decoration: none; }
a:hover { color: var(--slate-deep); }

h1, h2, h3, h4 {
  color: var(--slate-deep);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 3px solid var(--teal-deep);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Accessible skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 200;
  background: var(--slate-deep);
  color: var(--white);
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

.section { padding-block: var(--section-y); }
.section--tint  { background: var(--teal-tint); }
.section--slate { background: var(--slate-deep); color: var(--teal-tint); }
.section--slate h2, .section--slate h3 { color: var(--white); }
.section--white { background: var(--white); }

.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head p { color: var(--slate); font-size: 1.075rem; }
.section--slate .section-head p { color: var(--teal-tint); }

/* Eyebrow / kicker */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.85rem;
}
.section--slate .eyebrow,
.hero .eyebrow { color: var(--teal); }

h2.section-title { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }

.lead { font-size: 1.125rem; color: var(--slate); }

/* ----------------------------------------------------------------- */
/* Buttons                                                           */
/* ----------------------------------------------------------------- */
.btn {
  --btn-bg: var(--teal-deep);
  --btn-fg: var(--white);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease,
              background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }

/* Primary: teal-deep + white (AA-large; safe) */
.btn--primary { --btn-bg: var(--teal-deep); --btn-fg: var(--white); }
.btn--primary:hover { --btn-bg: var(--slate-deep); }

/* Accent: bright teal + DARK text (never white on bright teal) */
.btn--accent { --btn-bg: var(--teal); --btn-fg: var(--slate-deep); }
.btn--accent:hover { --btn-bg: var(--teal-tint); --btn-fg: var(--ink); }

/* Outline: teal-deep border + text */
.btn--outline {
  --btn-bg: transparent; --btn-fg: var(--teal-deep); --btn-bd: var(--teal-deep);
}
.btn--outline:hover { --btn-bg: var(--teal-deep); --btn-fg: var(--white); }

/* Light outline for dark surfaces */
.btn--ghost-light {
  --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,0.6);
}
.btn--ghost-light:hover { --btn-bg: var(--white); --btn-fg: var(--slate-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.btn-row.center { justify-content: center; }

/* ----------------------------------------------------------------- */
/* Brand lockup (header + footer)                                    */
/* ----------------------------------------------------------------- */
/* Brand lockup is the full-color logo image. Never stretched or recolored;
   width auto preserves the intrinsic aspect ratio and clear space. */
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 44px; width: auto; display: block; background: transparent; }
@media (max-width: 480px) { .brand__logo { height: 38px; } }

/* ----------------------------------------------------------------- */
/* Header / navigation                                               */
/* ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.nav { display: flex; align-items: center; gap: 0.4rem; }
.nav__list { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-block; padding: 0.55rem 0.85rem; border-radius: 8px;
  color: var(--slate-deep); font-weight: 600; font-size: 0.97rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav__link:hover { color: var(--teal-deep); background: var(--teal-tint); }
.nav__link[aria-current="page"] { color: var(--teal-deep); }
.nav__link[aria-current="page"]::after {
  content: ""; display: block; height: 2px; border-radius: 2px;
  background: var(--teal); margin-top: 3px;
}
.nav__cta { margin-left: 0.5rem; padding: 0.7rem 1.2rem; }

/* Hamburger */
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--border-strong);
  border-radius: 10px; background: var(--white); cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle__bars { position: relative; width: 22px; height: 2px; background: var(--slate-deep); transition: background 0.2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px;
  background: var(--slate-deep); transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 0.75rem var(--gutter) 1.25rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    transition: transform 0.28s ease;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0.15rem; width: 100%; }
  .nav__link { padding: 0.85rem 0.75rem; font-size: 1.05rem; border-radius: 10px; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__cta { margin: 0.6rem 0 0; width: 100%; }
}

/* ----------------------------------------------------------------- */
/* Hero                                                              */
/* ----------------------------------------------------------------- */
.hero { background: linear-gradient(180deg, var(--cloud) 0%, var(--teal-tint) 100%); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center; padding-block: clamp(3rem, 6vw, 5.5rem);
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.hero p { font-size: 1.15rem; color: var(--slate); max-width: 38ch; margin-bottom: 1.75rem; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  object-fit: cover; aspect-ratio: 4 / 3;
}
.hero__badge {
  position: absolute; left: -10px; bottom: -18px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 0.9rem 1.15rem;
  display: flex; align-items: center; gap: 0.65rem; border: 1px solid var(--border);
}
.hero__badge strong { color: var(--slate-deep); font-size: 1.4rem; display: block; line-height: 1; }
.hero__badge span { font-size: 0.82rem; color: var(--slate); }
.hero__badge .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--teal); flex: none; }

@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero p { max-width: none; }
  .hero__badge { left: 8px; }
}

/* ----------------------------------------------------------------- */
/* Stats strip                                                       */
/* ----------------------------------------------------------------- */
.stats { background: var(--slate-deep); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
.stat__num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--teal); letter-spacing: -0.02em; line-height: 1; }
.stat__label { color: var(--teal-tint); font-size: 0.98rem; margin-top: 0.4rem; }
.stats.stats--four .stats__grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) {
  .stats__grid, .stats.stats--four .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; }
}

/* ----------------------------------------------------------------- */
/* Scanner / logo row                                                */
/* ----------------------------------------------------------------- */
.scanner-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1rem; }
.scanner-chip {
  font-weight: 700; letter-spacing: 0.02em; color: var(--slate);
  background: var(--white); border: 1px solid var(--border);
  padding: 0.6rem 1.1rem; border-radius: 999px; box-shadow: var(--shadow-sm); font-size: 0.98rem;
}
.scanner-callout {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--teal-deep); color: var(--white);
  padding: 0.6rem 1.1rem; border-radius: 999px; font-weight: 600;
}
.scanner-callout strong { font-size: 1.05rem; }

/* ----------------------------------------------------------------- */
/* Generic card grids                                                */
/* ----------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1.1rem, 2.5vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--slate); font-size: 0.98rem; }

.icon-badge {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-tint); color: var(--teal-deep); margin-bottom: 1rem;
}
.icon-badge svg { width: 26px; height: 26px; }

.card-link {
  display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1rem;
  font-weight: 600; color: var(--teal-deep);
}
.card-link:hover { gap: 0.6rem; color: var(--slate-deep); }

/* Specialty card with arrow link sits at bottom */
.specialty { display: flex; flex-direction: column; }
.specialty .card-link { margin-top: auto; }

/* ----------------------------------------------------------------- */
/* Feature badges (about teaser)                                     */
/* ----------------------------------------------------------------- */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.25rem; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.feature-list .icon-badge { width: 40px; height: 40px; margin: 0; }
.feature-list .icon-badge svg { width: 20px; height: 20px; }
.feature-list strong { display: block; color: var(--slate-deep); }
.feature-list span { color: var(--slate); font-size: 0.94rem; }
@media (max-width: 520px) { .feature-list { grid-template-columns: 1fr; } }

/* Two-column media + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.split--text-first .split__media { order: 2; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); object-fit: cover; aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--text-first .split__media { order: 0; } }

.callout-chip {
  display: inline-flex; flex-direction: column; gap: 0.15rem;
  background: var(--teal-tint); border-left: 4px solid var(--teal);
  padding: 0.85rem 1.1rem; border-radius: 0 10px 10px 0; margin-top: 1.25rem;
}
.callout-chip strong { color: var(--slate-deep); }
.callout-chip span { color: var(--slate); font-size: 0.92rem; }

.nadl-supporter { display: inline-flex; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.nadl-supporter img { width: 64px; height: auto; border-radius: 8px; background: transparent; }
.nadl-supporter span { font-size: 0.9rem; color: var(--slate); }

/* ----------------------------------------------------------------- */
/* Gallery                                                           */
/* ----------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 0.4s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.9rem 1rem 0.75rem; color: var(--white); font-weight: 600; font-size: 0.95rem;
  background: linear-gradient(180deg, transparent, rgba(41,51,51,0.82));
}
/* Branded placeholder tile (for imagery not yet supplied) */
.ph-tile {
  display: grid; place-items: center; aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--teal-deep), var(--slate-deep));
  color: var(--teal-tint);
}
.ph-tile svg { width: 46px; height: 46px; opacity: 0.85; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .gallery { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- */
/* Process steps                                                     */
/* ----------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 1.5rem); counter-reset: step; }
.step { position: relative; }
.step__num {
  font-size: 2.4rem; font-weight: 800; color: var(--teal); letter-spacing: -0.03em;
  line-height: 1; margin-bottom: 0.6rem;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--slate); font-size: 0.96rem; }
.section--slate .step p { color: var(--teal-tint); }
.section--slate .step__num { color: var(--teal); }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- */
/* Testimonials                                                      */
/* ----------------------------------------------------------------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.5vw, 1.6rem); }
.quote {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.quote__stars { color: var(--teal-deep); letter-spacing: 2px; margin-bottom: 0.75rem; font-size: 1rem; }
.quote blockquote { margin: 0 0 1.25rem; color: var(--slate-deep); font-size: 1.02rem; line-height: 1.55; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 0.75rem; }
.quote .avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--teal-tint); color: var(--teal-deep); font-weight: 700;
}
.quote .who { font-weight: 700; color: var(--slate-deep); line-height: 1.2; }
.quote .role { font-size: 0.88rem; color: var(--slate); }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- */
/* Instagram feed                                                    */
/* ----------------------------------------------------------------- */
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
.ig-tile {
  aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden; position: relative;
  display: grid; place-items: center; text-align: center; padding: 1rem;
  background: linear-gradient(135deg, var(--teal-deep), var(--slate-deep)); color: var(--teal-tint);
}
.ig-tile svg { width: 30px; height: 30px; opacity: 0.85; margin-bottom: 0.5rem; }
.ig-tile span { font-size: 0.82rem; line-height: 1.3; }
.ig-cta { text-align: center; margin-top: 1.75rem; }
@media (max-width: 760px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }

/* ----------------------------------------------------------------- */
/* Page hero (interior pages)                                        */
/* ----------------------------------------------------------------- */
.page-hero { background: linear-gradient(180deg, var(--slate-deep), var(--teal-deep)); color: var(--teal-tint); text-align: center; }
.page-hero .container { padding-block: clamp(3rem, 6vw, 5rem); }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.5vw, 3.1rem); }
.page-hero .eyebrow { color: var(--teal); }
.page-hero p { color: var(--teal-tint); max-width: 60ch; margin-inline: auto; font-size: 1.1rem; }

/* ----------------------------------------------------------------- */
/* Service blocks (services page)                                    */
/* ----------------------------------------------------------------- */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.service-block + .service-block { margin-top: clamp(3rem, 6vw, 5rem); }
.service-block:nth-child(even) .service-block__media { order: 2; }
.service-block__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); object-fit: cover; aspect-ratio: 4 / 3; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.25rem; padding: 0; list-style: none; }
.tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--teal-tint); color: var(--slate-deep); font-weight: 600; font-size: 0.86rem;
  padding: 0.4rem 0.8rem; border-radius: 999px;
}
.tag svg { width: 14px; height: 14px; color: var(--teal-deep); }
.options { margin: 1.25rem 0; padding: 1rem 1.25rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.options h4 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 0.7rem; }
.options ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem 1rem; margin: 0; padding: 0; list-style: none; }
.options li { position: relative; padding-left: 1.4rem; color: var(--slate-deep); font-size: 0.95rem; }
.options li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--teal);
}
@media (max-width: 860px) {
  .service-block { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-block__media { order: 0; }
  .options ul { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------- */
/* Turnaround grid                                                   */
/* ----------------------------------------------------------------- */
.turnaround { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.5vw, 1.5rem); }
.turn-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.turn-card .days { font-size: 1.6rem; font-weight: 800; color: var(--teal-deep); letter-spacing: -0.02em; }
.turn-card h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.turn-card ul { margin: 0.85rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.turn-card li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; color: var(--slate); }
.turn-card li span:last-child { color: var(--slate-deep); font-weight: 600; white-space: nowrap; }
@media (max-width: 920px) { .turnaround { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .turnaround { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- */
/* Timeline (about)                                                  */
/* ----------------------------------------------------------------- */
.timeline { position: relative; max-width: 820px; margin-inline: auto; padding-left: 2.5rem; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--teal); opacity: 0.5; }
.tl-item { position: relative; padding-bottom: 2.25rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: calc(-2.5rem + 3px); top: 4px;
  width: 16px; height: 16px; border-radius: 50%; background: var(--teal-deep);
  border: 3px solid var(--cloud); box-shadow: 0 0 0 2px var(--teal);
}
.tl-year { font-weight: 800; color: var(--teal-deep); font-size: 0.95rem; letter-spacing: 0.04em; }
.tl-item h3 { font-size: 1.2rem; margin: 0.15rem 0 0.4rem; }
.tl-item p { color: var(--slate); margin: 0; }
.section--tint .timeline::before { background: var(--teal-deep); }
.section--tint .tl-item::before { border-color: var(--teal-tint); }

/* ----------------------------------------------------------------- */
/* Team                                                              */
/* ----------------------------------------------------------------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.5vw, 1.6rem); }
.team-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; }
.team-card .avatar-lg {
  aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal-deep), var(--slate-deep)); color: var(--white);
}
.team-card .avatar-lg svg { width: 60px; height: 60px; opacity: 0.9; }
.team-card .body { padding: 1.4rem; }
.team-card h3 { margin-bottom: 0.15rem; font-size: 1.15rem; }
.team-card .role { color: var(--teal-deep); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.6rem; }
.team-card p { color: var(--slate); font-size: 0.94rem; }
@media (max-width: 880px) { .team { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ----------------------------------------------------------------- */
/* Visit us / contact                                                */
/* ----------------------------------------------------------------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: stretch; }
.visit__info { display: flex; flex-direction: column; gap: 1rem; }
.contact-line { display: flex; gap: 0.85rem; align-items: flex-start; }
.contact-line .icon-badge { width: 44px; height: 44px; margin: 0; flex: none; }
.contact-line strong { display: block; color: var(--slate-deep); }
.contact-line a, .contact-line span { color: var(--slate); }
.contact-line a:hover { color: var(--teal-deep); }
.map-embed { border: 0; width: 100%; height: 100%; min-height: 320px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .map-embed { min-height: 280px; } }

/* ----------------------------------------------------------------- */
/* CTA band                                                          */
/* ----------------------------------------------------------------- */
.cta-band { background: linear-gradient(120deg, var(--teal-deep), var(--slate-deep)); color: var(--white); text-align: center; }
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.cta-band p { color: var(--teal-tint); max-width: 56ch; margin-inline: auto; font-size: 1.1rem; margin-bottom: 1.75rem; }

/* ----------------------------------------------------------------- */
/* Footer                                                            */
/* ----------------------------------------------------------------- */
.site-footer { background: var(--slate-deep); color: var(--teal-tint); padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; }
.site-footer a { color: var(--teal-tint); }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: clamp(1.75rem, 4vw, 3rem); }
/* The logo wordmark is dark slate and won't read on the dark footer, so the
   full-color logo sits on a Cloud chip rather than being inverted/recolored.
   (Swap the chip for a reversed/white lockup here if one is supplied later.) */
.site-footer .brand { background: var(--cloud); padding: 11px 14px; border-radius: 8px; }
.site-footer .brand__logo { height: 40px; }
.footer-blurb { margin-top: 1rem; color: var(--teal-tint); font-size: 0.96rem; max-width: 38ch; }
.footer-col h4 { color: var(--white); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col li { font-size: 0.96rem; }
.footer-contact address { font-style: normal; color: var(--teal-tint); font-size: 0.96rem; line-height: 1.7; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,0.08); color: var(--white); transition: background 0.16s ease;
}
.footer-social a:hover { background: var(--teal-deep); }
.footer-social svg { width: 20px; height: 20px; }
.footer-badge { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; }
.footer-badge img { width: 56px; border-radius: 8px; background: var(--white); padding: 4px; }
.footer-badge span { font-size: 0.84rem; color: var(--teal-tint); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; justify-content: space-between;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: 0.9rem; }
.footer-copy { font-size: 0.9rem; color: var(--teal-tint); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ----------------------------------------------------------------- */
/* Misc / utilities                                                  */
/* ----------------------------------------------------------------- */
/* ----------------------------------------------------------------- */
/* Time-bound promo banner (homepage entry point for Summer Smiles)   */
/* TO REMOVE AFTER THE EVENT: delete this block, the .promo-banner     */
/* markup in index.html, and the promo-banner hook in main.js.         */
/* It also auto-hides itself once the promo end date has passed.       */
/* ----------------------------------------------------------------- */
.promo-banner { position: relative; background: var(--slate-deep); color: var(--white); }
.promo-banner__inner {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem 1rem;
  flex-wrap: wrap; text-align: center; padding: 0.7rem 3rem;
}
.promo-banner p { margin: 0; font-size: 0.95rem; font-weight: 500; }
.promo-banner strong { color: var(--teal); font-weight: 800; }
.promo-banner__cta {
  display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 700;
  color: var(--white); text-decoration: underline; text-underline-offset: 3px;
}
.promo-banner__cta:hover { color: var(--teal-tint); }
.promo-banner__cta .ico { width: 16px; height: 16px; }
.promo-banner__close {
  position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%);
  background: transparent; border: 0; color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0.1rem 0.55rem; border-radius: 6px;
}
.promo-banner__close:hover { color: var(--white); background: rgba(255, 255, 255, 0.12); }
[hidden] { display: none !important; }

/* Inline-SVG icon system */
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2;
       stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--fill { fill: currentColor; stroke: none; }
.icon-badge .ico { width: 26px; height: 26px; }
.feature-list .icon-badge .ico, .contact-line .icon-badge .ico { width: 20px; height: 20px; }
.tag .ico { width: 14px; height: 14px; }
.card-link .ico, .btn .ico { width: 18px; height: 18px; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.center { text-align: center; }
.mt-lg { margin-top: clamp(2rem, 4vw, 3rem); }
.note {
  background: var(--teal-tint); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem 1.25rem; color: var(--slate-deep); font-size: 0.95rem;
}

/* Reveal-on-scroll (progressive enhancement; visible by default) */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Simple prose for stub/legal pages */
.prose { max-width: var(--container-narrow); margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5rem; }
.prose p, .prose li { color: var(--slate); }
.prose a { text-decoration: underline; }
