:root {
  --ink: #13202c;
  --muted: #566271;
  --line: #dfe5eb;
  --soft: #f4f7fa;
  --white: #ffffff;
  --brand: #0f3554;
  --brand-2: #18577e;
  --accent: #f2b84b;
  --accent-dark: #b37507;
  --ok: #287557;
  --shadow: 0 18px 50px rgba(19, 32, 44, .14);
  --radius: 22px;
  --header-height: 120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  width: auto;
  height: auto;
  padding: .75rem 1rem;
  background: var(--accent);
  color: var(--ink);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem clamp(1rem, 4vw, 4rem);
  background: var(--brand);
  color: var(--white);
  font-size: .9rem;
}
.topbar p { margin: 0; }
.topbar a { color: var(--white); text-decoration: none; }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #ffe1a0);
  font-weight: 800;
  color: var(--brand);
}
.logo small {
  display: block;
  margin-top: -.15rem;
  color: var(--muted);
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .96rem;
}
.primary-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}
.primary-nav .nav-cta {
  padding: .72rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
}
.menu-toggle { display: none; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vh, 4rem) clamp(1rem, 4vw, 4rem);
  background:
    radial-gradient(circle at top right, rgba(242, 184, 75, .25), transparent 32rem),
    linear-gradient(180deg, #f9fbfd, #ffffff);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--accent-dark);
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
}
h1, h2, h3 { line-height: 1.12; margin: 0 0 .9rem; }
h1 { font-size: clamp(2.4rem, 5.4vw, 5.6rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.8rem, 3.3vw, 3.15rem); letter-spacing: -.035em; }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1rem; color: var(--muted); }
.hero-copy > p { max-width: 760px; font-size: clamp(1.07rem, 1.4vw, 1.24rem); }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.4rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .9rem 1.18rem;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
}
.button.primary { background: var(--brand); color: var(--white); }
.button.secondary { border-color: var(--line); background: var(--white); color: var(--brand); }
.button.light { background: var(--white); color: var(--brand); }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.35rem;
}
.trust-row span, .pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .82);
  border-radius: 999px;
  padding: .5rem .75rem;
  color: var(--brand);
  font-weight: 700;
  font-size: .9rem;
}
.hero-visual {
  border-radius: var(--radius);
  background: var(--white);
  padding: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 4rem);
}
.section.alt { background: var(--soft); }
.section-head {
  max-width: 820px;
  margin-bottom: 1.8rem;
}
.section-head.center { margin-inline: auto; text-align: center; }
.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, 1.05fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: 0 10px 28px rgba(19, 32, 44, .07);
}
.panel.dark {
  background: var(--brand);
  color: var(--white);
  border-color: rgba(255, 255, 255, .12);
}
.panel.dark p, .panel.dark li { color: rgba(255, 255, 255, .82); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(19, 32, 44, .1);
}
.card h3 a { text-decoration: none; }
.text-link {
  display: inline-block;
  margin-top: .25rem;
  color: var(--brand-2);
  font-weight: 800;
  text-decoration: none;
}
.checklist { padding: 0; margin: 1rem 0 0; list-style: none; }
.checklist li {
  position: relative;
  padding: .55rem 0 .55rem 2rem;
  border-bottom: 1px solid var(--line);
}
.checklist li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: .55rem;
  color: var(--ok);
  font-weight: 900;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.step span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--brand);
  font-weight: 900;
  margin-bottom: 1rem;
}
.quote-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr);
  gap: 1.5rem;
  align-items: start;
}
.faq-list {
  display: grid;
  gap: .8rem;
  max-width: 980px;
}
details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1.15rem;
}
summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--brand);
}
details p { margin: .75rem 0 0; }
.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 4rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--white);
  border-radius: calc(var(--radius) + 6px);
}
.cta-strip p { color: rgba(255, 255, 255, .84); max-width: 760px; }
.cta-strip .eyebrow { color: #ffe1a0; }
.site-footer {
  display: grid;
  grid-template-columns: 1.3fr .8fr .7fr;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 4vw, 4rem);
  background: #0c1822;
  color: var(--white);
}
.site-footer p, .site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer h2, .site-footer h3 { color: var(--white); }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form-grid .full { grid-column: 1 / -1; }
label { display: grid; gap: .35rem; font-weight: 800; color: var(--brand); }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .9rem 1rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}
textarea { min-height: 140px; }
.keyword-band {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
}
@media (max-width: 980px) {
  :root { --header-height: 136px; }
  .hero, .split, .quote-box, .site-footer { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar { flex-direction: column; gap: .25rem; }
  .menu-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 999px;
    padding: .65rem .9rem;
    font-weight: 800;
  }
  .primary-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% - .5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: flex; }
}
@media (max-width: 640px) {
  :root { --header-height: 132px; }
  .card-grid, .steps, .form-grid { grid-template-columns: 1fr; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 2rem; }
}

