﻿/* =============================================================
   Veles вЂ” СЃС‚СѓРґРёСЏ РѕРґРЅРѕСЃС‚СЂР°РЅРёС‡РЅС‹С… СЃР°Р№С‚РѕРІ, РЎР°РјР°СЂР°
   1. РўРѕРєРµРЅС‹, СЃР±СЂРѕСЃ, С‚РёРїРѕРіСЂР°С„РёРєР°, РєРѕРЅС‚РµР№РЅРµСЂ, РєРЅРѕРїРєРё, С„РѕСЂРјС‹
   ============================================================= */

/* РђС‚СЂРёР±СѓС‚ hidden РѕР±СЏР·Р°РЅ СЃРєСЂС‹РІР°С‚СЊ: РїСЂР°РІРёР»Рѕ РєР»Р°СЃСЃР° СЃ display РїРµСЂРµР±РёРІР°РµС‚
   Р±СЂР°СѓР·РµСЂРЅРѕРµ [hidden]{display:none}, Рё СЃРєСЂС‹С‚С‹Р№ Р±Р»РѕРє РѕСЃС‚Р°С‘С‚СЃСЏ РІРёРґРёРјС‹Рј. */
[hidden] { display: none !important; }

:root {
  /* РџР°Р»РёС‚СЂР° */
  --cream:      #FCE9D5;
  --cream-deep: #F8DFC4;
  --red:        #EE3629;
  --red-bright: #F03F39;
  --red-deep:   #C9271B;
  --red-dark:   #A81F14;
  --orange:     #FE9C42;
  --orange-mid: #F5722F;
  --dusty:      #D2A8A4;
  --lilac:      #C9C0E8;
  --ink:        #14100E;
  --ink-soft:   #4A3A33;
  --white:      #FFFFFF;

  /* Р“СЂР°РґРёРµРЅС‚С‹.
     Р’РµСЂС…РЅРёР№ СЃР»РѕР№ вЂ” СЂРѕРІРЅР°СЏ РІСѓР°Р»СЊ С†РІРµС‚Р° --ink: Р±РµР· РЅРµС‘ Р±РµР»С‹Р№ С‚РµРєСЃС‚ РЅР° СЃРІРµС‚Р»РѕР№
     (РѕСЂР°РЅР¶РµРІРѕ-СЂРѕР·РѕРІРѕР№ Рё СЃРёСЂРµРЅРµРІРѕР№) С‡Р°СЃС‚Рё РіСЂР°РґРёРµРЅС‚Р° РґР°С‘С‚ 1.8вЂ“2.1:1 РІРјРµСЃС‚Рѕ 4.5. */
  --grad-hero:
    linear-gradient(rgba(20, 16, 14, .42), rgba(20, 16, 14, .42)),
    linear-gradient(96deg, #EE3629 0%, #F5722F 45%, #FE9C42 72%, #D2A8A4 100%);
  --grad-pill:
    linear-gradient(rgba(20, 16, 14, .42), rgba(20, 16, 14, .42)),
    linear-gradient(90deg, #EE3629, #F5722F 55%, #C9C0E8);
  --grad-foot: linear-gradient(180deg, #C9271B, #A81F14);

  /* РЁСЂРёС„С‚С‹ */
  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Courier New', monospace;

  /* РЎРµС‚РєР° */
  --container: 1240px;
  --column: 1060px;
  --pad-x: 24px;
  --gap-cards: 20px;
  --gap-cases: 24px;
  --gap-cols: 48px;
  --section-y: 56px;
  --band-y: 64px;

  /* РџРµСЂРІС‹Р№ СЌРєСЂР°РЅ: РѕР±С‰Р°СЏ РІС‹СЃРѕС‚Р° РґР»СЏ С€Р°РїРєРё, С‚Р°Р±Р»РµС‚РєРё Рё РіРµСЂРѕРµРІ */
  --first-screen: clamp(430px, 58vh, 560px);

  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-chip: 6px;

  --dash-cream: 2px dashed rgba(20, 16, 14, .22);
  --dash-white: 2px dashed rgba(255, 255, 255, .55);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
iframe { display: block; max-width: 100%; }

img {
  height: auto;
  border-radius: var(--radius-card);
  filter: saturate(1.05);
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.015em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 5.4vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.05; }
h4 { font-size: 1.15rem; line-height: 1.15; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* --red-deep РЅР° --cream-deep РґР°С‘С‚ 4.31:1 вЂ” РґР»СЏ РјРµР»РєРѕРіРѕ С‚РµРєСЃС‚Р° Р±РµСЂС‘Рј --red-dark (5.7:1). */
a { color: var(--red-dark); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--ink); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

hr { border: 0; }

strong, b { font-weight: 600; color: var(--ink); }

::selection { background: var(--red-deep); color: var(--cream); }

/* --- РЎР»СѓР¶РµР±РЅРѕРµ ------------------------------------------------ */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--cream);
  font-size: 14px;
}
.skip-link:focus { left: 12px; top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- РљРѕРЅС‚РµР№РЅРµСЂ Рё СЃРµРєС†РёРё --------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.column {
  width: 100%;
  max-width: var(--column);
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }
.section--band { padding-block: var(--band-y); }

/* РЎРѕСЃРµРґРЅРёРµ СЃРµРєС†РёРё РѕРґРЅРѕРіРѕ С„РѕРЅР°: С„РёР»СЊС‚СЂС‹ вЂ” СЃРµС‚РєР° вЂ” РїР°РіРёРЅР°С†РёСЏ С‡РёС‚Р°СЋС‚СЃСЏ РєР°Рє РѕРґРёРЅ Р±Р»РѕРє. */
.section--tight-top    { padding-top: 0; }
.section--tight-bottom { padding-bottom: 28px; }

.section--cream      { background: var(--cream); }
.section--cream-deep { background: var(--cream-deep); }
.section--red        { background: var(--red-deep); color: var(--white); }
.section--grad       { background: var(--grad-hero); color: var(--white); }

.section--red h1, .section--red h2, .section--red h3,
.section--grad h1, .section--grad h2, .section--grad h3 { color: var(--white); }

.rule { height: 0; border-top: var(--dash-cream); }
.rule--white { border-top: var(--dash-white); }

/* --- РўРёРїРѕРіСЂР°С„РёС‡РµСЃРєРёРµ СЂРѕР»Рё ------------------------------------- */

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--red-dark);
}
.section--red .eyebrow,
.section--grad .eyebrow { color: var(--cream); }

.overline {
  display: block;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--red-dark);
}
.section--red .overline,
.section--grad .overline,
.page-hero .overline,
.error-block .overline,
.modal__panel .overline,
.contact-box__form .overline { color: var(--white); }

.lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.section--red .lead,
.section--grad .lead { color: var(--white); }

.caption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--red-dark);
}
.section--red .num { color: var(--cream); }

