@charset "utf-8";
/* Assembled: direction "arena" 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: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-400-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-400-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-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: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-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: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-600-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-600-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-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: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-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: "Oswald";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/oswald-600-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/oswald-600-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/oswald-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: "Oswald";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/oswald-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: "Oswald";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/oswald-700-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/oswald-700-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/oswald-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: "Oswald";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/oswald-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;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-500-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-500-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-500-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: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-500-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: ARENA — fitness instructors, gyms, sports clubs, martial arts, dance schools.
   Energetic and high-contrast: white and near-black, a crimson brand, a condensed display
   face for big tight headlines, small radii, compact rhythm. Built for an asymmetric hero,
   a stats strip, testimonials and a gallery strip.
   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 arena` (gate + family audit). */

:root {
  --brand:        #c4122f;
  --brand-strong: #9a0e25;
  --brand-soft:   #fde7ea;
  --on-brand:     #ffffff;

  --bg:        #ffffff;
  --surface:   #ffffff;
  --surface-2: #f3f3f5;
  --border:    #d9d9de;

  --text:        #0c0c10;
  --text-muted:  #44454d;
  --text-subtle: #62636b;

  --ok:     #17703c;
  --warn:   #8a5200;
  --danger: #a3101f;

  --surface-inverse:   #0c0c10;
  --surface-inverse-2: #1c1c22;
  --on-inverse:        #f4f4f6;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "Noto Sans", sans-serif;
  --font-display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, system-ui, sans-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.25rem, 1.1rem + 0.7vw, 1.65rem);
  --step-2:  clamp(1.6rem, 1.3rem + 1.4vw, 2.5rem);
  --step-3:  clamp(2.1rem, 1.5rem + 2.8vw, 3.8rem);
  --step-4:  clamp(2.8rem, 1.7rem + 5vw, 6rem);
  --leading-tight: 1.02;
  --leading: 1.55;

  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem;
  --sp-4: 1rem;    --sp-5: 1.5rem;  --sp-6: 2rem;
  --sp-7: 2.5rem; --sp-8: 3.5rem; --sp-9: 5rem;

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

  --shadow-1: 0 1px 2px rgb(0 0 0 / 0.10);
  --shadow-2: 0 10px 24px rgb(0 0 0 / 0.16);

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


/* per-site design override (from spec.meta.design) */
:root {
  --brand: #d7263d;
  --brand-strong: #ac1e31;
  --brand-soft: #f9e1e4;
  --on-brand: #ffffff;
  --radius: .75rem;
  --radius-lg: 1.25rem;
  --radius-full: 999px;
  --sp-7: 2.25rem;
  --sp-8: 3rem;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

/* 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) ===== */
/* ============================================================
   ARENA — Фитнес с Мария
   Bold, high-contrast, crimson-led visual system.
   Sharp corners, alternating bands, asymmetric hero,
   marker accents, and a sticky colour-shifting call bar.
   ============================================================ */

/* ---------------------------------------------------------------
   1. Tokens
   --------------------------------------------------------------- */
:root {
  --brand:        #D7263D;
  --brand-strong: #a81c2e;
  --brand-soft:   #ffe5e8;
  --on-brand:     #ffffff;

  --bg:        #ffffff;
  --surface:   #ffffff;
  --surface-2: #f4f4f6;
  --border:    #d0d0d8;

  --text:        #0a0a0f;
  --text-muted:  #3a3a44;
  --text-subtle: #5c5c66;

  --danger: #b91c1c;

  --surface-inverse:   #0a0a0f;
  --surface-inverse-2: #1a1a22;
  --on-inverse:        #f4f4f6;

  --font-display: "Oswald", "Noto Sans", sans-serif;
  --font-body:    "Inter", "Noto Sans", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --step--1: clamp(0.83rem, 0.78rem + 0.25vw, 0.9rem);
  --step-0:  clamp(1rem, 0.94rem + 0.3vw, 1.125rem);
  --step-1:  clamp(1.25rem, 1.1rem + 0.75vw, 1.65rem);
  --step-2:  clamp(1.6rem, 1.25rem + 1.75vw, 2.5rem);
  --step-3:  clamp(2.1rem, 1.4rem + 3.5vw, 4rem);
  --step-4:  clamp(2.8rem, 1.6rem + 6vw, 7rem);

  --leading-tight: 1.02;
  --leading:       1.55;

  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem;
  --sp-4: 1rem;    --sp-5: 1.5rem;  --sp-6: 2rem;
  --sp-7: 2.5rem;  --sp-8: 3.5rem;  --sp-9: 5rem;

  --radius: 0;
  --radius-lg: 0;
  --radius-full: 0;

  --shadow-1: 0 1px 2px rgb(0 0 0 / 0.10);
  --shadow-2: 0 10px 24px rgb(0 0 0 / 0.16);

  --measure:   66ch;
  --container: 1440px;
}



/* ---------------------------------------------------------------
   2. 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);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

p, li {
  text-wrap: pretty;
}

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

/* ---------------------------------------------------------------
   3. Layout helpers
   --------------------------------------------------------------- */
.w-wide {
  --container: 1440px;
}

.wrap {
  padding-inline: clamp(1rem, 5vw, 4rem);
}

.section {
  padding-block: clamp(3rem, 6vw, 5rem);
}

/* ---------------------------------------------------------------
   4. Marker decoration (dc-marker)
   --------------------------------------------------------------- */
.dc-marker h2::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 0.25rem;
  background: var(--brand);
  margin-block-start: 0.6rem;
}

