:root {
  --ink: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --navy: #1e3a8a;
  --paper: #f6f5f2;
  --pink: #ffb3c7;
  --ok: #15803d;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, p { margin: 0; }
h1, h2 {
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.14;
  text-wrap: balance;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}
.top {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}
.top .wrap { display: flex; align-items: center; height: 72px; }
.brand img { height: 26px; width: auto; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
  padding: 64px 0 96px;
}
h1 { font-size: clamp(36px, 4vw, 52px); }
h2 { font-size: clamp(28px, 2.8vw, 40px); }
.lead {
  margin-top: 24px;
  max-width: 38rem;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.btn:hover { background: #172e6e; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 2px;
}
.under {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

.counter {
  position: relative;
  height: 520px;
  border-radius: 28px;
  background:
    linear-gradient(#efe8df, #efe8df) 0 0 / 100% 58% no-repeat,
    linear-gradient(#d9cfc3, #cfc3b4);
  overflow: hidden;
}
.rail {
  position: absolute;
  left: 0; right: 0; top: 58%;
  height: 14px;
  background: #b7ab9e;
}
.folds {
  position: absolute;
  left: 28px; right: 28px; top: 36px;
  display: flex;
  gap: 14px;
  height: 150px;
}
.folds span {
  flex: 1;
  border-radius: 16px 16px 8px 8px;
  background: #1e3a8a;
}
.folds span:nth-child(2) { background: #c4a484; margin-top: 22px; }
.folds span:nth-child(3) { background: #f3efe9; margin-top: 10px; }
.phone {
  position: absolute;
  left: 50%;
  bottom: 36px;
  width: min(230px, 70%);
  transform: translateX(-50%) rotate(-6deg);
  padding: 12px;
  border-radius: 28px;
  background: #111827;
  box-shadow: 0 24px 40px rgba(17, 24, 39, 0.28);
}
.screen {
  border-radius: 18px;
  background: #fff;
  min-height: 280px;
  padding: 22px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.amt { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.concept, .wait, .done p { color: var(--muted); font-size: 13px; }
.concept { margin-top: 2px; }
.qr { width: 112px; height: 112px; margin-top: 14px; }
.wait { margin-top: auto; }

.band { background: var(--paper); padding: 112px 0; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.steps {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: paso;
}
.steps li {
  counter-increment: paso;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 18px;
  line-height: 1.4;
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(paso);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 15px;
}
.remate { margin-top: 28px; color: var(--muted); line-height: 1.5; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.device {
  background: #111827;
  border-radius: 24px;
  padding: 10px;
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.12);
}
.device .screen { min-height: 320px; }
.done {
  background: var(--ok);
  color: #fff;
  justify-content: center;
  gap: 8px;
}
.done p { color: #fff; }
.tick {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}
.tick svg { width: 44px; height: 44px; fill: none; stroke: var(--ok); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.done-title { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }

.price { padding: 112px 0; }
.price .lead { margin-bottom: 48px; }
.rows { display: grid; gap: 0; max-width: 760px; }
.row {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.row:last-child { border-bottom: 1px solid var(--line); }
.num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.close { margin-top: 40px; font-size: 20px; font-weight: 600; line-height: 1.35; max-width: 36rem; }
.fine { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 40rem; }

.gift { background: #111827; color: #fff; padding: 112px 0; }
.gift .lead { color: #d1d5db; }
.gift .under { color: #d1d5db; }
.gift .btn { background: #fff; color: var(--navy); }
.gift .btn:hover { background: #e8eaf2; }
.kit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.kit img {
  display: block;
  height: auto;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .35);
}
.kit-window { width: 52%; max-width: 280px; }
.kit-counter { width: 36%; max-width: 196px; }

.foot { padding: 36px 0 56px; background: #111827; color: #9ca3af; font-size: 13px; line-height: 1.5; }
.foot p { max-width: 40rem; }

@media (max-width: 900px) {
  .hero, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 72px; }
  .counter { height: 480px; max-width: 460px; width: 100%; margin-inline: auto; }
  .band, .price, .gift { padding: 80px 0; }
  .pair { width: 100%; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .wrap { width: min(1120px, calc(100% - 40px)); }
  .top .wrap { height: 64px; }
  .hero { padding: 32px 0 56px; gap: 32px; }
  .counter { height: 420px; max-width: none; }
  .band, .price, .gift { padding: 64px 0; }
  .lead { margin-top: 16px; font-size: 17px; }
  .btn { margin-top: 28px; }
  .price .lead { margin-bottom: 28px; }
  .row { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .num { font-size: 36px; }
  .steps { margin-top: 20px; }
  .steps li { font-size: 17px; padding: 16px 0; }
  .pair { grid-template-columns: 1fr; max-width: none; }
  .device .screen { min-height: 280px; }
  .kit { gap: 16px; }
  .foot { padding: 28px 0 48px; }
}
