/* ==========================================================================
   Автоклімат — styles
   Mobile-first. Breakpoints: 768px (tablet), 1024px (desktop), 1280px (wide)
   ========================================================================== */

:root {
  /* palette */
  --night-900: #0B1220;
  --night-800: #111C2E;
  --night-700: #182538;
  --ice: #3BB6EE;
  --ice-light: #8FDCF8;
  --ice-ink: #0A6A98;          /* accent for text on light backgrounds (5.6:1) */
  --warm: #FF7A45;             /* used only in .thermo and .steps line */
  --paper: #F5F8FB;
  --white: #FFFFFF;

  --ink: #0B1220;
  --ink-muted: #46556A;
  --on-dark: #EAF0F6;
  --on-dark-muted: #A5B4C7;

  --line-dark: rgba(255, 255, 255, .08);
  --line-dark-strong: rgba(255, 255, 255, .16);
  --line-light: rgba(11, 18, 32, .10);

  /* type */
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fs-body: 1rem;
  --fs-lead: 1.0625rem;
  --fs-h1: clamp(2.5rem, 7vw, 5rem);
  --fs-h2: clamp(2rem, 4.4vw, 3.5rem);
  --fs-h3: 1.25rem;

  /* layout — 8px system */
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --gap: 16px;
  --section-y: 72px;
  --header-h: 64px;
  --header-shift: 8px;
  --header-visible: calc(var(--header-h) - var(--header-shift)); /* header height once .is-scrolled */

  --radius-sm: 12px;
  --radius: 14px;
  --radius-lg: 16px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.25, .8, .35, 1);
  --shadow-ice: 0 8px 24px -6px rgba(59, 182, 238, .45);
  --shadow-ice-strong: 0 14px 36px -8px rgba(59, 182, 238, .6);

  --focus: var(--ice-light);

  interpolate-size: allow-keywords;
}

@media (min-width: 768px) {
  :root { --section-y: 96px; --gap: 24px; --fs-body: 1.0625rem; --fs-lead: 1.1875rem; --header-h: 72px; }
}
@media (min-width: 1024px) {
  :root { --section-y: 128px; --header-h: 88px; --header-shift: 14px; --fs-h3: 1.375rem; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
/* enabled by JS after load: a URL with #hash (e.g. redirect from /kontakt.html) must land instantly */
html.smooth-scroll { scroll-behavior: smooth; }
/* every anchor target clears the sticky header (its compact height after scrolling) */
main[id], section[id], .anchor-target { scroll-margin-top: var(--header-visible); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--night-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { flex-shrink: 0; }
small { font-size: .8125em; }

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

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

.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--ice);
  color: var(--night-900);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .2s var(--ease-out);
}
.skip-link:focus-visible { transform: none; outline-color: var(--white); }

/* line icons: one style everywhere */
.i, .card__icon, .logo__mark svg, .badge__icon svg, .qa__chevron {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
.grid > * { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

.section { padding-block: var(--section-y); position: relative; }
.section--light { background: var(--paper); color: var(--ink); }
.section--white { background: var(--white); color: var(--ink); }
.section--dark  { background: var(--night-800); color: var(--on-dark); --focus: var(--ice-light); }
.section--light, .section--white { --focus: var(--ice-ink); }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ice-ink);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}
.eyebrow--dark { color: var(--ice-light); }

.h2 {
  font-size: var(--fs-h2);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.01em;
}
.lead {
  font-size: var(--fs-lead);
  color: var(--ink-muted);
  max-width: 34em;
  text-wrap: pretty;
}
.lead--dark, .section--dark .lead { color: var(--on-dark-muted); }

.section-head { margin-bottom: 48px; max-width: 880px; }
.section-head--split { max-width: none; display: grid; gap: 24px; }
@media (min-width: 1024px) {
  .section-head { margin-bottom: 72px; }
  .section-head--split {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--gap);
    align-items: end;
  }
  .section-head--split > :first-child { grid-column: 1 / span 7; }
  .section-head--split > :last-child { grid-column: 9 / -1; padding-bottom: 8px; }
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .2s var(--ease-out), box-shadow .2s var(--ease-out),
              border-color .2s var(--ease-out), transform .12s var(--ease-out), color .2s var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn .i { transition: transform .2s var(--ease-out); }

.btn--primary {
  --btn-bg: var(--ice);
  --btn-fg: var(--night-900);
  box-shadow: var(--shadow-ice);
}
.btn--primary:hover { --btn-bg: var(--ice-light); box-shadow: var(--shadow-ice-strong); }
.btn--primary:active { box-shadow: 0 4px 12px -4px rgba(59, 182, 238, .5); }

.btn--ghost {
  --btn-fg: var(--on-dark);
  border-color: var(--line-dark-strong);
  background: rgba(255, 255, 255, .02);
}
.btn--ghost:hover { border-color: rgba(143, 220, 248, .5); background: rgba(143, 220, 248, .06); }
.btn--ghost:hover .i { transform: translateX(3px); }

.btn--dark {
  --btn-bg: var(--night-900);
  --btn-fg: var(--white);
  box-shadow: 0 8px 24px -10px rgba(11, 18, 32, .5);
}
.btn--dark:hover { --btn-bg: var(--night-700); box-shadow: 0 12px 28px -10px rgba(11, 18, 32, .6); }

.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 1.0625rem; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--on-dark);
  transition: transform .45s var(--ease);
  --focus: var(--ice-light);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, .72);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.site-header.is-scrolled,