.dc-marker a:not(.btn):not(.head-call):not(.call-bar) {
  text-underline-offset: 0.25em;
  text-decoration-thickness: 2px;
}

/* ---------------------------------------------------------------
   5. Header
   --------------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 2px solid var(--border);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding-block: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--brand);
  color: var(--on-brand);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.brand-text small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Nav */
.nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  list-style: none;
}

.nav a {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
  position: relative;
  padding-block: 0.25rem;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.1s ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  width: 100%;
}

/* Language switcher */
.lang-switch {
  margin-inline-start: 0.75rem;
}

.lang-switch ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.lang-switch a {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border);
  transition: all 0.1s ease;
}

.lang-switch a:hover {
  border-color: var(--text);
  color: var(--text);
}

.lang-switch a[aria-current] {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

/* Mobile toggle */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: transparent;
  border: 2px solid var(--text);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--text);
  border-radius: var(--radius);
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

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

.head-call {
  margin-inline-start: 1rem;
}

@media (max-width: 899px) {
  .site-head .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 2px solid var(--border);
    padding: 1.5rem clamp(1rem, 5vw, 4rem);
  }

  .site-head .nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .site-head .nav a {
    font-size: 1.125rem;
    padding-block: 0.5rem;
  }

  .lang-switch {
    margin-inline-start: 0;
    margin-block-start: 1rem;
  }

  .head-call {
    display: none;
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

/* ---------------------------------------------------------------
   6. Hero — all variants (asymmetric is the star)
   --------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: var(--step-4);
  text-transform: uppercase;
  margin-block-end: 1.25rem;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-block-end: 1rem;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 55ch;
  margin-block-end: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin-block-start: 2rem;
}

.badges li {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem;
  border: 2px solid var(--border);
  color: var(--text-muted);
}

.hero-media {
  margin: 0;
}

.hero-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Asymmetric hero */
.hero--asymmetric {
  padding-block: clamp(4rem, 10vh, 8rem);
  background: var(--bg);
}

.hero--asymmetric::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--brand-soft) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.hero-asym {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .hero-asym {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    min-height: 70vh;
  }

  .hero--asymmetric .hero-inner {
    transform: translateY(-1.5rem);
  }

  .hero--asymmetric .hero-media.hero-offset {
    transform: translateY(2rem);
    align-self: end;
  }
}

