:root {
  --bg: #f7fbf7;
  --bg-deep: #eef7ef;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --surface-light: rgba(245, 250, 245, 0.94);
  --line: rgba(33, 160, 56, 0.14);
  --line-strong: rgba(33, 160, 56, 0.34);
  --text: #1f2c22;
  --muted: #68796d;
  --cyan: #21a038;
  --cyan-light: #33c451;
  --gold: #f2c15c;
  --danger: #df5d5d;
  --success: #21a038;
  --shadow: 0 22px 70px rgba(43, 86, 51, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --topbar-height: 78px;
  --content-width: 1380px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

/* Киоск-режим. Каждый браузерный жест, оставленный включённым, — это способ
   вывести посетителя из сценария: долгое нажатие открывает контекстное меню,
   выделение текста — панель «Найти/Перевести», перетаскивание картинки — окно
   предпросмотра. Поля ввода из запрета исключены: в них выделение нужно. */
html,
body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}

input,
textarea,
select {
  -webkit-user-select: text;
  user-select: text;
}

img,
a {
  -webkit-user-drag: none;
  user-drag: none;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 20%, rgba(24, 167, 214, 0.13), transparent 26rem),
    radial-gradient(circle at 10% 60%, rgba(255, 179, 75, 0.07), transparent 24rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

button, input, select, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(33, 160, 56, 0.58);
  outline-offset: 3px;
}

::selection { background: var(--cyan); color: #ffffff; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 12px 18px;
  color: #001018;
  background: var(--cyan-light);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  min-height: var(--topbar-height);
  padding: 12px clamp(18px, 3vw, 52px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: linear-gradient(180deg, rgba(2, 9, 19, 0.92), rgba(2, 9, 19, 0.56));
  border-bottom: 1px solid rgba(138, 198, 236, 0.14);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.topbar.is-scrolled {
  background: rgba(3, 10, 20, 0.94);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  color: var(--text);
  text-decoration: none;
}
.brand-mark {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(117, 231, 255, 0.48);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #00121a;
  background: linear-gradient(135deg, var(--cyan-light), var(--cyan));
  font-weight: 900;
  letter-spacing: -0.06em;
  box-shadow: 0 0 34px rgba(35, 215, 239, 0.24);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.08; }
.brand-copy strong { font-size: 0.92rem; letter-spacing: 0.09em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }

.topnav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  background: rgba(7, 22, 39, 0.65);
  border: 1px solid rgba(127, 189, 229, 0.16);
  border-radius: 16px;
}
.nav-link {
  min-height: 44px;
  padding: 0 17px;
  border: 0;
  border-radius: 12px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--text); background: rgba(62, 193, 223, 0.14); }
.header-cta { justify-self: end; }

.header-cta,
.primary-button,
.secondary-button,
.text-button,
.icon-button {
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.header-cta,
.primary-button,
.secondary-button {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 750;
  text-decoration: none;
}
.header-cta,
.primary-button {
  color: #00131a;
  background: linear-gradient(135deg, var(--cyan-light), var(--cyan));
  box-shadow: 0 12px 34px rgba(35, 215, 239, 0.18);
}
.header-cta:hover,
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(35, 215, 239, 0.27); }
.secondary-button {
  color: var(--text);
  background: rgba(15, 37, 61, 0.76);
  border: 1px solid rgba(125, 213, 240, 0.31);
}
.secondary-button:hover { transform: translateY(-2px); border-color: var(--cyan); background: rgba(23, 59, 87, 0.9); }
.secondary-button:disabled { cursor: not-allowed; opacity: 0.62; transform: none; }
.primary-button--wide { width: 100%; min-height: 62px; }

.text-button {
  min-height: 48px;
  padding: 0;
  color: var(--cyan-light);
  background: transparent;
  font-weight: 700;
}
.text-button:hover { color: white; transform: translateX(3px); }

.hero { min-height: 100svh; background: #020813; }
.carousel { position: relative; height: 100svh; min-height: 720px; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 0.75s ease; }
.slide.is-active { opacity: 1; pointer-events: auto; z-index: 2; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transform: none; }
.slide-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 8, 18, 0.28) 0%, transparent 24%, transparent 68%, rgba(2, 8, 18, 0.8) 100%),
    linear-gradient(90deg, rgba(2, 8, 18, 0.08), transparent 60%);
}

.slide-action-panel {
  position: absolute;
  z-index: 3;
  right: clamp(22px, 5vw, 94px);
  bottom: clamp(52px, 8vh, 96px);
  width: auto;
  min-height: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  animation: hero-cta-float 2.4s ease-in-out infinite;
}
.slide-action-panel .primary-button,
.slide-action-panel .secondary-button {
  min-height: 64px;
  padding-inline: 30px;
  flex: 0 0 auto;
  white-space: nowrap;
}

