@charset "utf-8";
/* Assembled: direction "energetic" + design override + components + blocks. Generated — do not edit. */

/* self-hosted webfonts (from spec.meta.design.fontPair — resolve-fonts) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-400-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-400-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-600-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-600-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-600-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/roboto-slab-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: "Roboto Slab";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/roboto-slab-700-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/roboto-slab-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: ENERGETIC — trades, gyms, trainers, sports, kids.
   Cool palette, saturated blue accent, small radii, strong contrast.
   Light palette complete on :root; dark redefines ONLY tokens. Contrast: AA (audit).
   Body on the system stack; --font-display may be swapped to a local grotesk. */

/* ---------- 1. Токени ---------- */
:root {
  --brand:        #1257c9;
  --brand-strong: #0e42a0;
  --brand-soft:   #e8f0fe;
  --on-brand:     #ffffff;

  --bg:        #ffffff;
  --surface:   #ffffff;
  --surface-2: #f4f6fb;
  --border:    #d8dee9;

  --text:        #131822;
  --text-muted:  #4d5769;
  --text-subtle: #6b7688;

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

  --surface-inverse:      #0b1220;
  --surface-inverse-2: #1a2436;
  --on-inverse:   #eef2f9;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "Noto Sans", sans-serif;
  --font-display: var(--font);
  --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.15;
  --leading: 1.6;

  --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.5rem;
  --radius-lg: 1rem;
  --radius-full: 999px;

  --shadow-1: 0 1px 2px rgb(0 0 0 / 0.06), 0 1px 3px rgb(0 0 0 / 0.08);
  --shadow-2: 0 4px 12px rgb(0 0 0 / 0.10);

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

@media (prefers-color-scheme: dark) {
  :root {
    --brand:        #7ba9f5;
    --brand-strong: #a3c3f9;
    --brand-soft:   #1b2942;
    --on-brand:     #0a1120;

    --bg:        #0d1220;
    --surface:   #151c2c;
    --surface-2: #1d2537;
    --border:    #2e3a52;

    --text:        #e7ecf5;
    --text-muted:  #aeb9cd;
    --text-subtle: #8e9ab1;

    --ok:     #5fd08c;
    --warn:   #e5b567;
    --danger: #ff8b84;

    --surface-inverse:      #080d17;
    --surface-inverse-2: #121a29;
    --on-inverse:   #e7ecf5;

    --shadow-1: 0 1px 2px rgb(0 0 0 / 0.5);
    --shadow-2: 0 6px 18px rgb(0 0 0 / 0.55);
  }
}


/* per-site design override (from spec.meta.design) */
:root {
  --brand: #ff6b35;
  --brand-strong: #cc562a;
  --brand-soft: #ffeae3;
  --on-brand: #0b0f14;
  --radius: .75rem;
  --radius-lg: 1.25rem;
  --radius-full: 999px;
  --sp-7: 2.25rem;
  --sp-8: 3rem;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Roboto Slab", Georgia, "Iowan Old Style", "Times New Roman", serif;
}

/* Component layer — direction-agnostic. Reads only from tokens defined by the
   selected direction (templates/directions/<name>/tokens.css). Do not put colour,
   font or radius literals here; add a token to every direction instead. */

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

/* ---------- 4. Глава ---------- */
.site-head {
  background: var(--surface-inverse);
  color: var(--on-inverse);
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.head-inner {
  display: flex; align-items: center; gap: var(--sp-3);
  flex-wrap: wrap;
  padding-block: var(--sp-3);
}
.brand {
  display: flex; align-items: center; gap: var(--sp-3);
  color: inherit; text-decoration: none; margin-right: auto;
}
.brand-mark {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; flex: none;
  border-radius: var(--radius);
  background: var(--brand); color: #fff;
}
.brand-text { display: grid; line-height: 1.25; }
.brand-text strong { font-size: var(--step-0); }
.brand-text small { color: rgb(255 255 255 / 0.7); font-size: var(--step--1); }

.nav-toggle, .nav__toggle {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: rgb(255 255 255 / 0.08); color: inherit;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: var(--radius); padding: var(--sp-2) var(--sp-3);
  font: inherit; font-size: var(--step--1); cursor: pointer;
}
.nav-toggle:hover { background: rgb(255 255 255 / 0.16); }
.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 var(--sp-3); display: grid; gap: 1px; }
.nav a, .nav__link {
  display: block; padding: var(--sp-3) var(--sp-2);
  color: inherit; text-decoration: none;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.nav a:hover { color: #fff; background: rgb(255 255 255 / 0.06); }
.nav a[aria-current="page"] { color: #fff; font-weight: 650; }

.head-call { display: none; }

@media (min-width: 60rem) {
  .nav-toggle, .nav__toggle { display: none; }
  .nav { display: block; flex-basis: auto; }
  .nav ul { display: flex; gap: var(--sp-1); padding: 0; }
  .nav a {
    border-bottom: 2px solid transparent; border-radius: var(--radius);
    padding: var(--sp-2) var(--sp-3); font-size: var(--step--1);
  }
  .nav a[aria-current="page"] { border-bottom-color: var(--brand); }
  .head-call { display: inline-flex; }
}

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

/* ---------- 6. Херо ---------- */
.hero {
  background:
    linear-gradient(180deg, var(--surface-inverse) 0%, var(--surface-inverse-2) 100%);
  color: var(--on-inverse);
  padding-block: var(--sp-7) var(--sp-8);
}
.hero-inner { max-width: 54rem; }
.hero h1 { font-size: var(--step-4); margin-bottom: var(--sp-4); }
.hero .lead { color: rgb(255 255 255 / 0.82); }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.08em;
  font-size: var(--step--1); font-weight: 700;
  color: var(--brand); margin-bottom: var(--sp-3);
}
.hero .eyebrow { color: #9fc0fb; }
.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);
}
.hero-actions.center { justify-content: center; }

.badges {
  list-style: none; padding: 0; margin-top: var(--sp-6);
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3);
  font-size: var(--step--1);
}
.badges li, .badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: var(--radius-full);
  padding: var(--sp-2) var(--sp-4);
}
.badges li::before { content: "✓"; font-weight: 700; color: #9fc0fb; }
.badge {
  background: var(--brand-soft); border-color: transparent; color: var(--brand-strong);
}

/* ---------- 7. Карти ---------- */
.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);
  box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; gap: var(--sp-2);
}
.card h2, .card h3 { margin: 0; font-size: var(--step-1); }
.card h2 a, .card h3 a { color: inherit; text-decoration: none; }
.card h2 a:hover, .card h3 a:hover { color: var(--brand); text-decoration: underline; }
.card p { color: var(--text-muted); margin: 0; }
.card__body { display: grid; gap: var(--sp-2); }
.card__media { border-radius: var(--radius); overflow: hidden; }
.card-urgent { border-left: 4px solid var(--danger); }
.card-more { margin-top: auto; padding-top: var(--sp-2); }
.card-more a { font-weight: 600; text-decoration: none; }
.card-more a:hover { text-decoration: underline; }

