@charset "utf-8";
/* Assembled: direction "trattoria" tokens + design override + minimal base + ai-fallback + AI design.css; dark-mode stripped (light-only). Generated — do not edit. */

/* self-hosted webfonts (from spec.meta.design.fontPair — resolve-fonts) */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/open-sans-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/open-sans-400-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: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/open-sans-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/open-sans-600-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: "Lora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/lora-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/lora-600-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: "Lora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/lora-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/lora-700-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;
}
/* Family: TRATTORIA — restaurants, pizzerias, bistros, wine bars, cafés with seating.
   Warm and earthy: cream paper, terracotta brand, olive and wine notes, a serif display
   face over a clean sans body, medium radii, soft warm shadows. Built for a full-bleed photo hero
   with an overlay, a menu (pricelist) and a gallery; centred navigation.
   Light only (generated sites ship light; build-style strips any dark block). Token VALUES are the
   family default; the model's design.css tunes them per site and build-style re-runs the gate.
   Contrast: WCAG AA, checked by `build-style.mjs --check trattoria` (gate + family audit). */

:root {
  --brand:        #9c3d23;
  --brand-strong: #7a2e19;
  --brand-soft:   #f7e6dc;
  --on-brand:     #ffffff;

  --bg:        #fbf6ef;
  --surface:   #ffffff;
  --surface-2: #f3eadc;
  --border:    #e2d4c0;

  --text:        #2a201a;
  --text-muted:  #5c4a3d;
  --text-subtle: #7a6656;

  --ok:     #3f6b22;
  --warn:   #8a4f00;
  --danger: #a8231b;

  --surface-inverse:   #2a1d15;
  --surface-inverse-2: #3a2a1f;
  --on-inverse:        #f8efe4;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "Noto Sans", sans-serif;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Noto Serif", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1:  clamp(1.22rem, 1.1rem + 0.55vw, 1.55rem);
  --step-2:  clamp(1.5rem, 1.25rem + 1.1vw, 2.2rem);
  --step-3:  clamp(1.85rem, 1.4rem + 2vw, 3.1rem);
  --step-4:  clamp(2.3rem, 1.5rem + 3.6vw, 4.6rem);
  --leading-tight: 1.12;
  --leading: 1.65;

  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem;
  --sp-4: 1rem;    --sp-5: 1.5rem;  --sp-6: 2rem;
  --sp-7: 3.25rem; --sp-8: 4.5rem; --sp-9: 6.5rem;

  --radius: 0.5rem;
  --radius-lg: 0.9rem;
  --radius-full: 999px;

  --shadow-1: 0 1px 2px rgb(80 45 25 / 0.08), 0 2px 6px rgb(80 45 25 / 0.08);
  --shadow-2: 0 10px 28px rgb(80 45 25 / 0.14);

  --measure: 64ch;
  --container: 1200px;
}


/* per-site design override (from spec.meta.design) */
:root {
  --brand: #b23a2e;
  --brand-strong: #8e2e25;
  --brand-soft: #f4e3e2;
  --on-brand: #ffffff;
  --radius: .75rem;
  --radius-lg: 1.25rem;
  --radius-full: 999px;
  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Lora", Georgia, "Iowan Old Style", "Times New Roman", serif;
}

/* base.css — FUNCTIONAL layer for the AI-design (L2) path: reset, layout
   skeleton, buttons, forms, messages, admin panel/tables, interior-page prose +
   data primitives (box/facts/hours), the sticky call-bar, and motion/print. NO
   opinionated public component look — that is owned by the AI design.css (with
   ai-fallback.css as a neutral safety net). Extracted verbatim from components.css
   so the admin panel + contact form behave identically. Reads only tokens. */

/* ---------- 2. Основа ---------- */
*, *::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);
  font-size: var(--step-0);
  line-height: var(--leading);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: var(--leading-tight);
  margin: 0 0 var(--sp-4);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); }

p, ul, ol, dl, table, address, figure { margin: 0 0 var(--sp-4); }
p:last-child, ul:last-child, ol:last-child, table:last-child { margin-bottom: 0; }
address { font-style: normal; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-strong); }

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

hr { border: 0; border-top: 1px solid var(--border); margin: var(--sp-6) 0; }

strong { font-weight: 650; }
small, .small { font-size: var(--step--1); }
.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); font-size: 0.92em; }
.center { text-align: center; }
.big { font-size: var(--step-1); }

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

/* ---------- 3. Скелет ---------- */
.wrap, .container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}
@media (min-width: 40rem) { .wrap, .container { padding-inline: var(--sp-5); } }

.section { padding-block: var(--sp-7); }
@media (min-width: 48rem) { .section { padding-block: var(--sp-8); } }
.section-alt, .section--tinted { background: var(--surface-2); }
.section-lead { max-width: var(--measure); color: var(--text-muted); font-size: var(--step-1); }

.narrow { max-width: 46rem; margin-inline: auto; }
.stack > * + * { margin-top: var(--sp-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

.skip, .skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: var(--on-brand);
  padding: var(--sp-3) var(--sp-4); border-radius: 0 0 var(--radius) 0;
}
.skip:focus, .skip-link:focus { left: 0; }

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

/* ---------- 5. Бутони ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface); color: var(--text);
  font: inherit; font-weight: 600; line-height: 1.25;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:hover { background: var(--surface-2); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }

.btn-call, .btn--primary {
  background: var(--brand); border-color: var(--brand); color: var(--on-brand);
  box-shadow: var(--shadow-1);
}
.btn-call:hover, .btn--primary:hover {
  background: var(--brand-strong); border-color: var(--brand-strong); color: var(--on-brand);
}
.btn-ghost, .btn--ghost {
  background: transparent; border-color: currentColor; color: var(--brand);
}
.btn-ghost:hover, .btn--ghost:hover { background: var(--brand-soft); color: var(--brand-strong); }
.btn-danger, .btn--danger {
  background: transparent; border-color: var(--danger); color: var(--danger);
}
.btn-danger:hover, .btn--danger:hover { background: var(--danger); color: #fff; }
.btn-lg, .btn--lg { padding: var(--sp-4) var(--sp-6); font-size: var(--step-1); }
.btn-small { padding: var(--sp-2) var(--sp-3); font-size: var(--step--1); }

.site-head .btn-ghost { color: #fff; }

.box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-1);
}
.box h2, .box h3 { font-size: var(--step-1); margin-bottom: var(--sp-3); }
.box h3 + table, .box h3 + p { margin-top: 0; }
.box > * + h3 { margin-top: var(--sp-5); }

@media (min-width: 56rem) {
  .sticky { position: sticky; top: 6rem; align-self: start; }
}

.facts { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-2) var(--sp-4); margin: 0; }
.facts dt { color: var(--text-subtle); font-size: var(--step--1); }
.facts dd { margin: 0; }

.hours { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.hours th, .hours td { text-align: left; padding: var(--sp-2) 0; border-bottom: 1px solid var(--border); }
.hours th { font-weight: 500; color: var(--text-muted); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

.emergency {
  background: color-mix(in srgb, var(--danger) 10%, transparent);
  border-left: 3px solid var(--danger);
  padding: var(--sp-3) var(--sp-4);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: var(--step--1);
  margin-top: var(--sp-4);
}
.nap { line-height: 1.8; }
.phone-big { font-size: var(--step-2); font-weight: 700; margin-block: var(--sp-4); }
.phone-big a { text-decoration: none; }
.phone-big a:hover { text-decoration: underline; }
/* ---------- 11. Път, текст, призив ---------- */
.crumbs {
  padding-block: var(--sp-4) 0;
  font-size: var(--step--1); color: var(--text-subtle);
}
.crumbs a { color: var(--text-muted); }

/* Списъкът, който rich() произвежда от редове с „- “. */
.list { padding-left: 1.25em; }
.list li { color: var(--text-muted); }
.list li + li { margin-top: var(--sp-2); }

.prose { max-width: var(--measure); }
.prose h2 { margin-top: var(--sp-6); }
.prose h3 { margin-top: var(--sp-5); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: var(--sp-2); }
.prose > p, .prose li { color: var(--text-muted); }
.prose .lead, .prose strong { color: var(--text); }
/* ---------- 12. Форми ---------- */
.field { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.field label, .field__label { font-weight: 600; font-size: var(--step--1); }
.req { color: var(--danger); }

input[type="text"], input[type="tel"], input[type="email"], input[type="password"],
input[type="number"], input[type="time"], input[type="url"], select, textarea,
.field__input {
  width: 100%; font: inherit; color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3);
  min-height: 2.75rem;
}
textarea { min-height: 8rem; resize: vertical; line-height: var(--leading); }
select { appearance: none; padding-right: var(--sp-6); background-image: none; }
input:hover, select:hover, textarea:hover { border-color: var(--text-subtle); }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] {
  border-color: var(--danger); background: color-mix(in srgb, var(--danger) 6%, var(--bg));
}
input::placeholder, textarea::placeholder { color: var(--text-subtle); }