@keyframes hero-cta-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.eyebrow {
  display: inline-block;
  color: var(--cyan-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.carousel-controls {
  position: absolute;
  z-index: 5;
  right: clamp(22px, 5vw, 94px);
  top: 28px;
  display: flex;
  align-items: center;
  padding: 7px;
  background: rgba(3, 15, 28, 0.72);
  border: 1px solid rgba(130, 202, 232, 0.22);
  border-radius: 18px;
  backdrop-filter: blur(18px);
}
.icon-button {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(35, 74, 103, 0.46);
  border: 1px solid rgba(127, 205, 236, 0.2);
  border-radius: 14px;
  font-size: 1.3rem;
}
.icon-button:hover { transform: translateY(-1px); background: rgba(36, 105, 137, 0.64); border-color: var(--cyan); }
.icon-button--small { width: 40px; height: 40px; font-size: 1rem; border-radius: 11px; }
.carousel-counter { min-width: 84px; padding: 0 12px; text-align: center; }
.carousel-counter strong { font-size: 1.18rem; color: var(--cyan-light); }
.carousel-counter span { color: var(--muted); font-size: 0.82rem; }

.carousel-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(3, 14, 26, 0.7);
  border: 1px solid rgba(130, 202, 232, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(14px);
}
.carousel-dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: #69829a; cursor: pointer; transition: width 0.2s ease, background 0.2s ease; }
.carousel-dot.is-active { width: 34px; border-radius: 999px; background: var(--cyan); }

.scroll-hint {
  position: absolute;
  z-index: 5;
  left: clamp(20px, 4vw, 70px);
  bottom: 26px;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d3e1ed;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.scroll-hint-arrow { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(122, 211, 238, 0.38); border-radius: 50%; color: var(--cyan-light); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }

.content-section { position: relative; padding: clamp(92px, 10vw, 150px) clamp(22px, 5vw, 76px); }
.content-section > * { width: min(100%, var(--content-width)); margin-inline: auto; }
.business-section { background: linear-gradient(180deg, #071426, #091a2d 55%, #071423); }
.business-section::before,
.payment-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(80, 148, 190, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(80, 148, 190, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, transparent, black 18%, black 82%, transparent);
}

.section-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: end;
  margin-bottom: 54px;
}
.section-heading h1,
.section-heading h2,
.process-copy h2,
.packages-heading h2,
.closing-card h2,
.dialog-copy h2 {
  margin: 12px 0 0;
  font-size: clamp(2.2rem, 4.5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.section-heading p,
.process-copy > p,
.packages-heading > p,
.closing-card p { margin: 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.2rem); }

.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 86px; }
.stat-card,
.package-card {
  position: relative;
  padding: 28px;
  background: linear-gradient(145deg, rgba(17, 43, 70, 0.8), rgba(8, 27, 47, 0.84));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}
.stat-card { min-height: 245px; }
.stat-icon { width: 58px; height: 58px; margin-bottom: 34px; display: grid; place-items: center; color: var(--cyan-light); background: rgba(35, 215, 239, 0.1); border: 1px solid rgba(35, 215, 239, 0.32); border-radius: 17px; font-size: 1.65rem; }
.stat-card strong { display: block; font-size: 1.18rem; }
.stat-card p { margin: 11px 0 0; color: var(--muted); }

.process-layout { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(44px, 8vw, 120px); align-items: start; margin-bottom: 100px; }
.process-copy { position: sticky; top: 120px; }
.process-copy h2 { font-size: clamp(2rem, 3.6vw, 3.8rem); }
.process-copy p { margin-top: 24px; }
.process-copy .text-button { margin-top: 24px; }
.process-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 28px 4px; border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--cyan); font-weight: 800; }
.process-list strong { font-size: 1.2rem; }
.process-list p { margin: 7px 0 0; color: var(--muted); }

.packages-heading { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 34px; }
.packages-heading h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); }
.demo-note { max-width: 470px; }
.demo-note code { color: var(--cyan-light); }
.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.package-card { min-height: 520px; display: flex; flex-direction: column; }
.package-card--featured { border-color: rgba(35, 215, 239, 0.56); background: linear-gradient(155deg, rgba(20, 63, 89, 0.9), rgba(8, 30, 50, 0.9)); transform: translateY(-12px); box-shadow: 0 24px 72px rgba(35, 215, 239, 0.12); }
.popular-badge { position: absolute; right: 20px; top: -14px; padding: 7px 13px; color: #051017; background: var(--gold); border-radius: 999px; font-weight: 800; font-size: 0.78rem; }
.package-topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--cyan-light); }
.package-topline span { font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.package-topline small { color: var(--muted); }
.package-card h3 { margin: 28px 0 10px; font-size: 1.5rem; }
.package-price { margin: 0 0 28px; font-size: 2.25rem; font-weight: 850; letter-spacing: -0.04em; }
.package-card ul { margin: 0 0 34px; padding: 0; list-style: none; color: var(--muted); }
.package-card li { position: relative; padding-left: 28px; margin: 13px 0; }
.package-card li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 800; }
.package-card .package-select { width: 100%; margin-top: auto; }

