:root {
  --ink: #17201b;
  --muted: #5b6a63;
  --line: #d9e1dc;
  --paper: #f7f8f4;
  --surface: #ffffff;
  --primary: #176b5d;
  --primary-dark: #0e453c;
  --accent: #c47a3a;
  --accent-soft: #f0dfce;
  --shadow: 0 18px 45px rgba(23, 32, 27, 0.12);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(247, 248, 244, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.language-switch a,
.nav-toggle {
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

.site-nav a:hover,
.language-switch a:hover,
.language-switch .active {
  color: var(--ink);
  background: #e9eee8;
}

.site-nav .nav-cta {
  background: var(--primary);
  color: #fff;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  border-left: 1px solid var(--line);
  padding-left: 14px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(46px, 7vw, 96px) clamp(18px, 6vw, 86px) 42px;
}

.hero-copy h1,
.page-hero h1,
.section h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(2.35rem, 5.4vw, 5.8rem);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.lead,
.hero-copy .lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
}

.hero-actions,
.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 800;
}

.button.primary {
  background: var(--primary);
  color: #fff;
}

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

.proof-row span {
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  color: var(--muted);
  font-weight: 750;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section,
.page-hero {
  padding: clamp(46px, 6vw, 86px) clamp(18px, 6vw, 86px);
}

.intro-grid,
.section-heading,
.capability-band,
.contact-layout,
.page-hero.split,
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.intro-grid p,
.section-heading p,
.capability-band p,
.page-hero p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading h2,
.intro-grid h2,
.capability-band h2,
.page-hero h1 {
  font-size: clamp(2rem, 3.8vw, 4rem);
}

.product-section,
.capability-list {
  background: var(--surface);
}

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

.product-grid.full {
  margin-top: 0;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

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

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

.product-card span,
.sku {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.product-card h2,
.product-card h3 {
  margin: 8px 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

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

.capability-band {
  background: var(--primary-dark);
  color: #fff;
}

.capability-band p {
  color: #d7e7e2;
}

.capability-band img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.page-hero.compact {
  max-width: 980px;
}

.page-hero.split img,
.detail-media img,
.contact-aside img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.detail-media img {
  aspect-ratio: 4 / 4.7;
}

.detail-copy h2 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.06;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--primary);
  font-weight: 800;
}

.spec-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--muted);
  font-weight: 800;
}

.spec-list dd {
  margin: 0;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.capability-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.capability-list article span {
  display: block;
  width: 34px;
  height: 5px;
  margin-bottom: 22px;
  background: var(--accent);
}

.capability-list h2 {
  font-size: 1.15rem;
}

.capability-list p {
  color: var(--muted);
}

.contact-panel {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.contact-panel h2 {
  margin-top: 0;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

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

textarea {
  resize: vertical;
}

.success {
  border-left: 4px solid var(--primary);
  padding: 12px 14px;
  background: #edf7f3;
  color: var(--primary-dark);
}

.contact-aside {
  display: grid;
  gap: 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 34px clamp(18px, 6vw, 86px);
  background: #101713;
  color: #fff;
}

.site-footer p {
  margin: 6px 0 0;
  color: #c7d3ce;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .hero,
  .intro-grid,
  .section-heading,
  .capability-band,
  .contact-layout,
  .page-hero.split,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 640px) {
  .brand span {
    display: none;
  }

  .language-switch {
    padding-left: 6px;
  }

  .hero-copy h1 {
    font-size: 2.25rem;
  }

  .product-grid,
  .capability-list,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
