/* SADAL Dentistry: warm, calm, highly legible.
   Palette is drawn from the logo: deep tooth-blue, fresh green, slate wordmark,
   set on a warm sand neutral instead of clinical white. */

:root {
  --blue-950: oklch(0.24 0.07 258);
  --blue-900: oklch(0.29 0.09 258);
  --blue-800: oklch(0.34 0.11 258);
  --blue-700: oklch(0.42 0.135 256);
  --blue-600: oklch(0.50 0.14 254);
  --blue-200: oklch(0.86 0.045 250);
  --blue-100: oklch(0.93 0.025 250);

  --green-400: oklch(0.86 0.17 130);
  --green-500: oklch(0.81 0.19 132);
  --green-600: oklch(0.74 0.19 136);
  --green-800: oklch(0.42 0.11 145);
  --green-100: oklch(0.95 0.05 130);

  --sand-0: oklch(0.992 0.004 85);
  --sand-50: oklch(0.982 0.008 85);
  --sand-100: oklch(0.962 0.014 84);
  --sand-200: oklch(0.925 0.022 82);
  --line: oklch(0.88 0.016 84);

  --ink: oklch(0.26 0.035 256);
  --ink-soft: oklch(0.43 0.03 256);
  --on-blue: oklch(0.975 0.01 250);
  --on-blue-soft: oklch(0.86 0.04 250);

  --sos: oklch(0.52 0.17 28);
  --sos-bg: oklch(0.96 0.025 35);

  --font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Atkinson Hyperlegible Next', ui-sans-serif, system-ui, sans-serif;

  --step--1: clamp(1rem, 0.97rem + 0.12vw, 1.0625rem);
  --step-0: clamp(1.125rem, 1.08rem + 0.2vw, 1.25rem);
  --step-1: clamp(1.375rem, 1.28rem + 0.4vw, 1.625rem);
  --step-2: clamp(1.75rem, 1.5rem + 1vw, 2.375rem);
  --step-3: clamp(2.25rem, 1.75rem + 2.1vw, 3.5rem);
  --step-4: clamp(2.75rem, 1.9rem + 3.6vw, 5rem);

  --gutter: clamp(16px, 4vw, 48px);
  --container: 1240px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 1px 2px oklch(0.3 0.05 256 / 0.06), 0 12px 32px -12px oklch(0.3 0.08 256 / 0.22);

  --topbar-h: 0px;
  color-scheme: light;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--sand-50);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-700); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--blue-900); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  color: var(--blue-900);
}
h1 { font-size: var(--step-4); font-weight: 750; letter-spacing: -0.03em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
ul[role='list'], ol[role='list'] { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--green-400); color: var(--blue-950); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--blue-900); color: var(--on-blue); padding: 12px 18px; border-radius: 10px;
}
.skip:focus { top: 12px; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.sparkle { width: 0.9em; height: 0.9em; fill: var(--green-600); flex: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-body); font-weight: 700; font-size: var(--step--1);
  letter-spacing: 0.02em; color: var(--blue-700); margin-bottom: 0.9rem;
}
.eyebrow--on-blue { color: var(--on-blue-soft); }
.eyebrow--on-blue .sparkle { fill: var(--green-500); }

/* ---------- buttons ---------- */

.btn {
  --btn-bg: transparent; --btn-fg: var(--blue-900); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0.7em 1.35em;
  border-radius: 999px; border: 2px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 var(--step--1)/1.1 var(--font-body);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 58px; font-size: var(--step-0); padding-inline: 1.5em; }
