/* ==========================================================================
   FixChip — Клинцы. Дизайн-система.
   Чистый CSS, без фреймворков. Все анимации на transform/opacity (GPU).
   ========================================================================== */

/* --- Токены ------------------------------------------------------------- */
:root {
  --bg:        #0a0c10;
  --bg-2:      #0f131a;
  --bg-3:      #141922;
  --surface:   rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line:      rgba(255, 255, 255, .09);
  --line-2:    rgba(255, 255, 255, .16);

  --text:      #e9edf3;
  --muted:     #97a2b2;
  --muted-2:   #6d7889;

  --brand:     #ff2e3f;
  --brand-2:   #ff6a3d;
  --brand-dim: rgba(255, 46, 63, .12);
  --accent:    #35d6c6;

  --grad-brand: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  --grad-text:  linear-gradient(100deg, #fff 20%, #b9c2d1 100%);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow:    0 18px 50px -20px rgba(0, 0, 0, .85);
  --shadow-br: 0 18px 45px -18px rgba(255, 46, 63, .55);

  --wrap: 1180px;
  --gut:  clamp(16px, 4vw, 32px);
  --sec:  clamp(64px, 9vw, 120px);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- Сброс -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* --- Утилиты ------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sec  { padding-block: var(--sec); position: relative; }
.sec--tight { padding-block: clamp(48px, 6vw, 80px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

h1, .h1 { font-size: clamp(30px, 5.6vw, 62px); }
h2, .h2 { font-size: clamp(26px, 3.8vw, 44px); }
h3, .h3 { font-size: clamp(19px, 2vw, 24px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 62ch; }

.grad {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad-brand);
}

.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head.center { margin-inline: auto; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center .lead { margin-inline: auto; }

/* --- Кнопки ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px; border: 1px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-br); }
.btn--primary:hover { box-shadow: 0 22px 55px -16px rgba(255, 46, 63, .75); }

.btn--ghost { background: var(--surface); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--brand); }

.btn--tg { background: #29a9eb; color: #fff; box-shadow: 0 18px 45px -18px rgba(41, 169, 235, .6); }
.btn--tg:hover { background: #1e9ade; }

.btn--sm { padding: 11px 20px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* --- Шапка -------------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 90;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.hdr.is-stuck {
  background: rgba(10, 12, 16, .82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.hdr__in { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); height: 72px; min-width: 0; }

.logo { display: flex; align-items: baseline; font-weight: 900; font-size: 24px; letter-spacing: -.03em; flex: none; }
.logo b { color: #fff; font-weight: 900; }
.logo i { color: var(--brand); font-style: normal; }

.nav { margin-left: auto; min-width: 0; }
.nav ul { display: flex; align-items: center; flex-wrap: nowrap; gap: clamp(2px, .8vw, 14px); }
.nav a {
  display: block; padding: 9px 10px; font-size: 15px; font-weight: 600; color: var(--muted);
  border-radius: 8px; transition: color .2s, background-color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: var(--surface); }
.nav a[aria-current="page"] { color: var(--brand); }

.hdr__cta { display: flex; align-items: center; gap: 10px; flex: none; }
.hdr__tel { font-weight: 800; font-size: 17px; white-space: nowrap; transition: color .2s; }
.hdr__tel:hover { color: var(--brand); }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--surface); cursor: pointer; padding: 0; place-items: center; flex: none;
}
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.burger span + span { margin-top: 4px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1200px) {
  .hdr__in { height: 64px; }
  .burger { display: grid; order: 3; }
  .hdr__cta .btn { display: none; }
  .nav {
    position: fixed; inset: 64px 0 auto; margin: 0;
    background: rgba(10, 12, 16, .97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .38s var(--ease);
  }
  .nav.is-open { max-height: min(78vh, 640px); overflow-y: auto; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 22px; }
  .nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
}
@media (max-width: 560px) {
  .hdr__tel { display: none; }
}

/* --- Параллакс-слои ----------------------------------------------------- */
.px { will-change: transform; pointer-events: none; }

.hero {
  position: relative; isolation: isolate; overflow: clip;
  padding-block: clamp(56px, 9vw, 110px) clamp(64px, 10vw, 130px);
}
.hero__bg { position: absolute; inset: -12% -5% -22%; z-index: -3; }
.hero__bg img, .hero__bg svg { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero__glow {
  position: absolute; z-index: -2; border-radius: 50%; filter: blur(90px); opacity: .5;
  pointer-events: none;
}
.hero__glow--a { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; top: -14%; right: -8%; background: radial-gradient(circle, rgba(255,46,63,.55), transparent 68%); }
.hero__glow--b { width: 40vw; height: 40vw; max-width: 520px; max-height: 520px; bottom: -22%; left: -12%; background: radial-gradient(circle, rgba(53,214,198,.32), transparent 68%); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, transparent 40%, var(--bg) 100%);
}

.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__art { order: -1; max-width: 420px; margin-inline: auto; } }

.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 100px; border: 1px solid var(--line-2);
  background: var(--surface); font-size: 14px; font-weight: 600; color: var(--muted);
}
.chip svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.chip--star svg { color: #ffc531; }

.hero__art { position: relative; }
.hero__art > * { display: block; width: 100%; }

/* Компактная шапка внутренних страниц */
.hero--page { padding-block: clamp(18px, 3vw, 34px) clamp(46px, 7vw, 84px); }
.hero--page .crumbs { padding-top: 0; margin-bottom: 22px; }
.hero--page h1 { margin-bottom: 18px; max-width: 22ch; }
.hero--page .lead { max-width: 68ch; margin-bottom: 26px; }
.hero--page .hero__chips { margin-bottom: 26px; }

/* --- Плашка фактов ------------------------------------------------------ */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.facts > div { background: var(--bg-2); padding: clamp(20px, 3vw, 30px) clamp(14px, 2vw, 24px); text-align: center; }
.facts dt { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }
.facts dd { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.4; }
@media (max-width: 720px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* --- Карточки услуг ----------------------------------------------------- */
/* 3 колонки: 9 услуг ложатся в 3 ряда, смежные услуги — в 1 ряд */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }   /* страница 404 */
@media (max-width: 1000px) { .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .cards, .cards--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(24px, 2.6vw, 32px); border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 46, 63, .14), transparent 65%);
  transition: opacity .35s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(255, 46, 63, .4); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }

.card__ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand-dim); border: 1px solid rgba(255, 46, 63, .25); margin-bottom: 20px; flex: none;
}
.card__ico svg { width: 28px; height: 28px; color: var(--brand); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.card ul { margin-bottom: 20px; display: grid; gap: 7px; }
.card ul li { position: relative; padding-left: 22px; font-size: 15px; color: var(--muted); }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--brand); opacity: .75;
}
.card__more {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--brand);
}
.card__more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .card__more svg { transform: translateX(5px); }
.card__link { position: absolute; inset: 0; z-index: 2; }

