/* =========================================================
   ПРОХОЛОДА — стилі
   ========================================================= */
:root {
  --navy-900: #050e1c;
  --navy-800: #071426;
  --navy-700: #0c2140;
  --navy-600: #143159;
  --ice-500: #3fc7ff;
  --ice-400: #7fe3ff;
  --ice-300: #b8f0ff;
  --ice-100: #e8f8ff;
  --mint: #6effd8;
  --warm: #ff8a3d;
  --bg: #f3f8fc;
  --surface: #ffffff;
  --text: #0b1a2e;
  --muted: #3f4f66;
  --line: #dde7f1;

  --grad-ice: linear-gradient(120deg, #7fe3ff 0%, #3fc7ff 45%, #6effd8 100%);
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 20px 50px -20px rgba(7, 20, 38, .25);
  --shadow-ice: 0 18px 40px -12px rgba(63, 199, 255, .55);

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --heat: 0; /* 0 — холодно, 1 — тепло (керується термостатом) */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: .01em; }
p { margin: 0; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }

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

.glass {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: var(--radius);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700; font-size: 16px;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.btn--ice { background: var(--grad-ice); color: var(--navy-800); box-shadow: var(--shadow-ice); }
.btn--ice:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -12px rgba(63, 199, 255, .75); }
.btn--ghost { border: 1.5px solid rgba(255, 255, 255, .25); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }
.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); background: var(--navy-700); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 18px 30px; font-size: 17px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 18px 0;
  transition: padding .3s, background .3s, box-shadow .3s;
}
.header.is-scrolled {
  padding: 10px 0;
  background: rgba(7, 20, 38, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .5);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.logo__mark {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad-ice);
  box-shadow: 0 6px 20px -6px rgba(63, 199, 255, .7);
}
.logo__mark svg { width: 22px; fill: none; stroke: var(--navy-800); stroke-width: 3; stroke-linecap: round; }
.logo:hover .logo__mark svg { animation: spin 1.2s ease; }
.logo__text { font-family: var(--font-display); font-weight: 900; font-size: 18px; letter-spacing: .04em; }

.nav { display: flex; gap: 28px; }
.nav a { color: rgba(255, 255, 255, .78); font-weight: 600; font-size: 15px; position: relative; transition: color .2s; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--grad-ice); border-radius: 2px;
  transform: scaleX(0); transition: transform .25s;
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 15px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(110, 255, 216, .7); animation: pulse 2s infinite; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .1); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger.is-open span:first-child { top: 21px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100vh, 980px);
  padding: 140px 0 160px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% 20%, color-mix(in srgb, var(--ice-500) calc((1 - var(--heat)) * 30%), var(--warm) calc(var(--heat) * 35%)) 0%, transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(110, 255, 216, .12), transparent 60%),
    linear-gradient(180deg, rgba(5, 14, 28, .62) 0%, rgba(5, 14, 28, .58) 45%, rgba(5, 14, 28, .8) 85%, var(--navy-800) 100%),
    url(img/kyiv-bridge.jpg) center 70% / cover no-repeat,
    var(--navy-800);
}
.hero__snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: calc(1 - var(--heat) * .9); transition: opacity .6s; }
.hero__glow {
  position: absolute; width: 600px; height: 600px; right: -100px; top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 227, 255, .35), transparent 65%);
  filter: blur(40px);
  animation: float 9s ease-in-out infinite;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(127, 227, 255, .1); border: 1px solid rgba(127, 227, 255, .25);
  color: var(--ice-300); font-weight: 600; font-size: 14px;
  margin-bottom: 26px;
}
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: pulse 2s infinite; }

.hero__title { font-size: clamp(36px, 4.8vw, 62px); font-weight: 700; line-height: 1.12; margin-bottom: 26px; }
.hero__title .text-gradient { display: inline-block; }
.hero__lead { font-size: 19px; color: rgba(255, 255, 255, .85); max-width: 540px; margin-bottom: 38px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero__stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 40px; flex-wrap: wrap; }
.hero__stats li { display: flex; align-items: center; gap: 14px; }
.hero__stats b { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--ice-400); line-height: 1; }
.hero__stats span { font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, .8); }