.figure-big {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--ink);
}

/* --- РљРЅРѕРїРєРё --------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border: 0;
  border-radius: var(--radius-btn);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: background-color .2s ease, color .2s ease, transform .12s ease;
}

.btn__arrow {
  display: inline-flex;
  transition: transform .2s ease;
}

.btn--primary {
  background: var(--red-deep);
  color: var(--white);
}
.btn--primary:hover { background: var(--red-dark); color: var(--white); }
.btn--primary:hover .btn__arrow { transform: translate(3px, -3px); }
.btn--primary:hover .btn__arrow--flat { transform: translateX(3px); }
.btn--primary:active { transform: translateY(1px); }

.btn--secondary {
  background: transparent;
  border: 2px solid var(--red);
  border-radius: 10px;
  padding: 16px 26px;
  color: var(--cream);
}
.btn--secondary:hover { background: rgba(238, 54, 41, .9); color: var(--white); }
.btn--secondary:hover .btn__arrow { transform: translate(3px, -3px); }
.btn--secondary:hover .btn__arrow--flat { transform: translateX(3px); }
.btn--secondary:active { transform: translateY(1px); }

.btn--tertiary {
  background: var(--red);
  color: var(--white);
}
.btn--tertiary:hover { background: var(--red-deep); color: var(--white); }
.btn--tertiary:hover .btn__arrow { transform: translate(3px, -3px); }
.btn--tertiary:hover .btn__arrow--flat { transform: translateX(3px); }
.btn--tertiary:active { transform: translateY(1px); }

.btn--wide { width: 100%; justify-content: center; }

/* --- Р§РёРїС‹ Рё С‚РµРіРё ---------------------------------------------- */

.chip {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(20, 16, 14, .18);
  border-radius: var(--radius-chip);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.chip:hover { border-color: var(--red-deep); color: var(--red-deep); }
.chip.is-active,
.chip[aria-pressed="true"] {
  background: var(--red-deep);
  border-color: var(--red-deep);
  color: var(--white);
}

.chip--static { cursor: default; }
.chip--static:hover { border-color: rgba(20, 16, 14, .18); color: var(--ink-soft); }

.section--red .chip,
.section--grad .chip {
  border-color: rgba(255, 255, 255, .5);
  color: var(--white);
}
.section--red .chip:hover,
.section--grad .chip:hover { background: rgba(255, 255, 255, .16); color: var(--white); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips li { margin: 0; }

/* --- Р¤РѕСЂРјС‹ ---------------------------------------------------- */

.field { margin-bottom: 18px; }

.field__label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--white);
}

.field__input,
.field__textarea {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, .65);
  border-radius: var(--radius-chip);
  background: rgba(20, 16, 14, .28);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.5;
  color: var(--white);
  transition: background-color .2s ease, border-color .2s ease;
}
.field__textarea { min-height: 120px; resize: vertical; }

.field__input::placeholder,
.field__textarea::placeholder { color: rgba(255, 255, 255, .82); }

.field__input:hover,
.field__textarea:hover { background: rgba(20, 16, 14, .36); }

.field__input:focus,
.field__textarea:focus {
  outline: 2px solid var(--white);
  outline-offset: 2px;
  background: rgba(20, 16, 14, .42);
  border-bottom-color: var(--white);
}

.field__req { color: var(--cream); }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 20px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--white);
}
.consent input {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--red-deep);
}
.consent a { color: var(--white); }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form__status {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--white);
}

/* --- РЁС‚Р°РјРї ---------------------------------------------------- */

.stamp { width: 132px; height: 132px; color: var(--cream); }
.stamp__svg { width: 132px; height: 132px; }
.stamp__ring {
  transform-origin: 66px 66px;
  animation: stamp-spin 22s linear infinite;
}
.stamp__text {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@keyframes stamp-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* --- РҐР»РµР±РЅС‹Рµ РєСЂРѕС€РєРё ------------------------------------------- */

.crumbs { margin-bottom: 22px; }
.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.crumbs__item { display: flex; align-items: center; gap: 8px; margin: 0; }
.crumbs__link,
.crumbs__current,
.crumbs__sep {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--white);
}
.crumbs__link { text-decoration: none; opacity: .85; }
.crumbs__link:hover { opacity: 1; color: var(--white); text-decoration: underline; }
.crumbs__sep { opacity: .6; }
.crumbs__current { opacity: 1; }

/* =============================================================
   2. РЁР°РїРєР°, РЅР°РІРёРіР°С†РёСЏ, Р±СѓСЂРіРµСЂ, РјРѕР±РёР»СЊРЅРѕРµ РјРµРЅСЋ, РїРѕРґРІР°Р»
   ============================================================= */