/* --- Преимущества ------------------------------------------------------- */
/* 3 колонки: 6 преимуществ ложатся ровно в 2 ряда */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); }
@media (max-width: 1000px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .feats { grid-template-columns: 1fr; } }
.feat { display: flex; gap: 16px; }
.feat__ico { width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); }
.feat__ico svg { width: 23px; height: 23px; color: var(--accent); }
.feat h3 { font-size: 17px; margin-bottom: 6px; }
.feat p { font-size: 15px; color: var(--muted); margin: 0; }

/* --- Шаги --------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(18px, 2.4vw, 30px); counter-reset: s; }
.step { position: relative; padding-top: 26px; counter-increment: s; }
.step::before {
  content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--brand), transparent);
}
.step::after {
  content: "0" counter(s);
  position: absolute; top: -14px; left: 0;
  font-size: 13px; font-weight: 900; letter-spacing: .08em; color: var(--brand);
  background: var(--bg); padding-right: 12px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }

/* --- Параллакс-разделитель --------------------------------------------- */
.band { position: relative; isolation: isolate; overflow: clip; border-block: 1px solid var(--line); }
.band__bg { position: absolute; inset: -25% 0; z-index: -2; opacity: .3; }
.band__bg img, .band__bg svg { width: 100%; height: 130%; object-fit: cover; }
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--bg) 5%, rgba(10, 12, 16, .62) 50%, var(--bg) 95%);
}
.band__in { padding-block: clamp(56px, 8vw, 100px); text-align: center; }
.band h2 { margin-bottom: 14px; }
.band .lead { margin-inline: auto; margin-bottom: 28px; }
.band .btn-row { justify-content: center; }

/* --- Отзывы ------------------------------------------------------------- */
.revs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.rev {
  display: flex; flex-direction: column;
  padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r-lg);
  background: var(--bg-2); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.rev:hover { transform: translateY(-5px); border-color: var(--line-2); }
.rev__stars { display: flex; gap: 3px; margin-bottom: 14px; color: #ffc531; }
.rev__stars svg { width: 17px; height: 17px; }
.rev blockquote { margin: 0 0 18px; font-size: 15.5px; color: var(--text); line-height: 1.6; }
.rev figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.rev__ava {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--grad-brand); color: #fff; font-weight: 800; font-size: 16px;
}
.rev__who { font-weight: 700; font-size: 15px; }
.rev__src { font-size: 13px; color: var(--muted-2); }