/* Real conveyor footage and photography */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  align-content: center;
  color: var(--white);
  background: var(--brand);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(.95) contrast(1.02);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9, 20, 30, .9), rgba(9, 20, 30, .68) 48%, rgba(9, 20, 30, .35)),
    linear-gradient(180deg, rgba(15, 53, 84, .18), rgba(15, 53, 84, .42));
}
.hero-copy,
.hero-visual {
  position: relative;
  z-index: 2;
}
.hero h1,
.hero h2,
.hero h3 { color: var(--white); text-shadow: 0 2px 16px rgba(0, 0, 0, .24); }
.hero p { color: rgba(255, 255, 255, .9); }
.hero .eyebrow { color: #ffe1a0; }
.hero .button.primary { background: var(--accent); color: var(--ink); }
.hero .button.secondary {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  border-color: rgba(255, 255, 255, .38);
}
.hero .trust-row span {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .28);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.hero-visual {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .28);
  padding: .55rem;
  backdrop-filter: blur(10px);
}
.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: calc(var(--radius) - 8px);
}
.card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: calc(var(--radius) - 8px);
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero {
    background:
      linear-gradient(90deg, rgba(9, 20, 30, .92), rgba(9, 20, 30, .6)),
      url('../img/hero-product-conveyor.jpg') center / cover no-repeat;
  }
}
@media (max-width: 640px) {
  .hero { padding-top: 1.35rem; padding-bottom: 1.35rem; }
  .hero-visual img { aspect-ratio: 16 / 9; }
}

/* Product-photo refinements and exact hero viewport fit */
.hero {
  height: calc(100vh - var(--header-height));
  min-height: calc(100vh - var(--header-height));
  max-height: calc(100vh - var(--header-height));
  padding-top: clamp(1.15rem, 3vh, 2.2rem);
  padding-bottom: clamp(1.15rem, 3vh, 2.2rem);
}
@supports (height: 100svh) {
  .hero {
    height: calc(100svh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    max-height: calc(100svh - var(--header-height));
  }
}
@supports (height: 100dvh) {
  .hero {
    height: calc(100dvh - var(--header-height));
    min-height: calc(100dvh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
  }
}
.hero h1 { font-size: clamp(2.25rem, 4.55vw, 4.9rem); }
.hero-copy > p { font-size: clamp(1rem, 1.15vw, 1.16rem); }
.hero-visual,
.card {
  overflow: hidden;
}
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    height: calc(100vh - var(--header-height));
    min-height: calc(100vh - var(--header-height));
    max-height: calc(100vh - var(--header-height));
  }
  @supports (height: 100svh) {
    .hero {
      height: calc(100svh - var(--header-height));
      min-height: calc(100svh - var(--header-height));
      max-height: calc(100svh - var(--header-height));
    }
  }
  .hero-visual { display: none; }
}
@media (max-width: 640px) {
  .hero {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .hero h1 { font-size: clamp(2rem, 8.2vw, 3.25rem); }
  .hero-copy > p { font-size: 1rem; }
  .trust-row { display: none; }
}


/* Tight product-photo crops: remove white gaps around conveyor images */
.hero-visual {
  padding: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  align-self: center;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: transparent;
  border-radius: calc(var(--radius) - 8px);
}
.card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: calc(var(--radius) - 8px);
}
.card {
  overflow: hidden;
}
@media (max-width: 980px) {
  .hero {
    min-height: calc(100vh - var(--header-height));
    height: auto;
    max-height: none;
  }
  @supports (height: 100svh) {
    .hero { min-height: calc(100svh - var(--header-height)); }
  }
}
@media (min-width: 981px) {
  .hero {
    height: calc(100vh - var(--header-height));
    min-height: calc(100vh - var(--header-height));
    max-height: calc(100vh - var(--header-height));
  }
  @supports (height: 100svh) {
    .hero {
      height: calc(100svh - var(--header-height));
      min-height: calc(100svh - var(--header-height));
      max-height: calc(100svh - var(--header-height));
    }
  }
  @supports (height: 100dvh) {
    .hero {
      height: calc(100dvh - var(--header-height));
      min-height: calc(100dvh - var(--header-height));
      max-height: calc(100dvh - var(--header-height));
    }
  }
}

