:root {
  --white: #ffffff;
  --text: #0d0d0d;
  --red: #cc0000;
  --red-dark: #990011;
  --grey-light: #f4f4f4;
  --grey-border: #d1d1d1;
  --muted: #555555;
  --off-white: #fafafa;
  --charcoal: #1a1a1a;
  --footer-text: #888888;
  --hero-dot: #eeeeee;
  --faq-border: #eeeeee;
  --row-hover: #fff5f5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

h1,
h2,
h3,
h4,
.logo-serif {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

.stat-num {
  font-family: "JetBrains Mono", monospace;
}

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

img {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

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

.label-red {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.text-muted {
  color: var(--muted);
}

.fade-in {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Top info bar */
.top-bar {
  background: var(--text);
  color: var(--white);
  font-size: 12px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grey-border);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.nav-inner {
  height: 109px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  margin-right: 40px;
}

.logo-img {
  display: block;
  height: 83px;
  width: auto;
  max-width: min(364px, 52vw);
  object-fit: contain;
}

.logo .brand-red {
  color: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--red);
}

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.btn-phone:hover {
  background: var(--red-dark);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}

.btn-outline:hover {
  background: var(--text);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--text);
}

.link-red {
  color: var(--red);
  font-weight: 600;
  transition: color 0.2s ease;
}

.link-red:hover {
  color: var(--red-dark);
}

/* Hero patterns */
.dot-grid {
  background-color: var(--white);
  background-image: radial-gradient(var(--hero-dot) 1px, transparent 1px);
  background-size: 20px 20px;
}

.hero-full {
  min-height: calc(100vh - 145px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}

.home-hero {
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  margin: 16px 0;
}

.hero-body {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-visual {
  min-height: 360px;
  background: var(--grey-light);
  border: 1px solid var(--grey-border);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Full-width stats infographic */
.stats-infographic {
  width: 100%;
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--grey-border);
}

.stats-infographic-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
}

.stats-infographic .stat-card {
  padding: clamp(28px, 4vw, 48px) clamp(12px, 2vw, 24px);
  text-align: center;
  border-right: 1px solid var(--grey-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 140px;
}

.stats-infographic .stat-card:last-child {
  border-right: none;
}

.stats-infographic .stat-num {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--red);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stats-infographic .stat-subline {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 700;
  color: var(--red);
  line-height: 1.1;
}

.stats-infographic .stat-label {
  font-size: clamp(12px, 1.1vw, 14px);
  color: var(--muted);
  line-height: 1.45;
  max-width: 11em;
  margin-top: 6px;
}

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col-45-55 {
  grid-template-columns: 0.45fr 0.55fr;
}

.img-placeholder {
  background: var(--grey-light);
  border: 1px solid var(--grey-border);
  min-height: 320px;
  position: relative;
  border-radius: 4px;
}

.who-we-are-visual {
  position: relative;
  min-height: 320px;
  border: 1px solid var(--grey-border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--grey-light);
}

.who-we-are-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.badge-est {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--red);
  color: var(--white);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
}

/* Cards */
.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-top: 4px solid var(--red);
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-card h3 {
  margin: 12px 0 8px;
  font-size: 22px;
}

.icon-red {
  color: var(--red);
  width: 32px;
  height: 32px;
}

/* Cert strip */
.cert-strip {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 40px;
  align-items: start;
}

.divider-v {
  background: var(--grey-border);
  width: 1px;
  min-height: 100%;
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.cert-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
}

.cert-logo {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: 4px;
}

.cert-logo-img {
  display: block;
  height: 72px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.cert-box {
  border: 1px solid var(--grey-border);
  padding: 12px 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-tag {
  display: inline-block;
  background: var(--grey-light);
  border: 1px solid var(--grey-border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  margin: 4px;
}

/* Our Advantage — connected stack */
.advantage-stack {
  max-width: 840px;
  margin: 40px auto 0;
  border: 1px solid var(--grey-border);
  background: var(--white);
}

.advantage-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px 24px;
  padding: 28px 32px;
  text-align: left;
  border-bottom: 1px solid var(--grey-border);
}

.advantage-item:last-child {
  border-bottom: none;
}

.advantage-index {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--red);
  line-height: 1.4;
  padding-top: 3px;
}

.advantage-content h4 {
  margin: 0 0 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.advantage-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--faq-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  color: var(--text);
}

.faq-toggle {
  color: var(--red);
  font-size: 24px;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  max-height: 240px;
  padding: 0 0 20px;
}

/* CTA dark */
.cta-dark {
  background: var(--text);
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
}

.cta-dark h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-dark p {
  color: #aaaaaa;
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Page hero */
.page-hero {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}

.page-hero.short {
  min-height: 300px;
}

.breadcrumb {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.breadcrumb a:hover {
  color: var(--red);
}

.red-line {
  width: 60px;
  height: 3px;
  background: var(--red);
  margin-top: 16px;
}

/* Stats strip */
.stats-strip {
  background: var(--grey-light);
  padding: 80px 24px;
}

.stats-strip--about {
  background: linear-gradient(
    135deg,
    #fff1f4 0%,
    #fce8f0 28%,
    #f3e8ff 62%,
    #ebe4ff 100%
  );
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
}

.stats-strip--about::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 50%, rgba(204, 0, 0, 0.1), transparent 42%),
    radial-gradient(circle at 88% 50%, rgba(120, 70, 180, 0.14), transparent 45%);
  pointer-events: none;
}

.stats-strip-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}

.stats-strip-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(120, 70, 180, 0.1), 0 4px 12px rgba(204, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stats-strip-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(120, 70, 180, 0.14), 0 6px 16px rgba(204, 0, 0, 0.08);
}

.stats-strip-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stats-strip-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--white);
  color: var(--white);
}

.stats-strip-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.stats-strip-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.stats-strip-card .stat-num {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

.stats-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

/* Mission cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mission-card {
  border: 1px solid var(--grey-border);
  border-top: 4px solid var(--red);
  padding: 24px;
  background: var(--white);
}

/* Certificates grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cert-card {
  border: 1px solid var(--grey-border);
  padding: 32px 24px;
  text-align: center;
  background: var(--white);
}

.cert-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.cert-gallery-item {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--grey-border);
  padding: 12px;
}

.cert-gallery-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Our Business page */
.media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background: var(--grey-light);
  border: 1px dashed var(--grey-border);
  border-radius: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
}

.media-placeholder-tall {
  min-height: 420px;
}

.media-placeholder-wide {
  min-height: 220px;
}

.business-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.business-intro-copy h2 {
  margin: 12px 0 16px;
}

.business-lead {
  line-height: 1.75;
  margin: 0 0 24px;
  max-width: 52ch;
}

.business-section-head {
  margin-bottom: 40px;
}

.business-section-sub {
  max-width: 520px;
  margin: 12px auto 0;
  line-height: 1.6;
}

.business-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 3px solid var(--red);
  border-bottom: 1px solid var(--grey-border);
  background: var(--off-white);
}

.business-highlight-item {
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid var(--grey-border);
}

.business-highlight-item:nth-child(3n) {
  border-right: none;
}

.business-highlight-item:nth-child(-n + 3) {
  border-bottom: 1px solid var(--grey-border);
}

.business-highlight-value {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: var(--red);
  line-height: 1.2;
}

.business-highlight-label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.business-process-layout,
.business-cap-layout {
  align-items: start;
  gap: 40px;
}

.business-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--grey-border);
  background: var(--white);
}