/* --- FAQ ---------------------------------------------------------------- */
.faq { max-width: 840px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.faq details[open] { border-color: rgba(255, 46, 63, .35); background: var(--bg-3); }
.faq summary {
  display: flex; align-items: center; gap: 16px; cursor: pointer; list-style: none;
  padding: 20px clamp(18px, 2.4vw, 26px); font-weight: 700; font-size: clamp(16px, 1.4vw, 18px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; margin-left: auto; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq .faq__a { padding: 0 clamp(18px, 2.4vw, 26px) 22px; color: var(--muted); font-size: 15.5px; }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* --- Контакты ----------------------------------------------------------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 3vw, 44px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.cinfo { display: grid; gap: 4px; }
.cinfo__row { display: flex; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.cinfo__row:last-of-type { border-bottom: 0; }
.cinfo__ico { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--brand-dim); border: 1px solid rgba(255, 46, 63, .22); }
.cinfo__ico svg { width: 20px; height: 20px; color: var(--brand); }
.cinfo dt { font-size: 13px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .07em; font-weight: 700; margin-bottom: 3px; }
.cinfo dd { margin: 0; font-size: 17px; font-weight: 600; }
.cinfo dd a:hover { color: var(--brand); }
.cinfo dd small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 2px; }

.map {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2);
  aspect-ratio: 16 / 11; min-height: 320px;
}
.map iframe { width: 100%; height: 100%; border: 0; }
.map__stub { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px; cursor: pointer; border: 0; background: transparent; width: 100%; }
.map__stub svg { width: 46px; height: 46px; color: var(--brand); }
@media (max-width: 500px) { .map { aspect-ratio: 4 / 5; } }

/* --- Подвал ------------------------------------------------------------- */
.ftr { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: clamp(44px, 6vw, 68px) 28px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: clamp(24px, 3vw, 44px); margin-bottom: 40px; }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr__grid { grid-template-columns: 1fr; } }
.ftr h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); margin-bottom: 16px; }
.ftr li + li { margin-top: 9px; }
.ftr a { color: var(--muted); font-size: 15px; transition: color .2s; }
.ftr a:hover { color: var(--brand); }
.ftr__about p { font-size: 15px; color: var(--muted); max-width: 34ch; }
.ftr__bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted-2);
}

/* --- Плавающая кнопка (мобильные) --------------------------------------- */
.fab {
  position: fixed; left: var(--gut); right: var(--gut); bottom: 14px; z-index: 80;
  display: none; gap: 10px;
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.fab.is-on { transform: translateY(0); }
.fab .btn { flex: 1; padding-block: 15px; box-shadow: 0 12px 34px -10px rgba(0, 0, 0, .9); }
@media (max-width: 720px) { .fab { display: flex; } body { padding-bottom: 76px; } }

/* --- Крошки ------------------------------------------------------------- */
.crumbs { padding-block: 20px 0; font-size: 14px; color: var(--muted-2); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }

/* --- Типографика статей ------------------------------------------------- */
.prose { max-width: 800px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; font-size: clamp(18px, 1.8vw, 22px); }
.prose p, .prose li { color: var(--muted); }
.prose ul:not(.reset) { display: grid; gap: 10px; margin-bottom: 1.4em; }
.prose ul:not(.reset) li { position: relative; padding-left: 26px; }
.prose ul:not(.reset) li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px;
  border-radius: 2px; background: var(--grad-brand); transform: rotate(45deg);
}
.prose strong { color: var(--text); font-weight: 700; }
.prose a:not(.btn) { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* Двухколоночный список неисправностей */
.issues { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.issue {
  display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2);
  font-size: 15.5px; transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.issue:hover { border-color: rgba(255, 46, 63, .35); transform: translateX(3px); }
.issue svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 2px; }

/* Компактный CTA внутри статьи */
.inline-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px;
  padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(255, 46, 63, .13), rgba(255, 106, 61, .05));
  border: 1px solid rgba(255, 46, 63, .28); margin-block: 2em;
}
.inline-cta > div { flex: 1 1 260px; }
.inline-cta h3 { margin-bottom: 6px; }
.inline-cta p { margin: 0; color: var(--muted); font-size: 15px; }

/* --- Reveal-анимации ----------------------------------------------------
   Прячем блоки ТОЛЬКО если JS жив (класс .js ставится инлайн в <head>).
   Если скрипт заблокирован или не загрузился — контент виден как обычно. */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }
.rv-d4 { transition-delay: .32s; }
.rv-d5 { transition-delay: .40s; }

/* --- Уважение к настройкам доступности ---------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .js .rv, .rv { opacity: 1; transform: none; }
  .px { transform: none !important; }
}

/* --- Печать ------------------------------------------------------------- */
@media print {
  body { background: #fff; color: #000; }
  .hdr, .fab, .band, .map, .ftr__grid { display: none; }
}