.price {
  font-weight: 700;
  background: var(--brand-soft); color: var(--brand-strong);
  display: inline-block; padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius); font-size: var(--step--1);
  align-self: flex-start;
}
.price-big { font-size: var(--step-1); padding: var(--sp-2) var(--sp-4); }

/* ---------- 8. Стъпки ---------- */
.steps-wrap { max-width: 60rem; }
.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);
  color: var(--text-muted);
}
.steps li::before {
  content: counter(s);
  display: grid; place-items: center;
  width: 2rem; height: 2rem; margin-bottom: var(--sp-3);
  border-radius: var(--radius-full);
  background: var(--brand); color: var(--on-brand);
  font-weight: 700; font-size: var(--step--1);
}
.steps li strong { color: var(--text); }

/* ---------- 9. Разделени секции и панели ---------- */
.about-split, .article-split, .contact-split, .two-col {
  display: grid; gap: var(--sp-6);
}
@media (min-width: 56rem) {
  .about-split { grid-template-columns: 1.4fr 1fr; }
  .article-split { grid-template-columns: minmax(0, 1.6fr) 20rem; }
  .contact-split { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr 1fr; }
}

.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; }

/* ---------- 10. Въпроси ---------- */
.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 details[open] { border-color: var(--brand); }
.faq summary {
  cursor: pointer; font-weight: 600; padding: var(--sp-1) 0;
  list-style-position: outside;
}
.faq summary::marker { color: var(--brand); }
.faq details > *:not(summary) { color: var(--text-muted); margin-top: var(--sp-2); }
.faq-list { max-width: none; }

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

