@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;
}
/* 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: #b5563c;
  --brand-strong: #914530;
  --brand-soft: #f5e7e4;
  --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;
}

/* 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) ===== */
/* ==========================================================================
   Кафене Градинката — "Quiet Garden, Loud Light"
   Concept: a cool charcoal editorial paper, calm and uncluttered, interrupted
   by one bright pop of garden lime. Oversized Rubik wordmark + headlines,
   Merriweather for slow reading, numbered section rail, soft tinted shapes.
   Author: design.css (loads after base.css — public surface only)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */

:root {
  /* --- required palette tokens (light) --- */
  --bg:            #F2F4F0;
  --surface:       #FFFFFF;
  --surface-2:     #E7EBE4;
  --text:          #131A17;
  --text-muted:    #46524C;
  --text-subtle:   #5E6B63;
  --brand:         #C4F24B;   /* the pop */
  --brand-strong:  #3F6B12;   /* legible lime on light */
  --brand-soft:    #E9FAC2;
  --on-brand:      #131A17;
  --border:        #D3D9CE;
  --danger:        #B3261E;

  /* --- extended system --- */
  --ink:           #121714;   /* charcoal bands: hero, cta, footer */
  --ink-2:         #1B221D;
  --ink-fg:        #EDF2E8;
  --ink-muted:     #A8B3A7;
  --ink-line:      rgba(237, 242, 232, .16);

  --shape-a:       rgba(196, 242, 75, .16);
  --shape-b:       rgba(86, 122, 88, .10);
  --shape-ink-a:   rgba(196, 242, 75, .13);
  --shape-ink-b:   rgba(196, 242, 75, .06);

  --num-stroke:    rgba(19, 26, 23, .26);
  --num-fill:      #D9E2D2;
  --focus:         #2C5A0C;

  --radius:        5px;
  --radius-lg:     6px;
  --pill:          999px;

  --rule:          1px solid var(--border);
  --shadow-sm:     0 1px 2px rgba(18, 23, 20, .05);
  --shadow-md:     0 18px 44px -28px rgba(18, 23, 20, .45);

  --dur:           .5s;
  --dur-fast:      .3s;
  --ease:          cubic-bezier(.22, .61, .28, 1);

  /* type scale */
  --fs-micro:      .76rem;
  --fs-small:      .84rem;
  --fs-base:       clamp(1rem, .97rem + .15vw, 1.075rem);
  --fs-lead:       clamp(1.06rem, .99rem + .45vw, 1.3rem);
  --fs-h3:         clamp(1.15rem, 1.06rem + .45vw, 1.45rem);
  --fs-h2:         clamp(1.95rem, 1.35rem + 2.6vw, 3.5rem);
  --fs-h1:         clamp(2.5rem, 1.35rem + 5.4vw, 5.6rem);
  --fs-wordmark:   clamp(1.45rem, 1.05rem + 1.7vw, 2.4rem);

  /* rhythm — alternating tight / loose bands */
  --band-loose:    clamp(4.25rem, 2.4rem + 7.5vw, 8.5rem);
  --band-tight:    clamp(2.75rem, 1.9rem + 3.4vw, 4.25rem);
  --gutter:        clamp(1.1rem, .5rem + 2.6vw, 3.25rem);

  color-scheme: light;
}



