:root {
  --ink: #14201b;
  --muted: #607069;
  --line: #d8e1dc;
  --paper: #f4f6f2;
  --white: #ffffff;
  --green: #1f5a3c;
  --green-dark: #143425;
  --accent: #c59c4a;
  --steel: #71828a;
  --soft: #e9eee8;
  --shadow: 0 24px 70px rgba(18, 32, 26, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px clamp(18px, 4vw, 60px);
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 16px clamp(18px, 4vw, 60px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 285px;
}

.brand-logo {
  width: 126px;
  height: 46px;
  object-fit: contain;
  object-position: center;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.08;
}

.brand strong {
  font-size: 19px;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  justify-self: center;
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.text-link:hover {
  color: var(--green);
}

.header-cta,
.button,
.quote-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 4px;
  font-weight: 800;
}

.header-cta,
.button.primary,
.quote-form button {
  background: var(--accent);
  color: #17140e;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(340px, 0.84fr) minmax(440px, 1.16fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  min-height: calc(100vh - 105px);
  padding: clamp(34px, 6vw, 86px) clamp(18px, 4vw, 60px);
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(20, 32, 27, 0.98), rgba(20, 52, 37, 0.92) 48%, rgba(20, 32, 27, 0.78)),
    url("images/factory-gabion-production.png") center / cover;
}

.hero-copy {
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(42px, 6.5vw, 78px);
}

h2 {
  font-size: clamp(30px, 4.2vw, 50px);
}

h3 {
  font-size: 21px;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

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

.hero-metrics div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 22px;
}

.hero-metrics span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.hero-panel {
  position: relative;
  margin: 0;
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-card {
  width: min(440px, 92%);
  margin: -70px 0 0 auto;
  position: relative;
  padding: 24px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 25px;
}

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

.hero-card a,
.text-link {
  color: var(--green);
  font-weight: 900;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.quick-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 18px clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line);
  font-weight: 900;
}

.quick-links span {
  color: var(--accent);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 60px);
}

.section-title {
  max-width: 880px;
  margin-bottom: 36px;
}

.section-title p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 94px;
  display: grid;
  background: var(--green-dark);
  color: var(--white);
}

.catalog-sidebar h3,
.catalog-sidebar a {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.catalog-sidebar h3 {
  background: var(--green);
}

.catalog-sidebar a {
  color: rgba(255, 255, 255, 0.78);
}

.catalog-sidebar a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(18, 32, 26, 0.06);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.card-body span {
  width: max-content;
  padding: 4px 9px;
  background: var(--soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.card-body p {
  margin: 0;
  color: var(--muted);
}

.card-body .recommended-spec {
  padding: 12px;
  border-left: 3px solid var(--accent);
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
}

.band {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(360px, 1.05fr);
  align-items: stretch;
  background: var(--green-dark);
  color: var(--white);
}

.band-image img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.band-copy {
  align-self: center;
  padding: clamp(42px, 6vw, 82px);
}

.band-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.proof-grid div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
}

.applications {
  background: var(--white);
}

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

.application-grid article,
.why-grid div {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fbfcfa;
}

.application-grid article:nth-child(1),
.why-grid div:nth-child(2) {
  background: var(--green-dark);
  color: var(--white);
}

.application-grid p,
.why-grid p {
  color: var(--muted);
}

.application-grid article:nth-child(1) p,
.why-grid div:nth-child(2) p {
  color: rgba(255, 255, 255, 0.72);
}

.specs {
  background: var(--soft);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}

table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

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

.why {
  background: var(--paper);
}

.why-grid strong {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  background: var(--accent);
  color: #17140e;
}

.faq {
  background: var(--white);
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: 20px;
  font-weight: 900;
}

details p {
  max-width: 900px;
  margin: 0 0 22px;
  color: var(--muted);
}

.quote {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: start;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 60px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(20, 32, 27, 0.94), rgba(31, 90, 60, 0.88)),
    url("images/gabion-export-packing.png") center / cover;
}

.quote p,
.quote li {
  color: rgba(255, 255, 255, 0.76);
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 13px;
  color: var(--ink);
  font: inherit;
}

.quote-form button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 60px);
  color: rgba(255, 255, 255, 0.66);
  background: #0f1713;
}

.site-footer a {
  color: var(--white);
}

@media (max-width: 980px) {
  .product-grid,
  .application-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-layout,
  .hero,
  .band,
  .quote {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .topbar {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

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

  .hero-metrics,
  .proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 13px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-card {
    margin-top: 0;
    width: 100%;
  }

  .quick-links,
  .product-grid,
  .application-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
