/* Self-hosted fonts (SIL Open Font License, see assets/fonts) – no requests to Google */
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff") format("woff");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff") format("woff");
  font-weight: 500 800; font-style: normal; font-display: swap;
}

/* ==========================================================================
   Clinic website
   Palette: fjord ink, fjord blue, mist, white + one bright accent: kinesio-tape cyan.
   Type: Bricolage Grotesque (display) + Instrument Sans (text).
   ========================================================================== */
:root {
  --ink: #0E2433;
  --ink-2: #183447;
  --fjord: #1D4E6B;
  --fjord-soft: #54687A;
  --mist: #EEF3F6;
  --mist-2: #DCE6EC;
  --paper: #FFFFFF;
  --tape: #14B8C8;
  --tape-soft: #D6F3F6;
  --danger: #C42B1C;
  --ok: #17845A;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Square corners everywhere (border-radius: 0) – a deliberate, clinical look. */
  --r-sm: 0;
  --r-md: 0;
  --r-lg: 0;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--text);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--fjord); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; border-radius: 0; }

h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--display); color: var(--ink); }
h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  font-weight: 750;
  line-height: .98;
  letter-spacing: -.035em;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
}
h3 { font-size: 1.35rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.2; }
h4 { font-family: var(--text); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }

.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2 * var(--gutter)); }
.small { font-size: .9rem; color: var(--fjord-soft); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 0; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .7em 1.35em;
  border: 1.5px solid var(--ink); border-radius: 0;
  background: var(--ink); color: #fff;
  font: 600 1rem/1.1 var(--text); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--fjord); border-color: var(--fjord); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-lg { min-height: 56px; padding: .9em 1.7em; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: .5em 1.1em; font-size: .95rem; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--mist); color: var(--ink); border-color: var(--ink); }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: var(--tape-soft); border-color: var(--tape-soft); color: var(--ink); }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.link-btn {
  background: none; border: 0; padding: .6em 0; cursor: pointer;
  font: 500 .98rem var(--text); color: var(--fjord-soft);
}
.link-btn::before { content: "‹ "; }
.link-btn.plain::before { content: none; }
.link-btn:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--mist-2);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font: 700 1.12rem var(--display); letter-spacing: -.02em; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: .5em .85em; border-radius: 0; }
.nav-link:hover { background: var(--mist); color: var(--ink); }
.main-nav .btn { margin-left: 10px; white-space: nowrap; }
@media (max-width: 420px) { .brand { font-size: 1rem; } }
@media (max-width: 820px) { .nav-link { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--fjord-soft); max-width: 54ch; margin-top: .6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 40px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--mist-2); }
.facts li { padding: 16px 16px 0 0; font-size: .95rem; color: var(--fjord-soft); line-height: 1.4; }
.facts li + li { padding-left: 16px; border-left: 1px solid var(--mist-2); }
.facts strong { display: block; font: 650 1.15rem/1.25 var(--display); color: var(--ink); letter-spacing: -.01em; margin-bottom: 2px; }

