/* =================================================================
   ESTT — IT-инфраструктура и дата-центр Tier III
   Design system: «инженерный premium» на светлом
   ================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* color */
  --ink:        #0C1A2A;
  --ink-2:      #16273a;
  --ink-soft:   #475569;
  --ink-mute:   #6b7a8c;
  --paper:      #F4F6FA;
  --paper-2:    #EDF1F7;
  --surface:    #FFFFFF;
  --line:       #E3E8F0;
  --line-2:     #d3dae5;
  --accent:     #1456F0;
  --accent-ink: #0d3fc0;
  --accent-soft:#eaf0ff;
  --signal:     #16B981;
  --signal-soft:#e6f7f0;
  --alert:      #E8553D;

  /* type */
  --f-display: "Geologica", system-ui, sans-serif;
  --f-body:    "Golos Text", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* shape */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;

  /* shadow */
  --sh-sm: 0 1px 2px rgba(12,26,42,.05), 0 2px 8px rgba(12,26,42,.04);
  --sh:    0 4px 14px rgba(12,26,42,.06), 0 14px 40px rgba(12,26,42,.07);
  --sh-lg: 0 10px 30px rgba(12,26,42,.10), 0 30px 70px rgba(12,26,42,.12);
  --sh-accent: 0 8px 24px rgba(20,86,240,.30);

  /* layout */
  --container: 1240px;
  --gut: 24px;
  --header-h: 116px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--f-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, output { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
b, strong { font-weight: 700; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

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

.mono { font-family: var(--f-mono); font-size: 0.92em; letter-spacing: -0.02em; }
.muted { color: var(--ink-mute); }

::selection { background: var(--accent); color: #fff; }

/* status dot */
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); display: inline-block; position: relative; box-shadow: 0 0 0 0 rgba(22,185,129,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(22,185,129,.5);} 70%{box-shadow:0 0 0 7px rgba(22,185,129,0);} 100%{box-shadow:0 0 0 0 rgba(22,185,129,0);} }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.eyebrow__num { color: var(--ink-mute); padding-right: 12px; border-right: 1px solid var(--line-2); }
.eyebrow--light { color: #9fc0ff; }
.eyebrow--light .eyebrow__num { color: rgba(255,255,255,.45); border-color: rgba(255,255,255,.18); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-body); font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  padding: 14px 22px; border-radius: var(--r-sm);
  transition: transform .18s var(--ease), background .2s, color .2s, box-shadow .25s, border-color .2s;
  white-space: nowrap; line-height: 1;
}
.btn .icon { width: 18px; height: 18px; stroke-width: 2; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--sm { padding: 11px 17px; font-size: 15px; }
.btn--lg { padding: 17px 28px; font-size: 17px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--sh-accent); }
.btn--primary:hover { background: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(20,86,240,.38); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); transform: translateY(-2px); box-shadow: var(--sh-sm); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }

/* =================================================================
   HEADER
   ================================================================= */
