/* ============================================================
   emergencyfridgerepair.com (#4) — Magazine/Editorial homepage
   Собрано по победителям судьи (JUDGE-VERDICTS.md) + hero-mag-v4.
   Дизайн-токены → Elementor-friendly, self-contained (0 внешних запросов).
   ============================================================ */

:root {
  /* palette (из утверждённого лого) */
  --navy: #14233A;
  --navy-panel: #1B2E4A;
  --cream: #F6F1E4;
  --cream-dim: #EDE6D4;
  --orange: #F26522;

  /* derived inks */
  --ink: var(--navy);
  --ink-soft: rgba(20, 35, 58, 0.78);
  --cream-ink: var(--cream);
  --cream-soft: rgba(246, 241, 228, 0.75);

  /* hairlines (editorial rules) */
  --rule-navy: rgba(20, 35, 58, 0.28);
  --rule-orange: rgba(242, 101, 34, 0.55);
  --rule-cream: rgba(246, 241, 228, 0.28);

  /* type: 2 семейства, системные стеки (без CDN) */
  --font-display: Georgia, 'Palatino Linotype', 'Book Antiqua', 'Times New Roman', serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', 'Trebuchet MS', Arial, sans-serif;

  /* типошкала (4 размера) */
  --fs-display: clamp(2.5rem, 5.2vw, 4rem);
  --fs-h2: clamp(1.9rem, 3.4vw, 3.1rem);
  --fs-h3: 1.4rem;
  --fs-body: 1.1rem;
  --fs-small: 0.9rem;

  /* радиусы: осмысленно — прямоугольники острые, кнопки 6px, пилюли 999 */
  --r-sharp: 0;
  --r-btn: 6px;
  --r-pill: 999px;

  --container: 1200px;
  --ease: 160ms ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* fixed 2026-08-11: overflow-x:hidden on html/body silently breaks position:sticky on
   descendants (CSS spec: non-visible overflow on one axis forces the other axis to
   'auto', which detaches sticky from the viewport) — header declared sticky but scrolled
   away with the page. overflow-x:clip prevents the same horizontal-scroll edge cases
   without creating that scroll container, so sticky keeps working. */
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- shared editorial furniture ---------- */
.kicker {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.kicker-navy { color: var(--ink); }
.kicker-center { text-align: center; }
.dia { font-style: normal; font-size: 0.8em; vertical-align: 0.12em; }
.dia-orange { color: var(--orange); }
.dia-navy { color: var(--navy); }

.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 18px;
}
.h2-cream { color: var(--cream-ink); }

.section-intro {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 46em;
  margin-bottom: 34px;
}

/* drop cap — редакционная буквица */
.dropcap::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.2em;
  line-height: 0.9;
  padding: 0.04em 0.1em 0 0;
  color: var(--orange);
}

/* наклонная плашка-«бюллетень» */
.ribbon {
  display: inline-block;
  background: var(--orange);
  color: var(--cream);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  transform: rotate(-2deg);
  transform-origin: left bottom;
  margin-bottom: 26px;
}

/* плашка VOL. */
.vol-plate {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-ink);
}
.vol-plate-muted { color: rgba(20, 35, 58, 0.45); }

/* кнопки: единый hover = инверсия, 160ms */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: var(--r-btn);
  border: 2px solid transparent;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.btn-orange { background: var(--orange); color: var(--cream); border-color: var(--orange); }
.btn-orange:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn-lg { font-size: 1.1rem; padding: 17px 28px; }
.btn-navy-pill { background: var(--navy); color: var(--cream); border-radius: var(--r-pill); border-color: var(--navy); padding: 16px 34px; font-size: 1.1rem; }
.btn-navy-pill:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn-block { display: block; text-align: center; }

.badge-outline {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  border: 1.5px solid var(--orange);
  border-radius: var(--r-sharp);
  padding: 7px 12px;
  white-space: nowrap;
}