.btn--block { width: 100%; }
.btn--primary { --btn-bg: var(--green-500); --btn-fg: var(--blue-950); }
.btn--primary:hover { --btn-bg: var(--green-400); }
.btn--blue { --btn-bg: var(--blue-800); --btn-fg: var(--on-blue); }
.btn--blue:hover { --btn-bg: var(--blue-900); }
.btn--outline { --btn-bd: var(--blue-200); --btn-fg: var(--blue-800); --btn-bg: var(--sand-0); }
.btn--outline:hover { --btn-bd: var(--blue-700); }
.btn--quiet { --btn-bg: var(--blue-100); --btn-fg: var(--blue-900); }
.btn--on-blue { --btn-bd: oklch(0.975 0.01 250 / 0.45); --btn-fg: var(--on-blue); }
.btn--on-blue:hover { --btn-bg: oklch(0.975 0.01 250 / 0.1); --btn-bd: var(--on-blue); }
.btn--ink { --btn-bg: var(--blue-900); --btn-fg: var(--on-blue); }
.btn--ink:hover { --btn-bg: var(--blue-950); }
.btn--ink-outline { --btn-bd: var(--blue-900); --btn-fg: var(--blue-900); }
.btn--ink-outline:hover { --btn-bg: oklch(0.29 0.09 258 / 0.08); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 700; color: var(--blue-700); text-decoration: none;
}
.link-arrow .icon { transition: transform .25s var(--ease-out); }
.link-arrow:hover { color: var(--blue-900); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- top bar + header ---------- */

.topbar { background: var(--blue-950); color: var(--on-blue-soft); font-size: 0.9375rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding-block: 6px; }
.topbar a { color: var(--on-blue); text-decoration: none; }
.topbar__emergency { display: inline-flex; align-items: center; gap: 0.5em; }
.topbar__emergency .icon { color: oklch(0.8 0.13 40); }
.topbar__emergency strong { font-weight: 700; }
.topbar__emergency:hover span { text-decoration: underline; }
.topbar__meta { display: flex; gap: 28px; }
.topbar__meta li { display: inline-flex; align-items: center; gap: 0.45em; }
.topbar__meta .icon { color: var(--green-500); }
@media (max-width: 960px) { .topbar__meta { display: none; } .topbar__inner { justify-content: center; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.982 0.008 85 / 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px oklch(0.3 0.08 256 / 0.5); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { flex: none; display: block; }
.brand img { width: clamp(150px, 16vw, 200px); }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 6px; }
.site-nav a {
  display: block; padding: 10px 16px; border-radius: 999px;
  color: var(--ink); font-weight: 600; text-decoration: none;
  transition: background-color .2s;
}
.site-nav a:hover { background: var(--sand-100); color: var(--blue-900); }
.site-nav a[aria-current='page'] { color: var(--blue-800); background: var(--blue-100); }
.site-nav__mobile-extra { display: none; }
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .site-header__inner { min-height: 70px; gap: 12px; }
  .site-header__call { margin-left: auto; padding-inline: 0; width: 48px; min-height: 48px; }
  .site-header__call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 48px; padding: 0 16px; border-radius: 999px;
    border: 2px solid var(--line); background: var(--sand-0); color: var(--blue-900);
    font: 700 1rem var(--font-body); cursor: pointer;
  }
  .menu-toggle__close { display: none; }
  .menu-toggle[aria-expanded='true'] .menu-toggle__open { display: none; }
  .menu-toggle[aria-expanded='true'] .menu-toggle__close { display: inline; }
  .site-nav {
    position: absolute; inset: 100% 0 auto 0; margin: 0;
    background: var(--sand-50); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px;
    box-shadow: 0 24px 40px -24px oklch(0.3 0.08 256 / 0.35);
  }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; animation: drop .28s var(--ease-out); }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { padding: 14px 12px; font-size: 1.25rem; border-radius: 12px; }
  .site-nav__mobile-extra { display: grid; gap: 10px; margin-top: 16px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 10%, oklch(0.42 0.13 252) 0%, transparent 60%),
    var(--blue-800);
  color: var(--on-blue);
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
  padding-block: clamp(48px, 7vw, 104px) clamp(56px, 7vw, 112px);
}
.hero h1 { color: var(--on-blue); max-width: 13ch; }
.hero__lead { margin-top: 1.5rem; font-size: var(--step-1); line-height: 1.5; color: var(--on-blue-soft); max-width: 36ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.25rem; }
.hero__alt { margin-top: 1.5rem; font-size: var(--step--1); color: var(--on-blue-soft); max-width: 46ch; }
.hero__alt a { color: var(--on-blue); font-weight: 700; }

