/* Vemata XR 2480-6080 landing - style.css */
:root {
  --brand: #0a4a8a;
  --brand-dark: #063461;
  --brand-light: #1a6cc4;
  --accent: #f7b500;
  --accent-dark: #d99a00;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --text: #1c2433;
  --text-muted: #5a6577;
  --border: #d9e1ee;
  --shadow: 0 4px 20px rgba(10, 74, 138, .08);
  --radius: 10px;
  --max: 1180px;
  --pad: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ===== ШАПКА ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
  flex-wrap: wrap;
}
.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .5px;
}
.logo span { color: var(--accent-dark); }
.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}
.main-nav a:hover { color: var(--brand); text-decoration: none; }
.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-phone {
  font-weight: 700;
  font-size: 16px;
  color: var(--brand);
}
/* Иконка телефона — только на мобиле, по умолчанию скрыта */
.header-phone-icon { display: none; align-items: center; color: var(--brand); }
/* Бургер — по умолчанию скрыт, виден только ≤768px (см. @media ниже) */
.burger { display: none; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #1c2433;
}
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; }
.btn-secondary {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.btn-secondary:hover {
  background: var(--brand);
  color: #fff;
  text-decoration: none;
}

/* ===== HERO ===== */
.hero {
  padding: 60px 0 50px;
  background: linear-gradient(135deg, var(--bg-alt) 0%, #ffffff 100%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: 38px;
  line-height: 1.2;
  margin: 0 0 18px;
  color: var(--brand-dark);
}
.hero .lead {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 28px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ===== СЕКЦИИ ===== */
section { padding: 60px 0; }
section.alt { background: var(--bg-alt); }
.section-title {
  font-size: 30px;
  color: var(--brand-dark);
  margin: 0 0 12px;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  margin: 0 0 36px;
}

/* ===== УТП «БЕЗ ЛИЦЕНЗИИ» ===== */
.licence-block {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.licence-block h2 {
  color: #fff;
  margin: 0 0 16px;
  font-size: 28px;
}
.licence-block .fact {
  background: rgba(255,255,255,.1);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  margin: 0 0 24px;
  border-radius: 6px;
  font-size: 16px;
}
.licence-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.licence-checklist li {
  padding-left: 28px;
  position: relative;
}
.licence-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
}
.licence-block .note {
  font-size: 14px;
  opacity: .85;
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 16px;
  margin: 0;
}

/* ===== ПОЛЬЗА / ДОВЕРИЕ / CTA ===== */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0;
}
.trust-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.trust-card h3 {
  font-size: 17px;
  color: var(--brand);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-card h3::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.trust-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.trust-card li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 15px;
  color: var(--text);
}
.trust-card li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--brand-light);
  font-weight: 700;
}
.cta-block {
  text-align: center;
  background: var(--bg-alt);
  padding: 30px;
  border-radius: var(--radius);
  margin-top: 30px;
  font-size: 17px;
}
.cta-block strong { color: var(--brand-dark); }

/* ===== ЧТО ДЕТЕКТИРУЕТ ===== */
.detect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 30px 0;
}
.detect-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--brand-dark);
}
.detect-extra {
  background: #fff;
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  border-radius: 6px;
  margin: 20px 0;
  font-size: 15px;
}
.detect-extra strong { color: var(--brand); }
.detect-vs {
  background: var(--brand-dark);
  color: #fff;
  padding: 16px 22px;
  border-radius: 6px;
  font-size: 15px;
  margin-top: 16px;
}

/* ===== МОДЕЛЬНЫЙ РЯД ===== */
.models-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 30px 0;
}
.models-table th {
  background: var(--brand);
  color: #fff;
  padding: 14px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
}
.models-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.models-table tr:last-child td { border-bottom: none; }
.models-table tr:hover { background: var(--bg-alt); }
.models-table td:first-child { font-weight: 600; color: var(--brand-dark); }

/* ===== ОСОБЕННОСТИ ===== */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 30px 0;
}
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 15px;
}
.feature strong { color: var(--brand-dark); }

/* ===== ОТРАСЛИ ===== */
.industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.industry {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.industry-icon {
  width: 56px;
  height: 56px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 14px;
}
.industry h3 { margin: 0 0 8px; color: var(--brand-dark); }
.industry p { margin: 0; font-size: 14px; color: var(--text-muted); }

/* ===== ВИДЕО ===== */
.video-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.video-block p { font-size: 17px; color: var(--text-muted); margin: 0 0 24px; }

/* ===== КОНТАКТЫ И ФОРМА ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.contact-form .btn { width: 100%; padding: 14px; font-size: 16px; }

/* ===== АНТИСПАМ: honeypot ===== */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ===== ЧЕКБОКСЫ ===== */
.check-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5;
  cursor: pointer;
}
.check-row input[type="checkbox"] {
  width: auto !important;
  margin-top: 3px;
  flex-shrink: 0;
}
.check-row a { font-weight: 500; }