.err, .field__error { color: var(--danger); font-size: var(--step--1); font-weight: 600; }
.hint, .field__hint { color: var(--text-subtle); font-size: var(--step--1); }

.field-check { grid-template-columns: 1fr; }
.field-check label {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3);
  align-items: start; font-weight: 400; font-size: var(--step--1);
  line-height: var(--leading);
}
.field-check input[type="checkbox"] { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--brand); }

.prefix { display: flex; align-items: center; gap: var(--sp-2); }
.prefix span { color: var(--text-subtle); font-size: var(--step--1); white-space: nowrap; }

/* Приманка за ботове. CSP не позволява вграден стил, затова е тук. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-box { align-self: start; }
.form-narrow { max-width: 34rem; }
.form-wide { max-width: 60rem; }
.consent-text { color: var(--text-muted); font-size: var(--step--1); }

.hours-edit { display: grid; gap: var(--sp-4); }
.hours-edit fieldset {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--sp-4); margin: 0;
  display: grid; gap: var(--sp-3);
}
.hours-edit legend { font-weight: 650; padding-inline: var(--sp-2); }
@media (min-width: 46rem) {
  .hours-edit fieldset { grid-template-columns: repeat(4, 1fr); align-items: end; }
}
.danger-form {
  margin-top: var(--sp-6); padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
}

/* ---------- 13. Съобщения, етикети ---------- */
.alert {
  border: 1px solid var(--border); border-left-width: 4px;
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface-2);
  margin-bottom: var(--sp-5);
}
.alert-good, .alert--ok {
  border-left-color: var(--ok); color: var(--ok);
  background: color-mix(in srgb, var(--ok) 8%, var(--surface));
}
.alert-bad, .alert--danger {
  border-left-color: var(--danger); color: var(--danger);
  background: color-mix(in srgb, var(--danger) 8%, var(--surface));
}
.alert--warn {
  border-left-color: var(--warn); color: var(--warn);
  background: color-mix(in srgb, var(--warn) 8%, var(--surface));
}
.msg { margin-bottom: var(--sp-4); }
.locked { color: var(--danger); font-weight: 600; }

.pill {
  display: inline-block; padding: 0.1rem var(--sp-3);
  border-radius: var(--radius-full);
  font-size: var(--step--1); font-weight: 650; white-space: nowrap;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text-muted);
}
.pill-new { background: var(--brand-soft); color: var(--brand-strong); border-color: transparent; }
.pill-in_progress {
  background: color-mix(in srgb, var(--warn) 14%, var(--surface)); color: var(--warn);
  border-color: transparent;
}
.pill-done {
  background: color-mix(in srgb, var(--ok) 14%, var(--surface)); color: var(--ok);
  border-color: transparent;
}
.pill-spam {
  background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--danger);
  border-color: transparent;
}

.filters { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.chip {
  display: inline-block; padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--border); border-radius: var(--radius-full);
  background: var(--surface); color: var(--text-muted);
  text-decoration: none; font-size: var(--step--1); font-weight: 600;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip-on {
  background: var(--brand); border-color: var(--brand); color: var(--on-brand);
}
.chip-on:hover { color: var(--on-brand); }

/* ---------- 14. Таблици и плочки (администрация) ---------- */
.grid, .table {
  width: 100%; border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: var(--sp-5);
  font-size: var(--step--1);
  display: block; overflow-x: auto;
}
.grid thead, .table thead { background: var(--surface-2); }
.grid th, .grid td, .table th, .table td {
  text-align: left; padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.grid th { font-weight: 650; white-space: nowrap; }
.grid tbody tr:last-child th, .grid tbody tr:last-child td { border-bottom: 0; }
.grid tbody tr:hover { background: var(--surface-2); }
.row-bad { background: color-mix(in srgb, var(--danger) 7%, transparent); }
.row-bad:hover { background: color-mix(in srgb, var(--danger) 12%, transparent); }

.tiles {
  display: grid; gap: var(--sp-4); margin-bottom: var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}
.tile {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius); padding: var(--sp-4);
  color: inherit; text-decoration: none;
  display: grid; gap: var(--sp-1);
}
.tile:hover { background: var(--surface-2); color: inherit; }
.tile strong { font-size: var(--step-2); line-height: 1; }
.tile span { color: var(--text-muted); font-size: var(--step--1); }

/* Постоянен бутон за обаждане, само на телефон. */
.call-bar {
  position: fixed; inset: auto 0 0 0; z-index: 50;
  display: block; text-align: center;
  background: var(--brand); color: var(--on-brand);
  padding: var(--sp-4); font-weight: 700; text-decoration: none;
  box-shadow: 0 -2px 10px rgb(0 0 0 / 0.18);
}
.call-bar:hover { background: var(--brand-strong); color: var(--on-brand); }
@media (min-width: 60rem) { .call-bar { display: none; } }
@media (max-width: 59.99rem) { body { padding-bottom: 4rem; } }
/* ---------- 16. Администрация ---------- */
body.admin { background: var(--surface-2); }
.adm-head { background: var(--surface-inverse); color: var(--on-inverse); }
.adm-head-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3);
  padding-block: var(--sp-3);
}
.adm-brand {
  color: inherit; text-decoration: none; font-weight: 700; margin-right: auto;
}
.adm-nav { display: flex; flex-wrap: wrap; gap: var(--sp-1); }
.adm-nav a {
  color: rgb(255 255 255 / 0.82); text-decoration: none;
  padding: var(--sp-2) var(--sp-3); border-radius: var(--radius);
  font-size: var(--step--1);
}
.adm-nav a:hover { background: rgb(255 255 255 / 0.1); color: #fff; }
.adm-out { margin: 0; }
.adm-out .btn { background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.2); color: #fff; }
.adm-out .btn:hover { background: rgb(255 255 255 / 0.2); color: #fff; }

.adm-main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  margin-block: var(--sp-5);
  max-width: var(--container);
}
.adm-main h1 { font-size: var(--step-2); }
.adm-main h2 { font-size: var(--step-1); margin-top: var(--sp-6); }
.adm-main h2:first-of-type { margin-top: var(--sp-4); }
.adm-main h3 { font-size: var(--step-0); margin-top: var(--sp-5); }
.adm-foot { padding-bottom: var(--sp-6); }

.login-page { display: grid; place-items: center; min-height: 70vh; padding: var(--sp-5); }
.login-card {
  width: 100%; max-width: 26rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--sp-6);
  box-shadow: var(--shadow-2);
}
.login-card h1 { font-size: var(--step-2); }

