/* =========================================================
   HARNO — devices for people
   Структура: токени → база → утиліти → компоненти → секції → медіа-запити
   ========================================================= */

/* ---------- Токени ---------- */
:root {
  --cream: #F3F0EA;
  --graphite: #1B1A1F;
  --orange: #E3572F;
  --orange-text: #B83E1B;
  --orange-hover: #8F2F13;
  --muted: #4A4752;
  --muted-2: #55525C;
  --muted-dark: #C9C6CF;
  --muted-darker: #9C99A3;
  --card: #FFFFFF;
  --card-dark: #26252B;
  --card-dark-2: #2A292F;
  --line: #E2DDD3;
  --line-soft: #EEEAE2;
  --line-grid: #DCD6CB;
  --sand: #EAE5DB;
  --sand-2: #E9E3D8;
  --chip-text: #3E3B44;
  --input-bg: #F8F6F2;
  --input-border: #8E887E;
  --success: #2F6B3F;

  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-card: 28px;
  --radius-card-sm: 24px;
  --radius-block: 36px;
  --radius-pill: 999px;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 24px);
  --header-h: 77px;
  --section-y: clamp(72px, 9vw, 112px);

  --focus: var(--orange-text);
  --ease: 0.25s ease;
}

/* ---------- База ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--graphite);
  background: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--orange-text); }
a:hover { color: var(--orange-hover); }

button, input, select, textarea { font: inherit; color: inherit; }

[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] { display: none !important; }

address { font-style: normal; }

/* ---------- Утиліти ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 20px;
  border-radius: var(--radius-pill);
  background: var(--graphite); color: var(--cream);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--cream); }

.accent { color: var(--orange); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; font-weight: 600; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn--block { width: 100%; }

.btn--dark { background: var(--graphite); color: var(--cream); }
.btn--dark:hover { background: #33313A; color: var(--cream); }

.btn--orange { background: var(--orange); color: var(--graphite); }
.btn--orange:hover { background: #EC6A44; color: var(--graphite); }

.btn--outline { border-color: var(--graphite); color: var(--graphite); background: transparent; }
.btn--outline:hover { background: var(--graphite); color: var(--cream); }

.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Типографіка секцій ---------- */
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-text);
}
.eyebrow--on-dark { color: var(--orange); }

