/* Лента заказов на витрине (08.10.2026): направления, карточки заказов, места на отклик, тарифы.
   Палитра и радиусы - из css/styles.css (переменные :root). */

.dirs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

@media (min-width: 760px) {
  .dirs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
}

@media (min-width: 1100px) {
  .dirs { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .dir { padding-right: 14px; }
  .dir .arr { display: none; }
}

.dir__num .dir__zero { color: var(--muted); font-weight: 500; }

.dir {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 96px;
  padding: 16px 40px 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: border-color .2s, transform .2s;
}

.dir:hover { border-color: var(--lilac-200); transform: translateY(-2px); }

.dir__name { font-weight: 700; font-size: 16px; line-height: 1.25; color: var(--ink); }

.dir__num { font-size: 14px; color: var(--muted); }

.dir__num b { color: var(--violet-600); font-weight: 700; }

.dir .arr { position: absolute; top: 16px; right: 16px; color: var(--violet-600); }

.zbar {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 760px;
  margin: 22px auto 0;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: #fff;
  border: 1px solid var(--lilac-100);
  font-size: 15px;
  color: var(--ink-soft);
}

.zbar__lock { color: var(--violet-600); font-size: 12px; line-height: 24px; }

.zbar b { color: var(--violet-600); }

.zlist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 22px 0 28px;
}

@media (min-width: 760px) {
  .zlist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.zcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.zcard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.zcard__spec {
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--lilac-50);
  color: var(--violet-700);
  font-size: 13px;
  font-weight: 600;
}

.zcard__age { font-size: 13px; color: var(--muted); white-space: nowrap; }

.zcard__title { font-weight: 700; font-size: 17px; line-height: 1.35; color: var(--ink); }

.zcard__chips { display: flex; flex-wrap: wrap; gap: 6px; }

.zcard__chips i {
  font-style: normal;
  padding: 3px 9px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}

.zcard__chips .zb { font-weight: 700; color: #1E6B3A; background: #E8F4EC; border-color: #CFE6D7; }

.zslots { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }

.zslots__bar { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 3px; }

.zslots__bar i { height: 5px; border-radius: 3px; background: var(--lilac-100); }

.zslots__bar i.on { background: var(--violet-600); opacity: .5; }

.zslots__label { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }

.zslots__label b { color: var(--ink-soft); font-weight: 600; }

.zlist__empty { grid-column: 1 / -1; text-align: center; color: var(--muted); }

.flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 28px;
}

@media (min-width: 760px) {
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.flow__step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.flow__num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow__step b { font-size: 17px; line-height: 1.3; }

.flow__step p { font-size: 15px; color: var(--muted); line-height: 1.5; }

.slotsbox {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--lilac-50);
}

@media (min-width: 860px) {
  .slotsbox { grid-template-columns: 1.2fr 1fr; padding: 40px; }
}

.slotsbox__text p { margin-top: 12px; color: var(--ink-soft); }

.slotsbox__demo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.slotsbox__bar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }

.slotsbox__bar i { height: 8px; border-radius: 4px; background: var(--lilac-100); }

.slotsbox__bar i.on { background: var(--violet-600); opacity: .55; }

.slotsbox__label { display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); }

.slotsbox__label b { color: #B4530A; }

.slotsbox__hint { font-size: 12px; color: var(--muted); }

.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 860px;
  margin: 28px auto 0;
}

@media (min-width: 760px) {
  .plans { grid-template-columns: 1fr 1fr; }
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
}

.plan--main { background: var(--grad); color: #fff; border: 0; }

.plan__name { font-weight: 600; font-size: 16px; opacity: .85; }

.plan__sum { font-size: 34px; font-weight: 800; line-height: 1.1; }

.plan__sum small { font-size: 16px; font-weight: 600; opacity: .8; }

.plan ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 6px; }

.plan li { position: relative; padding-left: 22px; font-size: 15px; }

.plan li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--violet-600); }

.plan--main li::before { color: #fff; }

.plan .btn { align-self: flex-start; margin-top: auto; }

.ticks { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

.ticks li { position: relative; padding-left: 28px; font-size: 17px; color: var(--ink-soft); }

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--violet-600);
  border-bottom: 2.5px solid var(--violet-600);
  transform: rotate(-45deg);
}

.slotsbox__text .h2 { text-align: left; }

