@charset "utf-8";
/* Assembled: direction "warm" 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: "Merriweather";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/merriweather-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: "Merriweather";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/merriweather-400-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/merriweather-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: "Merriweather";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/merriweather-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: "Merriweather";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/merriweather-600-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/merriweather-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: "Rubik";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/rubik-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: "Rubik";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/rubik-600-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/rubik-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: "Rubik";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/rubik-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: "Rubik";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/rubik-700-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/rubik-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(/assets/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(/assets/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(/assets/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;
}
/* Direction: WARM — hairdressers, beauty, cafés, restaurants, crafts, pet care.
   Warm neutrals (sand, terracotta, olive), larger radii, soft shadows, a serif
   display face (system serif — no network font). Light palette complete on :root;
   dark redefines ONLY tokens. Contrast target: WCAG AA (verified in pre-deploy audit). */

:root {
  --brand:        #a8482f;
  --brand-strong: #8a3a25;
  --brand-soft:   #f6e7df;
  --on-brand:     #ffffff;

  --bg:        #fbf7f1;
  --surface:   #ffffff;
  --surface-2: #f4ede2;
  --border:    #e4d8c8;

  --text:        #2b2420;
  --text-muted:  #675749;
  --text-subtle: #8a7768;

  --ok:     #4f7a2f;
  --warn:   #9a5a00;
  --danger: #b3231d;

  --surface-inverse:      #241b15;
  --surface-inverse-2: #362a21;
  --on-inverse:   #f6efe6;

  --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", 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.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.44rem, 1.25rem + 0.95vw, 2.05rem);
  --step-3:  clamp(1.73rem, 1.4rem + 1.6vw, 2.8rem);
  --step-4:  clamp(2.07rem, 1.55rem + 2.6vw, 3.8rem);
  --leading-tight: 1.18;
  --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: 3rem;    --sp-8: 4rem;    --sp-9: 6rem;

  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-full: 999px;

  --shadow-1: 0 1px 2px rgb(80 50 30 / 0.08), 0 2px 6px rgb(80 50 30 / 0.08);
  --shadow-2: 0 8px 24px rgb(80 50 30 / 0.12);

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




/* per-site design override (from spec.meta.design) */
:root {
  --brand: #7a4b32;
  --brand-strong: #623c28;
  --brand-soft: #ece6e2;
  --on-brand: #ffffff;
  --radius: .75rem;
  --radius-lg: 1.25rem;
  --radius-full: 999px;
  --sp-7: 4.5rem;
  --sp-8: 6.5rem;
  --font: "Merriweather", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Rubik", 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); }

/* ---------- 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) */
.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 */
.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); }

/* ===== AI-authored design.css (per-site visual system) ===== */
/* ============================================================
   Кафене Кими — Visual System
   Soft & pastel, forest green accent, editorial left hero,
   classic header, tight rhythm, marker decoration, sharp corners,
   repeating geometric motif dividers.
   ============================================================ */

/* -----------------------------------------------------------
   1. Tokens
   ----------------------------------------------------------- */
:root {
  /* Palette */
  --bg: #F4F1EC;
  --surface: #E9E5DE;
  --surface-2: #DDD8CF;
  --text: #1E2421;
  --text-muted: #4A554F;
  --text-subtle: #6B756F;
  --brand: #2E5E45;
  --brand-strong: #245238;
  --brand-soft: #D4E5D9;
  --on-brand: #FFFFFF;
  --border: #C8C2B8;
  --danger: #B54A4A;

  /* Typography */
  --font-display: "Rubik", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Merriweather", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;

  /* Scale */
  --text-xs: clamp(0.7rem, 0.85vw, 0.8rem);
  --text-sm: clamp(0.8rem, 1vw, 0.9rem);
  --text-base: clamp(0.95rem, 1.1vw, 1.05rem);
  --text-lg: clamp(1.05rem, 1.6vw, 1.2rem);
  --text-xl: clamp(1.25rem, 2.2vw, 1.5rem);
  --text-2xl: clamp(1.6rem, 3.2vw, 2.2rem);
  --text-3xl: clamp(2rem, 4.5vw, 3.2rem);
  --text-4xl: clamp(2.4rem, 6vw, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;

  /* Layout */
  --wrap-pad: clamp(1rem, 4vw, 2.5rem);
  --section-pad: clamp(2.5rem, 5vh, 4rem);

  /* Motion */
  --ease-snappy: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration-fast: 0.15s;
  --duration-base: 0.25s;
}



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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
}

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

p {
  margin-bottom: var(--space-4);
}

a {
  color: var(--brand);
  transition: color var(--duration-fast) var(--ease-snappy);
}

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

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

/* -----------------------------------------------------------
   3. Accessibility
   ----------------------------------------------------------- */
.skip:focus {
  position: fixed;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 9999;
  background: var(--brand);
  color: var(--on-brand);
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-sm);
  text-decoration: none;
  outline: 2px solid var(--on-brand);
  outline-offset: 2px;
}

