/* ===== H2 AQUA — redesign ===== */

:root {
  --deep: #06263f;
  --deep-2: #0b3d66;
  --blue: #0e7fd6;
  --cyan: #19c2f0;
  --grad: linear-gradient(120deg, #0e7fd6, #19c2f0);
  --ink: #0d2337;
  --muted: #55707f;
  --bg: #f4fafd;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 12px 40px rgba(6, 38, 63, .10);
  --shadow-lg: 0 24px 70px rgba(6, 38, 63, .16);
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}
.container--narrow { width: min(880px, 100% - 48px); }

/* ===== Кнопки ===== */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border: none;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font: 700 16px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 10px 26px rgba(14, 127, 214, .35);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(14, 127, 214, .45); }
.btn:active { transform: translateY(0); }

.btn--small { padding: 11px 22px; font-size: 14px; }
.btn--wide { width: 100%; padding: 17px 32px; font-size: 17px; }
.btn--ghost {
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .55);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }

/* ===== Шапка ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease;
}
.header--scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(6, 38, 63, .10);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 14px;
}
.header__logo img { height: 42px; width: auto; border-radius: 6px; }
.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav__link {
  color: #dcecf7;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color .2s;
}
.header--scrolled .nav__link { color: var(--ink); }
.nav__link:hover { color: var(--cyan); }
.header__cta { flex-shrink: 0; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 24px; height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: .3s;
}
.header--scrolled .burger span { background: var(--ink); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(25, 194, 240, .35), transparent 60%),
    linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 55%, #0e5a92 100%);
  color: #fff;
  padding: 150px 0 90px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 2;
}
.hero__badge {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #bfe9fb;
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin-bottom: 22px;
}
.hero__lead {
  font-size: 18px;
  color: #cfe6f5;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.hero__note { font-size: 14px; color: #9dc4dc; }

.hero__visual { position: relative; }
.hero__visual img {
  position: relative;
  z-index: 2;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
.hero__glow {
  position: absolute;
  inset: 12% -6% -8% 12%;
  background: radial-gradient(closest-side, rgba(25, 194, 240, .5), transparent 72%);
  filter: blur(30px);
  z-index: 1;
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Пузырьки */
.hero__bubbles span {
  position: absolute;
  bottom: -60px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.75), rgba(25,194,240,.25));
  animation: rise linear infinite;
  opacity: 0;
  z-index: 1;
}
.hero__bubbles span:nth-child(1) { left: 6%;  animation-duration: 11s; animation-delay: 0s;   width: 10px; height: 10px; }
.hero__bubbles span:nth-child(2) { left: 14%; animation-duration: 14s; animation-delay: 2s;   width: 18px; height: 18px; }
.hero__bubbles span:nth-child(3) { left: 26%; animation-duration: 10s; animation-delay: 4s; }
.hero__bubbles span:nth-child(4) { left: 38%; animation-duration: 15s; animation-delay: 1s;   width: 8px;  height: 8px; }
.hero__bubbles span:nth-child(5) { left: 47%; animation-duration: 12s; animation-delay: 3s;   width: 22px; height: 22px; }
.hero__bubbles span:nth-child(6) { left: 58%; animation-duration: 16s; animation-delay: 0s;   width: 12px; height: 12px; }
.hero__bubbles span:nth-child(7) { left: 67%; animation-duration: 11s; animation-delay: 5s; }
.hero__bubbles span:nth-child(8) { left: 76%; animation-duration: 13s; animation-delay: 2.5s; width: 20px; height: 20px; }
.hero__bubbles span:nth-child(9) { left: 86%; animation-duration: 10s; animation-delay: 1.5s; width: 9px;  height: 9px; }
.hero__bubbles span:nth-child(10){ left: 94%; animation-duration: 14s; animation-delay: 4.5s; width: 15px; height: 15px; }
@keyframes rise {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  12%  { opacity: .8; }
  90%  { opacity: .5; }
  100% { transform: translateY(-92vh) scale(1.4); opacity: 0; }
}

