:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --text: #1c1a17;
  --muted: #6a645c;
  --accent: #6f4e13;
  --accent-text: #ffffff;
  --font-heading: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-accent: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}

/* ==========================================================================
   Direction "clinical" — clean, light, structured.
   White surfaces on a faintly cool page background, 1px borders instead of
   shadows, numbered section heads, a band of big trust facts under the hero,
   services as a bordered price table, hours and map side by side. Calm and
   precise: nothing decorative, nothing dark, nothing rounder than 6px.

   Tokens from new_site.py: --bg --surface --text --muted --accent --accent-text
                            --font-heading --font-body --font-accent
   Type scale (mobile → desktop), details in NOTES.md:
     h1      clamp(2.125rem, 1.4rem + 3.4vw, 4rem)      name, lh 1.08
             clamp(1.875rem, 1.25rem + 2.7vw, 3.25rem)  … when the name is > 24 chars
     lead    clamp(1.0625rem, 1rem + .35vw, 1.25rem)    tagline under the h1
     h2      clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem)   section titles
     h3      1.125rem                                   service / step names
     fact    clamp(2rem, 1.5rem + 2vw, 3rem)            big figures, trust band
     phone   clamp(1.5rem, 1.2rem + 1.2vw, 2rem)        appointment card
     about   clamp(1.0625rem, 1rem + .35vw, 1.1875rem)  running text, measure 60ch
     body    1rem / 1.6;  small .9rem;  label .75rem / .08em caps, weight 600
     buttons .9375rem, weight 600, min-height 48px (40px compact in the header)
   Spacing: 8px steps (--s1 … --s10), fluid --section-pad; 1px rules; radius 6px.
   Grid: two columns from 560px, 7/5 and 5/7 splits from 900px, container 1140px.
   ========================================================================== */

:root {
  --s1: .5rem;  --s2: 1rem;  --s3: 1.5rem;  --s4: 2rem;  --s5: 2.5rem;
  --s6: 3rem;   --s8: 4rem;  --s10: 5rem;
  --section-pad: clamp(3rem, 6vw, 5rem);
  --page-pad: clamp(1.25rem, 4vw, 2.5rem);
  --container: 1140px;
  --radius: 6px;
  --radius-sm: 4px;
  --measure: 60ch;
  --header-h: 64px;
  --bar-h: 80px;
  /* Fallbacks for browsers without color-mix(): solid tokens, still AA. */
  --line: var(--muted);
  --line-strong: var(--text);
  --accent-tint: transparent;
}

@supports (color: color-mix(in srgb, red, blue)) {
  :root {
    --line: color-mix(in srgb, var(--text) 13%, transparent);
    --line-strong: color-mix(in srgb, var(--text) 30%, transparent);
    --accent-tint: color-mix(in srgb, var(--accent) 9%, transparent);
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--accent); }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; margin: 0; }
p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { width: min(100% - 2 * var(--page-pad), var(--container)); margin-inline: auto; }

/* Small uppercase label: kickers, dt's, card captions, section numbers. */
.label, .contact dt, .sheet dt, .trust-title {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Quiet inline link with an arrow, used for "directions". */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--accent);
  text-decoration: none;
  min-height: 44px;
}
.text-link::after { content: "\2192"; font-size: 1.1em; line-height: 1; }
.text-link:hover { text-decoration: underline; }

/* Inline SVG patterns (base/patterns.html.j2); the parent is relative + hidden overflow. */
.pattern { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Hours lines render as a plain list everywhere; cards add rules per line. */
.hours li { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .625rem 1.375rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--accent-tint); }
.btn-call { background: var(--accent); color: var(--accent-text); }
.btn-call:hover { background: var(--accent); filter: brightness(.92); }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: .875rem; }


/* --------------------------------------------------------------- topline */
/* Desktop only: first hours line · address · email in a thin muted row. */
.topline { display: none; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: var(--header-h);
}
.brand {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.header-cta { display: none; }

/* Hamburger: a 44px bordered square; the icon is one bar with two pseudo bars. */
.nav-toggle {
  flex: none;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}
.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-icon { position: relative; }
.nav-toggle-icon::before, .nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav: a white sheet under the header, one bordered row per link. */
.nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 0 var(--page-pad) var(--s1);
}
.nav.is-open { display: block; }
.nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-top: 1px solid var(--line);
  font-weight: 500;
  text-decoration: none;
}