/* ---------- 16a. Languages (011): switcher, admin language tabs, legal review notice ---------- */
/* Header language switcher (sites with two or more languages):
   nav.lang-switch > ul > li > a[hreflang][aria-current] */
.lang-switch ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-1); }
.lang-switch a {
  display: inline-block; padding: var(--sp-1) var(--sp-2);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: var(--step--1); font-weight: 600; text-decoration: none; color: inherit;
}
.lang-switch a:hover { border-color: var(--brand); }
.lang-switch a[aria-current] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
/* Admin: one tab per language above a translatable field
   (.lang-tabs or [role=tablist][data-i18n-field] > [role=tab][aria-selected]) */
.lang-tabs, [role="tablist"][data-i18n-field] {
  display: flex; flex-wrap: wrap; gap: var(--sp-1);
  margin-bottom: var(--sp-2); border-bottom: 1px solid var(--border);
}
.lang-tabs [role="tab"], [role="tablist"][data-i18n-field] [role="tab"] {
  appearance: none; font: inherit; font-size: var(--step--1); font-weight: 600; cursor: pointer;
  padding: var(--sp-2) var(--sp-3); margin-bottom: -1px;
  background: transparent; color: var(--text-muted);
  border: 1px solid transparent; border-radius: var(--radius) var(--radius) 0 0;
}
.lang-tabs [role="tab"][aria-selected="true"], [role="tablist"][data-i18n-field] [role="tab"][aria-selected="true"] {
  background: var(--surface); color: var(--text); border-color: var(--border); border-bottom-color: var(--surface);
}
[role="tabpanel"][hidden] { display: none; }
/* Notice on a legal page the owner has not reviewed yet (non-Bulgarian legal text) */
.review-notice {
  border: 1px solid var(--border); border-left: 4px solid var(--warn);
  border-radius: var(--radius); padding: var(--sp-3) var(--sp-4); margin-bottom: var(--sp-5);
  background: color-mix(in srgb, var(--warn) 8%, var(--surface)); color: var(--text);
  font-size: var(--step--1);
}

/* ---------- 17. Движение и печат ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}

@media print {
  .site-head, .call-bar, .nav-toggle, .cta, .site-foot .foot-list, .skip { display: none; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  a { text-decoration: underline; }
}

/* ai-fallback.css — a NEUTRAL, unopinionated baseline for the public components, loaded
   in the AI-design (L2) path BEFORE the AI's design.css. It guarantees a working, legible
   page even if the AI under-styles something (nav toggles, hero has rhythm, cards form a
   grid, the CTA reads, the footer lays out). The AI's design.css loads after and overrides
   all of this — this file is the safety net, not the look. Token-only. */

/* header + nav (functional: mobile toggle, desktop row) */
.site-head { padding-block: var(--sp-3); border-bottom: 1px solid var(--border); background: var(--surface); }
.head-inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); }
.brand { display: flex; align-items: center; gap: var(--sp-3); text-decoration: none; color: inherit; margin-right: auto; }
.brand-mark { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; flex: none; border-radius: var(--radius); background: var(--brand); color: var(--on-brand); font-family: var(--font-display); font-weight: 800; }
.brand-text { display: grid; line-height: 1.2; }
.brand-text small { color: var(--text-muted); font-size: var(--step--1); }
.nav-toggle { display: inline-flex; align-items: center; gap: var(--sp-2); background: var(--surface-2); color: inherit; border: 1px solid var(--border); border-radius: var(--radius); padding: var(--sp-2) var(--sp-3); font: inherit; font-size: var(--step--1); cursor: pointer; }
.nav-toggle-bars { width: 1.05rem; height: 2px; background: currentColor; position: relative; display: block; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; }
.nav-toggle-bars::before { top: -5px; } .nav-toggle-bars::after { top: 5px; }
.nav { display: none; flex-basis: 100%; }
.nav-toggle[aria-expanded="true"] + .nav { display: block; }
.nav ul { list-style: none; margin: 0; padding: var(--sp-2) 0; display: grid; gap: 1px; }
.nav a { display: block; padding: var(--sp-3) var(--sp-2); color: inherit; text-decoration: none; }
.nav a[aria-current="page"] { font-weight: 650; color: var(--brand); }
.head-call { display: none; }
@media (min-width: 60rem) {
  .nav-toggle { display: none; }
  .nav { display: block; flex-basis: auto; }
  .nav ul { display: flex; gap: var(--sp-2); padding: 0; }
  .head-call { display: inline-flex; }
}

/* hero */
.hero { padding-block: var(--sp-7); }
.hero-inner { max-width: 54rem; }
.hero h1 { font-size: var(--step-4); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: var(--step--1); font-weight: 700; color: var(--brand); margin-bottom: var(--sp-3); }
.lead { font-size: var(--step-1); max-width: var(--measure); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
.badges { list-style: none; padding: 0; margin-top: var(--sp-5); display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.hero--image { position: relative; isolation: isolate; }
.hero--image .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in oklab, #000 55%, transparent); }
.hero--image, .hero--image .lead, .hero--image h1 { color: #fff; }

/* cards / services / steps */
.cards { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); }
.card p { color: var(--text-muted); }
.section-lead { max-width: var(--measure); color: var(--text-muted); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-5); }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: var(--sp-3); border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 700; }

/* about split */
.about-split, .contact-split, .two-col { display: grid; gap: var(--sp-6); }
@media (min-width: 56rem) { .about-split { grid-template-columns: 1.4fr 1fr; } .contact-split, .two-col { grid-template-columns: 1fr 1fr; } }