/* РћР±РѕР»РѕС‡РєР° РїРµСЂРІРѕРіРѕ СЌРєСЂР°РЅР°: РґРµСЂР¶РёС‚ СѓС‚РёР»РёС‚Р°СЂРЅСѓСЋ СЃС‚СЂРѕРєСѓ СЃРІРµСЂС…Сѓ
   Рё РїР»Р°РІР°СЋС‰СѓСЋ С‚Р°Р±Р»РµС‚РєСѓ-РјРµРЅСЋ Сѓ РЅРёР¶РЅРµР№ РєСЂРѕРјРєРё. */
.site-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--first-screen);
  z-index: 40;
  pointer-events: none;
}
.page--home .site-top { height: 100svh; }
.site-top > * { pointer-events: auto; }

/* --- РЇСЂСѓСЃ 1: СѓС‚РёР»РёС‚Р°СЂРЅР°СЏ СЃС‚СЂРѕРєР° ------------------------------- */

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: transparent;
  color: var(--white);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: var(--container);
  height: 64px;
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.topbar__note {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}
.topbar__note svg { flex: 0 0 auto; }

.topbar__whisker {
  display: none;
  flex: 1 1 auto;
  max-width: 220px;
  height: 0;
  border-top: 2px dashed rgba(255, 255, 255, .7);
}

.brand {
  flex: 0 0 auto;
  display: block;
  text-align: center;
  text-decoration: none;
  color: var(--white);
}
.brand:hover { color: var(--white); }

.brand__word {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--white);
}

.brand__sub {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--white);
  opacity: .9;
}

/* --- Р‘СѓСЂРіРµСЂ --------------------------------------------------- */

.burger {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.burger__line {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}
.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- РЇСЂСѓСЃ 2: РїР»Р°РІР°СЋС‰Р°СЏ С‚Р°Р±Р»РµС‚РєР°-РјРµРЅСЋ -------------------------- */

.pill {
  display: none;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 2 * var(--pad-x));
  padding: 18px 34px;
  border-radius: 14px;
  background: var(--grad-pill);
  box-shadow: none;
  transition: padding .2s ease, background .2s ease, border-radius .2s ease;
}

.pill__list {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pill__item { margin: 0; }

.pill__link {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .18s ease;
}
.pill__link:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.pill__link.is-active {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

/* РџСЂРёР»РёРїС€РµРµ СЃРѕСЃС‚РѕСЏРЅРёРµ вЂ” СЃРїР»РѕС€РЅРѕР№ РєСЂР°СЃРЅС‹Р№, Р±РµР· С‚РµРЅРµР№. */
.pill.is-stuck {
  position: fixed;
  top: 12px;
  bottom: auto;
  padding: 13px 28px;
  border-radius: 12px;
  background: var(--red-deep);
  z-index: 60;
}

.pill-sentinel {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 1px;
}

/* --- РњРѕР±РёР»СЊРЅР°СЏ РїР°РЅРµР»СЊ ----------------------------------------- */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.drawer[hidden] { display: none; }

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 14, .55);
  opacity: 0;
  transition: opacity .25s ease;
}
.drawer.is-open .drawer__backdrop { opacity: 1; }

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(360px, 88vw);
  height: 100%;
  padding: 20px 24px 32px;
  background: var(--grad-foot);
  color: var(--cream);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .28s ease;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
}

.drawer__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  color: var(--white);
}

.drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-btn);
  background: rgba(252, 233, 213, .16);
  color: var(--cream);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.drawer__close:hover { background: var(--cream); color: var(--red-deep); }

.drawer__nav { margin-top: 28px; }
.drawer__list { margin: 0; padding: 0; list-style: none; }
.drawer__list li { margin: 0; border-bottom: 2px dashed rgba(252, 233, 213, .35); }

.drawer__link {
  display: block;
  padding: 14px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: var(--cream);
  text-decoration: none;
}
.drawer__link:hover,
.drawer__link.is-active { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

.drawer__foot { margin-top: auto; padding-top: 32px; }

.drawer__phone {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
  color: var(--white);
  text-decoration: none;
}
.drawer__phone:hover { color: var(--white); text-decoration: underline; }

.drawer__mail {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--cream);
  text-decoration: none;
}
.drawer__mail:hover { color: var(--white); text-decoration: underline; }

.drawer__addr {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--cream);
  opacity: .9;
}

/* --- РџРѕРґРІР°Р» --------------------------------------------------- */

.footer {
  position: relative;
  padding-block: var(--band-y);
  background: var(--grad-foot);
  color: var(--cream);
  overflow: hidden;
}

/* РџРµС‡Р°С‚СЊ СЃС‚РѕРёС‚ РІ РЅРёР¶РЅРµР№ СЃС‚СЂРѕРєРµ РїРѕРґРІР°Р»Р° РѕР±С‹С‡РЅС‹Рј СЌР»РµРјРµРЅС‚РѕРј РїРѕС‚РѕРєР°:
   РІ absolute-РІР°СЂРёР°РЅС‚Рµ РѕРЅР° РЅР°РµР·Р¶Р°Р»Р° РЅР° СЃС‚СЂРѕРєСѓ РєРѕРїРёСЂР°Р№С‚Р° РЅР° РІСЃРµС… С€РёСЂРёРЅР°С… РґРѕ 1560px. */
.footer__stamp {
  display: none;
  flex: 0 0 auto;
  color: var(--cream);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer__logo {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  color: var(--white);
}

.footer__descriptor {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
  line-height: 1.5;
  color: var(--cream);
}

.footer__geo {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--cream);
  opacity: .92;
}

.footer__col--nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.footer__list { margin: 0; padding: 0; list-style: none; }
.footer__list li { margin-bottom: 10px; }

.footer__link {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.5;
  color: var(--cream);
  text-decoration: none;
}
.footer__link:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer__col--contacts { font-style: normal; }

.footer__phone {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.05;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.footer__phone:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

.footer__mail {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--cream);
  text-decoration: none;
}
.footer__mail:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

.footer__addr {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--cream);
  opacity: .92;
}