/* Full hero */
.hero--full {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: clamp(3rem, 8vh, 6rem);
}

.hero--full.hero--image {
  color: var(--on-inverse);
}

.hero--full.hero--image .hero-title,
.hero--full.hero--image .eyebrow,
.hero--full.hero--image .lead {
  color: var(--on-inverse);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.7) 0%, transparent 60%);
  z-index: 0;
}

.hero--full .hero-inner {
  position: relative;
  z-index: 1;
}

/* Left hero */
.hero--left {
  padding-block: clamp(4rem, 8vh, 7rem);
}

.hero-rule {
  width: 4rem;
  height: 4px;
  background: var(--brand);
  border: none;
  margin-block: 1.5rem;
}

.hero--left .hero-media.hero-strip {
  margin-block-start: 3rem;
}

/* Split hero */
.hero--split .hero-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero--split .hero-split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero-card {
  background: var(--surface-2);
  border: 2px solid var(--border);
  padding: 1.5rem;
}

.hero-card__label {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-block-end: 0.5rem;
}

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

/* Minimal hero */
.hero--minimal {
  padding-block: clamp(5rem, 12vh, 9rem);
  text-align: center;
}

.hero--minimal .hero-inner {
  max-width: 70ch;
  margin-inline: auto;
}

/* Banded hero */
.hero--banded .hero-band {
  background: var(--brand);
  color: var(--on-brand);
  padding-block: clamp(4rem, 8vh, 7rem);
}

.hero--banded .hero-title,
.hero--banded .eyebrow,
.hero--banded .lead {
  color: var(--on-brand);
}

.hero-below {
  background: var(--surface-2);
  padding-block: 1.5rem;
}

.hero-below__area {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
}

.hero-below__note {
  color: var(--text-muted);
  font-size: var(--step-0);
}

/* Centered hero */
.hero--centered {
  padding-block: clamp(5rem, 10vh, 8rem);
  text-align: center;
  position: relative;
}

.hero-shape {
  display: none;
}

@media (min-width: 900px) {
  .hero-shape {
    display: block;
    position: absolute;
    border-radius: var(--radius-full);
    pointer-events: none;
  }

  .hero-shape--a {
    width: 20vw;
    height: 20vw;
    background: var(--brand-soft);
    opacity: 0.5;
    top: 10%;
    left: 10%;
  }

  .hero-shape--b {
    width: 15vw;
    height: 15vw;
    background: var(--brand);
    opacity: 0.1;
    bottom: 15%;
    right: 15%;
  }
}

.hero--centered .hero-media.hero-round {
  margin-inline: auto;
  margin-block-start: 2rem;
  border-radius: var(--radius-full);
  overflow: hidden;
  max-width: 320px;
}

/* Showcase hero */
.hero--showcase .hero-showcase {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(3rem, 6vh, 5rem);
}

@media (min-width: 900px) {
  .hero--showcase .hero-showcase {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero-picks {
  list-style: none;
  margin-block-start: 1.5rem;
}

.hero-picks li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.hero-picks a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.hero-picks .price {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brand);
}

/* ---------------------------------------------------------------
   7. Stats
   --------------------------------------------------------------- */
.stats--strip {
  background: var(--surface-inverse);
  color: var(--on-inverse);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.stats__heading {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--on-inverse);
  margin-block-end: 1.5rem;
  opacity: 0.7;
}

.stat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem clamp(3rem, 6vw, 6rem);
  list-style: none;
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
}

.stat__label {
  display: block;
  font-size: var(--step-0);
  color: var(--on-inverse);
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-block-start: 0.5rem;
}

.stats--grid .stat-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stats--grid .stat {
  background: var(--surface-2);
  padding: 1.5rem;
  border: 2px solid var(--border);
}

.stats--grid .stat__value {
  color: var(--brand);
}

.stats--grid .stat__label {
  color: var(--text-muted);
  opacity: 1;
}

/* ---------------------------------------------------------------
   8. Services
   --------------------------------------------------------------- */
