/* ==========================================================================
   Stephenson Orthodontics — design system
   ========================================================================== */

:root {
  /* Brand — sampled from the practice logo */
  --brand:        #00ADEE;
  --brand-600:    #0093cc;
  --brand-700:    #0077a6;
  --brand-050:    #e8f8fe;
  --brand-100:    #cdeffc;

  --ink:          #12303f;
  --ink-2:        #2c4d5e;
  --muted:        #5f7887;
  --line:         #dde7ed;
  --line-soft:    #eaf1f5;

  --paper:        #ffffff;
  --shell:        #f4f9fc;
  --shell-2:      #eaf3f8;

  --accent:       #f6a623;   /* warm highlight for stars / emphasis */

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius:    14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(18, 48, 63, .06), 0 2px 8px rgba(18, 48, 63, .05);
  --shadow:    0 4px 12px rgba(18, 48, 63, .07), 0 12px 32px rgba(18, 48, 63, .07);
  --shadow-lg: 0 8px 20px rgba(18, 48, 63, .09), 0 28px 60px rgba(18, 48, 63, .12);

  --wrap: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);

  --header-h: 84px;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  color: var(--ink);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.1vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.0rem; }

p { text-wrap: pretty; }

a { color: var(--brand-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }

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

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -110%);
  z-index: 200; background: var(--ink); color: #fff;
  padding: .75rem 1.5rem; border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600; text-decoration: none; transition: transform .18s ease;
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

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

/* ── Layout primitives ─────────────────────────────────────────────────── */

.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }

.section { padding-block: clamp(3.25rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--shell { background: var(--shell); }
.section--line { border-top: 1px solid var(--line-soft); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand-700); margin-bottom: .75rem;
}

.lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); }