.business-timeline-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--grey-border);
  text-align: left;
}

.business-timeline-step:last-child {
  border-bottom: none;
}

.business-timeline-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.business-timeline-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.business-timeline-line {
  flex: 1;
  width: 2px;
  min-height: 24px;
  margin-top: 6px;
  background: var(--grey-border);
}

.business-timeline-body h4 {
  margin: 0 0 4px;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.business-timeline-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.business-timeline--full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.business-timeline--full .business-timeline-step {
  border-right: 1px solid var(--grey-border);
}

.business-timeline--full .business-timeline-step:nth-child(2n) {
  border-right: none;
}

.business-timeline--full .business-timeline-step:nth-child(-n + 6) {
  border-bottom: 1px solid var(--grey-border);
}

.business-timeline--full .business-timeline-step:last-child {
  grid-column: 1 / -1;
  border-right: none;
  border-bottom: none;
}

.business-timeline--full .business-timeline-line {
  display: none;
}

@media (max-width: 768px) {
  .business-timeline--full {
    grid-template-columns: 1fr;
  }

  .business-timeline--full .business-timeline-step,
  .business-timeline--full .business-timeline-step:nth-child(2n) {
    border-right: none;
    border-bottom: 1px solid var(--grey-border);
  }

  .business-timeline--full .business-timeline-step:last-child {
    grid-column: auto;
    border-bottom: none;
  }
}

.business-cap-infographic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.business-cap-card {
  border: 1px solid var(--grey-border);
  border-top: 3px solid var(--red);
  padding: 20px;
  background: var(--white);
  text-align: left;
}

.business-cap-card h4 {
  margin: 0 0 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.business-cap-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.business-cap-pills .pill-tag {
  margin: 0;
  font-size: 12px;
}

.business-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.business-doc-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 16px;
  background: var(--white);
  border: 1px solid var(--grey-border);
  text-align: left;
}

.business-doc-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  flex-shrink: 0;
  line-height: 1.4;
}