/* faq (accordion) */
:where(div).faq { display: grid; gap: var(--sp-2); max-width: var(--measure); }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--sp-3) var(--sp-4); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details > *:not(summary) { color: var(--text-muted); margin-top: var(--sp-2); }

/* gallery */
:where(ul).gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.gallery-item__img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); }
.gallery-item__frame { display: grid; place-items: center; aspect-ratio: 4/3; padding: var(--sp-4); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); color: var(--text-muted); text-align: center; }

/* CTA band */
.cta { background: var(--brand); color: var(--on-brand); }
.cta h2 { color: var(--on-brand); }
.cta p { color: color-mix(in srgb, var(--on-brand) 85%, transparent); }
.cta-inner { max-width: 46rem; }

/* footer */
.site-foot { background: var(--surface-2); padding-block: var(--sp-7) var(--sp-5); margin-top: var(--sp-8); border-top: 1px solid var(--border); }
.foot-grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.foot-h { font-size: var(--step-0); text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: var(--sp-3); }
.foot-list { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
.foot-bottom { margin-top: var(--sp-6); padding-top: var(--sp-4); border-top: 1px solid var(--border); }

/* ============================================================================
   011 — v2 block variants (sites with settings.family set). Structure only, token-only:
   every v2 block root carries data-hero / data-block, so nothing here reaches the v1
   markup. The model's design.css adds colour, type and detail on top.
   Kept identical in blocks.css (deterministic path) and ai-fallback.css (AI path).
   ============================================================================ */

/* ---------- v2 heroes: section.hero.hero--<v>[data-hero] ---------- */
.hero[data-hero] { position: relative; isolation: isolate; overflow: hidden; }
.hero-media { margin: 0; }
.hero-img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius-lg); }
.hero-card__label { margin: 0; font-size: var(--step--1); text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
/* full — the photo behind the text under a scrim, tall, text at the foot */
.hero--full[data-hero] { min-height: min(78vh, 46rem); display: grid; align-items: end; }
.hero--full[data-hero] .hero-inner { padding-block: var(--sp-8) var(--sp-7); }
/* left — editorial: big type, a thin rule, a wide photo strip below */
.hero--left[data-hero] .hero-inner { max-width: var(--container); margin-inline: auto; text-align: left; }
.hero--left[data-hero] .hero-title { font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1.02; max-width: 18ch; }
.hero-rule { border: 0; border-top: 1px solid currentColor; opacity: .4; width: min(12rem, 40%); margin: var(--sp-5) 0; }
.hero-strip { margin: var(--sp-6) 0 0; }
.hero-strip .hero-img { aspect-ratio: 21 / 9; }
/* split — text left, a calm photo (or a contact card) right */
.hero-split { display: grid; gap: var(--sp-6); align-items: center; }
.hero-split .hero-inner { max-width: none; }
.hero-side .hero-img { aspect-ratio: 4 / 3; }
.hero-card { display: grid; gap: var(--sp-2); padding: var(--sp-5); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); box-shadow: var(--shadow-2); }
.hero-card .phone-big { margin-block: 0 var(--sp-3); }
@media (min-width: 56rem) { .hero-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
/* minimal — type only, a narrow centred column */
.hero--minimal[data-hero] .hero-inner { max-width: 52rem; margin-inline: auto; text-align: center; }
.hero--minimal[data-hero] .hero-title { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05; }
.hero--minimal[data-hero] .hero-actions, .hero--minimal[data-hero] .badges { justify-content: center; }
/* banded — a coloured band, then a strip with the area served / urgent note */
.hero--banded[data-hero] { padding: 0; }
.hero-band { background: var(--brand); color: var(--on-brand); padding-block: var(--sp-7) var(--sp-8); }
.hero-band .hero-title, .hero-band .lead, .hero-band .eyebrow { color: var(--on-brand); }
.hero-below { background: var(--surface-2); color: var(--text); padding-block: var(--sp-4); }
.hero-below__inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-2) var(--sp-6); }
.hero-below p { margin: 0; }
.hero-below__note { font-weight: 600; }
/* asymmetric — offset text, an offset photo, compact */
.hero-asym { display: grid; gap: var(--sp-6); align-items: center; }
.hero-asym .hero-inner { max-width: 40rem; margin: 0; text-align: left; }
.hero-offset .hero-img { aspect-ratio: 3 / 4; }
@media (min-width: 56rem) {
  .hero-asym { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .hero-asym .hero-inner { padding-inline-start: min(6vw, 5rem); }
  .hero-offset { margin-block-start: var(--sp-8); }
}
/* centered — centred text, rounded shapes, a round photo */
.hero--centered[data-hero] .hero-inner { margin-inline: auto; text-align: center; }
.hero--centered[data-hero] .hero-actions, .hero--centered[data-hero] .badges { justify-content: center; }
.hero-shape { position: absolute; z-index: -1; border-radius: var(--radius-full); background: var(--brand-soft); opacity: .7; pointer-events: none; }
.hero-shape--a { width: 16rem; height: 16rem; inset-block-start: -5rem; inset-inline-start: -5rem; }
.hero-shape--b { width: 10rem; height: 10rem; inset-block-end: -3rem; inset-inline-end: 8%; }
.hero-round { width: min(22rem, 72%); margin: var(--sp-6) auto 0; }
.hero-round .hero-img { aspect-ratio: 1; border-radius: var(--radius-full); }
/* showcase — the product photo first, text and picks beside it */
.hero-showcase { display: grid; gap: var(--sp-6); align-items: center; }
.hero-showcase .hero-inner { max-width: none; }
.hero-product .hero-img { aspect-ratio: 1; }
.hero-picks { list-style: none; padding: 0; margin: var(--sp-5) 0 0; display: grid; gap: var(--sp-2); }
.hero-picks li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-2) var(--sp-4); padding-block: var(--sp-2); border-top: 1px solid color-mix(in oklab, currentColor 22%, transparent); }
.hero-picks a { color: inherit; font-weight: 600; }
@media (min-width: 56rem) { .hero-showcase { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ---------- v2 section roots: section.<type>.<type>--<variant>[data-block] ---------- */
/* .faq / .gallery are also the class of the v1 inner lists; a v2 root keeps section flow */
.faq[data-block], .gallery[data-block] { display: block; max-width: none; columns: auto; list-style: none; }

/* services — grid (the .cards grid), list (rows), alternating (numbered zig-zag) */
.service-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.service-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-2) var(--sp-4); padding: var(--sp-3) var(--sp-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.service-row--urgent { border-inline-start: 4px solid var(--danger); }
.service-row__name { font-weight: 600; text-decoration: none; }
.service-row__summary { flex: 1 1 14rem; color: var(--text-muted); font-size: var(--step--1); }
.service-row .price { margin-inline-start: auto; }
.service-alt { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-6); }
.service-alt__item { display: grid; gap: var(--sp-3) var(--sp-6); align-items: start; }
.service-alt__num { font-family: var(--font-display); font-size: var(--step-4); font-weight: 800; line-height: 1; color: var(--brand); }
.service-alt__body h3 { margin-bottom: var(--sp-2); }
.service-alt__body h3 a { color: inherit; text-decoration: none; }
.service-alt__body p { color: var(--text-muted); }
@media (min-width: 48rem) {
  .service-alt__item { grid-template-columns: 6rem minmax(0, 1fr); }
  .service-alt__item:nth-child(even) { grid-template-columns: minmax(0, 1fr) 6rem; }
  .service-alt__item:nth-child(even) .service-alt__num { order: 2; text-align: end; }
}

/* gallery — grid, masonry, strip (one scrolling row) */
.gallery-list { list-style: none; margin: 0; padding: 0; }
.gallery--grid .gallery-list { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.gallery--masonry .gallery-list { columns: 16rem 3; column-gap: var(--sp-4); }
.gallery--strip .gallery-list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(14rem, 22rem); gap: var(--sp-4); overflow-x: auto; scroll-snap-type: x mandatory; padding-block-end: var(--sp-3); }
.gallery--strip .gallery-item { scroll-snap-align: start; }
.gallery-list .gallery-item { display: flex; flex-direction: column; gap: var(--sp-2); }
.gallery-list .gallery-item__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.gallery--masonry .gallery-list .gallery-item__img { aspect-ratio: auto; height: auto; }

/* faq — accordion (one column), two-col */
.faq-items { display: grid; gap: var(--sp-2); max-width: var(--measure); margin-block-end: var(--sp-5); }
.faq-items details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--sp-3) var(--sp-4); }
.faq-items summary { cursor: pointer; font-weight: 600; }
.faq--two-col .faq-items { max-width: none; }
@media (min-width: 48rem) { .faq--two-col .faq-items { grid-template-columns: 1fr 1fr; align-items: start; } }