.payment-section { background: linear-gradient(180deg, #071423, #050e1b 60%, #071423); }
.route-app { display: grid; grid-template-columns: minmax(360px, 0.78fr) minmax(540px, 1.22fr); gap: 24px; align-items: stretch; }
.route-form,
.route-result {
  padding: clamp(24px, 3.2vw, 44px);
  background: rgba(9, 27, 48, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.form-header { margin-bottom: 30px; }
.form-step { color: var(--cyan-light); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.form-header h3 { margin: 10px 0 6px; font-size: 1.9rem; }
.form-header p { margin: 0; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; color: #dce9f3; font-weight: 650; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 58px;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(4, 16, 30, 0.84);
  border: 1px solid rgba(132, 190, 227, 0.25);
  border-radius: 14px;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 96px; }
.field input::placeholder,
.field textarea::placeholder { color: #72879b; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(35, 215, 239, 0.09); }
.field select { appearance: none; background-image: none; padding-right: 54px; cursor: pointer; }
.select-control {
  position: relative;
  display: block;
  color: var(--text);
}
.select-control::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-control:hover select {
  border-color: rgba(33, 160, 56, 0.34);
  background-color: #f7fcf7;
}
.field-row { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 16px; }
.field-error { min-height: 1em; color: var(--danger); font-weight: 500; }
.field.is-invalid select,
.field.is-invalid input { border-color: var(--danger); }
.form-disclaimer { margin: 18px 0 0; color: #7890a4; font-size: 0.78rem; }

.route-result { min-height: 670px; position: relative; overflow: hidden; }
.route-result::before { content: ""; position: absolute; width: 440px; height: 440px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(35, 215, 239, 0.16), transparent 68%); pointer-events: none; }
.empty-result { min-height: 580px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; max-width: 520px; margin: auto; }
.empty-result h3 { margin: 14px 0 8px; font-size: 2rem; }
.empty-result p { color: var(--muted); }
.empty-orbit { width: 180px; height: 180px; margin-bottom: 30px; display: grid; place-items: center; border: 1px solid rgba(35, 215, 239, 0.28); border-radius: 50%; box-shadow: inset 0 0 40px rgba(35, 215, 239, 0.08), 0 0 44px rgba(35, 215, 239, 0.08); animation: pulse-orbit 3s ease-in-out infinite; }
.empty-orbit span { font-size: 4.7rem; color: var(--cyan); }
@keyframes pulse-orbit { 50% { transform: scale(1.04); box-shadow: inset 0 0 58px rgba(35, 215, 239, 0.12), 0 0 64px rgba(35, 215, 239, 0.12); } }

.calculated-result { position: relative; z-index: 1; }
.result-topline { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #d8f8ee; }
.result-topline > div { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 16px var(--success); }
.result-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0; }
.result-summary > div { padding: 18px; background: rgba(4, 17, 31, 0.72); border: 1px solid rgba(123, 194, 229, 0.2); border-radius: 16px; }
.result-summary small { display: block; color: var(--muted); }
.result-summary strong { display: block; margin-top: 6px; font-size: 1.28rem; }

.route-visual { display: grid; grid-template-columns: 1fr 54px 1fr 54px 1fr; align-items: center; margin: 24px 0 30px; }
.route-node { min-height: 154px; padding: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: rgba(9, 29, 50, 0.88); border: 1px solid rgba(116, 187, 224, 0.26); border-radius: 18px; }
.route-node--accent { border-color: rgba(255, 189, 85, 0.6); box-shadow: 0 0 36px rgba(255, 189, 85, 0.08); }
.route-node > span { color: var(--cyan); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.12em; }
.route-node--accent > span { color: var(--gold); }
.route-node strong { margin: 8px 0 4px; }
.route-node small { color: var(--muted); }
.route-line { height: 1px; background: linear-gradient(90deg, rgba(35, 215, 239, 0.2), var(--cyan), rgba(35, 215, 239, 0.2)); position: relative; }
.route-line span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; display: grid; place-items: center; color: var(--cyan-light); background: #0a1d31; border: 1px solid rgba(35, 215, 239, 0.4); border-radius: 50%; }
.result-details { display: grid; gap: 10px; margin-bottom: 24px; }
.result-detail { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.result-detail span { color: var(--muted); }
.result-detail strong { text-align: right; }
.route-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.route-benefits article { display: flex; gap: 16px; padding: 24px; background: rgba(10, 29, 49, 0.72); border: 1px solid var(--line); border-radius: 18px; }
.route-benefits article > span { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; color: var(--cyan-light); background: rgba(35, 215, 239, 0.09); border-radius: 14px; }
.route-benefits strong { display: block; }
.route-benefits p { margin: 6px 0 0; color: var(--muted); }

.closing-section { padding: 0 clamp(22px, 5vw, 76px) clamp(90px, 10vw, 140px); background: #071423; }
.closing-card { width: min(100%, var(--content-width)); margin: auto; padding: clamp(34px, 6vw, 76px); display: flex; align-items: center; justify-content: space-between; gap: 42px; background: radial-gradient(circle at 90% 0, rgba(255, 189, 85, 0.16), transparent 25rem), linear-gradient(135deg, rgba(15, 48, 75, 0.94), rgba(8, 26, 45, 0.95)); border: 1px solid rgba(89, 208, 238, 0.28); border-radius: 32px; box-shadow: var(--shadow); }
.closing-card h2 { max-width: 880px; font-size: clamp(2rem, 3.6vw, 3.8rem); }
.closing-card p { margin-top: 18px; }
.closing-card .primary-button { flex: 0 0 auto; }

.footer { min-height: 118px; padding: 24px clamp(22px, 5vw, 76px); display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 24px; color: var(--muted); background: #030914; border-top: 1px solid rgba(124, 187, 228, 0.14); }
.footer p { text-align: center; }
.footer .text-button { justify-self: end; }
.brand--footer .brand-mark { width: 42px; height: 42px; border-radius: 12px; }

.dialog { width: min(680px, calc(100% - 30px)); padding: 0; color: var(--text); background: transparent; border: 0; overflow: visible; }
.dialog::backdrop { background: rgba(1, 5, 12, 0.78); backdrop-filter: blur(9px); }
.dialog-card { position: relative; max-height: 88svh; overflow: auto; padding: clamp(28px, 5vw, 48px); background: linear-gradient(150deg, #102b47, #071526 72%); border: 1px solid rgba(125, 211, 240, 0.36); border-radius: 28px; box-shadow: 0 35px 100px rgba(0, 0, 0, 0.55); }
.dialog-card--wide { width: min(900px, calc(100vw - 30px)); margin-left: 50%; transform: translateX(-50%); }
.dialog-close { position: absolute; right: 18px; top: 18px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--text); background: rgba(7, 20, 35, 0.72); border: 1px solid rgba(132, 202, 233, 0.24); border-radius: 13px; font-size: 1.5rem; cursor: pointer; }
.dialog-copy { padding-right: 50px; margin-bottom: 26px; }
.dialog-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.dialog-copy p { margin: 12px 0 0; color: var(--muted); }
.order-summary { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; margin-bottom: 24px; padding: 18px; background: rgba(3, 15, 28, 0.62); border: 1px solid var(--line); border-radius: 16px; }
.order-summary span { color: var(--muted); }
.order-summary strong { text-align: right; }
.order-summary small { grid-column: 2; color: var(--cyan-light); text-align: right; }
.order-summary--route { display: block; line-height: 1.7; }
.consent-field { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 22px; color: var(--muted); font-size: 0.86rem; }
.consent-field input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--cyan); }
.dialog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
.dialog-grid-span { grid-column: 1 / -1; }
.success-card { text-align: center; }
.success-icon { width: 84px; height: 84px; margin: 0 auto 24px; display: grid; place-items: center; color: #042017; background: var(--success); border-radius: 50%; font-size: 2.4rem; font-weight: 900; box-shadow: 0 0 40px rgba(82, 230, 171, 0.24); }
.success-card h2 { font-size: 2.8rem; margin: 8px 0; }
.success-card p { color: var(--muted); }
.request-code { margin: 24px 0; padding: 16px; background: rgba(3, 15, 28, 0.65); border-radius: 14px; }
.request-code strong { color: var(--cyan-light); letter-spacing: 0.08em; }

.toast { position: fixed; z-index: 500; left: 50%; bottom: 28px; transform: translate(-50%, 120px); min-width: 280px; max-width: calc(100% - 32px); padding: 15px 20px; color: #03131a; background: var(--cyan-light); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: transform 0.25s ease, opacity 0.25s ease; text-align: center; font-weight: 700; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topnav { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 110; background: rgba(3, 13, 25, 0.94); box-shadow: var(--shadow); }
  .header-cta { grid-column: 2; grid-row: 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .route-app { grid-template-columns: 1fr; }
  .route-result { min-height: auto; }
  .empty-result { min-height: 460px; }
  .section-heading { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 860px) {
  :root { --topbar-height: 70px; }
  .carousel { min-height: 640px; }
  .slide img { object-position: 60% center; }
  .slide-action-panel { left: 18px; right: 18px; bottom: 86px; width: auto; flex-direction: column; align-items: stretch; gap: 16px; }
  .slide-action-panel .primary-button, .slide-action-panel .secondary-button { width: 100%; }
  .carousel-controls { right: 18px; top: calc(var(--topbar-height) + 18px); }
  .scroll-hint { display: none; }
  .carousel-dots { bottom: 28px; }
  .process-layout { grid-template-columns: 1fr; }
  .process-copy { position: static; }
  .package-grid { grid-template-columns: 1fr; }
  .package-card--featured { transform: none; }
  .package-card { min-height: auto; }
  .closing-card { flex-direction: column; align-items: flex-start; }
  .closing-card .primary-button { width: 100%; }
  .footer { grid-template-columns: 1fr; text-align: center; padding-bottom: 100px; }
  .footer .brand { margin: auto; }
  .footer .text-button { justify-self: center; }
  .footer p { margin: 0; }
}

@media (max-width: 640px) {
  .brand-copy { display: none; }
  .brand-mark { width: 44px; height: 44px; }
  .header-cta { min-height: 46px; padding: 0 15px; }
  .topnav { width: calc(100% - 20px); justify-content: space-between; gap: 2px; }
  .nav-link { flex: 1; min-height: 46px; padding: 0 7px; font-size: 0.78rem; }
  .carousel-controls { transform: scale(0.9); transform-origin: right top; }
  .slide-action-panel { padding: 18px; }
  .slide-action-panel p { font-size: 0.9rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { min-height: auto; }
  .stat-icon { margin-bottom: 22px; }
  .packages-heading { flex-direction: column; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .result-summary { grid-template-columns: 1fr; }
  .route-visual { grid-template-columns: 1fr; gap: 12px; }
  .route-line { width: 1px; height: 36px; margin: auto; background: linear-gradient(180deg, rgba(35, 215, 239, 0.2), var(--cyan), rgba(35, 215, 239, 0.2)); }
  .route-line span { transform: translate(-50%, -50%) rotate(90deg); }
  .result-detail { align-items: flex-start; flex-direction: column; gap: 4px; }
  .result-detail strong { text-align: left; }
  .route-benefits { grid-template-columns: 1fr; }
  .dialog-grid { grid-template-columns: 1fr; }
  .dialog-grid-span { grid-column: auto; }
  .order-summary { grid-template-columns: 1fr; }
  .order-summary strong, .order-summary small { grid-column: 1; text-align: left; }
}

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


.game-section {
  padding-top: 26px;
}
.game-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.game-info-card,
.game-embed {
  background: linear-gradient(180deg, rgba(9, 24, 42, 0.9), rgba(10, 28, 47, 0.78));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.game-info-card {
  padding: 24px 24px 22px;
}
.game-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(35, 215, 239, 0.12);
  border: 1px solid rgba(35, 215, 239, 0.28);
  color: var(--cyan-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.game-chip--gold {
  color: #ffe4af;
  background: rgba(255, 189, 85, 0.12);
  border-color: rgba(255, 189, 85, 0.32);
}
.game-info-card h3 {
  margin: 16px 0 12px;
  font-size: 1.42rem;
}
.game-bullets {
  margin: 0;
  padding-left: 18px;
  color: #d5e4f3;
}
.game-bullets li + li { margin-top: 10px; }
.discount-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.discount-grid div {
  padding: 16px 14px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(134,196,239,0.16);
}
.discount-grid strong {
  display: block;
  color: var(--gold);
  font-size: 1.36rem;
  margin-bottom: 5px;
}
.discount-grid span,
.game-note {
  color: var(--muted);
}
.game-note { margin: 16px 0 0; }
.game-embed {
  margin-top: 28px;
  padding: 22px;
}
.game-embed-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.game-embed-topline h3 {
  margin: 8px 0 0;
  font-size: 1.36rem;
}
.game-frame {
  width: 100%;
  min-height: 980px;
  border: 0;
  border-radius: 24px;
  background: #06101f;
  box-shadow: inset 0 0 0 1px rgba(134,196,239,0.14);
}

@media (max-width: 980px) {
  .game-intro,
  .discount-grid {
    grid-template-columns: 1fr;
  }
  .game-embed-topline {
    flex-direction: column;
    align-items: flex-start;
  }
  .game-frame {
    min-height: 920px;
  }
}

@media (max-width: 640px) {
  .game-info-card,
  .game-embed {
    border-radius: 22px;
  }
  .game-embed {
    padding: 16px;
  }
  .game-frame {
    min-height: 860px;
    border-radius: 18px;
  }
}

.leads-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.lead-count {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #001018;
  background: var(--cyan-light);
  font-size: 0.78rem;
  font-weight: 900;
}
.leads-card { width: min(1080px, calc(100vw - 30px)); }
.leads-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}
.leads-summary > div {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}
.leads-summary small {
  display: block;
  color: var(--muted);
  margin-bottom: 4px;
}
.leads-summary strong {
  color: var(--cyan-light);
  font-size: 1.7rem;
}
.leads-table-wrap {
  max-height: 46svh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(2, 10, 20, 0.42);
}
.leads-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.leads-table th,
.leads-table td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(134,196,239,0.12);
}
.leads-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--cyan-light);
  background: #0b2037;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.leads-table td { color: #dbe9f5; font-size: 0.88rem; }
.leads-table time,
.leads-table td small { display: block; }
.leads-table td small { margin-top: 4px; color: var(--muted); }
.leads-empty { padding: 24px; margin: 0; color: var(--muted); text-align: center; }
.leads-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.leads-actions .primary-button,
.leads-actions .secondary-button { min-height: 50px; }

@media (min-width: 861px) and (max-width: 1040px) {
  .footer { grid-template-columns: 1fr auto; }
  .footer p { text-align: right; }
  .footer .text-button { justify-self: start; }
}

@media (max-width: 720px) {
  .leads-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leads-actions { display: grid; grid-template-columns: 1fr; }
  .leads-actions .primary-button,
  .leads-actions .secondary-button { width: 100%; }
}

@media (max-width: 860px) {
  .footer { grid-template-columns: 1fr; }
  .footer p { text-align: center; }
  .footer .text-button { justify-self: center; }
}

@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .topbar {
    grid-template-columns: auto 1fr;
    padding: 10px 14px;
  }
  .brand { grid-column: 1; }
  .header-cta { grid-column: 2; justify-self: end; }
  .topnav {
    position: fixed;
    z-index: 130;
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    padding: 5px;
    gap: 3px;
    background: rgba(3, 10, 20, 0.94);
    border-color: rgba(127, 205, 236, 0.28);
    box-shadow: 0 16px 44px rgba(0,0,0,0.42);
    backdrop-filter: blur(18px);
  }
  .nav-link {
    min-width: 0;
    min-height: 52px;
    padding: 5px 6px;
    white-space: normal;
    line-height: 1.08;
    font-size: 0.69rem;
  }
}


body {
  background:
    radial-gradient(circle at 12% 0%, rgba(51, 196, 81, 0.12), transparent 26rem),
    radial-gradient(circle at 100% 100%, rgba(33, 160, 56, 0.08), transparent 28rem),
    linear-gradient(180deg, #f8fcf7 0%, #f0f7ef 100%);
  color: var(--text);
}
body::before {
  background:
    radial-gradient(circle at 20% 20%, rgba(74, 214, 100, 0.09), transparent 22rem),
    radial-gradient(circle at 80% 0%, rgba(33, 160, 56, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,0.65), rgba(239,247,239,0.78));
}
.skip-link, .brand, .nav-link, .topbar, .section-heading h1, .section-heading h2, .packages-heading h2, .closing-card h2 { color: var(--text); }
.topbar {
  background: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(33,160,56,0.08);
  box-shadow: 0 18px 48px rgba(53, 96, 61, 0.08);
}
.brand-mark {
  background: linear-gradient(135deg, #83e65c, #21a038);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(33,160,56,0.22);
}
.nav-link:hover, .nav-link.is-active { color: var(--text); background: rgba(33,160,56,0.1); }
.header-cta,
.primary-button {
  background: linear-gradient(135deg, #43db63, #21a038);
  color: white;
  box-shadow: 0 16px 28px rgba(33,160,56,0.24);
}
.primary-button:hover, .header-cta:hover { filter: brightness(1.03); }
.secondary-button,
.icon-button,
.dialog-close,
.route-chip,
.toast,
.route-node,
.result-board,
.package-card,
.stat-card,
.game-info-card,
.game-embed,
.closing-card,
.dialog-card,
.form-shell,
.leads-toolbar,
.metric-card,
.leads-board,
.purchase-success,
.route-card,
.game-shell,
.footer-shell,
.topbar .text-button {
  background: rgba(255,255,255,0.86);
  border-color: var(--line);
  color: var(--text);
}
.secondary-button:hover,
.icon-button:hover,
.text-button:hover { border-color: rgba(33,160,56,0.28); background: rgba(245, 252, 245, 0.95); }
.slide-shade {
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(246,251,246,0.1) 40%, rgba(245,250,245,0.92) 100%);
}
.slide-action-panel {
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(33,160,56,0.14);
  box-shadow: 0 22px 48px rgba(41, 78, 48, 0.12);
}
.slide-action-panel p,
.section-heading p,
.form-header p,
.process-copy p,
.process-list p,
.stat-card p,
.package-card ul,
.demo-note,
.leads-note,
.game-note,
.discount-grid span,
.closing-card p,
.footer-shell p,
.brand-copy small,
.route-card p,
.empty-result p,
.dialog-copy p,
.purchase-success p,
.field span,
.field small,
label,
.result-summary small,
.topnav,
.carousel-counter span { color: var(--muted); }
.eyebrow, .package-topline, .form-step, .result-summary strong, .carousel-counter strong, .route-summary strong, .metric-value, .stat-icon, .process-list li > span, .field-error, .route-card strong, .package-price, .text-button, .popular-badge, .game-chip { color: var(--cyan); }
.popular-badge { background: rgba(242,193,92,0.2); color: #7b5a10; }
.package-card--featured {
  border-color: rgba(33,160,56,0.22);
  background: linear-gradient(180deg, rgba(248,253,248,0.96), rgba(239,247,239,0.96));
  box-shadow: 0 20px 48px rgba(33,160,56,0.12);
}
.field input, .field textarea, .field select {
  background: #fcfffc;
  color: var(--text);
  border-color: rgba(33,160,56,0.16);
}
.field input::placeholder, .field textarea::placeholder { color: #91a194; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: rgba(33,160,56,0.52);
  box-shadow: 0 0 0 4px rgba(33,160,56,0.08);
}
.field select { background-image: none; }
.route-orbit, .empty-orbit { background: radial-gradient(circle at center, rgba(209, 248, 214, 0.86), rgba(247,251,247,0)); }
.scroll-hint { color: var(--text); }
.scroll-hint-arrow { border-color: rgba(33,160,56,0.24); color: var(--cyan); }
.carousel-dot { background: rgba(33,160,56,0.16); border: 1px solid rgba(33,160,56,0.18); }
.carousel-dot.is-active { background: var(--cyan); }
.footer-shell {
  background: rgba(255,255,255,0.8);
  border-top: 1px solid rgba(33,160,56,0.12);
}
.leads-button .lead-count {
  background: rgba(33,160,56,0.1);
  color: var(--cyan);
}
.game-frame {
  background: #f6fbf5;
  box-shadow: inset 0 0 0 1px rgba(33,160,56,0.12);
}

/* Unified light-green presentation theme */
.hero {
  background: #eef7ef;
}

.business-section,
.payment-section,
.closing-section {
  background:
    radial-gradient(circle at 100% 0, rgba(67, 219, 99, 0.1), transparent 28rem),
    linear-gradient(180deg, #f8fcf7, #eef7ef);
}

.business-section::before,
.payment-section::before {
  background-image:
    linear-gradient(rgba(33, 160, 56, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 160, 56, 0.045) 1px, transparent 1px);
}

.carousel-controls {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(33, 160, 56, 0.16);
  box-shadow: 0 14px 38px rgba(43, 86, 51, 0.12);
}

.icon-button {
  color: var(--text);
  background: rgba(33, 160, 56, 0.08);
  border-color: rgba(33, 160, 56, 0.16);
}

.icon-button:hover {
  background: rgba(33, 160, 56, 0.14);
  border-color: rgba(33, 160, 56, 0.3);
}

.slide-action-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.stat-icon,
.game-chip,
.route-benefits article > span {
  color: var(--cyan);
  background: rgba(33, 160, 56, 0.1);
  border-color: rgba(33, 160, 56, 0.22);
}

.game-chip--gold,
.popular-badge {
  color: #18732b;
  background: rgba(33, 160, 56, 0.12);
  border-color: rgba(33, 160, 56, 0.22);
}

.discount-grid strong,
.route-node--accent > span {
  color: var(--cyan);
}

.route-form,
.route-result,
.result-summary > div,
.route-node,
.route-benefits article,
.discount-grid div,
.leads-summary > div,
.order-summary,
.request-code {
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(33, 160, 56, 0.14);
}

.route-result::before {
  background: radial-gradient(circle, rgba(33, 160, 56, 0.12), transparent 68%);
}

.empty-orbit {
  border-color: rgba(33, 160, 56, 0.22);
  box-shadow:
    inset 0 0 40px rgba(33, 160, 56, 0.08),
    0 0 44px rgba(33, 160, 56, 0.08);
}

.route-node--accent {
  border-color: rgba(33, 160, 56, 0.32);
  box-shadow: 0 0 36px rgba(33, 160, 56, 0.08);
}

.route-line {
  background: linear-gradient(90deg, rgba(33, 160, 56, 0.15), var(--cyan), rgba(33, 160, 56, 0.15));
}

.route-line span {
  color: var(--cyan);
  background: #ffffff;
  border-color: rgba(33, 160, 56, 0.28);
}

.closing-card {
  background:
    radial-gradient(circle at 90% 0, rgba(67, 219, 99, 0.15), transparent 25rem),
    rgba(255, 255, 255, 0.9);
  border-color: rgba(33, 160, 56, 0.18);
}

.footer {
  color: var(--muted);
  background: #f4faf3;
  border-top-color: rgba(33, 160, 56, 0.12);
}

.dialog-card {
  background: #ffffff;
  border-color: rgba(33, 160, 56, 0.2);
  box-shadow: 0 35px 100px rgba(24, 68, 32, 0.2);
}

.dialog-close {
  background: rgba(33, 160, 56, 0.08);
  border-color: rgba(33, 160, 56, 0.16);
}

.toast {
  color: #ffffff;
  background: var(--cyan);
}

.leads-table-wrap {
  background: #ffffff;
  border-color: rgba(33, 160, 56, 0.14);
}

.leads-table th {
  color: #18732b;
  background: #edf8ee;
}

.leads-table th,
.leads-table td {
  border-bottom-color: rgba(33, 160, 56, 0.1);
}

.leads-table td {
  color: var(--text);
}

@media (max-width: 860px) {
  .slide-action-panel {
    left: 18px;
    right: 18px;
    bottom: 34px;
    width: auto;
    align-items: stretch;
  }

  .carousel-controls {
    top: 18px;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 0;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Терминал на 13″: пошаговый опрос и сенсорные размеры

   Планшет стоит на стенде, человек смотрит на него с расстояния вытянутой руки
   и работает пальцем, а не мышью. Поэтому тач-цели не меньше 60×60 pt, подписи
   крупнее, а отступы шире, чем в браузерной вёрстке.
   ───────────────────────────────────────────────────────────────────────────── */

.wizard-progress {
  display: flex;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: wizard;
}

.wizard-progress-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-increment: wizard;
  font-size: 15px;
  color: var(--muted);
}

.wizard-progress-step::before {
  content: '';
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  transition: background 0.25s ease;
}

.wizard-progress-step.is-done::before { background: var(--cyan-light); }
.wizard-progress-step.is-current::before { background: var(--cyan); }
.wizard-progress-step.is-current { color: var(--text); font-weight: 600; }

.wizard-step .field { margin-bottom: 0; }

.wizard-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 32px;
}

.wizard-actions .primary-button { margin-left: auto; }

.route-wizard .form-step {
  font-variant-numeric: tabular-nums;
}

/* Сенсорные размеры. Кнопки и поля ввода — не мельче пальца. */
.primary-button,
.secondary-button,
.icon-button,
.package-select,
.dialog-close {
  min-height: 60px;
  min-width: 60px;
}

.field select,
.field input,
.field textarea {
  min-height: 60px;
  font-size: 20px;
}

.field textarea { min-height: 120px; }

.field > span:first-child { font-size: 18px; }

.consent-field {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-height: 60px;
  font-size: 17px;
  line-height: 1.5;
}

.consent-field input[type='checkbox'] {
  width: 32px;
  height: 32px;
  flex: none;
  accent-color: var(--cyan);
}

/* Скрытый вызов администратора: область без вида, только для длинного нажатия. */
.admin-gesture {
  display: block;
  width: 64px;
  height: 64px;
  margin-left: auto;
  opacity: 0;
}

/* Клавиатура в альбомной ориентации занимает нижнюю половину экрана. Диалог
   с формой прокручивается внутри себя, чтобы активное поле не уезжало под неё. */
.dialog-card {
  max-height: 82vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