/* ── 09.10.2026: первый экран с цифрами, мини-блоки направлений, кабинет в рамке телефона ── */
.hn { padding: 64px 0 40px; }
.hn__in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.hn__lead { max-width: 760px; font-size: 19px; line-height: 1.5; color: var(--ink-soft); }
.hn__nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 6px 0 0; width: min(100%, 760px); }
.hn__nums div { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-card); }
.hn__nums dd { margin: 0; font-size: clamp(34px, 6vw, 60px); font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.hn__nums dt { font-size: 15px; color: var(--muted); }
.hn__cta { display: flex; justify-content: center; }
.hn .hc__pill { white-space: normal; max-width: 100%; text-align: center; line-height: 1.2; }
@media (max-width: 560px) {
  .hn { padding-top: 40px; }
  .hn .hc__pill { font-size: 18px; padding: 8px 16px; }
  .hn__nums { gap: 10px; }
  .hn__nums div { padding: 14px 10px; }
  .hn__nums dd { font-size: 28px; }
  .hn__nums dt { font-size: 13px; }
  .hn__lead { font-size: 16px; }
}

.mb__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
@media (min-width: 760px) { .mb__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1100px) { .mb__grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.mb { display: flex; flex-direction: column; gap: 4px; min-height: 112px; padding: 14px; border-radius: var(--r-md);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); transition: border-color .2s, transform .2s; }
.mb:hover { border-color: var(--lilac-200); transform: translateY(-2px); }
.mb__top { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.mb__big { font-size: 16px; font-weight: 800; line-height: 1.2; color: var(--ink); }
.mb__cnt { margin-top: auto; font-size: 13px; color: var(--muted); }
.mb__cnt b { color: var(--violet-600); font-weight: 700; }
.mb__cnt .dir__zero { color: var(--muted); font-weight: 500; }

.phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
@media (min-width: 900px) { .phones { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.phone { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.phone__frame { position: relative; padding: 9px; border-radius: 38px; background: #16141D; box-shadow: 0 24px 50px rgba(35, 18, 80, .18); }
.phone__frame::before { content: ""; position: absolute; top: 3px; left: 50%; width: 22%; height: 4px; transform: translateX(-50%);
  border-radius: 3px; background: #3A3646; z-index: 2; }
.phone__frame img { width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 30px; background: #fff; }
.phone figcaption { display: flex; flex-direction: column; gap: 4px; }
.phone figcaption b { font-size: 16px; line-height: 1.3; }
.phone figcaption span { font-size: 14px; color: var(--muted); line-height: 1.45; }

.step__shot.step__shot--phone { max-width: 280px; margin: 0 auto 18px; padding: 9px; border: 0; border-radius: 38px; background: #16141D;
  box-shadow: 0 24px 50px rgba(20, 8, 60, .28); }
.step__shot.step__shot--phone img { height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 30px; }
.step:hover .step__shot--phone img { transform: none; }

.feats { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
@media (min-width: 760px) { .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feat { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.feat b { font-size: 18px; line-height: 1.3; }
.feat p { font-size: 15px; color: var(--muted); line-height: 1.5; }

.ways { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 760px) { .ways { grid-template-columns: 1fr 1fr; } }
.way { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.way b { font-size: 24px; line-height: 1.2; }
.way p { color: var(--ink-soft); }
.way__tag { align-self: flex-start; padding: 4px 12px; border-radius: var(--r-pill); background: var(--lilac-50); color: var(--violet-700); font-size: 14px; font-weight: 700; }
.way__go { margin-top: auto; font-weight: 700; color: var(--violet-600); }
.way--main { background: var(--grad); color: #fff; border: 0; }
.way--main p, .way--main .way__go { color: #fff; }
.way--main .way__tag { background: rgba(255, 255, 255, .18); color: #fff; }

.tplans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 980px; margin: 28px auto 0; }
@media (min-width: 760px) { .tplans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tplan { display: flex; flex-direction: column; gap: 4px; padding: 22px 18px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.tplan__n { font-weight: 600; color: var(--muted); }
.tplan__p { font-size: 28px; font-weight: 800; }
.tplan__s { font-size: 14px; color: var(--muted); }
.tplan--main { background: var(--grad); color: #fff; border: 0; }
.tplan--main .tplan__n, .tplan--main .tplan__s { color: rgba(255, 255, 255, .85); }

.tsub { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 980px; margin: 0 auto 28px; }
@media (min-width: 760px) { .tsub { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tsub__step { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-align: center; }
.tsub__when { font-size: 14px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.tsub__step b { font-size: 44px; font-weight: 800; line-height: 1; }
.tsub__step span:last-child { color: var(--muted); }
.tsub__step--main { background: var(--grad); color: #fff; border: 0; }
.tsub__step--main .tsub__when, .tsub__step--main span:last-child { color: rgba(255, 255, 255, .85); }
.feats--3 { margin-bottom: 28px; }

.price-cta { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.price-cta a:not(.btn) { color: var(--violet-600); text-decoration: underline; text-underline-offset: 3px; }

/* страница направления (09.10.2026): крупная цифра, большая кнопка, лента заказов */
.zh { padding: 64px 0 48px; }
.zh__in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.zh__num { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.zh__num b { font-size: clamp(64px, 14vw, 140px); font-weight: 800; line-height: .95; letter-spacing: -0.03em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.zh__num span { font-size: 18px; color: var(--muted); }
.zh__num--new span { font-size: 20px; color: var(--ink-soft); max-width: 520px; }
.zh__btn { min-width: min(100%, 340px); justify-content: center; font-size: 20px; padding-block: 20px; }
.zlist--app { grid-template-columns: 1fr; }
@media (min-width: 640px) { .zlist--app { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .zlist--app { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.zlist--app .zcard { border: 1px solid var(--line); border-radius: 22px; padding: 18px 18px 16px; }
