/* ==========================================================
   Бриз 39 — кондиционеры в Калининграде
   Дизайн-система: «ледяной воздух» — светлая, чистая, с холодным
   и тёплым акцентами (режимы охлаждения / обогрева)
   ========================================================== */

:root {
  --bg: #F3F7FB;
  --bg-2: #E9F1F8;
  --surface: #FFFFFF;
  --ink: #0A1A2B;
  --ink-2: #1C3047;
  --muted: #5B6E83;
  --line: #DAE4EE;
  --line-2: #C7D5E3;

  --cold: #1A8CFF;
  --cold-2: #3CC8F5;
  --cold-soft: #E3F2FF;
  --heat: #FF6B35;
  --heat-2: #FFA23D;
  --heat-soft: #FFF0E7;
  --ok: #16A36A;

  --accent: var(--cold);
  --accent-2: var(--cold-2);
  --accent-soft: var(--cold-soft);

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-1: 0 1px 2px rgba(10, 26, 43, .05), 0 4px 16px rgba(10, 26, 43, .05);
  --shadow-2: 0 2px 6px rgba(10, 26, 43, .06), 0 18px 48px rgba(10, 26, 43, .10);
  --wrap: 1240px;

  --f-display: "Unbounded", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
}

body.mode-heat {
  --accent: var(--heat);
  --accent-2: var(--heat-2);
  --accent-soft: var(--heat-soft);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--cold); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(34px, 5.4vw, 64px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.25; }