.link-call { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--rule-orange); transition: color var(--ease), border-color var(--ease); }
.link-call:hover { color: var(--orange); border-color: var(--orange); }
.link-cream { color: var(--cream-ink); border-bottom-color: var(--rule-cream); }
.link-cream:hover { color: var(--orange); }
.accent-orange { color: var(--orange); }

a:focus-visible, summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* иконки — один line-комплект */
.icon { display: inline-block; width: 46px; height: 46px; color: var(--orange); }
.icon svg { width: 100%; height: 100%; }
.icon-flake { width: 26px; height: 26px; }
.icon-check { width: 24px; height: 24px; flex: 0 0 24px; margin-top: 3px; }

/* пульс-ЭКГ: только разделитель/акцент по краю, никогда сквозь текст */
.pulse { color: var(--orange); display: block; }

/* ---------- фото-слоты (duotone-плейсхолдеры) ---------- */
.photo-slot {
  position: relative;
  width: 100%;
  background:
    repeating-linear-gradient(45deg, rgba(246, 241, 228, 0.06) 0 10px, transparent 10px 22px),
    linear-gradient(160deg, rgba(242, 101, 34, 0.22), rgba(20, 35, 58, 0.55)),
    var(--navy-panel);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slot-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
  border: 1px dashed rgba(246, 241, 228, 0.55);
  padding: 18px 26px;
  color: var(--cream-ink);
  background: rgba(20, 35, 58, 0.35);
  max-width: 85%;
}
.slot-name { font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.slot-aspect { font-size: var(--fs-small); color: var(--cream-soft); }
.slot-note { font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.08em; color: var(--orange); }
.photo-slot-fill {
  position: absolute;
  inset: 0;
  height: 100%;
  align-items: flex-end;            /* подпись слота внизу — пульс по центру её не режет */
  padding-bottom: 52px;
}

/* ---------- смонтированные фото в слотах (object-fit: cover по аспекту слота) ---------- */
.photo-slot > .slot-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;                       /* остаётся ВНУТРИ слоя фото-слота (под vol-plate/пульсом) */
}
.photo-slot-fill > .slot-photo { object-position: center 32%; } /* hero-портрет: беречь голову от кропа */
figure.photo-slot.has-photo > .slot-label { display: none; }    /* фото есть → скрыть плейсхолдер-подпись */

/* ============ §1 HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--cream); /* opaque — content never shows through while stuck */
  border-bottom: 1px solid var(--rule-navy);
  box-shadow: 0 2px 10px rgba(20, 35, 58, 0.08); /* light lift so the stuck header reads above scrolled content */
}

/* anchor targets: keep section headings clear of the sticky header when jumped to
   (logo -> #top, JSON-LD Offer URLs -> #what-we-fix / #commercial, possible search sitelinks) */
#top,
#what-we-fix,
#how-it-works,
#commercial,
#why-us,
#brands,
#where-we-work,
#reviews,
#faq,
#call {
  scroll-margin-top: 88px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.header-logo img { width: auto; height: 48px; }
.header-badges { display: flex; gap: 10px; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-small);
  color: var(--ink-soft);
}

/* ============ §2 HERO ============ */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  background: var(--cream);
}
.hero-copy { display: flex; }
.hero-copy-inner {
  width: 100%;
  max-width: none;
  margin-left: 0;
  /* left padding = same left content edge as .container (header logo), scales with viewport */
  padding: 64px 64px 40px calc((100vw - var(--container)) / 2 + 24px);
}
.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 26px;
}
.hero-title em { font-style: italic; color: var(--orange); }
.hero-sub {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 38em;
  margin-bottom: 30px;
}
.hero-cta-row { margin-bottom: 18px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-support {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  border-top: 1px solid var(--rule-navy);
  padding-top: 16px;
}
.hero-media {
  position: relative;
  background: var(--navy);
  min-height: 640px;
}
.hero-media .vol-plate { position: absolute; top: 22px; right: 28px; z-index: 3; }
.pulse-hero {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 60px;
  z-index: 2;
  pointer-events: none;
}
.hero-media .photo-slot-fill { z-index: 1; }

/* ============ §3 TRUST STRIP ============ */
.trust { padding: 56px 0 0; background: var(--cream); }
.trust .kicker-center { margin-bottom: 34px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  text-align: center;
  padding: 10px 28px 26px;
  border-left: 1px solid var(--rule-navy);
}
.trust-item:first-child { border-left: none; }
.trust-item .icon { margin-bottom: 18px; }
.trust-title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}
.trust-text { font-family: var(--font-display); font-size: 1rem; color: var(--ink-soft); }
.trust-disclaimer {
  margin-top: 30px;
  border-top: 2px solid var(--orange);
  padding: 14px 0 40px;
  text-align: center;
  font-size: var(--fs-small);
  color: rgba(20, 35, 58, 0.55);
}

