/* =========================================================
   ДронНет — камуфляжно-зелёная версия (без скруглений, картинки = заглушки)
   ========================================================= */
:root {
  --ink: #1b2312;
  --ink-soft: #4a5240;
  --muted: #6b7260;
  --surface: #ffffff;
  --surface-2: #f2f3ea;
  --primary: #4b5320;      /* армейский зелёный */
  --primary-dark: #3a4119;
  --accent: #6b8e23;       /* оливковый */
  --lime: #8bb940;
  --line: #dfe2d4;
  --line-dark: #333b1d;
  --radius: 0;
  --radius-sm: 0;
  --shadow: 0 18px 40px rgba(26, 31, 16, .14);
  --shadow-soft: 0 8px 22px rgba(26, 31, 16, .09);
  --max: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ---------- Логотип ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__svg { flex: 0 0 auto; }
.logo__text { font-size: 21px; font-weight: 800; letter-spacing: .02em; color: #f2f3ea; }
.logo__accent { color: var(--lime); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--full { width: 100%; }
.btn--primary {
  background: var(--primary);
  color: #f6f7ec;
}
.btn--primary:hover { background: var(--primary-dark); }
.btn--ghost { background: rgba(255,255,255,.06); color: #f2f3ea; border-color: rgba(242,243,234,.4); }
.btn--ghost:hover { border-color: #f2f3ea; background: rgba(255,255,255,.12); }

/* ---------- Заглушки вместо изображений ---------- */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  border-radius: var(--radius);
  color: #f2f3ea;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
  min-height: 120px;
  position: relative;
  overflow: hidden;
}
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120px 120px at 20% 20%, rgba(255,255,255,.22), transparent 60%);
  pointer-events: none;
}
.ph--g { min-height: 200px; background: linear-gradient(135deg, #5a6425, #3a4119); }

/* ---------- Фотографии вместо заглушек ---------- */
.hero__img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(242,243,234,.16);
  box-shadow: var(--shadow);
}
.panel__img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  margin: 22px 0;
  border: 1px solid var(--line);
}

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 20, 9, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}
.nav { display: flex; gap: 26px; }
.nav a { color: #cdd4b4; font-size: 15px; transition: color .2s; }
.nav a:hover { color: #fff; }
.header__actions { display: flex; align-items: center; gap: 16px; }
.phone { color: #f2f3ea; font-weight: 600; font-size: 15px; }
.phone:hover { color: var(--lime); }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
}
.burger span { width: 20px; height: 2px; background: #f2f3ea; }

/* ---------- Первый экран ---------- */
.hero {
  color: #f2f3ea;
  padding: 84px 0 76px;
  background:
    url("../images/hero-pattern.webp") repeat,
    radial-gradient(150px 90px at 16% 22%, rgba(107,142,35,.55) 40%, transparent 41%),
    radial-gradient(170px 100px at 72% 16%, rgba(74,83,32,.65) 40%, transparent 41%),
    radial-gradient(130px 80px at 42% 72%, rgba(107,142,35,.42) 40%, transparent 41%),
    radial-gradient(190px 110px at 86% 82%, rgba(58,65,25,.6) 40%, transparent 41%),
    radial-gradient(120px 80px at 8% 84%, rgba(163,230,53,.28) 40%, transparent 41%),
    linear-gradient(180deg, #151a0e, #0f1309);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--lime);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  padding: 6px 14px;
  border: 1px solid rgba(163,230,53,.45);
  border-radius: 0;
  background: rgba(163,230,53,.08);
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.12; font-weight: 800; margin-bottom: 18px; }
.hero h1 .hl { color: var(--lime); }
.lead { font-size: 18px; color: #cdd4b4; max-width: 560px; margin-bottom: 28px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

/* ---------- Секции ---------- */
.section { padding: 80px 0; }
.section--alt { background: var(--surface-2); }
.section__title {
  font-size: clamp(25px, 3.4vw, 36px);
  font-weight: 800;
  margin-bottom: 10px;
}
.section__title::before {
  content: "";
  display: block;
  width: 46px; height: 4px;
  border-radius: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin-bottom: 14px;
}
.section__subtitle { color: var(--muted); font-size: 17px; margin-bottom: 40px; max-width: 640px; }

/* ---------- Сетки и карточки ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card--center { text-align: center; }
.card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(75,83,32,.16), rgba(107,142,35,.16));
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 18px;
}
.card--center .card__icon { margin-left: auto; margin-right: auto; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card > strong { font-size: 32px; display: block; margin-bottom: 4px; color: var(--primary); }

/* ---------- Панели (два контура) ---------- */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.panel__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 6px 14px;
  border-radius: 0;
  margin-bottom: 18px;
}
.panel__tag--active { background: rgba(75,83,32,.12); color: var(--primary-dark); }
.panel__tag--passive { background: rgba(107,142,35,.16); color: #4a5240; }
.panel h3 { font-size: 25px; margin-bottom: 10px; }
.panel > p { color: var(--muted); margin-bottom: 16px; }
.panel .ph { margin: 22px 0; }
.panel .btn { margin-top: 8px; }

/* ---------- Список ---------- */
.list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  font-size: 15px;
}
.list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 12px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* ---------- Шаги ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}
.steps li > span {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #f6f7ec;
  font-weight: 800;
  margin-bottom: 14px;
  box-shadow: 0 8px 18px rgba(75,83,32,.3);
}
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.split__text .list { margin: 12px 0 20px; }
.split__text p { color: var(--ink); }

/* ---------- Форма ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 22px; margin-bottom: 18px; }
form label { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
form input[type="text"],
form input[type="tel"],
form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--surface-2);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
form input:focus, form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(75,83,32,.14);
}
form textarea { resize: vertical; }
label.file input[type="file"] { margin-top: 6px; font-weight: 400; }
label.consent {
  display: flex; align-items: flex-start; gap: 8px;
  font-weight: 400; font-size: 13px; color: var(--muted);
}
label.consent input { margin-top: 3px; }
.form__hint { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.form__ok {
  padding: 14px;
  background: rgba(107,142,35,.14);
  color: #4a5240;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 700;
  margin-top: 12px;
}
.form__err {
  padding: 14px;
  background: rgba(154,52,18,.10);
  color: #7a2e10;
  border: 1px solid rgba(154,52,18,.25);
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 700;
  margin-top: 12px;
}
/* Ловушка для ботов — не видна людям */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- Галерея ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.g-item {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.g-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.g-item .ph { border-radius: 0; }
.g-item img { display: block; width: 100%; height: 240px; object-fit: cover; }

/* ---------- Заметка (законность) ---------- */
.note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid #a16207;
  border-radius: var(--radius);
  padding: 30px;
}
.note p { color: var(--muted); }
.note__disclaimer { margin-top: 14px; font-size: 14px; color: var(--muted); font-style: italic; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.faq__item summary {
  padding: 18px 46px 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--primary);
  transition: transform .2s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 22px 18px; color: var(--muted); }

/* ---------- Контакты ---------- */
.contact-list li { margin-bottom: 11px; font-size: 16px; }
.contact-list a { color: var(--primary); font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.messenger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  background: var(--primary);
  color: #f6f7ec !important;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  vertical-align: middle;
  transition: background .2s ease;
}
.messenger:hover { background: var(--primary-dark); text-decoration: none !important; }
.messenger__icon { display: block; width: 18px; height: 18px; }

/* ---------- Подвал ---------- */
.footer {
  background: #0f1309;
  color: #cdd4b4;
  padding: 44px 0 92px;
}
.footer__inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.nav--footer a { color: #cdd4b4; }
.nav--footer a:hover { color: #fff; }
.footer__meta { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.footer__meta a { color: #cdd4b4; }
.footer__meta a:hover { color: var(--lime); }

/* ---------- Плавающие элементы ---------- */
.fab {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 0;
  background: var(--primary);
  color: #f6f7ec;
  font-size: 15px;
  font-weight: 700;
  transition: background .2s ease;
}
.fab__icon { display: block; width: 20px; height: 20px; }
.fab:hover { background: var(--primary-dark); }

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  display: none;
  background: #0f1309;
  border-top: 1px solid var(--line-dark);
  padding: 10px 12px;
  gap: 10px;
}
.mobile-bar__btn {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  color: #f2f3ea;
  font-weight: 600;
}
.mobile-bar__btn--primary {
  background: var(--primary);
  color: #f6f7ec;
}

/* ---------- Лайтбокс ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(10, 13, 6, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.lightbox[hidden] { display: none; }
.lightbox__body { width: min(760px, 100%); }
.lightbox__close {
  position: absolute;
  top: 20px; right: 24px;
  width: 46px; height: 46px;
  border: none;
  border-radius: 0;
  background: rgba(242,243,234,.14);
  color: #f2f3ea;
  font-size: 22px;
  cursor: pointer;
}

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero__inner, .split { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .header__actions .btn--sm { display: none; }
  .burger { display: flex; }
  .header__actions .phone { font-size: 14px; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #0f1309;
    border-bottom: 1px solid var(--line-dark);
    padding: 18px 20px;
    gap: 16px;
  }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 56px; }
  .fab { bottom: 78px; }
}
