:root {
  --ink: #162033;
  --muted: #5f6b7d;
  --line: #dce4ec;
  --blue: #0b65c2;
  --teal: #009b9a;
  --green: #5e9d45;
  --gold: #d89b2b;
  --coral: #d75f4f;
  --paper: #f7fafc;
  --wash: #eef6fb;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(20, 42, 67, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(24, 48, 70, 0.1);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: currentColor;
  font-size: 12px;
  opacity: 0.72;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.nav-cta {
  padding: 11px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
}

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

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(8, 20, 34, 0.78), rgba(8, 20, 34, 0.42) 44%, rgba(8, 20, 34, 0.08));
}

.hero-content {
  position: relative;
  align-self: center;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding-top: 90px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #a9f0e9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

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

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

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

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 14px 20px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.hero-strip {
  position: relative;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 28px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.hero-strip span {
  min-height: 70px;
  padding: 22px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  border-right: 1px solid var(--line);
}

.section-pad {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: 48px;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 155, 154, 0.11), transparent 42%),
    linear-gradient(315deg, rgba(216, 155, 43, 0.12), transparent 44%),
    var(--paper);
}

.intro::before {
  content: "";
  position: absolute;
  inset: 28px auto 28px 0;
  width: 8px;
  background: linear-gradient(var(--teal), var(--blue), var(--gold));
}

.intro-copy {
  max-width: 850px;
}

.intro-panel {
  position: relative;
  isolation: isolate;
  padding: 28px;
  border: 1px solid rgba(11, 101, 194, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-glow {
  position: absolute;
  top: -72px;
  right: -72px;
  z-index: -1;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(0, 155, 154, 0.24);
  filter: blur(8px);
}

.intro-panel article {
  padding: 22px;
  border-radius: 8px;
  color: var(--white);
  background: #12344d;
}

.intro-panel strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 24px;
  line-height: 1.15;
}

.intro-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.mini-label {
  color: #a9f0e9;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.mini-stats span {
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-weight: 700;
}

.mini-stats strong {
  display: block;
  margin: 0;
  color: var(--blue);
  font-size: 34px;
}

.intro p:last-child,
.quality-copy > p,
.contact-copy p,
.section-heading p,
.product-copy > p,
.facility-placeholder > p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 246, 251, 0.86)),
    var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 112px;
  height: 112px;
  border: 18px solid rgba(0, 155, 154, 0.12);
  border-radius: 50%;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 155, 154, 0.42);
  box-shadow: var(--shadow);
}

.service-card span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--blue);
  font-weight: 800;
}

.service-card p,
.steps p,
.site-footer p {
  color: var(--muted);
}

.quality {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(120deg, #eef7f8 0%, #f8fbff 56%, #fff6ea 100%);
}

.quality::after {
  content: "QC";
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: -34px;
  color: rgba(11, 101, 194, 0.08);
  font-size: clamp(120px, 18vw, 220px);
  font-weight: 800;
  line-height: 1;
}

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

.quality-list span {
  padding: 14px;
  border-left: 4px solid var(--green);
  background: var(--white);
  font-weight: 700;
}

.quality-media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.quality-media img {
  width: 100%;
  aspect-ratio: 1.1;
  border-radius: 8px;
  object-fit: cover;
}

.product-display {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  background: #fbfcff;
}

.product-copy {
  position: sticky;
  top: 110px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.product-tags span {
  padding: 10px 12px;
  border: 1px solid rgba(0, 155, 154, 0.2);
  border-radius: 8px;
  color: #075f64;
  background: rgba(0, 155, 154, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.product-gallery {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  grid-auto-rows: 245px;
  gap: 16px;
}

.product-photo {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 16px 42px rgba(18, 52, 77, 0.16);
}

.product-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(9, 24, 40, 0.72));
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.product-photo:hover img {
  transform: scale(1.045);
}

.product-photo figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: var(--white);
  font-weight: 800;
}

.product-photo.tall {
  grid-row: span 2;
}

.product-photo.wide {
  grid-column: span 2;
}

.facility-placeholder {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(300px, 1fr);
  gap: 40px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(94, 157, 69, 0.1), transparent 42%),
    var(--white);
}

.facility-placeholder > p {
  margin-bottom: 0;
  padding: 26px;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: var(--paper);
}

.workflow {
  background:
    linear-gradient(180deg, var(--paper), #ffffff);
}

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

.steps article {
  position: relative;
  padding: 26px;
  border-top: 4px solid var(--blue);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(20, 42, 67, 0.07);
}

.steps article:nth-child(2) {
  border-top-color: var(--teal);
}

.steps article:nth-child(3) {
  border-top-color: var(--gold);
}

.steps article:nth-child(4) {
  border-top-color: var(--green);
}

.steps span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: start;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 155, 154, 0.18), transparent 38%),
    linear-gradient(315deg, rgba(216, 155, 43, 0.16), transparent 46%),
    #102a43;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  pointer-events: none;
}

.contact .eyebrow.dark,
.contact-copy p {
  color: #a9f0e9;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 980px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 14px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero-strip,
  .service-grid,
  .steps,
  .product-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro,
  .quality,
  .contact,
  .product-display,
  .facility-placeholder {
    grid-template-columns: 1fr;
  }

  .product-copy {
    position: static;
  }
}

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

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 860px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  .hero-strip,
  .service-grid,
  .quality-list,
  .quality-media,
  .steps,
  .product-gallery,
  .mini-stats {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    margin-bottom: 18px;
  }

  .hero-strip span {
    min-height: auto;
    padding: 16px;
  }

  .product-gallery {
    grid-auto-rows: 220px;
  }

  .product-photo.tall,
  .product-photo.wide {
    grid-row: auto;
    grid-column: auto;
  }

  .site-footer {
    display: block;
  }
}