.business-doc-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.business-facility-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.business-facility-feature {
  padding: 16px;
  border: 1px solid var(--grey-border);
  border-left: 3px solid var(--red);
  background: var(--white);
  text-align: left;
}

.business-facility-feature h4 {
  margin: 0 0 6px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.business-facility-feature p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.business-process-layout {
  align-items: start;
  gap: 40px;
}

.business-process-stack {
  border: 1px solid var(--grey-border);
  background: var(--white);
}

.business-process-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--grey-border);
  text-align: left;
}

.business-process-item:last-child {
  border-bottom: none;
}

.business-process-index {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  line-height: 1.4;
  padding-top: 3px;
}

.business-process-content h4 {
  margin: 0 0 6px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.business-process-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.business-docs-lead {
  max-width: 820px;
  margin: 16px auto 0;
  line-height: 1.75;
}

.business-doc-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.business-doc-tag {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--grey-border);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.business-facility {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.business-facility-copy h2 {
  margin: 12px 0 20px;
}

.business-facility-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.business-facility-media .media-placeholder:last-child {
  grid-column: 1 / -1;
  min-height: 240px;
}

.business-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

/* Process steps */
.process-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}

.step-card {
  text-align: center;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 12px;
}

/* Capability cards */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cap-card {
  border: 1px solid var(--grey-border);
  padding: 24px;
  background: var(--white);
}

.cap-card ul {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

/* Gallery slider (Products page — single row) */
.gallery-slider-wrap {
  position: relative;
  margin-top: 32px;
  padding: 0 48px;
}

.gallery-slider {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--grey-border) transparent;
}

.gallery-slider::-webkit-scrollbar {
  height: 6px;
}

.gallery-slider::-webkit-scrollbar-thumb {
  background: var(--grey-border);
  border-radius: 3px;
}

.gallery-slider-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 16px;
  width: max-content;
  padding: 8px 4px 16px;
}

.gallery-slider .gallery-tile {
  flex: 0 0 240px;
  width: 240px;
  min-height: 200px;
  scroll-snap-align: start;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid var(--grey-border);
  border-radius: 50%;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.gallery-nav:hover {
  border-color: var(--red);
  color: var(--red);
}

.gallery-nav:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.gallery-nav-prev {
  left: 0;
}

.gallery-nav-next {
  right: 0;
}

/* Gallery grid (other pages) */
.gallery-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.gallery-tile {
  background: var(--grey-light);
  border: 1px solid var(--grey-border);
  border-radius: 4px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaaaaa;
  font-size: 14px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.gallery-tile:hover {
  box-shadow: inset 0 0 0 200px rgba(204, 0, 0, 0.1);
}

.product-gallery .gallery-tile:hover {
  transform: scale(1.03);
  border-color: var(--red);
}

/* Filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  justify-content: center;
}

.filter-btn {
  padding: 8px 14px;
  border: 1px solid var(--grey-border);
  border-radius: 999px;
  background: var(--white);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.filter-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* Table */
.table-wrap {
  overflow-x: auto;
  margin-top: 24px;
}

table.products-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.products-table th {
  background: var(--text);
  color: var(--white);
  text-align: left;
  padding: 12px 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.products-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--grey-border);
}

.products-table tbody tr:nth-child(even) {
  background: var(--off-white);
}

.products-table tbody tr:hover {
  background: var(--row-hover);
}

.products-table td:first-child {
  border-left: 2px solid var(--red);
}

.product-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 24px;
}

.product-filter-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.product-filter-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.product-filter-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--grey-border);
  border-radius: 8px;
  background: var(--white);
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-filter-select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

.product-filter-reset {
  white-space: nowrap;
  align-self: end;
  min-height: 46px;
}

.product-count {
  margin: 8px 0 0;
}

