:root {
  --bg: #0d100e;
  --bg-alt: #121613;
  --surface: #171c18;
  --surface-2: #1e2420;
  --line: #2a312c;
  --text: #e9ede6;
  --muted: #9aa49b;
  --accent: #f2c230;
  --accent-ink: #1a1505;
  --olive: #7f9a62;
  --ok: #7fd36b;
  --ua-blue: #2f6fd6;
  --radius: 14px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
button { font: inherit; color: inherit; cursor: pointer; }
.mono { font-family: var(--mono); font-size: .85em; letter-spacing: .02em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; text-decoration: none; transition: transform .15s, background .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #ffd34a; }
.btn--ghost { border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { background: var(--surface-2); border: 1px solid var(--line); width: 40px; height: 40px; border-radius: 10px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 16, 14, .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); }
.logo__text { display: grid; line-height: 1.05; }
.logo__text b { font: 800 19px var(--display); letter-spacing: .08em; }
.logo__text small { font: 600 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.lang button { background: none; border: 0; padding: 8px 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.lang button.is-active { background: var(--surface-2); color: var(--accent); }
.cart-btn { position: relative; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 40px; display: grid; place-items: center; }
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn__count {
  position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800;
  display: grid; place-items: center; transform: scale(0); transition: transform .2s;
}
.cart-btn__count.has { transform: scale(1); }
.cart-btn.bump { animation: bump .4s; }
@keyframes bump { 40% { transform: scale(1.15); } }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--text); margin: 6px 0; transition: transform .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .35;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.hero__row { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; color: var(--muted); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(127, 211, 107, .18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(127, 211, 107, 0); } }
.hero__title { font: 800 clamp(34px, 5.4vw, 64px)/1.05 var(--display); letter-spacing: -.01em; }
.hero__title br + * , .hero__title { text-wrap: balance; }
.hero__text { color: var(--muted); font-size: 18px; max-width: 54ch; margin: 22px 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual { position: relative; display: grid; justify-items: center; gap: 18px; }
/* Экран пульта в hero: дрон летит, таймер обгоняет штатную батарею */
.fly {
  --hud: #e9ede6; --hud-dim: rgba(233, 237, 230, .55);
  position: relative; width: 100%; max-width: 520px; aspect-ratio: 5 / 4; border-radius: 22px; overflow: hidden;
  border: 1px solid #2f3832; background: #0a0d0b; isolation: isolate;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 6px #101411;
}
.fly__sky { position: absolute; inset: 0; background: radial-gradient(120% 70% at 70% 0%, #2a3b45 0%, #17222a 40%, #0c1114 75%); }
.fly__horizon { position: absolute; left: 0; right: 0; top: 52%; height: 40px; transform: translateY(-50%);
  background: radial-gradient(60% 100% at 60% 50%, rgba(242, 194, 48, .18), transparent 70%); }
.fly__sun { position: absolute; width: 46%; aspect-ratio: 1; right: -8%; top: -14%; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 194, 48, .35), rgba(242, 194, 48, 0) 65%); }
.fly__ground {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 62%;
  transform: perspective(260px) rotateX(62deg); transform-origin: 50% 100%;
  background-color: #111a14;
  background-image: linear-gradient(rgba(150, 190, 110, .75) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(150, 190, 110, .5) 1.5px, transparent 1.5px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to top, #000 45%, transparent 100%);
  animation: fly-ground 1.6s linear infinite;
}
@keyframes fly-ground { to { background-position: 0 44px; } }
.fly__wind i { position: absolute; height: 1px; width: 70px; right: -80px; background: linear-gradient(90deg, transparent, rgba(233, 237, 230, .35)); animation: fly-wind 2.4s linear infinite; }
.fly__wind i:nth-child(1) { top: 22%; animation-delay: -.3s; }
.fly__wind i:nth-child(2) { top: 31%; width: 40px; animation-delay: -1.1s; animation-duration: 1.8s; }
.fly__wind i:nth-child(3) { top: 44%; animation-delay: -1.7s; }
.fly__wind i:nth-child(4) { top: 15%; width: 50px; animation-delay: -.8s; animation-duration: 3s; }
.fly__wind i:nth-child(5) { top: 52%; width: 30px; animation-delay: -2s; animation-duration: 2s; }
.fly__wind i:nth-child(6) { top: 37%; width: 90px; animation-delay: -.2s; animation-duration: 2.8s; }
@keyframes fly-wind { to { transform: translateX(-720px); } }

/* луч тепловизора — Matrice 4T «сканирует» местность */
.fly__scan {
  position: absolute; left: 50%; top: 52%; width: 46%; height: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(242, 194, 48, .22), rgba(242, 194, 48, 0) 85%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); mix-blend-mode: screen;
  animation: fly-scan 3.4s ease-in-out infinite;
}
@keyframes fly-scan { 0%, 100% { transform: translateX(-62%) skewX(8deg); opacity: .7; } 50% { transform: translateX(-38%) skewX(-8deg); opacity: 1; } }

.fly__drone { position: absolute; left: 50%; top: 18%; width: 78%; transform: translateX(-50%); filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .55)); animation: fly-hover 3.2s ease-in-out infinite; }
@keyframes fly-hover { 0%, 100% { transform: translate(-50%, 0) rotate(-1.2deg); } 50% { transform: translate(-50%, -9px) rotate(1deg); } }
.d-prop { fill: rgba(200, 210, 205, .38); transform-box: fill-box; transform-origin: center; animation: d-prop .09s linear infinite alternate; filter: blur(.6px); }
.d-prop--b { animation-delay: -.045s; }
@keyframes d-prop { from { transform: scaleX(1); } to { transform: scaleX(.18); } }
.d-rear { opacity: .85; }
.d-bat__lvl { fill: var(--ok); transform-box: fill-box; transform-origin: left center; transition: fill .3s; }
.d-led { animation: d-blink 1.2s steps(2, jump-none) infinite; }
.d-led--r { fill: #ff4d4d; }
.d-led--g { fill: #57f287; animation-delay: -.6s; }
.d-led--cam { fill: #ff4d4d; animation-duration: .8s; }
@keyframes d-blink { 50% { opacity: .15; } }

/* HUD */
.hud { position: absolute; z-index: 2; display: grid; font-family: var(--mono); color: var(--hud); text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.hud--tl { top: 16px; left: 18px; }
.hud--tr { top: 16px; right: 18px; text-align: right; }
.hud--side { top: 42%; right: 18px; gap: 4px; font-size: 11px; color: var(--hud-dim); text-align: right; }
.hud--side b { color: var(--hud); font-weight: 600; }
.hud__rec { font-size: 11px; color: #ff6b6b; animation: d-blink 1.4s steps(2, jump-none) infinite; }
.hud__lbl { font-size: 10px; letter-spacing: .14em; color: var(--hud-dim); margin-top: 6px; }
.hud__time { font: 700 clamp(26px, 4vw, 34px)/1 var(--mono); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.hud__bat { font: 700 22px/1.1 var(--mono); font-variant-numeric: tabular-nums; }
.hud__v { font-size: 11px; color: var(--hud-dim); font-variant-numeric: tabular-nums; }
.fly.is-low .hud__bat { color: #ffb648; }

.fly__toast {
  position: absolute; z-index: 3; left: 50%; top: 13%; transform: translate(-50%, -6px); white-space: nowrap;
  padding: 7px 12px; border-radius: 8px; font: 700 12px var(--font); opacity: 0; transition: opacity .35s, transform .35s;
  backdrop-filter: blur(6px);
}
.fly__toast--stock { background: rgba(224, 87, 79, .88); color: #fff; }
.fly__toast--ours { background: rgba(127, 211, 107, .92); color: #0b1a08; }
.fly.is-stock .fly__toast--stock, .fly.is-done .fly__toast--ours { opacity: 1; transform: translate(-50%, 0); }
.fly.is-done .fly__toast--stock { opacity: 0; }

/* шкала времени: штатная отметка и наш прогресс */
.fly__track { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; }
.fly__bar { height: 6px; border-radius: 3px; background: rgba(233, 237, 230, .14); overflow: hidden; }
.fly__bar b { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--ok), var(--accent)); box-shadow: 0 0 12px rgba(242, 194, 48, .6); }
.fly__mark { position: absolute; top: -5px; width: 2px; height: 16px; background: #e0574f; transform: translateX(-1px); }
.fly__mark span { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font: 600 10px var(--mono); color: #ff8a80; white-space: nowrap; }
.fly__ends { display: flex; justify-content: space-between; margin-top: 6px; font: 500 10px var(--mono); color: var(--hud-dim); }
.fly__corner { position: absolute; z-index: 2; width: 18px; height: 18px; border: 2px solid rgba(233, 237, 230, .35); }
.fly__corner--tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.fly__corner--tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.fly__corner--bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.fly__corner--br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
@media (prefers-reduced-motion: reduce) {
  .fly__ground, .fly__wind i, .fly__scan, .fly__drone, .d-prop, .d-led, .hud__rec { animation: none; }
}

.stats { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stats li { padding: 20px 22px; display: grid; gap: 2px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b { font: 700 24px var(--display); color: var(--accent); }
.stats span { color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__title { font: 700 clamp(26px, 3.4vw, 40px)/1.15 var(--display); margin-bottom: 12px; text-wrap: balance; }
.section__sub { color: var(--muted); margin: 0 0 28px; max-width: 60ch; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 8px; }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.why__item { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.why__num { font: 500 13px var(--mono); color: var(--accent); }
.why__item h3 { font-size: 18px; margin: 14px 0 8px; }
.why__item p { margin: 0; color: var(--muted); font-size: 15px; }

/* Tabs + catalog */
.tabs { display: flex; gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-bottom: 28px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 8px 14px; border-radius: 8px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tabs button.is-active { background: var(--surface-2); color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.product {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); overflow: hidden; transition: border-color .2s, transform .2s;
}
.product:hover { border-color: #3f4a41; transform: translateY(-3px); }
.product__img { position: relative; aspect-ratio: 4/3; background: var(--surface-2); cursor: pointer; border: 0; padding: 0; width: 100%; }
/* Фото товаров на светлом фоне — показываем целиком, без обрезки */
.product__img img, .pm__img img, .pm__thumbs img { width: 100%; height: 100%; object-fit: contain; background: #f2f2f0; }
.product__img img[data-failed], .pm__img img[data-failed] { object-fit: cover; background: none; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 99px; }
.product__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product__name { font-size: 17px; font-weight: 700; }
.product__short { color: var(--muted); font-size: 14px; margin: 0; }
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; }
.spec-chip { font: 500 12px var(--mono); padding: 4px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); }
.product__foot { margin-top: auto; padding-top: 8px; display: grid; gap: 12px; }
.product__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price { display: grid; }
.price small { color: var(--muted); font-size: 12px; }
.price b { font: 700 22px var(--display); }
.price .usd { color: var(--muted); font-size: 13px; }
.product__tier { font-size: 13px; color: var(--olive); font-weight: 600; }

/* Calculator */
.calc { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.calc__note { color: var(--muted); font-size: 13px; margin-top: 18px; }
.calc__bars { display: grid; gap: 14px; }
.bar { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.bar__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.bar__name { font-weight: 700; }
.bar__val { font: 700 22px var(--display); white-space: nowrap; }
.bar__val small { font: 500 13px var(--font); color: var(--muted); }
.bar__track { height: 12px; border-radius: 6px; background: var(--bg); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 6px; background: var(--muted); width: 0; transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.bar--ours .bar__fill { background: linear-gradient(90deg, var(--olive), var(--accent)); }
.bar--ours { border-color: #4a4320; }
.bar__meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.plus { color: var(--ok); font-weight: 700; }
.tag-ok { color: var(--ok); }
.calc__empty { padding: 24px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* Forms */
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 24px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field > span, .field legend { font-size: 13px; font-weight: 600; color: var(--muted); padding: 0; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 13px; transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
.is-invalid { border-color: #e0574f !important; }
textarea { resize: vertical; }
.form .btn { margin-top: 18px; }
.form__note { color: var(--muted); font-size: 13px; margin: 14px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--col { flex-direction: column; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 0; }
.chips span { display: block; padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 600; transition: border-color .2s, background .2s; }
.chips input:checked + span { border-color: var(--accent); background: rgba(242, 194, 48, .08); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.custom { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.custom__schema { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 360px; }
.custom__schema div { padding: 12px 6px; text-align: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
.custom__schema div:nth-child(-n+4) { color: var(--accent); }

/* Funds */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; padding: 24px; border-top: 2px solid var(--accent); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); }
.steps li::before { content: "0" counter(s); font: 500 13px var(--mono); color: var(--accent); }
.steps h3 { font-size: 18px; margin: 10px 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.donors {
  display: flex; align-items: center; gap: 20px; margin-top: 28px; padding: 22px 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(110deg, rgba(242, 194, 48, .07), transparent 55%), var(--surface);
}
.donors__icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(242, 194, 48, .12); color: var(--accent); }
.donors__icon svg { width: 26px; height: 26px; }
.donors__text { flex: 1; }
.donors__text h3 { font-size: 18px; margin-bottom: 4px; }
.donors__text p { margin: 0; color: var(--muted); font-size: 15px; }
.donors .btn { flex: none; }
/* Floating contact button */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: grid; justify-items: end; gap: 10px; }
.fab__btn {
  width: 58px; height: 58px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: transform .2s;
}
.fab__btn:hover { transform: scale(1.06); }
.fab__btn svg { width: 26px; height: 26px; grid-area: 1 / 1; transition: opacity .2s, transform .2s; }
.fab__x { opacity: 0; transform: rotate(-90deg); }
.fab.is-open .fab__chat { opacity: 0; transform: rotate(90deg); }
.fab.is-open .fab__x { opacity: 1; transform: none; }
.fab:not(.is-open) .fab__btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ring 2.4s infinite; pointer-events: none;
}
.fab__btn { position: relative; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.fab__menu { display: grid; gap: 8px; min-width: 210px; padding: 8px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.fab__menu[hidden] { display: none; }
.fab__menu a, .fab__menu button {
  display: block; text-align: left; padding: 12px 14px; border-radius: 10px; border: 0; background: var(--surface);
  text-decoration: none; font-weight: 700; font-size: 15px;
}
.fab__menu a:hover, .fab__menu button:hover { background: var(--bg); color: var(--accent); }
.fab__menu button { background: var(--accent); color: var(--accent-ink); }
.fab__menu button:hover { background: #ffd34a; color: var(--accent-ink); }

/* Stock, trust, quick order */
.stock { font-size: 13px; color: var(--muted); }
.stock b { color: var(--ok); font-weight: 700; }
.stock--order { color: var(--accent); }
.pm .stock { margin-top: 14px; }
.trust { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.pm__h3 { font-size: 14px; color: var(--muted); }
.pm__sticky { display: grid; gap: 10px; margin-top: 14px; }
.pm__actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.pm__actions .btn { margin: 0; }
.pm__oneclick { justify-self: center; border: 0; background: none; padding: 4px 6px; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pm__oneclick:hover, .pm__oneclick[aria-expanded="true"] { color: var(--text); }
.quick[hidden] { display: none; }
.quick { padding: 14px; border-radius: 12px; border: 1px solid #4a4320; background: rgba(242, 194, 48, .05); }
.quick__label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.quick__row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.form .btn.quick__row, .quick .btn { margin: 0; }
.form__grid--one { grid-template-columns: 1fr; }

/* Wholesale */
.opt {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 24px;
  border-radius: var(--radius); border: 1px solid #4a4320; background: linear-gradient(110deg, rgba(242, 194, 48, .1), transparent 60%), var(--surface);
}
.opt h3 { font-size: 20px; margin-bottom: 6px; }
.opt p { margin: 0; color: var(--muted); max-width: 60ch; }
.opt__btns { display: flex; gap: 10px; flex: none; flex-wrap: wrap; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.review { position: relative; margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: grid; gap: 14px; align-content: start; }
.review blockquote { margin: 0; font-size: 16px; }
.review blockquote::before { content: "“"; display: block; font: 800 40px/0.6 var(--display); color: var(--accent); margin-bottom: 8px; }
.review figcaption { display: grid; font-size: 14px; }
.review figcaption span { color: var(--muted); font-size: 13px; }
.review__photo { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; }
.review__demo { position: absolute; top: 14px; right: 14px; font: 500 11px var(--mono); color: var(--accent); border: 1px dashed var(--accent); padding: 2px 8px; border-radius: 6px; }

/* Drone links */
.drone-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.drone-link {
  display: grid; gap: 4px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); text-decoration: none; transition: border-color .2s, transform .2s;
}
.drone-link:hover { border-color: var(--accent); transform: translateY(-2px); }
.drone-link b { font: 700 17px var(--display); }
.drone-link span { color: var(--ok); font-size: 14px; font-weight: 600; }
.drone-link em { font-style: normal; color: var(--accent); font-size: 14px; font-weight: 700; margin-top: 8px; }

/* Drone page */
.dp-hero { padding: 64px 0 24px; }
.dp-hero .hero__title { font-size: clamp(28px, 4.4vw, 52px); max-width: 20ch; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.contact--btn { text-align: left; font: inherit; color: inherit; cursor: pointer; border-color: #4a4320; }
.sent__small { font-size: 14px; margin-top: 18px; }
.sent__btns--row { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pm__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }

/* Info cards */
.info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.info h3 { font-size: 18px; margin-bottom: 14px; }
.info ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.info li { position: relative; padding-left: 22px; color: var(--muted); font-size: 15px; }
.info li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: var(--accent); }

/* FAQ */
.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 700; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; color: var(--accent); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--muted); }

/* Contacts */
.contacts { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.contacts__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact { display: grid; gap: 2px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: border-color .2s; min-width: 0; }
.contact:hover { border-color: var(--accent); }
.contact b { font-size: 13px; color: var(--muted); }
.contact span { font-weight: 700; overflow-wrap: anywhere; }

.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.footer__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer b { color: var(--text); font-family: var(--display); letter-spacing: .06em; }

/* Drawer */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 80; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(420px, 100%);
  background: var(--bg-alt); border-left: 1px solid var(--line); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font: 700 20px var(--display); }
.drawer__body { flex: 1; overflow-y: auto; padding: 12px 20px; }
.drawer__foot { padding: 18px 20px; border-top: 1px solid var(--line); }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.total b { font: 700 24px var(--display); }
.empty { color: var(--muted); text-align: center; padding: 48px 0; }
.line { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
.line__name { font-weight: 700; font-size: 15px; }
.line__unit { color: var(--muted); font-size: 13px; }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.line__rm { background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; padding: 0; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.stepper button { width: 36px; height: 36px; background: var(--surface-2); border: 0; font-size: 18px; }
.stepper input { width: 56px; height: 36px; border: 0; border-radius: 0; text-align: center; padding: 0; background: var(--bg); -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Modals */
.modal {
  width: min(820px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line);
  border-radius: 18px; background: var(--bg-alt); color: var(--text);
}
.modal--sm { width: min(480px, calc(100% - 24px)); }
.modal::backdrop { background: rgba(0, 0, 0, .65); backdrop-filter: blur(3px); }
.modal__inner { padding: 24px; }
.modal__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.modal__head h2 { font: 700 22px var(--display); }
.pm { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pm__img { border-radius: var(--radius); overflow: hidden; background: var(--surface-2); aspect-ratio: 4/3; }
.pm__gallery { display: grid; gap: 10px; align-content: start; }
.pm__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pm__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--surface-2); aspect-ratio: 1; }
.pm__thumbs button.is-active { border-color: var(--accent); }
.pm h2 { font: 700 22px/1.2 var(--display); margin-bottom: 8px; }
.specs { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.specs td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.specs td:first-child { color: var(--muted); }
.specs td:last-child { text-align: right; font-family: var(--mono); font-size: 13px; }
.tiers { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 18px; }
.tiers th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; padding: 6px 10px; }
.tiers td { padding: 8px 10px; border-top: 1px solid var(--line); }
.tiers tr.is-current td { background: rgba(242, 194, 48, .08); color: var(--accent); font-weight: 700; }
.pm__buy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pm__sum { display: grid; }
.pm__sum small { color: var(--muted); font-size: 13px; }
.pm__sum b { font: 700 22px var(--display); }
.pm__custom { display: inline-block; margin-top: 16px; color: var(--accent); font-size: 14px; font-weight: 600; text-decoration: none; }
.pm__close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.co-summary { padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 18px; font-size: 14px; }
.co-summary div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.co-summary .co-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; font-weight: 800; }
.sent { text-align: center; }
.sent__icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: rgba(127, 211, 107, .12); color: var(--ok); font-size: 28px; }
.sent h2 { font: 700 22px var(--display); margin-bottom: 10px; }
.sent p { color: var(--muted); }
.sent__btns { display: grid; gap: 10px; margin-top: 18px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 20px); opacity: 0;
  background: var(--surface-2); border: 1px solid var(--line); padding: 12px 18px; border-radius: 12px; font-weight: 600;
  transition: opacity .25s, transform .25s; pointer-events: none;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .nav {
    position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    transform: translateY(-120%); transition: transform .3s; z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .header__actions { margin-left: auto; }
  .burger { display: block; }
  .why, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero { padding-top: 40px; }
  .hero__row, .calc, .custom, .faq, .contacts, .pm { grid-template-columns: 1fr; gap: 32px; }
  .hero__visual { order: -1; max-width: 360px; margin-inline: auto; width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .info { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .why, .steps, .form__grid, .contacts__list { grid-template-columns: 1fr; }
  .donors, .opt { flex-direction: column; align-items: stretch; }
  .donors .btn, .opt__btns .btn { width: 100%; }
  .fab { right: 14px; bottom: 14px; }
  /* buy block stays at the bottom of the product window on phones */
  .pm__sticky {
    position: sticky; bottom: -18px; z-index: 2; margin-inline: -18px; padding: 12px 18px 18px;
    background: var(--bg-alt); border-top: 1px solid var(--line);
  }
  .hero__cta .btn { width: 100%; }
  .modal__inner { padding: 18px; }
  .logo__text b { font-size: 17px; }
  .stats li { padding: 16px; }
  .stats b { font-size: 20px; }
}
.custom__lead { margin: 0 0 14px; color: var(--muted); font-size: 15px; }

/* Реальні тести — фото з пульта */
.tests { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.test { position: relative; display: grid; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); color: inherit; text-align: left; cursor: zoom-in; font: inherit; }
.test img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.test__time { position: absolute; top: 12px; left: 12px; font: 700 15px var(--mono); background: var(--accent); color: var(--accent-ink); padding: 4px 10px; border-radius: 8px; }
.test__cap { display: grid; gap: 2px; padding: 14px 16px; font-size: 14px; }
.test__cap small { color: var(--muted); font-size: 13px; }
.proof-link { border: 0; background: none; padding: 0; color: var(--accent); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.modal--proof { max-width: 980px; }
.proof__img { display: block; width: 100%; max-height: 72vh; object-fit: contain; border-radius: 10px; background: #000; }
.proof__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 14px; font-size: 14px; }
.proof__cap span { color: var(--muted); flex: 1 1 auto; }
.catalog__note { grid-column: 1 / -1; }
.form__privacy { margin: 10px 0 0; font-size: 12px; line-height: 1.4; color: var(--muted); text-align: center; }

/* Доставка: подсказки городов и отделений Новой Почты */
.delivery { display: grid; gap: 14px; }
.delivery[hidden] { display: none; }
.ac { position: relative; }
.ac > label { font-size: 13px; font-weight: 600; color: var(--muted); }
.ac input:disabled { opacity: .5; cursor: not-allowed; }
.ac__list { position: absolute; z-index: 5; top: 100%; left: 0; right: 0; margin-top: 4px; max-height: 260px; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.ac__item { display: grid; width: 100%; gap: 2px; text-align: left; padding: 10px 13px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.ac__item:last-child { border-bottom: 0; }
.ac__item:hover, .ac__item.is-active { background: rgba(242, 194, 48, .08); }
.ac__item small { color: var(--muted); font-size: 12px; }
.ac__empty { padding: 10px 13px; color: var(--muted); font-size: 14px; }
.delivery__hint { margin: -4px 0 0; font-size: 12px; color: var(--muted); }
.chips label[hidden] { display: none; }
.pay__hint { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
@media (max-width: 480px) {
  .hud--side { display: none; }
  .fly__drone { width: 88%; top: 22%; }
  .fly__toast { font-size: 11px; top: auto; bottom: 50px; }
}

/* Контакты: один номер + иконки мессенджеров, отдельно «Передзвоніть» и TikTok */
.contacts__list { grid-template-columns: 1fr 1fr; }
.cbox { display: grid; gap: 4px; align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: inherit; text-decoration: none; font: inherit; text-align: left; transition: border-color .2s; }
.cbox:hover { border-color: var(--accent); }
.cbox--main { grid-column: 1 / -1; gap: 10px; }
.cbox--main:hover { border-color: var(--line); }
.cbox__lbl { font-size: 13px; font-weight: 600; color: var(--muted); }
.cbox__phone { font: 700 clamp(22px, 3vw, 28px)/1.1 var(--display); color: var(--text); text-decoration: none; letter-spacing: .01em; }
.cbox__phone:hover { color: var(--accent); }
.cbox__icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 4px; }
.ic { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); text-decoration: none; transition: transform .15s, border-color .2s; }
.ic:hover { transform: translateY(-2px); border-color: currentColor; }
.ic svg { width: 26px; height: 26px; fill: currentColor; }
.ic em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); }
.ic--telegram { color: #2aabee; } .ic--viber { color: #8f6cf6; } .ic--whatsapp { color: #25d366; } .ic--phone { color: var(--accent); }
.cbox b { font-size: 16px; }
.cbox small, .cbox > span { color: var(--muted); font-size: 13px; }
.cbox--tiktok > span { color: var(--text); font-weight: 600; }
.cbox__ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); margin-bottom: 6px; }
.cbox__ico svg { width: 22px; height: 22px; fill: currentColor; }
.cbox--call { cursor: pointer; border-color: #4a4320; }
.cbox--call .cbox__ico { color: var(--accent); }
@media (max-width: 420px) { .cbox__icons { gap: 6px; } .ic { padding: 10px 2px; } .ic em { font-size: 11px; } }
.opt .opt__mil { margin-top: 10px; padding: 10px 12px; border-left: 3px solid var(--olive); background: rgba(127, 154, 98, .08); border-radius: 0 8px 8px 0; color: var(--text); font-size: 14px; }

/* Страница товара */
.pp { padding-top: 40px; }
.pp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.pp__gallery { display: grid; gap: 10px; position: sticky; top: 84px; }
.pp__thumbs button { cursor: pointer; }
.pp__title { font: 800 clamp(22px, 2.6vw, 30px)/1.2 var(--display); margin: 0 0 12px; }
.pp__lead { color: var(--muted); margin: 0 0 18px; }
.pp__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 8px; }
.pp__price b { font: 800 34px var(--display); color: var(--accent); }
.pp__price span { color: var(--muted); font-size: 14px; }
.pp__info .pm__actions { margin: 16px 0 6px; }
.pp__info .pm__oneclick { display: block; margin: 0 auto 8px; }
.pp__h2 { font: 700 20px var(--display); margin: 28px 0 10px; }
.pp__flight td:last-child { display: grid; justify-items: end; }
.pp__flight small { color: var(--muted); font: 400 12px var(--font); }
.pp__tests { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pp__more ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
.product__name a { color: inherit; text-decoration: none; }
.product__name a:hover { color: var(--accent); }
@media (max-width: 860px) { .pp__grid { grid-template-columns: 1fr; gap: 24px; } .pp__gallery { position: static; } }