/* -----------------------------------------------------------
   4. Header — classic (logo left, nav right)
   ----------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--text);
  transition: opacity var(--duration-fast) var(--ease-snappy);
}

.brand:hover {
  opacity: 0.8;
}

.brand-mark {
  display: 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-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

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

.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* -----------------------------------------------------------
   5. Navigation
   ----------------------------------------------------------- */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bars {
  position: relative;
  width: 1.5rem;
  height: 2px;
  background: var(--text);
  transition: background var(--duration-fast) var(--ease-snappy);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform var(--duration-base) var(--ease-snappy);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: none;
}

.nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav a {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
  padding-block: var(--space-1);
  border-bottom: 2px solid transparent;
  transition: border-color var(--duration-fast) var(--ease-snappy),
              color var(--duration-fast) var(--ease-snappy);
}

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

.head-call {
  display: none;
}

@media (max-width: 767px) {
  .site-head:has(.nav-toggle[aria-expanded="true"]) .nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: var(--space-5) var(--wrap-pad);
  }

  .site-head:has(.nav-toggle[aria-expanded="true"]) .nav ul {
    flex-direction: column;
    gap: var(--space-4);
  }
}

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

  .nav {
    display: block;
  }

  .nav ul {
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
    align-items: center;
  }

  .head-call {
    display: inline-flex;
    margin-left: var(--space-4);
  }
}

/* -----------------------------------------------------------
   6. Buttons — solid rectangles, sharp corners
   ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  border: 2px solid var(--brand);
  background: var(--brand);
  color: var(--on-brand);
  cursor: pointer;
  border-radius: 0;
  transition: transform var(--duration-fast) var(--ease-snappy),
              background var(--duration-fast) var(--ease-snappy),
              border-color var(--duration-fast) var(--ease-snappy),
              color var(--duration-fast) var(--ease-snappy);
}

.btn:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  color: var(--on-brand);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

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

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

/* -----------------------------------------------------------
   7. Hero — left-aligned editorial
   ----------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--surface);
  overflow: hidden;
}

.hero--left .hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 70vh;
  padding-block: clamp(3.5rem, 10vh, 7rem);
  text-align: left;
}

.hero--left .eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: var(--space-4);
}

.hero--left h1 {
  max-width: 16ch;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--space-5);
}

.hero--left .lead {
  max-width: 48ch;
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
  list-style: none;
  padding: 0;
}

.badges li {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-2) var(--space-4);
  background: var(--brand-soft);
  color: var(--brand-strong);
  border-radius: 0;
}

/* Hero with image overlay */
.hero--image {
  min-height: 70vh;
}

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

.hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    var(--bg) 0%,
    color-mix(in srgb, var(--bg) 92%, transparent) 50%,
    color-mix(in srgb, var(--bg) 55%, transparent) 100%
  );
}

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

/* -----------------------------------------------------------
   8. Sections — tight rhythm + geometric motif dividers
   ----------------------------------------------------------- */
.rh-tight .section {
  padding-block: var(--section-pad);
}

.section {
  position: relative;
  background: var(--bg);
}

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

/* Repeating geometric motif between sections */
main > .section:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  width: min(80%, 360px);
  height: 14px;
  background-image:
    linear-gradient(to right, var(--brand) 8px, transparent 8px),
    linear-gradient(to right, var(--brand) 8px, transparent 8px);
  background-size: 24px 6px, 24px 6px;
  background-position: 0 0, 12px 8px;
  background-repeat: repeat-x;
  opacity: 0.22;
  pointer-events: none;
}

.section-lead {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

/* -----------------------------------------------------------
   9. Marker decoration (dc-marker)
   ----------------------------------------------------------- */
.dc-marker h2,
.dc-marker h3 {
  width: fit-content;
  background-image: linear-gradient(var(--brand-soft), var(--brand-soft));
  background-repeat: no-repeat;
  background-size: 100% 30%;
  background-position: 0 88%;
  padding-inline: 0.1em;
  margin-inline: -0.1em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.dc-marker a:not(.btn) {
  text-decoration: none;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 1px;
  transition: border-color var(--duration-fast) var(--ease-snappy),
              color var(--duration-fast) var(--ease-snappy);
}

.dc-marker a:not(.btn):hover {
  border-bottom-color: var(--brand-strong);
  color: var(--brand-strong);
}

/* -----------------------------------------------------------
   10. About split
   ----------------------------------------------------------- */
.about-split {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}

.about-split h2 {
  margin-bottom: var(--space-4);
}

.about-split p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.about-split .list {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-5);
}

.about-split .list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: var(--space-3);
  color: var(--text);
  font-size: var(--text-base);
  line-height: 1.6;
}

.about-split .list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 0;
  transform: rotate(45deg);
}

/* -----------------------------------------------------------
   11. Cards & services
   ----------------------------------------------------------- */