.cta { background: var(--brand); color: var(--on-brand); }
.cta-inner { max-width: 46rem; }
.cta h2 { color: var(--on-brand); }
.cta p { color: color-mix(in srgb, var(--on-brand) 85%, transparent); }
.cta .btn-call {
  background: var(--on-brand); border-color: var(--on-brand); color: var(--brand-strong);
}
.cta .btn-call:hover { background: #fff; color: var(--brand-strong); }
.cta .btn-ghost { color: var(--on-brand); }
.cta .btn-ghost:hover { background: rgb(255 255 255 / 0.14); color: var(--on-brand); }

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

/* ---------- 15. Подвал ---------- */
.site-foot {
  background: var(--surface-inverse); color: var(--on-inverse);
  padding-block: var(--sp-7) var(--sp-5);
  margin-top: var(--sp-8);
}
.site-foot a { color: #b9d0fa; }
.site-foot a:hover { color: #fff; }
.site-foot .muted { color: rgb(255 255 255 / 0.62); }
.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: 0.06em; color: rgb(255 255 255 / 0.6);
  margin-bottom: var(--sp-3);
}
.foot-list { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
.foot-list.big { gap: var(--sp-3); font-size: var(--step-0); }
.site-foot .hours th { color: rgb(255 255 255 / 0.7); }
.site-foot .hours th, .site-foot .hours td { border-bottom-color: rgb(255 255 255 / 0.12); }
.site-foot .emergency {
  background: rgb(255 255 255 / 0.08);
  border-left-color: #ff9f99;
}
.foot-bottom {
  margin-top: var(--sp-6); padding-top: var(--sp-4);
  border-top: 1px solid rgb(255 255 255 / 0.12);
}

/* Постоянен бутон за обаждане, само на телефон. */
.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; }
}

/* ============================================================================
   Section blocks — styles for app/views/blocks/*.php
   TOKEN-ONLY: reference only CSS custom properties (--brand*, --surface*, --text*,
   --sp-*, --step-*, --radius*, --shadow*, --surface-inverse*, --on-inverse).
   Name NO raw colour/size/radius literal — if a colour is genuinely new, add a
   token to every templates/directions/<name>/tokens.css instead. Reuse the
   primitives from components.css (.wrap, .section, .section-alt, .cards, .box,
   .stack, .cluster, .hero-actions) before adding a class.
   Concatenated after components.css by build-style.mjs.
   ============================================================================ */

/* ---------- hero variants ---------- */
/* Base .hero / .hero-inner / .eyebrow / .lead / .badges live in components.css.
   These modifiers only change composition, not colour. */
.hero--centered .hero-inner { text-align: center; }
.hero--centered .hero-actions,
.hero--centered .badges { justify-content: center; }
.hero--split .hero-inner { max-width: var(--measure); }
/* image hero — a photo behind the inverse band; CSP blocks inline styles, so the
   image is a real <img>, darkened by a scrim so --on-inverse text stays legible. */
.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, var(--surface-inverse) 68%, transparent); }

/* ---------- services — 'list' variant ---------- */
/* Compact one-line rows (name · summary · price). The default 'cards' variant
   reuses the existing .cards grid and needs no CSS. */