/* ===== БЛОК БЛАГОДАРНОСТИ ===== */
.thanks-block {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #e8f7ec 0%, #d4f0dc 100%);
  border: 2px solid #2ea64f;
  border-radius: var(--radius);
  margin-top: 8px;
}
.thanks-block[hidden] { display: none; }
.thanks-icon {
  width: 64px;
  height: 64px;
  line-height: 64px;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  background: #2ea64f;
  border-radius: 50%;
  margin: 0 auto 16px;
  text-align: center;
}
.thanks-block h3 {
  color: #1a6c2c;
  margin: 0 0 12px;
  font-size: 22px;
}
.thanks-block p {
  color: #1c2433;
  font-size: 15px;
  margin: 0 0 20px;
  line-height: 1.6;
}
.thanks-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.thanks-actions .btn { width: auto; min-width: 180px; }
.form-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin: 12px 0 0;
}
.contact-info {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 30px;
}
.contact-info h3 {
  margin: 0 0 18px;
  color: var(--brand-dark);
  font-size: 20px;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 16px;
}
.contact-row strong { display: block; color: var(--text-muted); font-size: 13px; font-weight: 500; margin-bottom: 2px; }
.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.social-link {
  display: inline-block;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  color: var(--brand);
  font-weight: 500;
}
.social-link:hover { background: var(--brand); color: #fff; text-decoration: none; }

/* ===== ПОДВАЛ ===== */
.site-footer {
  background: var(--brand-dark);
  color: #c5d1e0;
  padding: 40px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
  margin-bottom: 24px;
}
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #c5d1e0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #8d99aa;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--brand-dark);
  color: #fff;
  padding: 16px 24px;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0,0,0,.15);
  display: none;
}
.cookie-banner.show { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-banner p { margin: 0; font-size: 14px; flex: 1 1 300px; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-banner .btn { padding: 8px 18px; font-size: 14px; }

/* ===== СТРАНИЦЫ ПОЛИТИК ===== */
.legal-page {
  padding: 40px 0 60px;
}
.legal-page h1 { color: var(--brand-dark); margin-top: 0; }
.legal-page h2 {
  color: var(--brand);
  font-size: 19px;
  margin-top: 28px;
  margin-bottom: 10px;
}
.legal-page p, .legal-page li { font-size: 15px; line-height: 1.7; }
.legal-page a { color: var(--brand); }

/* ===== АДАПТИВ ===== */

/* Планшет и маленький десктоп (≤900px) */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .licence-checklist { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .detect-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .industries { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .models-table { font-size: 13px; }
  .models-table th, .models-table td { padding: 8px 6px; }
  section { padding: 40px 0; }
  .section-title { font-size: 24px; }
  .licence-block { padding: 24px; }
  .licence-block h2 { font-size: 22px; }
}

/* Мобильный (≤768px): бургер, компактная шапка, карточки моделей,
   фикс cookie, компактный hero */
@media (max-width: 768px) {

  /* Скрываем телефон текстом, оставляем иконку-ссылку */
  .header-phone { display: none; }
  .header-phone-icon { display: inline-flex; }

  /* Кнопка-бургер: видна только на мобиле */
  .burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    margin-left: auto;
  }
  .burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--brand);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
  }
  .burger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  /* Меню: на мобиле превращается в выезжающую панель сверху */
  .site-header .container { flex-wrap: wrap; gap: 12px; }
  .main-nav {
    /* По умолчанию скрыто */
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }
  .main-nav a:last-child { border-bottom: 0; }

  /* CTA-блок: кнопка «Получить КП» — компактно */
  .header-cta { gap: 10px; margin-left: auto; }
  .header-cta .btn { padding: 10px 14px; font-size: 14px; }

  /* Hero-картинка: компактнее, на всю ширину контейнера */
  .hero { padding: 32px 0 28px; }
  .hero h1 { font-size: 24px; }
  .hero .lead { font-size: 16px; }
  .hero-image { max-height: 280px; overflow: hidden; border-radius: var(--radius); }
  .hero-image img { width: 100%; max-height: 280px; object-fit: cover; }

  /* Таблица «Модельный ряд» → карточки на мобиле.
     Скрываем шапку и показываем data-label перед значением. */
  .models-table thead { display: none; }
  .models-table, .models-table tbody, .models-table tr, .models-table td {
    display: block;
    width: 100%;
  }
  .models-table tr {
    margin-bottom: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .models-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 14px;
  }
  .models-table td:last-child { border-bottom: 0; }
  .models-table td::before {
    content: attr(data-label);
    color: var(--text-muted);
    font-size: 13px;
    margin-right: 12px;
    flex-shrink: 0;
  }
  .models-table td:first-child {
    color: var(--brand-dark);
    font-size: 15px;
  }
  .models-table td:first-child::before { color: var(--text-muted); font-size: 13px; }

  /* Картинка «Линейка TXR» в секции «Характеристики» — на всю ширину */
  .features-photo { text-align: center; margin-top: 24px; }
  .features-photo img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  /* Cookie-баннер: фиксируем к низу экрана */
  .cookie-banner.show {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px 20px;
    margin: 0;
  }
  .cookie-banner .btn { width: 100%; }

  /* Thanks-блок: на всю ширину */
  .thanks-actions .btn { width: 100%; }
  .thanks-block { padding: 24px 16px; }
  .thanks-block h3 { font-size: 19px; }
}
