:root {
  --ink: #17212b;
  --muted: #5d6a76;
  --line: #dce4e8;
  --paper: #ffffff;
  --wash: #f4f8f6;
  --soft-blue: #fff;
  --teal: #0aa8b0;
  --teal-dark: #087981;
  --green: #b08a45;
  --amber: #f2a620;
  --shadow: 0 18px 45px rgba(26, 43, 53, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  max-width: 780px;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
  font-size: 1.25rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.topbar {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 92px;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand img {
  width: 172px;
  height: auto;
}

.nav-toggle {
  display: none;
  position: absolute;
  right: 1.25rem;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 19px;
  height: 2px;
  background: var(--ink);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 3rem);
  padding: 0 1rem 1rem;
  font-weight: 700;
  color: var(--ink);
}

.main-nav a {
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.25rem;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.hero {
  min-height: calc(100svh - 137px);
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  background: #111;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 24, 30, 0.78), rgba(11, 24, 30, 0.28) 54%, rgba(11, 24, 30, 0.08));
}

.hero.hero--promo {
  min-height: 0;
  display: block;
  background: #fff;
}

.hero.hero--promo .hero-media,
.hero.hero--promo .hero-media img {
  position: static;
  inset: auto;
}

.hero.hero--promo .hero-media {
  display: block;
  width: 100%;
  height: auto;
}

.hero.hero--promo .hero-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero.hero--promo::after {
  display: none;
}

.hero.hero--promo + .intro-band {
  margin-top: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(2rem, 6vw, 4rem);
  color: #fff;
}

.hero-copy p {
  max-width: 620px;
  font-size: 1.15rem;
}

.eyebrow {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.hero .eyebrow,
.contact-band .eyebrow {
  color: #bff1ef;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.button-primary {
  background: #b08a45;
  border-color: #b08a45;
  color: #1a1e20;
}

.button-primary:hover {
  background: #1a1e20;
  border-color: #1a1e20;
  color: #fff;
}

.button-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.intro-band {
  max-width: 1180px;
  margin: -2.2rem auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.metric {
  padding: 1.4rem;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.7rem;
  line-height: 1;
  margin-bottom: 0.45rem;
}

.metric span {
  color: var(--muted);
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.8rem) 0;
}

.service-list {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
}

.service-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.service-item:nth-child(even) {
  grid-template-columns: 112px minmax(0, 1fr);
}

.service-item:nth-child(even) img {
  order: 0;
}

.service-item img {
  width: 100%;
  max-height: 112px;
  object-fit: contain;
}

.service-item h2 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: 0.45rem;
}

.service-item p {
  max-width: 720px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.product-section {
  padding-top: 3rem;
}

.section-heading {
  max-width: 730px;
  margin-bottom: 1.8rem;
}

.section-heading p {
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 33, 43, 0.08);
}

.product-card > a:first-child {
  text-decoration: none;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--soft-blue);
  border-radius: 6px;
  margin-bottom: 1rem;
}

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

.price {
  color: var(--ink) !important;
  font-weight: 900;
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.price-large {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-band {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto clamp(3rem, 7vw, 5rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, #17212b, #103e46 55%, #b08a45);
  color: #fff;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.contact-band p {
  max-width: 680px;
}

.site-footer {
  background: var(--ink);
  color: #dce4e8;
  padding: 2.5rem 1rem;
}

.footer-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 2rem;
}

.site-footer a {
  color: #fff;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.page-hero {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 2rem;
}

.page-hero.compact {
  padding-bottom: 0;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
}

.detail-hero {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.2rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.detail-media {
  background: var(--soft-blue);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.detail-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.contain-media img,
.gallery-card img {
  object-fit: contain;
  padding: 1rem;
}

.detail-summary .lead {
  color: var(--muted);
  font-size: 1.12rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: center;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.spec-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: var(--wash);
}

.spec-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 0.2rem;
}

.spec-grid strong {
  display: block;
  line-height: 1.3;
}

.tech-list {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tech-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tech-columns article,
.feature-strip article,
.people-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
  background: #fff;
}

.tech-columns p,
.feature-strip p,
.people-grid p,
.text-page p,
.split-section p {
  color: var(--muted);
}

.image-panel {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft-blue);
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-strip,
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

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

.feature-strip span {
  color: var(--amber);
  font-weight: 900;
}

.request-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: start;
}

.request-section.single-form {
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
}

.request-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1rem, 3vw, 1.5rem);
  display: grid;
  gap: 1rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 33, 43, 0.08);
}

.request-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 800;
}

.request-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.request-form legend {
  padding: 0;
  margin-bottom: 0.1rem;
  font-weight: 800;
}

.request-form input,
.request-form textarea,
.request-form select {
  width: 100%;
  border: 1px solid #cbd6dc;
  border-radius: 8px;
  padding: 0.82rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.request-form input:focus,
.request-form textarea:focus,
.request-form select:focus {
  outline: 3px solid rgba(10, 168, 176, 0.18);
  border-color: var(--teal);
}

.checkline {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.6rem !important;
  font-weight: 700 !important;
}

.checkline input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.shipping-options {
  border-top: 1px solid var(--line) !important;
  padding-top: 0.35rem !important;
}

.shipping-options .checkline {
  align-items: flex-start;
}

.form-note {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  margin: -0.1rem 0 0;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.text-page {
  max-width: 860px;
}

.text-page h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  margin: 2.2rem 0 0.75rem;
}

.text-page h2:first-child {
  margin-top: 0;
}

.text-page a {
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 860px) {
  .topbar {
    justify-content: flex-start;
    min-height: 76px;
  }

  .brand img {
    width: 136px;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0 1.25rem 1.2rem;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 0.72rem 0;
    border-top: 1px solid var(--line);
  }

  .hero {
    min-height: 76svh;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(11, 24, 30, 0.82), rgba(11, 24, 30, 0.32) 62%, rgba(11, 24, 30, 0.08));
  }

  .intro-band,
  .product-grid,
  .detail-hero,
  .split-section,
  .tech-columns,
  .feature-strip,
  .people-grid,
  .request-section,
  .request-section.single-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .intro-band {
    margin-top: 0;
    box-shadow: none;
    border-left: 0;
    border-right: 0;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .service-item,
  .service-item:nth-child(even) {
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: start;
  }

  .service-item:nth-child(even) img {
    order: 0;
  }

  .service-item img {
    max-height: 76px;
  }

  .contact-band {
    display: block;
  }

  .contact-band .button {
    margin-top: 1rem;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.1rem;
  }

  .hero-copy {
    width: calc(100% - 1.4rem);
    padding-bottom: 1.4rem;
  }

  .hero-actions,
  .detail-actions {
    display: grid;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .page-hero,
  .detail-hero,
  .contact-band {
    width: min(100% - 1.4rem, 1180px);
  }
}
