/* ==========================================================================
   Syrohchem — Infrastructure Page Styles
   Extends home.css / about.css / contact.css. New components only:
   sy-infra-stats, sy-check-list, sy-infra-media, sy-facility-card,
   sy-lightbox, sy-pilot-card, sy-cert-card, sy-expert-card--dark modifier.
   ========================================================================== */

:root{
  --sy-navy:        var(--sy-primary, #0b2e4f);
  --sy-navy-dark:   var(--sy-primary-dark, #071d33);
  --sy-gold:        var(--sy-accent, #c9973a);
  --sy-gold-dark:   var(--sy-accent-dark, #a97b23);
  --sy-ink:         var(--sy-text, #1d2733);
  --sy-muted:       var(--sy-text-muted, #5c6a78);
  --sy-line:        var(--sy-border, #e6e9ed);
  --sy-grey-bg:     var(--sy-bg-grey, #f5f7fa);
  --sy-radius:      16px;
}

.sy-infra-page section[id]{ scroll-margin-top: 130px; }

.sy-hero.sy-hero--sm{
  min-height: 58vh;
  display: flex;
  align-items: center;
  padding-top: 150px;
  padding-bottom: 70px;
}
@media (max-width: 1180px){
  .sy-hero.sy-hero--sm{ padding-top: 130px; }
}
@media (max-width: 767px){
  .sy-hero.sy-hero--sm{ min-height: 62vh; padding-top: 130px; }
}

.sy-infra-intro{ max-width: 720px; margin-left: auto; margin-right: auto; }

.sy-section{ padding-top: 5.5rem; padding-bottom: 5.5rem; }

/* --------------------------------------------------------------------
   Floating stat strip under hero
   -------------------------------------------------------------------- */
.sy-infra-stats-wrap{ position: relative; z-index: 5; margin-top: -46px; }
.sy-infra-stats{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--sy-radius);
  box-shadow: 0 24px 55px rgba(11,46,79,.16);
  overflow: hidden;
}
.sy-infra-stats__item{
  padding: 1.5rem 1.3rem;
  text-align: center;
  border-right: 1px solid var(--sy-line);
}
.sy-infra-stats__item:last-child{ border-right: none; }
.sy-infra-stats__item .sy-mono{
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sy-navy);
  margin-bottom: .3rem;
}
.sy-infra-stats__item small{
  display: block;
  font-size: .8rem;
  color: var(--sy-muted);
}
@media (max-width: 767px){
  .sy-infra-stats{ grid-template-columns: repeat(2, 1fr); }
  .sy-infra-stats__item:nth-child(2){ border-right: none; }
  .sy-infra-stats__item:nth-child(1),
  .sy-infra-stats__item:nth-child(2){ border-bottom: 1px solid var(--sy-line); }
}

/* --------------------------------------------------------------------
   Manufacturing Excellence — media + checklist
   -------------------------------------------------------------------- */
.sy-infra-media{
  margin-top: 2rem;
  border-radius: var(--sy-radius);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(11,46,79,.14);
}
.sy-infra-media img{ display: block; width: 100%; }

.sy-check-list{ display: flex; flex-direction: column; gap: 1.4rem; }
.sy-check-item{
  display: flex;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid var(--sy-line);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 8px 22px rgba(11,46,79,.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.sy-check-item:hover{
  transform: translateX(4px);
  box-shadow: 0 14px 32px rgba(11,46,79,.1);
}
.sy-check-item__icon{
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(11,46,79,.08);
  color: var(--sy-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.sy-check-item h4{
  font-size: 1rem;
  font-weight: 700;
  color: var(--sy-ink);
  margin-bottom: .35rem;
}
.sy-check-item p{
  font-size: .9rem;
  color: var(--sy-muted);
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------
   Facility Tour gallery + lightbox
   -------------------------------------------------------------------- */
.sy-facility-card{
  position: relative;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 5;
  box-shadow: 0 10px 26px rgba(11,46,79,.08);
}
.sy-facility-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.sy-facility-card:hover img{ transform: scale(1.06); }
.sy-facility-card__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,46,79,0) 40%, rgba(11,46,79,.82) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: .4rem;
  padding: 1.1rem;
  text-align: center;
  opacity: 0;
  transition: opacity .25s ease;
}
.sy-facility-card:hover .sy-facility-card__overlay{ opacity: 1; }
.sy-facility-card__overlay i{ font-size: 1.1rem; color: var(--sy-gold); }
.sy-facility-card__overlay strong{ font-size: .92rem; }

.sy-infra-note{
  text-align: center;
  margin: 2.4rem 0 0;
  font-size: .88rem;
  color: var(--sy-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.sy-infra-note i{ color: var(--sy-gold-dark); }

.sy-lightbox{
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7,29,51,.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.sy-lightbox.is-open{ display: flex; }
.sy-lightbox__figure{ max-width: 900px; width: 100%; margin: 0; text-align: center; }
.sy-lightbox__figure img{
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
}
.sy-lightbox__figure figcaption{
  color: #fff;
  margin-top: 1rem;
  font-size: .95rem;
}
.sy-lightbox__close{
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

/* --------------------------------------------------------------------
   Research & Development (dark section) — reuse .sy-expert-card look,
   add a dark modifier since this section sits on a navy background.
   -------------------------------------------------------------------- */
.sy-rd{
  position: relative;
  background: linear-gradient(160deg, var(--sy-navy) 0%, var(--sy-navy-dark) 100%);
  overflow: hidden;
}
.sy-rd .sy-hex-pattern--dark{
  position: absolute;
  inset: 0;
  opacity: .5;
  pointer-events: none;
}
.sy-expert-card--dark{
  height: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 1.9rem 1.6rem;
  backdrop-filter: blur(2px);
  transition: transform .25s ease, background .25s ease;
}
.sy-expert-card--dark:hover{
  transform: translateY(-6px);
  background: rgba(255,255,255,.1);
}
.sy-expert-card--dark i{
  font-size: 1.5rem;
  color: var(--sy-gold);
  margin-bottom: 1rem;
  display: block;
}
.sy-expert-card--dark h4{
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .6rem;
}
.sy-expert-card--dark p{
  font-size: .88rem;
  line-height: 1.6;
  color: rgba(255,255,255,.72);
  margin: 0;
}

.sy-pilot-card{
  display: flex;
  align-items: center;
  gap: 1.4rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 1.6rem 1.8rem;
  height: 100%;
}
.sy-pilot-card__cap{
  flex: none;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sy-navy-dark);
  background: var(--sy-gold);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sy-pilot-card h4{ font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.sy-pilot-card p{ font-size: .88rem; color: rgba(255,255,255,.75); margin: 0; line-height: 1.55; }

/* --------------------------------------------------------------------
   Certifications
   -------------------------------------------------------------------- */
.sy-cert-card{
  text-align: center;
  background: #fff;
  border: 1px solid var(--sy-line);
  border-radius: 14px;
  padding: 2.2rem 1.4rem;
  height: 100%;
  box-shadow: 0 10px 26px rgba(11,46,79,.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sy-cert-card:hover{ transform: translateY(-6px); box-shadow: 0 20px 40px rgba(11,46,79,.12); }
.sy-cert-card i{ font-size: 2rem; color: var(--sy-navy); margin-bottom: 1rem; }
.sy-cert-card h4{ font-size: 1rem; font-weight: 700; color: var(--sy-ink); margin-bottom: .4rem; }
.sy-cert-card p{ font-size: .85rem; color: var(--sy-muted); margin: 0; }
.sy-cert-card--pending{ background: var(--sy-grey-bg); border-style: dashed; box-shadow: none; }
.sy-cert-card--pending i{ color: var(--sy-muted); }
.sy-cert-card--pending p{ font-style: italic; }

@media (max-width: 575px){
  .sy-check-item{ flex-direction: column; }
  .sy-pilot-card{ flex-direction: column; text-align: center; }
}