/* AC unit illustration */
.hero__visual { position: relative; display: flex; justify-content: center; }
.thermo { width: 100%; max-width: 480px; position: relative; }
.ac-unit { position: relative; margin-bottom: 120px; animation: float 6s ease-in-out infinite; }
.ac-unit__body {
  position: relative;
  height: 130px;
  border-radius: 26px 26px 18px 18px;
  background: linear-gradient(180deg, #ffffff 0%, #e9f1f8 70%, #d6e2ee 100%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), inset 0 -8px 0 rgba(0, 0, 0, .05), inset 0 2px 0 #fff;
}
.ac-unit__body::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11, 26, 46, .1), transparent);
}
.ac-unit__brand { position: absolute; left: 28px; bottom: 30px; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .25em; color: #9aaabd; }
.ac-unit__display {
  position: absolute; right: 30px; top: 40px;
  font-family: var(--font-display); font-weight: 500; font-size: 26px;
  color: color-mix(in srgb, var(--ice-500) calc((1 - var(--heat)) * 100%), var(--warm));
  text-shadow: 0 0 14px currentColor;
  transition: color .4s;
}
.ac-unit__led { position: absolute; right: 30px; bottom: 26px; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.ac-unit__flap {
  height: 16px; margin: -8px 18px 0;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #cfdbe7, #b7c6d6);
  transform-origin: top; transform: rotateX(25deg);
}
.airflow { position: absolute; left: 30px; right: 30px; top: 140px; height: 140px; display: flex; justify-content: space-between; pointer-events: none; }
.airflow span {
  width: 3px; height: 100%;
  border-radius: 3px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ice-400) calc((1 - var(--heat)) * 100%), var(--warm)), transparent);
  opacity: 0;
  animation: blow var(--speed, 1.6s) linear infinite;
  transform-origin: top;
}
.airflow span:nth-child(1) { animation-delay: 0s; transform: skewX(14deg); }
.airflow span:nth-child(2) { animation-delay: .3s; transform: skewX(9deg); }
.airflow span:nth-child(3) { animation-delay: .6s; transform: skewX(4deg); }
.airflow span:nth-child(4) { animation-delay: .15s; }
.airflow span:nth-child(5) { animation-delay: .45s; transform: skewX(-4deg); }
.airflow span:nth-child(6) { animation-delay: .75s; transform: skewX(-9deg); }
.airflow span:nth-child(7) { animation-delay: .9s; transform: skewX(-14deg); }

.thermo__panel { padding: 26px 28px; position: relative; z-index: 2; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.thermo__row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.thermo__label { font-size: 13px; color: rgba(255, 255, 255, .75); }
.thermo__outside { font-family: var(--font-display); font-size: 22px; color: var(--warm); }
.thermo__mode { padding: 6px 14px; border-radius: 999px; background: rgba(127, 227, 255, .12); color: var(--ice-300); font-weight: 700; font-size: 13px; transition: background .3s, color .3s; }
.thermo__mode.is-warm { background: rgba(255, 138, 61, .15); color: #ffb98a; }
.thermo__dial { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.thermo__btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15);
  font-size: 26px; line-height: 1; color: #fff;
  transition: background .2s, transform .15s;
}
.thermo__btn:hover { background: rgba(255, 255, 255, .16); }
.thermo__btn:active { transform: scale(.92); }
.thermo__value { font-family: var(--font-display); font-weight: 900; font-size: 72px; line-height: 1; }
.thermo__value sup { font-size: 22px; font-weight: 500; color: rgba(255, 255, 255, .5); vertical-align: top; margin-left: 4px; }
.thermo__hint { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .8); text-align: center; min-height: 1.6em; }

/* Range */
.range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 8px;
  background: linear-gradient(90deg, var(--ice-500) 0%, var(--ice-500) var(--fill, 50%), rgba(255, 255, 255, .15) var(--fill, 50%));
  outline: none;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 5px solid var(--ice-500);
  box-shadow: 0 4px 14px rgba(63, 199, 255, .6);
  cursor: grab; transition: transform .15s;
}
.range::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid var(--ice-500); cursor: grab; }
#tempRange { background: linear-gradient(90deg, var(--ice-500), var(--mint) 50%, var(--warm)); }