/* ===== Метрики ===== */
.stats {
  background: var(--white);
  margin-top: -1px;
  position: relative;
  z-index: 3;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 40px;
  transform: translateY(-44px);
}
.stat { text-align: center; }
.stat__value {
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat__value span { font-size: .55em; font-weight: 700; }
.stat__label { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ===== Секции ===== */
.section { padding: 90px 0; }
.section--alt { background: var(--bg); }
.section__kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 18px;
}
.section__lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 640px;
  margin-bottom: 48px;
}

/* ===== Польза: 6 карточек ===== */
.cards6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.bcard {
  background: var(--white);
  border: 1px solid #e3eef6;
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.cards6 .bcard { box-shadow: 0 6px 22px rgba(6,38,63,.05); }
.bcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.bcard__icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14,127,214,.12), rgba(25,194,240,.18));
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.bcard__icon svg { width: 28px; height: 28px; color: var(--blue); }
.bcard h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.bcard p { color: var(--muted); font-size: 15px; }

/* ===== Шаги ===== */
.steps {
  display: flex;
  align-items: stretch;
  gap: 18px;
}
.step {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: 0 6px 22px rgba(6,38,63,.05);
  position: relative;
  overflow: hidden;
}
.step::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--grad);
}
.step__num {
  font-size: 46px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step__arrow {
  align-self: center;
  color: var(--blue);
  flex-shrink: 0;
}
.step__arrow svg { width: 30px; height: 30px; }

/* ===== Каталог ===== */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.product {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--white);
  border: 1px solid #e3eef6;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product__img {
  background: #fbfdfe;
  display: grid;
  place-items: center;
  padding: 18px;
}
.product__img img {
  max-height: 200px;
  width: auto;
  object-fit: contain;
  transition: transform .4s ease;
}
.product:hover .product__img img { transform: scale(1.05); }
.product__body { padding: 24px 24px 22px; display: flex; flex-direction: column; }
.product__tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(14,127,214,.1);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.product__name { font-size: 19px; font-weight: 800; line-height: 1.25; margin-bottom: 8px; }
.product__desc { color: var(--muted); font-size: 14px; margin-bottom: 18px; flex-grow: 1; }
.product__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.product__price { font-size: 22px; font-weight: 800; white-space: nowrap; }

/* ===== Доставка ===== */
.delivery {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 26px;
}
.delivery__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: 0 6px 22px rgba(6,38,63,.05);
}
.delivery__icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14,127,214,.12), rgba(25,194,240,.18));
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.delivery__icon svg { width: 28px; height: 28px; color: var(--blue); }
.delivery__card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.delivery__card > p { color: var(--muted); margin-bottom: 20px; }
.delivery__list { list-style: none; }
.delivery__list li {
  padding: 10px 0 10px 26px;
  position: relative;
  color: var(--muted);
  font-size: 15px;
  border-bottom: 1px dashed #e0ecf4;
}
.delivery__list li:last-child { border-bottom: none; }
.delivery__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 17px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
}
.delivery__list strong { color: var(--ink); }

