:root {
  --bg: #f2f7f1;
  --surface: #ffffff;
  --surface-soft: #e7f1e5;
  --text: #1f2a1f;
  --muted: #4f5c4e;
  --forest: #295534;
  --forest-deep: #163824;
  --accent: #7aa35f;
  --line: #d6e3d4;
  --shadow: 0 10px 30px rgba(30, 66, 37, 0.12);
  --header-stack-height: 130px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", "Segoe UI", Tahoma, sans-serif;
  background:
    radial-gradient(circle at 12% 15%, rgba(122, 163, 95, 0.2), transparent 34%),
    radial-gradient(circle at 86% 7%, rgba(41, 85, 52, 0.11), transparent 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--forest);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.top-bar {
  background: var(--forest-deep);
  color: #f4f9f3;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-bar a {
  color: #f4f9f3;
}

.top-bar-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0;
}

.top-bar-inner p {
  margin: 0;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid #edf2ec;
}

.nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.3rem;
  padding: 1rem 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-link:hover {
  text-decoration: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.company {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", Tahoma, sans-serif;
  font-size: 1rem;
  color: var(--forest-deep);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  font-weight: 600;
}

.hero {
  min-height: calc(100vh - var(--header-stack-height));
  min-height: calc(100dvh - var(--header-stack-height));
  display: grid;
  align-items: end;
  background:
    linear-gradient(0deg, rgba(17, 47, 23, 0.66), rgba(17, 47, 23, 0.2)),
    url("https://images.unsplash.com/photo-1511497584788-876760111969?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  color: #f6faf6;
}

.hero-content {
  padding: 5rem 0 4rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-family: "Montserrat", "Segoe UI", Tahoma, sans-serif;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.5rem);
}

h2 {
  margin-top: 0;
  font-size: clamp(1.5rem, 3.1vw, 2.3rem);
  color: var(--forest-deep);
}

.lead {
  max-width: 60ch;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  margin-bottom: 0.25rem;
}

.tagline {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section {
  padding: 4rem 0;
}

.soft-bg {
  background: linear-gradient(180deg, rgba(231, 241, 229, 0.7), rgba(231, 241, 229, 0.25));
}

.cards {
  display: grid;
  gap: 1rem;
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

.dealer-card address {
  margin-top: 1rem;
  font-style: normal;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.gallery img {
  height: 260px;
  width: 100%;
  object-fit: contain;
  background: #f8fbf8;
  padding: 0.35rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.career-card {
  max-width: 760px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.footer {
  background: var(--forest-deep);
  color: #eff7ee;
  padding: 1.8rem 0 7rem;
}

.footer p {
  margin: 0.3rem 0;
}

.privacy {
  opacity: 0.9;
}

.cookie-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.9rem 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.cookie-bar p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

button {
  border: 1px solid var(--forest);
  background: var(--forest);
  color: #fff;
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

button.ghost {
  background: transparent;
  color: var(--forest);
}

.reveal {
  animation: fade-up 700ms both;
}

.section.reveal:nth-of-type(2) {
  animation-delay: 120ms;
}

.section.reveal:nth-of-type(3) {
  animation-delay: 180ms;
}

.section.reveal:nth-of-type(4) {
  animation-delay: 240ms;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .nav-wrap {
    grid-template-columns: 1fr;
  }

  .brand-link {
    width: fit-content;
  }

  .three-col,
  .two-col,
  .contact-grid,
  .gallery,
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    justify-content: flex-start;
  }

  .three-col,
  .two-col,
  .contact-grid,
  .gallery,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .gallery img {
    height: auto;
  }

  .cookie-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions button {
    flex: 1;
  }
}
