/* =========================================================
   MY Zekeriyaköy Ağız ve Diş Sağlığı Polikliniği
   ========================================================= */

/* ---------- Fonts (self-hosted, latin + latin-ext for Turkish) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-normal-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-normal-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/atkinson-hyperlegible-next-normal-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/atkinson-hyperlegible-next-normal-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Digits only, taken from Bricolage: Atkinson's slashed zero reads like code in times and phone numbers. */
@font-face {
  font-family: "Digits";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-normal-latin.woff2) format("woff2");
  unicode-range: U+0030-0039;
}

/* ---------- Tokens ---------- */
:root {
  /* colour */
  --paper: #f5f8f7;      /* kireç badana */
  --surface: #ffffff;
  --ink: #16323a;        /* çam mürekkebi */
  --ink-soft: #4a6168;
  --line: #d3dfdb;
  --blue: #1766a8;       /* logo mavisi */
  --blue-deep: #0f4f86;
  --red: #d2232a;        /* logo kırmızısı */
  --pine: #24503f;
  --pine-deep: #1a3d30;
  --mint: #e2efe9;
  --open: #1f8a5b;

  /* type */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Digits", "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-0: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
  --step-1: clamp(1.25rem, 1.18rem + 0.35vw, 1.4375rem);
  --step-2: clamp(1.5rem, 1.36rem + 0.7vw, 1.875rem);
  --step-3: clamp(1.875rem, 1.6rem + 1.4vw, 2.625rem);
  --step-4: clamp(2.375rem, 1.8rem + 3vw, 4.25rem);

  /* space */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --max: 74rem;
  --radius: 0.75rem;

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }

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

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0.5rem;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }

.btn-quiet { border-color: currentColor; color: var(--ink); }
.btn-quiet:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.brand { flex: none; display: block; }
.brand img { width: clamp(11rem, 18vw, 13.5rem); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }

.nav-list {
  display: flex;
  gap: clamp(1rem, 2vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--step--1);
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] { border-bottom-color: var(--blue); color: var(--ink); }

.nav-call { min-height: 2.6rem; padding: 0.45rem 1.05rem; font-size: var(--step--1); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 700 var(--step--1) / 1 var(--font-body);
  cursor: pointer;
}
.menu-toggle svg { width: 1.1rem; height: 1.1rem; }

@media (max-width: 60rem) {
  .menu-toggle { display: inline-flex; }
  .nav-call { display: none; }
  .nav-list {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1.5rem 2rem -1.5rem rgb(22 50 58 / 0.25);
  }
  .nav-list.is-open { display: flex; }
  .nav-list a {
    display: block;
    padding-block: 0.85rem;
    font-size: var(--step-1);
    font-family: var(--font-display);
    border-bottom: 1px solid var(--line);
  }
  .nav-list li:last-child a { border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  padding-block: clamp(2.5rem, 7vw, 5.5rem) 0;
}

.hero-title {
  font-size: var(--step-4);
  font-weight: 700;
  font-stretch: 88%;
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 13ch;
}

.hero-lede {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

/* opening status */
.status {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-top: 2rem;
  font-weight: 600;
}
.status-dot {
  flex: none;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--ink-soft);
  transform: translateY(0.05rem);
}
.status[data-state="open"] .status-dot { background: var(--open); box-shadow: 0 0 0 4px color-mix(in srgb, var(--open) 22%, transparent); }
.status[data-state="closed"] .status-dot { background: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 18%, transparent); }

/* the house */
.house { margin: 0; }

.house-frame {
  position: relative;
  aspect-ratio: 6 / 5;
}

.house-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 44% 70%;
  clip-path: polygon(0 34%, 50% 0, 100% 34%, 100% 100%, 0 100%);
  background: var(--mint);
}