@media (max-width: 900px) {
  .product-filters {
    grid-template-columns: 1fr 1fr;
  }

  .product-filter-reset {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .product-filters {
    grid-template-columns: 1fr;
  }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 48px;
}

.contact-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--grey-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

.form-error {
  color: var(--red);
  font-size: 12px;
  margin-top: 4px;
}

.map-wrap {
  margin-top: 24px;
  border: 1px solid var(--grey-border);
  border-top: 4px solid var(--red);
  overflow: hidden;
  background: var(--white);
}

.map-embed {
  display: block;
  width: 100%;
  min-height: 300px;
  height: 300px;
  border: 0;
}

.map-open-link {
  display: block;
  padding: 14px 16px;
  background: var(--off-white);
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-top: 1px solid var(--grey-border);
  transition: background 0.2s ease, color 0.2s ease;
}

.map-open-link:hover {
  background: var(--red);
  color: var(--white);
}

/* Footer */
.site-footer {
  background: var(--text);
  color: var(--footer-text);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-grid .logo {
  color: var(--white);
  margin-bottom: 12px;
}

.footer-logo {
  display: inline-block;
  line-height: 0;
  margin-bottom: 12px;
}

.footer-logo-img {
  display: block;
  height: 94px;
  width: auto;
  max-width: 432px;
  object-fit: contain;
}

.footer-grid h4 {
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 20px;
  text-align: center;
  font-size: 13px;
}

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

.section-heading {
  font-size: 36px;
  margin: 8px 0 48px;
}

.founder-card {
  border: 1px solid var(--grey-border);
  padding: 24px;
  text-align: center;
}

.founder-photo {
  width: 240px;
  height: 240px;
  object-fit: cover;
  object-position: center top;
  background: var(--grey-light);
  border-radius: 8px;
  margin: 0 auto 16px;
  display: block;
}

.founder-card hr {
  border: none;
  border-top: 2px solid var(--red);
  width: 48px;
  margin: 12px auto 0;
}

.facility-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Our Facility page */
.facility-hero {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  background: var(--charcoal);
  overflow: hidden;
}

.facility-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  pointer-events: none;
}

.facility-hero-overlay-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 100%;
  padding: 20px 24px 28px;
  pointer-events: none;
}

.facility-hero-breadcrumb,
.facility-hero-breadcrumb a,
.facility-hero-copy,
.facility-hero-copy h1,
.facility-hero-copy p {
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.facility-hero-breadcrumb {
  margin: 0;
  pointer-events: auto;
  font-size: 15px;
}

.facility-hero-breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.facility-hero-copy {
  max-width: 50%;
  align-self: flex-start;
  margin-top: auto;
  margin-right: auto;
  padding-right: 16px;
  pointer-events: auto;
}

.facility-hero-copy h1 {
  font-size: clamp(26px, 3.2vw, 38px);
  margin: 0 0 10px;
  line-height: 1.15;
}

.facility-hero-copy p {
  margin: 0;
  font-size: clamp(13px, 1.35vw, 15px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.facility-hero-banner {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .facility-hero-copy {
    max-width: 100%;
    padding-right: 0;
  }

  .facility-hero-copy h1 {
    font-size: clamp(24px, 5.5vw, 32px);
  }

  .facility-hero-copy p {
    font-size: clamp(13px, 3.2vw, 15px);
  }
}

.facility-section-head {
  margin-bottom: 48px;
}

.facility-section-sub {
  max-width: 680px;
  margin: 12px auto 0;
  line-height: 1.7;
}

.facility-accent {
  color: var(--red);
}

.facility-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.facility-split:last-child {
  margin-bottom: 0;
}

.facility-split-reverse .facility-split-copy {
  order: 2;
}

.facility-split-reverse .facility-media-placeholder,
.facility-split-reverse .facility-framed-image {
  order: 1;
}

.facility-split-copy h3 {
  margin: 0 0 20px;
  font-size: clamp(26px, 3vw, 32px);
}

.facility-inline-heading {
  text-align: left;
  margin: 12px 0 24px;
}

.facility-sub-block {
  margin-bottom: 24px;
}

.facility-sub-block:last-child {
  margin-bottom: 0;
}

.facility-sub-block h4 {
  margin: 0 0 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--red);
}

.facility-sub-block p {
  margin: 0;
  line-height: 1.75;
}

.facility-media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  background: var(--grey-light);
  border: 1px dashed var(--grey-border);
  border-radius: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
}

.facility-split-image {
  min-height: 360px;
  max-height: 480px;
}

.facility-framed-image {
  position: relative;
  min-height: 380px;
}

.facility-framed-image::before {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  background: rgba(204, 0, 0, 0.12);
  border-radius: 4px;
  transform: rotate(-2deg);
}

.facility-framed-image-inner {
  position: relative;
  z-index: 1;
  min-height: 380px;
  max-height: 520px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  object-fit: cover;
}

.facility-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.facility-checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}