.header { position: sticky; top: 0; z-index: 100; background: rgba(244,246,250,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s; }
.header.is-stuck { border-color: var(--line); box-shadow: 0 1px 0 rgba(12,26,42,.04), 0 8px 30px rgba(12,26,42,.05); }

.statusbar { background: var(--ink); color: #cdd7e3; font-size: 13px; }
.statusbar__row { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.statusbar__live { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); letter-spacing: -0.01em; font-size: 12.5px; }
.statusbar__phone { font-family: var(--f-mono); letter-spacing: -0.02em; color: #fff; font-weight: 500; transition: color .2s; }
.statusbar__phone:hover { color: #9fc0ff; }

.header__row { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { color: var(--ink); display: grid; place-items: center; transition: transform .3s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.05); }
.logo__text { font-family: var(--f-display); font-weight: 800; font-size: 23px; letter-spacing: -0.02em; line-height: 1; display: flex; flex-direction: column; gap: 2px; }
.logo__sub { font-family: var(--f-mono); font-weight: 400; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 9px 14px; border-radius: 8px; font-size: 15.5px; font-weight: 500; color: var(--ink-soft); transition: color .2s, background .2s; position: relative; }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav__extra { display: none; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.header__lk { font-size: 15px; font-weight: 500; color: var(--ink-soft); padding: 9px 14px; border-radius: 8px; transition: color .2s, background .2s; white-space: nowrap; }
.header__lk:hover { color: var(--accent); background: var(--paper-2); }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); align-items: center; justify-content: center; color: var(--ink); }
.burger .icon { width: 22px; height: 22px; }

/* =================================================================
   HERO
   ================================================================= */
.hero { position: relative; overflow: hidden; padding: clamp(120px, 2vw, 96px) 0 clamp(20px, 2vw, 104px); }
.hero__grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 90% at 78% 8%, #000 0%, transparent 62%);
  mask-image: radial-gradient(120% 90% at 78% 8%, #000 0%, transparent 62%);
  opacity: .6;
}
.hero::after { content: ""; position: absolute; top: -10%; right: -8%; width: 620px; height: 620px; border-radius: 50%; z-index: 0; background: radial-gradient(circle, rgba(20,86,240,.10), transparent 65%); pointer-events: none; }

.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(36px, 3vw, 62px); font-weight: 800; max-width: 16ch; margin-bottom: 24px; }
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-soft); max-width: 46ch; margin-bottom: 36px; line-height: 1.55; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; border-top: 1px solid var(--line); padding-top: 30px; }
.stat__num { font-family: var(--f-mono); font-weight: 700; font-size: clamp(26px, 3vw, 36px); color: var(--ink); letter-spacing: -0.04em; line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.stat__num--text { letter-spacing: -0.02em; }
.stat__unit { font-size: .5em; color: var(--ink-soft); font-weight: 500; }
.stat__label { font-size: 13.5px; color: var(--ink-mute); margin-top: 9px; line-height: 1.35; }

/* hero panel */
.hero__panel { perspective: 1200px; }
.panel {
  background: var(--ink);
  color: #cdd7e3;
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--sh-lg);
  border: 1px solid rgba(255,255,255,.06);
  transform: rotateY(-7deg) rotateX(3deg);
  transition: transform .5s var(--ease);
  background-image: radial-gradient(120% 120% at 100% 0%, rgba(20,86,240,.22), transparent 55%);
}
.hero__panel:hover .panel { transform: rotateY(-3deg) rotateX(1deg); }
.panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.panel__title { font-family: var(--f-mono); font-size: 13px; color: #8fa3ba; letter-spacing: 0; }
.badge { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; padding: 5px 9px; border-radius: 7px; display: inline-flex; align-items: center; gap: 7px; }
.badge--live { background: rgba(22,185,129,.14); color: #43d6a3; border: 1px solid rgba(22,185,129,.3); }

.panel__uptime { margin-bottom: 20px; }
.panel__uptime-label { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: #6f8298; margin-bottom: 6px; }
.panel__uptime-val { font-family: var(--f-mono); font-weight: 700; font-size: 40px; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.panel__uptime-val span { color: var(--signal); }

.panel__bars { display: flex; align-items: flex-end; gap: 5px; height: 64px; margin-bottom: 22px; padding: 14px; background: rgba(255,255,255,.03); border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.05); }
.panel__bars span { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--accent), #3f74ff); border-radius: 3px; opacity: .85; transform-origin: bottom; animation: barRise .9s var(--ease) backwards; }
.panel__bars span:nth-child(odd) { background: linear-gradient(180deg, #2f9c7a, var(--signal)); }
@keyframes barRise { from { transform: scaleY(.1); opacity: 0; } }

.panel__rows { display: flex; flex-direction: column; gap: 0; }
.panel__rows li { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: 14px; }
.panel__rows li span { color: #9fb0c4; }
.panel__rows b { font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; }
.panel__rows .ok { color: #43d6a3; }

/* =================================================================
   SECTION SCAFFOLD
   ================================================================= */
.section { padding: clamp(20px, 2vw, 116px) 0; scroll-margin-top: 116px; position: relative; }
.section__head { margin-bottom: clamp(40px, 5vw, 64px); position: relative; }
.section__title { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; max-width: 18ch; }
.section__title--light { color: #fff; }
.section__sub { font-size: 18px; color: var(--ink-soft); max-width: 56ch; margin-top: 18px; }

/* =================================================================
   BLOCK 2 — SERVICES SLIDER
   ================================================================= */
.section--services .section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 24px; }
.section--services .section__head .eyebrow { flex-basis: 100%; margin-bottom: 0; }
.slider__controls { display: flex; gap: 10px; }
.slider__btn { width: 50px; height: 50px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); display: grid; place-items: center; transition: all .2s; }
.slider__btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.slider__btn:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; border-color: var(--line-2); color: var(--ink); }
.slider__btn[data-slide="prev"] .icon { transform: rotate(180deg); }
.slider__btn:hover .icon { transform: none; }
.slider__btn[data-slide="prev"]:hover .icon { transform: rotate(180deg); }

.slider { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 4px 14px; margin: 0 -4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.slider::-webkit-scrollbar { display: none; }

.scard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden; min-height: 280px;
  flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start;
}
.scard::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); transition: width .35s var(--ease); }
.scard:hover { transform: translateY(-5px); box-shadow: var(--sh); border-color: var(--line-2); }
.scard:hover::before { width: 100%; }
.scard__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; transition: background .3s, color .3s; }
.scard__icon .icon { width: 27px; height: 27px; }
.scard:hover .scard__icon { background: var(--accent); color: #fff; }
.scard__title { font-size: 19px; font-weight: 700; line-height: 1.22; margin-bottom: 10px; }
.scard__desc { font-size: 15px; color: var(--ink-soft); margin-bottom: 22px; flex: 1; }
.scard__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--accent); align-self: flex-start; transition: gap .2s; }
.scard__link .icon { width: 17px; height: 17px; stroke-width: 2; transition: transform .25s var(--ease); }
.scard__link:hover .icon { transform: translateX(4px); }

.scard--accent { background: var(--ink); border-color: var(--ink); color: #fff; background-image: radial-gradient(120% 120% at 100% 0%, rgba(20,86,240,.3), transparent 55%); }
.scard--accent .scard__icon { background: rgba(255,255,255,.1); color: #fff; }
.scard--accent:hover .scard__icon { background: var(--accent); }
.scard--accent .scard__desc { color: #aab9c9; }
.scard--accent .scard__link { color: #7ea6ff; }
.scard--accent::before { background: var(--signal); }

/* =================================================================
   BLOCK 3 — WHY (dark)
   ================================================================= */
.section--why { background: var(--ink); color: #cdd7e3; }
.section--why .section__title { max-width: 22ch; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg); overflow: hidden; }
.wcard { background: var(--ink); padding: 38px 34px; transition: background .3s; position: relative; }
.wcard:hover { background: var(--ink-2); }
.wcard__icon { width: 52px; height: 52px; border-radius: 13px; background: rgba(20,86,240,.16); color: #7ea6ff; display: grid; place-items: center; margin-bottom: 24px; }
.wcard__icon .icon { width: 26px; height: 26px; }
.wcard__title { font-size: 21px; color: #fff; margin-bottom: 12px; font-weight: 700; }
.wcard__desc { font-size: 15.5px; color: #9fb0c4; line-height: 1.55; }
/* big two-span first card on wide layout handled via nth — keep uniform grid */
.why__grid .wcard:nth-child(4) { grid-column: span 1; }

/* =================================================================
   BLOCK 4 — TIER III
   ================================================================= */
.tier3__lead { display: grid; grid-template-columns: 1.4fr .9fr; gap: 48px; align-items: center; margin-bottom: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.tier3__text p { font-size: 19px; color: var(--ink-soft); line-height: 1.6; max-width: 52ch; }
.tier3__text p + p { margin-top: 20px; }
.tier3__text b { color: var(--ink); }
.tier3__hero-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 32px; text-align: center; box-shadow: var(--sh-sm); position: relative; overflow: hidden; }
.tier3__hero-stat::before { content: "TIER III"; position: absolute; top: 14px; right: 18px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--line-2); }
.tier3__stat-num { display: block; font-family: var(--f-mono); font-weight: 700; font-size: clamp(34px, 4.4vw, 52px); color: var(--ink); letter-spacing: -0.04em; line-height: 1; }
.tier3__stat-num span { color: var(--accent); }
.tier3__stat-label { display: block; font-size: 14px; color: var(--ink-mute); margin-top: 14px; }

.plates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.plate { display: flex; align-items: flex-start; gap: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.4; transition: transform .25s var(--ease), box-shadow .25s; }
.plate:hover { transform: translateY(-3px); box-shadow: var(--sh-sm); }
.plate b { color: var(--ink); }
.plate__icon { width: 24px; height: 24px; color: var(--accent); margin-top: 1px; }

.tier3__note { font-size: 17px; color: var(--ink-soft); text-align: center; max-width: 60ch; margin: 0 auto 56px; padding: 0 20px; }
.tier3__note b { color: var(--ink); }

.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.spec:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.spec--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--sh-sm); position: relative; }
.spec--featured::after { content: "популярно"; position: absolute; top: -11px; left: 28px; background: var(--accent); color: #fff; font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; padding: 4px 11px; border-radius: 20px; }
.spec__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.spec__icon { width: 30px; height: 30px; color: var(--accent); }
.spec__title { font-size: 21px; font-weight: 700; flex: 1; }
.spec__tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .03em; color: var(--ink-mute); background: var(--paper-2); padding: 4px 9px; border-radius: 6px; }
.spec__list { display: flex; flex-direction: column; gap: 14px; flex: 1; margin-bottom: 26px; }
.spec__list li { position: relative; padding-left: 31px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.45; }
.spec__list .icon { position: absolute; left: 0; top: 2px; width: 19px; height: 19px; color: var(--signal); stroke-width: 2.4; }
.spec__list .mono { color: var(--ink); }
.spec__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15.5px; color: var(--accent); align-self: flex-start; }
.spec__cta .icon { width: 17px; height: 17px; stroke-width: 2; transition: transform .25s var(--ease); }
.spec__cta:hover .icon { transform: translateX(4px); }

/* =================================================================
   BLOCK 5 — PROCESS TIMELINE
   ================================================================= */
.section--process { background: var(--paper-2); }
.timeline { position: relative; max-width: 880px; margin: 0 auto; padding-left: 38px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--line-2), var(--line-2)); }
.tline { position: relative; padding: 0 0 36px; }
.tline:last-child { padding-bottom: 0; }
.tline::before { content: ""; position: absolute; left: -38px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); box-shadow: 0 0 0 5px var(--paper-2); }
.tline--last::before { border-color: var(--signal); }
.tline__chip { display: inline-flex; align-items: center; font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: -0.01em; color: var(--accent); background: var(--accent-soft); padding: 6px 12px; border-radius: 7px; margin-bottom: 12px; }
.tline__chip--fast { color: #0e9b71; background: var(--signal-soft); }
.tline__title { font-size: 21px; font-weight: 700; margin-bottom: 7px; }
.tline__body p { font-size: 16px; color: var(--ink-soft); max-width: 60ch; }

.process__foot { max-width: 880px; margin: 48px auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 32px; box-shadow: var(--sh-sm); }
.process__bench { position: relative; padding-left: 32px; font-size: 15.5px; color: var(--ink-soft); max-width: 54ch; line-height: 1.45; }
.process__bench .icon { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; color: var(--signal); stroke-width: 2.4; }
.process__bench b { color: var(--ink); }
.process__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* =================================================================
   BLOCK 6 — CONFIGURATOR
   ================================================================= */
.calc { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; align-items: start; }
.calc__controls { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 3vw, 40px); box-shadow: var(--sh-sm); }

.calc__type { display: inline-flex; background: var(--paper-2); border-radius: 12px; padding: 5px; margin-bottom: 34px; gap: 4px; }
.calc__type-btn { padding: 11px 26px; border-radius: 8px; font-weight: 600; font-size: 15.5px; color: var(--ink-soft); transition: all .25s var(--ease); }
.calc__type-btn.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--sh-sm); }