body.menu-open .site-header { transform: translateY(calc(var(--header-shift) * -1)); }
.site-header.is-scrolled::before,
body.menu-open .site-header::before { opacity: 1; }

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  padding-top: var(--header-shift);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -.02em;
  transform-origin: left center;
  transition: transform .45s var(--ease);
}
.is-scrolled .logo { transform: scale(.94); }
.logo__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--ice-light);
  border: 1px solid var(--line-dark-strong);
  background: linear-gradient(160deg, rgba(59, 182, 238, .18), rgba(59, 182, 238, 0) 70%);
}
.logo__mark svg { width: 20px; height: 20px; }

.nav { display: none; margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--on-dark-muted);
  transition: color .2s var(--ease-out);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1px;
  background: var(--ice);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__list a:hover,
.nav__list a[aria-current="true"] { color: var(--white); }
.nav__list a:hover::after,
.nav__list a[aria-current="true"]::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.header__phone {
  display: none;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 8px 4px;
  transition: color .2s var(--ease-out);
}
.header__phone:hover { color: var(--ice-light); }
.header__cta { display: none; }

.burger {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-dark-strong);
  margin-right: -4px;
}
.burger__line {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .35s var(--ease);
}
.burger__line:first-child { top: 17px; }
.burger__line:last-child { top: 25px; }
.burger[aria-expanded="true"] .burger__line:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (min-width: 768px) {
  .header__phone, .header__cta { display: inline-flex; }
}
@media (min-width: 1024px) {
  .nav { display: block; }
  .header__actions { margin-left: 8px; }
  .burger { display: none; }
}