.cards {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--space-6);
  border-radius: 0;
  transition: transform var(--duration-base) var(--ease-snappy),
              box-shadow var(--duration-base) var(--ease-snappy);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--text);
}

.card p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

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

.services--list {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--border);
}

.services--list li {
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-5);
}

.services--list h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.services--list p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* -----------------------------------------------------------
   12. Steps / process
   ----------------------------------------------------------- */
.steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: var(--space-6);
}

.steps li {
  position: relative;
  padding-left: 4rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: var(--on-brand);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  border-radius: 0;
}

.process--timeline .steps {
  position: relative;
}

.process--timeline .steps::before {
  content: "";
  position: absolute;
  left: 1.375rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

/* -----------------------------------------------------------
   13. FAQ
   ----------------------------------------------------------- */
.faq {
  display: grid;
  gap: var(--space-6);
}

.faq h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-2);
  position: relative;
  padding-left: 1.25rem;
}

.faq h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 0;
}

.faq div {
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  padding-left: 1.25rem;
  border-left: 3px solid var(--brand-soft);
}

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

/* -----------------------------------------------------------
   14. Gallery
   ----------------------------------------------------------- */
.gallery {
  display: grid;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
}

.gallery--grid {
  grid-template-columns: repeat(2, 1fr);
}

.gallery--masonry {
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 8px;
}

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

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: var(--surface);
}

.gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
  transition: transform var(--duration-base) var(--ease-snappy);
}

.gallery-item:hover .gallery-item__img {
  transform: scale(1.04);
}

.gallery-item__frame {
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
}

.gallery-item__caption {
  padding: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.02em;
}

/* -----------------------------------------------------------
   15. Emergency CTA
   ----------------------------------------------------------- */
.emergency-cta {
  background: var(--brand);
  color: var(--on-brand);
}

.emergency-cta h2 {
  color: var(--on-brand);
}

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

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

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

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

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

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

.cta h2 {
  color: var(--on-brand);
}

.cta p {
  color: var(--on-brand);
  opacity: 0.9;
}

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

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

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

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

.contact-cta--centered .cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-cta--split .cta-inner {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

/* -----------------------------------------------------------
   17. Interior primitives
   ----------------------------------------------------------- */
.prose {
  max-width: 70ch;
  margin-inline: auto;
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--text);
}

.prose h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.prose h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.prose p {
  margin-bottom: var(--space-5);
}

.prose ul,
.prose ol {
  margin-bottom: var(--space-5);
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: var(--space-2);
}

.box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--space-6);
  border-radius: 0;
}

.facts {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(2, 1fr);
}

.facts > div {
  text-align: center;
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
}

.facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--brand);
  margin-bottom: var(--space-1);
  line-height: 1;
}

.facts span {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.crumbs {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}

.crumbs a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid var(--brand-soft);
  transition: border-color var(--duration-fast) var(--ease-snappy);
}

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

.form-box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--space-6);
  border-radius: 0;
  max-width: 640px;
}

/* -----------------------------------------------------------
   18. Footer
   ----------------------------------------------------------- */
.site-foot {
  position: relative;
  background: var(--surface-2);
  color: var(--text);
  padding-block: var(--space-10) var(--space-6);
}

/* Geometric motif at footer top */
.site-foot::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 360px);
  height: 14px;
  background-image:
    linear-gradient(to right, var(--brand) 8px, transparent 8px),
    linear-gradient(to right, var(--brand) 8px, transparent 8px);
  background-size: 24px 6px, 24px 6px;
  background-position: 0 0, 12px 8px;
  background-repeat: repeat-x;
  opacity: 0.22;
  pointer-events: none;
}

.foot-grid {
  display: grid;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.foot-h {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: var(--space-4);
}

.nap {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-muted);
}

.hours {
  width: 100%;
  font-size: var(--text-sm);
  border-collapse: collapse;
}

.hours th,
.hours td {
  padding: var(--space-2) 0;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

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

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

.foot-list li {
  margin-bottom: var(--space-2);
}

.foot-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--duration-fast) var(--ease-snappy);
}

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

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

.small {
  font-size: var(--text-xs);
}

.foot-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-5);
  text-align: center;
}

/* -----------------------------------------------------------
   19. Mobile call bar
   ----------------------------------------------------------- */
.call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--brand);
  color: var(--on-brand);
  text-align: center;
  padding: var(--space-4);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background var(--duration-fast) var(--ease-snappy);
}

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

/* Push content up when call bar is present */
body:has(.call-bar) {
  padding-bottom: 3.5rem;
}

/* -----------------------------------------------------------
   20. Responsive
   ----------------------------------------------------------- */
@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery--grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .facts {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

  .foot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-cta--split .cta-inner {
    grid-template-columns: 1fr 1fr;
  }

  .gallery--grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

  .foot-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* -----------------------------------------------------------
   21. Reduced motion
   ----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .card {
    will-change: transform;
  }

  .gallery-item__img {
    will-change: transform;
  }
}

