/* ===== ТЕМИ =====
   Ден  (по подразбиране): жълто-черна
   Нощ  ([data-theme="night"]): черно-жълта
   Всички цветове са променливи, за да се сменя само това. */
:root {
  --yellow: #ffd300;
  --yellow-press: #e6bd00;
  --green: #1a9e4b;

  --bg: #FAF9F9;         /* фон на страницата */
  --fg: #000;            /* основен текст */
  --muted: #5c5c5c;      /* втори текст */
  --surface: #fff;       /* карти */
  --surface-alt: #f2f2f2;/* сива секция */
  --line: #000;          /* рамки */
  --shadow: #000;        /* твърдите сенки */

  --hero-bg: var(--yellow);
  --hero-fg: #000;
  --accent: var(--yellow);        /* основен бутон */
  --accent-press: var(--yellow-press);
  --on-accent: #000;
  --btn2-bg: #000;                /* втори бутон */
  --btn2-fg: var(--yellow);
  --btn2-line: #000;
  --btn2-shadow: #fff;
  --invert-bg: #000;              /* бадж, заглавия на карти, резултат */
  --invert-fg: #fff;
  --invert-accent: var(--yellow);
  --logo-bg: #000;
  --logo-fg: var(--yellow);
  --footer-bg: #000;
  --footer-fg: #fff;
  --focus-ring: var(--yellow);

  --font: "Archivo", "Arial Narrow", Arial, Helvetica, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(3rem, 8vw, 6rem);
  --border: 3px solid var(--line);
  --bar-h: 44px;
  --r-btn: 14px;
  --r-card: 18px;
}

:root[data-theme="night"] {
  --bg: #000;
  --fg: #fff;
  --muted: #bdbdbd;
  --surface: #151515;
  --surface-alt: #0b0b0b;
  --line: var(--yellow);
  --shadow: #7d6700;

  --hero-bg: #000;
  --hero-fg: var(--yellow);
  --accent: var(--yellow);
  --on-accent: #000;
  --btn2-bg: #000;
  --btn2-fg: var(--yellow);
  --btn2-line: var(--yellow);
  --btn2-shadow: #7d6700;
  --invert-bg: var(--yellow);
  --invert-fg: #000;
  --invert-accent: #000;
  --logo-bg: var(--yellow);
  --logo-fg: #000;
  --footer-bg: #000;
  --footer-fg: #fff;
  --focus-ring: #fff;
}

/* ===== base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4rem; color-scheme: light; }
html[data-theme="night"] { color-scheme: dark; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.5; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; transition: background-color .2s, color .2s; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 900; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 6.5vw, 4.5rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.15; }
p { margin: 0 0 1em; max-width: 62ch; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; box-shadow: 0 0 0 6px var(--focus-ring); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* icons */
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; flex: none; }
.icon--fill { fill: currentColor; stroke: none; }
.icon--lg { width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; }

/* layout */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--grey { background: var(--surface-alt); }
.section__head { margin-bottom: 2.5rem; max-width: 40rem; }
.section__head p { margin-top: 1rem; color: var(--muted); }