/* contact-cta — band (centred), split (copy + details card) */
.contact-cta--band .cta-inner { margin-inline: auto; text-align: center; }
.contact-cta--band .hero-actions { justify-content: center; }
.contact-cta__grid { display: grid; gap: var(--sp-6); }
.contact-cta--split .box { color: var(--text); }
@media (min-width: 56rem) { .contact-cta__grid { grid-template-columns: 1.5fr 1fr; align-items: center; } }

/* pricelist — list (rows with a dotted leader), grid (one card per group) */
.price-groups { display: grid; gap: var(--sp-6); }
.pricelist--grid .price-groups { gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.pricelist--list .price-groups { max-width: 48rem; }
.price-group__title { font-size: var(--step-1); margin-bottom: var(--sp-3); }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.price-item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--sp-2); }
.price-item__name { font-weight: 600; }
.price-item__dots { flex: 1 1 2rem; border-bottom: 1px dotted var(--border); transform: translateY(-.3em); }
.price-item__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.price-item__desc { flex-basis: 100%; color: var(--text-muted); font-size: var(--step--1); }

/* team — grid (cards), list (rows) */
.team-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); }
.team--grid .team-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.team-member { display: grid; gap: var(--sp-3); align-content: start; }
.team--list .team-member { grid-template-columns: 5rem minmax(0, 1fr); align-items: start; }
.team-member__photo { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); }
.team--list .team-member__photo { border-radius: var(--radius-full); }
.team-member__avatar { display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: var(--radius-full); background: var(--brand-soft); color: var(--brand-strong); font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); }
.team-member__name { margin: 0; font-size: var(--step-1); }
.team-member__role { margin: 0; color: var(--text-muted); font-weight: 600; }
.team-member__bio { margin: var(--sp-2) 0 0; color: var(--text-muted); }

/* testimonials — grid (quote cards), single (one large quote per row) */
.quote-list { display: grid; gap: var(--sp-5); }
.testimonials--grid .quote-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.testimonials--single .quote-list { max-width: 48rem; margin-inline: auto; }
.quote { margin: 0; display: grid; gap: var(--sp-3); padding: var(--sp-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.quote__text { margin: 0; }
.testimonials--single .quote__text { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.3; }
.quote__by { display: flex; flex-wrap: wrap; gap: 0 var(--sp-2); font-size: var(--step--1); color: var(--text-muted); }
.quote__author { font-weight: 700; color: var(--text); }

/* stats — strip (one row), grid (tiles) */
.stat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
.stat { display: grid; gap: var(--sp-1); }
.stats--grid .stat { padding: var(--sp-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.stats--strip .stat { border-inline-start: 3px solid var(--brand); padding-inline-start: var(--sp-4); }
.stat__value { font-family: var(--font-display); font-size: var(--step-4); line-height: 1; }
.stat__label { color: var(--text-muted); }

/* map — the directions block: band (address + button in a row), card */
.map--band { background: var(--surface-2); }
.map__inner { display: grid; gap: var(--sp-4) var(--sp-6); align-items: center; }
.map__inner .nap { margin-bottom: var(--sp-3); }
.map__note { color: var(--text-muted); }
.map__action { margin: 0; }
.map--card .map__inner { max-width: 40rem; }
@media (min-width: 48rem) { .map--band .map__inner { grid-template-columns: minmax(0, 1fr) auto; } }

/* ---------- v2 contact page: section.contact.contact--<kind>[data-contact-kind] ---------- */
.contact-head { margin-bottom: var(--sp-6); }
.contact-grid { display: grid; gap: var(--sp-5) var(--sp-6); align-items: start; }
.contact-part > h2 { font-size: var(--step-1); margin-bottom: var(--sp-3); }
.contact-part .phone-big { margin-block: 0 var(--sp-3); }
.contact-part--directions { margin: 0; }
.contact-directions { margin-top: var(--sp-3); }
.contact--call .contact-part--phone .phone-big { font-size: var(--step-4); }
@media (min-width: 56rem) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-contact-part="address"] { grid-area: address; }
  [data-contact-part="directions"] { grid-area: directions; }
  [data-contact-part="hours"] { grid-area: hours; }
  [data-contact-part="phone"] { grid-area: phone; }
  [data-contact-part="areas"] { grid-area: areas; }
  [data-contact-part="form"] { grid-area: form; }
  [data-contact-part="booking"] { grid-area: booking; }
  .contact--visit .contact-grid { grid-template-areas: "address hours" "directions phone" "form form"; }
  .contact--call .contact-grid { grid-template-areas: "phone hours" "phone areas" "form form"; }
  .contact--book .contact-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "booking phone" "booking hours"; }
  .contact--write .contact-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "form phone" "form hours"; }
}