/* ============ §4 WHAT WE FIX ============ */
.fix { padding: 72px 0 76px; background: var(--cream); }
.fix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}
.fix-card {
  border: 1px solid var(--rule-orange);
  border-radius: var(--r-sharp);
  padding: 22px 24px 26px;
  background: var(--cream);
  transition: border-color var(--ease), background var(--ease);
}
.fix-card:hover { border-color: var(--orange); background: var(--cream-dim); }
.fix-card .icon-flake { margin-bottom: 12px; }
.fix-title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}
.fix-text { font-family: var(--font-display); font-size: 1rem; color: var(--ink-soft); }
.fix-closer { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.fix-closer .link-call { font-family: inherit; }

/* ============ §5 HOW-IT-WORKS ============ */
.how { background: var(--navy); color: var(--cream-ink); padding: 72px 0 76px; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
}
.how-step { padding: 0 34px; border-left: 1px solid var(--rule-cream); }
.how-step:first-child { border-left: none; padding-left: 0; }
.how-step:last-child { padding-right: 0; }
.step-num-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.pulse-mini { flex: 1 1 auto; height: 40px; min-width: 0; }
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--orange);
}
@supports not (-webkit-text-stroke: 2px black) {
  .step-num { color: var(--orange); }
}
.how-title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--cream-ink);
  margin-bottom: 10px;
}
.how-text { color: var(--cream-soft); }
.how .photo-slot { aspect-ratio: 3 / 2; margin-top: 56px; }

/* ============ §6 COMMERCIAL ============ */
.commercial {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  background: var(--cream);
}
.commercial-copy { display: flex; }
.commercial-copy-inner {
  width: 100%;
  max-width: none;
  margin-left: 0;
  /* left padding = same left content edge as .container, scales with viewport (same fix as .hero-copy-inner) */
  padding: 72px 56px 72px calc((100vw - var(--container)) / 2 + 24px);
}
.commercial-list { margin: 6px 0 30px; }
.commercial-list li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid var(--rule-orange);
  font-size: 1rem;
}
.commercial-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 15px;
  font-size: 0.8em;
  color: var(--orange);
}
.commercial-list li strong { font-family: var(--font-display); font-size: 1.1rem; }
.commercial-cta { max-width: 34em; }
.commercial-cta .link-call { font-size: 1.2rem; line-height: 1.5; color: var(--orange); border-bottom: none; }
.commercial-cta .link-call:hover { color: var(--navy); }
.commercial-media {
  position: relative;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 40px;
  min-height: 560px;
}
.commercial-media .photo-slot { aspect-ratio: 4 / 3; max-width: 560px; z-index: 1; }
.commercial-media .pulse-hero { z-index: 0; } /* пульс за фото-панелью, не сквозь подпись */

/* ============ §7 WHY CHOOSE US ============ */
.why { padding: 76px 0; background: var(--cream); }
.why-frame { border: 1px solid var(--rule-orange); padding: 52px 56px 30px; }
.why-list { margin-top: 26px; }
.why-list li {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-navy);
}
.why-list li:last-child { border-bottom: none; }
.why-list p { max-width: 62em; }
.why-list strong { font-family: var(--font-display); font-size: 1.2rem; }

