/* =========================================================================
   AQUARIO — "Engineered Light" homepage
   Direction: bright, precise engineering catalog brought into daylight.
   Display: Bricolage Grotesque · Body: Inter · Mono (specs/SKU): IBM Plex Mono
   ========================================================================= */

/* ---- Design tokens ---------------------------------------------------- */
:root {
  /* palette (brief) */
  --paper:    #F7FAFC;
  --white:    #FFFFFF;
  --ink:      #0E1A24;
  --body:     #33475B;   /* slate-body */
  --brand:    #008DD2;   /* azure = water (decorative / large text only) */
  --brand-700:#0277B3;   /* AA text on white; primary CTA fill (white label clears 4.5:1) */
  --brand-800:#026299;   /* primary CTA hover — keeps white label well above AA */
  --brand-300:#59C1F6;
  --brand-200:#9BD9FB;
  --navy:     #0B2B40;   /* deep navy */
  --tint:     #E8F3FB;
  --hairline: #DCE6EE;
  /* sparing warm accent — used once, on the active podbor step */
  --amber:    #E8821E;

  /* type */
  --f-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* radius / shadow / motion */
  --r-sm: 8px;  --r: 14px;  --r-lg: 20px;  --r-xl: 28px;  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(14,26,36,.06);
  --sh-2: 0 12px 30px -16px rgba(11,43,64,.28);
  --sh-3: 0 30px 70px -28px rgba(11,43,64,.40);
  --glow: 0 14px 34px -14px rgba(0,141,210,.55);
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --t: .26s;  --t-fast: .15s;

  --rail-w: 76px;        /* depth ruler reserved width on >=1024 */
  --header-h: 68px;
  --maxw: 1180px;
}

/* ---- Reset / base ----------------------------------------------------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1,h2,h3 { font-family: var(--f-display); color: var(--ink); margin: 0; line-height: 1.05; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
a { color: var(--brand-700); text-decoration: none; }
img,svg { max-width: 100%; display: block; }
ul,ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--f-mono); font-feature-settings: "tnum" 1; letter-spacing: -.02em; }

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

.visually-hidden, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto;
  z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px;
  border-radius: var(--r-sm); box-shadow: var(--sh-2);
}

/* visible focus rings everywhere — brand-700 clears 4.5:1 on white & paper */
:focus-visible {
  outline: 3px solid var(--brand-700);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  --b: var(--brand);
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-display); font-weight: 600; font-size: 15px;
  line-height: 1; letter-spacing: -.01em; white-space: nowrap;
  padding: 13px 20px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), background var(--t), color var(--t), border-color var(--t);
}
.btn svg { width: 18px; height: 18px; }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--sm { padding: 9px 15px; font-size: 14px; }
.btn--primary { background: var(--brand-700); color: #fff; box-shadow: var(--glow); }
.btn--primary:hover { background: var(--brand-800); transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(0,141,210,.7); }
.btn--outline { background: var(--white); color: var(--navy); border-color: var(--hairline); box-shadow: var(--sh-1); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand-700); transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--tint); color: var(--brand-700); }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); box-shadow: none; }
.btn--on-dark:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.btn--account svg { width: 18px; height: 18px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border-radius: var(--r-sm); border: 1.5px solid var(--hairline);
  background: var(--white); color: var(--navy); cursor: pointer;
  transition: border-color var(--t), color var(--t), background var(--t);
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand-700); background: var(--tint); }
.icon-btn--burger { display: none; }