/* ===== FAQ ===== */
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.faq__item {
  background: var(--white);
  border: 1px solid #e3eef6;
  border-radius: 16px;
  overflow: hidden;
}
.faq__q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  font: 700 16.5px var(--font);
  color: var(--ink);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color .2s;
}
.faq__q:hover { color: var(--blue); }
.faq__chevron {
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-right: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(45deg);
  transition: transform .3s ease;
  margin-right: 6px;
}
.faq__item--open .faq__chevron { transform: rotate(-135deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s cubic-bezier(.4, 0, .2, 1);
}
.faq__item--open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a-inner p {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 15.5px;
}

/* ===== CTA / форма ===== */
.section--cta {
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(25,194,240,.25), transparent 60%),
    linear-gradient(160deg, var(--deep), var(--deep-2));
}
.cta {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px;
  padding: 54px 48px;
  backdrop-filter: blur(10px);
  color: #fff;
}
.cta__title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 12px; }
.cta__lead { color: #cfe6f5; margin-bottom: 34px; max-width: 520px; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form__field { display: block; margin-bottom: 18px; }
.form__field span {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #bfe0f2;
  margin-bottom: 8px;
}
.form__field input,
.form__field select {
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font: 500 16px var(--font);
  outline: none;
  transition: border-color .2s, background .2s;
}
.form__field select { appearance: none; cursor: pointer; }
.form__field select option { color: var(--ink); }
.form__field input::placeholder { color: rgba(255, 255, 255, .45); }
.form__field input:focus,
.form__field select:focus {
  border-color: var(--cyan);
  background: rgba(255, 255, 255, .12);
}
.form__field input.form__error { border-color: #ff7d7d; }
.form .btn--wide { margin-top: 6px; }
.form__hint {
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5);
  text-align: center;
}

/* ===== Подвал ===== */
.footer {
  background: var(--deep);
  color: #a9c6d8;
  padding: 56px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr .9fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer__logo { height: 40px; width: auto; border-radius: 6px; margin-bottom: 14px; }
.footer__brand p { font-size: 14.5px; }
.footer__title {
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 14px;
  letter-spacing: .04em;
}
.footer__col a {
  display: block;
  color: #a9c6d8;
  text-decoration: none;
  font-size: 14.5px;
  margin-bottom: 8px;
  transition: color .2s;
}
.footer__col a:hover { color: var(--cyan); }
.footer__col p { font-size: 14.5px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 20px;
  font-size: 13px;
  color: #7b98ab;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 120px);
  background: var(--deep);
  color: #fff;
  padding: 16px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: var(--shadow-lg);
  transition: transform .4s cubic-bezier(.2, .9, .3, 1.2);
  z-index: 200;
  max-width: min(480px, calc(100vw - 40px));
  text-align: center;
}
.toast--show { transform: translate(-50%, 0); }

/* ===== Анимация появления ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__visual img, .hero__bubbles span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Адаптив ===== */
@media (max-width: 1024px) {
  .cards6 { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step__arrow { transform: rotate(90deg); align-self: center; }
}

@media (max-width: 860px) {
  .hero { padding: 120px 0 70px; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 420px; margin-inline: auto; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); padding: 26px; gap: 26px 12px; }
  .delivery { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    flex-direction: column;
    gap: 6px;
    background: var(--deep);
    padding: 96px 30px 30px;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 90;
  }
  .nav--open { transform: translateX(0); }
  .nav__link { color: #dcecf7 !important; font-size: 18px; padding: 10px 0; }
  .burger { display: flex; z-index: 95; margin-left: auto; }
  .header__cta { display: none; }
  .burger--open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: #fff; }
  .burger--open span:nth-child(2) { opacity: 0; }
  .burger--open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: #fff; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .product { grid-template-columns: 1fr; }
  .product__img img { max-height: 170px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .cta { padding: 38px 24px; }
  .cards6 { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; text-align: center; }
}

/* ============================================================
   WOW-апгрейд
   ============================================================ */

/* Выделение текста и скроллбар в фирменных цветах */
::selection { background: rgba(25, 194, 240, .35); color: var(--deep); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #eaf4fa; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--blue), var(--cyan)); border-radius: 6px; }

/* Градиентный текст */
.grad-text {
  background: linear-gradient(100deg, #59d8ff, #19c2f0 45%, #7ef0e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Блик на кнопках */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-22deg);
  transition: left .6s ease;
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

/* Световые пятна в hero */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 1;
}
.hero__orb--1 {
  width: 420px; height: 420px;
  top: -140px; right: 12%;
  background: radial-gradient(circle, rgba(25,194,240,.4), transparent 70%);
  animation: orbFloat 9s ease-in-out infinite;
}
.hero__orb--2 {
  width: 320px; height: 320px;
  bottom: 6%; left: -120px;
  background: radial-gradient(circle, rgba(126,240,224,.28), transparent 70%);
  animation: orbFloat 12s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(26px) scale(1.06); }
}

/* Вращающееся кольцо вокруг фото в hero */
.hero__ring {
  position: absolute;
  inset: -7% -4%;
  margin: auto;
  border: 1.5px dashed rgba(126, 216, 255, .35);
  border-radius: 40px;
  z-index: 1;
  animation: ringPulse 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: .8; }
  50% { transform: scale(1.03) rotate(1.2deg); opacity: .45; }
}

/* Плавный параллакс фото (JS задаёт переменные) */
.hero__visual img {
  transform: translate(var(--px, 0), var(--py, 0));
  transition: transform .18s ease-out;
  will-change: transform;
}

/* Бегущая строка */
.ticker {
  position: relative;
  z-index: 2;
  margin-top: 64px;
  padding-block: 16px;
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  position: relative;
  white-space: nowrap;
  color: #bfe9fb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ticker__item::after {
  content: "";
  position: absolute;
  right: -32px;
  top: 50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(25,194,240,.9);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Карточки пользы: иконка оживает при наведении */
.bcard { position: relative; overflow: hidden; }
.bcard::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25,194,240,.14), transparent 70%);
  transition: transform .45s ease;
}
.bcard:hover::before { transform: scale(1.8); }
.bcard:hover .bcard__icon {
  background: var(--grad);
  box-shadow: 0 10px 24px rgba(14,127,214,.35);
  transform: rotate(-6deg) scale(1.06);
}
.bcard__icon { transition: transform .35s ease, background .35s ease, box-shadow .35s ease; }
.bcard:hover .bcard__icon svg { color: #fff; }
.bcard__icon svg { transition: color .35s ease; }

/* Карточки товаров: блик и подсветка рамки */
.product { position: relative; }
.product::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1.5px;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.product:hover::after { opacity: 1; }
.product__img { position: relative; overflow: hidden; }
.product__img::before {
  content: "";
  position: absolute;
  top: 0; left: -90%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-22deg);
  transition: left .7s ease;
  z-index: 2;
  pointer-events: none;
}
.product:hover .product__img::before { left: 140%; }

/* Цена: градиент при наведении на карточку */
.product__price { transition: all .3s ease; }
.product:hover .product__price {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Шаги: подъём цифры при наведении */
.step { transition: transform .3s ease, box-shadow .3s ease; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__num { display: inline-block; transition: transform .3s ease; }
.step:hover .step__num { transform: translateY(-4px); }

/* Секция-манифест с молекулами */
.statement {
  position: relative;
  padding: 120px 0;
  color: #fff;
  overflow: hidden;
}
.statement__big {
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.01em;
  max-width: 980px;
}
.statement__sub {
  margin-top: 28px;
  color: #9dc4dc;
  font-size: 16px;
  letter-spacing: .04em;
}

/* Форма: свечение фокуса */
.form__field input:focus,
.form__field select:focus {
  box-shadow: 0 0 0 4px rgba(25, 194, 240, .22);
}

/* FAQ: рамка при наведении и в открытом состоянии */
.faq__item { transition: border-color .25s ease, box-shadow .25s ease; }
.faq__item:hover { border-color: rgba(14,127,214,.45); }
.faq__item--open {
  border-color: rgba(14,127,214,.55);
  box-shadow: 0 10px 30px rgba(6,38,63,.08);
}

/* Появление: каскадная задержка внутри сеток */
.cards6 .reveal:nth-child(2), .products .reveal:nth-child(2), .stats__grid .reveal:nth-child(2) { transition-delay: .08s; }
.cards6 .reveal:nth-child(3), .products .reveal:nth-child(3), .stats__grid .reveal:nth-child(3) { transition-delay: .16s; }
.cards6 .reveal:nth-child(4), .products .reveal:nth-child(4), .stats__grid .reveal:nth-child(4) { transition-delay: .24s; }
.cards6 .reveal:nth-child(5) { transition-delay: .32s; }
.cards6 .reveal:nth-child(6) { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .hero__orb, .hero__ring, .ticker__track { animation: none; }
  .hero__visual img { transform: none; }
}

@media (max-width: 860px) {
  .ticker { margin-top: 48px; }
  .statement { padding: 80px 0; }
  .faq { grid-template-columns: 1fr; }
}

/* Полоса прогресса скролла */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--grad);
  z-index: 120;
  box-shadow: 0 0 12px rgba(25, 194, 240, .6);
}

/* Scrollspy: активный пункт меню */
.nav__link { position: relative; }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 2px;
  transition: width .3s ease;
}
.nav__link--active { color: var(--cyan) !important; }
.nav__link--active::after { width: 100%; }

/* ============================================================
   v4: контакты, фургон, партнёры, модалка
   ============================================================ */

/* Телефон в шапке */
.header__phone {
  color: #dcecf7;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.header--scrolled .header__phone { color: var(--ink); }
.header__phone:hover { color: var(--cyan); }
@media (max-width: 1100px) { .header__phone { display: none; } }

/* Контакты в мобильном меню */
.nav__contacts { display: none; }
@media (max-width: 860px) {
  .nav__contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.15);
  }
  .nav__contacts a {
    color: #bfe9fb;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
  }
}