.services--list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--sp-2);
  max-width: var(--measure);
}
.services--list li {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: var(--sp-2) var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.services--list a { font-weight: 600; text-decoration: none; }
.services--list a:hover { text-decoration: underline; }
.services--list span:not(.price) {
  color: var(--text-muted); font-size: var(--step--1);
  flex: 1 1 12rem;
}
.services--list .price { margin-left: auto; }

/* ---------- process — 'timeline' variant ---------- */
/* Vertical stepped rail. The default 'numbered' variant reuses .steps unchanged. */
.process--timeline .steps {
  display: block;
  max-width: 44rem;
  margin-inline: auto;
}
.process--timeline .steps li {
  position: relative;
  margin-left: 1rem;
  padding: 0 0 var(--sp-6) var(--sp-6);
  border: 0;
  border-left: 2px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.process--timeline .steps li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}
.process--timeline .steps li::before {
  position: absolute;
  left: -1rem;
  top: 0;
  margin-bottom: 0;
}

/* ---------- faq — 'two-col' variant ---------- */
.faq--two-col { max-width: none; }
@media (min-width: 48rem) {
  .faq--two-col { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ---------- emergency_cta ---------- */
.emergency-cta {
  background: color-mix(in oklab, var(--danger) 12%, var(--surface));
  color: var(--text);
  border-block: 1px solid color-mix(in oklab, var(--danger) 22%, var(--surface));
}
.emergency-cta h2 { color: var(--text); }
.emergency-cta .lead { color: var(--text-muted); max-width: var(--measure); }
/* compact strip — heading + subcopy + button on one row, wraps when narrow */
.emergency-cta--inline { padding-block: var(--sp-5); }
.emergency-cta--inline .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--sp-3) var(--sp-5);
}
.emergency-cta--inline h2 { margin: 0; font-size: var(--step-1); }
.emergency-cta--inline .lead { flex: 1 1 16rem; margin: 0; font-size: var(--step-0); }
.emergency-cta--inline .hero-actions { margin: 0; margin-left: auto; }

/* ---------- contact_cta — 'split' variant ---------- */
/* Persuasive copy left, a compact contact-details card right (.box + .facts).
   The default 'centered' variant reuses .cta and needs no CSS of its own. */
.contact-cta--split .wrap { display: grid; gap: var(--sp-6); }
@media (min-width: 56rem) {
  .contact-cta--split .wrap { grid-template-columns: 1.5fr 1fr; align-items: center; }
}
/* The .box sits on --surface but inherits color:var(--on-brand) from the .cta band;
   reset so any plain text inside it stays readable. */
.contact-cta--split .box { color: var(--text); }

/* ---------- a11y: focus ring on --brand bands ---------- */
/* The global :focus-visible outline is var(--brand); on a .cta band (background
   var(--brand)) it would be invisible. Use --on-brand there so keyboard focus on
   the primary CTA stays visible. */
.cta :focus-visible { outline-color: var(--on-brand); }

/* ---------- gallery ---------- */
.gallery { list-style: none; padding: 0; margin: 0; }
/* grid (default) — auto-fit responsive grid, mirrors the .cards pattern */
.gallery--grid {
  display: grid; gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.gallery-item { display: flex; flex-direction: column; gap: var(--sp-2); }
/* real photo (resolve-images filled a src); matches the placeholder frame's shape */
.gallery-item__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg); background: var(--surface-2); }
.gallery--masonry .gallery-item__img { aspect-ratio: auto; height: auto; } /* natural heights */
/* Placeholder frame — swap the inner <span> for an <img> when the image
   pipeline lands; the frame wrapper, ratio and radius stay put. */
.gallery-item__frame {
  display: grid; place-items: center; text-align: 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); /* reading text (image description) — --text-muted clears AA 4.5 on --surface-2; --text-subtle did not */
  font-size: var(--step--1);
  overflow: hidden;
}
.gallery-item__caption {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step--1);
}
/* masonry — column flow with varied frame heights */
.gallery--masonry { columns: 16rem 3; column-gap: var(--sp-4); }
.gallery--masonry .gallery-item { break-inside: avoid; margin-bottom: var(--sp-4); }
.gallery--masonry .gallery-item__frame { aspect-ratio: 3 / 4; }
.gallery--masonry .gallery-item:nth-child(3n) .gallery-item__frame { aspect-ratio: 1 / 1; }
.gallery--masonry .gallery-item:nth-child(4n) .gallery-item__frame { aspect-ratio: 4 / 3; }

/* ============================================================================
   Design axes — per-site variety from spec.meta.design.
   Colour / shape / density / fonts are TOKEN overrides emitted by build-style.
   These are the STRUCTURAL axes, applied via body classes (render-spec → body_class):
   the brand monogram, nav position, and surface treatment. Token-only, both themes.
   ============================================================================ */

/* brand monogram (header mark) — per-business initial; replaces any fixed glyph */
.brand-mark {
  display: inline-grid; place-items: center;
  width: 2.1rem; height: 2.1rem; flex: 0 0 auto;
  border-radius: var(--radius);
  background: var(--brand); color: var(--on-brand);
  font-family: var(--font-display); font-weight: 800; font-size: var(--step-0); line-height: 1;
}

/* nav position (design.nav) */
.nav-center .head-inner .nav { margin-inline: auto; }
.nav-right .head-inner .nav  { margin-left: auto; }
.nav-left .head-inner .nav   { margin-right: auto; }

/* surface treatment (design.surface): flat = default; soft/bold = brand-infused
   gradients on the hero + CTA bands (token-composed, no raw colour). */
.surface-soft .hero {
  background: linear-gradient(160deg, var(--surface-inverse), color-mix(in oklab, var(--surface-inverse) 62%, var(--brand-strong)));
}
.surface-bold .hero {
  background: linear-gradient(155deg, var(--brand-strong), var(--surface-inverse));
}
.surface-soft .cta,
.surface-bold .cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
}
