:root {
  --navy: #141f82;
  --red: #d2001e;
  --red-alt: #e40215;
  --black: #030201;
  --black-alt: #0e0f11;
  --gray-bg: #f6f6f6;
  --text-dark: #111111;
  --text-gray: #5a5e66;
  --text-muted: #b9bec7;
  --amber: #d97706;
  --border-1: #e5e7eb;
  --border-2: #e1e4ea;
  --border-3: #d9dbe0;
  --container: 1360px;
  --gap-section-mobile: 48px;
  --gap-section-desktop: 112px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .btn, .badge, .eyebrow, .stat-card__num, .stat-mini__num {
  font-family: 'Oswald', sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

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

/* ---------- Reusable ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  border: none;
  white-space: nowrap;
}
.btn--red { background: var(--red); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border: 2px solid #fff; }
.btn--ghost-dark { background: transparent; color: var(--text-dark); border: 2px solid var(--border-3); }
.btn--full { width: 100%; }

.badge {
  display: inline-flex;
  padding: 6px 12px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge--sm { padding: 4px 8px; font-size: 9px; }
.badge--amber { background: var(--amber); margin-bottom: 16px; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow--red { color: var(--red); }
.eyebrow--white { color: #fff; }

.h2 {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.h2--white { color: #fff; }
.h3 {
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.lead {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-gray);
  max-width: 720px;
}
.lead--muted { color: var(--text-muted); }

.section-header { margin-bottom: 32px; }

.red-bar { height: 4px; background: var(--red); width: 100%; margin: 20px 0; }

/* ---------- Header ---------- */
.header {
  background: var(--navy);
  padding: 16px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo img { height: 20px; width: auto; }
.header__nav { display: none; }
.header__cta { display: none; }
.header__burger {
  background: none;
  border: none;
  width: 24px;
  height: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
}
.header__burger span {
  display: block;
  width: 18px;
  height: 2.5px;
  background: #fff;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy);
  padding: 0 16px 16px;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  color: #fff;
  padding: 10px 0;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  padding: 32px 0 40px;
  overflow: hidden;
}
.hero__inner { display: flex; flex-direction: column; gap: 24px; }
.hero__badge-wrap { display: flex; }
.hero__title-wrap { position: relative; display: flex; flex-direction: column; gap: 12px; }
.hero__tool-img {
  position: absolute;
  top: 110px;
  left: 50%;
  width: 92%;
  max-width: 460px;
  transform: translate(-50%, -50%) rotate(11deg);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}
.hero__title {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 58px;
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  margin-top: 200px;
}
.hero__title span { display: block; text-align: right; }
.hero__subtitle {
  position: relative;
  z-index: 1;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
  max-width: 480px;
}
.hero__actions { display: flex; flex-direction: column; gap: 12px; }
.hero__actions .btn { width: 100%; }

/* ---------- Why ---------- */
.why { background: var(--gray-bg); padding: var(--gap-section-mobile) 0; }
.stat-row { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.stat-card {
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-card--red { background: var(--red); color: #fff; }
.stat-card--dark { background: var(--black); color: #fff; }
.stat-card__num { font-weight: 700; font-size: 48px; margin: 0; }
.stat-card__num--red { color: var(--red); }
.stat-card__title { font-weight: 700; font-size: 16px; text-transform: uppercase; margin: 0 0 4px; }
.stat-card__text { font-size: 12px; line-height: 1.4; opacity: 0.9; }
.stat-card__text--muted { color: var(--text-muted); opacity: 1; }
.stat-stack { display: flex; flex-direction: column; gap: 16px; }
.stat-mini { background: #fff; border-radius: 20px; padding: 20px; }
.stat-mini__num { font-weight: 700; font-size: 28px; margin: 0 0 4px; }
.stat-mini__num--red { color: var(--red); }
.stat-mini__text { font-size: 12px; color: var(--text-gray); }

.presence-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
}
.presence-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.presence-item { display: flex; gap: 16px; align-items: flex-start; }
.presence-item__icon { width: 15px; height: 15px; margin-top: 4px; flex-shrink: 0; }
.presence-item__title { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.presence-item__text { font-size: 14px; color: var(--text-gray); line-height: 1.4; }
.presence-card__divider { height: 8px; background: var(--red); margin: 20px 0; }
.presence-card__brandbar {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.brand-mark { height: 56px; width: auto; max-width: 19%; object-fit: contain; flex-shrink: 1; }

/* ---------- Products ---------- */
.products { background: #fff; padding: var(--gap-section-mobile) 0; }
.category-grid { display: flex; flex-direction: column; gap: 16px; }
.category-row-top, .category-row-mid { display: flex; flex-direction: column; gap: 16px; }
.cat-dark {
  background: var(--black);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #fff;
}
.cat-dark__icon { height: 70px; width: auto; object-fit: contain; }
.cat-dark__badge-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cat-dark__title { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 22px; margin: 0; }
.cat-dark__divider { height: 2px; background: var(--red); }
.cat-dark__info { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.cat-dark__subtitle { font-family: 'Oswald', sans-serif; font-size: 16px; text-transform: uppercase; margin: 0 0 8px; }
.cat-dark__text { font-size: 12px; color: var(--text-muted); }
.cat-dark__link { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 14px; color: var(--red); white-space: nowrap; margin: 0; }

.cat-light {
  background: var(--gray-bg);
  border-radius: 20px;
  overflow: hidden;
}
.cat-light__img { height: 150px; background-size: cover; background-position: center; }
.cat-light__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.cat-light__title { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 20px; text-transform: uppercase; margin: 0; }
.cat-light__text { font-size: 13px; color: var(--text-gray); }
.cat-light__link { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 14px; color: var(--red); margin: 0; }

.category-banner {
  background: var(--black);
  border-radius: 20px;
  padding: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  position: relative;
}
.category-banner__text { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; z-index: 1; }
.category-banner__title { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 22px; text-transform: uppercase; margin: 0; }
.category-banner__desc { font-size: 13px; color: var(--text-muted); }
.category-banner__img { border-radius: 12px; width: 100%; max-height: 220px; object-fit: cover; }

/* ---------- P20S ---------- */
.p20s { background: var(--black); padding-top: 48px; overflow: hidden; }
.p20s__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.p20s__title {
  font-weight: 700;
  font-size: 32px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
  margin: 0;
}
.p20s__title span { color: var(--red); }
.p20s__battery { width: 100%; }
.p20s__battery img { width: 100%; object-fit: cover; }

/* ---------- Buy / map ---------- */
.buy { background: #fff; padding: var(--gap-section-mobile) 0; padding-bottom: calc(var(--gap-section-mobile) / 2); }
.buy .btn { margin: 20px 0; }
.map { position: relative; width: 100%; max-width: 500px; margin: 0 auto; }
.map__outline { width: 100%; opacity: 0.9; transform: scaleY(-1); }
.map__pin { position: absolute; width: 22px; height: auto; transform: translate(-50%, -100%); }

/* ---------- Service ---------- */
.service { background: #fff; padding: var(--gap-section-mobile) 0; }
.service-grid { display: flex; flex-direction: column; gap: 12px; }
.service-card {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-card img { width: 40px; height: 40px; }
.service-card__title { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 18px; text-transform: uppercase; margin: 0; }
.service-card__text { font-size: 14px; color: var(--text-gray); line-height: 1.5; }

/* ---------- Dealers ---------- */
.dealers { background: var(--black); padding: var(--gap-section-mobile) 0; }
.benefit-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.benefit-card { background: #fff; border-radius: 20px; padding: 24px 20px; }
.benefit-card__num { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 72px; color: var(--red-alt); line-height: 1; margin: 0 0 12px; }
.benefit-card__title { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 18px; text-transform: uppercase; margin: 0 0 8px; }
.benefit-card__text { font-size: 14px; color: var(--text-gray); line-height: 1.5; }

/* ---------- Gallery ---------- */
.gallery { background: var(--gray-bg); padding: var(--gap-section-mobile) 0; }
.gallery-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gallery-mosaic img { width: 100%; height: 140px; object-fit: cover; border-radius: 16px; }

/* ---------- Certificate ---------- */
.certificate { background: #fff; padding: var(--gap-section-mobile) 0; }
.certificate .h2 { margin-top: 16px; }
.certificate .hero__actions { margin-top: 20px; }

/* ---------- Contacts ---------- */
.contacts { background: var(--gray-bg); padding: var(--gap-section-mobile) 0; }
.contacts-grid { display: flex; flex-direction: column; gap: 24px; }
.contacts-card {
  background: var(--black-alt);
  border-radius: 20px;
  padding: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contacts-card__logo { height: 20px; width: auto; align-self: flex-start; flex-shrink: 0; }
.contacts-card__title { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 20px; margin: 0 0 4px; }
.contacts-card__sub { font-size: 12px; color: var(--text-muted); margin: 0; }
.contacts-lines { display: flex; flex-direction: column; gap: 16px; }
.contacts-lines__label { font-weight: 700; font-size: 11px; color: var(--red); text-transform: uppercase; margin: 0 0 2px; }
.contacts-lines__value { font-size: 13px; margin: 0; }

.contacts-form {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contacts-form__title { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 22px; margin: 0; }
.contacts-form__grid { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea {
  background: var(--gray-bg);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  width: 100%;
}
.field textarea { resize: vertical; }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 11px; color: var(--text-gray); line-height: 1.3; }
.consent input { margin-top: 2px; accent-color: var(--red); }
.field--honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-status { font-size: 13px; margin: 0; min-height: 18px; }
.form-status--ok { color: #1a7f37; }
.form-status--error { color: var(--red); }

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  border-top: 1px solid #22252a;
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.footer__decoration { position: absolute; left: 50%; bottom: -20%; transform: translateX(-50%); width: 140%; opacity: 0.5; pointer-events: none; }
.footer__inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 40px; }
.footer__columns { display: flex; flex-direction: column; gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col--about p { color: var(--text-muted); font-size: 12px; line-height: 1.5; }
.footer__logo { height: 24px; width: auto; margin-bottom: 8px; align-self: flex-start; flex-shrink: 0; }
.footer__col-title { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 16px; text-transform: uppercase; color: #fff; margin: 0 0 6px; }
.footer__col a { display: block; color: var(--text-muted); font-size: 13px; padding: 2px 0; }
.footer__contact { font-size: 13px; color: var(--text-muted); }
.footer__contact--light { color: #fff; }
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
  padding-top: 24px;
  border-top: 1px solid #22252a;
}
.footer__policies { display: flex; gap: 16px; }

/* =========================================================
   Desktop breakpoint — matches Figma desktop frame (1440)
   ========================================================= */
@media (min-width: 1024px) {
  .container { padding: 0 40px; }

  .header { padding: 24px 40px; }
  .header__nav { display: flex; gap: 24px; font-weight: 500; font-size: 14px; color: #fff; }
  .header__cta { display: inline-flex; }
  .header__burger, .mobile-nav { display: none !important; }

  .hero { padding: 96px 0; }
  .hero__inner { align-items: flex-start; }
  .hero__title-wrap { max-width: 100%; width: 100%; }
  .hero__tool-img { top: 50%; left: 50%; width: 92%; max-width: 820px; }
  .hero__title { font-size: 110px; }
  .hero__title span { margin-top: 150px; }
  .hero__subtitle { font-size: 18px; max-width: 483px; }
  .hero__actions { flex-direction: row; }
  .hero__actions .btn { width: auto; }

  .why, .products, .service, .buy, .gallery, .certificate, .contacts, .dealers { padding: var(--gap-section-desktop) 0; }
  .buy { padding-bottom: calc(var(--gap-section-desktop) / 2); }
  .map { max-width: 90%; }

  .h2 { font-size: 48px; }
  .lead { font-size: 16px; }

  .stat-row { flex-direction: row; align-items: stretch; }
  .stat-card { flex: 1; }
  .stat-card__num { font-size: 88px; }
  .stat-stack { flex: 1; }

  .presence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
    row-gap: 24px;
  }
  .presence-card__brandbar { justify-content: space-between; }
  .brand-mark { height: 150px; max-width: none; }

  .category-row-top, .category-row-mid { flex-direction: row; }
  .cat-dark, .cat-light { flex: 1; }
  .category-banner { flex-direction: row; align-items: center; min-height: 400px; padding: 56px; }
  .category-banner__text { flex: 1; }
  .category-banner__img { position: absolute; right: 0; top: 0; height: 100%; width: 55%; max-height: none; border-radius: 0; }

  .p20s__title { font-size: 80px; }
  .p20s__inner { padding-bottom: 40px; }

  .benefit-grid, .service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .gallery-mosaic { grid-template-columns: repeat(3, 1fr); }
  .gallery-mosaic img { height: 260px; }

  .contacts-grid { flex-direction: row; align-items: stretch; }
  .contacts-card, .contacts-form { flex: 1; }
  .contacts-form__grid { flex-direction: row; flex-wrap: wrap; }
  .contacts-form__grid .field { flex: 1 1 45%; }

  .footer__columns { flex-direction: row; justify-content: space-between; gap: 40px; }
  .footer__col--about { flex: 1.6; max-width: 420px; }
  .footer__col { flex: 1; }
}

@media (min-width: 1280px) {
  .hero__title { font-size: 128px; }
}