.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; }
.hero__wave svg { width: 100%; height: 100px; fill: var(--bg); }

/* ---------- Marquee ---------- */
.brands { padding: 20px 0 10px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #6f8299; letter-spacing: .06em; }
.marquee__track i { color: var(--ice-500); font-style: normal; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section__head { margin-bottom: 56px; max-width: 720px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.section__title { font-size: clamp(30px, 4vw, 52px); font-weight: 700; }
.section__title--light { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: #1597d0; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--ice-400); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bento__card {
  position: relative; overflow: hidden;
  background: var(--surface); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--line);
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.bento__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.bento__card h3 { font-size: 20px; margin: 22px 0 10px; }
.bento__card p { color: var(--muted); font-size: 15px; }
.bento__card--big { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, var(--navy-800), var(--navy-600)); color: #fff; border: 0; display: flex; flex-direction: column; }
.bento__card--big h3 { font-size: 30px; margin-top: 28px; }
.bento__card--big p { color: rgba(255, 255, 255, .85); font-size: 17px; max-width: 420px; }
.bento__big-num { margin-top: auto; padding-top: 30px; font-family: var(--font-display); font-weight: 900; font-size: clamp(90px, 12vw, 150px); line-height: .85; }
.bento__big-num { background: var(--grad-ice); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bento__big-num small { font-size: .25em; font-weight: 500; margin-left: 8px; }
.bento__card--accent { background: var(--grad-ice); border: 0; }
.bento__card--accent p { color: rgba(7, 20, 38, .75); }
.bento__card--accent .bento__icon { background: rgba(255, 255, 255, .5); }
.bento__card--big .bento__icon { background: rgba(127, 227, 255, .12); }
.bento__card--big .bento__icon svg { stroke: var(--ice-400); }
.bento__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--ice-100); }
.bento__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--navy-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Catalog ---------- */
.filters { display: flex; gap: 6px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; flex-wrap: wrap; }
.filter { padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--muted); transition: background .25s, color .25s; }
.filter:hover { color: var(--text); }
.filter.is-active { background: var(--navy-800); color: #fff; }

.area-filter { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: -24px 0 36px; font-weight: 600; color: var(--muted); }
.area-filter__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.area-chip { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; color: var(--text); transition: all .2s; }
.area-chip:hover { border-color: var(--ice-500); }
.area-chip.is-active { border-color: var(--ice-500); background: var(--ice-100); color: #0b7fb3; }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.products__empty { text-align: center; color: var(--muted); padding: 40px 0; }
.product {
  position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column;
  transition: transform .35s, box-shadow .35s, opacity .35s;
  animation: cardIn .5s both;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product__badges { position: absolute; top: 18px; left: 18px; display: flex; gap: 6px; z-index: 2; }
.badge { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--navy-800); color: #fff; }
.badge--hit { background: var(--warm); }
.badge--wifi { background: var(--ice-100); color: #0b7fb3; }
.product__visual {
  height: 170px; border-radius: 18px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #ffffff, var(--ice-100) 70%);
  position: relative; overflow: hidden;
}
.product__visual::after {
  content: ""; position: absolute; inset: auto 0 0; height: 50%;
  background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(63, 199, 255, .08) 22px 24px);
  mask-image: linear-gradient(180deg, transparent, #000);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000);
}
.mini-ac { width: 78%; height: 62px; border-radius: 16px 16px 10px 10px; position: relative; box-shadow: 0 18px 30px -14px rgba(7, 20, 38, .45); transition: transform .4s; }
.product:hover .mini-ac { transform: scale(1.05) translateY(-4px); }
.mini-ac::before { content: ""; position: absolute; left: 10px; right: 10px; bottom: -6px; height: 8px; border-radius: 0 0 8px 8px; background: inherit; filter: brightness(.88); }
.mini-ac::after { content: ""; position: absolute; right: 16px; top: 18px; width: 18px; height: 6px; border-radius: 4px; background: var(--ice-500); box-shadow: 0 0 10px var(--ice-500); }
.mini-ac--white { background: linear-gradient(180deg, #fff, #e3ebf3); }
.mini-ac--black { background: linear-gradient(180deg, #2b3442, #121821); }
.mini-ac--silver { background: linear-gradient(180deg, #eef2f6, #b9c4d0); }
.mini-ac--gold { background: linear-gradient(180deg, #f4ead9, #d8c3a0); }

.product__brand { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #1597d0; }
.product__name { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin: 6px 0 14px; line-height: 1.25; }
.product__specs { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.product__specs li { font-size: 13px; color: var(--muted); background: var(--bg); padding: 8px 10px; border-radius: 10px; }
.product__specs b { display: block; color: var(--text); font-size: 14px; }
.product__bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product__price { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.1; }
.product__price s { display: block; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--muted); }
.product__btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-800); color: #fff;
  transition: background .25s, transform .25s, color .25s;
  flex-shrink: 0;
}
.product__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.product__btn:hover { background: var(--ice-500); color: var(--navy-800); transform: rotate(-12deg) scale(1.06); }

/* ---------- Calculator ---------- */
.calc {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(63, 199, 255, .25), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(110, 255, 216, .14), transparent 60%),
    var(--navy-800);
  color: #fff;
  border-radius: 48px;
  margin: 0 16px;
}
.calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.calc__lead { color: rgba(255, 255, 255, .85); margin: 22px 0 36px; max-width: 460px; }
.calc__result { padding: 30px; }
.calc__result-label { font-size: 14px; color: rgba(255, 255, 255, .8); }
.calc__result-value { font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: 1.1; color: var(--ice-400); }
.calc__result-value small { font-size: 22px; color: rgba(255, 255, 255, .6); font-weight: 500; }
.calc__result-btu { color: rgba(255, 255, 255, .75); margin: 6px 0 18px; }
.calc__result-btu b { color: #fff; }
.calc__meter { height: 8px; background: rgba(255, 255, 255, .1); border-radius: 8px; overflow: hidden; margin-bottom: 24px; }
.calc__meter-fill { height: 100%; width: 30%; background: var(--grad-ice); border-radius: 8px; transition: width .5s cubic-bezier(.2, .8, .2, 1); }

.calc__form { padding: 36px; display: grid; gap: 30px; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.field__top output { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ice-400); }
.field--split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; background: rgba(255, 255, 255, .06); border-radius: 16px; }
.segmented button { padding: 12px 8px; border-radius: 12px; font-weight: 700; font-size: 14px; color: rgba(255, 255, 255, .7); transition: all .25s; }
.segmented button.is-active { background: var(--grad-ice); color: var(--navy-800); }

.stepper { background: rgba(255, 255, 255, .06); border-radius: 16px; padding: 14px 16px; }
.stepper > span { font-size: 14px; color: rgba(255, 255, 255, .85); display: block; margin-bottom: 10px; }
.stepper__ctrl { display: flex; align-items: center; justify-content: space-between; }
.stepper__ctrl button { width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .1); font-size: 20px; transition: background .2s; }
.stepper__ctrl button:hover { background: rgba(127, 227, 255, .25); }
.stepper__ctrl output { font-family: var(--font-display); font-weight: 700; font-size: 24px; }

.check { display: flex; align-items: center; gap: 14px; cursor: pointer; font-weight: 600; color: rgba(255, 255, 255, .85); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box { width: 26px; height: 26px; border-radius: 8px; border: 2px solid rgba(255, 255, 255, .3); display: grid; place-items: center; transition: all .2s; }
.check input:checked + .check__box { background: var(--grad-ice); border-color: transparent; }
.check input:checked + .check__box::after { content: "✓"; color: var(--navy-800); font-weight: 900; font-size: 15px; }
.check input:focus-visible + .check__box { outline: 2px solid var(--ice-400); outline-offset: 2px; }

/* ---------- Services ---------- */
.services__list { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 30px; align-items: center;
  padding: 30px 10px; border-bottom: 1px solid var(--line);
  position: relative; transition: padding .35s;
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--ice-100), transparent);
  border-radius: 20px; opacity: 0; transition: opacity .35s;
}
.service:hover { padding-left: 30px; }
.service:hover::before { opacity: 1; }
.service__num { font-family: var(--font-display); font-weight: 900; font-size: 40px; color: transparent; -webkit-text-stroke: 1.5px #6f8299; transition: color .35s, -webkit-text-stroke-color .35s; }
.service:hover .service__num { color: var(--ice-500); -webkit-text-stroke-color: var(--ice-500); }
.service h3 { font-size: 22px; margin-bottom: 6px; }
.service p { color: var(--muted); }
.service__price { font-size: 16px; color: var(--muted); white-space: nowrap; }
.service__price b { font-family: var(--font-display); font-size: 28px; color: var(--text); }

/* ---------- Process ---------- */
.process { background: linear-gradient(180deg, transparent, var(--ice-100) 30%, var(--ice-100) 70%, transparent); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 46px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--ice-500) 0 10px, transparent 10px 20px);
  opacity: .5;
}
.step { position: relative; background: var(--surface); border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); counter-increment: step; transition: transform .35s, box-shadow .35s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step::after { content: "0" counter(step); position: absolute; top: 24px; right: 24px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #6f8299; }
.step__icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 30px; background: var(--grad-ice); margin-bottom: 22px; box-shadow: var(--shadow-ice); }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Promo ---------- */
.promo { padding-top: 40px; }
.promo__card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr auto auto; gap: 40px; align-items: center;
  padding: 56px;
  border-radius: 40px;
  background:
    linear-gradient(120deg, rgba(127, 227, 255, .9), rgba(63, 199, 255, .82) 50%, rgba(110, 255, 216, .88)),
    url(img/frost-window.jpg) center / cover;
}
.promo__flakes { position: absolute; right: -20px; top: -60px; font-size: 220px; line-height: 1; color: rgba(255, 255, 255, .25); letter-spacing: -40px; pointer-events: none; animation: spin 40s linear infinite; }
.promo__content { position: relative; }
.promo__tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--navy-800); color: #fff; font-weight: 800; font-size: 13px; margin-bottom: 18px; }
.promo h2 { font-size: clamp(28px, 3.4vw, 44px); color: var(--navy-800); margin-bottom: 14px; }
.promo h2 .text-gradient { background: linear-gradient(90deg, var(--navy-800), #0b6c9c); -webkit-background-clip: text; background-clip: text; }
.strike { text-decoration: line-through; text-decoration-thickness: 4px; text-decoration-color: var(--warm); opacity: .6; }
.promo p { color: var(--navy-800); font-weight: 500; max-width: 520px; }
.promo__timer { display: flex; gap: 10px; position: relative; }
.promo__timer div { background: rgba(255, 255, 255, .85); backdrop-filter: blur(10px); border-radius: 18px; padding: 14px 12px; text-align: center; min-width: 76px; }
.promo__timer b { display: block; font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--navy-800); line-height: 1.1; }
.promo__timer span { font-size: 12px; font-weight: 700; color: var(--navy-700); }

/* ---------- Reviews ---------- */
.rating { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.rating__stars { color: #ffb020; font-size: 22px; letter-spacing: 2px; }
.rating b { color: var(--text); font-size: 20px; }
.reviews__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 380px); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 30px;
  scrollbar-width: thin; scrollbar-color: var(--ice-500) transparent;
  cursor: grab;
}
.reviews__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.review { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 20px; user-select: none; }
.review__stars { color: #ffb020; letter-spacing: 2px; }
.review p { font-size: 16px; flex: 1; }
.review__author { display: flex; align-items: center; gap: 14px; }
.review__author small { display: block; color: var(--muted); }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-ice); font-weight: 800; color: var(--navy-800); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.faq .section__head { position: sticky; top: 110px; }
.faq .section__head .muted { margin: 18px 0 28px; }
.accordion { display: grid; gap: 14px; }
.acc { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; transition: box-shadow .3s, border-color .3s; }
.acc[open] { box-shadow: var(--shadow); border-color: transparent; }
.acc summary {
  list-style: none; cursor: pointer; padding: 24px 70px 24px 28px; position: relative;
  font-weight: 700; font-size: 18px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ice-100); color: #0b7fb3; font-size: 22px; font-weight: 500;
  transition: transform .3s, background .3s;
}
.acc[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--grad-ice); color: var(--navy-800); }
.acc p { padding: 0 28px 26px; color: var(--muted); animation: fadeDown .35s ease; }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(63, 199, 255, .22), transparent 60%),
    linear-gradient(180deg, rgba(7, 20, 38, .86), rgba(7, 20, 38, .96) 70%),
    url(img/kyiv-sunset.jpg) center 40% / cover,
    var(--navy-800);
  color: #fff;
  border-radius: 48px 48px 0 0;
  margin-top: 40px;
}
.contact__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 36px 0; display: grid; gap: 16px; }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; font-size: 18px; font-weight: 600; }
.contact__list span { color: rgba(255, 255, 255, .7); font-weight: 500; font-size: 15px; padding-top: 2px; }
.contact__list a { overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--ice-400); }
.districts { display: flex; flex-wrap: wrap; gap: 8px; }
.districts span { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: rgba(255, 255, 255, .75); transition: all .2s; }
.districts span:hover { border-color: var(--ice-400); color: var(--ice-400); }