/* ============ §8 BRANDS ============ */
.brands { padding: 0 0 76px; background: var(--cream); }
.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--rule-navy);
  border: 1px solid var(--rule-navy);
  margin-bottom: 22px;
}
.brand-cell {
  background: var(--cream);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  text-align: center;
  padding: 30px 10px;
  transition: background var(--ease);
}
.brand-cell:hover { background: var(--cream-dim); }
.brands-closer { font-size: var(--fs-small); color: var(--ink-soft); }

/* ============ §9 WHERE WE WORK ============ */
.area { position: relative; padding: 76px 0; background: var(--cream); overflow: hidden; }
.area-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0;
}
.area-copy { padding-right: 52px; }
.area-copy .section-intro { margin-bottom: 0; }
.area-cities { border-left: 1px solid var(--rule-navy); padding-left: 52px; }
.cities-list { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.chip {
  display: inline-block;
  border: 1.5px solid var(--orange);
  border-radius: var(--r-pill);
  padding: 10px 22px;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  transition: background var(--ease), color var(--ease);
}
a.chip:hover { background: var(--orange); color: var(--cream); }
.area-closer { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.area-body { margin-top: 20px; color: var(--ink); line-height: 1.7; }

/* breadcrumbs (region pages) */
/* Hidden per Vlad's request 2026-08-11 (temporary) — footer/CTA region links are enough for now.
   Only used on region pages (e.g. /florida/); homepage has no .crumbs markup, so this is safe here.
   To restore: delete the "display: none;" line below. */
.crumbs {
  display: none;
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(20, 35, 58, 0.6);
  margin-bottom: 16px;
}
.crumbs a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule-orange); }
.crumbs a:hover { color: var(--orange); border-color: var(--orange); }
.crumb-sep { margin: 0 8px; color: var(--orange); }
.pulse-edge {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 90px;
  height: 40px;
  opacity: 0.85;
  pointer-events: none;
}
.pulse-edge-left { left: 0; }
.pulse-edge-right { right: 0; }

/* ============ §10 REVIEWS ============ */
.reviews { padding: 0 0 76px; background: var(--cream); }
.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 18px;
  margin-bottom: 0;
}
.reviews-head .h2 { margin-bottom: 0; }
.reviews-head .vol-plate-muted { padding-bottom: 6px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.reviews-grid-2 { grid-template-columns: repeat(2, 1fr); }
.review-slot {
  padding: 40px 36px 0;
  border-left: 1px solid var(--rule-orange);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.review-slot:first-child { border-left: none; padding-left: 0; }
.review-slot:last-child { padding-right: 0; }
.review-quote {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 0.6;
  color: var(--orange);
  margin-bottom: 20px;
}
.stars { display: flex; gap: 5px; color: var(--orange); margin-bottom: 24px; }
.stars svg { width: 19px; height: 19px; }
.review-bars { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-bottom: 18px; }
.review-bars i { display: block; height: 13px; border-radius: var(--r-pill); background: #D9D3C5; width: 100%; }
.review-bars i.short { width: 62%; }
.review-text {
  margin: 0 0 22px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink);
  overflow-wrap: break-word;
}
.review-attr {
  width: 100%;
  margin-top: auto;
  border-top: 1px solid var(--rule-orange);
  padding-top: 14px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
}
.review-attr .dia { margin-right: 4px; }

/* ============ §11 FAQ ============ */
.faq { padding: 0 0 80px; background: var(--cream); }
.faq-container { position: relative; } /* fixed 2026-08-11: was max-width:950px, 250px narrower than header .container (1200px); FAQ answer readability kept via .faq-a's own 60em max-width */
.pulse-faq { position: absolute; top: 4px; right: 24px; width: 70px; height: 32px; }
.faq .h2 { border-bottom: 2px solid var(--orange); padding-bottom: 16px; }
.faq-item { border-bottom: 1px solid var(--rule-navy); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  transition: color var(--ease);
}
.faq-item summary:hover .faq-q { color: var(--orange); }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--orange);
  flex: 0 0 auto;
}
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 0 24px; max-width: 60em; color: var(--ink-soft); }
.faq-a strong { color: var(--ink); }