/* --------------------------------------------------------------------------
   2. PAGE FOUNDATION
   -------------------------------------------------------------------------- */

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  font-size: var(--fs-base);
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* wide, near edge-to-edge measure */
.wrap {
  width: 100%;
  max-width: 1520px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h1, h2, h3, h4 {
  font-family: "Rubik", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.028em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -.04em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.015em; line-height: 1.2; }

p { text-wrap: pretty; }

a { color: var(--brand-strong); text-underline-offset: .18em; text-decoration-thickness: from-font; }
a:hover { color: var(--text); }

strong { font-weight: 700; }

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

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

.muted { color: var(--text-muted); }
.small { font-size: var(--fs-small); line-height: 1.6; }

/* small label voice used across the site */
.eyebrow,
.crumbs,
.foot-h,
.nav a,
.price,
.badges li,
.gallery-item__caption {
  font-family: "Rubik", "Helvetica Neue", Arial, sans-serif;
}

.eyebrow {
  margin: 0 0 .9rem;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-strong);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.eyebrow::before {
  content: "";
  inline-size: clamp(1.5rem, 4vw, 3rem);
  block-size: 2px;
  background: var(--brand);
  flex: none;
}

/* --------------------------------------------------------------------------
   3. HEADER — minimal: oversized wordmark, sparse nav
   -------------------------------------------------------------------------- */

.site-head {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.head-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.1rem, 2.4vw, 1.9rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--text);
  margin-inline-end: auto;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  inline-size: clamp(2.3rem, 1.6rem + 2vw, 3.1rem);
  block-size: clamp(2.3rem, 1.6rem + 2vw, 3.1rem);
  flex: none;
  background: var(--brand);
  color: var(--on-brand);
  border-radius: var(--pill);
  font-family: "Rubik", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, .8rem + .8vw, 1.4rem);
  line-height: 1;
  letter-spacing: -.02em;
  transition: transform var(--dur) var(--ease);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text strong {
  font-family: "Rubik", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-wordmark);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .98;
  color: var(--text);
}

.brand-text small {
  font-family: "Rubik", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  line-height: 1.5;
  margin-top: .3rem;
  display: none;
}

.brand:hover .brand-mark { transform: rotate(-8deg); }

/* sparse nav — always reachable, no script needed */
.nav-toggle,
.nav-toggle-bars { display: none; }

.nav {
  order: 3;
  flex: 1 0 100%;
  border-top: 1px solid var(--border);
  padding-top: .5rem;
  margin-top: .25rem;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .1rem clamp(.85rem, 3vw, 2.15rem);
}

.nav a {
  display: block;
  padding-block: .55rem;
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: .15rem;
  block-size: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }

.nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.head-call { display: none; }

@media (min-width: 48rem) {
  .brand-text small { display: block; }
}

@media (min-width: 62rem) {
  .head-inner { flex-wrap: nowrap; gap: clamp(1.5rem, 4vw, 4rem); }
  .nav {
    order: 0;
    flex: 0 1 auto;
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
  }
  .nav ul { flex-wrap: nowrap; }
  .head-call { display: inline-flex; flex: none; }
}

/* --------------------------------------------------------------------------
   4. BUTTONS — fully rounded pills
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .82em 1.6em;
  border-radius: var(--pill);
  border: 2px solid transparent;
  background: var(--text);
  color: var(--bg);
  font-family: "Rubik", "Helvetica Neue", Arial, sans-serif;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  min-height: 44px;
  text-align: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

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

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

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

.head-call {
  padding: .6em 1.3em;
  font-size: .85rem;
}

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

/* --------------------------------------------------------------------------
   5. HERO — left-aligned editorial on a charcoal field
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: clip;
  isolation: isolate;
  background: var(--ink);
  color: var(--ink-fg);
  padding-block: clamp(3.5rem, 2rem + 9vw, 9rem) clamp(3rem, 1.8rem + 7vw, 7.5rem);
  border-bottom: 1px solid var(--ink-line);
}

/* soft tinted shape motif */
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset-block-start: -28%;
  inset-inline-end: -22%;
  inline-size: min(78vw, 720px);
  aspect-ratio: 1;
  border-radius: 46% 54% 40% 60% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 34% 34%, var(--shape-ink-a), transparent 68%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset-block-end: -30%;
  inset-inline-start: -14%;
  inline-size: min(62vw, 520px);
  aspect-ratio: 1;
  border-radius: 58% 42% 62% 38% / 44% 58% 42% 56%;
  background: radial-gradient(circle at 60% 40%, var(--shape-ink-b), transparent 70%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  opacity: .3;
  filter: grayscale(.35) contrast(1.05);
}