.footer__rule {
  margin: 40px 0 24px;
  height: 0;
  border-top: 2px dashed rgba(252, 233, 213, .45);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer__copy {
  margin: 0;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--cream);
}

.footer__social {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__social li { margin: 0; }

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-btn);
  background: rgba(252, 233, 213, .16);
  color: var(--cream);
  transition: background-color .2s ease, color .2s ease;
}
.social:hover { background: var(--cream); color: var(--red-deep); }

/* =============================================================
   3. РЎРµРєС†РёРё
   ============================================================= */

/* --- Р“РµСЂРѕР№ РіР»Р°РІРЅРѕР№ -------------------------------------------- */

.hero-home {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  padding: 104px 0 132px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.hero-home__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.hero-home__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 14, .68) 0%, rgba(20, 16, 14, .62) 45%, rgba(20, 16, 14, .82) 100%);
}

.hero-home__inner { position: relative; z-index: 2; }

.hero-home__years {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-home__title {
  max-width: 15ch;
  margin: 0 0 22px;
  color: var(--white);
}

.hero-home__lead {
  max-width: 52ch;
  margin: 0 0 30px;
  color: var(--white);
}

/* --- Р“РµСЂРѕР№ РІРЅСѓС‚СЂРµРЅРЅРёС… СЃС‚СЂР°РЅРёС† --------------------------------- */

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--first-screen);
  padding: 104px 0 116px;
  background: var(--grad-hero);
  color: var(--white);
  overflow: hidden;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.page-hero__title { max-width: 18ch; margin: 0 0 18px; color: var(--white); }
.page-hero__lead { max-width: 58ch; margin: 0; color: var(--white); }

.page-hero__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 30px;
}

.fact-card {
  padding: 24px;
  border: 1px dashed rgba(255, 255, 255, .55);
  border-radius: 10px;
  text-align: center;
  background: transparent;
}
.fact-card__title {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--white);
}
.fact-card__value {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--white);
}

/* РџРѕРІС‘СЂРЅСѓС‚С‹Р№ С„РѕС‚РѕРєРѕР»Р»Р°Р¶ */
.collage {
  position: relative;
  min-height: 260px;
}
.collage__item {
  position: absolute;
  width: 54%;
  border-radius: var(--radius-card);
  object-fit: cover;
}
.collage__item:nth-child(1) { top: 0;    left: 0;   transform: rotate(-5deg); z-index: 1; }
.collage__item:nth-child(2) { top: 12%;  right: 0;  transform: rotate(3deg);  z-index: 3; }
.collage__item:nth-child(3) { bottom: 0; left: 14%; transform: rotate(-2deg); z-index: 2; }

/* --- РџРѕР»РѕСЃР°-РёРЅС‚СЂРѕ РЅР° РіР»Р°РІРЅРѕР№ ---------------------------------- */

.intro-band { position: relative; overflow: hidden; }

.intro-band__title {
  max-width: 16ch;
  margin: 0 0 8px;
}

.intro-band__shots {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: -6px;
}
.intro-band__shot { border-radius: var(--radius-card); object-fit: cover; }
.intro-band__shot:nth-child(2) { margin-top: -28px; }
.intro-band__shot:nth-child(3) { margin-top: 14px; }

/* --- SEO-С‚РµРєСЃС‚ ------------------------------------------------ */

.seo-text__body { max-width: 720px; }
.seo-text__body p { font-size: 16px; line-height: 1.8; }

/* --- РЎРµРєС†РёСЏ-Р°РєРєРѕСЂРґРµРѕРЅ СѓСЃР»СѓРі ----------------------------------- */

.acc { margin: 0; padding: 0; list-style: none; }
.acc__item { margin: 0; border-top: var(--dash-cream); }
.acc__item:last-child { border-bottom: var(--dash-cream); }

.acc__head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  padding: 28px 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.acc__icon { flex: 0 0 auto; color: var(--red-deep); }

.acc__heading {
  flex: 1 1 auto;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--ink);
}

.acc__toggle {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--red-deep);
  transition: transform .25s ease;
}
.acc__head[aria-expanded="true"] .acc__toggle { transform: rotate(45deg); }

.acc__panel { overflow: hidden; }
.acc__panel[hidden] { display: none; }

.acc__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 0 0 30px;
}
.acc__text { margin: 0; }
.acc__text p { margin-bottom: .9em; }

/* --- РЎРµС‚РєР° РєРµР№СЃРѕРІ --------------------------------------------- */

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-cases);
  margin: 0;
  padding: 0;
  list-style: none;
}
.cases-grid li { margin: 0; }

.case-card { display: block; }
.case-card__media { position: relative; }
.case-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
}
.case-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--red-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--cream);
}
.case-card__title { margin: 18px 0 8px; font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.case-card__result { margin: 0; font-size: 16px; line-height: 1.7; }

.section-more { margin-top: 40px; text-align: center; }

/* Р¤РёР»СЊС‚СЂ РєРµР№СЃРѕРІ */
.cases-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.case-item.is-hidden { display: none; }

/* --- РЎРµС‚РєР° СЃС‚Р°С‚РµР№ --------------------------------------------- */

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-cards);
  margin: 0;
  padding: 0;
  list-style: none;
}
.articles-grid li { margin: 0; }

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.article-card__media { position: relative; }
.article-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-card);
}
.article-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--red-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--cream);
}
.article-card__date {
  display: block;
  margin: 16px 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-soft);
}
.article-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink);
}
.article-card:hover .article-card__title { color: var(--red-deep); }

.blog-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }

/* РџР°РіРёРЅР°С†РёСЏ */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.pager li { margin: 0; }
.pager__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-chip);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
}
.pager__link:hover { background: rgba(20, 16, 14, .06); color: var(--red-deep); }
.pager__link.is-current { color: var(--red-deep); font-weight: 600; }

/* --- РўР°СЂРёС„РЅС‹Рµ РєР°СЂС‚РѕС‡РєРё ---------------------------------------- */

