:root {
  --green: #43a047;
  --green-dark: #2f7d35;
  --green-soft: #edf7ee;
  --green-tint: #f7fbf7;
  --ink: #222724;
  --muted: #68716c;
  --line: #dfe5e1;
  --surface: #ffffff;
  --canvas: #f4f6f3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
}

.header-inner,
.hero-inner,
.section,
.footer-inner,
.contact-section > * {
  width: min(1180px, calc(100% - 36px));
  margin-right: auto;
  margin-left: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.logo {
  display: block;
  width: min(226px, 50vw);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.nav-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
  background: var(--green-soft);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f2f4f2;
}

.language-link {
  display: inline-flex;
  min-width: 40px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.language-link:hover,
.language-link.active {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(34, 39, 36, 0.14);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.06;
}

h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  line-height: 1.08;
}

.home-hero {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: clamp(32px, 4vw, 48px);
  align-items: center;
  padding-top: clamp(30px, 3.5vw, 42px);
  padding-bottom: clamp(30px, 3.5vw, 42px);
}

.hero-copy {
  display: grid;
  gap: 15px;
  align-content: center;
}

.eyebrow {
  margin: 0;
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: #4f5853;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.91rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #ffffff;
  background: var(--green-dark);
}

.button.primary:hover {
  background: #286c2e;
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}

.button.secondary:hover {
  border-color: #cbd5ce;
  background: var(--green-tint);
}

.hero-image {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d8e2dc;
  border-radius: 8px;
  background: #dfeef0;
  box-shadow: 0 18px 40px rgba(31, 43, 36, 0.1);
}

.hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.section {
  padding: clamp(38px, 5vw, 64px) 0;
}

.first-section {
  padding-top: clamp(34px, 4.5vw, 54px);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.section-note {
  max-width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.product-column {
  display: grid;
  min-width: 0;
  gap: 30px;
  align-content: start;
}

.product-group {
  min-width: 0;
}

.product-group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0 2px 12px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 850;
  text-transform: uppercase;
}

.product-group h3::before {
  width: 4px;
  height: 18px;
  flex: 0 0 4px;
  border-radius: 2px;
  background: var(--green);
  content: "";
}

.product-list {
  display: grid;
  gap: 10px;
}

.product-row {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 8px;
  min-height: 154px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(31, 43, 36, 0.045);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.product-row:hover {
  border-color: #cdd8d0;
  box-shadow: 0 12px 28px rgba(31, 43, 36, 0.08);
  transform: translateY(-1px);
}

.product-row img {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 144px;
  height: 132px;
  object-fit: contain;
  align-self: start;
  border-radius: 6px;
  background: #ffffff;
}

.product-info {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
  padding-top: 3px;
}

.product-info > span:first-child {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
}

.product-description,
.product-detail {
  color: #505a54;
  font-size: 0.86rem;
  line-height: 1.35;
}

.product-detail {
  color: var(--muted);
}

.product-info small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.product-price {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: baseline;
  align-self: end;
  justify-self: start;
  gap: 8px;
  min-width: 0;
}

.product-price span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.product-price strong {
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.1;
  white-space: nowrap;
}

.product-row.no-price {
  grid-template-rows: auto;
}

.product-row.no-price img {
  grid-row: 1;
}

.car-feature {
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(31, 43, 36, 0.055);
}

.car-feature img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: #f4f6f4;
}

.car-feature h3 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.1;
}

.car-feature p {
  margin: 0;
  color: var(--muted);
}

.cars-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(31, 43, 36, 0.05);
}

.cars-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

.cars-table th,
.cars-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.cars-table th {
  color: var(--muted);
  background: var(--green-tint);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.cars-table td:first-child {
  color: var(--green-dark);
  font-weight: 850;
}

.cars-table td:last-child {
  color: var(--green-dark);
  font-size: 1.03rem;
  font-weight: 850;
  white-space: nowrap;
}

.cars-table tbody tr:hover {
  background: #fbfcfb;
}

.cars-table tr:last-child td {
  border-bottom: 0;
}

.contact-section {
  width: 100%;
  margin: 0;
  padding: clamp(38px, 5vw, 54px) 0;
  color: #ffffff;
  background: #202a23;
}

.contact-heading {
  display: grid;
  gap: 8px;
}

.contact-section h2 {
  color: #ffffff;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.contact-heading p {
  max-width: 720px;
  margin: 0;
  color: #c3cbc6;
}

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

.contact-item {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.contact-item span {
  color: #9fc8a2;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-item strong {
  color: #ffffff;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  overflow-wrap: anywhere;
}

.contact-item:hover {
  border-color: rgba(159, 200, 162, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.footer {
  padding: 24px 0;
  color: #b8c1bb;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #18201b;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner a {
  color: #b8c1bb;
  font-weight: 400;
  text-align: right;
  text-decoration: none;
}

.footer-inner a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
    gap: 28px;
  }

  .product-groups {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .product-column {
    display: contents;
  }

  .product-group.motors {
    order: 1;
  }

  .product-group.boats {
    order: 2;
  }

  .product-group.atv-utv {
    order: 3;
  }

  .product-group.electric {
    order: 4;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
  }

  .header-inner {
    gap: 9px;
    align-items: center;
  }

  .logo-link {
    justify-content: center;
    width: 100%;
  }

  .logo {
    width: min(205px, 62vw);
  }

  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    width: 100%;
    gap: 5px;
  }

  .nav-link {
    padding-right: 8px;
    padding-left: 8px;
  }

  .language-switch {
    width: auto;
    margin-left: 0;
  }

  .language-link {
    min-width: 36px;
    padding-right: 7px;
    padding-left: 7px;
  }

  .hero-inner {
    display: block;
    padding-top: 28px;
    padding-bottom: 30px;
  }

  .hero-copy {
    gap: 13px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 0.94rem;
  }

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

  .hero-image {
    display: none;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .product-row {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding: 10px;
  }

  .product-row img {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    height: 186px;
    margin-bottom: 15px;
  }

  .product-info,
  .product-price {
    grid-column: auto;
    grid-row: auto;
  }

  .product-info {
    gap: 5px;
    padding: 0 3px;
  }

  .product-info > span:first-child {
    font-size: 1.08rem;
  }

  .product-price {
    justify-self: stretch;
    padding: 13px 3px 2px;
  }

  .product-row.no-price {
    grid-template-columns: 1fr;
  }

  .car-feature {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 14px;
  }

  .cars-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .cars-table {
    min-width: 0;
  }

  .cars-table thead {
    display: none;
  }

  .cars-table,
  .cars-table tbody,
  .cars-table tr,
  .cars-table td {
    display: block;
    width: 100%;
  }

  .cars-table tr {
    margin-bottom: 12px;
    padding: 10px 14px 12px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--green);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 8px 22px rgba(31, 43, 36, 0.045);
  }

  .cars-table td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    text-align: right;
  }

  .cars-table td::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 850;
    text-align: left;
    text-transform: uppercase;
  }

  .cars-table tr:last-child td {
    border-bottom: 1px solid var(--line);
  }

  .cars-table td:last-child {
    border-bottom: 0;
  }

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

  .footer-inner {
    align-items: flex-start;
  }

  .footer-inner a {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .product-row {
    transition: none;
  }
}