.h2 {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.h2--sm { font-size: clamp(32px, 4vw, 48px); }

.h3-like {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section { padding-block: var(--section-y); }

.section__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin-bottom: 48px;
}
.section__head--split {
  max-width: none;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.section__titles { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.section__lead { max-width: 440px; color: var(--muted); }

/* ---------- Логотип ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--graphite);
  text-decoration: none;
}
.logo:hover { color: var(--graphite); }
.logo__word {
  display: flex;
  align-items: center;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo__word svg { margin-left: 1px; }
.logo--light, .logo--light:hover { color: var(--cream); }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 240, 234, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding-block: 16px;
}
.nav__list { display: flex; gap: 28px; }
.nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--graphite);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  background-image: linear-gradient(var(--orange), var(--orange));
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: 0 calc(100% - 8px);
  transition: background-size var(--ease);
}
.nav__list a:hover { color: var(--graphite); background-size: 100% 2px; }

.header__actions { display: flex; align-items: center; gap: 8px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger__line {
  display: block;
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--graphite);
  transition: transform var(--ease), opacity var(--ease);
}
.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
  padding-block: clamp(48px, 7vw, 88px) clamp(64px, 8vw, 96px);
}
.hero__text {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--sand);
  font-size: 14px;
  font-weight: 600;
  color: var(--chip-text);
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }

.hero__title {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.035em;
}
.hero__lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__slogan { font-size: 15px; letter-spacing: 0.32em; color: var(--muted-2); text-transform: lowercase; }

.hero__visual {
  flex: 1 1 420px;
  min-width: 0;
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 0;
}
.hero__circle {
  position: absolute;
  top: 50%; left: 50%;
  width: 440px; max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sand-2);
  transform: translate(-50%, -50%);
}
.hero__photo { position: relative; width: 100%; max-width: 480px; }
.hero__photo img { width: 100%; border-radius: 44px; }

.device {
  position: relative;
  width: 340px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.device__body {
  background: var(--graphite);
  border-radius: 44px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 30px 60px -20px rgba(27, 26, 31, 0.45);
}
.device__top { display: flex; align-items: center; justify-content: space-between; }
.device__leds { display: flex; gap: 8px; }
.led { width: 10px; height: 10px; border-radius: 50%; background: var(--chip-text); }
.led--on { background: var(--orange); box-shadow: 0 0 0 6px rgba(227, 87, 47, 0.25); animation: led-pulse 2.4s ease-in-out infinite; }
@keyframes led-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(227, 87, 47, 0.25); }
  50% { box-shadow: 0 0 0 10px rgba(227, 87, 47, 0.08); }
}
.device__grille {
  height: 150px;
  border-radius: 22px;
  background-color: var(--card-dark);
  background-image: radial-gradient(circle, #45434C 3px, transparent 3.5px);
  background-size: 16px 16px;
}
.device__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.device__label span { color: var(--muted-darker); font-weight: 500; }

.alert-chip {
  align-self: flex-end;
  margin-right: -24px;
  background: var(--card);
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 16px 40px -16px rgba(27, 26, 31, 0.3);
}
.alert-chip__icon {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 12px;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.alert-chip__text { display: flex; flex-direction: column; line-height: 1.25; }
.alert-chip__text strong { font-size: 15px; }
.alert-chip__text span { font-size: 13px; color: var(--muted-2); }

/* ---------- Смуга переваг ---------- */
.strip { background: var(--graphite); color: var(--cream); --focus: var(--cream); }
.strip__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  padding-block: 36px;
}
.strip__list li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.strip__list svg { flex: none; }

/* ---------- Каталог ---------- */
#devices { padding-bottom: 56px; }

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--card);
  color: var(--graphite);
}
.product,
.product__media,
.product p,
.product .dash-list li::before,
.product__where,
.product .btn {
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}
.product__badge {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: var(--graphite);
  font-size: 13px;
  font-weight: 700;
}
.product__media {
  height: 168px;
  border-radius: 20px;
  background: var(--cream);
  color: var(--graphite);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product__media picture, .product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__body { display: flex; flex-direction: column; gap: 8px; }
.product__title { font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.product__body p { color: var(--muted); font-size: 16px; }
.product__foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product__where { font-size: 14px; color: var(--muted-2); }

.dash-list { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.dash-list li { display: flex; gap: 10px; }
.dash-list li::before { content: "—"; color: var(--orange-text); font-weight: 800; flex: none; }

/* Hover / фокус: картка стає темною. На тач-пристроях не вмикаємо. */
@media (hover: hover) {
  .product:hover,
  .product:focus-within {
    background: var(--graphite);
    color: var(--cream);
    --focus: var(--cream);
  }
  .product:hover .product__media,
  .product:focus-within .product__media { background: var(--card-dark-2); color: var(--cream); }
  .product:hover .product__body p,
  .product:focus-within .product__body p,
  .product:hover .product__where,
  .product:focus-within .product__where { color: var(--muted-dark); }
  .product:hover .dash-list li::before,
  .product:focus-within .dash-list li::before { color: var(--orange); }
  .product:hover .btn--dark,
  .product:focus-within .btn--dark { background: var(--orange); color: var(--graphite); font-weight: 700; }
}

/* ---------- Порівняння ---------- */
.compare { display: flex; flex-direction: column; gap: 24px; padding-block: 24px; }
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-card-sm);
  background: var(--card);
  -webkit-overflow-scrolling: touch;
}
.table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}
.table th, .table td { padding: 16px 24px; vertical-align: top; }
.table thead th, .table thead td { padding-block: 18px; font-weight: 800; border-bottom: 1px solid var(--line); }
.table tbody tr + tr { border-top: 1px solid var(--line-soft); }
.table tbody th { font-weight: 600; }
.table__accent { color: var(--orange-text); }