.lead-form { padding: 40px; display: grid; gap: 18px; }
.lead-form h3 { font-size: 26px; margin-bottom: 6px; }
.form-note { color: rgba(255, 255, 255, .65); font-size: 13px; text-align: center; }

/* Floating inputs */
.input { position: relative; }
.input input, .input select {
  width: 100%; padding: 26px 20px 10px; border-radius: 16px;
  background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(255, 255, 255, .14);
  color: #fff; font: inherit; font-weight: 600; outline: none;
  transition: border-color .2s, background .2s;
  appearance: none; -webkit-appearance: none;
}
.input select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fe3ff' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 20px; }
.input select option { color: var(--text); }
.input input:focus, .input select:focus { border-color: var(--ice-400); background: rgba(127, 227, 255, .06); }
.input label {
  position: absolute; left: 21px; top: 18px; color: rgba(255, 255, 255, .7);
  pointer-events: none; transition: all .2s; font-weight: 500;
}
.input input:focus + label, .input input:not(:placeholder-shown) + label, .input label.is-static {
  top: 8px; font-size: 12px; color: var(--ice-400);
}
.input.is-invalid input { border-color: #ff6b6b; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .78); padding: 40px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__nav a:hover { color: var(--ice-400); }
.footer__copy { font-size: 14px; }
.footer__contacts { display: flex; align-items: center; gap: 16px; }
.footer__contacts a:hover { color: var(--ice-400); }
.footer__insta { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; transition: border-color .2s, color .2s; }
.footer__insta:hover { border-color: var(--ice-400); }
.footer__insta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ---------- FAB ---------- */
.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-ice); box-shadow: var(--shadow-ice);
  transition: transform .25s;
}
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ice-500); animation: ring 2s infinite; }
.fab svg { width: 26px; fill: var(--navy-800); animation: wiggle 3s infinite; }
.fab:hover { transform: scale(1.08); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5, 14, 28, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal__dialog {
  position: relative; width: min(460px, 100%);
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 30px; padding: 40px; color: #fff;
  transform: translateY(30px) scale(.96); transition: transform .35s cubic-bezier(.2, .9, .3, 1.2);
}
.modal.is-open .modal__dialog { transform: none; }
.modal__dialog h3 { font-size: 26px; margin-bottom: 10px; padding-right: 30px; }
.modal__product { color: var(--ice-400); font-weight: 700; margin-bottom: 8px; }
.modal__dialog form { display: grid; gap: 16px; margin-top: 22px; }
.modal__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 26px; line-height: 1; transition: background .2s, transform .3s; }
.modal__close:hover { background: rgba(255, 255, 255, .16); transform: rotate(90deg); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 120;
  transform: translate(-50%, 150%);
  background: var(--navy-800); color: #fff;
  padding: 16px 26px; border-radius: 18px;
  border: 1px solid rgba(127, 227, 255, .3);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .4);
  font-weight: 600; transition: transform .45s cubic-bezier(.2, .9, .3, 1.2);
  max-width: calc(100% - 32px);
}
.toast.is-visible { transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal:not(.is-visible) { opacity: 0; }
.reveal.is-visible { animation: revealUp .8s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes revealUp { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }

/* ---------- Keyframes ---------- */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(110, 255, 216, .7); } 70% { box-shadow: 0 0 0 10px rgba(110, 255, 216, 0); } 100% { box-shadow: 0 0 0 0 rgba(110, 255, 216, 0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes blow { 0% { opacity: 0; clip-path: inset(0 0 100% 0); } 20% { opacity: .9; } 100% { opacity: 0; clip-path: inset(0 0 0 0); transform-origin: top; } }
@keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-15deg); } 90% { transform: rotate(15deg); } 95% { transform: rotate(-10deg); } }
@keyframes cardIn { from { opacity: 0; translate: 0 20px; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 4px;
    position: fixed; top: 0; left: 0; right: 0; padding: 90px 24px 30px;
    background: rgba(7, 20, 38, .97); backdrop-filter: blur(20px);
    z-index: -1; animation: fadeDown .3s ease;
  }
  .nav.is-open a { font-size: 22px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .hero__grid, .calc__grid, .contact__grid, .faq__grid { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 20px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .promo__card { grid-template-columns: 1fr; padding: 40px; }
  .faq .section__head { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .header .btn--sm { display: none; }
  .hero { padding: 110px 0 120px; }
  .hero__stats { gap: 22px; }
  .hero__stats b { font-size: 30px; }
  .hero__cta .btn { width: 100%; }
  .ac-unit { margin-bottom: 90px; }
  .ac-unit__body { height: 100px; }
  .airflow { top: 110px; height: 100px; }
  .thermo__value { font-size: 56px; }
  .bento { grid-template-columns: 1fr; }
  .bento__card--big { grid-column: auto; grid-row: auto; }
  .steps { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .service:hover { padding-left: 0; }
  .calc, .contact { border-radius: 32px; margin-inline: 8px; }
  .contact { border-radius: 32px 32px 0 0; }
  .calc__form, .lead-form, .modal__dialog { padding: 24px; }
  .calc__result-value { font-size: 48px; }
  .field--split { grid-template-columns: 1fr; }
  .promo__card { padding: 28px; border-radius: 28px; }
  .promo__timer div { min-width: 0; flex: 1; padding: 12px 6px; }
  .promo__timer b { font-size: 24px; }
  .promo__card .btn { width: 100%; }
  .reviews__track { grid-auto-columns: 85%; }
  .contact__list li { grid-template-columns: 1fr; }
  .area-filter { margin-top: -10px; }
  .fab { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal:not(.is-visible) { opacity: 1; }
}

/* ---------- Контраст: акційний блок ---------- */
.promo h2 .text-gradient {
  background: none;
  color: var(--navy-800);
  -webkit-text-fill-color: var(--navy-800);
  box-shadow: inset 0 -.38em 0 rgba(255, 255, 255, .7);
}
.strike { white-space: nowrap; opacity: .75; }
.bento__card p, .step p, .service p, .acc p { font-weight: 500; }


/* =========================================================
   HERO: температурний заголовок
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* спека з вікна — теплий відблиск зліва зверху */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 520px at 8% 8%, rgba(255, 138, 61, .32), transparent 62%);
}
.hero__grid { z-index: 1; }

.temp-title { display: grid; margin: 4px 0 30px; font-weight: 700; }
.temp-title__row { display: flex; align-items: flex-end; gap: 22px; }
.temp-title__label {
  font-family: var(--font-body); font-weight: 700;
  font-size: 14px; line-height: 1.35; letter-spacing: .14em; text-transform: uppercase;
  color: #ffc6a1; min-width: 104px; padding-bottom: .8em;
}
.temp-title__label--cold { color: var(--ice-300); padding-bottom: 2.4em; }

/* +34° — тремтить, як повітря над розпеченим асфальтом */
.temp-title__hot {
  font-size: clamp(56px, 6.8vw, 100px); line-height: 1;
  color: #ffb07a;
  text-shadow: 0 0 40px rgba(255, 138, 61, .55);
  filter: url(#heatHaze);
}

/* стрілка-перехід між температурами */
.temp-title__delta { display: flex; align-items: center; gap: 14px; margin: 6px 0 2px 126px; }
.temp-title__line {
  width: 2px; height: 46px; border-radius: 2px;
  background: linear-gradient(180deg, #ffb07a, var(--ice-400));
  position: relative;
}
.temp-title__line::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 10px; height: 10px;
  border-right: 2px solid var(--ice-400); border-bottom: 2px solid var(--ice-400);
  transform: translateX(-50%) rotate(45deg);
}
.temp-title__delta-text {
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(127, 227, 255, .12); border: 1px solid rgba(127, 227, 255, .3);
  color: var(--ice-300);
}

/* 22° — залитий справжнім інеєм */
.temp-title__cold {
  position: relative;
  font-size: clamp(140px, 15vw, 220px); font-weight: 900; line-height: .86; letter-spacing: -.02em;
  background: url(img/frost.jpg) center / 140% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(127, 227, 255, .35));
  animation: frostDrift 18s ease-in-out infinite alternate;
}
/* коли робимо тепліше — іней «тане» в теплий градієнт */
.temp-title__cold::after {
  content: attr(data-text); position: absolute; inset: 0;
  background: linear-gradient(160deg, #ffd3b0, var(--warm));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: clamp(0, calc((var(--heat) - .45) * 2.2), 1);
  transition: opacity .5s;
}
.temp-title__cold.is-changing { animation: frostDrift 18s ease-in-out infinite alternate, tempPop .35s ease; }
@keyframes frostDrift { from { background-position: 0% 30%; } to { background-position: 100% 70%; } }
@keyframes tempPop { 0% { scale: 1; } 40% { scale: 1.04; } 100% { scale: 1; } }

.hero .hero__lead { margin-bottom: 32px; }
.hero .hero__stats { margin-top: -8px; }

/* =========================================================
   Фото у блоках
   ========================================================= */
.bento__photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .5;
  -webkit-mask-image: linear-gradient(215deg, #000 15%, transparent 70%);
  mask-image: linear-gradient(215deg, #000 15%, transparent 70%);
  transition: transform .8s ease, opacity .5s;
}
.bento__card--big:hover .bento__photo { transform: scale(1.05); opacity: .62; }
.bento__card--big > *:not(.bento__photo) { position: relative; }

.bento__card--photo {
  background:
    linear-gradient(180deg, rgba(7, 20, 38, .35), rgba(7, 20, 38, .88) 70%),
    var(--photo) center / cover;
  color: #fff; border: 0;
}
.bento__card--photo p { color: rgba(255, 255, 255, .85); }
.bento__card--photo .bento__icon { background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.bento__card--photo .bento__icon svg { stroke: #fff; }

.gallery { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; margin: -16px 0 56px; }
.gallery__item {
  position: relative; margin: 0; height: 340px;
  border-radius: var(--radius); overflow: hidden;
  background: var(--navy-800);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 60px 24px 22px;
  background: linear-gradient(180deg, transparent, rgba(5, 14, 28, .88));
  color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 500;
}
.gallery__item figcaption b { display: block; color: #fff; font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 4px; }

.product__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1100px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item:first-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  .temp-title__row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .temp-title__label, .temp-title__label--cold { padding-bottom: 0; }
  .temp-title__label br { display: none; }
  .temp-title__cold { font-size: 40vw; }
  .temp-title__delta { margin: 10px 0 14px; }
  .temp-title__line { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item:first-child { grid-column: auto; }
  .gallery__item { height: 260px; }
}

/* Фото товарів (білий фон виробника) */
.product__visual--photo { background: #fff; border: 1px solid var(--line); }
.product__visual--photo::after { display: none; }
.product__visual img.product__img { object-fit: contain; padding: 12px; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.product:hover .product__img { transform: scale(1.06); }
.badge--mobile { background: var(--mint); color: var(--navy-800); }