/* ===== AI-authored design.css (per-site visual system) ===== */
/* ============================================================
   Tacos La Familia — Trattoria family, playful terracotta finish
   Fonts: Lora (display) + Open Sans (body)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --brand:        #B23A2E;
  --brand-strong: #7A2118;
  --brand-soft:   #FCEAE6;
  --on-brand:     #FFFFFF;

  --bg:        #FDF8F3;
  --surface:   #FFFFFF;
  --surface-2: #F5EDE4;
  --border:    #E5D5C5;

  --text:        #2B1F16;
  --text-muted:  #6B5242;
  --text-subtle: #876E5D;
  --danger:      #C0392B;

  --font-display: "Lora", Georgia, "Palatino Linotype", "Noto Serif", serif;
  --font-body:    "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --step--1: clamp(0.85rem, 0.82rem + 0.15vw, 0.95rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1:  clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
  --step-2:  clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  --step-3:  clamp(2rem, 1.4rem + 3vw, 3.5rem);
  --step-4:  clamp(2.5rem, 1.5rem + 5vw, 5rem);

  --leading-tight: 1.12;
  --leading:       1.65;

  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem;
  --sp-4: 1rem;    --sp-5: 1.5rem;  --sp-6: 2rem;
  --sp-7: 3.25rem; --sp-8: 4.5rem;  --sp-9: 6.5rem;

  --radius:    0;
  --radius-lg: 0;
  --radius-full: 999px;

  --shadow-1: 0 1px 3px rgba(43,31,22,0.08), 0 2px 8px rgba(43,31,22,0.06);
  --shadow-2: 0 12px 32px rgba(43,31,22,0.12);

  --measure:   64ch;
  --container: 1200px;
}



/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--leading);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--text);
  overflow-wrap: anywhere;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--brand-strong);
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- Header ---------- */
.site-head {
  background: var(--surface);
  border-block-end: 1px solid var(--border);
  padding-block: var(--sp-4);
}

.hd-centered .head-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--brand);
  color: var(--on-brand);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  border-radius: var(--radius);
  line-height: 1;
}

.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.2;
}

.brand-text small {
  display: block;
  font-size: var(--step--1);
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.3;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2) var(--sp-4);
  list-style: none;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-full);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-soft);
}

.lang-switch {
  font-size: var(--step--1);
}

.lang-switch ul {
  display: flex;
  gap: var(--sp-2);
  list-style: none;
}

.lang-switch a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  transition: color 0.15s ease, background 0.15s ease;
}

.lang-switch a:hover,
.lang-switch a[aria-current] {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}

.head-call {
  margin-block-start: var(--sp-2);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
}

.nav-toggle-bars {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.5rem;
  height: 2px;
  background: var(--text);
}

.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after  { top: 7px; }

@media (max-width: 767px) {
  .hd-centered .nav-toggle {
    display: block;
    position: absolute;
    right: 0;
    top: 0.5rem;
  }

  .hd-centered .nav {
    display: none;
    width: 100%;
    padding-block: var(--sp-3);
  }

  .hd-centered .nav:target {
    display: block;
  }

  .hd-centered .nav ul {
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
  }

  .hd-centered .lang-switch {
    margin-block-start: var(--sp-2);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-call {
  background: var(--brand);
  color: var(--on-brand);
  border-color: var(--brand);
}

.btn-call:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  color: var(--on-brand);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.btn-ghost:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
}

/* ---------- Hero — full-bleed ---------- */
.hero--full {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--text);
}

.hero--full .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: sepia(0.25) saturate(1.3) contrast(1.1);
}

/* Subtle duotone / terracotta tint overlay */
.hero--full::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(43,31,22,0.92) 0%, rgba(43,31,22,0.55) 45%, rgba(178,58,46,0.28) 100%);
  pointer-events: none;
}

.hero--full::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(178,58,46,0.18) 0%, transparent 60%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero--full .hero-inner {
  position: relative;
  z-index: 2;
  padding-block: var(--sp-8) var(--sp-6);
  color: #FFFFFF;
}

.hero--full .eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-soft);
  margin-block-end: var(--sp-2);
}

.hero--full .hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 2rem + 4vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-block-end: var(--sp-3);
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

.hero--full .lead {
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 55ch;
  opacity: 0.95;
  margin-block-end: var(--sp-5);
}

.hero--full .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.hero--full .badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  list-style: none;
  margin-block-start: var(--sp-5);
}

.hero--full .badges li {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: var(--step--1);
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.15);
}

/* ---------- Section rhythm ---------- */
.section {
  padding-block: var(--sp-7);
}

.section-alt {
  background: var(--surface-2);
}

.rh-alt main > .section:nth-of-type(even) {
  padding-block: var(--sp-9);
}

.rh-alt main > .section:nth-of-type(odd) {
  padding-block: var(--sp-7);
}

.section-lead {
  font-size: var(--step-1);
  color: var(--text-muted);
  max-width: 55ch;
  margin-block: var(--sp-2) var(--sp-5);
}

/* Section headings */
.section h2 {
  font-family: var(--font-display);
  font-size: var(--step-3);
  margin-block-end: var(--sp-2);
}

/* ---------- Services ---------- */
.services--grid .cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-4);
}

.services--grid .card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--sp-5);
  border-radius: var(--radius);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.services--grid .card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
}

.services--grid .card h3 a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: var(--step-1);
}

.services--grid .card h3 a:hover {
  color: var(--brand);
}

.services--grid .price {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  color: var(--brand);
  margin-block: var(--sp-2);
}

.services--grid .card-more {
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}

.services--list .service-rows {
  list-style: none;
  display: grid;
  gap: 0;
}

.services--list .service-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--sp-2);
  padding: var(--sp-3) 0;
  border-block-end: 1px solid var(--border);
}

.services--list .service-row__name {
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  font-size: var(--step-1);
}

.services--list .service-row__name:hover {
  color: var(--brand);
}

.services--list .service-row__summary {
  color: var(--text-muted);
  font-size: var(--step--1);
}

.services--list .price {
  margin-inline-start: auto;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand);
}

.services--list .service-row--urgent {
  background: var(--brand-soft);
  padding: var(--sp-3);
  border-inline-start: 4px solid var(--brand);
}

.services--alternating .service-alt {
  list-style: none;
  counter-reset: svc;
}

.services--alternating .service-alt__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  border-block-end: 1px solid var(--border);
  align-items: start;
}

.services--alternating .service-alt__num {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
  color: var(--brand-soft);
  line-height: 1;
}

.services--alternating .service-alt__body h3 {
  font-family: var(--font-display);
  font-size: var(--step-1);
  margin-block-end: var(--sp-1);
}

/* ---------- Pricelist ---------- */
.pricelist--list,
.pricelist--grid {
  background: var(--bg);
}

.price-groups {
  display: grid;
  gap: var(--sp-6);
}

.pricelist--grid .price-groups {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.price-group {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--sp-5);
  border-radius: var(--radius);
}

.price-group__title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  color: var(--brand);
  margin-block-end: var(--sp-4);
  padding-block-end: var(--sp-3);
  border-block-end: 2px solid var(--brand-soft);
}

.price-list {
  list-style: none;
  display: grid;
  gap: var(--sp-3);
}

.price-item {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.price-item__name {
  font-weight: 600;
  color: var(--text);
}

.price-item__dots {
  flex: 1;
  border-block-end: 1px dotted var(--border);
  min-width: 2rem;
  height: 0.6em;
}

.price-item__price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand);
}

.price-item__desc {
  width: 100%;
  font-size: var(--step--1);
  color: var(--text-muted);
}

/* ---------- Gallery ---------- */
.gallery--grid .gallery-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-3);
  list-style: none;
}