h4 { font-size: 17px; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); line-height: 1.55; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); }
.accent { color: var(--accent); transition: color .5s; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px; transition: color .5s;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  transition: transform .2s, box-shadow .2s, background .3s, color .3s; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-ghost { background: var(--surface); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }


.btn-sm { padding: 10px 18px; font-size: 14.5px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #C9D7E6; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; gap: 22px; align-items: center; }
.topbar .dot { width: 8px; height: 8px; border-radius: 50%; background: #2EE59D; display: inline-block; margin-right: 8px; box-shadow: 0 0 0 4px rgba(46, 229, 157, .18); }
@media (max-width: 860px) { .topbar-right { display: none; } }
@media (max-width: 560px) { .topbar { display: none; } }

.header { position: sticky; top: 0; z-index: 50; background: rgba(243, 247, 251, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.header.scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .9); }
.header .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo svg { width: 40px; height: 40px; }
.logo-word { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; line-height: 1; }
.logo-word sup { font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--accent); margin-left: 2px; vertical-align: 8px; transition: color .5s; }
.logo-sub { display: block; font-family: var(--f-body); font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-top: 3px; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { white-space: nowrap; padding: 9px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .2s; }
.nav a:hover { background: var(--bg-2); }
.nav a.active { background: var(--ink); color: #fff; }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; flex: none; }
.header-phone a { font-family: var(--f-display); font-weight: 600; font-size: 17px; }
.header-phone span { font-size: 12px; color: var(--muted); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); margin-left: auto; position: relative; }
.burger span, .burger::before, .burger::after { content: ""; position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger::before { top: 16px; } .burger span { top: 22px; } .burger::after { top: 28px; }
body.menu-open .burger::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span { opacity: 0; }
body.menu-open .burger::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1340px) { .header-phone { display: none; } }
@media (max-width: 1180px) {
  .nav, .header .btn { display: none; }
  .burger { display: block; }
}
.mobile-menu { position: fixed; inset: 76px 0 0 0; display: block; background: var(--surface); z-index: 49; padding: 24px 16px 120px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .3s; overflow-y: auto; }
@media (min-width: 1181px) { .mobile-menu { display: none; } }
body.menu-open .mobile-menu { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu a.mm-link { display: flex; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: 20px; font-weight: 500; }
.mobile-menu .mm-cta { display: grid; gap: 10px; margin-top: 24px; }

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-tight { padding: clamp(44px, 6vw, 72px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 4vw, 52px); flex-wrap: wrap; }
.sec-head h2 { max-width: 760px; }
.sec-head p { max-width: 460px; margin: 0; }
.sec-white { background: var(--surface); }
.sec-dark { background: var(--ink); color: #E6EEF6; }
.sec-dark .muted, .sec-dark .lead { color: #93A7BD; }
.sec-dark .eyebrow { color: var(--cold-2); }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 .accent { display: inline-block; }
.hero .lead { margin: 22px 0 28px; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; max-width: 600px; }
.hero-point { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.hero-point b { display: block; font-family: var(--f-display); font-size: 20px; font-weight: 600; line-height: 1.15; }
.hero-point span { font-size: 13.5px; color: var(--muted); line-height: 1.35; display: block; margin-top: 4px; }

.hero-visual { position: relative; aspect-ratio: 4 / 4.6; }
.hero-photo { position: absolute; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-2); background: var(--bg-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.p1 { inset: 0 18% 14% 0; }
.hero-photo.p2 { width: 42%; aspect-ratio: 3/4; right: 0; bottom: 0; border: 6px solid var(--bg); }
.airflow { position: absolute; left: 6%; right: 24%; top: 34%; height: 40%; pointer-events: none; z-index: 2; }
.airflow path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 10 22; opacity: .85; animation: flow 2.4s linear infinite; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent-2) 80%, transparent)); }
.airflow path:nth-child(2) { animation-duration: 3s; opacity: .65; }
.airflow path:nth-child(3) { animation-duration: 2.7s; opacity: .5; }
@keyframes flow { to { stroke-dashoffset: -64; } }

/* Thermostat widget */
.thermo { position: absolute; left: -4%; bottom: 4%; z-index: 3; width: 236px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 26px; padding: 18px; box-shadow: var(--shadow-2); border: 1px solid rgba(255, 255, 255, .7); }
.thermo-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); font-family: var(--f-mono); }
.thermo-top .live { display: inline-flex; align-items: center; gap: 6px; }
.thermo-top .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transition: background .5s; animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.thermo-dial { display: flex; align-items: center; justify-content: space-between; margin: 10px 0 12px; }
.thermo-temp { font-family: var(--f-display); font-size: 58px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.thermo-temp sup { font-size: 24px; color: var(--accent); transition: color .5s; vertical-align: 26px; }
.thermo-btns { display: grid; gap: 6px; }
.thermo-btns button { width: 38px; height: 38px; border-radius: 12px; background: var(--bg-2); font-size: 20px; font-weight: 600; transition: background .2s; }
.thermo-btns button:hover { background: var(--accent-soft); }
.thermo-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--bg-2); padding: 4px; border-radius: 14px; }
.thermo-modes button { padding: 8px 6px; border-radius: 10px; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); transition: .3s; }
.thermo-modes button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.thermo-modes svg { width: 16px; height: 16px; }
.thermo-note { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.4; min-height: 34px; }

