/* ===== ADelivery — фирменный стиль «Тёплый рынок» ===== */
:root {
  --bg: #F7F5F2;
  --card: #FFFFFF;
  --text: #1C1B19;
  --muted: #6F6A62;
  --accent: #FF6B00;
  --accent-press: #E85F00;
  --soft: #FFF1E5;
  --line: #E7E2DA;
  --success: #1FA45B;
  --grad: linear-gradient(135deg, #FF7A1A 0%, #FFB35C 100%);
  --r-s: 16px;
  --r-m: 22px;
  --r-l: 28px;
  --shadow: 0 10px 30px rgba(28, 27, 25, 0.07);
  --shadow-hover: 0 16px 40px rgba(28, 27, 25, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-press); }

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.ic { width: 18px; height: 18px; flex: none; }

/* ===== Кнопки ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-s);
  font-size: 16px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:active { transform: scale(.97); }

.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-press); color: #fff; }

.btn-light { background: #fff; color: var(--accent); box-shadow: 0 10px 30px rgba(28, 27, 25, .18); }
.btn-light:hover { color: var(--accent-press); transform: translateY(-2px); }

.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .65); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }

/* ===== Шапка ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 242, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 26px;
  height: 30px;
  fill: var(--accent);
}
.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.site-nav { display: flex; gap: 26px; }
.site-nav a {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: right .25s ease;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a:hover::after { right: 0; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Герой ===== */
.hero {
  position: relative;
  background: var(--grad);
  color: #fff;
  overflow: hidden;
  padding: 72px 0 140px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 48px;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin-bottom: 18px;
  text-wrap: balance;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  opacity: .94;
  margin-bottom: 32px;
  max-width: 46ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-skyline {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 200px;
  z-index: 1;
  pointer-events: none;
}
.sky-back { fill: rgba(255, 255, 255, .10); }
.sky-front { fill: rgba(255, 255, 255, .18); }
.clock-face { fill: rgba(255, 255, 255, .75); }
.clock-hands { stroke: #E85F00; stroke-width: 3; stroke-linecap: round; fill: none; }

/* — макет телефона — */
.hero-phone-wrap {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}
.phone {
  width: 280px;
  height: 575px;
  border-radius: 46px;
  background: #1C1B19;
  padding: 10px;
  box-shadow: 0 40px 80px rgba(28, 27, 25, .35), 0 0 0 2px rgba(255, 255, 255, .25);
  animation: phone-float 7s ease-in-out infinite;
  will-change: transform;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-14px) rotate(-1.5deg); }
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 37px;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 14px 12px 0;
  color: var(--text);
}
.phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 22px;
  border-radius: 12px;
  background: #1C1B19;
}
.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 38px 4px 12px;
}
.app-city {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.app-city .ic { width: 14px; height: 14px; color: var(--accent); }
.app-city .chev { color: var(--muted); }
.app-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--grad);
}
.app-stories { display: flex; gap: 9px; margin: 0 4px 14px; }
.story {
  width: 46px; height: 46px;
  border-radius: 50%;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--grad) border-box;
  border: 2.5px solid transparent;
}
.story::after { content: ""; display: block; }
.story.s2 { background: linear-gradient(135deg, #FFD7A8, #FF8A2A) padding-box, var(--grad) border-box; }
.story.s3 { background: linear-gradient(135deg, #FFE7CD, #FFAB55) padding-box, var(--grad) border-box; }
.story.s4 { background: linear-gradient(135deg, #FFF1E5, #FFC98A) padding-box, var(--grad) border-box; }
.app-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin: 0 2px 12px;
}
.app-photo {
  position: relative;
  height: 110px;
  background: var(--grad);
}
.app-photo.p2 { background: linear-gradient(135deg, #FFB35C, #FF7A1A); height: 84px; }
.app-photo::after {
  content: "";
  position: absolute;
  inset: auto -20% -55% -20%;
  height: 80%;
  border-radius: 50% 50% 0 0;
  background: rgba(255, 255, 255, .25);
}
.app-chip {
  position: absolute;
  right: 10px; bottom: 10px;
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  z-index: 1;
}
.app-card-body { padding: 10px 12px 12px; }
.app-card-body strong { font-size: 14px; display: block; }
.app-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.app-meta .star { width: 13px; height: 13px; fill: var(--accent); }
.app-card-half { flex: 1; }
.app-tabbar {
  margin: auto -12px 0;
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-around;
  padding: 12px 22px 20px;
}
.app-tabbar .ic { width: 22px; height: 22px; color: #B9B2A8; }
.app-tabbar .ic.active { color: var(--accent); }

/* ===== Секции ===== */
.section { padding: 92px 0; }
.section-tinted {
  background: linear-gradient(var(--soft), var(--bg) 320px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  margin: 12px auto 0;
  max-width: 56ch;
}
#how, #roles, #app { scroll-margin-top: 76px; }

/* ===== Как это работает ===== */
.steps-wrap { position: relative; margin-top: 64px; }
.track {
  position: absolute;
  top: 38px;
  left: calc(12.5% + 6px);
  right: calc(12.5% + 6px);
  border-top: 2px dashed #D9CFC2;
  z-index: 0;
}
.courier-dot {
  position: absolute;
  top: -1px;
  left: calc(var(--p, 0) * 100%);
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--grad);
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(255, 107, 0, .45);
  transform: translate(-50%, -50%);
  transition: left .9s cubic-bezier(.45, 0, .2, 1), top .9s cubic-bezier(.45, 0, .2, 1);
}
.courier-dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 107, 0, .35);
  animation: dot-pulse 1.8s ease-out infinite;
}
@keyframes dot-pulse {
  0% { transform: scale(.6); opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}
.steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
}
.step-btn {
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 6px;
}
.step-icon {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  border-radius: 24px;
  background: var(--soft);
  color: var(--accent);
  box-shadow: var(--shadow);
  transition: background .35s ease, color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.step-icon svg { width: 34px; height: 34px; }
.step-text { display: flex; flex-direction: column; align-items: center; }
.step-num {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 800;
  color: #C9C1B5;
  letter-spacing: .12em;
  transition: color .3s ease;
}
.step-h {
  font-size: 17px;
  font-weight: 700;
  margin-top: 2px;
  letter-spacing: -0.01em;
}
.step-p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 5px;
  max-width: 24ch;
}
.step.is-active .step-icon {
  background: var(--grad);
  color: #fff;
  transform: translateY(-6px) scale(1.06);
  box-shadow: 0 14px 30px rgba(255, 107, 0, .35);
}
.step.is-active .step-num { color: var(--accent); }

/* ===== Роли: сегменты ===== */
.segments {
  display: flex;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  width: max-content;
  max-width: 100%;
  margin: 44px auto 40px;
  box-shadow: var(--shadow);
}
.seg-btn {
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  padding: 11px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
  white-space: nowrap;
}
.seg-btn:hover { color: var(--text); }
.seg-btn.is-active {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 107, 0, .35);
}

.role-panel { display: none; }
.role-panel.is-active {
  display: block;
  animation: panel-in .45s ease both;
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.panel-lead {
  text-align: center;
  color: var(--muted);
  max-width: 62ch;
  margin: 0 auto 40px;
  font-size: 16px;
}

/* — карточки клиентов — */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: var(--card);
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--soft);
  color: var(--accent);
  margin-bottom: 16px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { font-size: 14px; color: var(--muted); }

/* — FAQ — */
.faq { max-width: 720px; margin: 48px auto 0; }
.faq-title { text-align: center; font-size: 20px; margin-bottom: 18px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  box-shadow: var(--shadow);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 48px 16px 20px;
  font-weight: 600;
  font-size: 15px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 20px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--muted);
}

/* — таймлайны — */
.timeline {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  counter-reset: tl;
  padding-left: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 21px; top: 14px; bottom: 14px;
  width: 2px;
  background: linear-gradient(var(--accent), #FFB35C);
  border-radius: 2px;
  opacity: .35;
}
.tl-item {
  position: relative;
  padding: 0 0 30px 68px;
  counter-increment: tl;
}
.tl-item:last-child { padding-bottom: 6px; }
.role-panel.is-active .tl-item {
  animation: tl-in .5s ease both;
}
.role-panel.is-active .tl-item:nth-child(1) { animation-delay: .05s; }
.role-panel.is-active .tl-item:nth-child(2) { animation-delay: .15s; }
.role-panel.is-active .tl-item:nth-child(3) { animation-delay: .25s; }
.role-panel.is-active .tl-item:nth-child(4) { animation-delay: .35s; }
.role-panel.is-active .tl-item:nth-child(5) { animation-delay: .45s; }
.role-panel.is-active .tl-item:nth-child(6) { animation-delay: .55s; }
.role-panel.is-active .tl-item:nth-child(7) { animation-delay: .65s; }
@keyframes tl-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.tl-item::before {
  content: counter(tl);
  position: absolute;
  left: 0; top: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(255, 107, 0, .3);
}
.tl-item h3 { font-size: 17px; padding-top: 8px; letter-spacing: -0.01em; }
.tl-item p { font-size: 14.5px; color: var(--muted); margin-top: 5px; }
.tl-cta { display: flex; width: max-content; margin: 28px auto 0; }

/* ===== Приложение ===== */
.app-banner {
  position: relative;
  background: var(--grad);
  border-radius: var(--r-l);
  color: #fff;
  text-align: center;
  padding: 64px 32px 56px;
  box-shadow: 0 24px 60px rgba(255, 107, 0, .3);
  overflow: hidden;
}
.app-banner::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.app-banner::after {
  content: "";
  position: absolute;
  bottom: -140px; left: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
}
.app-banner > * { position: relative; z-index: 1; }
.app-banner-mark {
  width: 58px; height: 68px;
  margin: 0 auto 22px;
  fill: #fff;
}
.app-banner h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.app-banner p { opacity: .94; max-width: 52ch; margin: 0 auto; }
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 26px;
}
.badge-wrap {
  position: relative;
  display: inline-block;
  cursor: not-allowed;
  outline: none;
}
.store-badge { width: 180px; height: 56px; }
.bdg-bg {
  fill: rgba(255, 255, 255, .14);
  stroke: rgba(255, 255, 255, .4);
  stroke-width: 1.5;
}
.bdg-ic { fill: rgba(255, 255, 255, .55); }
.bdg-small {
  fill: rgba(255, 255, 255, .6);
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: .02em;
}
.bdg-big {
  fill: rgba(255, 255, 255, .7);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
}
.badge-wrap::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%; bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  background: #1C1B19;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity .2s ease, transform .2s ease;
}
.badge-wrap:hover::after,
.badge-wrap:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.app-note {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14.5px;
  font-weight: 500;
}
.app-note a { color: #fff; text-decoration: underline; font-weight: 700; }
.app-note a:hover { color: var(--soft); }

/* ===== Подвал ===== */
.site-footer {
  background: #1C1B19;
  color: #CFC9C0;
  padding: 56px 0 28px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand .brand-mark { width: 32px; height: 38px; fill: #fff; }
.footer-brand strong { color: #fff; font-size: 19px; letter-spacing: -0.01em; }
.footer-brand p { font-size: 14px; color: #9B958B; margin-top: 2px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: #CFC9C0; font-size: 14.5px; }
.footer-nav a:hover { color: #FFB35C; }
.footer-bottom { padding-top: 24px; }
.footer-bottom p { font-size: 13.5px; color: #9B958B; }

/* ===== Внутренние страницы (privacy / terms) ===== */
.doc-page { padding: 56px 0 88px; }
.doc-page .container { max-width: 760px; }
.doc-page h1 {
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.doc-date { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.doc-page h2 { font-size: 20px; margin: 32px 0 10px; letter-spacing: -0.01em; }
.doc-page p, .doc-page li { font-size: 15.5px; color: #3D3A35; margin-bottom: 10px; }
.doc-page ul { padding-left: 22px; margin-bottom: 12px; }
.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  margin-bottom: 28px;
}

/* ===== Появление при скролле ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Адаптив ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-phone-wrap { margin-top: 8px; }
  .phone { width: 250px; height: 515px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-hover);
    padding: 8px 20px 14px;
    display: none;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .burger { display: flex; }

  .section { padding: 64px 0; }
  .hero { padding: 48px 0 120px; }

  /* шаги — вертикально */
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step-btn {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 18px;
  }
  .step-icon { width: 60px; height: 60px; border-radius: 18px; flex: none; }
  .step-icon svg { width: 27px; height: 27px; }
  .step-text { flex: 1; align-items: flex-start; }
  .step-num { display: none; }
  .step-h { margin-top: 4px; }
  .step-p { max-width: none; }
  .track {
    top: 30px;
    bottom: 30px;
    left: 29px;
    right: auto;
    border-top: 0;
    border-left: 2px dashed #D9CFC2;
  }
  .courier-dot {
    left: -1px;
    top: calc(var(--p, 0) * 100%);
  }
  .step.is-active .step-icon { transform: scale(1.06); }

  .segments { width: 100%; justify-content: center; }
  .seg-btn { padding: 10px 14px; font-size: 14px; flex: 1; }
  .timeline::before { left: 19px; }
  .tl-item { padding-left: 60px; }
  .tl-item::before { width: 40px; height: 40px; font-size: 15px; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 430px) {
  .container { width: min(1120px, 100% - 32px); }
  .cards-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 31px; }
  .btn { width: 100%; }
  .hero-actions { width: 100%; }
  .phone { width: 228px; height: 478px; }
  .app-banner { padding: 48px 20px 44px; }
  .store-badge { width: 160px; height: 50px; }
}

/* ===== Отключение анимаций ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .phone { animation: none !important; }
}