.services--alternating,
.services--grid,
.services--list {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.services--alternating {
  background: var(--surface-2);
}

.services h2 {
  font-size: var(--step-3);
  text-transform: uppercase;
  margin-block-end: 0.75rem;
}

.section-lead {
  font-size: var(--step-1);
  color: var(--text-muted);
  max-width: 60ch;
  margin-block-end: 3rem;
}

/* Alternating */
.service-alt {
  list-style: none;
  counter-reset: service;
}

.service-alt__item {
  display: grid;
  gap: 1.5rem;
  padding-block: 2.5rem;
  border-bottom: 2px solid var(--border);
  align-items: start;
}

@media (min-width: 700px) {
  .service-alt__item {
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
  }

  .service-alt__item:nth-child(even) {
    grid-template-columns: 1fr auto;
  }

  .service-alt__item:nth-child(even) .service-alt__num {
    order: 2;
  }

  .service-alt__item:nth-child(even) .service-alt__body {
    order: 1;
    text-align: right;
  }

  .service-alt__item:nth-child(even) .service-alt__body p {
    margin-inline-start: auto;
  }
}

.service-alt__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
  opacity: 0.25;
}

.service-alt__body h3 {
  font-size: var(--step-2);
  font-weight: 600;
  text-transform: uppercase;
  margin-block-end: 0.75rem;
}

.service-alt__body h3 a {
  color: var(--text);
  text-decoration: none;
  background-image: linear-gradient(var(--brand), var(--brand));
  background-size: 0% 3px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.1s ease;
}

.service-alt__body h3 a:hover {
  background-size: 100% 3px;
}

.service-alt__body p {
  color: var(--text-muted);
  max-width: 55ch;
}

.service-alt__body .price {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--brand);
  margin-block-start: 0.5rem;
}

.card-more {
  margin-block-start: 0.75rem;
  font-weight: 500;
}

/* Grid */
.services--grid .cards {
  margin-block-start: 2rem;
}

/* List */
.services--list .service-rows {
  list-style: none;
}

.service-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.service-row__name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.service-row__summary {
  color: var(--text-muted);
  flex-grow: 1;
}

.service-row .price {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brand);
  flex-shrink: 0;
}

.service-row--urgent {
  background: var(--brand-soft);
  margin-inline: -1rem;
  padding-inline: 1rem;
  border-bottom: none;
}

/* ---------------------------------------------------------------
   9. Gallery
   --------------------------------------------------------------- */
.gallery--grid,
.gallery--masonry,
.gallery--strip {
  padding-block: clamp(2rem, 4vw, 3rem);
}

.gallery--strip {
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
}

.gallery h2 {
  font-size: var(--step-2);
  text-transform: uppercase;
  margin-block-end: 1.5rem;
}

.gallery-list {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block-end: 0.5rem;
}

.gallery-list::-webkit-scrollbar {
  display: none;
}

.gallery--grid .gallery-list,
.gallery--masonry .gallery-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.5rem;
  overflow-x: visible;
}

.gallery--masonry .gallery-list {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-auto-rows: 200px;
}

.gallery-item {
  flex: 0 0 auto;
  width: 80vw;
  max-width: 380px;
  scroll-snap-align: start;
}

.gallery--grid .gallery-item,
.gallery--masonry .gallery-item {
  width: auto;
  max-width: none;
}

.gallery--masonry .gallery-item:nth-child(3n) {
  grid-row: span 2;
}

.gallery-item__img,
.gallery-item__frame {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery-item__frame {
  background: var(--surface-2);
  border: 2px dashed var(--border);
}

.gallery-item__caption {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-block-start: 0.5rem;
}

/* ---------------------------------------------------------------
   10. Testimonials
   --------------------------------------------------------------- */
.testimonials--grid,
.testimonials--single {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--surface-2);
}

.testimonials h2 {
  font-size: var(--step-2);
  text-transform: uppercase;
  margin-block-end: 2rem;
}