.gallery--grid .gallery-item__img,
.gallery--masonry .gallery-item__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  filter: sepia(0.2) saturate(1.15) contrast(1.05);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.gallery--grid .gallery-item__img:hover,
.gallery--masonry .gallery-item__img:hover {
  filter: sepia(0) saturate(1) contrast(1);
  transform: scale(1.02);
}

.gallery--masonry .gallery-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-3);
  list-style: none;
}

.gallery--strip {
  background: var(--surface-2);
}

.gallery--strip .gallery-list {
  display: flex;
  gap: var(--sp-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  list-style: none;
  padding-block-end: var(--sp-2);
}

.gallery--strip .gallery-item {
  flex: 0 0 auto;
  width: min(75vw, 320px);
  scroll-snap-align: start;
}

.gallery--strip .gallery-item__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  filter: sepia(0.2) saturate(1.15) contrast(1.05);
}

.gallery-item__caption {
  margin-block-start: var(--sp-2);
  font-size: var(--step--1);
  color: var(--text-muted);
  text-align: center;
}

.gallery-item__frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
  font-size: var(--step--1);
}

/* ---------- About blurb ---------- */
.about-blurb--simple {
  background: var(--surface);
}

.about-blurb--simple .narrow {
  max-width: var(--measure);
  margin-inline: auto;
}

.about-blurb--simple .prose {
  font-size: var(--step-1);
  line-height: 1.7;
}

.about-blurb--simple .btn {
  margin-block-start: var(--sp-4);
}

.about-blurb--split {
  background: var(--surface);
}

.about-blurb--split .about-split {
  display: grid;
  gap: var(--sp-6);
  align-items: start;
}

@media (min-width: 768px) {
  .about-blurb--split .about-split {
    grid-template-columns: 1fr 1fr;
  }
}

.about-blurb--split .box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: var(--sp-5);
  border-radius: var(--radius);
}

.about-blurb--split .box h3 {
  font-family: var(--font-display);
  font-size: var(--step-1);
  margin-block-end: var(--sp-3);
}

.about-blurb--split .emergency {
  color: var(--danger);
  font-weight: 600;
  margin-block-start: var(--sp-3);
}

/* ---------- Testimonials ---------- */
.testimonials--single {
  background: var(--brand-soft);
}

.testimonials--single .quote {
  text-align: center;
  max-width: 68ch;
  margin-inline: auto;
}

.testimonials--single .quote__text {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-style: italic;
  line-height: 1.4;
  color: var(--text);
}

.testimonials--single .quote__text p::before {
  content: "\201C";
  color: var(--brand);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: middle;
  margin-inline-end: 0.15em;
}

.testimonials--single .quote__text p::after {
  content: "\201D";
  color: var(--brand);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: middle;
  margin-inline-start: 0.15em;
}

.testimonials--single .quote__by {
  margin-block-start: var(--sp-4);
  color: var(--text-muted);
  font-weight: 600;
}

.testimonials--grid .quote-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-4);
}

.testimonials--grid .quote {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--sp-5);
  border-radius: var(--radius);
}

.testimonials--grid .quote__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.45;
  margin-block-end: var(--sp-3);
}

.testimonials--grid .quote__by {
  color: var(--text-muted);
  font-size: var(--step--1);
  font-weight: 600;
}

/* ---------- Map ---------- */
.map--card {
  background: var(--bg);
}

.map--card .map__inner {
  display: grid;
  gap: var(--sp-5);
  align-items: center;
}

@media (min-width: 768px) {
  .map--card .map__inner {
    grid-template-columns: 1fr auto;
  }
}

.map--card .box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--sp-5);
  border-radius: var(--radius);
}

.map--card .nap {
  font-style: normal;
  line-height: 1.7;
  color: var(--text-muted);
}

.map--card .map__action {
  margin-block-start: var(--sp-3);
}

.map--band {
  background: var(--surface-2);
}

.map--band .map__inner {
  display: grid;
  gap: var(--sp-5);
  align-items: center;
}

@media (min-width: 768px) {
  .map--band .map__inner {
    grid-template-columns: 1fr auto;
  }
}

/* ---------- Contact CTA ---------- */
.contact-cta--band {
  background: var(--brand);
  color: var(--on-brand);
}

.contact-cta--band .cta-inner {
  text-align: center;
  padding-block: var(--sp-2);
}

.contact-cta--band h2 {
  color: var(--on-brand);
  font-family: var(--font-display);
  font-size: var(--step-3);
  margin-block-end: var(--sp-3);
}

.contact-cta--band .lead {
  font-size: var(--step-1);
  opacity: 0.95;
  max-width: 55ch;
  margin-inline: auto;
  margin-block-end: var(--sp-5);
}

.contact-cta--band .btn-call {
  background: var(--on-brand);
  color: var(--brand);
  border-color: var(--on-brand);
}

.contact-cta--band .btn-call:hover {
  background: var(--surface-2);
  border-color: var(--surface-2);
  color: var(--brand-strong);
}

.contact-cta--band .btn-ghost {
  border-color: rgba(255,255,255,0.55);
  color: var(--on-brand);
}

.contact-cta--band .btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--on-brand);
  color: var(--on-brand);
}

.contact-cta--split {
  background: var(--surface);
}

.contact-cta--split .contact-cta__grid {
  display: grid;
  gap: var(--sp-6);
  align-items: start;
}

@media (min-width: 768px) {
  .contact-cta--split .contact-cta__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-cta--split .box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: var(--sp-5);
  border-radius: var(--radius);
}

/* ---------- Process ---------- */
.process--numbered .steps-wrap,
.process--timeline .steps-wrap {
  display: grid;
  gap: var(--sp-5);
}

.process--numbered .steps,
.process--timeline .steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: var(--sp-5);
}

.process--numbered .steps li,
.process--timeline .steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-4);
  align-items: start;
}

.process--numbered .steps li::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--brand);
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--brand);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.process--timeline .steps li::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--on-brand);
  background: var(--brand);
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* ---------- FAQ ---------- */
.faq--accordion .faq-items,
.faq--two-col .faq-items {
  display: grid;
  gap: var(--sp-3);
}

.faq--two-col .faq-items {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .faq--two-col .faq-items {
    grid-template-columns: 1fr 1fr;
  }
}

.faq--accordion details,
.faq--two-col details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq--accordion summary,
.faq--two-col summary {
  padding: var(--sp-4);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
}

.faq--accordion summary::after,
.faq--two-col summary::after {
  content: "+";
  font-size: var(--step-1);
  color: var(--brand);
  font-weight: 700;
  line-height: 1;
}

.faq--accordion details[open] summary::after,
.faq--two-col details[open] summary::after {
  content: "\2212";
}

.faq--accordion summary::-webkit-details-marker,
.faq--two-col summary::-webkit-details-marker {
  display: none;
}

.faq--accordion details[open] summary,
.faq--two-col details[open] summary {
  border-block-end: 1px solid var(--border);
}

.faq--accordion details p,
.faq--two-col details p {
  padding: var(--sp-4);
  color: var(--text-muted);
}