/* ---------- mobile drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  visibility: hidden;
  transition: visibility 0s linear .5s;
}
.drawer.is-open { visibility: visible; transition-delay: 0s; }
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 16, .6);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: calc(var(--header-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  background: var(--night-900);
  border-left: 1px solid var(--line-dark);
  color: var(--on-dark);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  --focus: var(--ice-light);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }

.drawer__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .4s var(--ease), transform .5s var(--ease), color .2s;
}
.drawer__list span { font-size: .8125rem; font-weight: 600; color: var(--ice-light); letter-spacing: .05em; }
.drawer__list a[aria-current="true"] { color: var(--ice-light); }
.drawer.is-open .drawer__list a { opacity: 1; transform: none; }
.drawer.is-open .drawer__list li:nth-child(2) a { transition-delay: .05s; }
.drawer.is-open .drawer__list li:nth-child(3) a { transition-delay: .1s; }
.drawer.is-open .drawer__list li:nth-child(4) a { transition-delay: .15s; }

.drawer__contacts { display: grid; gap: 8px; }
.drawer__contacts a {
  font-size: 1.375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ice-light);
  padding: 4px 0;
}

@media (min-width: 1024px) { .drawer { display: none; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--night-900);
  color: var(--on-dark);
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 32px;
  --focus: var(--ice-light);
}
@media (min-width: 1024px) {
  .hero {
    min-height: min(100svh, 960px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: calc(var(--header-h) + 72px);
    padding-bottom: 40px;
  }
}

/* layering inside the hero stacking context: background layer 0, content 1 */
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--night-900); }
.hero > .container { position: relative; z-index: 1; }
.hero__bg::after { /* fade into the next section edge */
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-dark-strong), transparent);
}
.hero__glow {
  position: absolute;
  inset: -20% -10% -10% -30%;
  background:
    radial-gradient(40% 45% at 30% 38%, rgba(59, 182, 238, .22), transparent 70%),
    radial-gradient(30% 35% at 70% 20%, rgba(143, 220, 248, .10), transparent 70%),
    radial-gradient(50% 50% at 50% 100%, rgba(17, 28, 46, 1), transparent 70%);
  animation: breathe 26s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
@keyframes breathe {
  0%   { transform: translate3d(0, 0, 0) scale(1);    opacity: .85; }
  50%  { transform: translate3d(4%, 2%, 0) scale(1.12); opacity: 1; }
  100% { transform: translate3d(-3%, 3%, 0) scale(1.05); opacity: .9; }
}
.hero__frost { /* frost dot pattern, fades out from the top-right corner */
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(143, 220, 248, .35) 1px, transparent 1.2px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(60% 55% at 100% 0%, #000, transparent 75%);
  mask-image: radial-gradient(60% 55% at 100% 0%, #000, transparent 75%);
  opacity: .5;
}
/* cold airflow: large blurred ellipses drifting left → right, transform-only */
.hero__airflow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__stream {
  --dur: 32s;
  --rest: 60%;                 /* static position for reduced motion */
  position: absolute;
  left: -40%;
  width: 70%;
  height: 24%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--ice), rgba(59, 182, 238, 0));
  opacity: .26;                /* picked empirically: below ~.18 the blurred glow is under the visibility threshold on #0B1220 */
  filter: blur(80px);
  mix-blend-mode: screen;
  will-change: transform;
  transform: translate3d(-60%, 0, 0);
  animation: drift var(--dur) linear infinite;
}
.hero__stream--1 { top: 14%; opacity: .28; --dur: 34s; animation-delay: -6s;  --rest: 70%; }
.hero__stream--2 { top: 44%; height: 20%; opacity: .22; --dur: 40s; animation-delay: -24s; --rest: 120%; }
.hero__stream--3 { top: 62%; height: 30%; width: 80%; opacity: .3; filter: blur(100px); --dur: 28s; animation-delay: -13s; --rest: 30%; }
.hero__stream--4 { top: 28%; height: 16%; width: 60%; opacity: .2; --dur: 37s; animation-delay: -31s; --rest: 170%; }
@keyframes drift {
  from { transform: translate3d(-60%, 0, 0); }
  to   { transform: translate3d(210%, 0, 0); }
}
@media (max-width: 767px) {
  .hero__stream { filter: blur(60px); }
  .hero__stream--3, .hero__stream--4 { display: none; }
}

.hero__grid { position: relative; align-items: center; }
@media (min-width: 1024px) {
  .hero__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--gap);
  }
  .hero__content { grid-column: 1 / span 10; }
  .thermo { grid-column: 12 / span 1; justify-self: end; }
}

.hero__title {
  font-size: var(--fs-h1);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.04em;
  max-width: 11.5em;
  hyphens: manual;
  text-wrap: balance;
}
.hero__title::after { /* thin ice underline accent */
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 32px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ice), var(--ice-light));
}
.hero__lead {
  margin-top: 24px;
  max-width: 36em;
  font-size: var(--fs-lead);
  color: var(--on-dark-muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
@media (max-width: 479px) {
  .hero__actions .btn { flex: 1 1 100%; }
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 40px;
}
@media (max-width: 479px) {
  .hero__badges { flex-direction: column; align-items: flex-start; }
}
.badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px 10px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark-strong);
  background: rgba(255, 255, 255, .03);
}
.badge__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: var(--ice-light);
  background: rgba(59, 182, 238, .12);
}
.badge__text { display: grid; line-height: 1.3; }
.badge__label { font-size: .8125rem; color: var(--on-dark-muted); }
.badge strong { font-size: 1rem; letter-spacing: .02em; }