/* ============ §12 FINAL CTA ============ */
.final-cta { position: relative; background: var(--orange); padding: 88px 0; overflow: hidden; }
.final-cta .pulse-edge { color: var(--cream); opacity: 0.9; }
.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
}
.final-left { border-right: 1px solid var(--rule-cream); padding-right: 56px; }
.plate-cream {
  display: inline-block;
  background: var(--cream);
  color: var(--navy);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  margin-bottom: 26px;
}
.final-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cream-ink);
}
.final-text { color: var(--cream-ink); font-size: 1.2rem; margin-bottom: 28px; max-width: 30em; }

/* ============ §13 FOOTER ============ */
.site-footer { background: var(--navy); color: var(--cream-ink); padding: 64px 0 56px; }
.footer-logo { width: auto; height: 52px; margin-bottom: 30px; }
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 8px;
}
.footer-sub { color: var(--cream-soft); margin-bottom: 26px; }
.footer-rule { border: none; border-top: 2px solid var(--orange); margin: 0 0 22px; }
.footer-cities { font-size: 1rem; margin-bottom: 12px; }
.footer-regions { font-size: 1rem; margin-bottom: 20px; color: var(--cream-soft); }
.footer-regions a { color: var(--cream-ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--orange); transition: color var(--ease); }
.footer-regions a:hover { color: var(--orange); }
.footer-disclaimer { font-size: var(--fs-small); color: rgba(246, 241, 228, 0.5); max-width: 75em; }
.footer-copyright { font-size: var(--fs-small); color: rgba(246, 241, 228, 0.5); margin-top: 18px; }

/* ============ mobile call bar ============ */
.mobile-callbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 10px 14px;
  background: var(--navy);
  border-top: 2px solid var(--orange);
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1200px) {
  .hero-copy-inner, .commercial-copy-inner { max-width: none; padding-left: 24px; }
}

@media (max-width: 1024px) {
  .header-badges { display: none; }
  .header-tagline { display: none; }

  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-copy-inner { padding: 48px 32px 36px 24px; }
  .hero-media { min-height: 520px; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .trust-item:nth-child(3) { border-left: none; }

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

  .how-step { padding: 0 22px; }
  .step-num { font-size: 5rem; }

  .commercial { grid-template-columns: 1fr; }
  .commercial-copy-inner { padding: 56px 24px 48px; }
  .commercial-media { min-height: 0; padding: 48px 24px; }

  .why-frame { padding: 40px 36px 20px; }

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

  .area-grid { grid-template-columns: 1fr; }
  .area-copy { padding-right: 0; margin-bottom: 34px; }
  .area-cities { border-left: none; padding-left: 0; }
  .pulse-edge { display: none; }

  .review-slot { padding: 36px 22px 0; }

  .final-grid { grid-template-columns: 1fr; gap: 36px; }
  .final-left { border-right: none; padding-right: 0; }
}

@media (max-width: 760px) {
  body { padding-bottom: 68px; } /* место под mobile call bar */
  .mobile-callbar { display: block; }

  /* fixed 2026-08-11: vertical breathing room restored — was getting clobbered to 0
     by .container's shorthand `padding: 0 20px` below (same element has both classes,
     shorthand wins on source order); now padding-top/bottom set here explicitly + .container
     below uses padding-left/right only so it can never zero out header-inner's vertical padding again.
     revised same day (Vlad: +87% was way too much, wanted +10-15%): logo 40->38px,
     padding 16->10px, and the CTA label text is hidden below so the button is a short
     one-line phone number instead of 2 lines — that's what was driving the height up. */
  .header-inner { justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
  .header-logo img { height: 38px; }
  .header-cta-label { display: none; } /* "Call now — " hidden on mobile; full text kept via aria-label on the link */
  .header-cta .btn { font-size: var(--fs-small); padding: 8px 14px; line-height: 1.2; }

  /* mobile header is shorter than desktop's 73px — recalculated anchor buffer to match
     (was flat 88px sized for the old broken 99px mobile header) */
  #top, #what-we-fix, #how-it-works, #commercial, #why-us, #brands, #where-we-work, #reviews, #faq, #call {
    scroll-margin-top: 68px;
  }

  .hero { grid-template-columns: 1fr; }
  .hero-copy { width: 100%; max-width: 100%; min-width: 0; }
  .hero-copy-inner { padding: 40px 20px 32px; width: 100%; max-width: 100%; min-width: 0; }
  .hero-media { min-height: 0; aspect-ratio: 4 / 3; width: 100%; max-width: 100%; min-width: 0; }
  .hero-media .photo-slot-fill { position: absolute; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.5rem); overflow-wrap: anywhere; word-break: break-word; }
  .commercial-copy { width: 100%; max-width: 100%; min-width: 0; }
  .commercial-copy-inner { padding-left: 20px; padding-right: 20px; width: 100%; max-width: 100%; min-width: 0; }
  .commercial-media { width: 100%; max-width: 100%; min-width: 0; }

  .container { padding-left: 20px; padding-right: 20px; } /* fixed 2026-08-11: was shorthand `padding: 0 20px`, silently zeroed .header-inner's vertical padding (same element, later in cascade) */

  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-left: none; border-top: 1px solid var(--rule-navy); padding: 24px 8px; }
  .trust-item:first-child { border-top: none; }

  .fix-grid { grid-template-columns: 1fr; }

  .how-grid { grid-template-columns: 1fr; }
  .how-step { border-left: none; padding: 26px 0; border-top: 1px solid var(--rule-cream); }
  .how-step:first-child { border-top: none; padding-top: 0; }
  .step-num-row { max-width: 420px; }
  .step-num { font-size: 4.5rem; }

  .reviews-grid { grid-template-columns: 1fr; }
  .review-slot { border-left: none; padding: 36px 0 0; }

  .why-frame { padding: 30px 22px 12px; }
  .why-list li { flex-direction: row; gap: 14px; }

  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-cell { padding: 22px 8px; font-size: 1.2rem; }

  .final-cta { padding: 60px 0; }

  .footer-brand { font-size: 1.4rem; }
}