/* ── Buttons ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem;
  font: inherit; font-weight: 700; font-size: .975rem; line-height: 1.2;
  border: 1.5px solid transparent; border-radius: var(--radius-pill);
  text-decoration: none; cursor: pointer; text-align: center; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(0, 173, 238, .3); }
.btn--primary:hover { background: var(--brand-600); color: #fff; box-shadow: 0 10px 24px rgba(0, 173, 238, .36); }

.btn--outline { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand-700); background: var(--brand-050); }

.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--brand-700); border-color: #fff; }

.btn--white { background: #fff; color: var(--brand-700); }
.btn--white:hover { background: var(--brand-050); color: var(--brand-700); }

.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

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

/* ── Header ────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .2s ease;
}
.site-header[data-stuck="true"] { box-shadow: var(--shadow-sm); }

/* Utility strip above the nav */
.topbar { background: var(--ink); color: #cfe3ed; font-size: .855rem; }
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 40px; flex-wrap: wrap;
}
.topbar__list { display: flex; align-items: center; gap: 1.4rem; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.topbar a { color: #e4f2f8; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar svg { width: 15px; height: 15px; flex: none; opacity: .8; }
.topbar__note { color: #8db4c7; }

.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; min-height: var(--header-h);
}

.brand { flex: none; line-height: 0; }
.brand img { width: 244px; max-width: 58vw; }

/* Desktop navigation */
.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }

.nav__top {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .8rem; border-radius: var(--radius-pill);
  font: inherit; font-size: .95rem; font-weight: 600; color: var(--ink);
  background: none; border: 0; cursor: pointer; text-decoration: none;
  white-space: nowrap;
  transition: background-color .16s ease, color .16s ease;
}
.nav__top:hover, .nav__item:hover > .nav__top,
.nav__item:focus-within > .nav__top { background: var(--brand-050); color: var(--brand-700); }
.nav__top[aria-current="page"], .nav__item--active > .nav__top { color: var(--brand-700); }
.nav__top svg { width: 11px; height: 11px; opacity: .55; transition: transform .18s ease; }
.nav__item:hover > .nav__top svg, .nav__item:focus-within > .nav__top svg { transform: rotate(180deg); }

.nav__item { position: relative; }

.nav__panel {
  position: absolute; top: calc(100% + .4rem); left: 0; min-width: 268px;
  list-style: none; margin: 0; padding: .5rem;
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav__item:hover > .nav__panel,
.nav__item:focus-within > .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }

.nav__panel a {
  display: block; padding: .6rem .8rem; border-radius: 9px;
  font-size: .94rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: background-color .14s ease, color .14s ease;
}
.nav__panel a:hover { background: var(--brand-050); color: var(--brand-700); }
.nav__panel a[aria-current="page"] { background: var(--brand-050); color: var(--brand-700); font-weight: 700; }
.nav__panel a .ext { opacity: .5; margin-left: .3rem; font-size: .8em; }

/* The "Referring Doctors" branch keeps the brand-blue treatment it had before */
.nav__item--feature > .nav__top {
  background: var(--brand); color: #fff;
}
.nav__item--feature:hover > .nav__top,
.nav__item--feature:focus-within > .nav__top { background: var(--brand-600); color: #fff; }
.nav__item--feature > .nav__top svg { opacity: .85; }

.header-cta { display: none; flex: none; }

/* Mobile toggle */
.nav-toggle {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .6rem .95rem; font: inherit; font-weight: 700; font-size: .9rem;
  color: var(--ink); background: var(--shell); border: 1px solid var(--line);
  border-radius: var(--radius-pill); cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 17px; height: 12px; flex: none; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 100;
  visibility: hidden; pointer-events: none;
}
.drawer[data-open="true"] { visibility: visible; pointer-events: auto; }

.drawer__scrim {
  position: absolute; inset: 0; background: rgba(18, 48, 63, .5);
  opacity: 0; transition: opacity .24s ease;
}
.drawer[data-open="true"] .drawer__scrim { opacity: 1; }

.drawer__panel {
  position: absolute; inset-block: 0; right: 0;
  width: min(400px, 88vw); background: var(--paper);
  box-shadow: var(--shadow-lg); overflow-y: auto;
  transform: translateX(100%); transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  padding: 1.25rem 1.25rem 2.5rem;
  display: flex; flex-direction: column; gap: 1.1rem;
}
.drawer[data-open="true"] .drawer__panel { transform: translateX(0); }

.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.drawer__close {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 1px solid var(--line); border-radius: 50%; background: var(--paper);
  color: var(--ink); cursor: pointer; font-size: 1.2rem; line-height: 1;
}
.drawer__close:hover { background: var(--shell); }

.drawer__nav { list-style: none; margin: 0; padding: 0; }
.drawer__group + .drawer__group { border-top: 1px solid var(--line-soft); }

.drawer__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; padding: .95rem .25rem;
  font: inherit; font-size: 1.05rem; font-weight: 700; color: var(--ink);
  background: none; border: 0; cursor: pointer; text-align: left;
}
.drawer__trigger svg { width: 13px; height: 13px; flex: none; opacity: .5; transition: transform .2s ease; }
.drawer__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.drawer__sub { list-style: none; margin: 0 0 .75rem; padding: 0 0 0 .25rem; display: none; }
.drawer__sub[data-open="true"] { display: block; }
.drawer__sub a {
  display: block; padding: .6rem .8rem; border-left: 2px solid var(--line);
  font-size: .97rem; color: var(--ink-2); text-decoration: none;
}
.drawer__sub a:hover { border-left-color: var(--brand); color: var(--brand-700); background: var(--brand-050); }
.drawer__sub a[aria-current="page"] { border-left-color: var(--brand); color: var(--brand-700); font-weight: 700; }

.drawer__foot { margin-top: auto; display: grid; gap: .65rem; padding-top: 1rem; }
.drawer__contact { font-size: .92rem; color: var(--muted); }
.drawer__contact a { color: var(--ink); font-weight: 600; text-decoration: none; }

/* ── Hero (home) ───────────────────────────────────────────────────────── */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(0, 173, 238, .16), transparent 62%),
    radial-gradient(760px 460px at 4% 108%, rgba(0, 173, 238, .10), transparent 60%),
    var(--shell);
  padding-block: clamp(2.75rem, 6vw, 5.25rem);
}