.hero__visual { position: relative; justify-self: center; width: min(100%, 460px); padding: 0 0 56px 0; }
.hero__photo { margin: 0; position: relative; z-index: 1; border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px oklch(0.15 0.08 258 / 0.7); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__orbit { position: absolute; z-index: 2; left: -18%; bottom: 6%; width: 136%; height: 30%; pointer-events: none; overflow: visible; }
.hero__orbit stop:first-child { stop-color: oklch(0.72 0.11 225); }
.hero__sparkle { position: absolute; z-index: 3; top: 4%; right: -2%; width: 54px; height: 54px; fill: var(--green-500); }
.today-card {
  position: absolute; z-index: 3; left: -10%; bottom: 0;
  width: min(300px, 82%);
  background: var(--sand-0); color: var(--ink);
  border-radius: var(--radius); padding: 18px 20px 16px;
  box-shadow: var(--shadow);
}
.today-card__label { font-size: 0.875rem; font-weight: 700; color: var(--ink-soft); }
.today-card__status { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.25; color: var(--blue-900); margin-top: 4px; }
.today-card__addr { display: flex; gap: 6px; align-items: center; margin-top: 10px; font-size: 0.9375rem; color: var(--ink-soft); }
.today-card__addr .icon { color: var(--blue-700); }
.today-card__link { display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; font-weight: 700; font-size: 0.9375rem; text-decoration: none; }

/* open/closed indicator dot, set by JS */
[data-open-status].is-open::before, [data-open-status].is-closed::before {
  content: ''; display: inline-block; width: 0.55em; height: 0.55em; border-radius: 50%;
  margin-right: 0.5em; vertical-align: 0.08em;
}
[data-open-status].is-open::before { background: var(--green-600); box-shadow: 0 0 0 4px oklch(0.81 0.19 132 / 0.25); }
[data-open-status].is-closed::before { background: oklch(0.7 0.02 256); }

/* orbit draw-on */
.orbit path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .orbit path { stroke-dashoffset: 1; animation: draw 1.6s .25s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 14ch; }
  .hero__visual { width: min(100%, 420px); margin-top: 8px; }
  .today-card { left: 0; }
}
@media (max-width: 520px) {
  .hero__actions .btn { width: 100%; }
  .hero__visual { width: 86%; justify-self: end; margin-right: 4%; }
  .today-card { left: -12%; width: 86%; }
}

/* ---------- essentials strip ---------- */

.essentials { background: var(--sand-0); border-bottom: 1px solid var(--line); }
.essentials__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.essentials__list li { padding: 28px 24px; display: grid; gap: 6px; align-content: start; }
.essentials__list li + li { border-left: 1px solid var(--line); }
.essentials__list li:first-child { padding-left: 0; }
.essentials__label { display: inline-flex; align-items: center; gap: 0.5em; font-size: var(--step--1); font-weight: 700; color: var(--ink-soft); }
.essentials__label .icon { color: var(--blue-700); }
.essentials__value { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--blue-900); line-height: 1.25; }
.essentials__value a { color: inherit; text-decoration: none; }
.essentials__value a:hover { text-decoration: underline; }
.essentials__value--sm { font-size: 1.125rem; line-height: 1.4; }
.essentials__sep { font-family: var(--font-body); font-weight: 400; font-size: 1rem; color: var(--ink-soft); }
.essentials__sos .essentials__label, .essentials__sos .essentials__label .icon { color: var(--sos); }
@media (max-width: 960px) {
  .essentials__list { grid-template-columns: 1fr 1fr; }
  .essentials__list li { padding: 22px 18px; }
  .essentials__list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .essentials__list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .essentials__list { grid-template-columns: 1fr; }
  .essentials__list li { padding: 18px 0; border-left: 0 !important; }
  .essentials__list li + li { border-top: 1px solid var(--line); }
}

/* ---------- promise ---------- */

.promise { padding-block: clamp(72px, 10vw, 140px); }
.promise__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.promise h2 { font-size: var(--step-4); max-width: 9ch; }
.promise__vision { margin-top: 1.5rem; font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 30ch; }
.promise__list { display: grid; gap: 0; counter-reset: p; }
.promise__list li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding-block: 28px; border-top: 1px solid var(--line); }
.promise__list li:last-child { border-bottom: 1px solid var(--line); }
.promise__num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-800);
  font: 800 1.5rem/1 var(--font-display);
}
.promise__list h3 { margin-bottom: 6px; }
.promise__list p { color: var(--ink-soft); max-width: 44ch; }
@media (max-width: 820px) { .promise__grid { grid-template-columns: 1fr; } }