.hero--image::before {
  background: linear-gradient(105deg, var(--ink) 18%, rgba(18, 23, 20, .82) 52%, rgba(18, 23, 20, .45) 100%);
  border-radius: 0;
  inset: 0;
  inline-size: auto;
  aspect-ratio: auto;
  z-index: -1;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero h1 {
  color: var(--ink-fg);
  margin: 0;
  max-width: 16ch;
}

.hero .eyebrow { color: var(--brand); }
.hero .eyebrow::before { background: var(--brand); }

.hero .lead {
  margin: clamp(1.25rem, 3vw, 2rem) 0 0;
  font-size: var(--fs-lead);
  line-height: 1.72;
  color: var(--ink-muted);
  max-width: 46ch;
}

.hero .hero-actions { margin-top: clamp(1.75rem, 4vw, 2.75rem); }

.hero .btn-ghost {
  color: var(--ink-fg);
  border-color: var(--ink-line);
}
.hero .btn-ghost:hover { color: var(--ink-fg); border-color: var(--ink-fg); }

.badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.badges li {
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-fg);
  border: 1px solid var(--ink-line);
  border-radius: var(--pill);
  padding: .45rem 1rem;
  background: rgba(237, 242, 232, .04);
}

@media (min-width: 62rem) {
  .hero--left .hero-inner,
  .hero--split .hero-inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: end;
  }
  .hero--left .badges,
  .hero--split .badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-top: 1px solid var(--ink-line);
    padding-top: 1.25rem;
  }
  .hero--left .badges li,
  .hero--split .badges li {
    border: 0;
    border-bottom: 1px solid var(--ink-line);
    border-radius: 0;
    background: none;
    padding: .85rem 0 .85rem 1.4rem;
    inline-size: 100%;
    position: relative;
    color: var(--ink-muted);
  }
  .hero--left .badges li::before,
  .hero--split .badges li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 1.35rem;
    inline-size: 6px;
    block-size: 6px;
    border-radius: var(--pill);
    background: var(--brand);
  }
}

.hero--centered .hero-inner { justify-items: center; text-align: center; }
.hero--centered .hero h1,
.hero--centered .lead { max-width: 30ch; margin-inline: auto; }
.hero--centered .eyebrow,
.hero--centered .hero-actions,
.hero--centered .badges { justify-content: center; }

/* --------------------------------------------------------------------------
   6. SECTION SYSTEM — alternating bands, tinted shapes, numbered rail
   -------------------------------------------------------------------------- */

main { counter-reset: sec; }

main > .section {
  position: relative;
  overflow: clip;
  isolation: isolate;
  background: var(--bg);
  padding-block: var(--band-loose);
}

/* alternating tight / loose rhythm */
main > .section:nth-of-type(even) {
  background: var(--surface);
  padding-block: var(--band-tight);
  border-block: 1px solid var(--border);
}

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

/* the soft tinted-shape motif behind sections */
main > .section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block-start: -18%;
  inset-inline-end: -12%;
  inline-size: min(58vw, 560px);
  aspect-ratio: 1;
  border-radius: 48% 52% 38% 62% / 55% 42% 58% 45%;
  background: radial-gradient(circle at 40% 40%, var(--shape-a), transparent 66%);
  pointer-events: none;
}

main > .section:nth-of-type(even)::before {
  inset-block-start: auto;
  inset-block-end: -22%;
  inset-inline-end: auto;
  inset-inline-start: -16%;
  background: radial-gradient(circle at 55% 45%, var(--shape-b), transparent 68%);
}

/* signature: big index digits */
main > .section:not(.cta):not(.emergency-cta) > .wrap::before {
  counter-increment: sec;
  content: counter(sec, decimal-leading-zero);
  display: block;
  font-family: "Rubik", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 1.4rem + 7vw, 6rem);
  line-height: .78;
  letter-spacing: -.06em;
  color: var(--num-fill);
  border-top: 2px solid var(--brand);
  padding-top: .85rem;
  margin-bottom: clamp(.75rem, 2vw, 1.25rem);
}