.calc__field { margin-bottom: 30px; }
.calc__field-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.calc__field-head label { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; color: var(--ink); }
.calc__field-head label .icon { width: 20px; height: 20px; color: var(--accent); }
.calc__val { font-family: var(--f-mono); font-weight: 700; font-size: 19px; color: var(--accent); letter-spacing: -0.02em; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: var(--paper-2); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(20,86,240,.4); transition: transform .15s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(20,86,240,.4); cursor: pointer; }
.calc__scale { display: flex; justify-content: space-between; margin-top: 9px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-mute); }

.calc__row { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: end; margin-bottom: 30px; }
.calc__seg-label { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 14px; }
.calc__seg-label .icon { width: 18px; height: 18px; color: var(--accent); }
.calc__seg { display: inline-flex; background: var(--paper-2); border-radius: 10px; padding: 4px; gap: 4px; }
.calc__seg-btn { padding: 10px 20px; border-radius: 7px; font-family: var(--f-mono); font-size: 14px; font-weight: 500; color: var(--ink-soft); transition: all .2s; }
.calc__seg-btn.is-active { background: var(--surface); color: var(--accent); box-shadow: var(--sh-sm); }

.calc__stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--paper-2); border-radius: 10px; padding: 4px; }
.calc__step { width: 38px; height: 38px; border-radius: 7px; background: var(--surface); display: grid; place-items: center; color: var(--ink); box-shadow: var(--sh-sm); transition: all .2s; }
.calc__step:hover { color: var(--accent); transform: translateY(-1px); }
.calc__step .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.calc__stepper output { width: 40px; text-align: center; font-family: var(--f-mono); font-weight: 700; font-size: 17px; color: var(--ink); }