.hero-badge { position: absolute; right: 4%; top: 5%; z-index: 3; background: var(--ink); color: #fff; border-radius: 18px; padding: 12px 16px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-2); }
.hero-badge b { font-family: var(--f-display); font-size: 22px; }
.hero-badge span { font-size: 12px; line-height: 1.3; color: #A9BACC; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .thermo { left: 0; }
}
@media (max-width: 560px) {
  .hero-points { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .hero-point { padding: 10px; }
  .hero-point b { font-size: 14px; white-space: nowrap; }
  .hero-point span { font-size: 12px; }
  .thermo { width: 200px; padding: 14px; bottom: 0; }
  .thermo-temp { font-size: 46px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-badge { padding: 10px 12px; }
}

/* ---------- Brand strip ---------- */
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.brands-track { display: flex; gap: 64px; padding: 26px 0; width: max-content; animation: marquee 38s linear infinite; }
.brands-track span { font-family: var(--f-display); font-size: 24px; font-weight: 600; color: #9DB0C4; letter-spacing: .02em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1020px) { .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { box-shadow: var(--shadow-2); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.icon-bubble { width: 54px; height: 54px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 20px; transition: .5s; }
.icon-bubble svg { width: 28px; height: 28px; }

/* Scenario cards with photos */
.scene { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate; }
.scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s; }
.scene::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 26, 43, 0) 25%, rgba(10, 26, 43, .88) 100%); }
.scene:hover img { transform: scale(1.05); }
.scene-body { padding: 26px; }
.scene-tag { display: inline-block; font-family: var(--f-mono); font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); margin-bottom: 12px; }
.scene h3 { color: #fff; margin-bottom: 8px; }
.scene p { color: #D5E1EE; font-size: 15px; margin-bottom: 14px; }
.scene .more { font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.scene .more::after { content: "→"; transition: transform .2s; }
.scene:hover .more::after { transform: translateX(4px); }

/* ---------- Kaliningrad / heat section ---------- */
.climate { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.climate-chart { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 28px; }
.climate-chart h4 { font-family: var(--f-body); font-weight: 700; margin-bottom: 4px; color: #fff; }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 200px; margin: 26px 0 10px; }
.months div { border-radius: 8px 8px 4px 4px; position: relative; min-height: 6px; }
.months div[data-m="heat"] { background: linear-gradient(180deg, var(--heat-2), var(--heat)); }
.months div[data-m="cold"] { background: linear-gradient(180deg, var(--cold-2), var(--cold)); }
.months div[data-m="both"] { background: linear-gradient(180deg, var(--cold-2) 0%, var(--heat) 100%); }
.months-l { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; font-family: var(--f-mono); font-size: 11px; color: #7F95AD; text-align: center; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: 13.5px; color: #A9BACC; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 8px; vertical-align: -1px; }
.climate-facts { display: grid; gap: 14px; margin-top: 28px; }
.climate-facts li { display: flex; gap: 14px; align-items: flex-start; }
.climate-facts b { color: #fff; }
.climate-facts .n { font-family: var(--f-display); font-size: 15px; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(60, 200, 245, .14); color: var(--cold-2); flex: none; }
ul.clean { list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .climate { grid-template-columns: 1fr; } }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-1); }
.calc-form { padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 26px; }
.calc-result { background: var(--ink); color: #fff; padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.calc-result::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -140px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%); opacity: .55; transition: background .5s; }
.field label, .field .label { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.field label output, .field .label output { font-family: var(--f-mono); color: var(--accent); font-weight: 600; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--accent) var(--p, 30%), var(--line) var(--p, 30%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 4px 12px rgba(10, 26, 43, .2); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); cursor: grab; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: .2s; background: var(--surface); }
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--accent-soft); }
.res-label { font-family: var(--f-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: #8EA4BB; }
.res-big { font-family: var(--f-display); font-size: clamp(54px, 6vw, 76px); font-weight: 600; line-height: 1; margin: 10px 0 6px; letter-spacing: -0.03em; }
.res-big small { font-size: .38em; color: #8EA4BB; font-weight: 500; letter-spacing: 0; }
.res-rows { display: grid; gap: 10px; margin: 24px 0; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); position: relative; }
.res-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.res-rows span { color: #8EA4BB; }
.res-rows b { font-family: var(--f-mono); font-weight: 600; text-align: right; }
.calc-result .btn { margin-top: auto; }
.calc-result p.small { font-size: 12.5px; color: #7F95AD; margin: 14px 0 0; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

/* ---------- Product cards ---------- */
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.product:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.product-img { aspect-ratio: 16/10; background: linear-gradient(160deg, #F6FAFD, #E4EEF7); display: grid; place-items: center; position: relative; padding: 22px; }
.product-img svg { width: 88%; height: auto; filter: drop-shadow(0 14px 18px rgba(10, 26, 43, .14)); }
.product-tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); letter-spacing: .01em; }
.tag-hit { background: var(--heat); color: #fff; border-color: var(--heat); }
.tag-inv { background: var(--cold-soft); color: var(--cold); border-color: transparent; }
.tag-wifi { background: #EAF8F1; color: var(--ok); border-color: transparent; }
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-brand { font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.product h3 { font-size: 18px; margin: 6px 0 14px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-size: 13.5px; margin-bottom: 18px; }
.specs div { display: flex; flex-direction: column; }
.specs span { color: var(--muted); font-size: 12px; }
.specs b { font-weight: 700; }
.product-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.price { font-family: var(--f-display); font-size: 22px; font-weight: 600; line-height: 1.1; }
.price small { display: block; font-family: var(--f-body); font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 4px; }
.price small.price-turnkey { font-size: 13px; color: var(--ok); font-weight: 700; }

.filters { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; margin-bottom: 26px; }
.filters .group { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.filters .group > b { font-size: 13px; color: var(--muted); font-weight: 600; margin-right: 4px; }
.filters .chip span { padding: 7px 13px; font-size: 13.5px; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); grid-column: 1 / -1; }

/* ---------- Price tables ---------- */
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ptable th, .ptable td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable th { background: var(--bg-2); font-size: 13px; font-family: var(--f-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ptable td:last-child, .ptable th:last-child { text-align: right; white-space: nowrap; }
.ptable td b { font-family: var(--f-display); font-weight: 600; }
.ptable td small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.ptable tr:hover td { background: #FAFCFE; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }
@media (max-width: 640px) {
  .ptable th, .ptable td { padding: 13px 14px; font-size: 15px; }
  .ptable td small { font-size: 12.5px; }
}

.includes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.includes li { display: flex; gap: 12px; align-items: flex-start; }
.includes li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }
@media (max-width: 640px) { .includes { grid-template-columns: 1fr; } }

/* Price tier cards */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.tier.pop { border: 2px solid var(--accent); }
.tier.pop::before { content: "Чаще всего"; position: absolute; top: -12px; left: 22px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.tier .t-class { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.tier .t-area { font-family: var(--f-display); font-size: 22px; font-weight: 600; margin: 6px 0 16px; }
.tier .t-price { font-family: var(--f-display); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.tier .t-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
@media (max-width: 1020px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tiers { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step::before { content: "0" counter(s); font-family: var(--f-mono); font-size: 13px; color: var(--accent); font-weight: 600; display: block; margin-bottom: 18px; transition: color .5s; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }
.step .time { display: inline-block; margin-top: 16px; font-size: 12.5px; font-weight: 700; background: var(--bg-2); padding: 5px 10px; border-radius: 99px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Standards (dark) ---------- */
.standards { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.std-list { display: grid; gap: 2px; }
.std { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.std .ic { width: 56px; height: 56px; border-radius: 16px; background: rgba(60, 200, 245, .1); color: var(--cold-2); display: grid; place-items: center; }
.std .ic svg { width: 26px; height: 26px; }
.std h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.std p { color: #93A7BD; font-size: 15px; margin: 0; }
.std-photos { position: sticky; top: 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.std-photos figure { margin: 0; border-radius: 18px; overflow: hidden; position: relative; }
.std-photos figure:first-child { grid-column: 1 / -1; aspect-ratio: 16/11; }
.std-photos figure:not(:first-child) { aspect-ratio: 3/4; }
.std-photos img { width: 100%; height: 100%; object-fit: cover; }
.std-photos figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 700; padding: 5px 10px; background: rgba(10, 26, 43, .7); backdrop-filter: blur(6px); border-radius: 99px; color: #fff; }
@media (max-width: 900px) { .standards { grid-template-columns: 1fr; } .std-photos { position: static; } }

/* ---------- Gallery ---------- */
.gallery { columns: 4 260px; column-gap: 14px; }
.gallery a { display: block; break-inside: avoid; margin-bottom: 14px; border-radius: 18px; overflow: hidden; position: relative; background: var(--bg-2); }
.gallery img { width: 100%; height: auto; transition: transform .6s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a span { position: absolute; left: 10px; right: 10px; bottom: 10px; font-size: 13px; font-weight: 700; color: #fff; padding: 7px 11px; background: rgba(10, 26, 43, .62); backdrop-filter: blur(8px); border-radius: 12px; opacity: 0; transform: translateY(6px); transition: .3s; }
.gallery a:hover span { opacity: 1; transform: none; }
@media (hover: none) { .gallery a span { opacity: 1; transform: none; } }
.gallery a.hide { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6, 14, 24, .94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 14px; object-fit: contain; }
.lightbox .lb-cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #C9D7E6; font-size: 14px; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 24px; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox { padding: 70px 10px; } .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; } }

/* ---------- Pre-install timeline ---------- */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stage { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stage-img { aspect-ratio: 4/3.4; overflow: hidden; position: relative; }
.stage-img img { width: 100%; height: 100%; object-fit: cover; }
.stage-num { position: absolute; top: 14px; left: 14px; font-family: var(--f-display); font-size: 14px; font-weight: 600; background: #fff; border-radius: 99px; padding: 6px 12px; }
.stage-body { padding: 22px 24px 26px; }
.stage-body h3 { margin-bottom: 8px; }
.stage-body p { color: var(--muted); font-size: 15.5px; margin: 0; }
@media (max-width: 900px) { .stages { grid-template-columns: 1fr; } .stage { display: grid; grid-template-columns: 200px 1fr; } .stage-img { aspect-ratio: auto; height: 100%; } }
@media (max-width: 560px) { .stage { grid-template-columns: 1fr; } .stage-img { aspect-ratio: 4/3; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.stars { color: #FFB020; letter-spacing: 2px; font-size: 17px; margin-bottom: 14px; }
.review p { font-size: 15.5px; flex: 1; }
.review-who { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--cold), var(--cold-2)); flex: none; }
.review-who b { display: block; font-size: 15px; line-height: 1.2; }
.review-who span { font-size: 13px; color: var(--muted); }
.rating-box { display: flex; gap: 14px; flex-wrap: wrap; }
.rating-pill { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 16px; }
.rating-pill b { font-family: var(--f-display); font-size: 22px; }
.rating-pill span { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
@media (max-width: 1020px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; font-size: 20px; font-weight: 500; transition: transform .3s, background .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--accent-soft); }
.faq .ans { padding: 0 24px 22px; color: var(--muted); }
.faq .ans p:last-child { margin: 0; }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 5vw, 72px); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } }

/* ---------- CTA / Form ---------- */
.cta-box { background: var(--ink); color: #fff; border-radius: 32px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; width: 640px; height: 640px; left: -260px; bottom: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(26, 140, 255, .45), transparent 65%); }
.cta-box::after { content: ""; position: absolute; width: 480px; height: 480px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 107, 53, .28), transparent 65%); }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { color: #fff; }
.cta-box .lead { color: #A9BACC; margin-top: 16px; }
.cta-perks { display: grid; gap: 12px; margin-top: 26px; }
.cta-perks li { display: flex; gap: 12px; align-items: center; color: #D5E1EE; }
.cta-perks li::before { content: "✓"; width: 26px; height: 26px; border-radius: 50%; background: rgba(46, 229, 157, .16); color: #2EE59D; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.form { background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; align-content: start; }
.form h3 { margin-bottom: 4px; }
.input { width: 100%; padding: 15px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); transition: border-color .2s, background .2s; font-size: 16px; }
.input:focus { outline: none; border-color: var(--cold); background: #fff; }
textarea.input { resize: vertical; min-height: 90px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-send { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form small { font-size: 12px; color: var(--muted); line-height: 1.45; }
.form small a { text-decoration: underline; }
.form-ok { display: none; text-align: center; padding: 20px 0; }
.form.sent .form-ok { display: block; }
.form.sent > :not(.form-ok) { display: none; }
@media (max-width: 900px) { .cta-box { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form .row2, .form-send { grid-template-columns: 1fr; } }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-img { border-radius: 28px; overflow: hidden; aspect-ratio: 4/4.4; box-shadow: var(--shadow-2); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.stat span { display: block; color: var(--muted); font-size: 15px; margin-top: 10px; }
.sec-dark .stat span { color: #93A7BD; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; gap: 28px 20px; } }

/* ---------- Page hero ---------- */
.page-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(36px, 5vw, 56px); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 56px); max-width: 920px; }
.page-hero .lead { margin-top: 20px; max-width: 720px; }
.page-hero-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; }
.page-hero-split .split-img { aspect-ratio: 4/3; }
@media (max-width: 900px) { .page-hero-split { grid-template-columns: 1fr; } }

.note { background: var(--accent-soft); border-radius: 18px; padding: 18px 22px; font-size: 15px; display: flex; gap: 14px; align-items: flex-start; }
.note svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }
.note p { margin: 0; }

.prose { max-width: 820px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 48px 0 16px; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }

/* ---------- Contacts ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-card .label { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact-card b { display: block; font-family: var(--f-display); font-size: 19px; font-weight: 600; margin: 10px 0 6px; line-height: 1.25; }
.contact-card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.map { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); height: 440px; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; }
.zones { display: flex; flex-wrap: wrap; gap: 8px; }
.zones span { padding: 8px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }
.zones span em { font-style: normal; color: var(--ok); font-weight: 700; margin-left: 6px; font-size: 13px; }
@media (max-width: 1020px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: #07121F; color: #93A7BD; padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-family: var(--f-body); font-weight: 700; font-size: 15px; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer .logo-word { color: #fff; }
.footer-phone { font-family: var(--f-display); font-size: 22px; color: #fff; font-weight: 600; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .06); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: rgba(255, 255, 255, .14); }
.socials svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile sticky bar ---------- */
.mbar { display: none; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; background: rgba(10, 26, 43, .94); backdrop-filter: blur(12px); border-radius: 20px; padding: 8px; gap: 6px; grid-template-columns: 1fr 1fr 1.3fr; box-shadow: 0 12px 32px rgba(0, 0, 0, .3); }
.mbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 14px; color: #fff; font-size: 12px; font-weight: 700; }
.mbar a svg { width: 22px; height: 22px; }
.mbar a.main { background: var(--accent); flex-direction: row; justify-content: center; gap: 8px; font-size: 14px; }
@media (max-width: 760px) { .mbar { display: grid; } body { padding-bottom: 84px; } }

/* ---------- Quiz modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(6, 14, 24, .6); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.modal-box { background: var(--surface); border-radius: 28px; width: 100%; max-width: 620px; max-height: 92vh; overflow-y: auto; padding: clamp(22px, 4vw, 38px); position: relative; animation: rise .3s; }
@keyframes rise { from { transform: translateY(16px); } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-2); font-size: 20px; }
.quiz-progress { height: 5px; background: var(--bg-2); border-radius: 99px; overflow: hidden; margin: 6px 0 26px; }
.quiz-progress i { display: block; height: 100%; width: 20%; background: var(--accent); border-radius: 99px; transition: width .35s; }
.quiz-step { display: none; }
.quiz-step.on { display: block; animation: fade .3s; }
.quiz-step h3 { font-size: 22px; margin-bottom: 18px; }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz-opts label { position: relative; }
.quiz-opts input { position: absolute; opacity: 0; }
.quiz-opts span { display: block; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); font-weight: 700; font-size: 15px; cursor: pointer; transition: .2s; height: 100%; }
.quiz-opts span small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; margin-top: 2px; }
.quiz-opts span:hover { border-color: var(--ink); }
.quiz-opts input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.quiz-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; }
.quiz-meta { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); }
@media (max-width: 480px) { .quiz-opts { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .brands-track, .airflow path { animation: none; }
  html { scroll-behavior: auto; }
}

:focus-visible { outline: 3px solid color-mix(in srgb, var(--cold) 50%, transparent); outline-offset: 2px; border-radius: 6px; }

/* grid children shouldn't stretch the page on narrow screens */
.split > *, .page-hero-split > *, .hero-grid > *, .climate > *, .standards > *, .faq-layout > *, .cta-box > * { min-width: 0; }
h1, h2 { overflow-wrap: break-word; }

/* ---------- Проф Кондиционеры: правки ---------- */
.logo-word { font-size: 20px; }
.logo-word em { font-style: normal; color: var(--accent); transition: color .5s; }
.footer .logo-word em { color: var(--cold-2); }
.header-phone span a { color: var(--ink-2); font-weight: 700; }
.socials a.avito-link { width: auto; padding: 0 14px; font-weight: 700; font-size: 14px; color: #fff; }
.mobile-menu .btn-avito, .btn-avito { background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-avito b { color: #FFB020; }

/* Сертификаты */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; transition: box-shadow .25s, transform .25s; }
.cert:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.cert img { width: 100%; aspect-ratio: 595 / 842; object-fit: cover; border-radius: 10px; }
.cert b { display: block; margin: 14px 4px 2px; font-size: 16px; }
.cert span { display: block; margin: 0 4px 4px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 760px) { .certs { grid-template-columns: 1fr 1fr; gap: 12px; } .cert { padding: 8px; } }

/* Авито-блок вместо отзывов */
.avito-box { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 3vw, 36px); }
.avito-score { font-family: var(--f-display); font-size: clamp(56px, 7vw, 84px); font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.avito-score small { display: block; font-size: 22px; color: #FFB020; letter-spacing: 3px; margin-top: 8px; }
.avito-box h3 { margin-bottom: 8px; }
.avito-box p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .avito-box { grid-template-columns: 1fr; text-align: left; gap: 16px; } }

/* Фото-мозаика вместо длинного текста */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.mosaic figure { margin: 0; border-radius: 18px; overflow: hidden; position: relative; }
.mosaic figure.tall { grid-row: span 2; }
.mosaic figure.wide { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; font-size: 13px; font-weight: 700; color: #fff; padding: 7px 11px; background: rgba(10, 26, 43, .62); backdrop-filter: blur(8px); border-radius: 12px; width: fit-content; }
@media (max-width: 900px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; } }
.std-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.std-chips span { padding: 10px 16px; border-radius: 999px; background: rgba(60, 200, 245, .1); color: #D5E1EE; font-weight: 600; font-size: 14.5px; border: 1px solid rgba(60, 200, 245, .2); }
.burger { flex: none; }
.logo { min-width: 0; }
@media (max-width: 480px) {
  .header .wrap { gap: 12px; }
  .logo svg { width: 36px; height: 36px; }
  .logo-word { font-size: 16.5px; }
  .logo-sub { font-size: 10.5px; }
}
/* MAX */
.btn-max { background: linear-gradient(135deg, #3E7BFA, #8A4DFF); color: #fff; }
.btn-max:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(110, 90, 255, .35); }
.form-send .btn { width: 100%; }

/* ==========================================================
   БЕЛАЯ ТЕМА — по просьбе клиента: без тёмных блоков
   ========================================================== */
:root { --bg: #FFFFFF; --bg-2: #F2F6FA; }
.sec-white { background: #F7FAFD; }

/* верхняя строка и шапка */
.topbar { background: #fff; color: var(--muted); border-bottom: 1px solid var(--line); }
.topbar a:hover { color: var(--ink); }
.header, .header.scrolled { background: rgba(255, 255, 255, .94); }

/* бывшие тёмные секции */
.sec-dark { background: #F7FAFD; color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-dark .muted, .sec-dark .lead, .sec-dark .stat span { color: var(--muted); }
.sec-dark .eyebrow { color: var(--accent); }
.climate-chart { background: #fff; border-color: var(--line); box-shadow: var(--shadow-1); }
.climate-chart h4, .climate-facts b { color: var(--ink); }
.climate-facts .n { background: var(--cold-soft); color: var(--cold); }
.months-l, .legend { color: var(--muted); }
.std-chips span { background: #fff; color: var(--ink-2); border-color: var(--line-2); }

/* калькуляторы */
.calc-result { background: #F7FAFD; color: var(--ink); border-left: 1px solid var(--line); }
.calc-result::before { opacity: .18; }
.res-label, .res-rows span, .res-big small, .calc-result p.small { color: var(--muted); }
.res-rows { border-color: var(--line); }
@media (max-width: 900px) { .calc-result { border-left: 0; border-top: 1px solid var(--line); } }

/* CTA-блоки */
.cta-box { background: #F7FAFD; color: var(--ink); border: 1px solid var(--line); }
.cta-box::before { opacity: .25; }
.cta-box::after { opacity: .3; }
.cta-box h2 { color: var(--ink); }
.cta-box .lead { color: var(--muted); }
.cta-perks li { color: var(--ink-2); }
.cta-perks li::before { background: #E3F6EC; color: var(--ok); }
.form { border: 1px solid var(--line); box-shadow: var(--shadow-1); }

/* плашки поверх фото */
.hero-badge { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.hero-badge span { color: var(--muted); }

/* футер */
.footer { background: #F7FAFD; color: var(--muted); border-top: 1px solid var(--line); }
.footer h4, .footer .logo-word, .footer-phone { color: var(--ink); }
.footer .logo-word em { color: var(--accent); }
.footer a:hover { color: var(--accent); }
.footer-bottom { border-top-color: var(--line); }
.socials a { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.socials a:hover { background: var(--bg-2); }
.socials a.avito-link { color: var(--ink); }

/* нижняя панель на телефоне */
.mbar { background: rgba(255, 255, 255, .97); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(10, 26, 43, .14); }
.mbar a { color: var(--ink); }
.mbar a.main { color: #fff; }

/* просмотр фото */
.lightbox { background: rgba(255, 255, 255, .97); }
.lightbox .lb-cap { color: var(--ink-2); }
.lightbox button { background: var(--bg-2); color: var(--ink); }
.lightbox button:hover { background: var(--line); }
.modal { background: rgba(240, 245, 250, .75); }

/* тёмные кнопки → фирменный синий */
.btn-dark { background: var(--accent); color: #fff; }
.btn-dark:hover { background: color-mix(in srgb, var(--accent) 85%, #000); }
.filters .chip input:checked + span, .chip input:checked + span { background: var(--accent); border-color: var(--accent); }
.nav a.active { background: var(--accent-soft); color: var(--accent); }
.mosaic figcaption, .gallery a span, .std-photos figcaption { background: rgba(255, 255, 255, .9); color: var(--ink); }

/* Заголовок первого экрана: слово «Кондиционеры» не должно рваться на широких экранах */
.hero h1 { font-size: clamp(30px, 4.3vw, 54px); }
.hero h1, .page-hero h1, h2 { overflow-wrap: normal; }

/* ---------- Шапка: после переименования логотип стал длиннее — всё должно влезать ---------- */
.header .wrap { max-width: 1400px; gap: 20px; }
.nav { gap: 2px; }
.nav a { font-size: 14.5px; padding: 8px 10px; }
.header-phone { display: flex; }
@media (min-width: 1241px) {
  .logo svg { width: 36px; height: 36px; }
  .logo-word { font-size: 18px; }
  .burger, .mobile-menu { display: none; }
}
@media (max-width: 1399px) { .header .btn { display: none; } }
@media (max-width: 1240px) {
  .nav, .header-phone, .header .btn { display: none; }
  .burger { display: block; }
  .mobile-menu { display: block; }
}

/* ---------- Заголовки: длинные слова («обслуживание», «Профессиональный») не рвём и не выпускаем за край ---------- */
.faq-layout h2 { font-size: clamp(26px, 2.6vw, 36px); }
.split h2 { font-size: clamp(26px, 3vw, 40px); }
@media (max-width: 640px) {
  h2, .split h2, .faq-layout h2, .sec-head h2 { font-size: min(6.6vw, 28px); }
  .page-hero h1 { font-size: min(8vw, 32px); }
  .hero h1 { font-size: min(8.2vw, 34px); }
}
@media (max-width: 374px) {
  .logo { gap: 8px; }
  .logo svg { width: 30px; height: 30px; }
  .logo-word { font-size: 13.5px; }
  .logo-sub { font-size: 9.5px; }
  .burger { width: 42px; height: 42px; }
  .burger span, .burger::before, .burger::after { left: 11px; right: 11px; }
  .burger::before { top: 14px; } .burger span { top: 20px; } .burger::after { top: 26px; }
}
@media (max-width: 374px) { .btn { white-space: normal; text-align: center; padding: 14px 18px; } }