@supports (-webkit-text-stroke: 1px currentColor) {
  main > .section:not(.cta):not(.emergency-cta) > .wrap::before {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--num-stroke);
  }
}

main > .section > .wrap > h2 { margin-block: 0 clamp(.9rem, 2vw, 1.4rem); }

.section-lead {
  margin: 0 0 clamp(2rem, 4vw, 3.25rem);
  font-size: var(--fs-lead);
  color: var(--text-muted);
  max-width: 58ch;
  line-height: 1.75;
}

/* desktop: number becomes a left rail, content shifts right */
@media (min-width: 62rem) {
  main > .section:not(.cta):not(.emergency-cta) > .wrap {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    column-gap: clamp(2rem, 4vw, 4.5rem);
    align-items: start;
  }
  main > .section:not(.cta):not(.emergency-cta) > .wrap > * { grid-column: 2; }
  main > .section:not(.cta):not(.emergency-cta) > .wrap::before {
    grid-column: 1;
    grid-row: 1;
    font-size: clamp(3.25rem, 1.5rem + 3.6vw, 5.1rem);
    margin-bottom: 0;
  }
}

/* --------------------------------------------------------------------------
   7. SERVICES / CARDS
   -------------------------------------------------------------------------- */

.cards {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.75rem);
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40rem) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 75rem) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.9rem);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

main > .section:nth-of-type(even) .card { background: var(--bg); }

.card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  block-size: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.card:hover {
  border-color: var(--text-subtle);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card:hover::before { transform: scaleX(1); }

.card h3 { margin: 0; }
.card p { margin: 0; color: var(--text-muted); font-size: .95rem; line-height: 1.7; }
.card a { font-weight: 700; }

.price {
  margin-top: auto;
  align-self: flex-start;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-radius: var(--pill);
  padding: .4rem .95rem;
  font-variant-numeric: tabular-nums;
}

/* list variant */
.services--list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.services--list > li {
  border-bottom: 1px solid var(--border);
  padding-block: clamp(1rem, 2.4vw, 1.6rem);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem 1.5rem;
}
.services--list > li > a,
.services--list > li > strong {
  font-family: "Rubik", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -.02em;
  text-decoration: none;
  color: var(--text);
}
.services--list > li > a:hover { color: var(--brand-strong); }

/* --------------------------------------------------------------------------
   8. GALLERY — staggered editorial mosaic
   -------------------------------------------------------------------------- */

.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(.85rem, 2vw, 1.6rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.gallery-item { margin: 0; min-width: 0; }

.gallery-item__img,
.gallery-item__frame {
  display: block;
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--surface-2);
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}

.gallery-item:nth-child(3n + 1) .gallery-item__img,
.gallery-item:nth-child(3n + 1) .gallery-item__frame { aspect-ratio: 1 / 1; }
.gallery-item:nth-child(4n) .gallery-item__img,
.gallery-item:nth-child(4n) .gallery-item__frame { aspect-ratio: 3 / 4; }

.gallery-item__frame {
  background:
    radial-gradient(circle at 30% 28%, var(--shape-a), transparent 60%),
    linear-gradient(145deg, var(--surface-2), var(--brand-soft));
  border: 1px solid var(--border);
}

.gallery-item:hover .gallery-item__img { filter: saturate(1.08); transform: scale(1.012); }

.gallery-item__caption {
  display: block;
  margin-top: .7rem;
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: .06em;
  line-height: 1.5;
  color: var(--text-subtle);
}

@media (min-width: 48rem) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-item:nth-child(even) { margin-block-start: clamp(1rem, 3vw, 2.75rem); }
}