.house-roof {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.house-roof path {
  fill: none;
  stroke: var(--red);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.house figcaption {
  margin-top: 0.85rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}

/* the one orchestrated moment: roof draws, photo settles */
@media (prefers-reduced-motion: no-preference) {
  .house-roof path { animation: roof-draw 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.25s both; }
  .house-frame img { animation: house-settle 1.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
}
@keyframes roof-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes house-settle { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }

@media (max-width: 52rem) {
  .hero { grid-template-columns: 1fr; align-items: start; }
  .house { max-width: 32rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem 4rem;
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-head h2 { font-size: var(--step-3); max-width: 16ch; }
.section-head p { color: var(--ink-soft); max-width: 36rem; }

@media (max-width: 52rem) {
  .section-head { grid-template-columns: 1fr; }
}

/* ---------- Services list ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 5vw, 4rem);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.service-link {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.25rem 1.25rem;
  align-items: start;
  height: 100%;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.service-link svg {
  grid-row: span 2;
  width: 3.25rem;
  height: 3.25rem;
  color: var(--blue);
  transition: color 0.15s ease;
}
.service-name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.service-desc { color: var(--ink-soft); font-size: var(--step--1); line-height: 1.5; max-width: 40ch; }

.service-link:hover { color: var(--ink); }
.service-link:hover .service-name { text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.service-link:hover svg { color: var(--red); }

@media (max-width: 44rem) {
  .services { grid-template-columns: 1fr; }
}

/* ---------- Children / timeline ---------- */
.kids {
  background: var(--pine);
  color: #fff;
  padding-block: var(--section);
  margin-inline: clamp(0.5rem, 1.5vw, 1rem);
  border-radius: clamp(1.25rem, 3vw, 2.5rem);
}
.kids + .section { padding-top: var(--section); }

.kids .section-head p { color: color-mix(in srgb, #fff 82%, var(--pine)); }

.timeline {
  --dot: 1rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.timeline li {
  position: relative;
  padding-top: calc(var(--dot) + 1.25rem);
}
.timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px var(--pine), 0 0 0 7px color-mix(in srgb, #fff 35%, transparent);
  z-index: 1;
}
.timeline li::after {
  content: "";
  position: absolute;
  top: calc(var(--dot) / 2 - 1px);
  left: 0;
  right: -1.5rem;
  height: 2px;
  background: color-mix(in srgb, #fff 30%, transparent);
}
.timeline li:last-child::after { right: 0; }

.age {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  font-weight: 700;
  font-stretch: 80%;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums;
}
.age small {
  font-size: 0.42em;
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0;
  margin-left: 0.2em;
}
.timeline p {
  margin-top: 0.75rem;
  font-size: var(--step--1);
  line-height: 1.5;
  color: color-mix(in srgb, #fff 88%, var(--pine));
}

@media (max-width: 64rem) {
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.5rem; }
  .timeline li:nth-child(3n)::after { right: 0; }
}
@media (max-width: 40rem) {
  .timeline { grid-template-columns: 1fr; row-gap: 0; }
  .timeline li { padding-top: 0; padding-left: 2.5rem; padding-bottom: 2rem; }
  .timeline li::before { top: 0.6rem; }
  .timeline li::after,
  .timeline li:nth-child(3n)::after { top: 0.6rem; left: calc(var(--dot) / 2 - 1px); right: auto; width: 2px; height: 100%; }
  .timeline li:last-child::after { display: none; }
  .timeline li:last-child { padding-bottom: 0; }
}

.kids-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid color-mix(in srgb, #fff 25%, transparent);
}
.kids-more p { max-width: 44rem; }
.kids .btn-quiet { color: #fff; }
.kids .btn-quiet:hover { background: #fff; border-color: #fff; color: var(--pine-deep); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; max-width: 52rem; border-top: 2px solid var(--ink); }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 0.85rem;
  height: 0.85rem;
  margin-right: 0.25rem;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  color: var(--blue);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue-deep); }

.faq-answer { padding: 0 0 1.5rem; max-width: 65ch; color: var(--ink-soft); }
.faq-answer p + p { margin-top: 0.75rem; }
.faq-answer a { font-weight: 600; }

/* ---------- Visit / contact ---------- */
.visit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.visit h2 { font-size: var(--step-3); }

.phone-big {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.5rem + 3.5vw, 3.75rem);
  font-weight: 700;
  font-stretch: 85%;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  border-bottom: 4px solid var(--blue);
  padding-bottom: 0.2rem;
}
.phone-big:hover { color: var(--blue-deep); border-bottom-color: var(--red); }

.contact-list {
  display: grid;
  gap: 1.1rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.contact-list li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: 0.9rem; align-items: start; }
.contact-list svg { width: 1.5rem; height: 1.5rem; color: var(--pine); margin-top: 0.1rem; }
.contact-list .muted { display: block; font-size: var(--step--1); color: var(--ink-soft); }

/* hours table */
.hours {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.hours caption {
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  letter-spacing: -0.015em;
  padding-bottom: 1rem;
}
.hours th, .hours td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
}
.hours th { padding-left: 0; }
.hours td { text-align: right; padding-right: 0; }
.hours tr:first-child > * { border-top: 2px solid var(--ink); }
.hours .is-closed td { color: var(--red); font-weight: 600; }
.hours .is-today > * { background: var(--mint); font-weight: 700; }
.hours .is-today th { padding-left: 0.75rem; }
.hours .is-today td { padding-right: 0.75rem; }
.hours .is-today th::after {
  content: "Bugün";
  margin-left: 0.6rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--pine);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: 0.1em;
}

@media (max-width: 52rem) {
  .visit { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: var(--section);
  padding-block: 3rem calc(3rem + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 2rem 3rem;
}
.footer-grid img { width: 12rem; margin-bottom: 1rem; }
.footer-grid h2 {
  font-size: var(--step-0);
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.4rem; }
.footer-grid .cols-2 { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
@media (max-width: 30rem) { .footer-grid .cols-2 { grid-template-columns: 1fr; } }
.footer-grid a { color: var(--ink-soft); text-decoration: none; }
.footer-grid a:hover { color: var(--blue); text-decoration: underline; }
.footer-legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 2rem;
}
.footer-legal p { margin: 0; max-width: 48rem; }
.footer-credit { white-space: nowrap; }
.site-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.site-credit img { height: 40px; width: auto; }
.site-credit:hover { color: var(--ink); }
.social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social a {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
}
.social a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.social svg { width: 1.1rem; height: 1.1rem; }

@media (max-width: 52rem) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

/* ---------- Mobile call bar ---------- */
.call-bar { display: none; }

@media (max-width: 40rem) {
  body { padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px)); }
  .call-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 60;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -0.75rem 1.5rem -1rem rgb(22 50 58 / 0.3);
  }
  .call-bar .btn { flex: 1; justify-content: center; }
  .call-bar-status { flex: none; max-width: 40%; font-size: 0.8125rem; line-height: 1.3; color: var(--ink-soft); }
}

/* =========================================================
   Service pages
   ========================================================= */
.page-head {
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--blue); }

.page-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: end;
}
.page-title { font-size: var(--step-4); font-stretch: 88%; letter-spacing: -0.025em; line-height: 1.02; max-width: 16ch; }
.page-lede { margin-top: 1.25rem; font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 42rem; }

/* Representative photos from the original site (220px sources: shown near native size) */
.page-photos {
  display: grid;
  grid-template-columns: repeat(var(--cols, 1), minmax(0, 13.75rem));
  gap: 1rem;
  margin: 0;
}
.page-photos.is-pair { --cols: 2; }
.page-photos figure { margin: 0; }
.page-photos img {
  width: 100%;
  aspect-ratio: 22 / 21;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--surface);
  outline: 1px solid var(--line);
  outline-offset: -1px;
}
.page-photos figcaption {
  margin-top: 0.6rem;
  font-size: var(--step--1);
  line-height: 1.4;
  color: var(--ink-soft);
  text-wrap: balance;
}

@media (max-width: 60rem) {
  .page-head-grid { grid-template-columns: 1fr; align-items: start; }
}

.page-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-block: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 {
  font-size: var(--step-2);
  margin-top: 2.75rem;
  scroll-margin-top: 6rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h2 + * { margin-top: 0.85rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.5rem; }
.prose li::marker { color: var(--blue); }
.prose strong { font-weight: 700; }

.note {
  padding: 1.25rem 1.5rem;
  background: var(--mint);
  border-radius: var(--radius);
  border-left: 4px solid var(--pine);
}

.aside { display: grid; gap: 2.5rem; align-content: start; }
.aside-sticky { position: sticky; top: 6rem; display: grid; gap: 2.5rem; }

.appointment {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 0 0 var(--radius) var(--radius);
}
.appointment h2 { font-size: var(--step-1); }
.appointment .status { margin-top: 0.75rem; font-size: var(--step--1); }
.appointment .btn { margin-top: 1.25rem; width: 100%; justify-content: center; }
.appointment .hours-short { margin-top: 1rem; font-size: var(--step--1); color: var(--ink-soft); }

.other-services h2 { font-size: var(--step-0); letter-spacing: 0; margin-bottom: 0.5rem; }
.other-services ul { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.other-services a {
  display: block;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 600;
}
.other-services a:hover { color: var(--blue); }

@media (max-width: 60rem) {
  .page-body { grid-template-columns: 1fr; }
  .aside-sticky { position: static; }
}

/* 404 */
.notfound { padding-block: var(--section); max-width: 40rem; }
.notfound h1 { font-size: var(--step-4); font-stretch: 88%; }
.notfound p { margin-top: 1rem; color: var(--ink-soft); }
.notfound .hero-actions { margin-top: 2rem; }

/* ---------- Print ---------- */
@media print {
  .site-header, .call-bar, .menu-toggle, .aside, .site-footer .social { display: none !important; }
  body { background: #fff; padding: 0; }
  .page-body { grid-template-columns: 1fr; }
}

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