.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-cards);
  margin: 0;
  padding: 0;
  list-style: none;
}
.price-grid li { margin: 0; }

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: none;
}
.section--red .card,
.section--grad .card,
.section--cream-deep .card { background: var(--cream); }

/* РљР°СЂС‚РѕС‡РєР° РІРЅСѓС‚СЂРё С†РІРµС‚РЅРѕР№ СЃРµРєС†РёРё СЃРІРµС‚Р»Р°СЏ вЂ” Р±РµР»С‹Р№ С†РІРµС‚ СЃРµРєС†РёРё РІРЅСѓС‚СЂСЊ РЅРµ РїСѓСЃРєР°РµРј. */
.section--red .card,
.section--grad .card { color: var(--ink-soft); }
.section--red .card h2,
.section--red .card h3,
.section--grad .card h2,
.section--grad .card h3 { color: var(--ink); }

.card__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink);
}
.card__text { margin: 0 0 18px; font-size: 14px; line-height: 1.75; }
.card__icon { margin-bottom: 16px; color: var(--red-deep); }
.card .btn { margin-top: auto; align-self: flex-start; }

.price-card__price {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--ink);
}
.price-card__term {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--red-deep);
}
.price-card--featured { background: var(--cream-deep); }
.section--cream-deep .price-card--featured { background: var(--white); }

.price-card__list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.price-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.65;
}
.price-card__list svg { flex: 0 0 auto; margin-top: 3px; color: var(--red-deep); }

/* --- РљРѕРјРїРµС‚РµРЅС†РёРё ---------------------------------------------- */

.comp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.comp__title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink);
}
.comp__text { margin: 0; font-size: 14px; line-height: 1.75; }

/* --- Р›РµРЅС‚Р° РєР»РёРµРЅС‚РѕРІ ------------------------------------------- */

.clients__head { margin-bottom: 36px; }
.clients__title { max-width: 18ch; margin: 0; }

.clients__row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.clients__row li { margin: 0; scroll-snap-align: start; }

.client-logo {
  display: flex;
  align-items: center;
  height: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: rgba(20, 16, 14, .55);
}

/* --- РљСЂР°СЃРЅР°СЏ CTA-РїРѕР»РѕСЃР° --------------------------------------- */

.cta-band__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
/* РљРЅРѕРїРєР° РІРЅСѓС‚СЂРё РєСЂР°СЃРЅРѕР№ РїРѕР»РѕСЃС‹: --red РЅР° РєСЂР°СЃРЅРѕРј С„РѕРЅРµ СЃР»РёРІР°Р»СЃСЏ (1.05:1). */
.cta-band__main .btn--tertiary {
  background: var(--cream);
  color: var(--red-deep);
}
.cta-band__main .btn--tertiary:hover { background: var(--white); color: var(--red-dark); }

.cta-band__title { max-width: 16ch; margin: 0 0 16px; }
.cta-band__text { max-width: 52ch; margin: 0 0 26px; }
.cta-band__rule { margin: 0 0 26px; height: 0; border-top: var(--dash-white); }
.cta-band__art { display: none; color: var(--white); }

/* --- Р¤РѕСЂРјР° СЃРІСЏР·Рё ---------------------------------------------- */

.contact-box {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.contact-box__media {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 260px;
  padding: 32px 28px;
  background: var(--ink);
}
.contact-box__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.contact-box__veil { position: absolute; inset: 0; background: rgba(20, 16, 14, .58); }
.contact-box__title { position: relative; z-index: 2; margin: 0; color: var(--white); }

.contact-box__form {
  padding: 32px 28px;
  background: var(--grad-hero);
  color: var(--white);
}
/* РљРЅРѕРїРєР° РѕС‚РїСЂР°РІРєРё: --red РїРѕРІРµСЂС… РєСЂР°СЃРЅРѕРіРѕ РіСЂР°РґРёРµРЅС‚Р° РїРѕС‡С‚Рё РЅРµ РІС‹РґРµР»СЏР»Р°СЃСЊ. */
.contact-box__form .btn--tertiary {
  background: var(--cream);
  color: var(--red-deep);
}
.contact-box__form .btn--tertiary:hover { background: var(--white); color: var(--red-dark); }

/* --- РЎС‚СЂР°РЅРёС†Р° СѓСЃР»СѓРіРё ------------------------------------------ */

.service-intro__grid,
.service-tech__grid,
.about-stats__grid,
.two-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-cols);
  align-items: start;
}
.service-intro__text p { font-size: 16px; line-height: 1.7; }
.service-intro__figure-label {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--red-deep);
}

.numbered {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.numbered li {
  margin: 0;
  padding: 26px 0;
  border-top: var(--dash-cream);
}
.numbered__title { margin: 0 0 10px; font-family: var(--font-mono); font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.numbered__text { margin: 0; font-size: 14px; line-height: 1.75; }

.statement { text-align: center; }
.statement__title { max-width: 20ch; margin-inline: auto; }
.statement__text { max-width: 720px; margin-inline: auto; }

.types-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-cards);
  margin: 0;
  padding: 0;
  list-style: none;
}
.types-grid li { margin: 0; }

/* --- РЎС‚СЂР°РЅРёС†Р° В«Рћ РєРѕРјРїР°РЅРёРёВ» ------------------------------------ */

.stat__value { display: block; }
.stat__label {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--red-deep);
}
.about-stats__figures { display: grid; gap: 28px; }

.directions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.directions li { margin: 0; padding: 22px 0; border-top: var(--dash-cream); }
.directions__title { margin: 0 0 6px; font-family: var(--font-mono); font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); }
.directions__text { margin: 0; font-size: 14px; line-height: 1.7; }

.wide-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 0;
}

.statement-block__title { max-width: 18ch; }
.statement-block__text { max-width: 640px; }