/* ---------- section head ---------- */

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px 64px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { max-width: 16ch; }
.section-head__aside { max-width: 40ch; color: var(--ink-soft); }

/* ---------- services ---------- */

.services-home { padding-block: clamp(72px, 9vw, 128px); background: var(--sand-100); }
.svc-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(32px, 5vw, 80px); }
.svc-group__head { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; margin-bottom: 14px; }
.svc-group__num { font: 800 1rem/1 var(--font-display); color: var(--green-800); background: var(--green-100); padding: 6px 9px; border-radius: 8px; align-self: center; }
.svc-group__head h2, .svc-group__head h3 { font-size: var(--step-2); }
.svc-group__head p { grid-column: 1 / -1; margin-top: 8px; color: var(--ink-soft); max-width: 44ch; }
.svc-list { border-top: 2px solid var(--blue-900); }
.svc-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 2px;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  transition: background-color .2s, padding .3s var(--ease-out);
}
.svc-row__name { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--blue-900); line-height: 1.2; }
.svc-row__summary { grid-column: 1; color: var(--ink-soft); font-size: var(--step--1); }
.svc-row__arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--blue-700); width: 24px; height: 24px; transition: transform .25s var(--ease-out); }
.svc-row:hover { background: oklch(0.992 0.004 85 / 0.7); color: var(--ink); }
.svc-row:hover .svc-row__arrow { transform: translateX(5px); }
.svc-row:hover .svc-row__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
@media (max-width: 820px) { .svc-groups { grid-template-columns: 1fr; } }

.services-full { padding-block: clamp(56px, 7vw, 96px); }
.note-box {
  margin-top: clamp(56px, 7vw, 96px); padding: clamp(28px, 4vw, 48px);
  background: var(--blue-100); border-radius: var(--radius);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px 48px; align-items: center;
}
.note-box h2 { font-size: var(--step-2); grid-row: span 2; }
.note-box p { max-width: 52ch; }
@media (max-width: 760px) { .note-box { grid-template-columns: 1fr; } .note-box h2 { grid-row: auto; } }

/* ---------- doctor ---------- */

.doctor { padding-block: clamp(72px, 10vw, 140px); }
.doctor__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.doctor__photo, .bio__photo { margin: 0; }
.doctor__photo img, .bio__photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.doctor__photo figcaption, .bio__photo figcaption, .visit__sign figcaption { margin-top: 12px; font-size: var(--step--1); color: var(--ink-soft); }
.doctor__creds { margin-top: 0.6rem; font-weight: 700; color: var(--blue-700); letter-spacing: 0.01em; }
.doctor__big { margin-block: 1.75rem 1.25rem; font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); line-height: 1.2; letter-spacing: -0.015em; color: var(--blue-900); max-width: 22ch; }
.doctor__copy > p:not([class]) { color: var(--ink-soft); max-width: 60ch; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-block: 2rem; }
.facts li { padding-block: 14px; border-top: 1px solid var(--line); display: grid; align-content: start; }
.facts strong { font-family: var(--font-display); font-size: var(--step-1); color: var(--blue-900); }
.facts span { color: var(--ink-soft); font-size: var(--step--1); }
@media (max-width: 820px) {
  .doctor__grid { grid-template-columns: 1fr; }
  .doctor__photo { max-width: 420px; }
}
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; } }

/* ---------- visit ---------- */

.visit { padding-block: clamp(72px, 9vw, 128px); background: var(--sand-0); border-top: 1px solid var(--line); }
.visit__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.visit__address { margin-top: 1.25rem; font-size: var(--step-1); line-height: 1.4; color: var(--ink); }
.visit__dir { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5rem; }
.visit__hours { margin-top: 2.5rem; }
.visit__subhead { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 12px; font-size: var(--step-1); }
.status-pill { font: 700 0.9375rem/1.3 var(--font-body); color: var(--ink-soft); background: var(--sand-100); padding: 6px 12px; border-radius: 999px; letter-spacing: 0; }
.status-pill.is-open { color: var(--green-800); background: var(--green-100); }
.visit__map { display: grid; gap: 24px; }
.visit__map iframe { width: 100%; aspect-ratio: 4 / 3; min-height: 340px; border: 0; border-radius: var(--radius); background: var(--sand-100); }
.visit__sign { margin: 0; display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; }
.visit__sign img { border-radius: var(--radius-sm); aspect-ratio: 1; object-fit: cover; }
@media (max-width: 860px) { .visit__grid { grid-template-columns: 1fr; } }

