:root {
  --bg: #f4f6f9;
  --paper: #ffffff;
  --ink: #172033;
  --muted: #4a5870;
  --line: #dce3ee;
  --navy: #1c2b44;
  --navy-2: #26364f;
  --blue: #2c6bed;
  --blue-deep: #1a4fbf;
  --soft: #e7eef8;
  --danger: #9f2c22;
  --ok: #0e6b45;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.08);
  --radius: 18px;
  --header: 76px;
  --sans: "Manrope", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 {
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.08;
}
h1 { font-size: clamp(34px, 4.6vw, 58px); }
h2 { font-size: clamp(28px, 3.2vw, 42px); }
h3 { margin: 0; font-size: 20px; line-height: 1.3; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.muted { color: var(--muted); }
.section { padding: 88px 0; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(28, 43, 68, 0.28); }
.btn--ghost:hover { border-color: var(--navy); background: rgba(255, 255, 255, 0.55); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--soft); }
.btn[disabled] { opacity: 0.55; cursor: wait; transform: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease;
}
.header.is-stuck { border-bottom-color: var(--line); background: rgba(255, 255, 255, .96); }
.header__inner { display: flex; align-items: center; gap: 28px; width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: 0.08em; }
.logo svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--ink); }
.header .btn { margin-left: 8px; min-height: 44px; }
.burger {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.burger span, .burger span::before, .burger span::after {
  display: block; height: 2px; width: 18px; background: var(--navy); position: relative; margin: 0 auto;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.hero { padding: 28px 0 72px; position: relative; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.kicker {
  color: var(--blue-deep);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 16px;
}
.lead { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.hero__cube {
  width: min(540px, 100%);
  position: relative;
  z-index: 1;
  -webkit-mask-image: radial-gradient(ellipse 68% 72% at 50% 46%, #000 58%, transparent 80%);
  mask-image: radial-gradient(ellipse 68% 72% at 50% 46%, #000 58%, transparent 80%);
}
.spec {
  position: absolute;
  left: 6%;
  bottom: 28px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #fff;
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 14px 18px 16px;
  min-width: 148px;
}
.spec__num { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.spec__num span { font-size: 18px; margin-left: 4px; letter-spacing: 0; }
.spec__name { font-weight: 800; margin-top: 4px; }
.spec__tag { color: var(--muted); font-size: 14px; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  background: radial-gradient(circle at 35% 30%, #fff, #9ec4f5 45%, #6aa2ec 70%);
  opacity: 0.85;
}
.orb--1 { width: 210px; height: 210px; right: 4%; top: 8px; }
.orb--2 { width: 110px; height: 110px; right: 0; top: 168px; opacity: 0.75; }
.orb--3 { width: 64px; height: 64px; left: 8%; top: 46px; opacity: 0.85; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.approach { background: var(--paper); }
.head { max-width: 640px; margin-bottom: 36px; }
.head p { margin-top: 14px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 24px;
  box-shadow: 0 1px 0 rgba(23, 32, 51, 0.02);
}
.card:hover { border-color: #c5d4ea; }
.card__icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--soft); color: var(--blue-deep); margin-bottom: 16px;
}
.card p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.deposit__grid, .whole__grid, .cta__grid, .panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { flex: 0 0 auto; margin-top: 3px; }
.media { position: relative; }
.wellpad {
  position: relative;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(#d5e4f2, #edf3f8 42%, #c5b79a 42%, #8d9a6e 100%);
  box-shadow: var(--shadow);
}
.well {
  position: absolute;
  bottom: 92px;
  width: 86px;
  height: 150px;
}
.well--a { left: 18%; height: 132px; }
.well--b { left: 46%; }
.well__pipe {
  position: absolute; left: 36px; bottom: 0; width: 14px; height: 100%;
  background: linear-gradient(#eef3f8, #5d6e82 30%, #1c2b44);
  border-radius: 4px;
}
.well__head {
  position: absolute; left: 12px; top: 0; width: 62px; height: 26px; border-radius: 6px;
  background: #1c2b44;
}
.well__head::after {
  content: "";
  position: absolute; left: 22px; top: -10px; width: 18px; height: 14px; border-radius: 4px;
  background: #2c6bed;
}
.well__arm {
  position: absolute; top: 40px; left: 50px; width: 28px; height: 28px; border-radius: 50%;
  border: 4px solid #d5e0ec; background: #fff;
}
.wellpad__caption {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(255,255,255,.92);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
}
.mapcard {
  margin-top: 14px;
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
}
.mapcard p { font-size: 13px; color: var(--muted); margin-top: 6px; }
.mapcard strong { font-size: 14px; }

.docs__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.doc {
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px 16px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.doc:hover { transform: translateY(-4px); border-color: #c5d4ea; }
.doc__top { height: 8px; border-radius: 99px; background: var(--blue); margin-bottom: 14px; }
.doc__lines { display: grid; gap: 6px; margin: 12px 0; }
.doc__lines span { display: block; height: 6px; border-radius: 99px; background: var(--soft); }
.doc__lines span:nth-child(2) { width: 80%; }
.doc__lines span:nth-child(3) { width: 62%; }
.doc small { color: var(--muted); }

.uses { background: var(--navy); color: #fff; }
.uses .head p, .uses .muted { color: rgba(255,255,255,.78); }
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 22px;
}
.tabs button {
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  min-height: 42px;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}
.tabs button:hover { background: rgba(255,255,255,.08); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--navy); border-color: #fff; }
.panel {
  background: #fff;
  color: var(--ink);
  border-radius: 24px;
  padding: 18px;
  align-items: stretch;
}
.panel .muted { color: var(--muted); }
.panel__text { padding: 18px 18px 18px 8px; display: flex; flex-direction: column; justify-content: center; }
.panel__text h3 { font-size: 28px; text-transform: uppercase; letter-spacing: 0.03em; }
.panel__text p { margin: 12px 0 20px; }
.scene {
  min-height: 300px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background: #d7e6f4;
}
.scene--industry { background: linear-gradient(#e7f0f8, #c9d8e8); }
.tank {
  position: absolute; bottom: 36px; width: 58px; height: 150px; border-radius: 8px 8px 4px 4px;
  background: linear-gradient(#f7fbfe, #b9d4ec);
  border: 3px solid #8ea3b8;
}
.tank:nth-child(1) { left: 18%; height: 170px; }
.tank:nth-child(2) { left: 42%; height: 200px; }
.tank:nth-child(3) { left: 66%; }
.pipe { position: absolute; left: 22%; right: 16%; top: 78px; height: 10px; background: #1c2b44; border-radius: 8px; }
.scene--cosmetics { background: linear-gradient(#f8fbfe, #d4e7f6 60%, #8eb6de); }
.bowl {
  position: absolute; left: 50%; bottom: 42px; transform: translateX(-50%);
  width: 68%; height: 130px; border-radius: 0 0 80px 80px;
  background: radial-gradient(circle at 50% 0, #fff, #7eb0e4);
  box-shadow: inset 0 -18px 30px rgba(28, 43, 68, .15);
}
.salt {
  position: absolute; width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #d5e6f6);
  top: 48px;
}
.salt--a { left: 18%; }
.salt--b { right: 16%; width: 32px; height: 32px; top: 78px; }
.scene--agro { background: linear-gradient(#d9ecf8 0 42%, #8eaa62 42% 70%, #6d8a48 70%); }
.sun { position: absolute; right: 36px; top: 28px; width: 54px; height: 54px; border-radius: 50%; background: #fff; }
.row {
  position: absolute; left: 0; right: 0; height: 8px; background: rgba(255,255,255,.35);
}
.row:nth-child(2) { bottom: 70px; }
.row:nth-child(3) { bottom: 110px; }
.row:nth-child(4) { bottom: 150px; }
.scene--roads { background: linear-gradient(#e8eef5, #c5d0de 55%, #9aa8b8); }
.road {
  position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%);
  width: 70%; height: 78%;
  background: linear-gradient(#4d5968, #2a3340);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
}
.lane {
  position: absolute; left: 50%; top: 12%; bottom: 8%; width: 8px; transform: translateX(-50%);
  background: repeating-linear-gradient(#d5e4f5, #d5e4f5 16px, transparent 16px, transparent 30px);
}
.brine { position: absolute; left: 8%; right: 8%; bottom: 18px; height: 14px; border-radius: 8px; background: rgba(44, 107, 237, .75); }
.scene--oil { background: linear-gradient(#dbe7f2, #efe6d4 62%); }
.derrick {
  position: absolute; left: 50%; bottom: 70px; width: 90px; height: 160px; transform: translateX(-50%);
  background:
    linear-gradient(#1c2b44, #1c2b44) center/8px 100% no-repeat,
    linear-gradient(#1c2b44, #1c2b44) 0 0/4px 100% no-repeat,
    linear-gradient(#1c2b44, #1c2b44) 100% 0/4px 100% no-repeat;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: #c3b496; }

.whole { background: var(--paper); }
.calc {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
}
.calc h3 { font-size: 22px; }
.stepper { display: flex; gap: 8px; margin: 16px 0 10px; }
.stepper button, .qty {
  height: 52px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
}
.stepper button { width: 52px; font-size: 24px; cursor: pointer; }
.stepper button:hover { border-color: var(--navy); }
.qty { flex: 1; text-align: center; font-weight: 800; font-size: 20px; }
.slider { width: 100%; margin: 8px 0 4px; accent-color: var(--navy); }
input[type="range"] { width: 100%; height: 28px; }
.calc__result {
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  margin: 12px 0;
  border: 1px solid var(--line);
}
.calc__result strong { font-size: 28px; letter-spacing: -0.03em; display: block; }
.calc__note { font-size: 14px; }
.calc.is-bad { border-color: #e7c1bd; }
.cube-side {
  width: min(360px, 100%);
  margin-top: 8px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 48%, #000 60%, transparent 82%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 48%, #000 60%, transparent 82%);
}

.steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.step {
  background: var(--navy);
  color: #fff;
  border-radius: 18px;
  padding: 20px 18px 22px;
  min-height: 210px;
}
.step span { display: block; color: #9ec0ff; font-weight: 800; letter-spacing: 0.08em; margin-bottom: 28px; }
.step p { color: rgba(255,255,255,.78); font-size: 15px; margin-top: 8px; }

.cta { background: linear-gradient(160deg, #1c2b44, #2a4064 60%, #1c2b44); color: #fff; position: relative; overflow: hidden; }
.cta .muted { color: rgba(255,255,255,.78); }
.cta__cube {
  position: absolute; right: -40px; bottom: -80px; width: 360px; opacity: 0.16; pointer-events: none;
}
.form {
  background: #fff;
  color: var(--ink);
  border-radius: 24px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
  position: relative;
  z-index: 1;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field span { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #f7f9fc;
  border-radius: 12px;
  padding: 12px 12px;
  min-height: 48px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b7c6da; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); background: #fff6f5; }
.field .err { color: var(--danger); font-size: 13px; font-weight: 600; min-height: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 600; }
.check input { margin-top: 3px; width: 18px; height: 18px; }
.form .btn { grid-column: 1 / -1; }
.success {
  background: #fff;
  color: var(--ink);
  border-radius: 24px;
  padding: 28px 24px;
  position: relative;
  z-index: 1;
}
.success h3 { font-size: 28px; }
.success dl { display: grid; gap: 8px; margin: 16px 0; }
.success div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.success dt { color: var(--muted); }
.chip {
  display: inline-flex;
  background: #e8f6ef;
  color: var(--ok);
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  margin-bottom: 10px;
}

.footer { background: #121a2b; color: rgba(255,255,255,.8); padding: 36px 0; }
.footer__grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer a { color: #fff; }
.footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer .logo { color: #fff; }

.panel[hidden],
.form[hidden],
.success[hidden],
.modal[hidden] { display: none !important; }
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(18, 26, 43, .62); }
.modal__dialog {
  position: relative;
  width: min(560px, 100%);
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow);
  max-height: min(86vh, 720px);
  overflow: auto;
}
.modal__close {
  position: absolute; right: 12px; top: 12px;
  width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg); cursor: pointer; font-size: 22px;
}
.sheet__mark {
  display: inline-block;
  border: 1px dashed var(--blue-deep);
  color: var(--blue-deep);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
}
.sheet h3 { margin: 12px 0; font-size: 28px; }
.sheet dl { display: grid; gap: 8px; margin: 12px 0 0; }
.sheet div { display: grid; grid-template-columns: 140px 1fr; gap: 8px; }
.sheet dt { color: var(--muted); }
.scheme { display: grid; gap: 12px; margin-top: 12px; }
.scheme article { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; background: var(--bg); border-radius: 14px; padding: 12px; }
.scheme img { width: 72px; }
.scheme span { font-weight: 800; color: var(--blue-deep); }

/* Референсный стиль: серо-голубой, вода, крупные цифры */
:root { --steel: #5b7394; --steel-soft: #e6ebf2; }

.ripple {
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(255,255,255,.9), transparent 60%),
    repeating-radial-gradient(circle at 80% 10%, rgba(91,115,148,.06) 0 2px, transparent 2px 26px),
    #eef1f5;
}

.switch { display: inline-flex; gap: 6px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 14px; }
.switch button { border: 0; background: transparent; border-radius: 999px; min-height: 40px; padding: 0 16px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; }
.switch button:hover { color: var(--ink); }
.switch button[aria-selected="true"] { background: var(--navy); color: #fff; }
.geo[hidden] { display: none; }

.zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.zoom img { width: 100%; max-height: 640px; object-fit: cover; object-position: top; transition: transform .5s ease; }
.zoom:hover img { transform: scale(1.03); }
.zoom__hint {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(28,43,68,.86); color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 8px 12px; border-radius: 999px;
}
.zoom--label img { max-height: none; object-fit: contain; background: #fff; }

.mining__stage { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: #fff; aspect-ratio: 1024 / 505; }
.mining__stage img { width: 100%; height: auto; display: block; }
.spot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--steel);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(28,43,68,.35);
}
.spot::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.85);
  animation: pulse 2.2s ease-out infinite;
}
.spot:hover, .spot.is-on { background: var(--blue); }
.spot.is-on { transform: translate(-50%, -50%) scale(1.15); }
@keyframes pulse { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

.flow { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.flow button {
  width: 100%; height: 100%;
  display: flex; align-items: center; gap: 10px;
  min-height: 64px; padding: 10px 14px 10px 22px;
  border: 0; cursor: pointer; text-align: left;
  font-weight: 700; font-size: 14px; line-height: 1.25;
  color: var(--navy);
  background: #dfe7f2;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%);
}
.flow li:first-child button { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); padding-left: 14px; }
.flow li:nth-child(2) button { background: #c9d6e8; }
.flow li:nth-child(3) button { background: #a9bdd8; }
.flow li:nth-child(4) button { background: #5b7394; color: #fff; }
.flow li:nth-child(5) button { background: #34507a; color: #fff; }
.flow li:nth-child(6) button { background: #1c2b44; color: #fff; }
.flow button[aria-pressed="true"] { outline: 3px solid var(--blue); outline-offset: -3px; }
.flow .num {
  flex: 0 0 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--navy); font-size: 13px;
}
.flow__note { margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; }
.flow__note p { color: var(--muted); margin-top: 4px; }

.mineral { background: linear-gradient(180deg, #f2f4f7, #e9edf2); overflow: hidden; }
.mineral__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.big { margin: 26px 0 8px; padding-left: 20px; border-left: 2px solid var(--steel); }
.big__pre, .big__post { font-size: 22px; color: var(--graphite, #45413c); color: #3b4656; }
.big__num { font-size: clamp(72px, 9vw, 120px); font-weight: 800; line-height: .95; color: var(--steel); letter-spacing: -.04em; }
.elements { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.elements li { display: flex; flex-direction: column; }
.elements b { font-size: 18px; }
.elements span { color: var(--muted); font-size: 15px; }
.mineral__img {
  aspect-ratio: 5 / 4;
  border-radius: 24px;
  background: #eceeef url("img/crystals.png") no-repeat 80% 76% / 200% auto;
  box-shadow: var(--shadow);
}

.label__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.specs { display: grid; margin: 20px 0 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: 15px; }
.specs dd { margin: 0; font-weight: 700; }

.modal__dialog.is-wide { width: min(1100px, 100%); padding: 16px; }
.modal__dialog.is-wide img { width: 100%; border-radius: 12px; }

@media (max-width: 980px) {
  .mineral__grid, .label__grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 6px; }
}
@media (max-width: 680px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .spot { width: 30px; height: 30px; font-size: 13px; border-width: 2px; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .elements { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .spot::after { animation: none; }
  .zoom:hover img { transform: none; }
}

.has-anim .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.has-anim .reveal.is-in { opacity: 1; transform: none; }
.err:empty { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__cube { animation: none; }
  .has-anim .reveal { opacity: 1; transform: none; }
  .btn:hover, .doc:hover { transform: none; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .header .btn--navy { display: none; }
  .burger { display: inline-block; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header);
    left: 0; right: 0;
    background: #fff;
    padding: 16px 20px 20px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }
  .hero__grid, .deposit__grid, .whole__grid, .cta__grid, .panel, .cards, .docs__row, .steps__grid {
    grid-template-columns: 1fr;
  }
  .cards { grid-template-columns: 1fr 1fr; }
  .hero__visual { min-height: 420px; }
  .mapcard { grid-template-columns: 1fr; }
  .panel__text { padding: 16px 6px 8px; }
  .form { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .wrap { width: min(1120px, calc(100% - 28px)); }
  .section { padding: 64px 0; }
  .cards, .docs__row, .steps__grid { grid-template-columns: 1fr; }
  .hero__actions .btn, .form .btn { width: 100%; }
  .hero__visual { min-height: 0; }
  .spec { position: static; margin: 8px auto 0; width: fit-content; }
  .sheet div { grid-template-columns: 1fr; gap: 2px; }
}

/* ===== Первый экран: водная гладь + еврокуб ===== */
:root { --header: 100px; --steel-btn: #5b6e8c; --dark-btn: #3c4656; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.brand__drop { width: 44px; height: 58px; }
.brand__text { display: flex; align-items: center; gap: 12px; }
.brand__name { font-size: 42px; font-weight: 800; letter-spacing: .04em; line-height: 1; }
.brand__sub { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.25; color: var(--muted); }
.header .nav { gap: 30px; }
.header .nav a { font-size: 15px; color: var(--navy); }
.call { display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; white-space: nowrap; }
.call a { color: var(--navy); text-decoration: none; font-weight: 600; }
.call a:hover { color: var(--blue-deep); }
.call .call__title { color: var(--muted); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.btn--sm { min-height: 44px; padding: 0 22px; border-radius: 6px; }
.btn--dark { background: var(--dark-btn); color: #fff; }
.btn--dark:hover { background: var(--navy); }
.btn--steel { background: var(--steel-btn); color: #fff; border-radius: 6px; }
.btn--steel:hover { background: #4a5c78; }
.btn--outline { background: rgba(255,255,255,.35); color: var(--navy); border: 1.5px solid var(--steel-btn); border-radius: 6px; gap: 10px; }
.btn--outline:hover { background: rgba(255,255,255,.8); }

.hero2 {
  position: relative;
  overflow: hidden;
  margin-top: calc(-1 * var(--header));
  padding-top: var(--header);
  min-height: clamp(580px, 50vw, 880px);
  display: flex;
  align-items: center;
  background: #eef0f2;
}
.hero2__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hero2::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(240,242,244,.75) 0%, rgba(240,242,244,.35) 38%, rgba(240,242,244,0) 55%);
}
.hero2__inner { position: relative; z-index: 2; padding: 40px 0 72px; }
.hero2__text { max-width: 620px; }
.hero2 h1 { text-transform: uppercase; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; letter-spacing: .01em; color: #2a3446; }
.hero2__lead { margin-top: 22px; font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 500px; }
.hero2 .hero__actions { margin-top: 34px; }

.hero2__badges { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.stamp { position: absolute; width: clamp(96px, 8.5vw, 128px); left: 50%; top: 17%; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.badge {
  position: absolute; display: flex; flex-direction: column; gap: 4px;
  background: rgba(255,255,255,.92); border-radius: 12px; padding: 14px 18px;
  box-shadow: 0 14px 34px rgba(28,43,68,.14); max-width: 210px;
  animation: float 6s ease-in-out infinite;
}
.badge b { font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.badge span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.badge--70 { left: 52%; top: 44%; }
.badge--ibc { left: 56%; top: 66%; animation-delay: -3s; }
.badge--ibc b { font-size: 20px; }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 1180px) {
  .call { display: none; }
}
@media (max-width: 980px) {
  .brand__drop { width: 36px; height: 48px; }
  .brand__name { font-size: 34px; }
  .brand__sub { font-size: 11px; }
  .header .btn--dark { display: none; }
  .hero2 { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero2__img { position: relative; order: 2; height: auto; aspect-ratio: 1 / 1; object-position: 86% 60%; }
  .hero2::before { display: none; }
  .hero2__inner { order: 1; padding: 24px 0 8px; }
  .hero2__badges { position: relative; order: 3; inset: auto; display: flex; flex-wrap: wrap; gap: 12px; padding: 0 20px 40px; margin-top: -40px; }
  .stamp { display: none; }
  .badge { position: static; animation: none; flex: 1 1 200px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .stamp, .badge { animation: none; }
}