/* ======================================================================= */
/* SIGNATURE: depth ruler / scroll-progress instrument                     */
/* ======================================================================= */
.depth-rail {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--rail-w);
  z-index: 40; pointer-events: none;
  padding: calc(var(--header-h) + 26px) 0 26px;
  display: none;   /* shown >=1180 (once the full nav has room beside it) */
  background: linear-gradient(90deg, var(--white) 60%, rgba(255,255,255,0));
  border-right: 1px solid var(--hairline);
}
.depth-rail__track {
  position: absolute; left: 28px; top: calc(var(--header-h) + 26px); bottom: 26px;
  width: 3px; border-radius: 3px; background: var(--hairline); overflow: hidden;
}
.depth-rail__fill {
  position: absolute; left: 0; top: 0; width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--brand-300), var(--brand) 40%, var(--navy));
}
.depth-rail__ticks { position: absolute; inset: calc(var(--header-h) + 26px) 0 26px 0; }
.depth-rail__tick {
  position: absolute; left: 18px; display: flex; align-items: center; gap: 7px;
  transform: translateY(-50%);
}
.depth-rail__tick::before { content:""; width: 9px; height: 1.5px; background: var(--hairline); }
.depth-rail__tick--major::before { width: 14px; background: var(--brand); }
.depth-rail__tick span {
  font-family: var(--f-mono); font-size: 10px; color: var(--body); letter-spacing: -.03em;
  white-space: nowrap;
}
.depth-rail__tick--major span { color: var(--navy); font-weight: 500; }
.depth-rail__cursor {
  position: absolute; left: 22px; top: calc(var(--header-h) + 26px);
  width: 15px; height: 15px; transform: translate(-50%,-50%);
}
.depth-rail__cursor::before {
  content:""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--white); border: 3px solid var(--brand); box-shadow: var(--glow);
}
.depth-rail__cursor-label {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  font-family: var(--f-mono); font-size: 11px; font-weight: 600; color: #fff;
  background: var(--navy); padding: 2px 8px; border-radius: var(--r-pill);
  white-space: nowrap; box-shadow: var(--sh-2);
}
.depth-rail__cap {
  position: absolute; left: 22px; font-family: var(--f-mono); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: .04em; color: var(--body);
}
.depth-rail__cap--top { top: calc(var(--header-h) + 6px); }
.depth-rail__cap--bottom { bottom: 6px; color: var(--navy); }

/* ======================================================================= */
/* HEADER                                                                  */
/* ======================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow var(--t), background var(--t);
}
.site-header.is-scrolled { box-shadow: var(--sh-2); background: rgba(255,255,255,.94); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { flex: none; }
.brand__word {
  font-family: var(--f-display); font-weight: 800; font-size: 22px;
  letter-spacing: .02em; color: var(--ink);
}

.site-nav { margin-left: 8px; }
.site-nav__list { display: flex; gap: 4px; }
.site-nav__list a {
  display: inline-block; padding: 9px 13px; border-radius: var(--r-sm);
  font-weight: 500; font-size: 15.5px; color: var(--ink);
  transition: background var(--t-fast), color var(--t-fast);
}
.site-nav__list a:hover { background: var(--tint); color: var(--brand-700); }

.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* search drawer */
.search-drawer {
  border-top: 1px solid var(--hairline);
  background: var(--white);
  padding: 18px 0 22px;
  animation: drop .22s var(--ease-out);
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.search-form {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--hairline); border-radius: var(--r-pill);
  padding: 8px 8px 8px 18px; background: var(--paper);
}
.search-form:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--tint); }
.search-form svg { color: var(--body); flex: none; }
.search-form input {
  flex: 1; border: 0; background: transparent; font-family: var(--f-body);
  font-size: 16px; color: var(--ink); padding: 6px 0;
}
.search-form input:focus { outline: none; }
.search-form__hint { margin-top: 12px; font-size: 14px; color: var(--body); }
.search-form__hint a { font-weight: 600; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 45;
  background: rgba(255,255,255,.98); backdrop-filter: blur(8px);
  padding: 22px 24px; overflow-y: auto;
  animation: drop .2s var(--ease-out);
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  font-family: var(--f-display); font-weight: 600; font-size: 22px; color: var(--ink);
  padding: 14px 8px; border-bottom: 1px solid var(--hairline);
}
.mobile-menu a:hover { color: var(--brand-700); }
.mobile-menu__cta { color: var(--brand-700) !important; border-bottom: 0 !important; }

/* ======================================================================= */
/* Layout offset for the fixed depth rail (desktop)                        */
/* ======================================================================= */
@media (min-width: 1180px) {
  .depth-rail { display: block; }   /* signature instrument visible on wide desktop */
  .site-header__inner,
  main > section > .container { padding-left: calc(24px + var(--rail-w)); }
}