/* Google rating badge — same shell as the BOSCH badge, but a link */
.badge--rating {
  color: var(--on-dark);
  transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out), transform .12s var(--ease-out);
}
.badge--rating:hover { border-color: rgba(143, 220, 248, .5); background: rgba(143, 220, 248, .06); }
.badge--rating:active { transform: translateY(1px) scale(.98); }
.badge__icon--google { background: var(--white); }
.badge__icon .gmark { stroke: none; }
.badge__score {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.badge--rating .badge__text { gap: 4px; }

/* stars: outline row + filled row clipped to the rating */
.stars {
  position: relative;
  display: inline-flex;
  width: max-content;
  line-height: 0;
  color: var(--ice-light);
}
.stars__base, .stars__fill { display: inline-flex; gap: 2px; }
.stars__base svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; opacity: .45; }
.stars__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--rating) / 5 * 100%);
  overflow: hidden;
}
.stars__fill svg { flex: none; fill: currentColor; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }

/* temperature scale — warm accent #1 */
.thermo { display: none; }
@media (min-width: 1024px) {
  .thermo {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 1fr auto;
    column-gap: 14px;
    row-gap: 16px;
    height: 360px;
  }
}
.thermo__scale {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: .75rem;
  font-weight: 600;
  color: var(--on-dark-muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.thermo__track {
  position: relative;
  width: 6px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--warm) 0%, #F4A97F 22%, #B7C9D9 50%, var(--ice) 78%, var(--ice-light) 100%);
  box-shadow: 0 0 0 1px var(--line-dark), 0 0 24px rgba(59, 182, 238, .25);
}
.thermo__knob {
  position: absolute;
  left: 50%;
  top: 0;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: var(--night-900);
  border: 2px solid var(--ice-light);
  box-shadow: 0 0 0 6px rgba(143, 220, 248, .12), 0 0 18px rgba(143, 220, 248, .6);
  transform: translateY(290px);
  animation: cool-down .7s var(--ease) 1s both;
}
@keyframes cool-down {
  from { transform: translateY(8px); border-color: var(--warm); }
  to   { transform: translateY(290px); border-color: var(--ice-light); }
}
.thermo__caption {
  grid-column: 1 / -1;
  display: grid;
  gap: 2px;
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--on-dark-muted);
  text-align: right;
}
.thermo__caption span:last-child { color: var(--ice-light); }

.hero__strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: .875rem;
  font-weight: 600;
  color: var(--on-dark-muted);
}
.hero__strip li { display: inline-flex; align-items: center; gap: 10px; }
.hero__strip li::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--ice);
  opacity: .7;
}

/* staggered hero entrance */
.hero-in { animation: rise .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 100ms + 80ms); }
@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 20px, 0); }
  to   { opacity: 1; transform: none; }
}

/* ==========================================================================
   WHY — sticky heading + numbered list, not cards
   ========================================================================== */
.why__head { align-self: start; }
.why__head .lead { margin-top: 24px; }
@media (min-width: 1024px) {
  .why__head {
    grid-column: 1 / span 5;
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
  .why__list { grid-column: 7 / -1; }
}
.why__list { margin-top: 24px; counter-reset: why; }
@media (min-width: 1024px) { .why__list { margin-top: 0; } }
.why__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding-block: 32px;
  border-top: 1px solid var(--line-light);
}
.why__item:last-child { border-bottom: 1px solid var(--line-light); }
.why__item p { margin-top: 8px; color: var(--ink-muted); max-width: 36em; }
.why__num {
  font-size: .875rem;
  font-weight: 700;
  color: var(--ice-ink);
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}
@media (min-width: 768px) {
  .why__item { grid-template-columns: 120px 1fr; padding-block: 40px; }
  .why__num {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.05em;
    padding-top: 0;
    color: transparent;
    -webkit-text-stroke: 1px rgba(10, 106, 152, .55);
  }
}

/* ==========================================================================
   SERVICES — bento grid with drawing icons
   ========================================================================== */
