:root {
  --navy: #061e63;
  --navy-2: #082b83;
  --orange: #ff5a08;
  --orange-2: #f58220;
  --ink: #081a46;
  --muted: #536079;
  --line: #d6e1ef;
  --pale: #eef4fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(8, 26, 70, 0.16);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 152px;
}

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

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

.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: var(--white);
  box-shadow: 0 10px 28px rgba(8, 26, 70, 0.12);
}

.topbar {
  display: grid;
  grid-template-columns: minmax(240px, 410px) 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(18px, 3vw, 42px);
}

.brand img { width: 100%; max-width: 410px; }

.header-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 18px;
  font-size: 13px;
  font-weight: 800;
}

.header-contact a {
  text-decoration: none;
}

.header-contact span {
  grid-column: span 2;
}

.certs {
  display: flex;
  gap: 8px;
}

.certs span {
  min-width: 74px;
  padding: 7px 10px;
  color: var(--navy);
  font-weight: 900;
  text-align: center;
  border: 1px solid #cbd7e9;
  border-radius: 7px;
}

.certs small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 0 clamp(18px, 3vw, 42px);
  color: var(--white);
  background: var(--navy);
  overflow-x: auto;
}

.site-nav a {
  flex: 0 0 auto;
  padding: 16px 17px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav .quote-link {
  background: var(--orange);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero-front {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
}

h3 {
  color: var(--navy);
  font-size: 22px;
  line-height: 1.12;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  border: 2px solid var(--navy);
  border-radius: 7px;
  background: var(--navy);
  cursor: pointer;
}

.button.primary {
  border-color: var(--orange);
  background: var(--orange);
}

.button.light {
  color: var(--navy);
  background: var(--white);
}

.button.small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
}

.section {
  padding: clamp(44px, 6vw, 80px) clamp(18px, 4vw, 64px);
}

.split-section,
.industries-section,
.companies-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(300px, 1.15fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}

.split-section,
.services-section,
.blog-section {
  background: var(--white);
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.stats strong {
  padding: 16px;
  color: var(--white);
  font-size: 26px;
  border-radius: 8px;
  background: var(--navy);
}

.stats span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

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

.machine-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 260px;
  padding: 12px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(8, 26, 70, 0.10);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.machine-card img {
  width: 100%;
  aspect-ratio: 1.22 / 1;
  object-fit: contain;
  object-position: left top;
  border: 1px solid #d8e3f1;
  border-radius: 7px;
  background: var(--white);
}

.machine-card .model {
  justify-self: start;
  margin-bottom: 0;
}

.machine-card strong {
  color: var(--navy);
  font-size: 15px;
  line-height: 1.18;
}

.model {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  color: var(--white);
  font-weight: 900;
  border-radius: 6px;
  background: var(--navy);
}

.split-section p,
.contact-copy p {
  color: #253455;
  line-height: 1.65;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-list span {
  padding: 7px 10px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  border: 1px solid #c7d5e9;
  border-radius: 999px;
  background: #f8fbff;
}

.blog-grid article::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--orange);
}

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

.blog-grid article {
  padding: 22px;
  min-height: 140px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.blog-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 18px;
}

.blog-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.service-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 7px;
  border: 1px solid #d5e0ee;
  background: var(--white);
}

.service-card strong {
  color: var(--navy);
  font-size: 18px;
}

.service-card span {
  color: var(--muted);
  line-height: 1.5;
}

.industry-grid,
.company-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.industry-grid article,
.company-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(8, 26, 70, 0.08);
}

.industry-grid img,
.company-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--white);
}

.industry-grid strong {
  display: block;
  padding: 0 14px 14px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}

.gallery-section {
  background: var(--white);
}

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

.gallery-strip a {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: hidden;
  min-height: 260px;
  padding: 12px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(8, 26, 70, 0.10);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.gallery-strip a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.gallery-strip img {
  width: 100%;
  aspect-ratio: 1.22 / 1;
  object-fit: contain;
  object-position: left top;
  border: 1px solid #d8e3f1;
  border-radius: 7px;
  background: var(--white);
}

.gallery-strip .model {
  justify-self: start;
  margin-bottom: 0;
}

.gallery-strip strong {
  color: var(--navy);
  font-size: 15px;
  line-height: 1.18;
}

.contact-section {
  color: var(--white);
  background: var(--navy);
}

.contact-section h2,
.contact-section .eyebrow,
.contact-section p {
  color: var(--white);
}

.contact-points {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  font-weight: 900;
}

.contact-points a {
  text-decoration: none;
}

.inquiry-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  color: var(--ink);
  border-radius: 8px;
  background: var(--white);
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 900;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
  border: 1px solid #b9c8dd;
  border-radius: 6px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 12;
  padding: 12px 16px;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  border-radius: 999px;
  background: #0bbf35;
  box-shadow: 0 12px 28px rgba(8, 26, 70, 0.24);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1px;
  color: var(--white);
  background: #03194f;
}

.site-footer span {
  padding: 16px 20px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.2);
}

@media (max-width: 1100px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .header-contact,
  .certs {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 18px;
  }

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

  .site-nav a {
    padding: 13px;
  }

  .split-section,
  .industries-section,
  .companies-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .stats,
  .product-grid,
  .service-grid,
  .blog-grid,
  .industry-grid,
  .company-grid,
  .gallery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 92px;
  }

  .topbar {
    padding: 10px 14px;
  }

  .brand img {
    max-width: 260px;
  }

  .hero {
    background: var(--white);
  }

  .hero-front {
    min-height: 220px;
    object-fit: cover;
    object-position: center;
  }

  .stats,
  .product-grid,
  .service-grid,
  .blog-grid,
  .industry-grid,
  .company-grid,
  .gallery-strip {
    grid-template-columns: 1fr;
  }
}