/* Final product-photo and hero corrections */
.hero {
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: start;
  align-content: center;
}
.hero-copy {
  max-width: 980px;
}
.hero-visual {
  display: none !important;
}
.card-grid .card {
  display: flex;
  flex-direction: column;
}
.card-image {
  width: 100%;
  height: clamp(170px, 14vw, 225px);
  aspect-ratio: auto !important;
  object-fit: contain;
  object-position: center center;
  padding: 0;
  margin-bottom: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 8px);
}
.card .text-link {
  margin-top: auto;
}
@media (min-width: 981px) {
  .hero {
    height: calc(100vh - var(--header-height));
    min-height: calc(100vh - var(--header-height));
    max-height: calc(100vh - var(--header-height));
  }
  @supports (height: 100svh) {
    .hero {
      height: calc(100svh - var(--header-height));
      min-height: calc(100svh - var(--header-height));
      max-height: calc(100svh - var(--header-height));
    }
  }
  @supports (height: 100dvh) {
    .hero {
      height: calc(100dvh - var(--header-height));
      min-height: calc(100dvh - var(--header-height));
      max-height: calc(100dvh - var(--header-height));
    }
  }
}
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr !important;
    height: auto;
    min-height: calc(100vh - var(--header-height));
    max-height: none;
  }
  @supports (height: 100svh) {
    .hero { min-height: calc(100svh - var(--header-height)); }
  }
}
@media (max-width: 640px) {
  .card-image {
    height: clamp(170px, 46vw, 240px);
  }
}


/* Product image refresh: consistent full-card product photos, no repeated card images */
.card-image {
  aspect-ratio: 16 / 10 !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: center center;
  background: var(--white);
}

/* Customer-facing layout and contrast corrections */
:root {
  --accent-dark: #7b4d00;
}
.topbar p {
  color: rgba(255, 255, 255, .9);
}
.panel.dark h2,
.panel.dark h3 {
  color: var(--white);
}
.panel.dark .eyebrow {
  color: #ffe1a0;
}
.panel.dark .button.light {
  color: var(--brand);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}
.hero::before {
  background:
    linear-gradient(90deg, rgba(6, 15, 24, .94), rgba(6, 15, 24, .75) 50%, rgba(6, 15, 24, .48)),
    linear-gradient(180deg, rgba(15, 53, 84, .28), rgba(15, 53, 84, .54));
}
.hero-copy {
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(6, 15, 24, .52), rgba(6, 15, 24, .24), rgba(6, 15, 24, 0));
}
.guide-section {
  background: var(--white);
}
.guide-feature {
  grid-template-columns: 1fr !important;
  gap: 1.35rem;
  align-items: stretch;
}
.guide-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.guide-intro-copy {
  max-width: 820px;
}
.guide-intro p {
  margin-bottom: 0;
}
.guide-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.guide-card-grid .card {
  min-height: 100%;
}
@media (max-width: 980px) {
  .guide-intro {
    align-items: flex-start;
    flex-direction: column;
  }
  .guide-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .hero-copy {
    background: rgba(6, 15, 24, .5);
  }
  .guide-card-grid {
    grid-template-columns: 1fr;
  }
}


/* Customer-focused final layout: balanced grids, equal-height cards and stronger readability */
.section-head p,
.card p,
.step p,
.panel p,
.faq-list p,
.site-footer p {
  color: #3f4b5a;
}
.card-grid.grid-balanced {
  display: grid;
  gap: clamp(1rem, 1.6vw, 1.35rem);
  align-items: stretch;
}
.card-grid.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card-grid.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card-grid.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card-grid.grid-balanced .card,
.steps.steps-balanced .step {
  min-height: 100%;
}
.card-grid.grid-balanced .card {
  display: flex;
  flex-direction: column;
}
.card-grid.grid-balanced .card .text-link {
  margin-top: auto;
}
.card-grid.grid-balanced .card h3 {
  min-height: 2.75em;
}
.card-grid.grid-balanced .card p {
  margin-bottom: 1.15rem;
}
.steps.steps-balanced {
  display: grid;
  gap: clamp(1rem, 1.6vw, 1.35rem);
  align-items: stretch;
}
.steps.steps-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.steps.steps-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card-image {
  width: 100%;
  aspect-ratio: 16 / 10 !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: center center;
  border: 1px solid var(--line);
  background: var(--white);
}
.guide-intro {
  border-radius: var(--radius);
}
.guide-feature {
  max-width: 100%;
}
.hero-copy {
  max-width: 1060px;
}
.hero-copy > p,
.hero p,
.panel.dark p,
.panel.dark li,
.cta-strip p {
  color: rgba(255, 255, 255, .94);
}
.topbar p,
.topbar a {
  color: rgba(255, 255, 255, .96);
}
.button.secondary:hover,
.primary-nav a:hover,
.text-link:hover {
  text-decoration: underline;
}
@media (max-width: 1180px) {
  .card-grid.grid-4,
  .steps.steps-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .card-grid.grid-3,
  .steps.steps-3 {
    grid-template-columns: 1fr;
  }
  .card-grid.grid-balanced .card h3 {
    min-height: 0;
  }
}
@media (max-width: 640px) {
  .card-grid.grid-4,
  .card-grid.grid-3,
  .card-grid.grid-2,
  .steps.steps-4,
  .steps.steps-3 {
    grid-template-columns: 1fr;
  }
}
.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, .82);
}