.quote-list {
  display: grid;
  gap: 1.5rem;
}

.testimonials--grid .quote-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.quote {
  background: var(--surface);
  border-left: 4px solid var(--brand);
  padding: 1.5rem;
  margin: 0;
}

.quote__text {
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  margin-block-end: 1rem;
}

.quote__by {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

/* ---------------------------------------------------------------
   11. Process
   --------------------------------------------------------------- */
.process--numbered,
.process--timeline {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.process h2 {
  font-size: var(--step-2);
  text-transform: uppercase;
  margin-block-end: 2rem;
}

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 2rem;
}

.process--numbered .steps {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.steps li {
  position: relative;
  padding-block-start: 3rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
  opacity: 0.3;
}

.process--timeline .steps li {
  padding-inline-start: 2rem;
  border-left: 2px solid var(--border);
}

.process--timeline .steps li::before {
  left: -0.65rem;
  top: 0.25rem;
  background: var(--bg);
  padding-inline: 0.25rem;
}

/* ---------------------------------------------------------------
   12. FAQ
   --------------------------------------------------------------- */
.faq--accordion,
.faq--two-col {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.faq h2 {
  font-size: var(--step-2);
  text-transform: uppercase;
  margin-block-end: 2rem;
}

.faq-items {
  display: grid;
  gap: 1rem;
}

.faq--two-col .faq-items {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.faq-items details {
  background: var(--surface);
  border: 2px solid var(--border);
  padding: 1.25rem;
}

.faq-items summary {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-items summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--brand);
  flex-shrink: 0;
}

.faq-items details[open] summary::after {
  content: "\2212";
}

.faq-items details p {
  margin-block-start: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------------------------------------------------------------
   13. Emergency CTA
   --------------------------------------------------------------- */
.emergency-cta--banner,
.emergency-cta--inline {
  padding-block: clamp(3rem, 5vw, 4rem);
}

.emergency-cta--banner {
  background: var(--brand);
  color: var(--on-brand);
  text-align: center;
}

.emergency-cta--banner h2 {
  font-size: var(--step-2);
  text-transform: uppercase;
  margin-block-end: 1rem;
}

.emergency-cta--banner .lead {
  color: var(--on-brand);
  opacity: 0.9;
  margin-inline: auto;
}

.emergency-cta--inline {
  background: var(--surface-2);
  border: 2px solid var(--border);
  padding: 2rem;
}

.emergency-cta--inline h2 {
  font-size: var(--step-1);
  text-transform: uppercase;
  margin-block-end: 0.75rem;
}

/* ---------------------------------------------------------------
   14. Contact CTA
   --------------------------------------------------------------- */
.contact-cta--band,
.contact-cta--split {
  padding-block: clamp(4rem, 8vw, 7rem);
}

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

.cta-inner {
  text-align: center;
}

.contact-cta--band h2,
.cta-inner h2 {
  font-size: var(--step-3);
  text-transform: uppercase;
  margin-block-end: 1rem;
}

.contact-cta--band p,
.cta-inner p {
  font-size: var(--step-1);
  opacity: 0.9;
  max-width: 60ch;
  margin-inline: auto;
  margin-block-end: 2rem;
}

.cta-inner .btn-ghost {
  border-color: var(--on-brand);
  color: var(--on-brand);
}

.cta-inner .btn-ghost:hover {
  background: var(--on-brand);
  color: var(--brand);
}

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

/* Split */
.contact-cta__grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-cta__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.contact-cta__grid h2 {
  font-size: var(--step-3);
  text-transform: uppercase;
  margin-block-end: 1rem;
}

.contact-cta__grid .box {
  background: var(--surface-2);
  border: 2px solid var(--border);
  padding: 2rem;
}

/* ---------------------------------------------------------------
   15. Pricelist
   --------------------------------------------------------------- */
.pricelist--list,
.pricelist--grid {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.pricelist h2 {
  font-size: var(--step-2);
  text-transform: uppercase;
  margin-block-end: 2rem;
}

.price-groups {
  display: grid;
  gap: 2rem;
}

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

.price-group {
  background: var(--surface);
  border: 2px solid var(--border);
  padding: 1.5rem;
}

.price-group__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  text-transform: uppercase;
  margin-block-end: 1.25rem;
  padding-block-end: 0.75rem;
  border-bottom: 2px solid var(--border);
}

.price-list {
  list-style: none;
}

.price-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--border);
}

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

.price-item__dots {
  flex-grow: 1;
  border-bottom: 2px dotted var(--border);
  margin-inline: 0.25rem;
  min-width: 1rem;
  height: 0.5rem;
}

.price-item__price {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
}

.price-item__desc {
  width: 100%;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-block-start: 0.25rem;
}

/* ---------------------------------------------------------------
   16. Team
   --------------------------------------------------------------- */
.team--grid,
.team--list {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.team h2 {
  font-size: var(--step-2);
  text-transform: uppercase;
  margin-block-end: 2rem;
}

.team-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.team--grid .team-list {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.team-member {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.team-member__photo,
.team-member__avatar {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.team-member__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: var(--on-brand);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.team-member__name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  text-transform: uppercase;
}

.team-member__role {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-block-end: 0.5rem;
}

.team-member__bio {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------------------------------------------------------------
   17. Map
   --------------------------------------------------------------- */
.map--band,
.map--card {
  padding-block: clamp(4rem, 8vw, 7rem);
}

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

.map h2 {
  font-size: var(--step-2);
  text-transform: uppercase;
  margin-block-end: 1rem;
}

.map__inner {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.map--card .map__inner {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.map__text .nap {
  font-size: var(--step-1);
  color: var(--text);
  line-height: 1.6;
  margin-block-end: 1rem;
}

.map__note {
  color: var(--text-muted);
  margin-block-end: 1.5rem;
}

.map__action {
  margin-block-start: 0.5rem;
}

/* ---------------------------------------------------------------
   18. About-blurb
   --------------------------------------------------------------- */
.about-blurb--split,
.about-blurb--simple {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.about-split {
  display: grid;
  gap: 3rem;
  align-items: start;
}

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

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

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

.about-blurb--split .box .emergency {
  margin-block-start: 1.5rem;
  padding-block-start: 1.5rem;
  border-top: 2px solid var(--border);
  color: var(--danger);
  font-weight: 600;
}

/* ---------------------------------------------------------------
   19. Contact page
   --------------------------------------------------------------- */
.contact--write,
.contact--visit,
.contact--call,
.contact--book {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.contact-head {
  margin-block-end: 3rem;
}

.contact-head h1 {
  font-size: var(--step-3);
  text-transform: uppercase;
  margin-block-end: 1rem;
}

.contact-head .lead {
  font-size: var(--step-1);
  color: var(--text-muted);
  max-width: 60ch;
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

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

  .contact--write .contact-grid,
  .contact--book .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.contact-part h2 {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  text-transform: uppercase;
  margin-block-end: 1rem;
}

.contact-part .nap {
  line-height: 1.6;
  margin-block-end: 1rem;
}

.contact-email {
  color: var(--text-muted);
}

.form-box {
  background: var(--surface-2);
  border: 2px solid var(--border);
  padding: 2rem;
}

/* ---------------------------------------------------------------
   20. Footer
   --------------------------------------------------------------- */
.site-foot {
  background: var(--surface-inverse);
  color: var(--on-inverse);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}

.foot-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-block-end: 3rem;
}

.foot-h {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-block-end: 1.25rem;
  color: var(--on-inverse);
}

.foot-grid .nap {
  color: var(--on-inverse);
  opacity: 0.85;
  line-height: 1.6;
}

.hours {
  width: 100%;
  border-collapse: collapse;
}

.hours th,
.hours td {
  padding: 0.5rem 0;
  text-align: left;
  border-bottom: 1px solid var(--surface-inverse-2);
}

.hours th {
  font-weight: 500;
  opacity: 0.7;
}

.hours td {
  opacity: 0.85;
}

.foot-list {
  list-style: none;
}

.foot-list li {
  margin-block-end: 0.5rem;
}

.foot-list a {
  color: var(--on-inverse);
  opacity: 0.85;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.1s ease;
}

.foot-list a:hover {
  border-bottom-color: var(--brand);
}

.foot-bottom {
  border-top: 1px solid var(--surface-inverse-2);
  padding-block-start: 1.5rem;
}

.foot-bottom .muted {
  opacity: 0.6;
  font-size: 0.875rem;
}

/* ---------------------------------------------------------------
   21. Sticky colour-shifting call bar (signature move)
   --------------------------------------------------------------- */
.call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: linear-gradient(90deg, var(--brand), var(--brand-strong), var(--brand));
  background-size: 200% 100%;
  color: var(--on-brand);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 -4px 20px rgb(0 0 0 / 0.2);
}

@media (prefers-reduced-motion: no-preference) {
  .call-bar {
    animation: shift 3s ease-in-out infinite;
  }

  @keyframes shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }
}

@media (max-width: 899px) {
  body {
    padding-block-end: 3.5rem;
  }
}

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

  body {
    padding-block-end: 0;
  }
}

/* ---------------------------------------------------------------
   22. Interior primitives
   --------------------------------------------------------------- */
.prose {
  max-width: var(--measure);
  margin-inline: auto;
  font-size: var(--step-0);
  line-height: 1.7;
}

.prose h2 {
  font-size: var(--step-2);
  text-transform: uppercase;
  margin-block: 2.5rem 1rem;
}

.prose h3 {
  font-size: var(--step-1);
  text-transform: uppercase;
  margin-block: 2rem 0.75rem;
}

.prose p {
  margin-block-end: 1.25rem;
}

.prose ul,
.prose ol {
  margin-block-end: 1.25rem;
  padding-inline-start: 1.5rem;
}

.prose li {
  margin-block-end: 0.5rem;
}

.prose a {
  color: var(--brand);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 2px;
}

.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--surface);
  border: 2px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.card h3 {
  font-size: var(--step-1);
  font-weight: 600;
  text-transform: uppercase;
  margin-block-end: 0.75rem;
}

.card h3 a {
  color: var(--text);
  text-decoration: none;
}

.card p {
  color: var(--text-muted);
  flex-grow: 1;
}

.card .price {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--brand);
  margin-block-start: 1rem;
}

.box {
  background: var(--surface);
  border: 2px solid var(--border);
  padding: 2rem;
}

.box h3 {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  text-transform: uppercase;
  margin-block-end: 1rem;
}

.facts {
  display: grid;
  gap: 1.25rem;
}

.facts dt {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-subtle);
}

.facts dd {
  font-size: var(--step-1);
  color: var(--text);
  font-weight: 500;
}

.crumbs {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-block-end: 2rem;
}

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

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

.review-notice {
  background: var(--brand-soft);
  border: 2px solid var(--brand);
  padding: 1.5rem;
  margin-block-end: 2rem;
  font-size: 0.9375rem;
  color: var(--text);
}

.muted {
  color: var(--text-muted);
}

.small {
  font-size: 0.875rem;
}

.emergency {
  color: var(--danger);
  font-weight: 600;
}

/* ---------------------------------------------------------------
   23. Buttons
   --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
  text-decoration: none;
  border: 2px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all 0.1s ease;
  text-align: center;
}

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

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

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

.btn-ghost {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--text);
  color: var(--bg);
}

.directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
  text-decoration: none;
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--on-brand);
  cursor: pointer;
  transition: all 0.1s ease;
}

.directions:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}

/* ---------------------------------------------------------------
   24. Section-alt backgrounds
   --------------------------------------------------------------- */
.section-alt {
  background: var(--surface-2);
}