@media (min-width: 80rem) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* masonry variant */
.gallery--masonry {
  display: block;
  columns: 2;
  column-gap: clamp(.85rem, 2vw, 1.6rem);
}
.gallery--masonry .gallery-item {
  break-inside: avoid;
  margin: 0 0 clamp(.85rem, 2vw, 1.6rem);
}
.gallery--masonry .gallery-item__img,
.gallery--masonry .gallery-item__frame { aspect-ratio: auto; }
@media (min-width: 48rem) {
  .gallery--masonry { columns: 3; }
  .gallery--masonry .gallery-item:nth-child(even) { margin-block-start: 0; }
}
@media (min-width: 80rem) { .gallery--masonry { columns: 4; } }

/* --------------------------------------------------------------------------
   9. ABOUT SPLIT
   -------------------------------------------------------------------------- */

.about-split > div {
  display: grid;
  gap: clamp(1rem, 2.5vw, 2rem) clamp(2rem, 5vw, 5rem);
}

.about-split h2 { margin-block: 0 .5rem; }

.about-split p {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  max-width: 62ch;
}

.about-split .btn { margin-top: .5rem; justify-self: start; }

@media (min-width: 62rem) {
  .about-split > div {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: start;
  }
  .about-split > div > h2 {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    padding-inline-end: 1rem;
  }
  .about-split > div > :not(h2) { grid-column: 2; }
}

.list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.list li {
  position: relative;
  padding-inline-start: 1.65rem;
  color: var(--text-muted);
}
.list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: .72em;
  inline-size: .7rem;
  block-size: 2px;
  background: var(--brand-strong);
}

/* --------------------------------------------------------------------------
   10. FAQ — question left / answer right
   -------------------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.faq h3 {
  margin: 0;
  padding-block: clamp(1.1rem, 2.4vw, 1.6rem) .4rem;
  color: var(--text);
  font-weight: 600;
}

.faq > div {
  margin: 0;
  padding-block: 0 clamp(1.1rem, 2.4vw, 1.6rem);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.faq > div > p { margin: 0; max-width: 64ch; }

@media (min-width: 52rem) {
  .faq {
    grid-template-columns: minmax(12rem, 5fr) minmax(0, 7fr);
    column-gap: clamp(2rem, 4vw, 4rem);
  }
  .faq h3 {
    grid-column: 1;
    padding-block: clamp(1.25rem, 2.6vw, 1.9rem);
    border-bottom: 1px solid var(--border);
  }
  .faq > div {
    grid-column: 2;
    padding-block: clamp(1.25rem, 2.6vw, 1.9rem);
  }
}

.faq--two-col .faq { row-gap: 0; }

/* --------------------------------------------------------------------------
   11. PROCESS / STEPS
   -------------------------------------------------------------------------- */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.1rem, 2.5vw, 1.9rem);
}

.steps > li {
  counter-increment: step;
  position: relative;
  padding-inline-start: 3.9rem;
  color: var(--text-muted);
}

.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  font-family: "Rubik", "Helvetica Neue", Arial, sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--on-brand);
  background: var(--brand);
  inline-size: 2.6rem;
  block-size: 2.6rem;
  border-radius: var(--pill);
  display: grid;
  place-items: center;
}

.steps > li strong,
.steps > li h3 {
  display: block;
  margin: 0 0 .3rem;
  color: var(--text);
  font-family: "Rubik", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: var(--fs-h3);
}