/* emergency bar + header */
.emergency { position: sticky; top: 0; z-index: 50; background: var(--accent); color: var(--on-accent); border-bottom: 3px solid var(--on-accent); min-height: var(--bar-h); }
.emergency__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--bar-h); }
.emergency__text { font-weight: 800; display: flex; align-items: center; gap: .6rem; }
.dot { width: .7rem; height: .7rem; flex: none; border-radius: 50%; background: var(--green); border: 2px solid #000; animation: blink 1.1s ease-in-out infinite; }
@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(26,158,75,.75); }
  50% { opacity: .25; box-shadow: 0 0 0 .5rem rgba(26,158,75,0); }
}
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
.emergency__phone { font-weight: 900; text-decoration: none; font-size: 1.125rem; white-space: nowrap; }
.emergency__phone:hover { text-decoration: underline; }
.header { background: var(--bg); border-bottom: var(--border); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--fg); }
.logo__mark { width: 2.9rem; height: 2.9rem; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-weight: 900; font-size: 1.4rem; letter-spacing: -0.02em; text-transform: uppercase; }
.logo__tag { font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

/* theme toggle */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; font: inherit; cursor: pointer; padding: 0; border: 3px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--fg); }
.theme-toggle:hover { background: var(--accent); color: var(--on-accent); border-color: var(--on-accent); }
.theme-toggle .icon { width: 1.4rem; height: 1.4rem; vertical-align: 0; }
.theme-toggle__sun { display: none; }
:root[data-theme="night"] .theme-toggle__moon { display: none; }
:root[data-theme="night"] .theme-toggle__sun { display: inline-block; }
.theme-toggle svg.theme-toggle__sun { display: none; }
:root[data-theme="night"] .theme-toggle svg.theme-toggle__sun { display: inline-block; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; font: inherit; font-weight: 900; font-size: 1.125rem; text-decoration: none; text-align: center; cursor: pointer; padding: 1rem 1.75rem; border: 3px solid var(--on-accent); border-radius: var(--r-btn); background: var(--accent); color: var(--on-accent); box-shadow: 5px 6px 0 var(--shadow); transition: transform .08s, box-shadow .08s, background-color .15s; }
.btn:hover { background: var(--accent-press); }
.btn:active { transform: translate(5px, 6px); box-shadow: 0 0 0 var(--shadow); }
.btn--black { background: var(--btn2-bg); color: var(--btn2-fg); border-color: var(--btn2-line); box-shadow: 5px 6px 0 var(--btn2-shadow); }
.btn--black:hover { background: #1c1c1c; }
.btn--block { display: flex; width: 100%; }
.btn--xl { font-size: clamp(1.1rem, 2.6vw, 1.4rem); padding: 1.1rem 1.8rem; }

/* hero */
.hero { background: var(--hero-bg); color: var(--hero-fg); border-bottom: var(--border); padding-block: clamp(2.5rem, 7vw, 5rem); }
:root[data-theme="night"] .hero__lead { color: var(--fg); }
.hero__grid { display: grid; gap: 3rem; grid-template-columns: 1.3fr 1fr; align-items: start; }
.badge { display: inline-block; background: var(--invert-bg); color: var(--invert-fg); font-weight: 800; padding: .4rem .95rem; margin-bottom: 1.25rem; border-radius: 999px; }
.hero__lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); font-weight: 600; margin: 1.25rem 0 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2rem; }

/* checks */
.checks li { display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; padding-block: .8rem; border-top: 2px solid currentColor; }
.checks li:last-child { border-bottom: 2px solid currentColor; }
.checks li::before { content: ""; width: 1.25rem; height: 1.25rem; margin-top: .2rem; background: currentColor; clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%); }
.checks strong { display: block; }
.checks span { font-weight: 500; }
:root[data-theme="night"] .checks { color: var(--fg); }
:root[data-theme="night"] .checks li { border-color: var(--yellow); }
:root[data-theme="night"] .checks li::before { background: var(--yellow); }

.checks.trust { max-width: 52rem; margin-bottom: 2rem; }
.checks.trust span { display: block; }

/* visual card */
.visual { background: var(--surface); color: var(--fg); border: var(--border); border-radius: var(--r-card); box-shadow: 8px 10px 0 var(--shadow); overflow: hidden; outline: 5px solid #fff; }
.visual__title { background: var(--invert-bg); color: var(--invert-fg); padding: .75rem 1.25rem; font-weight: 800; }
.visual__photo { position: relative; border-bottom: var(--border); }
.visual__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; }
.visual__brand { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.visual__badge { position: absolute; left: .75rem; bottom: .75rem; margin: 0; background: var(--accent); color: var(--on-accent); border: 3px solid var(--on-accent); border-radius: 999px; padding: .4rem .9rem; font-weight: 800; }
.visual__stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.visual__stats > div { padding: 1rem .5rem; border-left: 2px solid var(--line); display: flex; align-items: baseline; justify-content: center; gap: .35rem; white-space: nowrap; }
.visual__stats .num { font-size: clamp(.95rem, 3.4vw, 1.6rem); }
.visual__stats .lbl { font-size: clamp(.7rem, 2.4vw, .85rem); }
.visual__stats > div:first-child { border-left: 0; }
.num { display: block; font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 900; line-height: 1; }
.lbl { font-size: .85rem; color: var(--muted); }

/* top menu */
.header { position: relative; z-index: 40; }
section[id] { scroll-margin-top: calc(var(--bar-h) + 8px); }
.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav a { font-weight: 800; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--fg); padding: .6rem .9rem; border-radius: var(--r-btn); }
.nav a:hover { background: var(--accent); color: var(--on-accent); }
.nav a:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
.nav a.nav__cta { background: var(--accent); color: var(--on-accent); border: 3px solid var(--line); margin-left: .35rem; }
.nav a.nav__cta:hover { background: var(--accent-press); }
.menu-toggle { display: none; margin-left: auto; }
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: .25rem; margin: 0; padding: .75rem var(--gutter) 1rem; background: var(--bg); border-bottom: var(--border); }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem 1rem; font-size: 1rem; }
  .nav a.nav__cta { margin: .5rem 0 0; text-align: center; }
}
@media (max-width: 420px) { .logo__tag { display: none; } }