/* --- РљРѕРЅС‚Р°РєС‚С‹ -------------------------------------------------- */

.contacts-details__grid,
.contacts-map__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-cols);
  align-items: start;
}

.req-list { margin: 24px 0 0; padding: 0; list-style: none; }
.req-list li {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
}

.contacts-big-phone {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.contacts-big-phone:hover { color: var(--red-deep); }

.contacts-mail {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--red-deep);
}
.contacts-addr { margin: 14px 0 0; font-size: 15px; line-height: 1.7; }

.contacts-social { display: flex; gap: 12px; margin-top: 24px; padding: 0; list-style: none; }
.contacts-social li { margin: 0; }
.contacts-social .social { background: rgba(20, 16, 14, .08); color: var(--red-deep); }
.contacts-social .social:hover { background: var(--red-deep); color: var(--cream); }

.map-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--cream-deep);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.map-note { margin: 0 0 18px; }
.map-rule { margin: 22px 0; height: 0; border-top: 2px dashed var(--red-deep); }
.map-label {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red-dark);
}

/* --- РЎС‚Р°С‚СЊСЏ ---------------------------------------------------- */

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.article-meta__date {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
}

.article-body { max-width: 720px; }
.article-body h2 { margin-top: 1.6em; }
.article-body h3 { margin-top: 1.4em; }
.article-body p { font-size: 17px; line-height: 1.8; }
.article-body ul,
.article-body ol { font-size: 17px; line-height: 1.8; padding-left: 1.4em; }

.article-body blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 2px dashed var(--red-deep);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}

.article-body figure { margin: 32px 0; }
.article-body figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.table-wrap { margin: 28px 0; overflow-x: auto; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-wrap th,
.table-wrap td { padding: 12px 14px; text-align: left; border-bottom: 2px dashed rgba(20, 16, 14, .22); }
.table-wrap th { font-weight: 600; color: var(--ink); text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }

.callout {
  margin: 32px 0;
  padding: 24px 26px;
  border-radius: var(--radius-card);
  background: var(--cream-deep);
}
.callout p:last-child { margin-bottom: 0; }

/* --- 404 ------------------------------------------------------- */

.error-block {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 120px 0 80px;
  background: var(--grad-hero);
  color: var(--white);
}
.error-block h1,
.error-block .lead { color: var(--white); }

/* РќР° РєСЂР°СЃРЅРѕРј С„РѕРЅРµ РїСЂРѕР·СЂР°С‡РЅР°СЏ РєРЅРѕРїРєР° СЃ РєСЂР°СЃРЅРѕР№ СЂР°РјРєРѕР№ РЅРµ С‡РёС‚Р°РµС‚СЃСЏ вЂ” РґРµР»Р°РµРј Р·Р°Р»РёРІРєСѓ. */
.error-block .btn--secondary {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--red-deep);
}
.error-block .btn--secondary:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--red-dark);
}

.error-block__code {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4.5rem, 16vw, 7.5rem);
  line-height: .9;
  color: var(--white);
}
.error-block__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.error-block__rule { margin: 36px 0 20px; height: 0; border-top: var(--dash-white); }
.error-block__links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.error-block__links li { margin: 0; }
.error-block__links a {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--white);
  text-decoration: none;
}
.error-block__links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

/* --- РљР°СЂС‚Р° СЃР°Р№С‚Р° ----------------------------------------------- */

.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.sitemap-group { padding: 26px 0; border-top: var(--dash-cream); }
.sitemap-group__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--red-deep);
}
.sitemap-group ul { margin: 0; padding: 0; list-style: none; }
.sitemap-group li { margin-bottom: 10px; }
.sitemap-group a { font-family: var(--font-mono); font-size: 15px; text-decoration: none; }
.sitemap-group a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* --- РњРѕРґР°Р»СЊРЅРѕРµ РѕРєРЅРѕ -------------------------------------------- */

.modal { position: fixed; inset: 0; z-index: 120; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20, 16, 14, .6); }
.modal__panel {
  position: relative;
  width: min(560px, calc(100% - 2 * var(--pad-x)));
  max-height: 86vh;
  margin: 8vh auto 0;
  padding: 32px 28px;
  border-radius: var(--radius-card);
  background: var(--grad-hero);
  color: var(--white);
  overflow-y: auto;
}
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, .18);
  color: var(--white);
  cursor: pointer;
}
.modal__close:hover { background: var(--cream); color: var(--red-deep); }

/* --- РўР°Р±С‹ ------------------------------------------------------ */

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.tabs__list li { margin: 0; }
.tabs__panel[hidden] { display: none; }

/* --- РЎР»Р°Р№РґРµСЂ --------------------------------------------------- */

.slider { position: relative; }
.slider__track {
  display: flex;
  gap: var(--gap-cases);
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
.slider__track li { flex: 0 0 min(420px, 82%); margin: 0; scroll-snap-align: start; }
.slider__nav { display: flex; gap: 10px; margin-top: 22px; }
.slider__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(20, 16, 14, .18);
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.slider__btn:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--white); }
.slider__btn[disabled] { opacity: .4; cursor: default; }
.slider__btn[disabled]:hover { background: transparent; color: var(--ink); border-color: rgba(20, 16, 14, .18); }

/* --- РџРѕСЏРІР»РµРЅРёРµ РїСЂРё СЃРєСЂРѕР»Р»Рµ ------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =============================================================
   4. РњРµРґРёР°Р·Р°РїСЂРѕСЃС‹, РґРѕСЃС‚СѓРїРЅРѕСЃС‚СЊ, РїРµС‡Р°С‚СЊ
   ============================================================= */

