/* ========================================
   HOME — FEATURE SECTIONS
   Redesigned "story" sections below Industries: Manufacturers intro,
   FFKM O-Rings, Sourcing, Certifications, R&D, Caterpillar award and
   Footprint. Shares the design language of Key Products / Material
   Families / Industries (gold-dash eyebrow, blue uppercase headings,
   flush #e3e6ee-bordered grids). Enqueued after main style.
   Layout only — ACF wiring added later.
======================================== */

/* ----------------------------------------
   Shared section head (used by every block)
---------------------------------------- */
.hs-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #c8861d;
  margin-bottom: 0.6rem;
}

.hs-eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: #c8861d;
  vertical-align: middle;
  margin-right: 0.6rem;
}

.hs-heading {
  color: var(--blue);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.hs-desc {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 1.5rem;
}

.hs-desc:last-child {
  margin-bottom: 0;
}

.hs-desc strong {
  color: var(--blue);
}

.hs-actions {
  margin-top: 1.75rem;
}

/* Full-width head (Certifications, Footprint intro) */
.hs-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.hs-head .hs-desc {
  max-width: 620px;
}

/* ----------------------------------------
   Feature split — text + framed media
   Manufacturers, FFKM, Sourcing, R&D, Caterpillar
---------------------------------------- */
.hs-feature {
  padding: 4rem 0;
  background: #fff;
}

.hs-feature--alt {
  background: #f5f7fc;
}

.hs-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  border: 1px solid #e3e6ee;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.hs-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3rem 3.25rem;
}

.hs-feature-media {
  position: relative;
  min-height: 340px;
  background: #eef1f7;
  border-left: 1px solid #e3e6ee;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hs-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2rem;
}

/* Photographic media fills the frame edge-to-edge */
.hs-feature--photo .hs-feature-media img {
  object-fit: cover;
  padding: 0;
}

/* Media on the left instead of the right */
.hs-feature--media-left .hs-feature-media {
  order: -1;
  border-left: 0;
  border-right: 1px solid #e3e6ee;
}

/* ---- Spec chips (small facts under a feature) ---- */
.hs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.hs-chips li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  border: 1px solid #cdd6ea;
  border-radius: 4px;
  padding: 0.5rem 0.85rem;
  background: #f5f7fc;
}

/* ----------------------------------------
   Suppliers strip (Sourcing) — flush logo row
---------------------------------------- */
.hs-suppliers {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: auto repeat(6, 1fr);
  align-items: stretch;
  border: 1px solid #e3e6ee;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.hs-suppliers-label {
  display: flex;
  align-items: center;
  padding: 0.9rem 1.25rem;
  background: #f5f7fc;
  border-right: 1px solid #e3e6ee;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.hs-suppliers-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1rem;
  border-left: 1px solid #e3e6ee;
}

.hs-suppliers-logo:first-of-type {
  border-left: 0;
}

.hs-suppliers-logo img {
  max-width: 100%;
  height: auto;
  max-height: 49px;
  object-fit: contain;
}

/* ----------------------------------------
   Certifications — flush 3-col card grid
---------------------------------------- */
.hs-certs {
  padding: 4rem 0;
  background: #f5f7fc;
}

.hs-cert-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 0;
  border: 1px solid #e3e6ee;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.hs-cert-card {
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem;
  border-left: 1px solid #e3e6ee;
}

.hs-cert-card:first-child {
  border-left: 0;
}

/* Standards card — stacked ISO / IATF blocks */
.hs-cert-std + .hs-cert-std {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e3e6ee;
}

.hs-cert-std-code {
  display: block;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.hs-cert-std-desc {
  color: var(--text-gray);
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 0;
}

/* Media / image cards */
.hs-cert-card--media {
  justify-content: space-between;
  gap: 1.5rem;
  background: #fafbfe;
}

.hs-cert-card--media img {
  max-width: 100%;
  height: auto;
}

.hs-cert-card--image {
  padding: 0;
  background: #eef1f7;
}

.hs-cert-card--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hs-cert-actions {
  margin-top: auto;
}

/* ----------------------------------------
   Footprint — text + wide map
---------------------------------------- */
.hs-footprint {
  padding: 4rem 0;
  background: #fff;
}

.hs-footprint-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  border: 1px solid #e3e6ee;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.hs-footprint-body {
  display: flex;
  flex-direction: column;
  padding: 2.75rem 2.5rem;
}

.hs-footprint-stats {
  display: flex;
  gap: 0;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid #e3e6ee;
  border-radius: 5px;
  overflow: hidden;
}

.hs-footprint-stats li {
  flex: 1;
  padding: 1rem 1.15rem;
  background: #f8fafd;
}

.hs-footprint-stats li + li {
  border-left: 1px solid #e3e6ee;
}

.hs-footprint-stat-value {
  display: block;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.1;
}

.hs-footprint-stat-label {
  display: block;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.68rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.hs-footprint-map {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #f5f7fc;
  border-left: 1px solid #e3e6ee;
}

.hs-footprint-map img {
  width: 100%;
  height: auto;
}

/* ----------------------------------------
   Responsive
---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hs-feature-media img {
    transition: none;
  }
}

@media screen and (max-width: 900px) {
  .hs-feature-grid,
  .hs-footprint-grid {
    grid-template-columns: 1fr;
  }
  .hs-feature-media {
    min-height: 280px;
    border-left: 0;
    border-top: 1px solid #e3e6ee;
    order: 2;
  }
  .hs-feature--media-left .hs-feature-media {
    order: -1;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid #e3e6ee;
  }
  .hs-feature-body,
  .hs-footprint-body {
    padding: 2.5rem 2rem;
  }
  .hs-cert-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hs-cert-card:nth-child(2) {
    border-left: 0;
  }
  .hs-cert-card--image {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid #e3e6ee;
    min-height: 260px;
  }
  .hs-footprint-map {
    border-left: 0;
    border-top: 1px solid #e3e6ee;
  }
  .hs-suppliers {
    grid-template-columns: repeat(3, 1fr);
  }
  .hs-suppliers-label {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid #e3e6ee;
    justify-content: center;
  }
  .hs-suppliers-logo:nth-child(2),
  .hs-suppliers-logo:nth-child(3),
  .hs-suppliers-logo:nth-child(4) {
    border-top: 0;
  }
}

@media screen and (max-width: 620px) {
  .hs-feature,
  .hs-certs,
  .hs-footprint {
    padding: 2.75rem 0;
  }
  .hs-heading {
    font-size: 1.6rem;
  }
  .hs-feature-body,
  .hs-footprint-body {
    padding: 2rem 1.5rem;
  }
  .hs-cert-grid {
    grid-template-columns: 1fr;
  }
  .hs-cert-card {
    border-left: 0;
  }
  .hs-cert-card + .hs-cert-card {
    border-top: 1px solid #e3e6ee;
  }
  .hs-suppliers {
    grid-template-columns: repeat(2, 1fr);
  }
  .hs-suppliers-logo {
    border-top: 1px solid #e3e6ee;
  }
  .hs-suppliers-logo:nth-child(2),
  .hs-suppliers-logo:nth-child(3) {
    border-top: 0;
  }
  .hs-footprint-stats {
    flex-direction: column;
  }
  .hs-footprint-stats li + li {
    border-left: 0;
    border-top: 1px solid #e3e6ee;
  }
}