/* ======================================================================= */
/* Shared section scaffolding                                              */
/* ======================================================================= */
.section { padding: 88px 0; }
.section__head { max-width: 680px; margin-bottom: 44px; }
.section__kicker {
  display: inline-block; font-size: 13px; text-transform: uppercase;
  letter-spacing: .06em; color: var(--navy); margin-bottom: 14px;
}
.section__kicker::before {
  /* azure index marker keeps the engineering-catalog accent without failing contrast */
  content:""; display: inline-block; width: 14px; height: 1.5px; vertical-align: middle;
  margin-right: 9px; background: var(--brand); transform: translateY(-1px);
}
.section__title { font-size: clamp(28px, 4.2vw, 46px); }
.section__lead { margin-top: 16px; font-size: 18px; color: var(--body); max-width: 62ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-mono); font-size: 13px; text-transform: uppercase;
  letter-spacing: .05em; color: var(--navy);
  background: var(--tint); border: 1px solid var(--hairline);
  padding: 6px 13px; border-radius: var(--r-pill);
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(0,141,210,.18); }

/* ======================================================================= */
/* HERO                                                                    */
/* ======================================================================= */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--white), var(--paper)); }
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(120% 80% at 70% 20%, #000 0%, transparent 72%);
          mask-image: radial-gradient(120% 80% at 70% 20%, #000 0%, transparent 72%);
  opacity: .55;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center;
  padding-top: 72px; padding-bottom: 84px;
}
.hero__title { font-size: clamp(38px, 6.2vw, 72px); font-weight: 700; letter-spacing: -.03em; margin: 22px 0 0; }
.hero__lead { margin-top: 22px; font-size: 19px; line-height: 1.55; color: var(--body); max-width: 50ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__facts { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero__facts dt { font-size: 30px; font-weight: 600; color: var(--ink); letter-spacing: -.03em; }
.hero__facts dt .unit { font-size: 18px; font-weight: 500; color: var(--body); }
.hero__facts dd { margin: 4px 0 0; font-size: 13.5px; color: var(--body); }

/* hero blueprint visual */
.hero__viz { position: relative; }
.blueprint {
  position: relative; background: var(--white);
  border: 1px solid var(--hairline); border-radius: var(--r-xl);
  padding: 18px; box-shadow: var(--sh-3);
}
.blueprint::before {
  /* corner crop-mark, engineering catalog feel */
  content:""; position: absolute; top: 12px; left: 12px;
  width: 22px; height: 22px;
  border-top: 2px solid var(--brand); border-left: 2px solid var(--brand);
  border-radius: 4px 0 0 0; opacity: .8;
}
.blueprint__svg { width: 100%; height: auto; border-radius: var(--r); }
.blueprint__cap { margin-top: 12px; font-size: 11.5px; color: var(--body); text-align: center; }

/* H-Q path draw in hero */
.hq-curve { stroke-dasharray: 240; stroke-dashoffset: 240; }
.hq-curve.is-drawn { transition: stroke-dashoffset 1.4s var(--ease-out); stroke-dashoffset: 0; }
.hq-dot { opacity: 0; transform: scale(.4); transform-origin: center; }
.hq-dot.is-drawn { transition: opacity .4s ease 1.1s, transform .5s var(--ease-out) 1.1s; opacity: 1; transform: scale(1); }
.pump { transform-origin: 160px 200px; }

/* ======================================================================= */
/* QUICK ACCESS TILES                                                      */
/* ======================================================================= */
.quick { padding: 0 0 8px; margin-top: -34px; position: relative; z-index: 2; }
.quick__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.quick__tile a {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 20px 18px; box-shadow: var(--sh-2);
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
}
.quick__tile a:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: var(--brand-200); }
.quick__icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: var(--r); background: var(--tint); color: var(--brand-700);
  margin-bottom: 8px; transition: background var(--t), color var(--t);
}
.quick__tile a:hover .quick__icon { background: var(--brand); color: #fff; }
.quick__label { font-family: var(--f-display); font-weight: 700; font-size: 16.5px; color: var(--ink); }
.quick__sub { font-size: 13px; color: var(--body); }
.quick__tile--accent a { background: var(--navy); border-color: var(--navy); }
.quick__tile--accent .quick__label { color: #fff; }
.quick__tile--accent .quick__sub { color: var(--brand-200); }
.quick__tile--accent .quick__icon { background: rgba(255,255,255,.12); color: #fff; }
.quick__tile--accent a:hover .quick__icon { background: var(--brand); }

/* ======================================================================= */
/* CATALOG CATEGORIES                                                      */
/* ======================================================================= */
.catalog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card a {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 24px 22px; overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
}
.cat-card a::after {
  /* left azure spine, grows on hover */
  content:""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--brand); transform: scaleY(0); transform-origin: top;
  transition: transform var(--t) var(--ease);
}
.cat-card a:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--brand-200); }
.cat-card a:hover::after { transform: scaleY(1); }
.cat-card__num {
  align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--navy);
  background: var(--tint); padding: 4px 9px; border-radius: var(--r-sm); margin-bottom: 14px;
}
.cat-card h3 { font-size: 19px; font-weight: 700; }
.cat-card p { margin-top: 8px; font-size: 14.5px; color: var(--body); flex: 1; }
.cat-card__go {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-family: var(--f-display); font-weight: 600; font-size: 14px; color: var(--brand-700);
}
.cat-card__go svg { transition: transform var(--t) var(--ease); }
.cat-card a:hover .cat-card__go svg { transform: translateX(4px); }

