:root {
  --ink: #1f2427;
  --ink-2: #2b3134;
  --ink-3: #3d4245;
  --fjord: #1f7a38;
  --ice: #8fe0a4;
  --ice-2: #d8f6e0;
  --copper: #2ec84e;
  --copper-2: #4ade68;
  --snow: #f4f7f5;
  --paper: #ffffff;
  --line: #dce6de;
  --muted: #5c6d65;
  --text: #2b3134;
  --shadow: 0 18px 50px rgba(31, 36, 39, 0.1);
  --glass: linear-gradient(165deg, rgba(28, 48, 36, 0.52) 0%, rgba(8, 14, 11, 0.46) 100%);
  --glass-border: rgba(46, 200, 78, 0.24);
  --glass-text: rgba(242, 246, 243, 0.7);
  --radius: 18px;
  --header: 78px;
  --ease: 0.28s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
/* hidden ломает sticky-шапку, clip — нет */
html, body { overflow-x: hidden; max-width: 100%; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
a, button { -webkit-tap-highlight-color: transparent; }
.btn:focus-visible,
.nav__link:focus-visible,
.burger:focus-visible,
.faq__btn:focus-visible {
  outline: 2px solid var(--copper-2);
  outline-offset: 3px;
}
body {
  font-family: "Outfit", sans-serif;
  color: #f2f6f3;
  background-color: #0c100e;
  background-image: url("../assets/hero-bg.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(12, 16, 14, 0.82) 0%, rgba(14, 22, 17, 0.66) 48%, rgba(10, 18, 14, 0.52) 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
.container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0;
  background: rgba(10, 16, 13, 0.58);
  backdrop-filter: blur(28px) saturate(1.25);
  -webkit-backdrop-filter: blur(28px) saturate(1.25);
  border-bottom: 1px solid rgba(46, 200, 78, 0.22);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.header::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 200, 78, 0.75), transparent);
  pointer-events: none;
}
.header.is-scrolled {
  background: rgba(8, 12, 10, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}
.header__inner {
  position: relative;
  z-index: 2;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  pointer-events: auto;
}
.logo {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header .logo {
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.logo img {
  position: relative;
  z-index: 1;
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.logo--footer {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: none;
  padding: 0.35rem 0.2rem;
  margin-bottom: 0.55rem;
}
.header .logo img,
.logo--footer img {
  filter: none;
  transform: translateZ(0);
}
.logo--footer img {
  height: 54px;
  max-width: 250px;
}
.logo-glow {
  position: absolute;
  left: 4%;
  top: 50%;
  width: 42%;
  height: 140%;
  transform: translateY(-50%);
  background: radial-gradient(ellipse at center, rgba(46, 200, 78, 0.55) 0%, rgba(46, 200, 78, 0.16) 42%, transparent 72%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
  animation: logoGlow 3.6s ease-in-out infinite;
}
@keyframes logoGlow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.logo-glow--header { display: none; }
.nav__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 0.45rem;
  padding: 0;
  background: none;
  border-radius: 0;
  line-height: 0;
  box-shadow: none;
  transition: transform var(--ease);
}
.nav__logo:hover {
  transform: translateY(-1px);
  box-shadow: none;
}
.nav__logo:focus-visible {
  outline: 2px solid var(--copper-2);
  outline-offset: 3px;
}
.nav__logo img {
  display: block;
  height: 60px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}
.nav__logo--bar { display: none; }
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 0;
  position: relative;
  z-index: 3;
  pointer-events: auto;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.nav__link {
  position: relative;
  z-index: 3;
  color: rgba(242, 246, 243, 0.72);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.55rem;
  border-radius: 0;
  cursor: pointer;
  pointer-events: auto;
  white-space: nowrap;
  transition: color var(--ease);
}
.nav__link:hover { color: #fff; background: none; }
.nav__link.is-active {
  color: var(--copper-2);
  background: none;
  box-shadow: none;
  font-weight: 600;
}
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.15rem;
  height: 1px;
  background: var(--copper);
  box-shadow: 0 0 10px rgba(46, 200, 78, 0.7);
}
.header__actions { display: flex; align-items: center; gap: 0.55rem; flex-shrink: 0; margin-left: auto; }
.header__brand {
  display: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.header__cta {
  min-height: 40px;
  padding: 0.45rem 1.1rem;
  border-radius: 10px;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 4px 12px rgba(0, 0, 0, 0.22);
}
.header__cta-short { display: none; }
.header__tg-icon {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex-shrink: 0;
}
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(46, 200, 78, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  height: 1.5px;
  margin: 5px 11px;
  background: #f2f6f3;
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none;
  padding: 0.4rem 0 1.1rem;
  border-top: 1px solid rgba(46, 200, 78, 0.16);
}
.mobile-nav .nav__link,
.mobile-nav .btn { display: block; margin: 0.3rem 0; }
.mobile-nav .nav__link {
  color: rgba(242, 246, 243, 0.82);
}
.mobile-nav .nav__link.is-active {
  background: rgba(46, 200, 78, 0.1);
  border-radius: 10px;
}
.mobile-nav .nav__link.is-active::after { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: linear-gradient(135deg, #1a5c32, #1e6b3a);
  color: #e8f3eb;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(74, 222, 104, 0.22);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #1e6b3a, #247844);
}
.header .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}
.btn--dark {
  background: var(--ink-2);
  color: #fff;
}
.btn--line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding: 2.2rem 0 1.6rem;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(46, 200, 78, 0.32);
  background: rgba(46, 200, 78, 0.12);
  color: var(--copper-2);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper-2);
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  max-width: 15ch;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--copper-2), #d8f6e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  color: rgba(255,255,255,0.72);
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 1.8rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-card {
  background: rgba(14, 18, 16, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: 1.45rem 1.45rem 0;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
/* Маршрут: флаг сверху, подпись снизу — все три колонки одной высоты */
.route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  align-items: start;
  padding: 0.15rem 0 1.35rem;
}
.route__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  text-align: center;
  position: relative;
}
/* стрелка между флагами, по центру промежутка */
.route__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: calc(-0.25rem - 4px);
  top: 21px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--copper);
  border-top: 2px solid var(--copper);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}
.flag-ico {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 8px 16px rgba(0, 0, 0, 0.28);
}
.flag-ico svg { display: block; width: 100%; height: 100%; }
.route__item > div { min-width: 0; width: 100%; }
.route b {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.route__item > div span {
  color: rgba(255,255,255,0.52);
  font-size: 0.72rem;
  display: block;
  line-height: 1.3;
  margin-top: 0.15rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 -1.45rem;
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.stats div {
  background: none;
  border-radius: 0;
  padding: 1.15rem 1.2rem 1.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.stats div:first-child { border-left: 0; }
.stats .stats__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 0.65rem;
  border-radius: 11px;
  color: var(--copper-2);
  background: linear-gradient(145deg, rgba(46, 200, 78, 0.22), rgba(46, 200, 78, 0.06));
  border: 1px solid rgba(74, 222, 104, 0.3);
  box-shadow: 0 0 18px rgba(46, 200, 78, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.stats .stats__icon svg { width: 20px; height: 20px; display: block; }
.stats b { display: block; font-size: 1.02rem; color: var(--copper-2); font-weight: 700; margin-bottom: 0.15rem; }
.stats span { font-size: 0.78rem; color: rgba(255,255,255,0.62); }

.section { padding: 5rem 0; }
.hero + .section { padding-top: 2.2rem; }
.section--snow,
.section--ink { background: transparent; }
.section__head { max-width: 720px; margin-bottom: 2.4rem; }
.eyebrow {
  color: var(--copper-2);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.6rem;
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.7rem;
  color: #fff;
}
.lead { color: rgba(255,255,255,0.72); font-size: 1.05rem; }

.grid-3, .grid-4, .grid-2 { display: grid; gap: 1.1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card, .flag, .step, .check, .req, .form {
  background: var(--glass);
  color: #f2f6f3;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.card:hover, .flag:hover, .step:hover {
  transform: translateY(-3px);
  border-color: rgba(74, 222, 104, 0.5);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(46, 200, 78, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.card h3, .flag h3, .step h3 { font-size: 1.12rem; margin: 0.7rem 0 0.4rem; color: #fff; }
.card p, .flag p, .step p, .check p { color: var(--glass-text); }
.icon {
  width: auto;
  min-width: 46px;
  height: 32px;
  padding: 0 0.75rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(46, 200, 78, 0.16);
  color: var(--copper-2);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(46, 200, 78, 0.32);
  box-shadow: 0 0 16px rgba(46, 200, 78, 0.18);
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.step {
  min-height: 180px;
}
.step b {
  display: block;
  font-size: 1.6rem;
  color: var(--copper-2);
  letter-spacing: -0.04em;
}
.step h3 { margin: 0.45rem 0 0.35rem; font-size: 1.05rem; }
.step p { font-size: 0.95rem; }

.flags { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.flag {
  text-align: left;
}
.flag em {
  font-style: normal;
  font-weight: 800;
  color: var(--copper-2);
  letter-spacing: 0.08em;
  text-shadow: 0 0 18px rgba(46, 200, 78, 0.45);
}
.flag h3 { margin: 0.5rem 0 0.3rem; }
.flag p { font-size: 0.95rem; }

.brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.brand-chip {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(12, 18, 14, 0.45);
  color: #f2f6f3;
  font-weight: 600;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.brand-chip:hover {
  border-color: rgba(74, 222, 104, 0.55);
  color: var(--copper-2);
}

.checks { display: grid; gap: 0.8rem; }
.check {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border-radius: 14px;
}
.check b {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(46, 200, 78, 0.18);
  color: var(--copper-2);
  display: grid;
  place-items: center;
  border: 1px solid rgba(46, 200, 78, 0.32);
}

.faq__item { border-bottom: 1px solid rgba(255,255,255,0.16); }
.faq__btn {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.1rem 0;
  font-weight: 650;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq__btn::after { content: "+"; color: var(--copper); font-size: 1.3rem; flex-shrink: 0; line-height: 1; }
.faq__item.is-open .faq__btn::after { content: "–"; }
.faq__body { display: none; color: rgba(255,255,255,0.7); padding: 0 0 1.1rem; }
.faq__item.is-open .faq__body { display: block; }

.cta {
  background: rgba(12, 18, 14, 0.45);
  border: 1px solid rgba(46, 200, 78, 0.28);
  backdrop-filter: blur(16px);
  color: #fff;
  border-radius: 24px;
  padding: 2.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}
.cta p { color: rgba(255,255,255,0.72); margin-top: 0.4rem; }
.cta__actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.page-hero {
  background: transparent;
  color: #fff;
  padding: 3.4rem 0 3rem;
}
.page-hero h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 18ch;
}
.page-hero p { color: rgba(255,255,255,0.7); max-width: 640px; margin-top: 0.7rem; }

.doc-slot {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.doc-slot__head {
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  align-items: flex-end;
  padding: 1.6rem 1.7rem 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.doc-slot__head h2 { margin-bottom: 0.45rem; }
.doc-slot__head p {
  color: rgba(255, 255, 255, 0.68);
  max-width: 560px;
  font-size: 0.98rem;
}
.doc-slot__head code {
  font-size: 0.86em;
  color: var(--copper-2);
}
.doc-slot__frame {
  min-height: 720px;
  background: rgba(6, 10, 8, 0.45);
}
.doc-slot__frame object {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
  background: transparent;
}
.doc-slot__placeholder {
  min-height: 720px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.85rem;
  text-align: center;
  padding: 2.4rem 1.5rem;
}
.doc-slot__placeholder b {
  color: #fff;
  font-size: 1.15rem;
}
.doc-slot__placeholder p {
  color: var(--glass-text);
  max-width: 420px;
  font-size: 0.95rem;
}
.doc-sheet {
  width: 118px;
  height: 156px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 12px 10px 0 -2px rgba(46, 200, 78, 0.12), 12px 10px 0 -1px rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.45rem;
  padding: 1.1rem 0.9rem;
  margin-bottom: 0.5rem;
}
.doc-sheet span {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
}
.doc-sheet span:first-child {
  width: 42%;
  height: 8px;
  background: var(--copper-2);
  opacity: 0.85;
}
.doc-sheet span:nth-child(3) { width: 78%; }
.doc-sheet span:last-child { width: 62%; }

.service {
  display: flex;
  flex-direction: column;
  min-height: 230px;
}
.service a { color: var(--copper-2); font-weight: 650; margin-top: auto; padding-top: 1rem; }

.prose { max-width: 760px; }
.prose h2 { margin: 2rem 0 0.7rem; font-size: 1.4rem; color: #fff; }
.prose p, .prose li { color: rgba(255,255,255,0.76); margin-bottom: 0.8rem; }
.prose ul { padding-left: 1.1rem; list-style: disc; }

.req {
  white-space: pre-line;
}
.form {
  display: grid;
  gap: 0.85rem;
  border-radius: 22px;
  padding: 1.5rem;
}
.form label { font-weight: 600; font-size: 0.92rem; }
.form input, .form select, .form textarea {
  width: 100%;
  border: 1px solid rgba(46, 200, 78, 0.22);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: rgba(8, 14, 11, 0.55);
  color: #f2f6f3;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,0.38); }
.form textarea { min-height: 120px; resize: vertical; }
.form .hint { color: var(--glass-text); font-size: 0.85rem; font-weight: 400; }
.success {
  background: rgba(46, 200, 78, 0.14);
  border: 1px solid rgba(46, 200, 78, 0.32);
  color: var(--ice-2);
  border-radius: 16px;
  padding: 1.2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.4rem;
}
.side-card h3 { margin-bottom: 0.6rem; }
.side-card p { color: var(--glass-text); margin-bottom: 0.45rem; }
.side-card p .btn { width: 100%; margin-bottom: 0.3rem; }
.side-card a[data-contact="email"] { color: var(--copper-2); }
.hint a { color: var(--copper-2); text-decoration: underline; text-underline-offset: 0.18em; }

.footer {
  background: rgba(12, 16, 14, 0.78);
  backdrop-filter: blur(16px);
  color: #fff;
  padding: 3.2rem 0 1.4rem;
  margin-top: 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 1.6rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__about { color: rgba(255,255,255,0.62); margin: 1rem 0; }
.footer__connect-label {
  color: var(--copper-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.65rem;
}
.footer__connect {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}
.footer__phone {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  min-height: 42px;
  padding: 0.55rem 1.05rem;
}
.footer__connect .btn { min-height: 42px; padding: 0.55rem 1.05rem; }
.footer__title { font-size: 0.95rem; margin-bottom: 0.8rem; color: var(--copper-2); }
.footer__list a, .footer__legal a, .footer__req { color: rgba(255,255,255,0.68); }
.footer__list li { margin-bottom: 0.4rem; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.9rem; }

body[data-page="reviews"] .page-hero {
  padding: 3.2rem 0 1.4rem;
}
body[data-page="reviews"] .page-hero h1 {
  max-width: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.9rem, 4vw, 3rem);
}
body[data-page="reviews"] .page-hero + .section { padding-top: 0.4rem; }

.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  max-width: none;
}
.review {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--glass);
  color: #f2f6f3;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.45rem 1.4rem 1.25rem;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.review[hidden],
.review.is-off {
  display: none !important;
}
.review__text {
  color: rgba(242, 246, 243, 0.88);
  font-size: 0.98rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review.is-open .review__text {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}
.review__more {
  align-self: flex-start;
  margin: 0.85rem 0 1.15rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--copper-2);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.review__more:hover { color: #fff; }
.review__meta {
  margin-top: auto;
  padding: 0;
  border: 0;
}
.review__who b {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.28rem;
}
.review__who span {
  display: block;
  color: rgba(242, 246, 243, 0.58);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.review__mark {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.75rem;
  text-align: left;
}
.review__stars {
  color: var(--copper-2);
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  line-height: 1;
}
.review__mark time {
  color: rgba(242, 246, 243, 0.55);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.review__mark time::before {
  content: "·";
  margin-right: 0.45rem;
}
.review__check,
.review__more-close { display: none !important; }

.reviews-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin: 2.4rem 0 0.4rem;
  color: rgba(242, 246, 243, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.reviews-pager [data-reviews-prev] { justify-self: start; }
.reviews-pager__center {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.reviews-pager [data-reviews-next] { justify-self: end; }
.reviews-pager > button {
  border: 1px solid rgba(46, 200, 78, 0.35);
  background: rgba(46, 200, 78, 0.12);
  color: var(--copper-2);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  padding: 0.55rem 1rem;
  border-radius: 10px;
}
.reviews-pager > button:hover { color: #fff; background: rgba(46, 200, 78, 0.22); }
.reviews-pager > button:disabled {
  opacity: 0.35;
  cursor: default;
}
.reviews-pager__nums {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}
.reviews-pager__nums button {
  min-width: 36px;
  height: 36px;
  padding: 0 0.45rem;
  border: 1px solid rgba(46, 200, 78, 0.28);
  border-radius: 8px;
  background: rgba(8, 12, 10, 0.35);
  color: #fff;
  font: inherit;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.reviews-pager__nums button:hover,
.reviews-pager__nums button[aria-current="page"] {
  border-color: rgba(74, 222, 104, 0.7);
  background: rgba(46, 200, 78, 0.22);
  color: var(--copper-2);
}

.review-dialog {
  width: min(680px, calc(100% - 2rem));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem 1.5rem;
  background: rgba(10, 16, 13, 0.92);
  color: #f2f6f3;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.review-dialog::backdrop { background: rgba(8, 12, 10, 0.62); }
.review-dialog p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(242, 246, 243, 0.88);
}
.review-dialog__who {
  margin-top: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.review-dialog__car {
  margin-top: 0.25rem;
  color: rgba(242, 246, 243, 0.55);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.review-dialog__close {
  margin-top: 1.4rem;
  border: 0;
  background: none;
  color: var(--copper-2);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

/* блокируем прокрутку на html: overflow на body ломает sticky-шапку */
html.nav-open { overflow: hidden; }
@media (hover: none) {
  .card:hover, .flag:hover, .step:hover {
    transform: none;
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__brand { display: none; }
  .nav__logo--bar {
    display: inline-flex;
    justify-self: center;
    margin-right: 0;
    padding: 0;
  }
  .nav__logo--bar img {
    height: 42px;
    max-width: 150px;
  }
  .header__inner {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
  }
  .header__actions {
    margin-left: 0;
    width: auto;
    justify-content: flex-end;
  }
  .header.nav-open,
  body.nav-open .header {
    background: #0c100e;
  }
  .mobile-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 5;
    height: calc(100vh - 78px);
    height: calc(100dvh - 100%);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 0.45rem 0 calc(1rem + env(safe-area-inset-bottom));
    background: #0c100e;
  }
  .mobile-nav .nav__link {
    padding: 0.85rem 0.9rem;
    font-size: 1.05rem;
    border-radius: 12px;
  }
  .mobile-nav .btn {
    width: 100%;
    min-height: 48px;
  }
  .header__actions .btn--ghost,
  .header__actions .header__phone { display: none; }
  .header__actions .header__tg {
    width: 42px;
    min-width: 42px;
    padding: 0;
  }
  .header__tg-text { display: none; }
}
@media (max-width: 980px) {
  .hero__grid, .grid-3, .grid-4, .grid-2, .steps, .flags, .contact-grid, .footer__grid, .cta, .reviews {
    grid-template-columns: 1fr;
  }
  .hero { padding: 1.4rem 0 1.2rem; }
  .hero h1 { max-width: 20ch; }
  .header__actions .btn--ghost,
  .header__actions .header__phone { display: none; }
  .cta, .footer__bottom { display: block; }
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta__actions { margin-top: 1rem; }
  .doc-slot__head { flex-direction: column; align-items: flex-start; }
  .doc-slot__frame, .doc-slot__frame object, .doc-slot__placeholder { min-height: 520px; }
  .doc-slot__frame object { height: 520px; }
  body { background-attachment: scroll; background-position: center; }
}
@media (max-width: 640px) {
  .container { width: min(1180px, calc(100% - 1.4rem)); }
  .header { padding-top: env(safe-area-inset-top); }
  .header__inner { min-height: 64px; gap: 0.7rem; }
  .header__cta {
    min-height: 42px;
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }
  .review-dialog {
    width: calc(100% - 1.2rem);
    max-height: calc(100dvh - 1.4rem);
    overflow: auto;
    padding: 1.15rem 1.05rem 1rem;
    margin: auto;
  }
  .footer__connect { flex-direction: column; align-items: stretch; }
  .footer__connect .btn,
  .footer__phone { width: 100%; }

  .hero { padding: 1rem 0 0.8rem; }
  .hero h1 {
    max-width: none;
    font-size: clamp(1.7rem, 8.4vw, 2.15rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
  }
  .hero__lead {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.15rem;
  }
  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .hero__actions .btn { width: 100%; min-height: 48px; }
  .hero-card {
    padding: 1.1rem 1.1rem 0;
    border-radius: 18px;
  }

  /* флаги и плитки остаются в 3 колонки, только компактнее */
  .route { gap: 0.35rem; padding-bottom: 1.1rem; }
  .route__item { gap: 0.5rem; }
  .route__item:not(:last-child)::after { right: calc(-0.175rem - 4px); top: 19px; width: 7px; height: 7px; }
  .flag-ico { width: 38px; height: 38px; flex-basis: 38px; }
  .route b { font-size: 0.8rem; }
  .route__item > div span { font-size: 0.68rem; }
  .stats { margin: 0 -1.1rem; }
  .stats div { padding: 0.9rem 0.6rem 1rem; text-align: center; }
  .stats .stats__icon { width: 34px; height: 34px; border-radius: 10px; margin: 0 auto 0.45rem; }
  .stats .stats__icon svg { width: 18px; height: 18px; }
  .stats b { font-size: 0.9rem; }
  .stats span { display: block; font-size: 0.7rem; line-height: 1.35; }

  .section { padding: 2.4rem 0; }
  .hero + .section { padding-top: 1.5rem; }
  .page-hero { padding: 1.8rem 0 1.2rem; }
  .page-hero h1 {
    max-width: none;
    font-size: clamp(1.55rem, 7.2vw, 2.05rem);
    line-height: 1.22;
  }
  .page-hero p { font-size: 1rem; }
  h2 { font-size: clamp(1.4rem, 6.2vw, 1.85rem); }
  .lead { font-size: 1rem; }
  .card, .flag, .step, .check, .req, .form { padding: 1.15rem; }
  .card h3, .flag h3, .step h3 { font-size: 1.08rem; }
  .card p, .flag p, .step p, .check p { font-size: 0.98rem; line-height: 1.55; }

  .cta { padding: 1.35rem; border-radius: 18px; }
  .cta h2 { margin-bottom: 0.35rem; }
  .cta__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .cta__actions .btn { width: 100%; min-height: 48px; }

  .faq__btn {
    font-size: 1.02rem;
    line-height: 1.4;
    padding: 1rem 0;
    gap: 0.7rem;
    align-items: flex-start;
  }
  .faq__body { font-size: 0.98rem; line-height: 1.55; }

  .reviews { grid-template-columns: 1fr; }
  .review { padding: 1.2rem; }
  .review__text { font-size: 1rem; line-height: 1.55; }
  .review__meta { flex-direction: column; align-items: flex-start; }
  .review__mark { text-align: left; }
  .reviews-pager {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
  }
  .reviews-pager [data-reviews-prev],
  .reviews-pager [data-reviews-next] { justify-self: stretch; }
  .reviews-pager > button { width: 100%; min-height: 44px; }
  .reviews-pager__nums { gap: 0.45rem; }
  .reviews-pager__nums button { min-width: 42px; height: 42px; }
  body[data-page="reviews"] .page-hero h1 {
    font-size: clamp(1.45rem, 7vw, 2rem);
    letter-spacing: 0.01em;
  }

  .form input, .form select, .form textarea {
    font-size: 16px;
    min-height: 48px;
  }
  .form .btn { width: 100%; min-height: 48px; }
  .req { font-size: 0.95rem; word-break: break-word; }

  .doc-slot__head { padding: 1.2rem; }
  .doc-slot__frame, .doc-slot__frame object, .doc-slot__placeholder { min-height: 380px; }
  .doc-slot__frame object { height: 380px; }

  .footer { padding: 2.2rem 0 calc(1.2rem + env(safe-area-inset-bottom)); }
  .footer__req { word-break: break-word; }
  .footer__legal { gap: 0.65rem 0.9rem; }
  .footer__bottom { font-size: 0.85rem; }
  .logo img { height: 40px; max-width: 175px; }
  .logo--footer img { height: 44px; max-width: 210px; }
  .nav__logo--bar img { height: 36px; max-width: 128px; }
}
@media (max-width: 380px) {
  .header__cta-full { display: none; }
  .header__cta-short { display: inline; }
  .header__brand { font-size: 0.92rem; letter-spacing: 0.03em; }
  .route b { font-size: 0.72rem; }
  .route__item > div span { font-size: 0.64rem; }
  .stats span { font-size: 0.66rem; }
}

/* Северное сияние поверх фона */
body::after {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 30% at 22% 28%, rgba(46, 200, 78, 0.2), transparent 70%),
    radial-gradient(34% 28% at 78% 18%, rgba(64, 196, 190, 0.14), transparent 70%),
    radial-gradient(40% 32% at 62% 82%, rgba(74, 222, 104, 0.12), transparent 70%);
  animation: aurora 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes aurora {
  0% { transform: translate3d(-3%, -2%, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(3%, 2%, 0) rotate(4deg) scale(1.08); }
  100% { transform: translate3d(-2%, 4%, 0) rotate(-3deg) scale(1.02); }
}

/* Индикатор прокрутки */
.header__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 4;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--fjord), var(--copper-2));
  box-shadow: 0 0 12px rgba(46, 200, 78, 0.7);
  pointer-events: none;
}

/* Появление первого экрана */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero h1, .hero__lead, .hero__actions, .hero-card,
.page-hero h1, .page-hero p {
  animation: riseIn 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero__lead, .page-hero p { animation-delay: 0.1s; }
.hero__actions { animation-delay: 0.2s; }
.hero-card { animation-delay: 0.3s; }

.hero h1 em {
  background: linear-gradient(90deg, var(--copper-2), #d8f6e0, var(--copper-2));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer {
  to { background-position: -200% 0; }
}

/* Бегущий свет по маршруту */
.route__item:not(:last-child)::after { animation: routePulse 2.4s ease-in-out infinite; }
.route__item:nth-child(2)::after { animation-delay: 0.6s; }
@keyframes routePulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.stats { position: relative; }
.stats::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper-2), transparent);
  animation: routeRun 4.5s linear infinite;
  pointer-events: none;
}
@keyframes routeRun {
  from { transform: translateX(-100%); }
  to { transform: translateX(300%); }
}

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

/* Подсветка карточек за курсором */
.card, .flag, .step, .check, .review {
  position: relative;
  isolation: isolate;
}
.card::before, .flag::before, .step::before, .check::before, .review::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(74, 222, 104, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.review { transition: border-color var(--ease); }
@media (hover: hover) {
  .card:hover::before, .flag:hover::before, .step:hover::before,
  .check:hover::before, .review:hover::before { opacity: 1; }
  .check:hover, .review:hover { border-color: rgba(74, 222, 104, 0.5); }
  .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34), 0 0 22px rgba(46, 200, 78, 0.28);
  }
  .faq__btn:hover { color: var(--copper-2); }
}

.section__head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 0.75rem;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--copper), transparent);
}

.faq__btn { transition: color var(--ease); }
.faq__btn::after { transition: transform var(--ease); }
.faq__item.is-open .faq__btn::after { content: "+"; transform: rotate(45deg); }
.faq__item.is-open .faq__body { animation: faqIn 0.32s ease both; }
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* Появление блоков при прокрутке (классы вешает main.js) */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  body::after { animation: none; }
}
/* На телефонах фон не анимируем — меньше нагрузка, прокрутка без рывков */
@media (hover: none) and (max-width: 980px) {
  body::after { animation: none; will-change: auto; }
}