/* Баннер с фирменным фургоном */
.van {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 30px;
  background: linear-gradient(140deg, var(--deep), var(--deep-2));
  border-radius: var(--radius);
  padding: 6px 44px;
  overflow: hidden;
  color: #fff;
}
.van__text { flex: 0 0 36%; padding-block: 28px; }
.van__text h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.van__text p { color: #cfe6f5; font-size: 15px; }
.van__img {
  flex: 1;
  max-width: 58%;
  margin-left: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.35));
  transform: translateX(14px);
  transition: transform .5s ease;
}
.van:hover .van__img { transform: translateX(0); }
@media (max-width: 860px) {
  .van { flex-direction: column; padding: 30px 24px 0; gap: 8px; }
  .van__text { flex: none; padding-block: 0; }
  .van__img { max-width: 100%; transform: none; }
}

/* Партнёры */
.section--partners { padding: 70px 0; }
.partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.partners__item {
  background: var(--white);
  border: 1px solid #e3eef6;
  border-radius: 16px;
  height: 110px;
  display: grid;
  place-items: center;
  padding: 16px;
  transition: box-shadow .3s ease, transform .3s ease;
}
.partners__item img {
  max-height: 64px;
  max-width: 82%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .65;
  transition: filter .3s ease, opacity .3s ease;
}
.partners__item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.partners__item:hover img { filter: none; opacity: 1; }
@media (max-width: 860px) { .partners { grid-template-columns: repeat(2, 1fr); } }