@media (min-width: 62rem) {
  .steps { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
  .process--timeline .steps { grid-template-columns: 1fr; }
  .process--timeline .steps > li { padding-block-end: 1.75rem; }
  .process--timeline .steps > li:not(:last-child)::after {
    content: "";
    position: absolute;
    inset-inline-start: 1.28rem;
    inset-block: 2.9rem 0;
    inline-size: 2px;
    background: var(--border);
  }
}

/* --------------------------------------------------------------------------
   12. CTA BANDS
   -------------------------------------------------------------------------- */

main > .section.cta,
main > .section.emergency-cta {
  background: var(--ink);
  color: var(--ink-fg);
  border-block: 0;
  padding-block: clamp(3rem, 1.8rem + 6vw, 6rem);
}

main > .section.cta::before,
main > .section.emergency-cta::before {
  background: radial-gradient(circle at 45% 45%, var(--shape-ink-a), transparent 66%);
  inset-block-start: -30%;
  inset-inline-end: -14%;
}

.cta h2,
.emergency-cta h2 {
  color: var(--ink-fg);
  margin-block: 0 1rem;
  max-width: 20ch;
}

.cta p,
.emergency-cta p {
  color: var(--ink-muted);
  margin: 0;
  max-width: 52ch;
  font-size: var(--fs-lead);
  line-height: 1.7;
}

.cta .hero-actions,
.emergency-cta .hero-actions { margin-top: clamp(1.5rem, 3.5vw, 2.5rem); }

.cta .btn-ghost,
.emergency-cta .btn-ghost { color: var(--ink-fg); border-color: var(--ink-line); }
.cta .btn-ghost:hover,
.emergency-cta .btn-ghost:hover { color: var(--ink-fg); border-color: var(--ink-fg); }

.cta-inner { display: grid; gap: 1rem; }

@media (min-width: 62rem) {
  .contact-cta--split .cta-inner,
  .emergency-cta--band .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: clamp(2rem, 5vw, 5rem);
  }
  .contact-cta--split .cta-inner .hero-actions,
  .emergency-cta--band .wrap .hero-actions { margin-top: 0; }
}

.contact-cta--centered .cta-inner { justify-items: center; text-align: center; }
.contact-cta--centered h2,
.contact-cta--centered p { max-width: 34ch; }
.contact-cta--centered .hero-actions { justify-content: center; }

.emergency-cta--inline { border-inline-start: 4px solid var(--brand); }

/* --------------------------------------------------------------------------
   13. INTERIOR PAGE PRIMITIVES
   -------------------------------------------------------------------------- */

.crumbs {
  font-size: var(--fs-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: clamp(1rem, 2.5vw, 1.75rem);
}
.crumbs ol,
.crumbs ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .6rem;
  margin: 0;
  padding: 0;
}
.crumbs li { display: inline-flex; align-items: center; gap: .6rem; }
.crumbs li + li::before {
  content: "/";
  color: var(--border);
  font-weight: 400;
}
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-strong); text-decoration: underline; }

.prose {
  max-width: 68ch;
  color: var(--text);
}
.prose > * + * { margin-block-start: 1.25rem; }
.prose h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  margin-block-start: clamp(2.25rem, 5vw, 3.25rem);
}
.prose h3 { margin-block-start: clamp(1.75rem, 4vw, 2.5rem); }
.prose p { color: var(--text-muted); }
.prose > p:first-of-type {
  font-size: var(--fs-lead);
  line-height: 1.72;
  color: var(--text);
}
.prose ul,
.prose ol { padding-inline-start: 1.35rem; color: var(--text-muted); }
.prose li + li { margin-block-start: .5rem; }
.prose li::marker { color: var(--brand-strong); }
.prose a { font-weight: 700; text-decoration: underline; }
.prose blockquote {
  margin-inline: 0;
  padding: .5rem 0 .5rem 1.5rem;
  border-inline-start: 3px solid var(--brand);
  font-style: italic;
  color: var(--text);
}
.prose img { border-radius: var(--radius); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin-block: 2.5rem; }

.box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-inline-start: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: clamp(1.15rem, 2.5vw, 1.85rem);
  box-shadow: var(--shadow-sm);
  margin-block: clamp(1.5rem, 3vw, 2.25rem);
}
.box > :first-child { margin-block-start: 0; }
.box > :last-child { margin-block-end: 0; }
.box h2,
.box h3 { font-size: var(--fs-h3); margin-block: 0 .6rem; }
.box p { color: var(--text-muted); margin-block: 0 .75rem; }