.hours { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.hours th, .hours td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; color: var(--ink); }
.hours td { text-align: right; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours tr.is-today { background: var(--green-100); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--blue-950); font-weight: 700; }
.hours tr.is-today th::after { content: ' · Today'; font-weight: 400; color: var(--green-800); }
.hours tr[data-day='0'] td { color: var(--ink-soft); }

/* ---------- CTA band ---------- */

.cta-band { background: var(--green-500); color: var(--blue-950); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px 64px; flex-wrap: wrap; padding-block: clamp(48px, 6vw, 80px); }
.cta-band__copy { position: relative; max-width: 40rem; }
.cta-band h2 { color: var(--blue-950); font-size: var(--step-3); }
.cta-band p { margin-top: 0.75rem; font-size: var(--step-1); line-height: 1.45; max-width: 38ch; }
.cta-band__sparkle { width: 32px; height: 32px; fill: var(--blue-900); margin-bottom: 14px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .cta-band__actions .btn { width: 100%; } }

/* ---------- footer ---------- */

.site-footer { background: var(--sand-100); padding-block: clamp(56px, 7vw, 88px) 24px; font-size: var(--step--1); }
.footer__grid { display: grid; grid-template-columns: 1.1fr 1fr 0.9fr 1.3fr; gap: 40px; }
.footer__brand img { width: 210px; }
.footer__brand p { margin-top: 16px; color: var(--ink-soft); max-width: 34ch; }
.footer__title { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.footer__list { display: grid; gap: 12px; }
.footer__list li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.footer__list .icon { margin-top: 0.25em; color: var(--blue-700); }
.footer__list a { color: var(--ink); font-weight: 600; }
.footer__emergency .icon, .footer__emergency a { color: var(--sos); }
.footer__note { margin-top: 12px; color: var(--ink-soft); font-size: 0.9375rem; }
.site-footer .hours th, .site-footer .hours td { padding: 7px 0; }
.footer__services { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.footer__group { font-weight: 700; color: var(--ink); }
.footer__group ul { margin-top: 6px; display: grid; gap: 4px; }
.footer__group a { font-weight: 400; color: var(--ink-soft); text-decoration: none; }
.footer__group a:hover { color: var(--blue-800); text-decoration: underline; }
.footer__base { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; color: var(--ink-soft); font-size: 0.9375rem; }
@media (max-width: 1080px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid, .footer__services { grid-template-columns: 1fr; } }

/* mobile action bar */
.action-bar { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: 76px; }
  .action-bar {
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--blue-950);
    padding: 6px 6px max(6px, env(safe-area-inset-bottom));
    box-shadow: 0 -10px 30px -16px oklch(0.2 0.08 258 / 0.6);
  }
  .action-bar a {
    display: grid; justify-items: center; gap: 3px; padding: 8px 4px; border-radius: 12px;
    color: var(--on-blue); text-decoration: none; font-size: 0.8125rem; font-weight: 700;
  }
  .action-bar a:first-child { background: var(--green-500); color: var(--blue-950); }
  .action-bar .icon { width: 22px; height: 22px; }
  .action-bar__sos .icon { color: oklch(0.8 0.13 40); }
}

/* ---------- inner page hero ---------- */

.page-hero { position: relative; overflow: hidden; background: var(--sand-100); padding-block: clamp(32px, 4vw, 48px) clamp(56px, 8vw, 104px); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: var(--step-4); max-width: 18ch; }
.page-hero--service h1 { max-width: 16ch; }
.page-hero__place { display: block; color: var(--blue-600); font-weight: 600; font-size: 0.55em; letter-spacing: -0.015em; margin-top: 0.25em; }
.page-hero__lead { margin-top: 1.25rem; font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 46ch; }
.page-hero__orbit { position: absolute; right: -6%; bottom: 8%; width: min(46vw, 640px); height: auto; aspect-ratio: 600 / 260; opacity: 0.9; pointer-events: none; }
@media (max-width: 760px) { .page-hero__orbit { width: 80vw; right: -24vw; bottom: -2%; opacity: 0.45; } }

