/* ai-ice.ru — ООО «ОРСО» */

:root {
  --ink: #0A1B2A;
  --ink-2: #12293D;
  --frost: #E9F3F7;
  --paper: #F8FBFC;
  --mint: #24C3B5;
  --berry: #FF4D6D;
  --cream: #FFCE7B;
  --steel: #5B7386;
  --line: #D3E2E9;

  --display: "Unbounded", "Arial Black", "Helvetica Neue", sans-serif;
  --body: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", "Consolas", monospace;

  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Шапка ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 27, 42, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--frost);
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.brand__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  display: inline-block;
}

.brand__host {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--steel);
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  flex-wrap: wrap;
}

.nav a {
  color: #A9C2D1;
  text-decoration: none;
  font-size: 14.5px;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav a:hover,
.nav a:focus-visible { color: #fff; border-bottom-color: var(--mint); }

/* ---------- Герой ---------- */

.hero {
  background: var(--ink);
  color: var(--frost);
  padding: 64px 0 76px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% 40%;
  height: 420px;
  background: radial-gradient(closest-side, rgba(36, 195, 181, 0.16), transparent);
  pointer-events: none;
}

.hero__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 0;
}

.hero h1 em {
  font-style: normal;
  color: var(--cream);
}

.hero__lead {
  margin: 0;
  color: #B7CEDB;
  font-size: 16.5px;
  max-width: 46ch;
}

/* ---------- Витрина ---------- */

.case {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02) 42%, rgba(255, 255, 255, 0.05));
}

.case__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 6px 16px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.case__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8FAEC0;
}

.readout {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--mint);
  display: flex;
  align-items: center;
  gap: 8px;
}

.readout__led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(36, 195, 181, 0.18);
}

.slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.slot {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 132px;
  transition: transform 0.18s ease, background 0.18s ease;
}

.slot:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.09);
}

.slot__code {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--cream);
}

.slot__name {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  color: #fff;
}

.slot__meta {
  font-size: 13.5px;
  color: #9EBACB;
}

.slot__price {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 700;
  color: var(--mint);
}

.case__note {
  margin: 16px 6px 0;
  font-size: 13.5px;
  color: #8FAEC0;
}

/* ---------- Секции ---------- */

.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.section--tint { background: var(--frost); }

.section__head { max-width: 62ch; margin-bottom: 36px; }

.section__head .eyebrow { color: var(--steel); }

.section h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(25px, 3.4vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.section p { margin: 0 0 14px; }

.lead { color: #33566B; font-size: 17px; }

/* Шаги оплаты */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--berry);
  margin-bottom: 12px;
}

.steps h3 {
  font-size: 17.5px;
  font-weight: 600;
  margin: 0 0 8px;
}

.steps p { font-size: 15px; color: #40627A; margin: 0; }

/* Карточки-факты */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.facts li {
  border-left: 2px solid var(--mint);
  padding: 4px 0 4px 16px;
}

.facts b {
  display: block;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.facts span { font-size: 14.5px; color: #4A6B80; }

/* Два столбца */

.cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

.panel h3 {
  font-size: 18px;
  margin: 0 0 12px;
  font-weight: 600;
}

.panel ul { margin: 0; padding-left: 20px; }
.panel li { margin-bottom: 8px; font-size: 15.5px; }

.kv {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px 18px;
  font-size: 15.5px;
  margin: 0;
}

.kv dt { color: var(--steel); }
.kv dd { margin: 0; }

.pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.pay-badges li {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #3D5F76;
}

.btn {
  display: inline-block;
  margin-top: 8px;
  padding: 13px 22px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.15s;
}

.btn:hover, .btn:focus-visible { background: var(--ink-2); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn--ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Подвал ---------- */

.footer {
  background: var(--ink);
  color: #A9C2D1;
  padding: 56px 0 40px;
  font-size: 14.5px;
}

.footer h2 {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 0 18px;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 44px;
}

.req {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 8px 20px;
  margin: 0;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.5;
}

.req dt { color: #6D8CA1; }
.req dd { margin: 0; color: #DCE9F0; }

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li { margin-bottom: 10px; }
.footer__links a { color: #DCE9F0; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
.footer__links a:hover { border-bottom-color: var(--mint); }

.footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #6D8CA1;
}

/* ---------- Документы ---------- */

.doc {
  padding: 56px 0 80px;
  max-width: 860px;
}

.doc h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.doc__meta {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--steel);
  margin: 0 0 40px;
}

.doc h2 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  margin: 40px 0 14px;
  letter-spacing: -0.01em;
}

.doc p, .doc li { font-size: 16px; line-height: 1.65; }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }

.doc .back {
  display: inline-block;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--steel);
  text-decoration: none;
}

.doc .back:hover { color: var(--ink); }

/* ---------- Адаптив ---------- */

@media (max-width: 900px) {
  .hero__head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols { grid-template-columns: 1fr; gap: 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .slots { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .kv, .req { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dt, .req dt { margin-top: 10px; }
  .nav { gap: 14px; }
  .hero { padding: 40px 0 52px; }
  .section { padding: 52px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 4px;
}