/* --- РѕС‚ 600px -------------------------------------------------- */
@media (min-width: 600px) {
  :root { --section-y: 72px; --band-y: 84px; }

  .page-hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid,
  .articles-grid,
  .types-grid,
  .cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbered { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .comp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .about-stats__figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wide-image { height: 320px; }
  .error-block__actions { flex-wrap: nowrap; }
}

/* --- РѕС‚ 900px -------------------------------------------------- */
@media (min-width: 900px) {
  :root {
    --pad-x: 32px;
    --section-y: 96px;
    --band-y: 112px;
    --first-screen: clamp(480px, 62vh, 620px);
  }

  .topbar__note { display: flex; }
  .topbar__whisker { display: block; }
  .burger { display: none; }
  .pill { display: block; }
  .drawer { display: none; }

  .footer__stamp { display: block; }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
  .footer__col--nav { grid-column: span 2; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .footer__col--contacts { text-align: right; }
  .footer__social { justify-content: flex-end; }

  .page-hero__grid { gap: var(--gap-cols); }
  .collage { min-height: 340px; }

  .acc__body { grid-template-columns: 1fr 1.1fr; gap: 40px; }

  .two-cols,
  .service-intro__grid,
  .service-tech__grid,
  .about-stats__grid,
  .contacts-details__grid,
  .contacts-map__grid { grid-template-columns: 1fr 1fr; gap: var(--gap-cols); }

  .comp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .comp-item + .comp-item { padding-left: 40px; border-left: 2px dashed rgba(20, 16, 14, .22); }
  .section--red .comp-item + .comp-item,
  .section--grad .comp-item + .comp-item { border-left-color: rgba(255, 255, 255, .5); }
  .section--red .comp__title,
  .section--red .comp__text,
  .section--grad .comp__title,
  .section--grad .comp__text { color: var(--white); }

  .articles-grid,
  .types-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-cards); }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Р‘С‹Р»Рѕ -60px: РєРѕР»Р»Р°Р¶ РЅР°РµР·Р¶Р°Р» РЅР° .intro-band__lead Рё СЃСЂРµР·Р°Р» РґРІР° РµРіРѕ РЅРёР¶РЅРёС…
     СЂСЏРґР° вЂ” С‚РµРєСЃС‚ СѓС…РѕРґРёР» РїРѕРґ С„РѕС‚РѕРіСЂР°С„РёРё. РћСЃС‚Р°РІР»РµРЅ Р»С‘РіРєРёР№ РїРѕРґСЉС‘Рј Р±РµР· РїРµСЂРµРєСЂС‹С‚РёСЏ. */
  .intro-band__shots { margin-top: 10px; }

  .contact-box { grid-template-columns: 1fr 1fr; }
  .contact-box__media { min-height: 100%; padding: 40px 36px; }
  .contact-box__form { padding: 44px 40px; }

  .cta-band__grid { grid-template-columns: 1.3fr .7fr; gap: 48px; }
  .cta-band__art { display: flex; justify-content: flex-end; }

  .sitemap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }

  .clients__row { overflow-x: visible; flex-wrap: wrap; }

  .wide-image { height: 360px; }

  .hero-home { padding: 120px 0 150px; }
  .page-hero { padding: 120px 0 132px; }
}

/* --- РѕС‚ 1200px ------------------------------------------------- */
@media (min-width: 1200px) {
  .price-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .numbered--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .directions { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; }
  .collage { min-height: 400px; }
  /* Р‘С‹Р»Рѕ -90px вЂ” С‚Р° Р¶Рµ Р±РµРґР°, С‡С‚Рѕ Рё РЅР° 900px: Р»РёРґ РїРѕР»РЅРѕСЃС‚СЊСЋ СЃРєСЂС‹РІР°Р»СЃСЏ РїРѕРґ РєРѕР»Р»Р°Р¶РµРј. */
  .intro-band__shots { margin-top: 18px; }
}

/* --- РЈР·РєРёРµ СЌРєСЂР°РЅС‹ --------------------------------------------- */
@media (max-width: 599px) {
  .btn { padding: 16px 22px; }
  .card { padding: 24px 22px; }
  .footer { padding: 56px 0; }
  .footer__inner { padding-inline: var(--pad-x); }
  .hero-home__title { max-width: none; }
}

/* --- Р¤РѕРєСѓСЃ ----------------------------------------------------- */

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

.section--red :focus-visible,
.section--grad :focus-visible,
.page-hero :focus-visible,
.hero-home :focus-visible,
.footer :focus-visible,
.drawer :focus-visible,
.modal :focus-visible,
.error-block :focus-visible,
.contact-box__form :focus-visible {
  outline-color: var(--cream);
}

.pill__link:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
  border-radius: 2px;
}

.footer__link:focus-visible,
.footer__phone:focus-visible,
.footer__mail:focus-visible,
.social:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

.article-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
  border-radius: var(--radius-card);
}

/* --- РЈРјРµРЅСЊС€РµРЅРЅР°СЏ Р°РЅРёРјР°С†РёСЏ -------------------------------------- */

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

  .stamp__ring { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .slider__track { scroll-behavior: auto; }
}

/* --- РџРµС‡Р°С‚СЊ ----------------------------------------------------- */

@media print {
  .site-top,
  .pill,
  .drawer,
  .modal,
  .footer__stamp,
  .footer__social,
  .btn,
  .slider__nav,
  .skip-link { display: none !important; }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
    line-height: 1.5;
  }

  .section,
  .section--band { padding-block: 12pt; }

  .section--red,
  .section--grad,
  .page-hero,
  .hero-home,
  .footer,
  .error-block {
    background: #fff !important;
    color: #000 !important;
  }

  .page-hero__title,
  .hero-home__title,
  .section--red h2,
  .section--grad h2,
  .footer__logo,
  .footer__phone { color: #000 !important; }

  .hero-home__bg,
  .hero-home__veil,
  .contact-box__veil,
  .collage { display: none; }

  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }

  img { max-width: 100%; filter: none; }

  h1, h2, h3 { page-break-after: avoid; }
  .card, .case-card, .article-card, figure, .table-wrap { page-break-inside: avoid; }
}