.services {
  background:
    radial-gradient(60% 40% at 100% 0%, rgba(59, 182, 238, .08), transparent 70%),
    var(--night-800);
}
.bento {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 560px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--feature, .card--wide { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
  .bento > .card { grid-column: span 3; }
  .bento > .card--feature { grid-column: 1 / span 6; grid-row: span 2; }
  .bento > .card--wide { grid-column: span 6; }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), border-color .2s var(--ease-out);
}
.card::before { /* cold light from the top edge on hover */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(80% 60% at 50% 0%, rgba(59, 182, 238, .12), transparent 70%);
  opacity: 0;
  transition: opacity .2s var(--ease-out);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(143, 220, 248, .22);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6), 0 12px 32px -16px rgba(59, 182, 238, .25);
}
.card:hover::before { opacity: 1; }
.card__num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--on-dark-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}
.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--on-dark);
  transition: color .2s var(--ease-out);
}
.card:hover .card__icon { color: var(--ice); }
.card__title {
  font-size: 1.125rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.01em;
  padding-right: 24px;
}
.card__text { color: var(--on-dark-muted); font-size: .9375rem; line-height: 1.55; }

.card--feature {
  padding: 32px;
  background:
    radial-gradient(90% 70% at 0% 100%, rgba(59, 182, 238, .16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border-color: var(--line-dark-strong);
}
.card--feature .card__icon { width: 64px; height: 64px; color: var(--ice-light); }
.card--feature .card__title { font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.1; letter-spacing: -.03em; max-width: 12em; }
.card--feature .card__text { font-size: 1rem; max-width: 30em; }
@media (min-width: 1024px) {
  .card--feature { padding: 40px; justify-content: flex-end; }
  .card--feature .card__icon { margin-bottom: auto; }
}
.card__checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: .875rem;
  color: var(--on-dark);
}
.card__checks li { display: flex; align-items: center; gap: 10px; }
.card__checks li::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--ice);
}

.card--wide .card__title { margin-bottom: 12px; }
@media (min-width: 560px) {
  .card--wide { flex-direction: row; align-items: center; gap: 24px; }
  .card--wide .card__icon { margin-bottom: 0; }
  .card--wide .card__title { margin-bottom: 8px; }
}

/* ==========================================================================
   PRICES
   ========================================================================== */
.prices__head { align-self: start; }
.prices__head .lead { margin-top: 24px; }
@media (min-width: 1024px) {
  .prices__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 32px); }
  .prices__table-wrap { grid-column: 6 / -1; }
}
.prices__head .btn { margin-top: 32px; }
.prices__foot {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line-light);
  font-weight: 600;
  line-height: 1.45;
}
.prices__foot .i { flex: none; margin-top: 1px; color: var(--ice-ink); }
.prices__foot a {
  color: var(--ice-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s var(--ease-out);
}
.prices__foot a:hover { color: var(--ink); }
.prices__table-wrap { margin-top: 32px; }
@media (min-width: 1024px) { .prices__table-wrap { margin-top: 0; } }

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.price-table thead th {
  padding: 0 0 16px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: left;
  border-bottom: 1px solid var(--ink);
}
.price-table thead th:last-child { text-align: right; }
.price-table tbody tr {
  border-bottom: 1px solid var(--line-light);
  transition: background-color .2s var(--ease-out);
}
.price-table tbody tr:hover { background: rgba(59, 182, 238, .06); }
.price-table tbody th,
.price-table tbody td { padding: 20px 0; vertical-align: baseline; }
.price-table tbody th {
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  padding-right: 16px;
}
.price-table tbody td {
  text-align: right;
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--ice-ink);
  overflow-wrap: anywhere;
  width: 40%;
}
/* no published prices yet: quiet "уточнюйте" instead of a number */
.price-table tbody td.price-table__ask {
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink-muted);
  white-space: nowrap;
}
@media (min-width: 768px) {
  .price-table tbody th { font-size: 1.1875rem; padding-left: 8px; }
  .price-table tbody td { font-size: 1.375rem; padding-right: 8px; }
  .price-table tbody td.price-table__ask { font-size: 1.0625rem; }
  .price-table tbody th, .price-table tbody td { padding-block: 26px; }
}

/* ==========================================================================
   PROCESS — cooling timeline (warm accent #2)
   ========================================================================== */