/* ---------- Emergency CTA ---------- */
.emergency-cta--banner {
  background: var(--danger);
  color: #FFFFFF;
  text-align: center;
  padding-block: var(--sp-6);
}

.emergency-cta--banner h2 {
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: var(--step-2);
  margin-block-end: var(--sp-2);
}

.emergency-cta--banner .lead {
  opacity: 0.95;
  margin-block-end: var(--sp-4);
}

.emergency-cta--banner .btn-call {
  background: #FFFFFF;
  color: var(--danger);
  border-color: #FFFFFF;
}

.emergency-cta--inline {
  background: var(--surface);
  border: 1px solid var(--border);
  border-inline-start: 4px solid var(--danger);
  padding: var(--sp-5);
  border-radius: var(--radius);
}

.emergency-cta--inline h2 {
  font-size: var(--step-2);
  color: var(--danger);
  margin-block-end: var(--sp-2);
}

/* ---------- Team ---------- */
.team--grid .team-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-5);
  list-style: none;
}

.team--grid .team-member {
  text-align: center;
}

.team--grid .team-member__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  filter: sepia(0.2) saturate(1.15) contrast(1.05);
  margin-block-end: var(--sp-3);
  transition: filter 0.3s ease;
}

.team--grid .team-member__photo:hover {
  filter: sepia(0) saturate(1) contrast(1);
}

.team--grid .team-member__avatar {
  width: 100%;
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: var(--on-brand);
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
  border-radius: var(--radius);
  margin-block-end: var(--sp-3);
}

.team--grid .team-member__name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
}

.team--grid .team-member__role {
  color: var(--brand);
  font-weight: 600;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-block: var(--sp-1);
}

.team--grid .team-member__bio {
  color: var(--text-muted);
  font-size: var(--step--1);
}

.team--list .team-list {
  list-style: none;
  display: grid;
  gap: var(--sp-4);
}

.team--list .team-member {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-4);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--sp-4);
  border-radius: var(--radius);
}

.team--list .team-member__photo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  filter: sepia(0.2) saturate(1.15);
}

.team--list .team-member__avatar {
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: var(--on-brand);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  border-radius: var(--radius);
}

/* ---------- Stats ---------- */
.stats--strip .stat-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-6) var(--sp-8);
  list-style: none;
}

.stats--strip .stat {
  text-align: center;
}

.stats--strip .stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}

.stats--strip .stat__label {
  display: block;
  color: var(--text-muted);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-block-start: var(--sp-2);
}

.stats--grid .stat-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-5);
  list-style: none;
}

.stats--grid .stat {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--sp-5);
  border-radius: var(--radius);
  text-align: center;
}

.stats--grid .stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}

.stats--grid .stat__label {
  display: block;
  color: var(--text-muted);
  font-size: var(--step--1);
  margin-block-start: var(--sp-2);
}

/* ---------- Contact page (write) ---------- */
.contact--write {
  background: var(--bg);
}

.contact-head {
  text-align: center;
  margin-block-end: var(--sp-6);
}

.contact-head h1 {
  font-family: var(--font-display);
  font-size: var(--step-3);
}

.contact-head .lead {
  color: var(--text-muted);
  max-width: 55ch;
  margin-inline: auto;
}

.contact-grid {
  display: grid;
  gap: var(--sp-5);
}

@media (min-width: 768px) {
  .contact--write .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-part {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--sp-5);
  border-radius: var(--radius);
}

.contact-part h2 {
  font-family: var(--font-display);
  font-size: var(--step-2);
  margin-block-end: var(--sp-3);
}

.phone-big {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  color: var(--brand);
}

.contact-email {
  color: var(--text-muted);
  margin-block-start: var(--sp-1);
}

.form-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: var(--sp-5);
  border-radius: var(--radius);
}

/* ---------- Interior primitives ---------- */
.prose {
  line-height: 1.7;
  max-width: var(--measure);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: var(--step-2);
  margin-block: var(--sp-5) var(--sp-3);
}

.prose h3 {
  font-family: var(--font-display);
  font-size: var(--step-1);
  margin-block: var(--sp-4) var(--sp-2);
}

.prose p {
  margin-block-end: var(--sp-3);
}

.prose ul,
.prose ol {
  margin-block: var(--sp-3) var(--sp-4);
  padding-inline-start: var(--sp-5);
}

.prose li {
  margin-block-end: var(--sp-2);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-4);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--sp-5);
  border-radius: var(--radius);
}

.box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--sp-5);
  border-radius: var(--radius);
}

.facts {
  display: grid;
  gap: var(--sp-3);
}

.facts dt {
  font-weight: 600;
  color: var(--text-muted);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.facts dd {
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.crumbs {
  font-size: var(--step--1);
  color: var(--text-muted);
  margin-block-end: var(--sp-4);
}

.crumbs a {
  color: var(--brand);
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.site-foot {
  background: var(--text);
  color: var(--surface-2);
  padding-block: var(--sp-8) var(--sp-5);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 768px) {
  .foot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .foot-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.foot-h {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--surface);
  margin-block-end: var(--sp-3);
}

.site-foot .nap {
  line-height: 1.7;
}

.site-foot .hours th {
  text-align: start;
  font-weight: 600;
  padding-inline-end: var(--sp-4);
  color: var(--surface);
}

.site-foot .hours td {
  color: var(--text-muted);
}

.foot-list {
  list-style: none;
  display: grid;
  gap: var(--sp-2);
}

.foot-list a {
  color: var(--text-muted);
  text-decoration: none;
}

.foot-list a:hover {
  color: var(--surface);
}

.foot-bottom {
  margin-block-start: var(--sp-6);
  padding-block-start: var(--sp-4);
  border-block-start: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

/* ---------- Call bar ---------- */
.call-bar {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  background: var(--brand);
  color: var(--on-brand);
  text-align: center;
  padding: var(--sp-3);
  font-weight: 600;
  text-decoration: none;
  z-index: 100;
  display: block;
}

@media (min-width: 768px) {
  .call-bar {
    display: none;
  }
}

/* ---------- Hours table (shared) ---------- */
table.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step-0);
}

table.hours th,
table.hours td {
  padding: var(--sp-2) 0;
}

table.hours tr:not(:last-child) {
  border-block-end: 1px solid var(--border);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover,
  .services--grid .card:hover,
  .gallery--grid .gallery-item__img:hover,
  .gallery--masonry .gallery-item__img:hover {
    transform: none;
  }

  .gallery--grid .gallery-item__img,
  .gallery--masonry .gallery-item__img,
  .gallery--strip .gallery-item__img,
  .team--grid .team-member__photo,
  .team--list .team-member__photo {
    transition: none;
  }
}

/* ---------- Small-screen adjustments ---------- */
@media (max-width: 400px) {
  .hero--full .hero-title {
    font-size: clamp(2rem, 1.5rem + 3vw, 2.8rem);
  }

  .section h2,
  .contact-head h1 {
    font-size: var(--step-2);
  }

  .btn {
    padding: 0.65rem 1.25rem;
    width: 100%;
    text-align: center;
  }

  .hero--full .hero-actions {
    flex-direction: column;
  }
}