/* =============================================================
   5. Р”РѕРїРѕР»РЅРµРЅРёСЏ СЃРµРєС†РёР№: С€Р°РїРєРё Р±Р»РѕРєРѕРІ, СЃР»СѓР¶РµР±РЅС‹Рµ РїРѕРґРїРёСЃРё,
      СЃРѕСЃС‚РѕСЏРЅРёСЏ РїР°РіРёРЅР°С†РёРё, РјРµР»РѕС‡Рё СЃС‚СЂР°РЅРёС†
   ============================================================= */

/* --- РЁР°РїРєР° СЃРµРєС†РёРё --------------------------------------------- */

.section-head { margin-bottom: 40px; }
.section-head h2 { max-width: 24ch; margin: 0; }
.section-head .eyebrow + h2 { margin-top: 4px; }
.section-head .lead { max-width: 62ch; margin: 18px 0 0; }

/* --- РђРєРєРѕСЂРґРµРѕРЅ СѓСЃР»СѓРі: РїСЂР°РІР°СЏ РєРѕР»РѕРЅРєР° --------------------------- */

.acc__side { align-self: start; }
.acc__text .btn { margin-top: 8px; }

/* --- РЎР»СѓР¶РµР±РЅС‹Рµ РїРѕРґРїРёСЃРё ---------------------------------------- */

.price-note,
.scope-note,
.clients__note,
.cases-filter__note,
.blog-tags__note,
.sitemap-note,
.contacts-phone-note { margin-top: 28px; max-width: 74ch; }

.cases-empty { margin-top: 24px; }
.form__note {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .85);
}
.form__status:empty { display: none; }

/* --- РџРѕР»РѕСЃР°-РёРЅС‚СЂРѕ РЅР° РіР»Р°РІРЅРѕР№ ----------------------------------- */

.intro-band__lead { max-width: 56ch; margin: 0 0 8px; }

/* --- РљСЂР°СЃРЅР°СЏ CTA-РїРѕР»РѕСЃР° ---------------------------------------- */

.cta-band__phone { margin: 22px 0 0; }
.cta-band__phone a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  text-decoration: none;
}
.cta-band__phone a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 5px; }

/* --- Р›РµРЅС‚Р° РєР»РёРµРЅС‚РѕРІ -------------------------------------------- */

.client-logo__svg { display: block; height: 28px; }

/* --- РЎС‚СЂР°РЅРёС†Р° СѓСЃР»СѓРіРё ------------------------------------------- */

.service-intro__figure-note {
  margin: 18px 0 0;
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.75;
}
.service-intro__text .chips { margin-top: 22px; }
.chips--tech { gap: 12px; }

/* --- Р¦РµРЅС‹ ------------------------------------------------------ */

.price-factors { margin: 14px 0 0; padding-left: 1.15em; }
.price-factors li { font-size: 15px; line-height: 1.7; }
.price-rule { margin: 40px 0 24px; }

/* --- Р‘Р»РѕРі: С‡РёРїС‹-СЃСЃС‹Р»РєРё Рё РїР°РіРёРЅР°С†РёСЏ ----------------------------- */

.blog-tags .chip { text-decoration: none; }

.pager__link.is-disabled {
  opacity: .4;
  cursor: default;
  pointer-events: none;
}
.pager__link.is-disabled:hover { background: transparent; color: var(--ink-soft); }

/* --- РЎС‚Р°С‚СЊСЏ ---------------------------------------------------- */

.article-meta { margin-bottom: 20px; }
.page-hero .chip {
  border-color: rgba(255, 255, 255, .5);
  color: var(--white);
  text-decoration: none;
}
.page-hero .chip:hover { background: rgba(255, 255, 255, .16); color: var(--white); }

.article-body__rule { margin: 40px 0 22px; }
.article-body__back { margin: 26px 0 0; }
.article-body figure img { width: 100%; border-radius: var(--radius-card); }
.article-body .callout p { font-size: 16px; }

/* --- РљРѕРЅС‚Р°РєС‚С‹ --------------------------------------------------- */

.contacts-details__side { padding-top: 6px; }
.contacts-phone-note { margin-top: 10px; }
.contacts-map-link { margin: 16px 0 0; font-family: var(--font-mono); font-size: 14px; }
.contacts-map .btn { margin-top: 6px; }
.contacts-details .req-list { max-width: 46ch; }
.contacts-details .btn { margin-top: 6px; }

/* --- 404 -------------------------------------------------------- */

.error-block__note { margin-top: 30px; max-width: 66ch; color: var(--white); }
.error-block__note a { color: var(--white); }
.error-block .overline { margin-bottom: 14px; }

/* --- РљР°СЂС‚Р° СЃР°Р№С‚Р° ------------------------------------------------ */

.sitemap-grid .sitemap-group:first-child { border-top: 0; padding-top: 0; }

/* --- РњРµРґРёР°Р·Р°РїСЂРѕСЃС‹ РґРѕРїРѕР»РЅРµРЅРёР№ ----------------------------------- */

@media (min-width: 900px) {
  .section-head { margin-bottom: 52px; }
  .sitemap-grid .sitemap-group:nth-child(-n+3) { border-top: 0; padding-top: 0; }
  .contacts-details__side { padding-left: 8px; border-left: 2px dashed rgba(20, 16, 14, .22); padding-block: 4px 4px; }
  .contacts-details__side > * { padding-left: 32px; }
}

@media (max-width: 599px) {
  .section-head { margin-bottom: 30px; }
  .cta-band__phone a { font-size: 1.35rem; }
}


.modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;}.modal[hidden]{display:none;}.modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.5);}.modal__dialog{position:relative;background:#fff;padding:24px;border-radius:12px;max-width:480px;width:90%;max-height:90vh;overflow:auto;}.modal__close{position:absolute;top:8px;right:12px;font-size:24px;border:none;background:none;cursor:pointer;}