.calc__switch { display: flex; align-items: center; gap: 14px; cursor: pointer; user-select: none; margin-bottom: 26px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, background .2s; }
.calc__switch:hover { border-color: var(--line-2); }
.calc__switch input { position: absolute; opacity: 0; }
.calc__switch-track { width: 48px; height: 28px; border-radius: 20px; background: var(--line-2); position: relative; flex: none; transition: background .25s; }
.calc__switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .25s var(--ease); }
.calc__switch input:checked + .calc__switch-track { background: var(--accent); }
.calc__switch input:checked + .calc__switch-track::after { transform: translateX(20px); }
.calc__switch input:focus-visible + .calc__switch-track { outline: 2px solid var(--accent); outline-offset: 3px; }
.calc__switch-text { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.calc__switch-text .icon { width: 19px; height: 19px; color: var(--accent); }

.calc__location { position: relative; padding-left: 27px; font-size: 14.5px; color: var(--ink-mute); padding-top: 6px; }
.calc__location .icon { position: absolute; left: 0; top: 7px; width: 18px; height: 18px; color: var(--signal); }
.calc__location b { color: var(--ink); }

/* summary */
.calc__summary { position: sticky; top: 130px; }
.calc__summary-inner { background: var(--ink); color: #cdd7e3; border-radius: var(--r-xl); padding: 32px 30px; box-shadow: var(--sh-lg); background-image: radial-gradient(110% 110% at 100% 0%, rgba(20,86,240,.24), transparent 55%); }
.calc__sum-title { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #8fa3ba; margin-bottom: 18px; }
.calc__sum-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 24px; }
.calc__sum-list li { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.09); font-size: 14.5px; }
.calc__sum-list li:first-child { border-top: 0; }
.calc__sum-list li span { color: #9fb0c4; }
.calc__sum-list li b { font-family: var(--f-mono); font-weight: 500; font-size: 13.5px; color: #fff; }
.calc__sum-list li b.on { color: #43d6a3; }
.calc__sum-list li b.off { color: #6f8298; }

.calc__price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 20px 0 24px; margin-bottom: 22px; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.calc__price-label { font-size: 13.5px; color: #8fa3ba; }
.calc__price-val { font-family: var(--f-mono); font-weight: 700; font-size: 32px; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.calc__price-period { font-size: .5em; color: #8fa3ba; font-weight: 500; }
.calc__summary .btn { margin-bottom: 12px; }
.calc__summary .btn--ghost { color: #fff; border-color: rgba(255,255,255,.2); background: transparent; }
.calc__summary .btn--ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.4); }
.calc__disclaimer { font-size: 12.5px; color: #6f8298; line-height: 1.45; margin-top: 8px; }

/* =================================================================
   BLOCK 7 — AI (dark, gradient)
   ================================================================= */
.section--ai { background: var(--ink); color: #cdd7e3; overflow: hidden; position: relative; }
.section--ai::before { content: ""; position: absolute; top: -20%; left: -10%; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(20,86,240,.2), transparent 65%); pointer-events: none; }
.ai__inner { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.ai__lead { font-size: 19px; color: #aab9c9; line-height: 1.6; max-width: 44ch; margin: 0 0 32px; }
.ai__lead b { color: #fff; }
.ai__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.aicard { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--r); padding: 26px 24px; transition: transform .3s var(--ease), background .3s, border-color .3s; }
.aicard:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); border-color: rgba(126,166,255,.4); }
.aicard__icon { width: 30px; height: 30px; color: #7ea6ff; margin-bottom: 18px; }
.aicard h3 { font-size: 18px; color: #fff; margin-bottom: 9px; font-weight: 700; }
.aicard p { font-size: 14.5px; color: #9fb0c4; line-height: 1.5; }

/* =================================================================
   BLOCK 8 — SEGMENTS
   ================================================================= */
.segments__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.seg { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.seg:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.seg__role { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--accent); background: var(--accent-soft); padding: 7px 14px; border-radius: 8px; align-self: flex-start; margin-bottom: 20px; }
.seg__role .icon { width: 16px; height: 16px; }
.seg__who { font-size: 16px; color: var(--ink); font-weight: 500; line-height: 1.4; margin-bottom: 20px; }
.seg__pains { display: flex; flex-direction: column; gap: 11px; margin-bottom: 22px; flex: 1; }
.seg__pains li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-soft); line-height: 1.4; }
.seg__pains li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--alert); opacity: .65; }
.seg__quote { font-style: italic; font-size: 15.5px; color: var(--ink); border-left: 3px solid var(--accent); padding: 6px 0 6px 16px; margin-bottom: 22px; line-height: 1.45; flex: 1; }
.seg__triggers { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.seg__triggers span { font-family: var(--f-mono); font-size: 12px; color: var(--ink-mute); background: var(--paper-2); padding: 5px 11px; border-radius: 20px; }
.seg__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15.5px; color: var(--accent); align-self: flex-start; text-align: left; }
.seg__cta .icon { width: 17px; height: 17px; stroke-width: 2; transition: transform .25s var(--ease); }
.seg__cta:hover .icon { transform: translateX(4px); }

.seg--alert { border-color: rgba(232,85,61,.3); }
.seg--alert .seg__role { color: var(--alert); background: rgba(232,85,61,.1); }
.seg--alert .seg__cta { color: var(--alert); }

.seg--cta { background: var(--ink); border-color: var(--ink); color: #fff; justify-content: center; text-align: center; align-items: center; background-image: radial-gradient(120% 120% at 0% 100%, rgba(20,86,240,.32), transparent 55%); }
.seg__big-title { font-size: 26px; color: #fff; margin-bottom: 14px; }
.seg__big-desc { font-size: 16px; color: #aab9c9; margin-bottom: 28px; max-width: 30ch; }
.seg--cta .btn { margin-top: auto; }

/* =================================================================
   BLOCK 9 — FAQ
   ================================================================= */
.section--faq { background: var(--paper-2); }
.faq { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq__item.is-open { border-color: var(--line-2); box-shadow: var(--sh-sm); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; text-align: left; font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); transition: color .2s; }
.faq__q:hover { color: var(--accent); }
.faq__chev { width: 24px; height: 24px; color: var(--accent); flex: none; transition: transform .35s var(--ease); }
.faq__item.is-open .faq__chev { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > p { overflow: hidden; padding: 0 28px; font-size: 16px; color: var(--ink-soft); line-height: 1.6; transition: padding .35s var(--ease); }
.faq__item.is-open .faq__a > p { padding-bottom: 26px; }

.faq__more { max-width: 900px; margin: 36px auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 30px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.faq__more p { font-size: 16px; color: var(--ink-soft); }

/* =================================================================
   BLOCK 10 — FOOTER
   ================================================================= */
.footer { background: var(--ink); color: #9fb0c4; padding: clamp(56px, 6vw, 84px) 0 36px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.logo--footer .logo__text { color: #fff; }
.footer__desc { font-size: 15px; line-height: 1.6; margin: 22px 0 24px; max-width: 38ch; }
.footer__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__badges span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .03em; color: #cdd7e3; border: 1px solid rgba(255,255,255,.16); padding: 6px 12px; border-radius: 7px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer__social a { font-size: 13px; color: #9fb0c4; border: 1px solid rgba(255,255,255,.16); padding: 6px 13px; border-radius: 20px; transition: color .2s, border-color .2s, background .2s; }
.footer__social a:hover { color: #fff; border-color: rgba(126,166,255,.5); background: rgba(20,86,240,.14); }
.footer__addr { align-items: flex-start !important; }
.footer__addr .icon { margin-top: 2px; }
.footer__col h4 { font-family: var(--f-display); font-size: 14px; font-weight: 700; color: #fff; letter-spacing: .02em; margin-bottom: 20px; text-transform: uppercase; }
.footer__col a, .footer__col p { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #9fb0c4; padding: 7px 0; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__col .icon { width: 18px; height: 18px; color: #7ea6ff; }
.footer__support { color: #43d6a3 !important; font-family: var(--f-mono); font-size: 13.5px !important; margin-top: 6px; }
.footer__support .dot { width: 8px; height: 8px; }

.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 30px; font-size: 13.5px; color: #6f8298; }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { color: #6f8298; transition: color .2s; }
.footer__legal a:hover { color: #cdd7e3; }

/* =================================================================
   MODAL
   ================================================================= */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7,16,28,.55); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); animation: fade .3s ease; }
.modal__dialog { position: relative; width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto; background: var(--surface); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--sh-lg); animation: pop .4s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--ink-mute); transition: all .2s; }
.modal__close:hover { background: var(--paper-2); color: var(--ink); }
.modal__title { font-size: 27px; font-weight: 700; margin-bottom: 10px; }
.modal__sub { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 26px; }

.modal__config { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin-bottom: 24px; }
.modal__config-title { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 10px; }
.modal__config ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.modal__config li { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--ink-soft); }
.modal__config li b { font-family: var(--f-mono); font-weight: 500; color: var(--ink); }

.form { display: flex; flex-direction: column; gap: 16px; }
.form__field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form__opt { font-weight: 400; color: var(--ink-mute); }
.form__field input, .form__field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); font-size: 15.5px; transition: border-color .2s, background .2s, box-shadow .2s; resize: vertical; }
.form__field input::placeholder, .form__field textarea::placeholder { color: var(--ink-mute); }
.form__field input:focus, .form__field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.form__field input.invalid { border-color: var(--alert); box-shadow: 0 0 0 4px rgba(232,85,61,.12); }

.form__consent { display: flex; align-items: flex-start; gap: 11px; font-size: 13px; color: var(--ink-mute); line-height: 1.45; cursor: pointer; margin-top: 4px; }
.form__consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); flex: none; }
.form__consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form__src-note { font-family: var(--f-mono); font-size: 11px; color: var(--ink-mute); text-align: center; margin-top: 4px; letter-spacing: -0.01em; }

.modal__success { text-align: center; padding: 20px 0; }
.modal__success-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--signal-soft); color: var(--signal); display: grid; place-items: center; margin: 0 auto 22px; animation: pop .5s var(--ease); }
.modal__success-mark .icon { width: 36px; height: 36px; stroke-width: 2.6; }

/* =================================================================
   REVEAL ANIMATIONS
   ================================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.is-in:nth-child(2) { transition-delay: .06s; }
.reveal.is-in:nth-child(3) { transition-delay: .12s; }
.reveal.is-in:nth-child(4) { transition-delay: .18s; }
.reveal.is-in:nth-child(5) { transition-delay: .24s; }
.reveal.is-in:nth-child(6) { transition-delay: .3s; }

/* hero stagger */
.hero .reveal { transition-delay: 0s; }
.hero__content .reveal:nth-child(1) { transition-delay: .05s; }
.hero__content .reveal:nth-child(2) { transition-delay: .14s; }
.hero__content .reveal:nth-child(3) { transition-delay: .23s; }
.hero__content .reveal:nth-child(4) { transition-delay: .32s; }
.hero__content .reveal:nth-child(5) { transition-delay: .41s; }
.hero__panel.reveal { transition-delay: .3s; }

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

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1080px) {
  .header__lk { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__panel { max-width: 440px; }
  .panel { transform: none; }
  .ai__inner { grid-template-columns: 1fr; gap: 40px; }
  .tier3__lead { grid-template-columns: 1fr; gap: 32px; }
  .calc { grid-template-columns: 1fr; }
  .calc__summary { position: static; }
  .scard { flex-basis: calc((100% - 22px) / 2); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .specs { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plates { grid-template-columns: repeat(2, 1fr); }
  .segments__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 116px; }
  .nav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 2px; background: var(--surface); padding: 16px var(--gut) 24px; border-bottom: 1px solid var(--line); box-shadow: var(--sh); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .3s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 12px; font-size: 17px; border-radius: 10px; }
  .nav__extra { display: flex; align-items: center; gap: 10px; margin-top: 6px; color: var(--ink); }
  .nav__extra--phone { font-family: var(--f-mono); font-size: 16px; color: var(--ink-soft); border-top: 1px solid var(--line); border-radius: 0; margin-top: 10px; padding-top: 18px; }
  .nav__extra--cta { justify-content: center; background: var(--accent); color: #fff; font-weight: 600; box-shadow: var(--sh-accent); }
  .nav__extra--cta:hover { background: var(--accent-ink); color: #fff; }
  .burger { display: grid; }
  .header__actions .btn--primary { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  body { font-size: 16px; }
  .gut { --gut: 18px; }
  .container { padding-inline: 18px; }
  .statusbar { display: none; }
  .header__row { height: 66px; }
  .hero { padding-top: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .slider { gap: 14px; margin-inline: -18px; padding: 4px 18px 16px; }
  .scard { flex-basis: 84%; min-height: 250px; }
  .slider__controls { display: none; }
  .why__grid { grid-template-columns: 1fr; }
  .plates { grid-template-columns: 1fr; }
  .segments__grid { grid-template-columns: 1fr; }
  .calc__row { grid-template-columns: 1fr; gap: 24px; }
  .calc__controls { padding: 24px 20px; }
  .modal__dialog { padding: 28px 22px; }
  .modal__config ul { grid-template-columns: 1fr; }
  .process__foot, .faq__more { flex-direction: column; align-items: stretch; }
  .process__cta { flex-direction: column; }
  .process__cta .btn { width: 100%; }
  .faq__q { font-size: 16.5px; padding: 20px 20px; }
  .faq__a > p { padding-inline: 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* =================================================================
   REDUCED MOTION
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}