.facts {
  margin-block: clamp(1.25rem, 3vw, 2rem);
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
  font-size: .95rem;
}
.facts > li,
.facts > div {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem 1.25rem;
  justify-content: space-between;
  align-items: baseline;
  padding-block: .8rem;
  border-bottom: 1px solid var(--border);
}
dl.facts {
  display: grid;
  grid-template-columns: minmax(7rem, auto) minmax(0, 1fr);
  gap: 0 clamp(1rem, 3vw, 2rem);
  border-top: 1px solid var(--border);
}
dl.facts dt,
.facts dt {
  font-family: "Rubik", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  padding-block: .8rem;
  border-bottom: 1px solid var(--border);
}
dl.facts dd,
.facts dd {
  margin: 0;
  padding-block: .8rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.form-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  max-width: 44rem;
}
.form-box::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  block-size: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-soft));
}
.form-box h2,
.form-box h3 { margin-block: 0 .75rem; font-size: var(--fs-h3); }
.form-box p { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */

.site-foot {
  background: var(--ink);
  color: var(--ink-fg);
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) 1.5rem;
  margin-block-start: 0;
  position: relative;
  overflow: clip;
  isolation: isolate;
  font-size: .94rem;
}

.site-foot::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block-start: -40%;
  inset-inline-start: -10%;
  inline-size: min(70vw, 620px);
  aspect-ratio: 1;
  border-radius: 52% 48% 44% 56% / 46% 54% 46% 54%;
  background: radial-gradient(circle at 50% 50%, var(--shape-ink-b), transparent 68%);
  pointer-events: none;
}

.foot-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem);
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 68rem) { .foot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.foot-h {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 1.1rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--ink-line);
  line-height: 1.4;
}

.site-foot p { margin: 0 0 .75rem; color: var(--ink-muted); line-height: 1.7; }
.site-foot .muted { color: var(--ink-muted); }
.site-foot a { color: var(--ink-fg); text-decoration: none; }
.site-foot a:hover { color: var(--brand); text-decoration: underline; }

.nap { color: var(--ink-fg); font-style: normal; }
.nap strong { display: block; font-family: "Rubik", "Helvetica Neue", Arial, sans-serif; }

.foot-list {
  list-style: none;
  margin: 0 0 .9rem;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.foot-list a {
  display: inline-block;
  padding-block: .1rem;
  color: var(--ink-muted);
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.foot-list a:hover { color: var(--brand); text-decoration: none; transform: translateX(3px); }

.hours {
  inline-size: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: .9rem;
}
.hours th,
.hours td {
  padding-block: .45rem;
  text-align: start;
  border-bottom: 1px solid var(--ink-line);
  color: var(--ink-muted);
  font-weight: 400;
}
.hours th {
  font-family: "Rubik", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-micro);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-fg);
}
.hours td { text-align: end; color: var(--ink-fg); }

.foot-bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink-line);
}
.foot-bottom p { margin: 0; color: var(--ink-muted); }

/* --------------------------------------------------------------------------
   15. STICKY MOBILE CALL BAR
   -------------------------------------------------------------------------- */

.call-bar {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 56px;
  padding: .9rem 1rem calc(.9rem + env(safe-area-inset-bottom, 0px));
  background: var(--brand);
  color: var(--on-brand);
  font-family: "Rubik", "Helvetica Neue", Arial, sans-serif;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  box-shadow: 0 -10px 30px -18px rgba(18, 23, 20, .75);
  border-top: 1px solid rgba(18, 23, 20, .18);
}
.call-bar:hover { background: var(--on-brand); color: var(--brand); }

@media (max-width: 61.99rem) {
  body:has(.call-bar) { padding-block-end: 4.75rem; }
}

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

/* --------------------------------------------------------------------------
   16. MOTION
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .hero .eyebrow,
  .hero h1,
  .hero .lead,
  .hero .hero-actions,
  .hero .badges {
    animation: rise var(--dur) var(--ease) both;
  }
  .hero h1 { animation-delay: .06s; }
  .hero .lead { animation-delay: .12s; }
  .hero .hero-actions { animation-delay: .18s; }
  .hero .badges { animation-delay: .24s; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
}