/* Прямые контакты в CTA */
.cta__contacts {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.cta__contacts-label {
  color: #9dc4dc;
  font-size: 14px;
  margin-bottom: 16px;
  text-align: center;
}
.cta__chips {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: border-color .25s, background .25s, transform .25s;
}
.chip svg { width: 18px; height: 18px; color: var(--cyan); flex-shrink: 0; }
.chip:hover {
  border-color: var(--cyan);
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}
.form__hint a { color: var(--cyan); text-decoration: none; }
.form__hint a:hover { text-decoration: underline; }

/* Модальное окно заявки */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal--open { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 38, 63, .62);
  backdrop-filter: blur(8px);
  animation: fadeIn .3s ease;
}
.modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 26px;
  max-width: 440px;
  width: 100%;
  padding: 40px 36px 32px;
  box-shadow: var(--shadow-lg);
  animation: modalIn .35s cubic-bezier(.2, .9, .3, 1.15);
  max-height: calc(100vh - 40px);
  overflow: auto;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(26px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #f0f6fa;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s, transform .25s;
}
.modal__close svg { width: 15px; height: 15px; color: var(--ink); }
.modal__close:hover { background: #e0eef7; transform: rotate(90deg); }
.modal__tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.modal__title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 6px;
  padding-right: 30px;
}
.modal__price {
  font-size: 26px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 24px;
}
.modal__field input {
  width: 100%;
  padding: 15px 18px;
  margin-bottom: 14px;
  border-radius: 14px;
  border: 1.5px solid #dbe8f1;
  background: #f8fbfd;
  font: 500 16px var(--font);
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.modal__field input:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14,127,214,.12);
}
.modal__field input.form__error { border-color: #ff7d7d; }
.modal__hint {
  margin-top: 14px;
  font-size: 12.5px;
  color: #8aa3b2;
  text-align: center;
}
.modal__hint a { color: var(--blue); text-decoration: none; }
.modal__hint a:hover { text-decoration: underline; }
.modal__success { text-align: center; padding-block: 8px; }
.modal__check {
  width: 74px;
  height: 74px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(14,127,214,.35);
  animation: popIn .45s cubic-bezier(.2, .9, .3, 1.3);
}
.modal__check svg { width: 34px; height: 34px; color: #fff; }
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
.modal__success h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.modal__success p { color: var(--muted); margin-bottom: 24px; }
body.modal-open { overflow: hidden; }

/* ============================================================
   v5: живые анимации в обе стороны + варианты появления
   ============================================================ */

/* Базовый переход теперь включает blur */
.reveal {
  transition:
    opacity .75s cubic-bezier(.2, .65, .3, 1),
    transform .75s cubic-bezier(.2, .65, .3, 1),
    filter .75s ease;
}

/* Варианты появления (начальные состояния) */
.hero__visual.reveal { transform: scale(.88); }
.section__title.reveal,
.statement__big.reveal { filter: blur(12px); }
.steps .step:nth-child(1).reveal { transform: translateX(-52px); }
.steps .step:nth-child(3).reveal { transform: translateY(34px) scale(.92); }
.steps .step:nth-child(5).reveal { transform: translateX(52px); }
.products .product:nth-child(odd).reveal { transform: translateX(-52px); }
.products .product:nth-child(even).reveal { transform: translateX(52px); }
.delivery .delivery__card:nth-child(1).reveal { transform: translateX(-52px); }
.delivery .delivery__card:nth-child(2).reveal { transform: translateX(52px); }
.cta.reveal { transform: translateY(30px) scale(.94); }

/* Видимое состояние — перекрывает все варианты */
.reveal.reveal--visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Фургон въезжает справа при появлении секции */
.van__img {
  transform: translateX(90px);
  opacity: 0;
  transition:
    transform .85s cubic-bezier(.2, .7, .25, 1) .15s,
    opacity .7s ease .15s;
}
.van.reveal--visible .van__img {
  transform: none;
  opacity: 1;
}

/* Параллакс молекул в секции-манифесте */
.statement::before {
  content: "";
  position: absolute;
  inset: -20% 0;
  background: url("../assets/img/molecules.jpg") center / cover;
  transform: translateY(var(--parY, 0));
  will-change: transform;
}
.statement::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(6,38,63,.93), rgba(11,61,102,.88));
}
.statement .container { position: relative; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.reveal--visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .van__img { transform: none; opacity: 1; transition: none; }
  .statement::before { transform: none; }
}

/* Страховка от горизонтального скролла из-за translateX-анимаций */
html, body { overflow-x: hidden; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

/* ============================================================
   v6: промо-баннер в секции-манифесте
   ============================================================ */

.statement__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.statement__visual { position: relative; }
.statement__visual::before {
  content: "";
  position: absolute;
  inset: 8% -6% -8% 6%;
  background: radial-gradient(closest-side, rgba(25,194,240,.45), transparent 72%);
  filter: blur(28px);
  z-index: 0;
}
.statement__visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  transform: rotate(-2.5deg);
  transition: transform .5s cubic-bezier(.2, .7, .3, 1.2);
}
.statement__visual:hover img { transform: rotate(0) scale(1.02); }

/* Въезд справа (только пока блок не стал видимым) */
.statement__visual.reveal:not(.reveal--visible) { transform: translateX(52px); }

@media (max-width: 860px) {
  .statement__inner { grid-template-columns: 1fr; gap: 44px; }
  .statement__visual { max-width: 440px; margin-inline: auto; }
}