/* ======================================================================= */
/* PODBOR                                                                  */
/* ======================================================================= */
.podbor { background: linear-gradient(180deg, var(--white), var(--tint)); }
.podbor__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.steps { margin: 32px 0; display: flex; flex-direction: column; gap: 12px; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 18px 20px;
  cursor: pointer; transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.step:hover { transform: translateX(4px); }
.step.is-active { border-color: var(--brand); box-shadow: 0 0 0 4px var(--tint), var(--sh-2); }
.step.is-active .step__num { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.step__num {
  flex: none; width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: var(--r); border: 1.5px solid var(--hairline);
  background: var(--paper); color: var(--navy); font-size: 15px; font-weight: 600;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.step h3 { font-size: 18px; font-weight: 700; }
.step p { margin-top: 4px; font-size: 14.5px; color: var(--body); }

/* H-Q interactive panel */
.podbor__viz { position: relative; }
.hq-panel {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-xl); padding: 22px; box-shadow: var(--sh-3);
}
.hq-panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.hq-panel__head .mono { font-size: 12px; color: var(--body); }
.hq-panel__live { color: var(--navy) !important; font-weight: 600; background: var(--tint); padding: 3px 10px; border-radius: var(--r-pill); }
.hq-chart { width: 100%; height: auto; }
.hq-axis { font-family: var(--f-mono); font-size: 11px; fill: var(--body); }
.hq-line { stroke-dasharray: 420; stroke-dashoffset: 420; }
.hq-line.is-drawn { transition: stroke-dashoffset 1.5s var(--ease-out); stroke-dashoffset: 0; }
.hq-area { opacity: 0; transition: opacity .8s ease .5s; }
.hq-area.is-drawn { opacity: 1; }
.hq-duty { transition: transform .5s var(--ease); }
.hq-panel__readout { display: flex; gap: 24px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hairline); font-size: 14px; color: var(--body); }
.hq-panel__readout b { font-size: 18px; color: var(--ink); margin-right: 4px; }
.podbor__hint { margin-top: 12px; text-align: center; font-size: 11.5px; color: var(--body); }

/* ======================================================================= */
/* 3D SCHEMES                                                              */
/* ======================================================================= */
.schemes__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.schemes__viz {
  background: linear-gradient(180deg, var(--white), var(--tint));
  border: 1px solid var(--hairline); border-radius: var(--r-xl);
  padding: 24px; box-shadow: var(--sh-3);
}
.iso { width: 100%; height: auto; }
.iso-label { font-family: var(--f-mono); font-size: 10px; fill: var(--navy); }
.pipe { stroke-dasharray: 300; stroke-dashoffset: 300; }
.pipe.is-drawn { transition: stroke-dashoffset 1.6s var(--ease-out); stroke-dashoffset: 0; }
.pipe--2 { stroke-dasharray: 60; stroke-dashoffset: 60; }

.checks { margin: 22px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--ink); }
.checks svg {
  flex: none; width: 28px; height: 28px; padding: 5px; color: #fff;
  background: var(--brand); border-radius: 50%; box-shadow: var(--glow);
}