.process {
  background:
    linear-gradient(180deg, var(--night-900), var(--night-800));
}
.steps {
  position: relative;
  display: grid;
  gap: 40px;
  padding-left: 32px;
}
.steps::before { /* vertical line on mobile: warm → ice */
  content: "";
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 1.5px;
  background: linear-gradient(180deg, var(--warm), #C8B3A9 30%, var(--ice) 75%, var(--ice-light));
  opacity: .8;
}
.step { position: relative; }
.step__dot {
  position: absolute;
  left: -32px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--night-900);
  border: 1.5px solid var(--ice);
  box-shadow: 0 0 0 4px var(--night-900);
}
.step:first-child .step__dot { border-color: var(--warm); }
.step:last-child .step__dot { background: var(--ice-light); border-color: var(--ice-light); box-shadow: 0 0 0 4px var(--night-900), 0 0 16px rgba(143, 220, 248, .7); }
.step__num {
  display: block;
  margin-bottom: 12px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ice-light);
}
.step p { margin-top: 10px; color: var(--on-dark-muted); max-width: 26em; }

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gap);
    padding-left: 0;
    padding-top: 48px;
  }
  .steps::before {
    left: 0; right: 0; top: 5px; bottom: auto;
    width: auto;
    height: 1.5px;
    background: linear-gradient(90deg, var(--warm), #C8B3A9 25%, var(--ice) 70%, var(--ice-light));
  }
  .step__dot { left: 0; top: -48px; }
  .step { padding-right: 24px; }
  /* asymmetric rhythm: every other step drops lower */
  .step:nth-child(even) { margin-top: 72px; }
}

/* ==========================================================================
   WORKS — asymmetric gallery
   ========================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #DCE3EA;
  aspect-ratio: 4 / 3;
}
.gallery__item--a, .gallery__item--b { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(11, 18, 32, .06);
  pointer-events: none;
}
@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: clamp(160px, 17vw, 240px);
    gap: 16px;
  }
  .gallery__item { aspect-ratio: auto; grid-column: span 4; }
  .gallery__item--a { grid-column: 1 / span 7; grid-row: span 2; aspect-ratio: auto; }
  .gallery__item:nth-child(2),
  .gallery__item:nth-child(3) { grid-column: 8 / -1; }
  .gallery__item:nth-child(4) { grid-column: 1 / span 3; }
  .gallery__item:nth-child(5) { grid-column: 4 / span 4; }
  .gallery__item--b { grid-column: 8 / -1; aspect-ratio: auto; }
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews {
  background:
    radial-gradient(50% 40% at 0% 0%, rgba(59, 182, 238, .08), transparent 70%),
    var(--night-800);
}
.reviews__summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.reviews__score {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--on-dark);
  font-variant-numeric: tabular-nums;
}
.reviews__summary > span:last-child { flex-basis: 100%; }

.reviews__track {
  display: grid;
  gap: 12px;
  /* mobile: horizontal scroller with snap, bleeding to the screen edges */
  grid-auto-flow: column;
  grid-auto-columns: min(85%, 340px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 16px;
  scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
.reviews__track:focus-visible { outline-offset: -2px; border-radius: var(--radius-lg); }
@media (min-width: 768px) {
  .reviews__track {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
    margin-inline: 0;
    padding: 0;
    gap: 16px;
  }
}
@media (min-width: 1024px) {
  .reviews__track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.review { scroll-snap-align: start; }
.review figure {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  min-height: 232px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), border-color .2s var(--ease-out);
}
.review figure:hover {
  border-color: rgba(143, 220, 248, .22);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6), 0 12px 32px -16px rgba(59, 182, 238, .25);
}
.review__g { position: absolute; top: 26px; right: 26px; line-height: 0; }
.review__text {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--on-dark);
  /* equal card height: clamp to 3 lines */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.review__text p { margin: 0; }
.review__meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  font-size: .875rem;
}
.review__author { font-weight: 700; color: var(--on-dark); }

.reviews__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding-block: 8px;
  font-weight: 700;
  color: var(--ice-light);
  text-decoration: underline;
  text-decoration-color: rgba(143, 220, 248, .4);
  text-underline-offset: 5px;
  transition: text-decoration-color .2s var(--ease-out), color .2s var(--ease-out);
}
.reviews__more:hover { color: var(--white); text-decoration-color: currentColor; }
.reviews__more .i { transition: transform .2s var(--ease-out); }
.reviews__more:hover .i { transform: translate(2px, -2px); }
@media (min-width: 1024px) { .reviews__more { margin-top: 40px; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__head { align-self: start; }
.faq__head .lead { margin-top: 24px; }
.faq__phone {
  display: inline-block;
  margin-top: 16px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ice-ink);
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid currentColor;
  transition: color .2s var(--ease-out);
}
.faq__phone:hover { color: var(--ink); }
@media (min-width: 1024px) {
  .faq__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 32px); }
  .faq__list { grid-column: 6 / -1; }
}
.faq__list { margin-top: 24px; border-top: 1px solid var(--line-light); }
@media (min-width: 1024px) { .faq__list { margin-top: 0; } }