/* reviews */
.reviews { border-top: var(--border); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.review { display: flex; flex-direction: column; gap: .85rem; padding: 1.4rem; background: var(--surface); border: var(--border); border-radius: var(--r-card); box-shadow: 5px 6px 0 var(--shadow); }
.review__stars { align-self: flex-start; background: var(--invert-bg); color: var(--invert-accent); padding: .3rem .7rem; border-radius: 999px; font-size: .95rem; letter-spacing: .12em; line-height: 1; }
.review__text { margin: 0; flex: 1; }
.review__meta { display: flex; flex-direction: column; gap: .1rem; border-top: 2px solid var(--line); padding-top: .8rem; }
.review__meta span { font-size: .85rem; color: var(--muted); }
.reviews:not(.is-expanded) .review--more { display: none; }
.reviews__more { margin-top: 2rem; text-align: center; }
@media (max-width: 960px) { .reviews__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .reviews__grid { grid-template-columns: 1fr; } }

/* request form */
.field input[type="text"] { font: inherit; font-size: 1.05rem; padding: .8rem .9rem; border: 3px solid var(--line); background: var(--bg); color: var(--fg); width: 100%; border-radius: var(--r-btn); }
.field input[type="text"]::placeholder { color: var(--muted); opacity: 1; }
.field input[type="text"]:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
.field .opt { font-weight: 500; color: var(--muted); }
.loc-btn { font-size: 1rem; padding: .95rem 1.2rem; }
.loc__status { margin: 0; font-size: .9rem; color: var(--muted); min-height: 1.2em; }
.req__msg { margin: .75rem 0 1.25rem; padding: 1rem; border: 2px dashed currentColor; border-radius: var(--r-btn); font-size: .95rem; line-height: 1.5; white-space: pre-line; word-break: break-word; }
.req__actions { display: grid; gap: .75rem; }
.req__actions .btn { box-shadow: none; font-size: 1.05rem; padding: .95rem 1.2rem; }
.req__actions .req__call { background: var(--invert-accent); color: var(--invert-bg); border-color: var(--invert-accent); }
.req__actions .req__alt { background: transparent; color: var(--invert-fg); border-color: var(--invert-fg); }
.req__actions .req__alt:hover { background: var(--invert-fg); color: var(--invert-bg); }

/* hero buttons: always side by side */
.hero__actions { flex-wrap: nowrap; gap: .85rem; }
.hero__actions .btn { flex: 1 1 0; min-width: 0; white-space: nowrap; gap: .45rem; padding-inline: .6rem; font-size: clamp(.74rem, 3.3vw, 1.3rem); }
.hero__actions .btn .icon { flex: none; width: 1.1em; height: 1.1em; }
@media (max-width: 420px) { .hero__actions .btn .icon { display: none; } .hero__actions { gap: .7rem; } }
@media (min-width: 861px) and (max-width: 1180px) { .hero__actions .btn { font-size: clamp(.9rem, 1.8vw, 1.2rem); } .hero__actions .btn .icon { display: none; } }

/* footer */
.footer { padding-block: 3rem 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.2rem; }
.footer .logo { color: #fff; }
.footer .logo__name { font-size: 1.25rem; }
.footer__brand p { margin: .9rem 0 0; max-width: 30ch; color: #cfcfcf; }
.footer__col h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .9rem; color: var(--yellow); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__col a { color: #fff; font-weight: 600; text-decoration: none; }
.footer__col a:hover { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid #333; color: #bdbdbd; font-size: .9rem; }
.footer__bottom p { margin: 0; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } .footer { padding-bottom: 5.5rem; } }

/* ===== Адаптивност: всички устройства ===== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
:root { --gutter: max(clamp(1rem, 4vw, 2rem), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); }
body { overflow-wrap: break-word; }
img, picture { max-width: 100%; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
a, button, summary, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.emergency__phone { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .25rem; }
.theme-toggle { min-width: 44px; min-height: 44px; }
.logo { min-height: 44px; }
.service__link { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .25rem; }
.visual__stats > div { white-space: normal; text-align: center; flex-wrap: wrap; align-content: center; }
.mobile-sticky-bar { padding-bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 560px) { .logo__tag { font-size: .7rem; } }
@media (max-height: 480px) and (orientation: landscape) { .visual__photo img { aspect-ratio: 16 / 10; } .emergency { position: static; } }
@media print { .emergency, .header, .mobile-sticky-bar, .theme-toggle, .calc__form, .reviews__more { display: none !important; } body { background: #fff; color: #000; } }
.nav a { padding-block: .7rem; }
@media (pointer: coarse) { .footer__col a, .crumbs a, .prose li a, .nav a { display: inline-flex; align-items: center; min-height: 44px; } }

@media (max-width: 480px) {
  .emergency__in { gap: .6rem; }
  .emergency .emergency__text { font-size: .78rem; line-height: 1.25; gap: .45rem; flex: 1 1 0; min-width: 0; }
  .emergency .emergency__phone { font-size: 1rem; flex: none; }
}
.mobile-sticky-bar .btn { font-size: clamp(.9rem, 4.2vw, 1.1rem); white-space: nowrap; }

/* services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); border: var(--border); border-radius: var(--r-card); background: var(--surface); overflow: hidden; }
.service { padding: 1.75rem; border-left: var(--border); }
.service:first-child { border-left: 0; }
.service p { color: var(--muted); margin: .75rem 0 0; }
.service__price { display: inline-block; margin-top: 1rem; padding: .3rem .8rem; border: 2px solid currentColor; border-radius: 999px; font-weight: 800; font-size: .85rem; }
.service--hot { background: var(--accent); color: var(--on-accent); }
.service--hot p { color: var(--on-accent); }
:root[data-theme="night"] .service .icon { color: var(--yellow); }
:root[data-theme="night"] .service--hot .icon { color: #000; }

/* calculator */
.calc { display: grid; gap: 2rem; grid-template-columns: 1.2fr 1fr; align-items: start; }
.calc__form { background: var(--surface); border: var(--border); border-radius: var(--r-card); padding: 1.75rem; display: grid; gap: 1.5rem; }
.field { display: grid; gap: .5rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 800; padding: 0; }
.field select { font: inherit; font-size: 1.05rem; padding: .8rem .9rem; border: 3px solid var(--line); background: var(--bg); color: var(--fg); width: 100%; border-radius: var(--r-btn); }
.field input[type="range"] { width: 100%; accent-color: var(--yellow); height: 2rem; }
:root:not([data-theme="night"]) .field input[type="range"] { accent-color: #000; }
.choice { display: flex; flex-wrap: wrap; gap: .75rem; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-block; padding: .7rem 1.1rem; border: 3px solid var(--line); border-radius: var(--r-btn); font-weight: 800; }
.choice input:checked + span { background: var(--invert-bg); color: var(--invert-fg); }
:root:not([data-theme="night"]) .choice input:checked + span { color: var(--yellow); }
.choice input:focus-visible + span { outline: 3px solid var(--fg); outline-offset: 3px; box-shadow: 0 0 0 6px var(--focus-ring); }
.calc__result { background: var(--invert-bg); color: var(--invert-fg); border: var(--border); border-radius: var(--r-card); padding: 1.75rem; position: sticky; top: calc(var(--bar-h) + 1rem); }
.calc__label { font-weight: 700; opacity: .8; }
.calc__price { font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 900; color: var(--invert-accent); line-height: 1; margin: .5rem 0 1.5rem; font-variant-numeric: tabular-nums; }
:root[data-theme="night"] .calc__result .btn { background: #000; color: var(--yellow); border-color: #000; box-shadow: 5px 6px 0 #000; }
.calc__fine { font-size: .85rem; opacity: .8; margin: 1rem 0 0; }

/* faq */
.faq { border-top: var(--border); max-width: 52rem; }
.faq details { border-bottom: var(--border); }
.faq summary { cursor: pointer; font-weight: 800; font-size: 1.15rem; padding: 1.1rem 3rem 1.1rem .25rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .5rem; top: .55rem; font-size: 1.8rem; font-weight: 900; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { background: var(--accent); color: var(--on-accent); }
.faq p { padding: 0 .25rem 1.25rem; margin: 0; color: var(--muted); }

/* footer */
.footer { background: var(--footer-bg); color: var(--footer-fg); border-top: 3px solid var(--yellow); padding-block: 2.5rem; font-size: .95rem; }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.footer a { color: var(--yellow); font-weight: 800; }

/* mobile call bar */
.mobile-sticky-bar { display: none; }

@media (max-width: 960px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service:nth-child(3) { border-left: 0; }
  .service:nth-child(n+3) { border-top: var(--border); }
}
@media (max-width: 860px) {
  .hero__grid, .calc { grid-template-columns: 1fr; }
  .calc__result { position: static; }
  .footer { padding-bottom: 6rem; }
  .mobile-sticky-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--accent); border-top: 3px solid var(--on-accent); padding: .75rem; }
  .mobile-sticky-bar .btn { box-shadow: none; background: #000; color: var(--yellow); border-color: #000; }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(3) { border-left: 0; }
  .service:nth-child(n+2) { border-top: var(--border); }
  .emergency__text { font-size: .9rem; }
  .theme-toggle { width: 2.6rem; height: 2.6rem; }
  .logo__name { font-size: 1.15rem; }
  .logo__tag { font-size: .62rem; }
  .logo__mark { width: 2.4rem; height: 2.4rem; }
}

/* ===== SEO сайт: допълнения ===== */
.service__link { display: inline-block; margin-top: .9rem; font-weight: 800; color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.service__link:hover { background: var(--accent); color: var(--on-accent); text-decoration: none; }
.crumbs { font-size: .9rem; margin-bottom: 1.1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .45rem; opacity: .6; }
.crumbs a { color: inherit; }
.hero--page .hero__lead { max-width: 40rem; }
.prose { max-width: 52rem; }
.prose p { margin: 0 0 1rem; }
.prose h2 { margin: 0 0 1rem; }
.prose h3 { margin: 1.75rem 0 .6rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: inherit; font-weight: 800; }
.prose h1 { font-size: clamp(1.8rem, 7vw, 3rem); }
.crumbs a { display: inline-block; padding-block: .3rem; }
.linkcard { min-height: 44px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { border: var(--border); border-radius: var(--r-card); background: var(--surface); padding: 1.4rem; counter-increment: step; }
.step::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--invert-bg); color: var(--invert-accent); font-weight: 900; margin-bottom: .8rem; }
.step strong { display: block; margin-bottom: .3rem; }
.step span { color: var(--muted); }
.linkgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; }
.linkcard { display: block; padding: 1.15rem 1.3rem; border: var(--border); border-radius: var(--r-card); background: var(--surface); color: var(--fg); text-decoration: none; font-weight: 800; box-shadow: 5px 6px 0 var(--shadow); }
.linkcard small { display: block; font-weight: 500; color: var(--muted); margin-top: .35rem; }
.linkcard:hover { background: var(--accent); color: var(--on-accent); }
.linkcard:hover small { color: var(--on-accent); }
.cta { background: var(--invert-bg); color: var(--invert-fg); border: var(--border); border-radius: var(--r-card); padding: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.cta h2 { margin: 0 0 .4rem; color: var(--invert-fg); }
.cta p { margin: 0; opacity: .85; max-width: 34rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta .btn { box-shadow: none; font-size: 1.05rem; padding: .95rem 1.4rem; background: transparent; color: var(--invert-fg); border-color: var(--invert-fg); }
.cta .btn:hover { background: var(--invert-fg); color: var(--invert-bg); }
.cta .btn.cta__call { background: var(--invert-accent); color: var(--invert-bg); border-color: var(--invert-accent); }
.cta .btn.cta__call:hover { filter: brightness(1.08); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }

/* footer */
.footer { padding-block: 3rem 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.2rem; }
.footer .logo { color: #fff; }
.footer .logo__name { font-size: 1.25rem; }
.footer__brand p { margin: .9rem 0 0; max-width: 30ch; color: #cfcfcf; }
.footer__col h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .9rem; color: var(--yellow); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__col a { display: inline-block; padding-block: .3rem; color: #fff; font-weight: 600; text-decoration: none; }
.footer__col a:hover { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid #333; color: #bdbdbd; font-size: .9rem; }
.footer__bottom p { margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer { padding-bottom: 5.5rem; }
}

/* Квартали и населени места във футъра */
.footer__areas { margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.2); display: grid; gap: .5rem; }
.footer__areas h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin: .9rem 0 0; color: var(--yellow); }
.footer__areas h3:first-child { margin-top: 0; }
.footer__areas p { max-width: none; width: 100%; margin: 0; font-size: .92rem; line-height: 1.65; color: #fff; opacity: .88; }

/* Услуги: цената и бутоните "Научете повече" са на една линия във всички карти */
.service { display: flex; flex-direction: column; align-items: flex-start; }
.service p { margin-bottom: 1rem; }
.service__price { margin-top: auto; }

/* Заглавията не се пренасят с тире: думи като "сервиз" остават цели */
h1, h2, h3 { hyphens: none; -webkit-hyphens: none; overflow-wrap: normal; word-break: normal; }

/* Начално заглавие: "в София и София област" е на един ред, без да пада "област" надолу */
.h1__sub { display: block; margin-top: .55em; font-size: .42em; line-height: 1.15; letter-spacing: 0; white-space: nowrap; }
@media (max-width: 960px) { .h1__sub { font-size: .5em; } }
@media (max-width: 480px) { .h1__sub { font-size: .46em; white-space: normal; } }
