/* ==========================================================================
   ARNA — механизированные парковочные системы
   Строгий немецкий стиль: тёмно-синяя палитра, чистая типографика
   ========================================================================== */

:root {
  --navy-900: #0a1930;
  --navy-800: #0e2140;
  --navy-700: #14304f;
  --blue-600: #1f4e8c;
  --blue-500: #2c5ca3;
  --blue-400: #4a7cc0;
  --blue-100: #e8eef6;

  --ink: #1b2733;
  --ink-soft: #4d5b6b;
  --muted: #7b8a9a;
  --line: #e1e6ec;
  --paper: #ffffff;
  --paper-soft: #f5f7fa;
  --paper-alt: #eef1f5;

  --radius: 3px;
  --shadow-sm: 0 1px 3px rgba(10, 25, 48, 0.08);
  --shadow-md: 0 6px 24px rgba(10, 25, 48, 0.12);
  --container: 1360px;

  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

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

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-900);
}

.section {
  padding: 72px 0;
}
.section--tight { padding: 48px 0; }
.section--alt { background: var(--paper-soft); }
.section--navy {
  background: var(--navy-900);
  color: #fff;
}
.section--navy h2, .section--navy .eyebrow { color: #fff; }
.section--navy .eyebrow { color: var(--blue-400); font-size: 18px; letter-spacing: 0.06em; }

.section-head {
  max-width: 680px;
  margin: 0 0 40px;
}
.section-head p { color: var(--ink-soft); margin-top: 12px; font-size: 16px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue-500); color: #fff; }
.btn--primary:hover { background: var(--blue-600); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-800); }
.btn--ghost { background: transparent; color: var(--blue-500); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue-500); background: var(--blue-100); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-900);
  color: #cfdcec;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar__phones {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar a { color: #e7edf5; font-weight: 600; letter-spacing: 0.01em; }