.qa { border-bottom: 1px solid var(--line-light); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  transition: color .2s var(--ease-out);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--ice-ink); }
.qa summary:focus-visible { outline-offset: 4px; }
@media (min-width: 768px) { .qa summary { font-size: 1.25rem; padding: 28px 0; } }

.qa__chevron {
  flex: none;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  transition: transform .4s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.qa[open] .qa__chevron {
  transform: rotate(180deg);
  background: var(--night-900);
  border-color: var(--night-900);
  color: var(--white);
}
.qa__body p {
  padding: 0 56px 28px 0;
  color: var(--ink-muted);
  max-width: 44em;
}
@media (max-width: 767px) { .qa__body p { padding-right: 0; } }

/* smooth open/close where ::details-content is supported */
@supports selector(::details-content) {
  .qa::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size .45s var(--ease), content-visibility .45s allow-discrete;
  }
  .qa[open]::details-content { block-size: auto; }
  .qa__body { opacity: 0; transform: translateY(-6px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
  .qa[open] .qa__body { opacity: 1; transform: none; }
}

/* ==========================================================================
   CONTACTS
   ========================================================================== */
.contacts { background: var(--night-900); overflow: hidden; }
.contacts::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 0% 100%, rgba(59, 182, 238, .12), transparent 70%);
  pointer-events: none;
}
.contacts__cta-block { max-width: 760px; }

/* reference part: nav «Контакти» lands here, so address, schedule and map fit on one screen */
.contacts__ref {
  position: relative;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line-dark);
  row-gap: 0;
}
.contacts__ref .contacts__list { margin-top: 0; }
@media (min-width: 1024px) {
  .contacts__ref { margin-top: 96px; padding-top: 48px; }
  .contacts__info { grid-column: 1 / span 5; }
  .contacts__map { grid-column: 7 / -1; align-self: stretch; }
}
.contacts__title span { display: block; }
.contacts__title span:last-child { color: var(--ice-light); }
.contacts__lead { margin-top: 24px; }
.contacts__cta { margin-top: 32px; white-space: normal; text-align: center; }
.nowrap { white-space: nowrap; }
@media (max-width: 479px) { .contacts__cta { width: 100%; } }
.contacts__alt {
  margin-top: 14px;
  font-size: .9375rem;
  color: var(--on-dark-muted);
}
.contacts__alt a {
  display: inline-block;
  padding-block: 4px;
  font-weight: 700;
  color: var(--on-dark);
  font-variant-numeric: tabular-nums;
  text-decoration: underline;
  text-decoration-color: rgba(143, 220, 248, .45);
  text-underline-offset: 4px;
  transition: color .2s var(--ease-out), text-decoration-color .2s var(--ease-out);
}
.contacts__alt a:hover { color: var(--ice-light); text-decoration-color: currentColor; }

.contacts__tels { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.contacts__tels a {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: color .2s var(--ease-out);
}
.contacts__tels a:hover { color: var(--ice-light); }

.contacts__list { margin-top: 40px; border-top: 1px solid var(--line-dark); }
.contacts__row {
  display: grid;
  gap: 4px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 560px) {
  .contacts__row { grid-template-columns: 160px 1fr; gap: 16px; }
}
.contacts__row dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--on-dark-muted);
}
.contacts__row dt .i { color: var(--ice); }
.contacts__row dd { font-weight: 600; font-size: 1.0625rem; overflow-wrap: anywhere; }
.contacts__hint { margin-top: 24px; color: var(--on-dark-muted); font-size: .9375rem; }