.facility-check-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.facility-storage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.facility-storage-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  padding: 20px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.facility-storage-card h3 {
  margin: 0 0 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
}

.facility-storage-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.facility-storage-image {
  width: 100%;
  min-height: 160px;
  max-height: 200px;
  margin-bottom: 16px;
  border-radius: 4px;
  object-fit: cover;
}

.facility-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .facility-storage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    font-size: 11px;
    gap: 8px;
    height: auto;
    min-height: 36px;
    padding: 8px;
  }

  .nav-links,
  .btn-phone.desktop-only {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 145px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--grey-border);
    gap: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .two-col,
  .two-col-45-55,
  .cards-2,
  .cert-strip,
  .cards-3,
  .cert-grid,
  .cap-grid,
  .contact-grid,
  .footer-grid,
  .facility-features {
    grid-template-columns: 1fr;
  }

  .facility-split {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }

  .facility-split-reverse .facility-split-copy,
  .facility-split-reverse .facility-media-placeholder,
  .facility-split-reverse .facility-framed-image {
    order: unset;
  }

  .facility-storage-grid {
    grid-template-columns: 1fr;
  }

  .facility-inline-heading {
    text-align: left;
  }

  .divider-v {
    display: none;
  }

  .advantage-item {
    grid-template-columns: 44px 1fr;
    gap: 8px 16px;
    padding: 22px 20px;
  }

  .stats-strip-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stats-strip-card {
    padding: 20px 22px;
  }

  .cert-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .business-intro,
  .business-facility,
  .business-process-layout,
  .business-cap-layout {
    grid-template-columns: 1fr;
  }

  .business-highlights {
    grid-template-columns: repeat(2, 1fr);
  }

  .business-highlight-item:nth-child(3n) {
    border-right: 1px solid var(--grey-border);
  }

  .business-highlight-item:nth-child(2n) {
    border-right: none;
  }

  .business-highlight-item:nth-child(-n + 4) {
    border-bottom: 1px solid var(--grey-border);
  }

  .business-highlight-item:last-child {
    border-bottom: none;
  }

  .business-cap-infographic,
  .business-doc-grid,
  .business-facility-features {
    grid-template-columns: 1fr;
  }

  .business-gallery {
    grid-template-columns: 1fr;
  }

  .business-facility-media {
    grid-template-columns: 1fr;
  }

  .business-facility-media .media-placeholder:last-child {
    grid-column: auto;
  }

  .process-flow {
    grid-template-columns: 1fr;
  }

  .gallery-slider-wrap {
    padding: 0 40px;
  }

  .gallery-slider .gallery-tile {
    flex: 0 0 200px;
    width: 200px;
  }

  .gallery-3,
  .gallery-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 1024px) {
  .stats-infographic-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-infographic .stat-card {
    border-bottom: 1px solid var(--grey-border);
  }

  .stats-infographic .stat-card:nth-child(3n) {
    border-right: none;
  }

  .stats-infographic .stat-card:nth-child(n + 4) {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .stats-infographic-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-infographic .stat-card {
    border-right: 1px solid var(--grey-border);
    border-bottom: 1px solid var(--grey-border);
  }

  .stats-infographic .stat-card:nth-child(3n) {
    border-right: 1px solid var(--grey-border);
  }

  .stats-infographic .stat-card:nth-child(2n) {
    border-right: none;
  }

  .stats-infographic .stat-card:nth-child(n + 5) {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .stats-infographic-row {
    grid-template-columns: 1fr;
  }

  .stats-infographic .stat-card,
  .stats-infographic .stat-card:nth-child(3n),
  .stats-infographic .stat-card:nth-child(2n) {
    border-right: none;
    border-bottom: 1px solid var(--grey-border);
    min-height: 120px;
  }

  .stats-infographic .stat-card:last-child {
    border-bottom: none;
  }

  .gallery-slider-wrap {
    padding: 0 36px;
  }

  .gallery-slider .gallery-tile {
    flex: 0 0 160px;
    width: 160px;
    min-height: 160px;
  }

  .gallery-nav {
    width: 32px;
    height: 32px;
  }

  .gallery-3,
  .gallery-4 {
    grid-template-columns: 1fr;
  }

  .cert-gallery {
    grid-template-columns: 1fr;
  }
}