/* ===== 480px mobile: fix nowrap overflow on CTAs ===== */
@media (max-width: 480px) {
  /* phone number — kept as one atomic unit so it never splits mid-number when a
     button wraps to 2 lines (fixed 2026-08-11: was rendering "(770)" / "334-4410" on
     separate lines). Applies inside every multi-line CTA below. */
  .tel-num { white-space: nowrap; }

  /* hero CTA — was 461px wide due to white-space:nowrap; now wraps cleanly with the
     phone number whole on its own line, extra line-height/padding so 2-3 wrapped
     lines don't look cramped */
  .hero-cta-row .btn-lg {
    display: block;
    white-space: normal;
    text-align: center;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.4;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  /* header CTA — text is now just the phone number (label hidden at 760px), so it no
     longer needs the multi-line treatment; kept white-space:normal only as a safety net
     for extreme widths, WITHOUT the 1.4 line-height (that was inflating the header height
     back up — Vlad flagged 53->99px as too much, target is 58-61px) */
  .header-cta .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* final-cta pill button */
  .btn-navy-pill {
    white-space: normal;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    line-height: 1.4;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  /* mobile sticky call bar — same wrap principle, kept compact since it's always on screen */
  .mobile-callbar .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    line-height: 1.4;
  }

  /* badge-outline chips — allow wrap so they don't overflow */
  .badge-outline {
    white-space: normal;
  }

  /* commercial link-call — long text, allow wrap; phone stays whole via .tel-num */
  .commercial-cta .link-call {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

/* --- Vebdever 2026-08-18: scoped call-button contrast fix (WCAG AA) --- */
/* v2: also override border-color -- .btn-orange sets a 2px border in the ORIGINAL bright */
/* orange (border: 2px solid transparent from .btn, colored by .btn-orange); missed in v1, */
/* confirmed by real-pixel remeasurement (worst-decile pixels sat exactly on the border ring). */
.btn.btn-orange { background: #B7420B; border-color: #B7420B; }
.accent-orange.link-call { color: #B7420B; }
.accent-orange.link-call:hover { color: #B7420B; }