.crumbs { margin-bottom: clamp(28px, 4vw, 48px); font-size: 0.9375rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: '/'; margin-inline: 10px; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- service page ---------- */

.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 96px); padding-block: clamp(48px, 6vw, 88px); align-items: start; }
.svc-article { display: grid; gap: clamp(48px, 6vw, 72px); min-width: 0; }
.svc-article h2 { font-size: var(--step-2); margin-bottom: 1.25rem; }
.prose p + p { margin-top: 1.1em; }
.prose { max-width: 66ch; }
.svc-intro p:first-child { font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.svc-intro p { color: var(--ink-soft); }

.steps { display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding-block: 22px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__num { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-800); color: var(--on-blue); font: 800 1.25rem/1 var(--font-display); }
.steps h3 { font-size: var(--step-1); margin-bottom: 4px; }
.steps p { color: var(--ink-soft); max-width: 60ch; }

.svc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ticks, .sparkle-list { display: grid; gap: 14px; }
.ticks li, .sparkle-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.ticks .icon { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--green-100); color: var(--green-800); stroke-width: 3; margin-top: 2px; }
.signs { background: var(--sand-100); border-radius: var(--radius); padding: 28px; }
.signs h2 { font-size: var(--step-1); }
.sparkle-list .sparkle { width: 18px; height: 18px; margin: 5px 0 0 5px; fill: var(--blue-700); }
@media (max-width: 760px) { .svc-split { grid-template-columns: 1fr; } }

.faq { border-top: 2px solid var(--blue-900); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--blue-900); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue-700); }
.faq__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-100); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--blue-800); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .3s var(--ease-out); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 4px 24px; color: var(--ink-soft); max-width: 64ch; }

.svc-aside { position: sticky; top: 108px; }
.book-box { background: var(--sand-0); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; box-shadow: var(--shadow); }
.book-box h2 { font-size: var(--step-1); }
.book-box > p { color: var(--ink-soft); font-size: var(--step--1); margin-bottom: 6px; }
.book-box__meta { margin: 10px 0 0; display: grid; gap: 14px; font-size: 0.9375rem; }
.book-box__meta div { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.book-box__meta dt { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--ink-soft); }
.book-box__meta dd { margin: 0; color: var(--ink); }
.book-box__sos dt, .book-box__sos a { color: var(--sos); font-weight: 700; }
@media (max-width: 980px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-aside { position: static; }
}

.related { padding-block: clamp(56px, 7vw, 96px); background: var(--sand-100); }
.related h2 { font-size: var(--step-2); margin-bottom: 1.5rem; }
.svc-list--related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; margin-bottom: 2rem; }
@media (max-width: 860px) { .svc-list--related { grid-template-columns: 1fr; } }

/* ---------- about ---------- */

.bio { padding-block: clamp(56px, 8vw, 120px); }
.bio__grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.bio__photo { position: sticky; top: 108px; }
.bio__copy h2 { font-size: var(--step-3); }
.bio__copy h3 { margin-top: 2.25rem; margin-bottom: 0.6rem; }
.bio__intro { margin-top: 1.75rem; font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); line-height: 1.22; letter-spacing: -0.015em; color: var(--blue-900); }
.bio__copy p:not([class]) { color: var(--ink-soft); }
.bio__copy .bio__intro + p { margin-top: 1.5rem; }
@media (max-width: 820px) { .bio__grid { grid-template-columns: 1fr; } .bio__photo { position: static; max-width: 420px; } }

.mv { background: var(--blue-800); color: var(--on-blue); padding-block: clamp(64px, 8vw, 120px); }
.mv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.mv__text { font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); line-height: 1.25; letter-spacing: -0.015em; }
@media (max-width: 760px) { .mv__grid { grid-template-columns: 1fr; } }

