:root {
  --ink: #17211f;
  --muted: #5c6964;
  --line: #dce3de;
  --paper: #f7f8f5;
  --white: #ffffff;
  --green: #1f6f54;
  --green-dark: #0f3f32;
  --steel: #53616a;
  --amber: #c9852e;
  --shadow: 0 18px 50px rgba(20, 35, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(10, 20, 18, 0.7), rgba(10, 20, 18, 0));
}

.brand,
.nav-links,
.hero-actions,
.hero-metrics,
.product-strip,
.contact-lines,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.nav-links a:hover,
.nav-action:hover {
  color: var(--white);
}

.nav-action {
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  padding: 120px clamp(20px, 6vw, 84px) 64px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(11, 30, 26, 0.94) 0%, rgba(11, 30, 26, 0.72) 37%, rgba(11, 30, 26, 0.16) 72%),
    url("assets/hero-tools.png") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(247, 248, 245, 0), var(--paper));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 780px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.button.full {
  width: 100%;
}

.hero-metrics {
  flex-wrap: wrap;
  gap: 12px;
}

.hero-metrics span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.hero-metrics strong {
  color: var(--white);
  margin-right: 6px;
}

.product-strip {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: -30px auto 0;
  padding: 18px;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-strip span {
  padding: 10px 14px;
  color: var(--steel);
  background: #eef2ef;
  font-size: 14px;
  font-weight: 700;
}

.section,
.split-section,
.inquiry {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 118px) 0;
}

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

.section-heading p,
.split-section p,
.inquiry-copy p,
.product-card p,
.quality-steps p,
.capability-list span {
  color: var(--muted);
  line-height: 1.7;
}

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

.product-card,
.quality-steps article,
.inquiry-form {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(25, 40, 35, 0.05);
}

.product-card {
  min-height: 270px;
  overflow: hidden;
}

.card-icon {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--amber);
  font-weight: 800;
}

.image-grid .product-card {
  display: grid;
  grid-template-rows: 230px 1fr;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #eef2ef;
}

.product-card div {
  padding: 24px;
}

.gallery-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 42px 0 18px;
}

.gallery-heading h3 {
  margin: 0;
}

.gallery-heading a {
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

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

.product-gallery figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}

.product-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 180ms ease;
}

.product-gallery figure:hover img {
  transform: scale(1.04);
}

.product-gallery figcaption {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 7px 8px;
  overflow: hidden;
  color: var(--white);
  background: rgba(15, 63, 50, 0.82);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-list {
  display: grid;
  gap: 14px;
}

.capability-list div {
  display: grid;
  gap: 8px;
  padding: 22px 0 22px 24px;
  border-left: 4px solid var(--green);
  background: linear-gradient(90deg, rgba(31, 111, 84, 0.08), rgba(255, 255, 255, 0));
}

.quality {
  padding-top: clamp(72px, 9vw, 100px);
}

.compact {
  max-width: 680px;
}

.quality-steps article {
  padding: 28px;
}

.quality-steps span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  color: var(--white);
  background: var(--steel);
  font-weight: 800;
}

.inquiry {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.8fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: start;
  padding-top: 0;
}

.contact-lines {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  color: var(--green-dark);
  font-weight: 800;
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcfa;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 111, 84, 0.13);
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 4vw, 64px);
  color: rgba(255, 255, 255, 0.75);
  background: var(--green-dark);
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 86svh;
    background:
      linear-gradient(180deg, rgba(11, 30, 26, 0.96) 0%, rgba(11, 30, 26, 0.76) 56%, rgba(11, 30, 26, 0.2) 100%),
      url("assets/hero-tools.png") center / cover no-repeat;
  }

  .product-grid,
  .quality-steps,
  .split-section,
  .inquiry {
    grid-template-columns: 1fr;
  }

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

  .product-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child,
  .nav-action {
    display: none;
  }

  .hero {
    min-height: 84svh;
    padding: 100px 18px 52px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 31px;
  }

  .section,
  .split-section,
  .inquiry {
    width: calc(100% - 32px);
  }

  .product-strip {
    width: calc(100% - 32px);
    justify-content: flex-start;
  }

  .gallery-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