/* ======================================================================= */
/* STATS BAND                                                              */
/* ======================================================================= */
.stats { background: var(--navy); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.stats::before {
  content:""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(120% 100% at 20% 0%, #000, transparent 70%);
          mask-image: radial-gradient(120% 100% at 20% 0%, #000, transparent 70%);
}
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; }
.stat { text-align: center; padding: 8px; }
.stat__num { display: block; font-family: var(--f-mono); font-size: clamp(30px, 4vw, 46px); font-weight: 600; color: #fff; letter-spacing: -.03em; }
.stat__num .plus { color: var(--brand-300); font-weight: 600; }
.stat__label { display: block; margin-top: 8px; font-size: 14px; color: var(--brand-200); }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.1); }

/* ======================================================================= */
/* ABOUT                                                                   */
/* ======================================================================= */
.about__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.about__text { margin-top: 18px; font-size: 17px; color: var(--body); }
.about__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill { font-size: 12.5px; color: var(--navy); background: var(--tint); border: 1px solid var(--hairline); padding: 7px 14px; border-radius: var(--r-pill); }

.about__timeline {
  border-left: 2px solid var(--hairline); padding-left: 26px; margin-top: 6px;
  display: flex; flex-direction: column; gap: 26px;
}
.about__timeline li { position: relative; }
.about__timeline li::before {
  content:""; position: absolute; left: -33px; top: 4px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--white); border: 3px solid var(--brand);
}
.about__year { display: block; font-size: 20px; font-weight: 600; color: var(--brand-700); }
.about__timeline p { margin-top: 4px; font-size: 15.5px; color: var(--body); }

/* ======================================================================= */
/* WHERE TO BUY                                                            */
/* ======================================================================= */
.buy { background: linear-gradient(180deg, var(--paper), var(--white)); }
.buy__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; }
.buy__map {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-xl); padding: 24px; box-shadow: var(--sh-2);
}
.map { width: 100%; height: auto; }
.map-pt { fill: var(--brand); opacity: 0; transform: scale(.3); transform-origin: center; }
.map-pt.is-on { animation: ptIn .5s var(--ease-out) forwards; }
@keyframes ptIn { to { opacity: 1; transform: scale(1); } }
.map-pt--hub { fill: var(--amber); }
.map-pt--hub.is-on { animation: ptIn .5s var(--ease-out) forwards, ptPulse 2.4s ease-in-out 1s infinite; }
@keyframes ptPulse { 0%,100% { filter: drop-shadow(0 0 0 rgba(232,130,30,.5)); } 50% { filter: drop-shadow(0 0 6px rgba(232,130,30,.8)); } }

.buy__panel { display: flex; flex-direction: column; gap: 12px; }
.buy__action {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 18px 20px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.buy__action:hover { transform: translateX(5px); box-shadow: var(--sh-2); border-color: var(--brand-200); }
.buy__action-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: var(--r); background: var(--tint); color: var(--brand-700); }
.buy__action-txt { display: flex; flex-direction: column; flex: 1; }
.buy__action-txt b { font-family: var(--f-display); font-size: 16px; color: var(--ink); }
.buy__action-txt span { font-size: 13.5px; color: var(--body); }
.buy__chev { color: var(--brand); flex: none; transition: transform var(--t); }
.buy__action:hover .buy__chev { transform: translateX(4px); }

/* ======================================================================= */
/* DOCUMENTS                                                               */
/* ======================================================================= */
.docs__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.doc a {
  display: flex; align-items: center; gap: 14px; height: 100%;
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh-1);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.doc a:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--brand-200); }
.doc__ic { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--r); background: var(--tint); color: var(--brand-700); }
.doc__txt { display: flex; flex-direction: column; }
.doc__txt b { font-family: var(--f-display); font-size: 15.5px; color: var(--ink); }
.doc__txt span { font-size: 12px; color: var(--body); margin-top: 2px; }

