/* Frodo Logistic — лендинг. Мобильный первым, десктоп через медиазапросы. */

:root {
  --navy: #0B1F3A;
  --navy-2: #122C52;
  --navy-3: #1B3A6B;
  --ink: #0F172A;
  --text: #1F2937;
  --muted: #64748B;
  --bg: #F6F7FB;
  --bg-soft: #EEF2F8;
  --card: #FFFFFF;
  --line: #E3E8F0;
  --orange: #FF6A1F;
  --orange-2: #E25812;
  --orange-soft: #FFF1E8;
  --gold: #E8A33D;
  --gold-2: #D6891B;
  --gold-soft: #FFF6E3;
  --green: #16A34A;
  --green-soft: #E7F7EC;
  --red: #DC2626;
  --red-soft: #FDECEC;
  --tg: #2AABEE;
  --max: #6E3BFF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .08);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, .18);
  --font-head: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
body.modal-open, body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); margin: 0; letter-spacing: -.01em; line-height: 1.15; }
h1 { font-size: clamp(32px, 5.2vw, 56px); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
.muted { color: var(--muted); }
.star { color: var(--gold); }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 15px 26px; font-size: 16px; border-radius: 14px; }
.btn--sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(255, 106, 31, .28); }
.btn--primary:hover { background: var(--orange-2); box-shadow: 0 10px 24px rgba(255, 106, 31, .35); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.btn--ghost-dark { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost-dark:hover { background: var(--bg-soft); }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--link { color: var(--orange-2); padding: 6px 8px; font-weight: 600; }
.btn--link:hover { text-decoration: underline; }

/* ---------- шапка */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-head); }
.brand__text b { font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.brand__text small { font-size: 9.5px; letter-spacing: .32em; font-weight: 600; color: var(--gold-2); margin-top: 3px; }
.brand--light .brand__text b { color: #fff; }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 500; font-size: 15px; }
.nav a { color: var(--text); opacity: .85; }
.nav a:hover { opacity: 1; color: var(--navy); }
.nav__login { font-weight: 600; }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- герой */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(232, 163, 61, .22), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(255, 106, 31, .18), transparent 60%),
    linear-gradient(180deg, #0B1F3A 0%, #0E2548 60%, #0B1F3A 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}
.hero__inner {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding: 72px 0 80px;
}
.hero h1 { color: #fff; margin: 18px 0 20px; }
.lead { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .8); max-width: 560px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--gold); padding: 6px 12px; border: 1px solid rgba(232, 163, 61, .35); border-radius: 999px; background: rgba(232, 163, 61, .08); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 31, .25); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.ico { width: 22px; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, .1); position: relative; flex: none; }
.ico::before { content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border-radius: 3px; background: var(--gold); }
.ico--star::before { background: var(--orange); border-radius: 50%; }
.ico--phone::before { width: 7px; height: 11px; background: #fff; border-radius: 2px; }

/* телефон (макет) */
.hero__visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 300px; aspect-ratio: 9 / 19; border-radius: 40px; padding: 10px;
  background: linear-gradient(160deg, #1f2f4d, #0a1628); box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .08);
  position: relative;
}
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 14px; background: #0a1628; z-index: 2; }
.phone__screen { height: 100%; border-radius: 32px; background: #F4F6FA; color: var(--text); overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 46px 12px 12px; position: relative; }
.phone--sm { width: 260px; }
.ph-top { display: flex; align-items: center; justify-content: space-between; }
.ph-logo { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 800; font-size: 13px; color: var(--navy); }
.ph-logo img { width: 20px; height: 20px; }
.ph-bell { width: 26px; height: 26px; border-radius: 8px; background: #fff; border: 1px solid var(--line); position: relative; }
.ph-bell i { position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.ph-seg { display: grid; grid-template-columns: 1fr 1fr; background: #E6EAF2; border-radius: 10px; padding: 3px; font-size: 12px; font-weight: 600; text-align: center; }
.ph-seg span { padding: 6px; border-radius: 8px; color: var(--muted); }
.ph-seg .on { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.ph-map {
  position: relative; height: 150px; border-radius: 12px; overflow: hidden;
  background:
    radial-gradient(120px 60px at 20% 30%, #DCE8F5 0, transparent 70%),
    radial-gradient(140px 70px at 75% 70%, #E2EEDC 0, transparent 70%),
    linear-gradient(#EDF1F7, #E6EBF3);
}
.ph-road { position: absolute; height: 3px; background: #fff; border-radius: 2px; opacity: .9; }
.ph-road--1 { width: 120%; left: -10%; top: 48%; transform: rotate(-12deg); }
.ph-road--2 { width: 120%; left: -10%; top: 30%; transform: rotate(28deg); }
.ph-pin { position: absolute; width: 26px; height: 26px; transform: translate(-50%, -100%); background: var(--navy); border-radius: 50% 50% 50% 0; rotate: -45deg; box-shadow: 0 4px 10px rgba(0, 0, 0, .2); }
.ph-pin b { position: absolute; inset: 0; display: grid; place-items: center; rotate: 45deg; color: #fff; font-size: 11px; font-style: normal; }
.ph-pin--new { background: var(--orange); }
.ph-card { background: #fff; border-radius: 12px; padding: 10px; border: 1px solid var(--line); font-size: 11px; display: grid; gap: 6px; }
.ph-card--new { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 106, 31, .12); }
.ph-card__top { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.ph-card__route { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.ph-card__route b { font-size: 12px; color: var(--ink); }
.ph-card__route span { color: var(--muted); font-size: 10px; }
.ph-card__bottom { display: flex; justify-content: space-between; color: var(--muted); }
.ph-card__bottom b { color: var(--ink); font-size: 12px; }
.ph-tabs { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); font-size: 10px; text-align: center; color: var(--muted); border-top: 1px solid var(--line); padding-top: 8px; }
.ph-tabs .on { color: var(--orange-2); font-weight: 600; }
.hero__float {
  position: absolute; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; font-size: 12px; line-height: 1.3;
  animation: float 6s ease-in-out infinite;
}
.hero__float b { font-family: var(--font-head); font-size: 16px; font-weight: 800; }
.hero__float span { color: var(--muted); }
.hero__float--1 { left: 4%; top: 18%; }
.hero__float--2 { right: 0; bottom: 20%; flex-direction: row; align-items: center; gap: 6px; animation-delay: -3s; }
.hero__float--2 .star { font-size: 16px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- секции */
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section__head p { color: rgba(255, 255, 255, .72); }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head h2 { margin: 10px 0 14px; }
.section__head p { font-size: 17px; color: var(--muted); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-2); }
.kicker--light { color: var(--gold); }
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin: 16px 0 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 20px; color: #fff; }
.card__icon--max { background: var(--max); }
.card__icon--tg { background: var(--tg); }
.card__icon--site { background: var(--gold-soft); }
.card__icon--site img { width: 34px; height: 34px; }

.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1.2fr; align-items: center; gap: 10px; margin-top: 36px; }
.flow__step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-align: center; display: grid; gap: 2px; }
.flow__step span { font-weight: 600; font-size: 14px; color: var(--ink); }
.flow__step small { font-size: 12px; color: var(--muted); }
.flow__step--accent { background: var(--navy); border-color: var(--navy); }
.flow__step--accent span { color: #fff; }
.flow__arrow { width: 28px; height: 2px; background: var(--line); position: relative; }
.flow__arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left-color: var(--line); }

/* ---------- заявки: карта + список */
.section--orders { background: #fff; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.toolbar__left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.count { font-weight: 700; font-family: var(--font-head); color: var(--navy); padding-right: 6px; }
.select { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.select select, .field select, .field input {
  padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: 14px; color: var(--text); min-width: 0;
}
.select select:focus, .field select:focus, .field input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 106, 31, .15); }
.view-toggle { display: none; background: var(--bg-soft); border-radius: 10px; padding: 3px; }
.view-btn { padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--muted); }
.view-btn.active { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }

.board { display: grid; grid-template-columns: 400px 1fr; gap: 18px; height: 640px; }
.board__list { overflow: auto; display: grid; gap: 12px; align-content: start; padding-right: 6px; scrollbar-width: thin; }
.board__map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
#map { position: absolute; inset: 0; background: #E9EEF5; }
.map-legend { position: absolute; left: 12px; bottom: 12px; z-index: 400; background: rgba(255, 255, 255, .92); border-radius: 10px; padding: 8px 12px; font-size: 12px; color: var(--muted); display: grid; gap: 4px; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.route-mini { width: 22px; height: 0; border-top: 3px dashed var(--orange); }
.empty { color: var(--muted); padding: 24px; text-align: center; border: 1px dashed var(--line); border-radius: 12px; }

.order { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 10px; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.order:hover { border-color: #C9D3E3; box-shadow: var(--shadow); }
.order:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.order--active { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 106, 31, .15); }
.order--new { background: var(--orange-soft); }
.order__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.order__date { font-size: 12px; color: var(--muted); white-space: nowrap; }
.src { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.src::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.src--max { background: #EFE9FF; color: #5B2ED9; }
.src--tg { background: #E6F4FD; color: #1A86C4; }
.src--site { background: var(--gold-soft); color: var(--gold-2); }
.order__route { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: start; }
.order__city b { display: block; font-family: var(--font-head); font-size: 16px; color: var(--ink); line-height: 1.2; }
.order__city small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.order__city--to { text-align: right; }
.order__km { font-size: 12px; color: var(--muted); padding: 4px 8px; background: var(--bg-soft); border-radius: 999px; white-space: nowrap; margin-top: 2px; position: relative; }
.order__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 3px 8px; border-radius: 6px; background: var(--bg-soft); color: var(--text); }
.tag--type { background: var(--navy); color: #fff; font-weight: 600; }
.order__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
.order__company { font-size: 13px; font-weight: 600; color: var(--ink); }
.order__company small { display: block; font-weight: 400; font-size: 12px; color: var(--text); margin-top: 2px; }
.order__price { text-align: right; }
.order__price b { display: block; font-family: var(--font-head); font-size: 18px; color: var(--navy); white-space: nowrap; }
.order__price small { font-size: 11px; color: var(--muted); }
.np { display: inline-block; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 4px; letter-spacing: .05em; }

/* маркеры Leaflet */
.pin-wrap { background: none; border: 0; }
.pin { width: 36px; height: 36px; background: var(--navy); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 6px 14px rgba(11, 31, 58, .35); border: 2px solid #fff; display: grid; place-items: center; }
.pin span { transform: rotate(45deg); color: #fff; font-weight: 700; font-size: 13px; font-family: var(--font-head); }
.pin--new { background: var(--orange); }
.pin--mini { width: 16px; height: 16px; border-width: 1.5px; box-shadow: none; display: inline-block; }
.leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: var(--shadow-lg); }
.leaflet-popup-content { margin: 12px 14px; font-family: var(--font-body); font-size: 13px; }
.popup__title { font-weight: 700; color: var(--navy); margin-bottom: 6px; font-family: var(--font-head); }
.popup__item { display: flex; justify-content: space-between; gap: 10px; width: 100%; text-align: left; padding: 7px 8px; border-radius: 8px; font-size: 13px; }
.popup__item:hover { background: var(--bg-soft); }
.popup__item b { color: var(--navy); white-space: nowrap; }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted); }
.leaflet-control-attribution { font-size: 10px; }

/* ---------- шаги */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 26px; }
.step__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 18px; }
.step h3 { margin: 18px 0 8px; font-size: 18px; }
.step p { color: rgba(255, 255, 255, .72); font-size: 14.5px; }

/* ---------- перевозчикам / заказчикам */
.card--big { padding: 36px; display: grid; gap: 14px; align-content: start; }
.card--big h3 { margin: 4px 0 6px; font-size: 24px; }
.card--big .btn { justify-self: start; margin-top: 10px; }
.card--big-accent { background: linear-gradient(180deg, #fff, var(--gold-soft)); border-color: #F3DDAE; }
.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-size: 15px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- компании */
.company { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; align-content: start; box-shadow: var(--shadow); }
.company--np { border-color: #F3C2C2; background: linear-gradient(180deg, #fff, var(--red-soft)); }
.company__head { display: flex; gap: 12px; align-items: center; }
.company__head h3 { font-size: 17px; }
.company__head small { color: var(--muted); font-size: 12.5px; }
.company__avatar { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 800; }
.company__avatar--2 { background: var(--gold-2); }
.company__avatar--np { background: var(--red); font-size: 22px; }
.company__rating { display: flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: 15px; }
.company__rating b { font-size: 18px; }
.company__rating .star { font-size: 18px; }
.company__rating .muted { font-family: var(--font-body); font-size: 13px; }
.company__facts { display: grid; gap: 6px; font-size: 14px; color: var(--text); }
.company__facts li { padding-left: 14px; position: relative; }
.company__facts li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.company__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--text); }
.badge--ok { background: var(--green-soft); color: var(--green); }
.badge--np { background: var(--red); color: #fff; }
.rating-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; font-size: 14.5px; color: var(--muted); }
.rating-notes b { color: var(--ink); display: block; margin-bottom: 4px; }

/* ---------- приложение + лид */
.section--app { background: #fff; }
.app { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.app h2 { margin: 10px 0 14px; }
.app__copy > p { font-size: 17px; color: var(--muted); max-width: 540px; }
.app__visual { display: flex; justify-content: center; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.store { display: inline-flex; flex-direction: column; padding: 8px 16px; border-radius: 12px; background: var(--navy); color: #fff; line-height: 1.2; min-width: 130px; }
.store b { font-family: var(--font-head); font-size: 15px; }
.store small { font-size: 11px; color: rgba(255, 255, 255, .7); }
.store--soon { opacity: .75; }
.leadform { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.leadform h3 { font-size: 20px; }
.leadform > p { color: var(--muted); font-size: 14.5px; margin-top: -8px; }
.lead__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.lead__row .btn { height: 42px; }
.lead__note { font-size: 12px; color: var(--muted); }
.field { display: grid; gap: 6px; font-size: 13px; color: var(--muted); min-width: 0; }
.field input, .field select { width: 100%; }
.field span { font-weight: 500; }

/* ---------- подвал */
.footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 56px 0 24px; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 16px; font-size: 14px; line-height: 1.6; max-width: 420px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer__cols > div { display: grid; gap: 8px; align-content: start; font-size: 14.5px; }
.footer__cols b { color: #fff; margin-bottom: 4px; }
.footer__cols a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; color: rgba(255, 255, 255, .5); }

/* ---------- модалка */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(11, 31, 58, .55); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal__box { position: relative; width: min(680px, 100%); max-height: 100%; overflow: auto; background: #fff; border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg); animation: pop .2s ease-out; }
@keyframes pop { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px; font-size: 24px; color: var(--muted); line-height: 1; }
.modal__close:hover { background: var(--bg-soft); color: var(--ink); }
.modal__box h3 { font-size: 24px; padding-right: 40px; }
.modal__sub { color: var(--muted); margin: 6px 0 20px; font-size: 14.5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-row--4 { grid-template-columns: repeat(4, 1fr); }
.modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.modal__note { display: block; margin-top: 12px; font-size: 12px; color: var(--muted); text-align: right; }

/* ---------- тосты */
.toasts { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(560px, calc(100% - 32px)); pointer-events: none; }
.toast { background: var(--navy); color: #fff; border-radius: 12px; padding: 12px 16px; font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease; border-left: 4px solid var(--gold); }
.toast.show { opacity: 1; transform: none; }
.toast--ok { border-left-color: var(--green); }
.toast--warn { border-left-color: var(--orange); }

/* ---------- адаптив */
@media (max-width: 1100px) {
  .board { grid-template-columns: 360px 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow__arrow { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .header { backdrop-filter: none; background: #fff; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); z-index: 49;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 16px;
    background: #fff; transform: translateX(100%); transition: transform .25s ease; overflow: auto;
  }
  .nav.open { transform: none; }
  .nav a { padding: 12px 10px; border-radius: 10px; font-size: 17px; }
  .nav a:hover { background: var(--bg-soft); }
  .nav__cta { margin-top: 12px; }
  .burger { display: flex; }
  .brand__mark { width: 34px; height: 34px; }

  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 56px; }
  .hero__visual { order: 2; }
  .hero__float--1 { left: 0; top: 10%; }
  .hero__float--2 { right: 0; bottom: 12%; }
  .lead { font-size: 16.5px; }

  .section { padding: 60px 0; }
  .section__head { margin-bottom: 28px; }
  .section__head--row { flex-direction: column; align-items: stretch; }
  .section__head--row .btn { align-self: flex-start; }
  .grid--3, .grid--2, .rating-notes { grid-template-columns: 1fr; }

  .view-toggle { display: inline-flex; }
  .board { grid-template-columns: 1fr; height: auto; }
  .board__list { max-height: none; padding-right: 0; }
  .board__map { height: 460px; }
  #orders.is-map .board__list { display: none; }
  #orders.is-list .board__map { display: none; }

  .app { grid-template-columns: 1fr; gap: 36px; }
  .app__visual { order: 2; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  h1 { font-size: 32px; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { flex-direction: column; gap: 10px; }
  .phone { width: 260px; }
  .hero__float { display: none; }
  .card { padding: 22px; }
  .card--big { padding: 24px; }
  .toolbar__left { width: 100%; }
  .select { width: 100%; justify-content: space-between; }
  .select select { flex: 1; }
  .form-row, .form-row--4, .lead__row { grid-template-columns: 1fr; }
  .modal__box { padding: 22px 18px; border-radius: 16px; }
  .modal__actions .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .order__route { grid-template-columns: 1fr; }
  .order__city--to { text-align: left; }
  .order__km { justify-self: start; }
  .footer__cols { grid-template-columns: 1fr; }
  .board__map { height: 400px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__float { animation: none; }
}