/* ------------------------------------------------------------------ hero */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 var(--section-pad); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s2);
}
.kicker::before { content: ""; width: 1.5rem; height: 2px; background: var(--accent); }

.hero-title {
  font-size: clamp(2.125rem, 1.4rem + 3.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  max-width: 20ch;
  overflow-wrap: break-word;
}
/* Names longer than 24 characters: one step down, wider measure. */
.hero-title--long { font-size: clamp(1.875rem, 1.25rem + 2.7vw, 3.25rem); max-width: 24ch; }
.lead {
  margin-top: var(--s2);
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  line-height: 1.5;
  color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); margin-top: var(--s4); }

/* Fact strip (type / photo): two bordered cells, hours | address. */
.strip {
  display: grid;
  margin-top: var(--s5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.strip-cell { padding: var(--s3); border-top: 1px solid var(--line); }
.strip-cell:first-child { border-top: 0; }
.strip .label { margin-bottom: var(--s1); }
.strip .hours li { padding: .125rem 0; }
.strip-address { font-weight: 500; }
.strip .text-link { margin-top: .25rem; }

/* Data sheet (pattern / split): dt/dd rows on a solid card. */
.sheet {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 var(--s3);
}
.sheet-row {
  display: grid;
  gap: .25rem var(--s2);
  padding: var(--s2) 0;
  border-top: 1px solid var(--line);
}
.sheet-row:first-child { border-top: 0; }
.sheet dt { font-size: .7rem; letter-spacing: .06em; }
.sheet dd { margin: 0; font-weight: 500; }
.sheet dd a { text-decoration: none; }
.sheet dd a:hover { text-decoration: underline; }

/* pattern: white panel, faint grid fading out under the copy. */
.hero-panel {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 5vw, 4rem);
}
.hero-panel .pattern {
  -webkit-mask-image: linear-gradient(to left, #000 25%, transparent 85%);
  mask-image: linear-gradient(to left, #000 25%, transparent 85%);
}
.hero-panel-grid { position: relative; display: grid; gap: var(--s4); }

/* photo: wide bordered photo, copy card overlapping its lower edge. */
.hero-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hero-card {
  position: relative;
  margin: -3rem var(--s2) 0;
  padding: var(--s3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* split: copy + sheet, photo under it on phones. */
.hero-split { display: grid; gap: var(--s4); }
.hero-split .sheet { margin-top: var(--s4); }
.hero-figure .hero-img { aspect-ratio: 4 / 3; }

/* ------------------------------------------------------------ trust band */
.trust {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--s4) 0;
}
.trust-title { margin-bottom: var(--s3); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fact { padding: var(--s2) 0; }
.fact:nth-child(even) { border-left: 1px solid var(--line); padding-left: var(--s3); }
.fact:nth-child(odd) { padding-right: var(--s3); }
.fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
.fact-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.fact-text { display: block; margin-top: .5rem; font-size: .9rem; line-height: 1.4; color: var(--muted); }
.fact-text--solo {
  margin-top: 0;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

/* -------------------------------------------------------------- sections */
.section { padding: var(--section-pad) 0; border-top: 1px solid var(--line); }
.trust + .section { border-top: 0; }

.section-head { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s4); }
.section-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 .5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.section-title {
  font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -.01em;
}

/* Services: a price table. 1px gaps over a line-coloured background draw the
   grid; cells are white. Price on the right in the accent colour. */
.price-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s1) var(--s3);
  align-items: start;
  padding: var(--s3);
  background: var(--surface);
}
.price-name { font-size: 1.125rem; line-height: 1.3; }
.price-desc { margin-top: .375rem; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.price-value {
  padding-top: .15rem;
  text-align: right;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* About: running text + the appointment card. */
.about-grid { display: grid; gap: var(--s4); }
.about-text {
  max-width: var(--measure);
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.1875rem);
  line-height: 1.65;
}
.about-card {
  align-self: start;
  padding: var(--s3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.about-phone {
  display: block;
  margin-top: var(--s1);
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.about-phone:hover { color: var(--accent); }
.about-hours { margin-top: .25rem; font-size: .9rem; color: var(--muted); }
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s2);
  margin-top: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
}

/* Steps: separate bordered cards with a big accent number. */
.steps { display: grid; gap: var(--s2); }
.step {
  padding: var(--s3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step-num {
  display: block;
  margin-bottom: var(--s2);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.step-name { font-size: 1.125rem; line-height: 1.3; }
.step-desc { margin-top: .375rem; font-size: .9rem; line-height: 1.5; color: var(--muted); }

/* Gallery: bordered 4/3 tiles, lightbox from script.js. One photo goes wide,
   two share the row, three or more fill a 3-column grid on desktop. */
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.gallery-grid--1 { grid-template-columns: 1fr; }
.gallery-grid--1 .gallery-item img { aspect-ratio: 16 / 9; }
.gallery-item { display: block; }
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.lightbox {
  position: fixed; inset: 0; z-index: 40;
  display: none; align-items: center; justify-content: center;
  padding: var(--s3);
  background: rgba(21, 35, 42, .9);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox-close {
  position: absolute; top: var(--s2); right: var(--s2);
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .5); border-radius: var(--radius-sm);
  background: transparent; color: #fff;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}

/* Contacts: hours card + contact rows + buttons | map. */
.contacts-grid { display: grid; gap: var(--s4); }
.hours-card {
  padding: var(--s2) var(--s3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hours-card .label { padding: var(--s1) 0; }
.hours-card .hours li { padding: .625rem 0; border-top: 1px solid var(--line); font-weight: 500; }
.contacts { margin-top: var(--s3); }
.contact {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: var(--s2);
  padding: .75rem 0;
  border-top: 1px solid var(--line);
}
.contact:last-child { border-bottom: 1px solid var(--line); }
.contact dt { padding-top: .35em; }
.contact dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
/* Inline links get a 44px tap height without moving the text. */
.contact dd a { display: inline-block; padding-block: .6em; margin-block: -.6em; text-decoration: none; }
.contact dd a:hover { text-decoration: underline; }
.contacts-actions { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); margin-top: var(--s3); }

.map-col { display: flex; flex-direction: column; }
.map-col .label { margin-bottom: var(--s2); }
.map {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 var(--s3);
  margin-top: var(--s1);
  font-size: .9rem;
  color: var(--muted);
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: var(--s5) 0 var(--s4);
}
.footer-main { display: grid; gap: var(--s1); }
.footer-name { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 600; }
.footer-address { color: var(--muted); }
.footer-phone a { text-decoration: none; font-weight: 500; }
.footer-phone a:hover { text-decoration: underline; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s1) var(--s3);
  margin-top: var(--s3);
  padding-top: var(--s2);
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--muted);
}

/* ------------------------------------------------------------ sticky bar */
/* Phones only: a white bar with a top rule, outlined "call" + filled messenger.
   Hidden off-screen until script.js adds .is-visible after the hero. */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s2);
  padding: .75rem var(--page-pad) calc(.75rem + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--line);
  transform: translateY(100%);
  visibility: hidden;
  transition: transform .25s ease, visibility 0s linear .25s;
}
.sticky-bar.is-visible { transform: none; visibility: visible; transition-delay: 0s; }
.sticky-call, .sticky-msg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--s2);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.sticky-call { background: var(--surface); color: var(--accent); }
.sticky-msg { background: var(--accent); color: var(--accent-text); }

@media (max-width: 899.98px) {
  body { padding-bottom: var(--bar-h); }
}

/* ============================================================ breakpoints */
@media (min-width: 560px) {
  .sheet-row { grid-template-columns: 8.5rem minmax(0, 1fr); }
  .sheet dt { padding-top: .35em; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip-cell { border-top: 0; border-left: 1px solid var(--line); }
  .strip-cell:first-child { border-left: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1fr 1fr; align-items: baseline; }
  .footer-phone { grid-column: 2; grid-row: 1; text-align: right; }
}

@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
  .fact { padding: var(--s1) var(--s3); border-top: 0 !important; }
  .fact:first-child { padding-left: 0; border-left: 0; }
  .fact:nth-child(n + 2) { border-left: 1px solid var(--line); }
  .fact:last-child { padding-right: 0; }
  .price-list { grid-template-columns: 1fr 1fr; }
  .price-list--odd .price-row:last-child { grid-column: 1 / -1; }
  .price-row { padding: var(--s3) var(--s4); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-grid--1 { grid-template-columns: 1fr; }
  .gallery-grid--2 { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .footer-phone { grid-column: 3; }
  .footer-address { text-align: center; }
}

@media (min-width: 900px) {
  .topline {
    display: block;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    font-size: .8rem;
    color: var(--muted);
  }
  .topline-row { display: flex; align-items: center; gap: var(--s3); min-height: 36px; }
  .topline-item { text-decoration: none; }
  .topline-item + .topline-item { padding-left: var(--s3); border-left: 1px solid var(--line); }
  a.topline-item:hover { color: var(--text); }

  .header-row { gap: var(--s4); }
  .nav-toggle { display: none; }
  .nav {
    display: flex;
    position: static;
    gap: var(--s3);
    padding: 0;
    border: 0;
    background: transparent;
    margin-left: auto;
  }
  .nav a { min-height: 0; border: 0; padding: .25rem 0; font-size: .9375rem; color: var(--muted); }
  .nav a:hover { color: var(--text); }
  .header-cta { display: flex; align-items: center; gap: var(--s3); }
  .header-phone { font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
  .header-phone:hover { color: var(--accent); }

  .hero-panel-grid { grid-template-columns: minmax(0, 1.35fr) minmax(300px, .9fr); gap: var(--s8); align-items: end; }
  .hero-img { aspect-ratio: 21 / 9; }
  .hero-card { max-width: 640px; margin: -7rem 0 0 var(--s6); padding: var(--s5); }
  .hero-split { grid-template-columns: 7fr 5fr; gap: var(--s8); align-items: center; }
  .hero-figure .hero-img { aspect-ratio: 4 / 5; }

  .section-head { margin-bottom: var(--s5); }
  .about-grid { grid-template-columns: 7fr 5fr; gap: var(--s8); align-items: start; }
  .about-card { padding: var(--s4); }
  .steps { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
  .contacts-grid { grid-template-columns: 5fr 7fr; gap: var(--s6); align-items: stretch; }
  .map { flex: 1; aspect-ratio: auto; min-height: 380px; }
  .sticky-bar { display: none; }
}

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

/* Language switch (base/lang_switch.html.j2): a <details> dropdown — current
   language on the button, all three in a small menu under it. */
.lang-switch { position: relative; margin-left: auto; }
.lang-switch summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .35em;
  min-height: 44px;
  padding: 0 .75rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text);
  -webkit-user-select: none;
  user-select: none;
  min-height: 40px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::marker { content: ""; }
.lang-caret { width: .65em; height: .65em; flex: none; transition: transform .15s ease; }
.lang-switch[open] .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + .3rem);
  z-index: 40;
  min-width: 10.5rem;
  margin: 0;
  padding: .3rem;
  list-style: none;
  background: var(--surface);
  color: var(--text);
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
  border-color: var(--line); border-radius: 8px;
}
.lang-menu a {
  display: flex;
  align-items: center;
  gap: .7em;
  min-height: 42px;
  padding: 0 .75rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 6px;
}
.lang-menu a:hover { background: var(--bg); }
.lang-menu a[aria-current="page"] { color: var(--accent); pointer-events: none; }
.lang-menu .lang-name { color: var(--muted); font-weight: 400; font-size: .85em; letter-spacing: 0; }

/* Optional logo (site.yml `logo`) in front of the brand name. */
.brand-logo { display: inline-block; width: 2em; height: 2em; margin-right: .5em; border-radius: 50%; object-fit: cover; vertical-align: middle; }

/* «Meniul complet» (site.yml menu_url): a text link under the menu heading. */
.menu-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: .25rem; color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.menu-link:hover { text-decoration-thickness: 2px; }