.hero__grid {
  display: grid; gap: clamp(2.25rem, 5vw, 4rem);
  align-items: center;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem 1rem; margin-bottom: 1.25rem;
  background: var(--paper); border: 1px solid var(--brand-100);
  border-radius: var(--radius-pill);
  font-size: .845rem; font-weight: 700; color: var(--brand-700);
  box-shadow: var(--shadow-sm);
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: none; }

.hero h1 { margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--brand-700); }

.hero__tagline {
  font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem);
  font-weight: 600; color: var(--ink); margin-bottom: .85rem;
}
.hero__copy { color: var(--muted); max-width: 54ch; margin-bottom: 1.85rem; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__media::before {
  content: ""; position: absolute; inset: auto -6% -7% 14%;
  height: 64%; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand), #6fd6f6);
  opacity: .16; z-index: -1;
}

/* Trust strip */
.trust {
  display: grid; gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  overflow: hidden; margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.trust__item { background: var(--paper); padding: 1.5rem 1.4rem; text-align: center; }
.trust__num { display: block; font-size: 1.75rem; font-weight: 800; color: var(--brand-700); letter-spacing: -.03em; }
.trust__label { font-size: .9rem; color: var(--muted); }

/* ── Page hero (interior) ──────────────────────────────────────────────── */

.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(760px 420px at 82% 0%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(135deg, #0a7ba3 0%, var(--brand) 62%, #4fc9f2 100%);
  padding-block: clamp(2.6rem, 5.5vw, 4.25rem);
}
.page-hero h1 { color: #fff; margin-bottom: .6rem; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 62ch; font-size: 1.08rem; }

.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin-bottom: 1rem; font-size: .875rem; }
.crumbs li { color: rgba(255,255,255,.72); }
.crumbs li + li::before { content: "›"; margin-right: .45rem; opacity: .6; }
.crumbs a { color: rgba(255,255,255,.92); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ── Content + sidebar layout ──────────────────────────────────────────── */

.layout { display: grid; gap: clamp(2.25rem, 4vw, 3.5rem); align-items: start; }

.prose > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: 2.5rem; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); clear: both; }
.prose h3 { margin-top: 2.25rem; font-size: 1.3rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .5rem; }
.prose li::marker { color: var(--brand); }
.prose img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.prose strong { color: var(--ink); }

.prose blockquote {
  margin: 1.75rem 0; padding: 1.35rem 1.6rem;
  background: var(--brand-050); border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.prose blockquote > * + * { margin-top: .6rem; }

.figure-lead { margin-bottom: 2rem; }
.figure-lead img { width: 100%; }

/* Portrait-orientation lead image: sits beside the opening text on wide
   screens instead of dominating the column. */
.figure-portrait { margin-bottom: 1.5rem; }
.figure-portrait img { width: 100%; max-width: 420px; }
@media (min-width: 48rem) {
  .figure-portrait { float: right; width: 42%; max-width: 360px; margin: .35rem 0 1.5rem 2rem; }
  .figure-portrait img { max-width: 100%; }
}

/* Outcome / checklist list */
.checks { list-style: none; padding: 0; display: grid; gap: .85rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--brand-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230077a6' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / .72rem no-repeat;
}

/* ── Sidebar contact card ──────────────────────────────────────────────── */

.sidebar { display: grid; gap: 1.25rem; }
@media (min-width: 62rem) { .sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

.card {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.card__title { font-size: 1.05rem; margin-bottom: 1rem; }

.info-list { list-style: none; padding: 0; display: grid; gap: 1.05rem; font-size: .955rem; }
.info-list li { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; align-items: start; }
.info-list svg { width: 18px; height: 18px; margin-top: .3rem; color: var(--brand); flex: none; }
.info-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.info-list a:hover { color: var(--brand-700); text-decoration: underline; }
.info-list .label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 700; margin-bottom: .1rem; }

.card--accent {
  background: linear-gradient(140deg, #0a7ba3, var(--brand));
  border-color: transparent; color: #fff; text-align: center;
}
.card--accent h3 { color: #fff; font-size: 1.15rem; margin-bottom: .45rem; }
.card--accent p { color: rgba(255,255,255,.88); font-size: .94rem; margin-bottom: 1.15rem; }

.badge-norefer {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .9rem; border-radius: var(--radius-pill);
  background: var(--brand-050); color: var(--brand-700);
  font-size: .82rem; font-weight: 700;
}

/* ── Card grids ────────────────────────────────────────────────────────── */

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

.tile {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration: none; color: inherit;
}
a.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }

.tile__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--shell-2); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
a.tile:hover .tile__media img { transform: scale(1.05); }

.tile__body { padding: 1.25rem 1.35rem 1.45rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.tile__body h3 { font-size: 1.1rem; }
.tile__body p { font-size: .94rem; color: var(--muted); }
.tile__more {
  margin-top: auto; padding-top: .7rem;
  font-size: .9rem; font-weight: 700; color: var(--brand-700);
  display: inline-flex; align-items: center; gap: .4rem;
}
.tile__more svg { width: 14px; height: 14px; transition: transform .2s ease; }
a.tile:hover .tile__more svg { transform: translateX(3px); }

/* Play badge for the video tile */
.tile__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(18, 48, 63, .28); transition: background-color .2s ease;
}
a.tile:hover .tile__play { background: rgba(18, 48, 63, .18); }
.tile__play span {
  display: grid; place-items: center; width: 62px; height: 62px;
  border-radius: 50%; background: rgba(255,255,255,.94); color: var(--brand-700);
  box-shadow: var(--shadow); transition: transform .2s ease;
}
a.tile:hover .tile__play span { transform: scale(1.08); }
.tile__play svg { width: 22px; height: 22px; margin-left: 3px; }

/* Icon feature cards */
.feature {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow-sm); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .65rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration: none; color: inherit;
}
a.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.feature__icon {
  display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: .4rem;
  border-radius: 50%; background: var(--brand-050);
}
.feature__icon img { width: 44px; height: 44px; object-fit: contain; }
.feature h3 { font-size: 1.15rem; }
.feature p { font-size: .95rem; color: var(--muted); }

/* Booking option cards */
.option {
  display: flex; flex-direction: column; gap: .55rem;
  padding: 1.9rem 1.7rem;
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.option__icon {
  display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: .35rem;
  border-radius: 14px; background: var(--brand-050); color: var(--brand-700);
}
.option__icon svg { width: 24px; height: 24px; }
.option p { color: var(--muted); font-size: .96rem; }
.option .btn { margin-top: 1rem; align-self: flex-start; }
.option--featured { border-color: var(--brand-100); background: linear-gradient(180deg, var(--brand-050), var(--paper) 55%); }

/* ── CTA band ──────────────────────────────────────────────────────────── */

.cta-band {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background:
    radial-gradient(620px 340px at 15% 110%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(120deg, #0a7ba3, var(--brand) 70%, #56cdf4);
  padding-block: clamp(3rem, 6vw, 4.75rem);
}
.cta-band h2 { color: #fff; margin-bottom: .75rem; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 58ch; margin: 0 auto 1.9rem; font-size: 1.08rem; }
.cta-band__note { margin-top: 1.4rem !important; font-size: .92rem !important; color: rgba(255,255,255,.78) !important; }

/* ── Notice / highlight box ────────────────────────────────────────────── */

.notice {
  display: grid; gap: .85rem; justify-items: center; text-align: center;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--paper); border: 1px solid var(--line-soft);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.notice h3 { font-size: 1.2rem; }
.notice p { color: var(--muted); font-size: .96rem; max-width: 60ch; }

/* ── Testimonials ──────────────────────────────────────────────────────── */

.quotes { display: grid; gap: 1.5rem; }
.quote {
  display: flex; flex-direction: column; gap: 1.1rem;
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 1.85rem;
  box-shadow: var(--shadow-sm);
}
.quote__stars { display: flex; gap: .15rem; color: var(--accent); }
.quote__stars svg { width: 17px; height: 17px; }
.quote blockquote { font-size: 1.02rem; color: var(--ink-2); }
.quote blockquote p + p { margin-top: .8rem; }
.quote figcaption { margin-top: auto; padding-top: .4rem; font-weight: 700; color: var(--ink); font-size: .95rem; }
.quote figcaption span { display: block; font-weight: 500; font-size: .87rem; color: var(--muted); }

/* ── Gallery ───────────────────────────────────────────────────────────── */

.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.gallery button {
  position: relative; padding: 0; border: 0; cursor: zoom-in;
  background: var(--shell-2); border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 4 / 3; display: block; width: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery button:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery button:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem);
  background: rgba(10, 30, 40, .93);
  opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s;
}
.lightbox[data-open="true"] { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%; max-height: 82vh; width: auto;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.lightbox__bar {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem clamp(1rem, 4vw, 2rem); color: #fff;
}
.lightbox__count { font-size: .9rem; color: rgba(255,255,255,.75); }
.lightbox__btn {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none;
  border: 1px solid rgba(255,255,255,.28); border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff; cursor: pointer;
  font-size: 1.3rem; line-height: 1; transition: background-color .16s ease;
}
.lightbox__btn:hover { background: rgba(255,255,255,.2); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: clamp(.5rem, 2vw, 1.5rem); }
.lightbox__nav--next { right: clamp(.5rem, 2vw, 1.5rem); }
.lightbox__nav svg { width: 20px; height: 20px; }

/* ── Accordion (FAQ) ───────────────────────────────────────────────────── */

.faq { display: grid; gap: .75rem; }
.faq__item {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq__item:has([aria-expanded="true"]) { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  width: 100%; padding: 1.1rem 1.35rem;
  font: inherit; font-size: 1.02rem; font-weight: 700; color: var(--ink);
  background: none; border: 0; cursor: pointer; text-align: left;
}
.faq__q:hover { color: var(--brand-700); }
.faq__q svg { width: 14px; height: 14px; flex: none; opacity: .55; transition: transform .22s ease; }
.faq__q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq__a { display: none; padding: 0 1.35rem 1.35rem; color: var(--ink-2); }
.faq__a[data-open="true"] { display: block; }
.faq__a > * + * { margin-top: .85rem; }

/* ── Forms ─────────────────────────────────────────────────────────────── */

.form { display: grid; gap: 1.1rem; }
.form__field { display: grid; gap: .4rem; }
.form label { font-size: .9rem; font-weight: 700; color: var(--ink); }
.form label .req { color: #d24b4b; }

.form input, .form textarea {
  width: 100%; padding: .8rem 1rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 11px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 173, 238, .14);
}
.form textarea { min-height: 150px; resize: vertical; }
.form__hint { font-size: .87rem; color: var(--muted); }
.form__status { font-size: .93rem; font-weight: 600; }
.form__status[data-tone="ok"] { color: #147a52; }
.form__status[data-tone="err"] { color: #c23b3b; }

/* ── Map ───────────────────────────────────────────────────────────────── */

.map-frame {
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); background: var(--shell-2);
}
.map-frame iframe {
  width: 100%; height: clamp(300px, 45vw, 440px); border: 0; background: var(--shell-2);
}

/* Map and address sit side by side, so the address and directions button are
   always readable even if a network or privacy setting blocks the embed. */
.map-block { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 56rem) { .map-block { grid-template-columns: minmax(0, 1fr) 330px; } }

.map-aside {
  display: flex; flex-direction: column; gap: .6rem;
  padding: 1.75rem;
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.map-aside__icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: .3rem;
  border-radius: 13px; background: var(--brand-050); color: var(--brand-700);
}
.map-aside__icon svg { width: 22px; height: 22px; }
.map-aside h2 { font-size: 1.1rem; }
.map-aside p { font-size: .95rem; }
.map-aside__hint { color: var(--muted); font-size: .88rem !important; }
.map-aside .btn { margin-top: .5rem; }

/* Embedded third-party widget (Calendly) */
.embed {
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--paper); box-shadow: var(--shadow-sm);
  min-height: 680px;
}

/* ── Footer ────────────────────────────────────────────────────────────── */

.site-footer { background: var(--ink); color: #b8d1de; padding-block: clamp(3rem, 6vw, 4.5rem) 0; font-size: .95rem; }
.site-footer h4 {
  color: #fff; font-size: .82rem; text-transform: uppercase;
  letter-spacing: .12em; margin-bottom: 1.15rem;
}
.footer__grid { display: grid; gap: 2.5rem; }
.footer__brand img { width: 230px; background: #fff; padding: .7rem .9rem; border-radius: 12px; margin-bottom: 1.15rem; }
.footer__brand p { max-width: 38ch; color: #9ebfd0; font-size: .92rem; }

.footer__list { list-style: none; padding: 0; display: grid; gap: .65rem; }
.footer__list a { color: #cfe3ed; text-decoration: none; }
.footer__list a:hover { color: #fff; text-decoration: underline; }
.footer__list li { display: grid; grid-template-columns: 20px 1fr; gap: .7rem; align-items: start; }
.footer__list li.plain { grid-template-columns: 1fr; }
.footer__list svg { width: 17px; height: 17px; margin-top: .25rem; color: var(--brand); flex: none; }

.footer__social { display: flex; gap: .6rem; margin-top: 1.35rem; }
.footer__social a {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 50%;
  background: rgba(255,255,255,.05); transition: background-color .18s ease, border-color .18s ease;
}
.footer__social a { color: #cfe3ed; }
.footer__social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer__social svg, .footer__social img { width: 19px; height: 19px; }

/* Make in-paragraph footer links obviously clickable */
.footer__list a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.28); text-underline-offset: 3px; }
.footer__list a:hover { text-decoration-color: currentColor; }

.footer__bar {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-block: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: .75rem 1.75rem;
  align-items: center; justify-content: space-between;
  font-size: .86rem; color: #8aafc2;
}

/* Back to top */
.to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 80; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: #fff; border: 0; cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s, background-color .18s ease;
}
.to-top[data-show="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand); }
.to-top svg { width: 18px; height: 18px; }

/* ── Reveal on scroll ──────────────────────────────────────────────────── */

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ── Breakpoints ───────────────────────────────────────────────────────── */

@media (min-width: 40rem) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .quotes  { grid-template-columns: repeat(2, 1fr); }
  .trust   { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 52rem) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .trust   { grid-template-columns: repeat(4, 1fr); }
  .hero__grid { grid-template-columns: 1.08fr .92fr; }
}

@media (min-width: 62rem) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .layout  { grid-template-columns: minmax(0, 1fr) 330px; }
  .layout--wide { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (min-width: 68rem) {
  .nav { display: block; }
  .header-cta { display: flex; gap: .6rem; }
  .nav-toggle { display: none; }
  /* The phone number already sits in the top bar; only show the header
     call button once there is room for it beside the nav. */
  .header-cta .btn--outline { display: none; }
}

@media (min-width: 84rem) {
  .header-cta .btn--outline { display: inline-flex; }
}

@media (max-width: 68rem) {
  /* Keep a tappable call button in the header on small screens */
  .header-actions { display: flex; align-items: center; gap: .6rem; }
}

@media (max-width: 40rem) {
  .topbar__inner { justify-content: center; }
  .topbar__note { display: none; }
  .btn-row .btn { width: 100%; }
}

/* ── Motion & print ────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .to-top, .drawer, .cta-band, .btn { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .page-hero { background: none; color: #000; padding-block: 0 1rem; }
  .page-hero h1, .page-hero p { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