.ages { padding-block: clamp(64px, 8vw, 112px); }
.ages h2 { margin-bottom: clamp(28px, 4vw, 48px); max-width: 16ch; }
.ages__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--blue-900); }
.ages__item { display: grid; gap: 8px; align-content: start; padding: 28px 28px 32px 0; text-decoration: none; color: var(--ink-soft); }
.ages__item + .ages__item { padding-left: 28px; border-left: 1px solid var(--line); }
.ages__k { font-family: var(--font-display); font-weight: 750; font-size: var(--step-3); color: var(--blue-900); letter-spacing: -0.025em; line-height: 1; }
.ages__item .icon { color: var(--blue-700); margin-top: 8px; width: 26px; height: 26px; transition: transform .25s var(--ease-out); }
.ages__item:hover { color: var(--ink); }
.ages__item:hover .icon { transform: translateX(6px); }
@media (max-width: 760px) {
  .ages__grid { grid-template-columns: 1fr; }
  .ages__item, .ages__item + .ages__item { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- contact ---------- */

.contact-ways { padding-block: clamp(40px, 5vw, 64px) 0; }
.ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--blue-900); }
.ways__item { padding: 28px 24px 28px 0; display: grid; gap: 8px; align-content: start; }
.ways__item + .ways__item { padding-left: 24px; border-left: 1px solid var(--line); }
.ways__icon { width: 28px; height: 28px; color: var(--blue-700); }
.ways__item h2 { font-size: var(--step-1); }
.ways__big { white-space: nowrap; font-family: var(--font-display); font-weight: 750; font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem); letter-spacing: -0.02em; color: var(--blue-900); text-decoration: none; line-height: 1.2; }
.ways__big:hover { text-decoration: underline; }
.ways__email { font-weight: 700; word-break: break-all; }
.ways__note { color: var(--ink-soft); font-size: var(--step--1); }
.ways__item--sos .ways__icon, .ways__item--sos h2, .ways__item--sos .ways__big { color: var(--sos); }
@media (max-width: 1000px) {
  .ways { grid-template-columns: 1fr 1fr; }
  .ways__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .ways__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .ways { grid-template-columns: 1fr; }
  .ways__item, .ways__item + .ways__item { padding: 24px 0; border-left: 0; }
  .ways__item + .ways__item { border-top: 1px solid var(--line); }
}

.contact-form-section { padding-block: clamp(64px, 8vw, 112px); }
.contact-form__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-form__intro p { margin-top: 1rem; color: var(--ink-soft); max-width: 40ch; }
.contact-form__privacy { font-size: var(--step--1); }
@media (max-width: 860px) { .contact-form__grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 22px; background: var(--sand-0); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; color: var(--ink); padding: 0; }
.field__opt { font-weight: 400; color: var(--ink-soft); }
.field input[type='text'], .field input[type='tel'], .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 12px 16px;
  font: inherit; font-size: var(--step-0); color: var(--ink);
  background: var(--sand-50); border: 2px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a3d78' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--blue-200); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-700); background: var(--sand-0); box-shadow: 0 0 0 4px oklch(0.50 0.14 254 / 0.15); }
.field [aria-invalid='true'] { border-color: var(--sos); background: var(--sos-bg); }
.field__hint { font-size: 0.9375rem; color: var(--ink-soft); }
.field__error { font-size: 0.9375rem; font-weight: 700; color: var(--sos); }
.field--choices { display: flex; flex-wrap: wrap; gap: 10px; }
.field--choices legend { margin-bottom: 8px; width: 100%; }
.field--choices label {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px;
  border: 2px solid var(--line); border-radius: 999px; font-weight: 600; cursor: pointer; background: var(--sand-50);
}
.field--choices input { width: 20px; height: 20px; accent-color: var(--blue-700); margin: 0; }
.field--choices label:has(input:checked) { border-color: var(--blue-700); background: var(--blue-100); }
.field--choices label:has(input:focus-visible) { outline: 3px solid var(--blue-600); outline-offset: 2px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form__status { font-weight: 600; color: var(--green-800); }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--sos); }

/* ---------- 404 ---------- */

.page-hero--404 { padding-block: clamp(64px, 10vw, 140px); }
.quick-links { display: grid; gap: 14px; margin-top: 2rem; font-size: var(--step-1); }

/* ---------- reveal on scroll ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .orbit path { stroke-dashoffset: 0; animation: none; }
}

@media print {
  .topbar, .site-header, .action-bar, .cta-band, .visit__map iframe { display: none !important; }
  body { padding: 0; background: none; }
}