/* ---------- Чому HARNO ---------- */
#benefits { padding-top: 80px; }
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--line-grid);
  border: 1px solid var(--line-grid);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.benefit {
  background: var(--cream);
  padding: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.benefit__num { font-size: 15px; font-weight: 800; color: var(--orange-text); }
.benefit__title { font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; }
.benefit p { color: var(--muted); font-size: 16px; }

/* ---------- Як це працює ---------- */
.how { background: var(--graphite); color: var(--cream); --focus: var(--cream); }
.how__inner { padding-block: var(--section-y); }
.how .section__head { margin-bottom: 56px; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.step {
  background: var(--card-dark);
  border-radius: var(--radius-card);
  padding: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--graphite);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  font-weight: 900;
}
.step__title { font-size: 22px; font-weight: 800; }
.step p { color: var(--muted-dark); font-size: 16px; }

/* ---------- Контролер генератора ---------- */
.generator { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.generator__mock {
  flex: 1 1 420px;
  min-width: 0;
  background: var(--orange);
  border-radius: var(--radius-block);
  padding: clamp(24px, 4vw, 40px);
}
.gen-ui {
  background: var(--graphite);
  color: var(--cream);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gen-ui__head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.gen-ui__status {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--success);
  font-size: 13px;
  font-weight: 700;
}
.gen-ui__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gen-ui__stat { background: var(--card-dark); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; }
.gen-ui__stat span { font-size: 13px; color: var(--muted-darker); }
.gen-ui__stat strong { font-size: 18px; font-weight: 800; }
.gen-ui__buttons { display: flex; gap: 10px; }
.gen-ui__btn {
  flex: 1;
  min-height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--muted-2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 15px;
}
.gen-ui__btn--primary { background: var(--cream); color: var(--graphite); border-color: var(--cream); font-weight: 700; }

.generator__text {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.generator__lead { font-size: 19px; color: var(--muted); }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 34px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B83E1B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Дилери ---------- */
.dealers { padding-bottom: clamp(64px, 8vw, 96px); }
.dealers .section__head { margin-bottom: 40px; }
.dealers__filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-weight: 600;
}
.dealers__filter select {
  min-height: 48px;
  min-width: 220px;
  padding: 0 44px 0 16px;
  border: 1px solid var(--input-border);
  border-radius: 14px;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1A1F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
  appearance: none;
  font-weight: 500;
  cursor: pointer;
}
.dealers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}
.dealer {
  background: var(--card);
  border-radius: var(--radius-card-sm);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dealer__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dealer__name { font-size: 21px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
.dealer__city {
  flex: none;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--cream);
  font-size: 13px;
  font-weight: 600;
  color: var(--chip-text);
}
.dealer__models { font-size: 15px; color: var(--muted); }
.dealer__contacts { margin-top: auto; display: flex; flex-direction: column; font-size: 15px; }
.dealer__contacts a, .dealer__contacts span { display: inline-flex; align-items: center; min-height: 44px; }
.dealer__phone { color: var(--graphite); font-weight: 700; text-decoration: none; }
.dealer--cta {
  background: transparent;
  border: 2px dashed #CFC9BE;
  justify-content: center;
}
.dealer__cta-btn { align-self: flex-start; font-weight: 700; }
.dealers__error { margin-top: 20px; color: var(--muted); }

/* ---------- Форма / контакти ---------- */
.contact { padding-bottom: var(--section-y); }
.contact__card {
  background: var(--card);
  border-radius: var(--radius-block);
  padding: clamp(24px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
}
.contact__info {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact__lead { color: var(--muted); }
.contact__list { display: flex; flex-direction: column; font-size: 16px; margin-top: 8px; }
.contact__list a, .contact__list span { display: inline-flex; align-items: center; min-height: 44px; align-self: flex-start; }
.contact__phone { color: var(--graphite); font-weight: 700; font-size: 22px; text-decoration: none; }
.contact__addr { color: var(--muted); }

.contact__form-wrap { flex: 1 1 420px; min-width: 0; }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 14px; font-weight: 600; }
.field__input {
  min-height: 52px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid var(--input-border);
  border-radius: 14px;
  background: var(--input-bg);
  font-size: 16px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field__input::placeholder { color: #6E6A74; }
.field__input:focus-visible { outline: none; border-color: var(--graphite); box-shadow: 0 0 0 3px rgba(184, 62, 27, 0.35); }
.field__input[aria-invalid="true"] { border-color: var(--orange-text); border-width: 2px; }
.field__error { font-size: 14px; font-weight: 600; color: var(--orange-text); }
.field__error:empty { display: none; }

.field--check {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  column-gap: 12px;
  min-height: 44px;
  font-size: 15px;
}
.field--check label { cursor: pointer; padding-block: 10px; }
.field--check .field__error { grid-column: 1 / -1; }
.check { width: 22px; height: 22px; margin: 0; accent-color: var(--orange-text); cursor: pointer; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form .btn--block { margin-top: 8px; font-weight: 800; }
.form__status { font-size: 15px; font-weight: 600; color: var(--orange-text); }
.form__status:empty { display: none; }

.form-success {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border-radius: var(--radius-card-sm);
  background: var(--cream);
}
.form-success:focus { outline: none; }
.form-success:focus-visible { outline: 3px solid var(--focus); }
.form-success__title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.form-success p { color: var(--muted); }

/* ---------- Підвал ---------- */
.site-footer { background: var(--graphite); color: var(--cream); --focus: var(--cream); }
.footer__inner { padding-block: 56px 40px; display: flex; flex-direction: column; gap: 40px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__slogan { font-size: 14px; letter-spacing: 0.32em; color: var(--muted-darker); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 48px; font-size: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 6px; }
.footer__title { font-weight: 700; }
.footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted-dark);
  text-decoration: none;
}
.footer__col a:hover { color: var(--cream); text-decoration: underline; }
.footer__bottom {
  border-top: 1px solid #36343C;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--muted-darker);
}

/* =========================================================
   Адаптив
   ========================================================= */

/* Мобільне меню */
@media (max-width: 999px) {
  .burger { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: none;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(27, 26, 31, 0.35);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-header.is-open .nav { display: block; }
  .nav__list {
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 20px;
  }
  .nav__list a {
    display: flex;
    min-height: 56px;
    font-size: 20px;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
    background-image: none;
  }
  .nav__list li:last-child a { border-bottom: 0; }
}

@media (max-width: 767px) {
  .hero { gap: 40px; }
  .hero__actions .btn { flex: 1 1 220px; }
  .alert-chip { margin-right: 0; }
  .section__head { margin-bottom: 36px; }
  .generator { gap: 40px; }
  .contact__card { gap: 40px; border-radius: 28px; }
  .footer__nav { gap: 32px; }
}

@media (max-width: 400px) {
  .logo { gap: 10px; }
  .logo__mark { width: 22px; height: 32px; }
  .logo__word { font-size: 23px; }
  .logo__word svg { width: 21px; height: 21px; }
  .header__actions .btn--sm { padding: 0 16px; }
  .product, .dealer { padding: 22px; }
  .gen-ui { padding: 18px; }
}

/* Зменшення руху */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
