:root {
  --black: #08090b;
  --white: #ffffff;
  --accent: #dc1a2f;
  --navy: #111630;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: #000;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

.container {
  width: min(1280px, 94%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.24s ease;
}

.topbar.topbar-hidden {
  transform: translateY(-120%);
}

.topbar-inner {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.logo {
  width: 230px;
  max-width: 100%;
  display: block;
  border-radius: 14px;
}

.topbar .logo {
  border-radius: 12px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-btn {
  text-decoration: none;
  color: #111;
  background: #fff;
  border-radius: 12px;
  padding: 13px 22px;
  font-weight: 700;
}

.menu-btn {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0;
  cursor: pointer;
  border-radius: 10px;
  padding: 12px 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}

.menu-icon {
  width: 21px;
  height: 16px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 4px;
  background: #fff;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 69;
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 84vw);
  height: 100vh;
  background: #fff;
  color: #141414;
  transform: translateX(100%);
  transition: transform 0.24s ease;
  z-index: 70;
  padding: 22px 20px 30px;
}

.side-menu.is-open {
  transform: translateX(0);
}

.close-menu-btn {
  border: 0;
  background: transparent;
  color: #111;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  display: block;
  margin-left: auto;
}

.side-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
  align-items: center;
}

.side-menu-nav a {
  text-decoration: none;
  color: #232323;
  font-weight: 500;
  font-size: 18px;
  text-align: center;
  width: 100%;
}

.hero {
  background: linear-gradient(140deg, #4b0c16 0%, #6e0f1f 40%, #19060a 100%);
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 80px;
}

.hero-inner {
  display: block;
}

.hero h1,
.hero h2,
.features h2,
.feature-grid h3,
.about h2 {
  font-family: "Anton", Impact, sans-serif;
  letter-spacing: 0.4px;
  margin: 0;
}

.hero h1 {
  font-size: clamp(36px, 3.35vw, 58px);
  line-height: 1.03;
}

.hero h2 {
  margin-top: 6px;
  font-size: clamp(25px, 2.3vw, 40px);
}

.hero p {
  font-size: clamp(17px, 1.28vw, 23px);
  max-width: 760px;
  line-height: 1.33;
  margin-top: 18px;
  font-weight: 600;
}

.hero-card {
  display: none;
}

.features {
  background: #fff;
  color: #111;
  text-align: center;
  padding: 64px 0 56px;
}

.features h2 {
  font-size: clamp(24px, 2.2vw, 40px);
}

.feature-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.feature-grid h3 {
  font-size: clamp(18px, 1.65vw, 30px);
}

.feature-grid p {
  margin-top: 14px;
  font-size: clamp(14px, 1.2vw, 22px);
  font-weight: 500;
  line-height: 1.3;
}

.about {
  background:
    linear-gradient(90deg, rgba(6, 4, 11, 0.75), rgba(0, 0, 0, 0.9)),
    radial-gradient(circle at 15% 30%, rgba(116, 8, 18, 0.5), transparent 40%),
    radial-gradient(circle at 40% 70%, rgba(30, 48, 104, 0.6), transparent 35%),
    #000;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.about-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 38px;
  align-items: center;
  padding: 48px 0;
}

.about-image {
  min-height: 420px;
  background:
    radial-gradient(circle at 40% 35%, rgba(37, 66, 150, 0.3), transparent 50%),
    radial-gradient(circle at 20% 20%, rgba(164, 20, 36, 0.45), transparent 45%);
  border-radius: 8px;
}

.about h2 {
  font-size: clamp(24px, 2.2vw, 39px);
  line-height: 1.16;
  margin-bottom: 18px;
}

.about p {
  font-size: clamp(14px, 1.05vw, 23px);
  line-height: 1.36;
  margin: 0 0 10px;
}

.about-content {
  max-width: 496px;
  justify-self: end;
}

.footer {
  background: #0a0a0a;
}

.footer-top {
  min-height: 150px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
}

.mail-link {
  color: #fff;
  text-decoration: none;
  font-size: clamp(17px, 1.2vw, 23px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.mail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 18px;
  color: #cf1026;
}

.mail-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mail-icon path {
  fill: currentColor;
}

.mail-icon .mail-line {
  fill: none;
  stroke: #000;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-nav {
  border-top: 1px solid #212121;
  border-bottom: 1px solid #212121;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  padding: 18px 0;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(16px, 1vw, 19px);
}

.footer-nav .active {
  color: var(--accent);
}

.copyright {
  color: #e9e9e9;
  min-height: 16px;
  display: flex;
  align-items: center;
}

.copyright p {
  margin: 0;
  font-size: 14px;
}

.to-top-btn {
  position: fixed;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 80;
}

.to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top-btn svg {
  width: 18px;
  height: 18px;
}

.to-top-btn path {
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-page {
  min-height: calc(100vh - 120px);
  background: #fff;
  padding: 56px 0 72px;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.contact-info-card {
  color: #1d1d1d;
  text-align: left;
  padding-left: 20px;
}

.contact-info-card h1 {
  margin: 0 0 18px;
  margin-left: -6px;
  color: #111;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(28px, 2.8vw, 44px);
  letter-spacing: 0.3px;
}

.contact-info-card p {
  margin: 0 0 8px;
  font-size: clamp(18px, 1.35vw, 27px);
  line-height: 1.2;
  color: #2d2d2d;
}

.contact-form-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  border: 1px solid #ececec;
  padding: 18px;
}

.contact-form label {
  color: #222;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.contact-form label span {
  color: #d2172d;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 9px;
  padding: 11px 12px;
  font-size: 15px;
  margin-bottom: 14px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form button {
  width: 100%;
  border: 0;
  border-radius: 9px;
  background: #1f2d79;
  color: #fff;
  min-height: 48px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.dealers-page {
  background: #fff;
  padding: 54px 0 70px;
}

.dealers-section h1 {
  margin: 0 0 30px;
  color: #111;
  text-align: center;
  font-family: "Anton", Impact, sans-serif;
  letter-spacing: 0.3px;
  font-size: clamp(34px, 3.2vw, 56px);
}

.dealer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dealer-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  padding: 18px 16px 16px;
}

.dealer-card h3 {
  margin: 0 0 14px;
  color: #0d0d0d;
  font-family: "Anton", Impact, sans-serif;
  letter-spacing: 0.25px;
  font-size: clamp(22px, 1.5vw, 30px);
  line-height: 1.05;
}

.dealer-card p {
  margin: 0 0 12px;
  color: #2e2e2e;
  font-weight: 500;
  font-size: clamp(16px, 1vw, 19px);
  line-height: 1.3;
  font-family: "Baloo 2", "Montserrat", Arial, sans-serif;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
}

.dealer-card a {
  color: #2e2e2e;
  text-decoration: none;
  font-weight: inherit;
  font-family: inherit;
}

.dealer-card p i {
  color: #2a327c;
  font-size: 15px;
  line-height: 1.2;
  margin-top: 3px;
}

.dealer-card p span {
  display: inline-block;
}

.inner-page {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 0;
  background: linear-gradient(160deg, #080b18 0%, #0f1226 55%, #090909 100%);
}

.inner-card {
  width: min(960px, 94%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 38px;
}

.inner-card h1 {
  margin: 0 0 18px;
  font-family: "Anton", Impact, sans-serif;
  letter-spacing: 0.4px;
  font-size: clamp(34px, 4vw, 58px);
}

.inner-card p {
  margin: 0 0 12px;
  font-size: clamp(18px, 1.8vw, 27px);
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .hero-inner,
  .about-inner,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 650px;
    width: 100%;
    margin: 12px auto 0;
  }

  .about-image {
    min-height: 280px;
  }

  .contact-page {
    padding-top: 34px;
  }

  .contact-info-card {
    padding-left: 0;
  }

  .contact-info-card h1 {
    margin-left: 0;
  }

  .dealer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .topbar-inner {
    min-height: 74px;
  }

  .logo {
    width: 170px;
  }

  .contact-btn {
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 13px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero {
    min-height: 100vh;
    padding-bottom: 60px;
  }

  .about {
    min-height: 460px;
  }

  .side-menu-nav a {
    font-size: 16px;
  }

  .dealers-section h1 {
    font-size: clamp(28px, 7vw, 42px);
  }

  .dealer-grid {
    grid-template-columns: 1fr;
  }
}