.hero-visual {
  position: relative; overflow: hidden;
  border-radius: 0;
  background: radial-gradient(120% 80% at 50% 0%, var(--ink-2) 0%, var(--ink) 70%);
  display: flex; flex-direction: column; align-items: center;
  padding: 36px 16px 16px;
  gap: 24px;
}
.spine { flex: 1 1 auto; width: auto; height: auto; max-width: 92%; max-height: 500px; min-height: 0; overflow: visible; }
.spine .body { fill: #E3ECF1; }
.spine .wing { fill: #8FA9BA; }
.spine .sacrum { fill: #C9D8E1; }
.spine .tape rect { fill: var(--tape); opacity: .88; }
/* The one orchestrated moment: vertebrae settle into a straight column, then tape goes on. */
@media (prefers-reduced-motion: no-preference) {
  .spine .v { animation: align 1.1s cubic-bezier(.2, .9, .25, 1) both; transform-box: fill-box; transform-origin: center; }
  .spine .v:nth-child(1)  { --dx: 10px; animation-delay: .15s; }
  .spine .v:nth-child(2)  { --dx: -8px; animation-delay: .19s; }
  .spine .v:nth-child(3)  { --dx: 12px; animation-delay: .23s; }
  .spine .v:nth-child(4)  { --dx: 6px;  animation-delay: .27s; }
  .spine .v:nth-child(5)  { --dx: -10px; animation-delay: .31s; }
  .spine .v:nth-child(6)  { --dx: -16px; animation-delay: .35s; }
  .spine .v:nth-child(7)  { --dx: -22px; animation-delay: .39s; }
  .spine .v:nth-child(8)  { --dx: -18px; animation-delay: .43s; }
  .spine .v:nth-child(9)  { --dx: -9px; animation-delay: .47s; }
  .spine .v:nth-child(10) { --dx: 4px;  animation-delay: .51s; }
  .spine .v:nth-child(11) { --dx: 14px; animation-delay: .55s; }
  .spine .v:nth-child(12) { --dx: 22px; animation-delay: .59s; }
  .spine .v:nth-child(13) { --dx: 18px; animation-delay: .63s; }
  .spine .v:nth-child(14) { --dx: 9px;  animation-delay: .67s; }
  .spine .v:nth-child(15) { --dx: -6px; animation-delay: .71s; }
  .spine .v:nth-child(16) { --dx: -12px; animation-delay: .75s; }
  .spine .v:nth-child(17) { --dx: -8px; animation-delay: .79s; }
  .spine .tape rect { transform-box: fill-box; transform-origin: 50% 0; animation: tape .7s cubic-bezier(.3, .8, .3, 1) 1.35s both; }
  .spine .tape rect + rect { animation-delay: 1.5s; }
}
@keyframes align { from { transform: translateX(var(--dx, 0)); } to { transform: none; } }
@keyframes tape { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: .9; } }

.availability {
  align-self: stretch;
  background: rgba(255, 255, 255, .97);
  border-radius: 0;
  padding: 18px 20px 14px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .55);
}
.availability-title { font: 650 1.05rem var(--display); margin: 0 0 6px; }
.availability ul { list-style: none; padding: 0; margin: 0 0 10px; }
.availability li a {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px;
  padding: 9px 0; border-bottom: 1px solid var(--mist-2);
  text-decoration: none; color: var(--fjord-soft);
}
.availability li a strong { color: var(--ink); font-weight: 650; white-space: nowrap; }
.availability li a:hover strong { color: var(--fjord); text-decoration: underline; }
.availability-today { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .92rem; color: var(--fjord-soft); }
.dot { width: 9px; height: 9px; border-radius: 0; background: #9AAAB6; flex: none; }
.dot-open { background: var(--ok); box-shadow: 0 0 0 4px rgba(23, 132, 90, .16); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .spine { max-height: 340px; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--mist-2); }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-intro { color: var(--fjord-soft); font-size: 1.1rem; max-width: 52ch; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.conditions { background: var(--mist); }
.condition-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 40px; }
.condition-list li {
  break-inside: avoid;
  font: 600 clamp(1.15rem, 1.8vw, 1.4rem)/1.3 var(--display); letter-spacing: -.015em;
  padding: 14px 0; border-bottom: 1px solid var(--mist-2);
}
@media (max-width: 520px) { .condition-list { columns: 1; } }

/* Treatments */
.treatment-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 40px clamp(32px, 5vw, 72px); margin-top: 40px; }
.treatment-group h3 { font-size: 1.5rem; padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 0; }
.treatment-list { list-style: none; margin: 0; padding: 0; }
.treatment-list li { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--mist-2); }
.treatment-text p { color: var(--fjord-soft); font-size: .97rem; margin: 0; max-width: 46ch; }
.treatment-text h4 { margin-bottom: .3em; }
.treatment-meta { display: grid; justify-items: end; align-content: start; gap: 2px; text-align: right; white-space: nowrap; }
.treatment-meta .price { font: 700 1.3rem var(--display); letter-spacing: -.02em; }
.treatment-meta .duration { font-size: .9rem; color: var(--fjord-soft); }
.book-link {
  margin-top: 8px; font-weight: 600; font-size: .9rem; text-decoration: none;
  padding: .35em .9em; border-radius: 0; background: var(--mist); color: var(--ink);
}
.book-link:hover { background: var(--ink); color: #fff; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 48px; margin-top: 40px; }
.person .avatar { width: 76px; height: 76px; margin-bottom: 18px; font-family: var(--text); }
.person h3 { margin-bottom: .15em; }
.person .role { color: var(--fjord); font-weight: 600; font-size: .95rem; margin-bottom: .8em; }
.person .bio { color: var(--fjord-soft); margin: 0; max-width: 40ch; }

/* Hours (dark band) */
.section-ink { background: var(--ink); color: #D4E0E7; }
.section-ink h2 { color: #fff; }
.section-ink a:not(.btn) { color: #fff; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.hours { border-collapse: collapse; width: 100%; max-width: 460px; font-size: 1.05rem; margin-top: 12px; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { color: #fff; font-weight: 650; }
.today-tag { display: inline-block; margin-left: 8px; padding: 1px 9px; border-radius: 0; background: var(--tape); color: var(--ink); font-size: .78rem; font-weight: 700; vertical-align: 2px; }
.closures { list-style: none; padding: 0; margin: 18px 0 0; font-size: .95rem; color: #A9BCC8; }
.big-address { font-style: normal; font: 600 clamp(1.4rem, 2.4vw, 1.9rem)/1.3 var(--display); letter-spacing: -.02em; color: #fff; margin: 12px 0 18px; }
.address-name { display: block; font-size: .7em; color: #A9BCC8; font-weight: 500; letter-spacing: 0; margin-bottom: 4px; }
.contact-lines { font-size: 1.1rem; line-height: 1.9; margin-bottom: 28px; }

/* FAQ */
.faq-intro { position: sticky; top: 110px; }
@media (max-width: 860px) { .faq-intro { position: static; } }
.faq { border-bottom: 1px solid var(--mist-2); }
.faq:first-child { border-top: 1px solid var(--mist-2); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 22px 48px 22px 0;
  font: 600 1.15rem/1.35 var(--display); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px;
  border-radius: 0; background: var(--mist)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 14h10M14 9v10' stroke='%230E2433' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/28px no-repeat;
  transition: transform .2s;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--fjord-soft); max-width: 62ch; padding-bottom: 8px; }

/* Notices / simple pages */
.notice { background: #FFF7E0; border: 1px solid #F1DB9B; border-radius: 0; padding: 16px 20px; margin-bottom: 20px; }
.notice-ok { background: #E6F5EE; border-color: #A8D9C0; }
.notice-error { background: #FDECEA; border-color: #F2B8B5; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.booking-details { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 24px 0; }
.booking-details dt { color: var(--fjord-soft); }
.booking-details dd { margin: 0; font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: #A9BCC8; padding: 56px 0 28px; font-size: .97rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-cta a { white-space: nowrap; }
.footer-cta { font: 650 clamp(1.4rem, 2.6vw, 2rem)/1.2 var(--display); color: #fff; letter-spacing: -.02em; margin: 0; max-width: 28ch; }
.footer-top .btn { background: var(--tape); border-color: var(--tape); color: var(--ink); }
.footer-top .btn:hover { background: #fff; border-color: #fff; text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid address { font-style: normal; line-height: 1.8; }
.footer-grid nav { display: grid; gap: 8px; align-content: start; }
.footer-brand { font: 700 1.2rem var(--display); color: #fff; margin-bottom: .3em; }
.copyright { margin-top: 40px; font-size: .85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Booking widget
   ========================================================================== */
.section-booking { background: var(--mist); }
.booking-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 40px; margin-bottom: 32px; }
.booking-head h2 { margin: 0; }
.booking-head .section-intro { margin: 0; }

.booking {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  background: var(--paper); border-radius: 0; overflow: hidden;
  box-shadow: 0 1px 0 var(--mist-2), 0 30px 60px -40px rgba(14, 36, 51, .45);
}
.booking-main { padding: clamp(20px, 3.5vw, 44px); min-height: 520px; }

/* progress: a real sequence, so it's a segmented bar */
.steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.steps li { cursor: default; font-size: .88rem; font-weight: 500; color: var(--fjord-soft); }
.steps li::before { content: ""; display: block; height: 5px; border-radius: 0; background: var(--mist-2); margin-bottom: 10px; transition: background-color .3s; }
.steps li.done { color: var(--ink); cursor: pointer; }
.steps li.done::before { background: var(--ink); }
.steps li.active { color: var(--ink); font-weight: 650; }
.steps li.active::before { background: var(--tape); }
@media (max-width: 560px) { .steps li span { display: none; } .steps { margin-bottom: 24px; } }

.panel-title { font-size: clamp(1.45rem, 2.4vw, 1.9rem); letter-spacing: -.025em; margin-bottom: 22px; outline: none; }

.option-list { display: grid; gap: 10px; margin-bottom: 14px; }
.option-group-label { font: 650 1rem var(--display); color: var(--fjord-soft); margin: 18px 0 2px; }
.option-group-label:first-child { margin-top: 0; }
.option {
  position: relative;
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left;
  background: var(--paper); border: 1.5px solid var(--mist-2); border-radius: 0;
  padding: 16px 20px; font: inherit; color: inherit; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.option:hover { border-color: var(--fjord); }
.option[aria-pressed="true"] { border-color: var(--ink); background: var(--mist); }
.option-main { flex: 1; min-width: 0; }
.option-title { display: block; font-weight: 650; font-size: 1.04rem; }
.option-desc { display: block; color: var(--fjord-soft); font-size: .92rem; margin-top: 2px; }
.option-meta { text-align: right; font-size: .9rem; color: var(--fjord-soft); white-space: nowrap; }
.option-meta strong { display: block; color: var(--ink); font: 700 1.12rem var(--display); }
.option-avatar { width: 46px; height: 46px; border-radius: 0; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; background: var(--ink); }

.picker { display: grid; grid-template-columns: minmax(270px, 330px) 1fr; gap: 36px; margin-bottom: 10px; }
@media (max-width: 760px) { .picker { grid-template-columns: 1fr; gap: 24px; } }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head strong { font: 650 1.15rem var(--display); letter-spacing: -.01em; }
.cal-nav { width: 38px; height: 38px; border-radius: 0; border: 1.5px solid var(--mist-2); background: var(--paper); color: var(--ink); cursor: pointer; font-size: 1.1rem; }
.cal-nav:hover:not(:disabled) { border-color: var(--ink); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { font-size: .78rem; text-align: center; color: var(--fjord-soft); padding: 4px 0 6px; }
.cal-day {
  aspect-ratio: 1; border: 0; border-radius: 0; background: transparent;
  font: 500 .95rem var(--text); color: #A6B4BE; cursor: default; font-variant-numeric: tabular-nums;
}
.cal-day.available { background: var(--mist); color: var(--ink); font-weight: 650; cursor: pointer; }
.cal-day.available:hover { background: var(--mist-2); }
.cal-day.selected { background: var(--ink); color: #fff; }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--tape); }
.calendar.loading .cal-grid { opacity: .4; }
.slots-heading { font: 650 1.1rem var(--display); margin-bottom: 14px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.slot {
  border: 1.5px solid var(--mist-2); background: var(--paper); border-radius: 0;
  padding: 11px 0; font: 600 1rem var(--text); color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums;
}
.slot:hover { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.slots-empty { color: var(--fjord-soft); grid-column: 1 / -1; }
.skeleton { height: 46px; border-radius: 0; background: linear-gradient(90deg, var(--mist) 25%, #F6F9FA 50%, var(--mist) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid label { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: .93rem; }
.form-grid .optional { margin-left: 6px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea {
  font: 400 1rem var(--text); color: var(--ink);
  padding: .8em .9em; border: 1.5px solid var(--mist-2); border-radius: 0; background: var(--paper);
}
.form-grid input:hover, .form-grid textarea:hover { border-color: #B9C8D2; }
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 4px var(--tape-soft); }
.form-grid .invalid { border-color: var(--danger); }
.form-grid .check { flex-direction: row; align-items: flex-start; font-weight: 400; gap: 12px; color: var(--fjord-soft); }
.form-grid .check input { margin-top: 3px; width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.optional { font-weight: 400; color: var(--fjord-soft); font-size: .85rem; }
.hp { position: absolute !important; left: -9999px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-error { color: var(--danger); font-weight: 600; margin: 18px 0 0; }
.form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; gap: 12px; }

/* Summary rail (dark) */
.booking-summary { background: var(--ink); color: #D4E0E7; padding: 36px 28px; display: flex; flex-direction: column; }
.booking-summary h3 { color: #fff; font-size: 1.25rem; margin-bottom: 20px; }
.booking-summary dl { margin: 0; display: grid; gap: 0; }
.booking-summary dl > div { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.booking-summary dt { font-size: .85rem; color: #8FA6B5; }
.booking-summary dd { margin: 3px 0 0; color: #fff; font-weight: 600; }
.booking-summary dd.empty { color: #5E7788; font-weight: 400; }
.summary-note { margin-top: auto; padding-top: 24px; font-size: .88rem; color: #8FA6B5; }
@media (max-width: 960px) {
  .booking { grid-template-columns: 1fr; }
  .booking-summary { order: -1; padding: 18px var(--gutter); }
  .booking-summary h3, .summary-note { display: none; }
  .booking-summary dl { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .booking-summary dl > div { padding: 8px 0; border: 0; }
}

.success { text-align: center; padding: 24px 0; outline: none; }
.success-icon {
  width: 72px; height: 72px; border-radius: 0; background: var(--tape); color: var(--ink);
  display: grid; place-items: center; font-size: 2rem; font-weight: 700; margin: 0 auto 20px;
}
.success h3 { font-size: 1.9rem; letter-spacing: -.025em; }
.success .booking-details { text-align: left; max-width: 420px; margin: 26px auto; padding: 20px 24px; background: var(--mist); border-radius: 0; }

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

/* ==========================================================================
   Language menu
   ========================================================================== */
.lang-menu { position: relative; margin-left: 6px; }
.lang-menu summary {
  list-style: none; cursor: pointer; padding: .5em .7em; font-weight: 650; font-size: .9rem; white-space: nowrap;
  border: 1.5px solid var(--mist-2); letter-spacing: .02em; user-select: none;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.lang-menu[open] summary { border-color: var(--ink); }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; list-style: none; margin: 0; padding: 6px 0; min-width: 150px; background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 0 18px 40px -20px rgba(14, 36, 51, .5); }
.lang-menu a { display: block; padding: .55em 1em; text-decoration: none; color: var(--ink); }
.lang-menu a:hover { background: var(--mist); }
.lang-menu a[aria-current="true"] { font-weight: 700; box-shadow: inset 3px 0 0 var(--tape); }
@media (max-width: 820px) { .lang-menu { margin-left: 0; } }

/* ==========================================================================
   Illustrations
   ========================================================================== */
.condition-list li { display: flex; align-items: center; gap: 14px; }
.body-icon { width: 32px; height: 88px; flex: none; margin: -6px 0; }
.treatment-figure { margin: 0 0 20px; background: var(--mist); }
.treatment-figure .ill { display: block; width: 100%; height: auto; }
.treatment-intro { color: var(--fjord-soft); margin: -6px 0 6px; padding-top: 12px; max-width: 48ch; }
.treatment-group h3 { border-bottom: 0; padding-bottom: 0; }
.treatment-list { border-top: 2px solid var(--ink); margin-top: 14px; }

/* ==========================================================================
   Customer page ("My booking")
   ========================================================================== */
.page-title { font-size: clamp(2rem, 4.5vw, 3rem); }
.portal .notice { margin-bottom: 28px; }
.portal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.portal-sub { font-size: 1.35rem; margin: 36px 0 14px; }
.portal-login { max-width: 560px; margin: 24px 0 28px; }
.code-input { text-transform: uppercase; letter-spacing: .25em; font-weight: 700; }
.my-booking { border: 1.5px solid var(--mist-2); background: var(--paper); padding: 22px 24px; margin-bottom: 14px; }
.my-booking-when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-family: var(--display); }
.my-booking-when strong { font-size: 1.35rem; letter-spacing: -.015em; }
.my-booking-when span { font-size: 1.15rem; color: var(--fjord); font-variant-numeric: tabular-nums; }
.my-booking .booking-details { margin: 14px 0 10px; }
.my-booking-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.past-table { width: 100%; border-collapse: collapse; font-size: .95rem; color: var(--fjord-soft); }
.past-table td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--mist-2); }
.reschedule .day-row { border-top: 1px solid var(--mist-2); padding: 16px 0; }
.reschedule .day-label { font: 650 1.05rem var(--display); margin: 0 0 10px; }
.slot-radio { position: relative; display: block; }
.slot-radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.slot-radio span { display: block; text-align: center; border: 1.5px solid var(--mist-2); background: var(--paper); padding: 11px 0; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; }
.slot-radio input:hover + span { border-color: var(--ink); }
.slot-radio input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.slot-radio input:focus-visible + span { outline: 3px solid var(--tape); outline-offset: 2px; }
.slot-radio.current span { background: var(--tape-soft); border-color: var(--tape); color: var(--ink); cursor: default; }
.reschedule-nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 20px 0; border-top: 1px solid var(--mist-2); position: sticky; bottom: 0; background: var(--paper); }
.reschedule-nav .btn-lg { margin-left: auto; }
.booking-code { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; border: 2px dashed var(--tape); padding: 10px 22px; margin: 4px 0 0; }
.booking-code span { font-size: .85rem; color: var(--fjord-soft); }
.booking-code strong { font: 700 1.6rem var(--display); letter-spacing: .2em; }

#booking-app { scroll-margin-top: 90px; }

/* Cookie notice (information only – the site uses one necessary cookie) */
.cookie-notice {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 640px; margin: 0 auto; padding: 14px 16px;
  display: flex; gap: 14px; align-items: center;
  background: var(--ink); color: #fff; border-left: 4px solid var(--tape);
  box-shadow: 0 10px 30px rgba(14, 36, 51, .25); font-size: .92rem;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; flex: 1; }
.cookie-notice a { color: var(--tape-soft); }
.cookie-notice .btn { flex: none; }
@media (max-width: 560px) { .cookie-notice { flex-direction: column; align-items: stretch; } }
