/* ============================================================
   ГАЗСТРОЙСЕРВИС — стили лендинга (дизайн из Claude Design)
   ============================================================ */

/* ---------- Шрифты (лежат на сайте) ---------- */
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(../assets/fonts/unbounded-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(../assets/fonts/unbounded-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(../assets/fonts/manrope-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(../assets/fonts/manrope-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Палитра ---------- */
:root {
  --ink: #0A1622;          /* тёмный фон */
  --ink-2: #0F2238;        /* тёмные карточки */
  --ink-3: #10243A;        /* поля формы */
  --ink-line: #1E3A55;
  --bg: #F2F5F9;           /* светлый фон */
  --white: #FFFFFF;
  --blue: #2E6FD1;
  --blue-dark: #1F55A8;
  --sky: #5E9AD8;          /* голубой из логотипа */
  --orange: #FF6A1A;       /* акцент, кнопки */
  --orange-soft: #FF8A4C;
  --text: #0A1622;
  --muted: #4A5B6E;        /* серый на светлом */
  --muted-d: #9FB3C8;      /* серый на тёмном */
  --soft-d: #C9D6E4;
  --line: #DCE4EE;
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3, p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1312px; margin: 0 auto; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--orange); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 12px; }
.accent { color: var(--orange); }
.stack-40, .stack-48, .stack-64 { display: flex; flex-direction: column; }
.stack-40 { gap: 40px; } .stack-48 { gap: 48px; } .stack-64 { gap: 64px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: none;
  font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-cta { background: var(--orange); color: var(--ink); }
.btn-cta:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 106, 26, .35); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255, 255, 255, .35); font-weight: 700; }
.btn-ghost:hover { color: var(--white); border-color: var(--white); }
.btn-lg { min-height: 60px; padding: 0 32px; font-size: 17px; }
.btn-lg svg { width: 20px; height: 20px; }
.btn-sm { min-height: 48px; white-space: nowrap; }
.btn-block { display: flex; width: 100%; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display: block; flex: none; }
.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Заголовки секций ---------- */
.section { padding: clamp(64px, 8vw, 128px) var(--gutter); }
.section-flush { padding-top: 0; }
.section-last { padding-bottom: clamp(48px, 6vw, 96px); }
.section-dark { background: var(--ink); color: var(--white); }
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eyebrow-light { color: #D6E4F8; }
.eyebrow-orange { color: var(--orange-soft); }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 56px); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: 28px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-title-wrap { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.section-aside { max-width: 380px; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* ============ HEADER ============ */
.header { position: sticky; top: 0; z-index: 100; background: rgba(10, 22, 34, .94); color: var(--white); padding: 0 var(--gutter); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white); flex: none; }
.brand:hover { color: var(--white); }
.brand img { width: 34px; height: 48px; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .04em; }
.nav { display: flex; flex-wrap: wrap; white-space: nowrap; gap: 8px 28px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--soft-d); text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 10px; }
/* Выбор языка: компактная кнопка, список выезжает по нажатию */
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .18); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .04em; cursor: pointer; user-select: none; transition: border-color .2s, background-color .2s; -webkit-tap-highlight-color: transparent; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); }
.lang summary > svg:first-child { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; color: var(--sky); }
.lang-chev { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.lang[open] .lang-chev { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 120; min-width: 168px; display: flex; flex-direction: column; padding: 6px; border-radius: 16px; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 24px 48px rgba(0, 0, 0, .45); transform-origin: top right; animation: lang-in .22s var(--ease); }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--soft-d); text-decoration: none; transition: background-color .15s, color .15s; }
.lang-menu a:hover { background: rgba(255, 255, 255, .06); color: var(--white); }
.lang-menu a[aria-current="page"] { color: var(--white); }
.lang-menu a[aria-current="page"]::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
@keyframes lang-in { from { opacity: 0; transform: translateY(-6px) scale(.96); } to { opacity: 1; transform: none; } }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding: clamp(48px, 7vw, 104px) var(--gutter) clamp(64px, 8vw, 120px); }
.hero-rings span { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-rings span:nth-child(1) { right: -220px; top: -160px; width: 760px; height: 760px; border: 1px solid rgba(94, 154, 216, .18); }
.hero-rings span:nth-child(2) { right: -120px; top: -60px; width: 560px; height: 560px; border: 1px solid rgba(94, 154, 216, .24); }
.hero-rings span:nth-child(3) { right: -20px; top: 40px; width: 360px; height: 360px; border: 1px dashed rgba(255, 106, 26, .40); animation: spin 60s linear infinite; }
.hero-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5vw, 80px); }
.hero-content { flex: 1.25 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; font-weight: 600; color: var(--soft-d); }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6.2vw, 92px); line-height: 1.02; letter-spacing: -.02em; }
.hero-lead { max-width: 600px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--soft-d); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
/* «Бесплатно» на первом экране */
.hero-free { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; max-width: 640px; padding: 16px 20px; border-radius: 20px; background: rgba(255, 106, 26, .08); border: 1.5px solid rgba(255, 106, 26, .5); }
.hero-free-badge { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; color: var(--orange); }
.hero-free-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 6px 20px; font-size: 15px; font-weight: 600; color: var(--white); }
.hero-free-list li { display: flex; align-items: center; gap: 8px; }
.hero-free-list svg { width: 16px; height: 16px; flex: none; color: var(--orange); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 20px 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-stats > div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats b { font-family: var(--font-display); font-weight: 700; font-size: 28px; }
.hero-stats small { font-size: 16px; font-weight: 500; color: var(--soft-d); }
.hero-stats > div > span { font-size: 14px; color: var(--muted-d); }

/* Эмблема из частиц */
.hero-visual { flex: 1 1 400px; min-width: 0; position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin: 0 auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hero-emblem-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-emblem-fallback picture { width: 62%; }
.hero-emblem-fallback img { width: 100%; height: auto; border-radius: 40px; box-shadow: 0 40px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(94, 154, 216, .18); }
.hero.has-fx .hero-emblem-fallback { display: none; }
.hero-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* Появление текста первого экрана */
.js .hero-content > * { animation: rise .9s var(--ease) both; }
.js .hero-content > :nth-child(2) { animation-delay: .1s; }
.js .hero-content > :nth-child(3) { animation-delay: .2s; }
.js .hero-content > :nth-child(4) { animation-delay: .3s; }
.js .hero-content > :nth-child(5) { animation-delay: .4s; }
.js .hero-content > :nth-child(6) { animation-delay: .5s; }
.hero.is-lit .hero-buttons .btn-cta { animation: cta-glow 1.6s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes cta-glow { 0% { box-shadow: 0 0 0 0 rgba(255, 106, 26, .7); } 100% { box-shadow: 0 0 0 22px rgba(255, 106, 26, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ TICKER ============ */
.ticker { background: var(--orange); color: var(--ink); overflow: hidden; padding: 18px 0; font-family: var(--font-display); font-weight: 600; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; }
.ticker-track { display: flex; gap: 48px; width: max-content; white-space: nowrap; animation: ticker 38s linear infinite; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ SERVICES ============ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.card { background: var(--white); border: 1.5px solid var(--line); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 18px; transition: transform .25s, border-color .25s; }
.card:hover { border-color: var(--blue); transform: translateY(-4px); }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.card-icon { width: 56px; height: 56px; border-radius: 16px; background: #E6EEFA; color: var(--blue); display: flex; align-items: center; justify-content: center; }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-num { font-family: var(--font-display); font-size: 15px; color: #8A9AAD; }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.25; }
.card p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.card-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.card-dark .card-icon { background: var(--orange); color: var(--ink); }
.card-dark .card-num { color: var(--muted-d); }
.card-dark p { color: var(--soft-d); }

/* ============ ОТ А ДО Я ============ */
.nohassle { padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--white); border: 1px solid rgba(10, 22, 34, .08); }
.nohassle h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.2; margin-bottom: 22px; }
.nohassle ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 32px; }
.nohassle li { display: flex; gap: 12px; align-items: flex-start; }
.nohassle li svg { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--blue); color: var(--white); }
.nohassle b { display: block; font-size: 17px; margin-bottom: 4px; }
.nohassle span { font-size: 15.5px; line-height: 1.55; color: var(--muted, #5B6B7D); }

/* ============ ГАЗ ИЛИ УГОЛЬ ============ */

/* ============ PRICE + CALC ============ */
.price { background: var(--blue); color: var(--white); border-radius: 40px; padding: clamp(28px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); position: relative; overflow: hidden; }
.price::before { content: ''; position: absolute; left: -80px; bottom: -180px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); pointer-events: none; }
.price-main { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; position: relative; }
.h2-price { font-size: clamp(30px, 3.6vw, 50px); }
.price-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 20px; font-weight: 600; }
.price-big b { font-family: var(--font-display); font-weight: 800; font-size: clamp(64px, 8vw, 120px); line-height: .95; letter-spacing: -.03em; }
.price-list { display: flex; flex-direction: column; gap: 12px; font-size: 17px; font-weight: 600; }
.price-list li { display: flex; align-items: center; gap: 12px; }
.price-list svg { width: 22px; height: 22px; color: var(--white); }
.price-note { font-size: 15px; line-height: 1.6; color: #D6E4F8; max-width: 460px; }
.installment { display: flex; flex-direction: column; gap: 4px; max-width: 460px; padding: 16px 20px; border-radius: 18px; background: rgba(255, 255, 255, .12); border: 1.5px dashed rgba(255, 255, 255, .45); }
.installment b { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.installment span { font-size: 15px; line-height: 1.5; color: #D6E4F8; }
.calc { flex: 1 1 380px; min-width: 0; background: var(--white); color: var(--ink); border-radius: 28px; padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; position: relative; align-self: center; }
.calc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.calc-title { font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.tag { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: #FFE7D9; color: #9A3412; }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; font-weight: 600; color: var(--muted); }
.calc-value { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.range { width: 100%; accent-color: var(--orange); height: 28px; margin: 0; cursor: pointer; }
.calc-scale { display: flex; justify-content: space-between; font-size: 13px; color: #6B7B8E; margin-top: -12px; }
.calc-total { background: var(--bg); border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.calc-total > span { font-size: 14px; font-weight: 600; color: var(--muted); }
.calc-total b { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -.02em; }
.calc-total small { font-size: 20px; font-weight: 600; }
.calc .btn { min-height: 56px; font-size: 16px; }

/* ============ PROCESS ============ */
.process-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.process-head .section-title-wrap { flex: 1 1 480px; }
.process-lead { font-size: 17px; line-height: 1.6; color: var(--muted-d); max-width: 560px; }

/* Кинетическая карточка */
.kw { flex: 0 1 460px; min-width: 0; width: 100%; position: relative; overflow: hidden; border-radius: 32px; background: var(--ink-2); border: 1px solid rgba(94, 154, 216, .18); box-shadow: 0 40px 80px rgba(0, 0, 0, .45); padding: clamp(22px, 4vw, 36px); min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.kw-ring1 { position: absolute; right: -40%; bottom: -40%; width: 80%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(94, 154, 216, .25); }
.kw-ring2 { position: absolute; right: -25%; bottom: -25%; width: 55%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 106, 26, .35); }
.kw-spin { animation: spin 30s linear infinite; }
.kw-top { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.kw-label { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .2em; color: var(--muted-d); }
.kw-counter { display: flex; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.kw-num-win { height: 22px; overflow: hidden; display: block; }
.kw-num { display: flex; flex-direction: column; line-height: 22px; animation: kwnum 12s cubic-bezier(.7, 0, .2, 1) infinite; }
.kw-of { color: #6B819A; }
.kw-mid { position: relative; display: flex; flex-direction: column; gap: 14px; }
.kw-words-win { height: 168px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.12) 30%, #000 36%, #000 64%, rgba(0,0,0,.12) 70%, rgba(0,0,0,.12) 100%); mask-image: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.12) 30%, #000 36%, #000 64%, rgba(0,0,0,.12) 70%, rgba(0,0,0,.12) 100%); }
.kw-words { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 40px); line-height: 56px; letter-spacing: -.01em; white-space: nowrap; animation: kwwords 12s cubic-bezier(.7, 0, .2, 1) infinite; }
.kw-sub-win { height: 24px; overflow: hidden; }
.kw-sub { display: flex; flex-direction: column; font-size: clamp(13px, 1.2vw, 16px); font-weight: 500; line-height: 24px; color: var(--soft-d); white-space: nowrap; animation: kwsub 12s cubic-bezier(.7, 0, .2, 1) infinite; }
.kw-bottom { position: relative; display: flex; flex-direction: column; gap: 14px; }
.kw-track { position: relative; height: 10px; border-radius: 5px; background: var(--ink-line); overflow: hidden; }
.kw-bar { position: absolute; inset: 0; border-radius: 5px; background: linear-gradient(90deg, var(--blue), var(--orange)); transform-origin: 0 50%; animation: kwbar 12s cubic-bezier(.7, 0, .2, 1) infinite; }
.kw-ends { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .12em; color: #8296AC; }
@keyframes kwwords { 0%,13.3%{transform:translateY(0)} 16.67%,30%{transform:translateY(-56px)} 33.33%,46.6%{transform:translateY(-112px)} 50%,63.3%{transform:translateY(-168px)} 66.67%,80%{transform:translateY(-224px)} 83.33%,96.6%{transform:translateY(-280px)} 100%{transform:translateY(-336px)} }
@keyframes kwsub { 0%,13.3%{transform:translateY(0)} 16.67%,30%{transform:translateY(-24px)} 33.33%,46.6%{transform:translateY(-48px)} 50%,63.3%{transform:translateY(-72px)} 66.67%,80%{transform:translateY(-96px)} 83.33%,96.6%{transform:translateY(-120px)} 100%{transform:translateY(-144px)} }
@keyframes kwnum { 0%,13.3%{transform:translateY(0)} 16.67%,30%{transform:translateY(-22px)} 33.33%,46.6%{transform:translateY(-44px)} 50%,63.3%{transform:translateY(-66px)} 66.67%,80%{transform:translateY(-88px)} 83.33%,96.6%{transform:translateY(-110px)} 100%{transform:translateY(-132px)} }
@keyframes kwbar { 0%,13.3%{transform:scaleX(.1667)} 16.67%,30%{transform:scaleX(.3333)} 33.33%,46.6%{transform:scaleX(.5)} 50%,63.3%{transform:scaleX(.6667)} 66.67%,80%{transform:scaleX(.8333)} 83.33%,96.6%{transform:scaleX(1)} 100%{transform:scaleX(.1667)} }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; }
.step { display: flex; flex-direction: column; gap: 20px; padding-right: 24px; padding-bottom: 32px; }
.step-line { display: flex; align-items: center; }
.step-num { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--white); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.step-num--first { background: var(--orange); }
.step-num--final { background: var(--blue); color: var(--white); }
.step-num svg { width: 22px; height: 22px; }
.step-rail { flex: 1; height: 6px; background: var(--ink-line); border-radius: 3px; }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.step p { font-size: 15px; line-height: 1.6; color: var(--muted-d); }

/* ============ ГАРАНТИИ ============ */
.why { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 80px); align-items: flex-start; }
.why-head { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.why-head p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.why-grid { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); column-gap: 24px; border-top: 2px solid var(--ink); }
.why-item { padding: 28px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.why-item h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.why-item p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ============ FAQ ============ */
.faq { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 80px); align-items: flex-start; }
.faq-head { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.faq-head p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.faq-head a { font-weight: 700; }
.faq-list { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1.5px solid var(--line); border-radius: 24px; transition: border-color .25s; }
.faq-item.active { border-color: var(--blue); }
.faq-item h3 { font-size: inherit; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; background: none; border: none; text-align: left; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.35; color: var(--ink); border-radius: 24px; }
.faq-q svg { width: 36px; height: 36px; flex: none; padding: 8px; border-radius: 50%; background: #E6EEFA; color: var(--blue); transition: transform .3s var(--ease), background-color .3s, color .3s; }
.faq-item.active .faq-q svg { transform: rotate(180deg); background: var(--orange); color: var(--ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 24px 24px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.no-js .faq-a { max-height: none; }

/* ============ REQUEST FORM ============ */
.request { background: var(--ink); color: var(--white); border-radius: 40px; padding: clamp(28px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: center; }
.request-intro { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.request-intro > p { font-size: 17px; line-height: 1.6; color: var(--soft-d); }
.request-phone { display: flex; align-items: center; gap: 14px; padding-top: 8px; color: var(--white); text-decoration: none; align-self: flex-start; }
.request-phone:hover { color: var(--white); }
.request-phone > span:last-child { display: flex; flex-direction: column; }
.request-phone small { font-size: 14px; color: var(--muted-d); }
.request-phone b { font-family: var(--font-display); font-size: 20px; }
.round-icon { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--orange); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.round-icon svg { width: 24px; height: 24px; }
.form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; color: var(--soft-d); }
.optional { font-weight: 500; color: var(--muted-d); }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; min-height: 56px; border-radius: 16px; border: 1.5px solid #2A4058; background: var(--ink-3); color: var(--white); padding: 0 18px; font-size: 16px; transition: border-color .2s; }
.field textarea { padding: 16px 18px; min-height: 80px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6B819A; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); }
.field .is-invalid { border-color: #FF7A5C !important; }
.field-error { font-size: 13px; font-weight: 600; color: #FF9A7E; min-height: 0; }
.field-error:empty { display: none; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer; }
.select-wrap svg { position: absolute; right: 18px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted-d); pointer-events: none; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-weight: 600 !important; }
.check input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--orange); cursor: pointer; }
.form .btn { margin-top: 8px; }
.form-status { font-size: 14px; font-weight: 600; color: var(--orange-soft); text-align: center; }
.form-status:empty { display: none; }
.form-note { font-size: 13px; color: var(--muted-d); text-align: center; }

/* ============ CONTACTS + MAP ============ */
.contacts { display: flex; flex-wrap: wrap; gap: 20px; }
.contact-card { flex: 1 1 320px; min-width: 0; background: var(--white); border: 1.5px solid var(--line); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.contact-row { display: flex; flex-direction: column; gap: 4px; }
.contact-row > span { font-size: 14px; color: var(--muted); }
.contact-row b { font-size: 18px; }
.contact-row a { color: var(--ink); text-decoration: none; }
.contact-row a:hover { color: var(--blue); }
.contact-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.link-strong { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; min-height: 44px; text-decoration: none; }
.link-strong svg { width: 16px; height: 16px; }
.map { flex: 2 1 560px; min-width: 0; min-height: 340px; border-radius: 28px; background: #DCE6F2; overflow: hidden; position: relative; border: 1.5px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: var(--muted-d); padding: 48px var(--gutter) 32px; }
.footer-word { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 7.3vw, 106px); line-height: .9; letter-spacing: -.02em; color: var(--white); white-space: nowrap; }
.footer-word span { color: var(--sky); }
.footer-cols { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; font-weight: 600; }
.footer-nav a { color: var(--soft-d); text-decoration: none; }
.footer-nav a:hover { color: var(--white); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .18); color: var(--white); display: flex; align-items: center; justify-content: center; transition: background-color .2s, border-color .2s, color .2s; }
.footer-social a:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.footer-social svg { width: 20px; height: 20px; }
.footer-tel { color: var(--soft-d); text-decoration: none; }
.footer-tel:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }

/* ============ Плавающая кнопка связи (телефон/планшет): по нажатию выплывают WhatsApp, Instagram, телефон ============ */
.floating { display: none; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90; flex-direction: column; align-items: center; gap: 12px; transition: opacity .3s, transform .3s; }
.floating.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
.fab-toggle { position: relative; width: 60px; height: 60px; border: 0; border-radius: 50%; background: var(--orange); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fab-toggle svg { position: absolute; width: 26px; height: 26px; transition: transform .3s var(--ease), opacity .2s; }
.fab-ico-close { opacity: 0; transform: rotate(-90deg); }
.floating.is-open .fab-ico-open { opacity: 0; transform: rotate(90deg); }
.floating.is-open .fab-ico-close { opacity: 1; transform: none; }
.fab-menu { display: flex; flex-direction: column; gap: 12px; }
.fab-item { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); opacity: 0; transform: translateY(24px) scale(.6); pointer-events: none; transition: opacity .22s, transform .3s var(--ease); }
.fab-item svg { width: 24px; height: 24px; }
.fab-item[hidden] { display: none; }
.fab-wa { background: #25D366; }
.fab-ig { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.fab-phone { background: var(--blue); }
.floating.is-open .fab-item { opacity: 1; transform: none; pointer-events: auto; }
.floating.is-open .fab-item:nth-child(3) { transition-delay: 0s; }
.floating.is-open .fab-item:nth-child(2) { transition-delay: .05s; }
.floating.is-open .fab-item:nth-child(1) { transition-delay: .1s; }

/* ============ Детали и полировка ============ */
.card { transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.card:hover { box-shadow: 0 22px 44px -24px rgba(46, 111, 209, .45); }
.card-icon { transition: background-color .3s, color .3s; }
.card:not(.card-dark):hover .card-icon { background: var(--blue); color: var(--white); }
.card-dark:hover { border-color: var(--orange); box-shadow: 0 22px 44px -24px rgba(10, 22, 34, .7); }
.nohassle li svg { box-shadow: 0 0 0 5px #E6EEFA; }
.why-grid { counter-reset: why; }
.why-item::before { counter-increment: why; content: counter(why, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--orange); }
.faq-item:not(.active):hover { border-color: #C3D3EA; }
.faq-item:not(.active):hover .faq-q svg { background: var(--blue); color: var(--white); }
.check input { appearance: none; -webkit-appearance: none; border: 1.5px solid #3A536E; border-radius: 7px; background: var(--ink-3); display: grid; place-content: center; transition: background-color .2s, border-color .2s; }
.check input::after { content: ''; width: 11px; height: 6px; border: solid var(--ink); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; transition: opacity .15s; }
.check input:checked { background: var(--orange); border-color: var(--orange); }
.check input:checked::after { opacity: 1; }
.check input.is-invalid { border-color: #FF7A5C; }
.contact-card { transition: border-color .3s; }
.contact-card:hover { border-color: #C3D3EA; }
@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Детали, заметные без наведения ---- */
body { background-image: radial-gradient(rgba(46, 111, 209, .09) 1px, transparent 1.4px); background-size: 26px 26px; }
.eyebrow { display: block; width: fit-content; padding: 7px 14px; border-radius: 999px; background: rgba(46, 111, 209, .09); border: 1px solid rgba(46, 111, 209, .16); font-size: 13px; }
.eyebrow-light { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); }
.eyebrow-orange { background: rgba(255, 106, 26, .1); border-color: rgba(255, 106, 26, .28); }
.card:not(.card-dark) { position: relative; overflow: hidden; box-shadow: 0 1px 2px rgba(10, 22, 34, .04), 0 14px 34px -22px rgba(10, 22, 34, .28); }
.card:not(.card-dark)::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--sky, #5B9BE6) 60%, var(--orange)); opacity: .9; }
.card-dark { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 100% 0%, rgba(255, 106, 26, .22), transparent 55%), var(--ink); }
.card-icon { box-shadow: inset 0 0 0 1px rgba(46, 111, 209, .14); }
.nohassle { position: relative; overflow: hidden; box-shadow: 0 1px 2px rgba(10, 22, 34, .04), 0 14px 34px -22px rgba(10, 22, 34, .28); }
.nohassle::before { content: ''; position: absolute; left: 0; top: 28px; bottom: 28px; width: 4px; border-radius: 0 4px 4px 0; background: var(--orange); }
.nohassle::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(46, 111, 209, .12), transparent 70%); pointer-events: none; }
.why-grid { border-top: 0; gap: 16px; }
.why-item { background: var(--white); border: 1.5px solid var(--line); border-radius: 22px; padding: 22px 24px; box-shadow: 0 12px 30px -24px rgba(10, 22, 34, .3); }
.why-item::before { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 106, 26, .12); display: grid; place-content: center; font-size: 14px; margin-bottom: 4px; }
.faq-item { box-shadow: 0 10px 26px -22px rgba(10, 22, 34, .3); }
.faq-item.active { box-shadow: 0 18px 40px -24px rgba(46, 111, 209, .45); }
.contact-card { box-shadow: 0 14px 34px -24px rgba(10, 22, 34, .3); }
.hero-free { position: relative; background: linear-gradient(135deg, rgba(255, 106, 26, .16), rgba(255, 106, 26, .04) 60%); box-shadow: 0 20px 50px -30px rgba(255, 106, 26, .55); }
.request { position: relative; overflow: hidden; background: radial-gradient(70% 80% at 0% 100%, rgba(46, 111, 209, .28), transparent 60%), radial-gradient(50% 60% at 100% 0%, rgba(255, 106, 26, .14), transparent 60%), var(--ink); }

/* ---- Вау-эффекты ---- */
.js .reveal { opacity: 0; translate: 0 32px; transition: opacity .8s var(--ease), translate .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; translate: none; }
.has-num { position: relative; isolation: isolate; }
.has-num::before { content: attr(data-num); position: absolute; z-index: -1; right: 0; top: -.38em; font-family: var(--font-display); font-weight: 800; font-size: clamp(110px, 16vw, 230px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(46, 111, 209, .16); pointer-events: none; user-select: none; }
.section-dark .has-num::before, .price .has-num::before, .request .has-num::before, #price .has-num::before { -webkit-text-stroke-color: rgba(255, 255, 255, .1); }
.hero h1 .accent { background: linear-gradient(100deg, #FF6A1A 0%, #FFB36B 35%, #FF6A1A 60%, #FF8A3D 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { from { background-position: 0% 0; } to { background-position: -220% 0; } }
.card, .why-item { position: relative; overflow: hidden; }
.card > *, .why-item > * { position: relative; z-index: 1; }
.card::after, .why-item::after { content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity .3s; pointer-events: none; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(46, 111, 209, .12), transparent 70%); }
.card-dark::after { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 106, 26, .22), transparent 70%); }
.card:hover::after, .why-item:hover::after { opacity: 1; }
.why-item { transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.why-item:hover { transform: translateY(-4px); border-color: rgba(255, 106, 26, .5); }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; translate: none; transition: none; } .hero h1 .accent { animation: none; } }

/* ---- Газ VS уголь ---- */
.vs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.vs-card { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 26px; }
.vs-coal { background: linear-gradient(160deg, #E9EDF2, #DDE3EA); color: #3D4A59; border: 1.5px solid #D3DAE3; }
.vs-gas { background: radial-gradient(90% 70% at 100% 0%, rgba(94, 154, 216, .55), transparent 60%), radial-gradient(70% 60% at 0% 100%, rgba(255, 106, 26, .28), transparent 60%), linear-gradient(160deg, #2E6FD1, #1B4E9E); color: var(--white); box-shadow: 0 30px 60px -30px rgba(46, 111, 209, .7); }
.vs-head { display: flex; align-items: center; gap: 16px; }
.vs-ico { flex: none; width: 60px; height: 60px; border-radius: 18px; display: grid; place-content: center; }
.vs-ico svg { width: 30px; height: 30px; }
.vs-coal .vs-ico { background: #3D4A59; color: #C3CCD6; }
.vs-gas .vs-ico { background: var(--orange); color: var(--ink); box-shadow: 0 10px 30px -6px rgba(255, 106, 26, .8); }
.vs-head h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 38px); line-height: 1.05; text-transform: uppercase; letter-spacing: .02em; }
.vs-head p { margin-top: 4px; font-size: 15px; opacity: .8; }
.vs-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.vs-card li { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; padding: 14px 0; border-top: 1px solid rgba(61, 74, 89, .14); }
.vs-gas li { border-top-color: rgba(255, 255, 255, .16); }
.vs-card li::before { content: '✕'; grid-row: span 2; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; display: grid; place-content: center; font-size: 12px; font-weight: 800; background: rgba(61, 74, 89, .12); color: #6B7888; }
.vs-gas li::before { content: '✓'; background: var(--white); color: var(--blue); font-size: 14px; }
.vs-card li b { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.vs-card li span { font-size: 15.5px; line-height: 1.5; opacity: .85; }
.vs-gas li span { opacity: .95; }
.vs-coal li span { color: #5B6878; opacity: 1; }
.vs-badge { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: 76px; height: 76px; border-radius: 50%; display: grid; place-content: center; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--white); background: var(--ink); border: 6px solid var(--bg); box-shadow: 0 12px 30px -10px rgba(10, 22, 34, .6); }
.vs-badge::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--orange); animation: vs-ping 2.4s ease-out infinite; }
@keyframes vs-ping { from { transform: scale(1); opacity: .9; } to { transform: scale(1.45); opacity: 0; } }
.js .vs-coal.reveal { translate: -40px 0; }
.js .vs-gas.reveal { translate: 40px 0; }
.js .vs-card.reveal.in { translate: none; }
@media (max-width: 800px) {
  .vs { grid-template-columns: 1fr; gap: 16px; }
  .vs-badge { position: relative; left: auto; top: auto; translate: none; margin: -40px auto; width: 64px; height: 64px; font-size: 19px; }
  .js .vs-coal.reveal, .js .vs-gas.reveal { translate: 0 32px; }
}

/* ---- Ещё детали ---- */
.header { position: sticky; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--sky), var(--orange)); pointer-events: none; }
.hero-chips { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; color: var(--white); background: rgba(18, 36, 58, .62); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .7); animation: chip-float 6s ease-in-out infinite; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 26, .22); }
.chip-1 { top: 10%; left: -6%; }
.chip-2 { top: 46%; right: -8%; animation-delay: -2s; }
.chip-2 i { background: var(--sky); box-shadow: 0 0 0 4px rgba(94, 154, 216, .25); }
.chip-3 { bottom: 9%; left: 2%; animation-delay: -4s; }
@keyframes chip-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.btn-cta { position: relative; overflow: hidden; isolation: isolate; }
.btn-cta::after { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: btn-shine 4.5s ease-in-out infinite; }
@keyframes btn-shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.ticker { position: relative; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.ticker-track span:nth-child(even) { display: inline-block; animation: spin 6s linear infinite; }
.price-big b { background: linear-gradient(180deg, #FFFFFF 30%, #CFE0F7); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.range { -webkit-appearance: none; appearance: none; background: transparent; height: 32px; --p: 13%; }
.range::-webkit-slider-runnable-track { height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--blue), var(--orange) var(--p), #E3EAF3 var(--p)); }
.range::-moz-range-track { height: 10px; border-radius: 10px; background: #E3EAF3; }
.range::-moz-range-progress { height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--blue), var(--orange)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: var(--white); border: 7px solid var(--orange); box-shadow: 0 0 0 6px rgba(255, 106, 26, .2), 0 6px 16px rgba(10, 22, 34, .25); transition: box-shadow .2s; }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 7px solid var(--orange); box-shadow: 0 0 0 6px rgba(255, 106, 26, .2); }
.range:active::-webkit-slider-thumb { box-shadow: 0 0 0 10px rgba(255, 106, 26, .25), 0 6px 16px rgba(10, 22, 34, .25); }
#calc-total { display: inline-block; }
#calc-total.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); color: var(--orange); } }
.step-rail { position: relative; overflow: hidden; }
.step-rail::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--sky)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 250ms + .3s); }
.step.in .step-rail::after { transform: scaleX(1); }
.step-num { box-shadow: 0 0 0 6px rgba(255, 255, 255, .06); }
.step-num--first { box-shadow: 0 0 0 6px rgba(255, 106, 26, .2); }
.section-dark { background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px); background-size: 48px 48px; }
.faq-list { counter-reset: faq; }
.faq-q > span { display: flex; align-items: baseline; gap: 14px; }
.faq-q > span::before { counter-increment: faq; content: counter(faq, decimal-leading-zero); flex: none; font-size: 13px; letter-spacing: .06em; color: var(--blue); opacity: .7; }
.faq-item.active { background: linear-gradient(180deg, #FFFFFF, #F6F9FE); }
.faq-item.active .faq-q > span::before { color: var(--orange); opacity: 1; }
.contact-row.has-ico { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; }
.contact-ico { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-content: center; background: #E6EEFA; color: var(--blue); }
.contact-ico svg { width: 22px; height: 22px; }
.footer { position: relative; }
.footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--sky), var(--orange)); }
@media (max-width: 960px) { .hero-chips { display: none; } }
@media (prefers-reduced-motion: reduce) { .chip, .btn-cta::after, .ticker-track span, .footer-word span { animation: none !important; } .step-rail::after { transform: none; transition: none; } }

/* ---- Мягкий перелив текста ---- */
@keyframes sweep { 0% { background-position: 130% 0; } 55%, 100% { background-position: -30% 0; } }
.h2, .hero-free-badge, .price-big b, .vs-head h3, .hero-stats b, .why-item h3, .card h3, .nohassle h3 {
  -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 260% 100%; animation: sweep 7s ease-in-out infinite;
}
.h2, .why-item h3, .card:not(.card-dark) h3, .nohassle h3 { background-image: linear-gradient(100deg, var(--ink) 42%, #3B7BDA 50%, var(--ink) 58%); }
.section-dark .h2, .h2-price, .request .h2 { background-image: linear-gradient(100deg, #FFFFFF 42%, #9CC4F0 50%, #FFFFFF 58%); }
.card-dark h3, .vs-gas .vs-head h3, .hero-stats b, .price-big b { background-image: linear-gradient(100deg, #FFFFFF 40%, #FFC9A3 50%, #FFFFFF 60%); }
.vs-coal .vs-head h3 { background-image: linear-gradient(100deg, #3D4A59 42%, #8B99A8 50%, #3D4A59 58%); }
.hero-free-badge { background-image: linear-gradient(100deg, var(--orange) 40%, #FFD3B3 50%, var(--orange) 60%); }
.card:nth-child(2) h3, .why-item:nth-child(2) h3 { animation-delay: -1s; } .card:nth-child(3) h3, .why-item:nth-child(3) h3 { animation-delay: -2s; }
.card:nth-child(4) h3, .why-item:nth-child(4) h3 { animation-delay: -3s; } .card:nth-child(5) h3, .why-item:nth-child(5) h3 { animation-delay: -4s; }
.card:nth-child(6) h3, .why-item:nth-child(6) h3 { animation-delay: -5s; }
.hero-stats small { -webkit-text-fill-color: var(--soft-d); }
@media (prefers-reduced-motion: reduce) { .h2, .hero-free-badge, .price-big b, .vs-head h3, .hero-stats b, .why-item h3, .card h3, .nohassle h3 { animation: none; background-position: 100% 0; } }

/* Подвал: надпись переливается постоянно, как «под ключ» */
.footer-word { background: linear-gradient(100deg, #FFFFFF 0%, #FFFFFF 28%, #8FBCEB 44%, #FFFFFF 60%, #FFFFFF 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
.footer-word span { background: linear-gradient(100deg, #4F8FD6 0%, #D6E8FB 28%, #4F8FD6 52%, #9CC4F0 78%, #4F8FD6 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@media (prefers-reduced-motion: reduce) { .footer-word, .footer-word span { animation: none !important; } }

/* Заголовки с переливом: длинные слова не должны вылезать за блок (иначе обрезаются) */
.faq-head .h2 { font-size: clamp(30px, 3.1vw, 46px); }
.h2 { overflow-wrap: break-word; hyphens: auto; padding-bottom: .06em; }

/* ============ Адаптив ============ */
@media (max-width: 1480px) {
  .nav { gap: 8px 20px; font-size: 14px; }
}
/* меню-бургер: до 1320px, чтобы пункты меню, языки и кнопка не теснились */
@media (max-width: 1320px) {
  :root { --header-h: 72px; }
  .burger { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; flex-wrap: nowrap; gap: 0;
    background: var(--ink); padding: 8px var(--gutter) 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
    font-size: 18px;
  }
  .nav.active { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav a:last-child { border-bottom: none; }
  .header { position: sticky; }
  .header-inner { position: static; }
}
@media (max-width: 960px) {
  .floating { display: flex; }
}
@media (max-width: 640px) {
  .brand { gap: 10px; }
  .brand img { width: 28px; height: 40px; }
  .brand span { font-size: 13px; letter-spacing: .02em; }
  .header-actions { gap: 8px; }
  .hero-free { padding: 14px 16px; gap: 12px; }
  .hero-free-badge { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; color: var(--orange); }
  .hero-free-list { font-size: 14px; gap: 6px 14px; }
  .nohassle { border-radius: 24px; }
  .nohassle ul { grid-template-columns: 1fr; }
  .lang summary { height: 36px; padding: 0 10px; gap: 5px; font-size: 11px; }
  /* эмблема — над заголовком, чтобы её было видно на первом экране */
  .hero { padding-top: 20px; }
  .hero-inner { gap: 8px; }
  .hero-visual { order: -1; flex: 0 0 auto; width: 210px; max-width: 210px; }
  .hero-content { gap: 22px; }
  .hero-buttons .btn { width: 100%; }
  .hero-stats { gap: 16px 24px; }
  .hero-stats b { font-size: 22px; }
  .hero-rings span:nth-child(1) { right: -420px; }
  .hero-rings span:nth-child(2) { right: -320px; top: 200px; }
  .hero-rings span:nth-child(3) { right: auto; left: 50%; top: -15px; width: 260px; height: 260px; margin-left: -130px; }
  .ticker { font-size: 15px; padding: 14px 0; }
  /* услуги компактнее: иконка слева от заголовка */
  .card { padding: 22px; border-radius: 22px; display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 12px 16px; }
  .card-top { display: contents; }
  .card-icon { width: 48px; height: 48px; border-radius: 14px; }
  .card-icon svg { width: 22px; height: 22px; }
  .card-num { display: none; }
  .card h3 { font-size: 18px; }
  .card p { grid-column: 1 / -1; font-size: 15px; }
  .cards { gap: 12px; }
  .h2-price { font-size: 26px; }
  .kw { display: none; }
  .check input { width: 26px; height: 26px; }
  .check { padding: 6px 0; }
  .contact-row a { display: inline-block; padding: 6px 0; }
  .footer-nav { gap: 0 22px; }
  .footer-nav a, .footer-tel { display: inline-block; padding: 10px 0; }
  .price, .request { border-radius: 28px; }
  .calc-label { flex-direction: column; gap: 4px; }
  .kw { min-height: 300px; border-radius: 26px; }
  .kw-label { font-size: 10px; letter-spacing: .14em; }
  .kw-words-win { height: 144px; }
  .kw-words { line-height: 48px; font-size: 24px; }
  @keyframes kwwords { 0%,13.3%{transform:translateY(0)} 16.67%,30%{transform:translateY(-48px)} 33.33%,46.6%{transform:translateY(-96px)} 50%,63.3%{transform:translateY(-144px)} 66.67%,80%{transform:translateY(-192px)} 83.33%,96.6%{transform:translateY(-240px)} 100%{transform:translateY(-288px)} }
  .kw-sub { font-size: 12.5px; }
  .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; row-gap: 6px; padding-right: 0; padding-bottom: 28px; }
  .step-line { grid-row: 1 / 3; align-self: start; }
  .step h3 { padding-top: 14px; }
  .step-rail { display: none; }
  .steps { gap: 0; position: relative; }
  .faq-q { padding: 18px 18px; }
  .faq-a p { padding: 0 18px 20px; }
  .contact-card { padding: 26px; }
  .map { min-height: 260px; }
}

@media (max-width: 400px) {
  .header-inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 24px; height: 34px; }
  .brand span { font-size: 12px; letter-spacing: 0; }
  .header-actions { gap: 6px; }
  .burger { width: 42px; height: 42px; }
  .lang summary > svg:first-child { display: none; }
  .burger span { left: 12px; right: 12px; }
  .burger span:nth-child(1) { top: 13px; } .burger span:nth-child(2) { top: 19px; } .burger span:nth-child(3) { top: 25px; }
}
@media (max-width: 340px) {
  .brand span { display: none; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 34px; }
  .hero-visual { width: 180px; max-width: 180px; }
  .hero-rings span:nth-child(3) { width: 230px; height: 230px; margin-left: -115px; }
}

/* Если на устройстве отключены анимации */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 380px) { .h2-price { font-size: 22px; } }