.topbar a:hover { color: var(--blue-400); }
.topbar__icon { opacity: 0.7; margin-right: 6px; vertical-align: -2px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  border-bottom: 4px solid var(--blue-400);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img { height: 74px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: none;
}
.nav a {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav a.active { color: var(--blue-400); }
.nav a.active::after { content: ""; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
}
.hero__split {
  display: grid;
  grid-template-columns: minmax(0, 620px) 1fr;
  gap: 56px;
  align-items: start;
  padding: 88px clamp(24px, 6vw, 140px) 80px;
}
.hero__grid { min-width: 0; }
.hero .eyebrow { color: var(--blue-400); font-size: 17px; letter-spacing: 0.08em; }

.hero__systems h2 {
  color: var(--blue-400);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero__systems-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero__system-item {
  display: block;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.hero__system-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateX(3px);
}
.hero__system-text { display: flex; flex-direction: column; gap: 3px; }
.hero__system-text strong { color: #fff; font-size: 15px; font-weight: 700; }
.hero__system-text span { color: #a9bad0; font-size: 13px; line-height: 1.5; }
.hero h1 { color: #fff; }
.hero p.lead {
  margin-top: 18px;
  font-size: 19px;
  font-weight: 600;
  color: #dbe4ef;
  max-width: 560px;
}
.hero__audience {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.hero__audience li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #c5d3e3;
  font-weight: 500;
}
.hero__audience li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-400);
  flex: none;
}
.hero__stats {
  margin-top: 40px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero__stat b {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}
.hero__stat span {
  font-size: 13px;
  color: #9db1c8;
}
.hero__about {
  margin-top: 40px;
  padding-top: 32px;
  max-width: 660px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__about h2 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 12px;
}
.hero__about p {
  color: #b9c8dc;
  font-size: 15.5px;
  line-height: 1.75;
}

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-800));
  color: #fff;
  padding: 46px 0;
}
.page-hero .eyebrow { color: var(--blue-400); }
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); }
.breadcrumbs {
  margin-top: 10px;
  font-size: 13.5px;
  color: #9db1c8;
}
.breadcrumbs a { color: #c5d3e3; }
.breadcrumbs a:hover { color: #fff; }

/* ---------- Cards: services / advantages / systems ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--navy-700);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.card h3 { margin-bottom: 10px; color: #fff; }
.card p { color: #a9bad0; font-size: 15px; }
.card a.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue-500);
}

.system-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.system-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.system-card__media {
  height: 150px;
  background: linear-gradient(150deg, var(--navy-800), var(--blue-600));
  display: flex;
  align-items: center;
  justify-content: center;
}
.system-card__media svg { width: 64px; height: 64px; color: #fff; opacity: 0.92; }
.system-card__media--photo { height: 200px; padding: 0; }
.system-card__media--photo img { width: 100%; height: 100%; object-fit: cover; }
.system-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.system-card__body p { color: var(--ink-soft); font-size: 14.5px; flex: 1; }
.system-card__body a.card__link { margin-top: 14px; }

/* ---------- Advantages list ---------- */
.adv-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 32px;
}
.adv-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.adv-item__check {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(74, 124, 192, 0.16);
  color: var(--blue-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.section--navy .adv-item__check { background: rgba(74, 124, 192, 0.22); }
.adv-item strong { display: block; font-size: 15.5px; color: var(--navy-900); }
.section--navy .adv-item strong { color: #fff; }
.adv-item span { font-size: 14px; color: var(--ink-soft); }
.section--navy .adv-item span { color: #a9bad0; }

/* ---------- Two-column layout with sidebar (Системы парковки) ---------- */
.layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 40px;
  align-items: start;
  padding: 56px 0 80px;
}
.sidebar {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  position: sticky;
  top: 90px;
}
.sidebar__title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 16px 10px;
}
.sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius);
}
.sidebar a::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--muted);
  border-radius: 50%;
  flex: none;
}
.sidebar a:hover { background: #fff; color: var(--blue-500); }
.sidebar a.active { background: var(--navy-900); color: #fff; }
.sidebar a.active::before { background: var(--blue-400); }
.sidebar hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 8px 10px;
}

.content h2 { margin-bottom: 16px; }
.content > p.lead {
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 760px;
  margin-bottom: 36px;
}

/* ---------- Subtype detail page ---------- */
.detail-hero {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 44px;
}
.detail-hero__media {
  background: linear-gradient(150deg, var(--navy-800), var(--blue-600));
  border-radius: var(--radius);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-hero__media svg { width: 110px; height: 110px; color: #fff; opacity: 0.95; }
.detail-hero__media { overflow: hidden; padding: 0; }
.detail-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.spec-block {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 40px;
  align-items: start;
}
.spec-block__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.spec-block__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-hero p { color: var(--ink-soft); font-size: 16px; margin-top: 14px; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 14.5px;
}
.spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.spec-table td:first-child { color: var(--ink-soft); width: 45%; }
.spec-table td:last-child { font-weight: 700; color: var(--navy-900); }

/* ---------- Gallery (Фото) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery__item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-soft);
  overflow: hidden;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__item svg { width: 30px; height: 30px; opacity: 0.55; }

/* ---------- Video grid ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.video-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.video-card__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--navy-900);
}
.video-card__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: #9db1c8;
  font-size: 13px;
  text-align: center;
  padding: 12px;
}
.video-card__placeholder svg { width: 34px; height: 34px; opacity: 0.7; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info dl {
  display: grid;
  grid-template-columns: 130px 1fr;
  row-gap: 18px;
  column-gap: 16px;
  margin-top: 24px;
}
.contact-info dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
  padding-top: 2px;
}
.contact-info dd {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy-900);
}
.map-placeholder {
  margin-top: 28px;
  height: 220px;
  border-radius: var(--radius);
  border: 1px dashed var(--line);
  background: var(--paper-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
  padding: 16px;
}

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 7px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper-soft);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #a9bad0;
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 36px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 38px; }
.footer-brand__name { color: #fff; font-weight: 800; font-size: 17px; }
.site-footer p.footer-desc { font-size: 14px; line-height: 1.7; max-width: 300px; }
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: #a9bad0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: #6f84a0;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__split { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 48px; gap: 44px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .adv-list { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .detail-hero { grid-template-columns: 1fr; }
  .spec-block { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .topbar .container { justify-content: center; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-800);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 16px; }
  .nav-toggle { display: flex; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 26px; }
}