/* ======================================================================= */
/* FINAL CTA                                                               */
/* ======================================================================= */
.finalcta { padding: 0 0 88px; }
.finalcta__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
  background: radial-gradient(120% 160% at 0% 0%, var(--brand) 0%, var(--navy) 60%);
  color: #fff; border-radius: var(--r-xl); padding: 48px 52px; box-shadow: var(--sh-3);
  position: relative; overflow: hidden;
}
.finalcta__inner::before {
  content:""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(80% 120% at 100% 0%, #000, transparent 70%);
          mask-image: radial-gradient(80% 120% at 100% 0%, #000, transparent 70%);
}
.finalcta__inner > * { position: relative; }
.finalcta h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); }
.finalcta p { margin-top: 10px; color: var(--brand-200); font-size: 17px; }
.finalcta__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ======================================================================= */
/* FOOTER                                                                  */
/* ======================================================================= */
.site-footer { background: var(--navy); color: var(--brand-200); padding: 60px 0 28px; }
.site-footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand__word { color: #fff; }
.site-footer__about { margin-top: 16px; font-size: 14.5px; color: var(--brand-200); max-width: 34ch; }
.site-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.social {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.18);
  color: #fff; transition: background var(--t), border-color var(--t), color var(--t);
}
.social:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.site-footer__col h3 { font-family: var(--f-display); font-size: 15px; color: #fff; margin-bottom: 16px; letter-spacing: 0; }
.site-footer__col a { display: block; font-size: 14.5px; color: var(--brand-200); padding: 5px 0; transition: color var(--t-fast); }
.site-footer__col a:hover { color: #fff; }
.site-footer__contact { font-size: 14.5px; color: var(--brand-200); margin-bottom: 12px; }
.site-footer__mail { display: inline-block; color: #fff; font-weight: 600; margin-bottom: 18px; }
.site-footer__mail:hover { color: var(--brand-300); }
.site-footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12.5px; color: var(--brand-200);
}
.site-footer__bottom .mono { font-size: 11.5px; opacity: .8; }

/* ======================================================================= */
/* REVEAL ANIMATION                                                        */
/* ======================================================================= */
/* Default (no-JS) state stays visible; the opacity:0 hide is gated behind html.js. */
.reveal { transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
html.js .reveal { opacity: 0; transform: translateY(18px); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ======================================================================= */
/* RESPONSIVE                                                              */
/* ======================================================================= */
@media (max-width: 1180px) {
  .quick__grid { grid-template-columns: repeat(3, 1fr); }
  .docs__grid { grid-template-columns: repeat(2, 1fr); }
}

/* 1024–1179: full desktop nav, rail hidden — tighten the row so nothing
   crowds the search + Кабинет actions even with a scrollbar present. */
@media (min-width: 1024px) and (max-width: 1179.98px) {
  .site-header__inner { gap: 16px; }
  .site-nav { margin-left: 0; }
  .site-nav__list { gap: 2px; }
  .site-nav__list a { padding: 9px 10px; font-size: 15px; }
}

@media (max-width: 1023px) {
  .site-nav { display: none; }
  .btn--account { display: none; }
  .icon-btn--burger { display: inline-grid; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .hero__viz { max-width: 480px; margin-inline: auto; width: 100%; }
  .podbor__inner, .schemes__inner, .about__inner, .buy__inner { grid-template-columns: 1fr; gap: 36px; }
  .schemes__viz { order: 2; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .container { padding-inline: 18px; }
  .quick { margin-top: -22px; }
  .quick__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .catalog__grid { grid-template-columns: 1fr; }
  .docs__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat { padding: 18px 8px; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
  .stats__grid .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .stats__grid .stat:last-child { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); border-right: 0; }
  .hero__facts { gap: 24px; }
  .hero__facts dt { font-size: 26px; }
  .finalcta__inner { padding: 34px 26px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bottom { flex-direction: column; gap: 8px; }
  .btn--lg { width: 100%; justify-content: center; }
  .hero__cta .btn, .podbor__copy .btn, .finalcta__btns .btn { width: 100%; justify-content: center; }
}

@media (max-width: 420px) {
  .quick__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 34px; }
}

/* ======================================================================= */
/* REDUCED MOTION                                                          */
/* ======================================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, html.js .reveal { opacity: 1 !important; transform: none !important; }
  .hq-curve, .hq-line, .pipe { stroke-dashoffset: 0 !important; }
  .hq-dot, .hq-area, .map-pt { opacity: 1 !important; transform: none !important; }
  /* SMIL flow-dots cannot be stopped via CSS animation — hide them outright so
     they never freeze mid-path; the static pipes still read as the flow. */
  .flow-dot { display: none !important; }
  .map-pt--hub.is-on { animation: none !important; }
}