.contacts__map {
  position: relative;
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-dark-strong);
  background: var(--night-800);
  min-height: 360px;
}
@media (min-width: 1024px) { .contacts__map { margin-top: 0; min-height: 400px; } }
.contacts__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.25) contrast(1.02);
}
.contacts__maplink {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--night-900);
  color: var(--white);
  font-weight: 700;
  font-size: .9375rem;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .5);
  transition: background-color .2s var(--ease-out), transform .12s var(--ease-out);
}
.contacts__maplink:hover { background: var(--night-700); }
.contacts__maplink:hover .i { transform: translate(2px, -2px); }
.contacts__maplink .i { transition: transform .2s var(--ease-out); }
.contacts__maplink:active { transform: translateY(1px) scale(.98); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #070C16;
  color: var(--on-dark-muted);
  padding-block: 64px 32px;
  border-top: 1px solid var(--line-dark);
  font-size: .9375rem;
  --focus: var(--ice-light);
}
.footer__grid { display: grid; gap: 32px; }
.footer__brand .logo { color: var(--on-dark); }
.footer__brand p { margin-top: 16px; max-width: 22em; }
.footer__col { display: grid; align-content: start; gap: 6px; }
.footer__col a { color: var(--on-dark); font-weight: 600; font-variant-numeric: tabular-nums; width: fit-content; }
.footer__col a:hover { color: var(--ice-light); }
.footer__col p { color: var(--on-dark); }
.footer__label {
  margin-bottom: 4px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-dark-muted) !important;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}
.footer__top { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; font-weight: 600; color: var(--on-dark); }
.footer__top:hover { color: var(--ice-light); }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer__bottom { grid-column: 1 / -1; }
}

/* ---------- sticky call button (mobile) ---------- */
.call-fab {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  border-radius: var(--radius);
  background: var(--ice);
  color: var(--night-900);
  font-weight: 800;
  font-size: 1.0625rem;
  box-shadow: 0 12px 32px -8px rgba(59, 182, 238, .55), 0 2px 6px rgba(0, 0, 0, .25);
  transition: transform .12s var(--ease-out), background-color .2s var(--ease-out);
  --focus: var(--white);
}
.call-fab:active { transform: translateY(1px) scale(.98); }
.call-fab:hover { background: var(--ice-light); }
body.menu-open .call-fab { opacity: 0; pointer-events: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); background: #070C16; }
}
@media (min-width: 768px) {
  .call-fab { display: none; }
}

/* ==========================================================================
   SCROLL REVEAL + DRAWING ICONS
   Hidden state applies only when JS is running and motion is allowed,
   so content is always visible otherwise.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js-ready .reveal {
    transition: opacity .6s var(--ease), transform .7s var(--ease);
    transition-delay: var(--d, 0ms);
  }
  /* only the hidden state is declared, so :hover transforms still apply after reveal */
  .js-ready .reveal:not(.is-in) {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }

  /* hover on cards must stay instant after reveal */
  .js-ready .card.reveal.is-done {
    transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), border-color .2s var(--ease-out);
  }

  .js-ready .icon-draw > * {
    stroke-dasharray: 1 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset .7s var(--ease-out);
    transition-delay: calc(var(--d, 0ms) + 200ms);
  }
  .js-ready .icon-draw > :nth-child(2) { transition-delay: calc(var(--d, 0ms) + 300ms); }
  .js-ready .icon-draw > :nth-child(3) { transition-delay: calc(var(--d, 0ms) + 400ms); }
  .js-ready .icon-draw > :nth-child(4) { transition-delay: calc(var(--d, 0ms) + 480ms); }
  .js-ready .icon-draw > :nth-child(5) { transition-delay: calc(var(--d, 0ms) + 560ms); }
  .js-ready .is-in .icon-draw > * { stroke-dashoffset: 0; }

  /* steps: dots pop in sequence */
  .js-ready .step.reveal .step__dot { transform: scale(0); transition: transform .5s var(--ease) calc(var(--d, 0ms) + 150ms); }
  .js-ready .step.reveal.is-in .step__dot { transform: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-in, .thermo__knob { animation-delay: 0s !important; }
  .hero__glow { animation: none !important; }
  /* streams stay as a static gradient glow */
  .hero__stream { animation: none !important; transform: translate3d(var(--rest), 0, 0); }
}

/* ---------- print ---------- */
@media print {
  .site-header, .drawer, .call-fab, .hero__bg, .contacts__map { display: none !important; }
  .section--dark, .hero, .site-footer { background: #fff !important; color: #000 !important; }
}
