:root {
  --green: #163b2c;
  --green-2: #235f45;
  --red: #b5332a;
  --ink: #1c211e;
  --muted: #66706a;
  --paper: #f7f4ee;
  --white: #ffffff;
  --line: #dde2dc;
  --shadow: 0 20px 60px rgba(10, 26, 18, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--green);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-link {
  margin-left: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 238, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 172px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 15px;
  color: #3d4741;
}

.main-nav a {
  padding: 10px 0;
}

.main-nav a:hover,
.topbar a:hover,
.footer a:hover {
  color: var(--red);
}

.lang-toggle {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--green);
  min-width: 48px;
  height: 38px;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(14, 32, 23, 0.86), rgba(14, 32, 23, 0.35) 48%, rgba(14, 32, 23, 0.08));
}

.hero-content {
  position: relative;
  padding: 100px 0 70px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero .eyebrow {
  color: #ffd7c8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 18px;
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.hero-copy {
  max-width: 650px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.stihl-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  background: var(--red);
  color: var(--white);
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.46);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn.dark {
  background: var(--green);
  color: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(760px, 100%);
  margin: 46px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.hero-stats dt {
  font-size: 34px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.section {
  padding: 86px 0;
}

.split,
.line-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: start;
}

.intro p,
.section-head p,
.line-grid p,
.line-copy p,
.dealers p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.products,
.contact {
  background: var(--white);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  min-height: 220px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.card-icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--red);
  font-weight: 900;
}

.brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.brand-list span {
  padding: 13px 16px;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(10, 26, 18, 0.06);
}

.stihl-panel {
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stihl-panel p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.stihl-panel .btn {
  background: var(--white);
  color: var(--green);
}

.terra-line,
.dealers {
  background: #ecf0e8;
}

.spec-box,
.contact-card,
.contact-details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(10, 26, 18, 0.08);
}

.spec-box {
  display: grid;
  align-self: stretch;
}

.spec-box div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 24px;
  border-bottom: 1px solid var(--line);
}

.spec-box div:last-child {
  border-bottom: 0;
}

.spec-box span {
  align-self: start;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.spec-box strong {
  text-align: right;
  color: var(--green);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.08;
  letter-spacing: 0;
}

.line-copy {
  display: grid;
  gap: 18px;
  max-width: 700px;
}

.line-copy p {
  margin-bottom: 0;
}

.contact-card {
  padding: 26px;
}

.contact-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 700;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
}

.contact-card textarea {
  resize: vertical;
}

.contact-details {
  display: grid;
  gap: 14px;
  padding: 28px;
  font-size: 18px;
}

.contact-details a {
  color: var(--green);
  font-weight: 800;
}

.footer {
  padding: 56px 0 26px;
  background: #101914;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}

.footer .brand {
  width: 188px;
  filter: brightness(0) invert(1) opacity(0.78);
}

.footer h3 {
  color: var(--white);
  font-size: 16px;
}

.footer a {
  display: block;
  margin-bottom: 9px;
}

.fineprint {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.main-nav a[aria-current="page"],
.footer a[aria-current="page"] {
  color: var(--red);
  font-weight: 800;
}

.about-page {
  background: var(--paper);
}

.about-hero {
  padding: 138px 0 112px;
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 0.98), rgba(247, 244, 238, 0.82)),
    url("assets/terra-hero-showroom-v1.png") center / cover;
  border-bottom: 1px solid var(--line);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 70px;
  align-items: end;
}

.about-hero h1 {
  max-width: 860px;
  margin-bottom: 0;
  color: var(--green);
  font-size: clamp(58px, 8vw, 118px);
}

.about-lead {
  margin-bottom: 0;
  color: #3f4943;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.34;
}

.about-section {
  padding: 104px 0;
}

.about-two {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 84px;
  align-items: start;
}

.about-copy {
  color: #3f4943;
  font-size: 19px;
}

.about-copy p {
  margin-bottom: 20px;
}

.about-copy p:last-child,
.about-copy ul:last-child {
  margin-bottom: 0;
}

.about-paper {
  background: var(--white);
}

.about-origin {
  background:
    linear-gradient(135deg, rgba(236, 240, 232, 0.92), rgba(247, 244, 238, 0.98)),
    radial-gradient(circle at 12% 18%, rgba(181, 51, 42, 0.08), transparent 32%);
}

.about-statement {
  padding: 84px 0;
  color: var(--white);
  background: #101914;
}

.about-statement p {
  width: min(1040px, 100%);
  margin: 0;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.about-media {
  min-height: 560px;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-media-yard {
  background:
    linear-gradient(180deg, rgba(16, 25, 20, 0.08), rgba(16, 25, 20, 0.18)),
    url("assets/terra-hero-showroom-v1.png") center / cover;
}

.about-contrast {
  color: var(--white);
  background: var(--green);
}

.about-contrast .eyebrow {
  color: #f0c3b8;
}

.about-contrast h2,
.about-contrast .about-copy {
  color: var(--white);
}

.about-contrast .about-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.about-checklist {
  display: grid;
  gap: 10px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.about-checklist li {
  padding: 13px 16px;
  border-left: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.72);
}

.principles {
  background: #ecf0e8;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.principle-grid article {
  min-height: 290px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.principle-grid span {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--red);
  font-weight: 900;
}

.principle-grid p,
.mvv-grid p {
  color: var(--muted);
}

.about-mvv {
  background: var(--white);
}

.mvv-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}

.mvv-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.mvv-grid article:first-child {
  color: var(--white);
  background: var(--green);
}

.mvv-grid article:first-child .eyebrow {
  color: #f0c3b8;
}

.mvv-grid article:first-child h2 {
  font-size: clamp(30px, 3.4vw, 48px);
}

.about-closing {
  padding: 110px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 25, 20, 0.94), rgba(16, 25, 20, 0.74)),
    linear-gradient(135deg, var(--green), #243026);
}

.about-closing p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 20px;
}

.about-closing h2 {
  max-width: 980px;
  color: var(--white);
  font-size: clamp(40px, 5vw, 78px);
}

.about-signoff {
  margin: 38px 0 30px;
  font-weight: 900;
}

.about-signoff span {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(181, 51, 42, 0.72);
  outline-offset: 3px;
}

@media (max-width: 920px) {
  .topbar-inner,
  .nav-shell,
  .main-nav {
    flex-wrap: wrap;
  }

  .topbar-link,
  .main-nav {
    margin-left: 0;
  }

  .nav-shell {
    padding: 16px 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    gap: 14px 20px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(14, 32, 23, 0.82), rgba(14, 32, 23, 0.48));
  }

  .split,
  .line-grid,
  .contact-grid,
  .about-hero-grid,
  .about-two,
  .mvv-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .about-hero {
    padding: 96px 0 78px;
  }

  .about-section {
    padding: 78px 0;
  }

  .about-media {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .topbar-inner {
    gap: 10px 16px;
    padding: 10px 0;
  }

  .hero {
    min-height: 700px;
  }

  .hero-image {
    object-position: 57% center;
  }

  .hero-content {
    padding-bottom: 42px;
  }

  h1 {
    font-size: 50px;
  }

  .hero-stats,
  .product-grid,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .spec-box div {
    display: grid;
  }

  .spec-box strong {
    text-align: left;
  }

  .about-hero {
    padding: 76px 0 58px;
  }

  .about-hero h1 {
    font-size: 52px;
  }

  .about-lead,
  .about-copy {
    font-size: 18px;
  }

  .about-statement {
    padding: 58px 0;
  }

  .about-section,
  .about-closing {
    padding: 62px 0;
  }

  .about-media {
    min-height: 320px;
  }
}
