/**
 * Industries We Serve — page-specific components on the za- enterprise design
 * system. Loads AFTER css/our-company-enterprise.css, inheriting the :root
 * --za-* tokens and the shared hero / editorial-split / close / button
 * components. Only the sections unique to this page live here. Prefix iw- to
 * avoid colliding with za- / hw- / cr- classes.
 */

/* Shared section header */
.iw-head{ max-width:720px; margin:0 0 44px; }
.iw-head.is-center{ margin-left:auto; margin-right:auto; text-align:center; }
.iw-head h2{
  margin:0 0 16px;
  font-size:clamp(28px,3.4vw,42px);
  line-height:1.16;
  font-weight:700;
  letter-spacing:-0.025em;
  color:var(--za-ink);
}
.iw-head p{
  margin:0;
  font-size:17px;
  line-height:1.7;
  color:var(--za-muted);
}

/* ========== STATS STRIP (animated counters) ========== */
.iw-stats{
  background:var(--za-soft);
  padding:56px 0;
  border-bottom:1px solid var(--za-line);
}
.iw-stats-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.iw-stat{ text-align:center; }
.iw-stat .n{
  font-size:clamp(34px,3.8vw,50px);
  font-weight:800;
  line-height:1;
  letter-spacing:-0.04em;
  color:var(--za-ink);
  font-variant-numeric:tabular-nums;
}
.iw-stat p{
  margin:10px 0 0;
  font-size:14.5px;
  line-height:1.4;
  color:var(--za-muted);
}

/* ========== INDUSTRY GROUPS + CARD GRID ========== */
.iw-industries{
  padding:var(--za-space) 0;
  background:#fff;
  border-bottom:1px solid var(--za-line);
}
.iw-group{ margin-top:56px; }
.iw-group:first-of-type{ margin-top:48px; }
.iw-group-head{ max-width:720px; margin:0 0 24px; }
.iw-group-head h3{
  display:flex;
  align-items:center;
  gap:14px;
  margin:0 0 10px;
  font-size:20px;
  font-weight:700;
  letter-spacing:-0.015em;
  color:var(--za-ink);
}
/* short blue rule before the group name, echoing the hero eyebrow motif */
.iw-group-head h3::before{
  content:"";
  flex:none;
  width:26px;
  height:2px;
  background:var(--za-blue);
}
.iw-group-head p{
  margin:0;
  font-size:15.5px;
  line-height:1.65;
  color:var(--za-muted);
  max-width:640px;
}
.iw-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin:0;
  padding:0;
  list-style:none;
}
.iw-card{
  display:flex;
  align-items:flex-start;
  gap:16px;
  height:100%;
  padding:22px 22px;
  background:#fff;
  border:1px solid var(--za-line);
  border-radius:14px;
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s var(--za-ease);
}
.iw-card:hover{
  border-color:rgba(0,87,255,.28);
  box-shadow:0 14px 34px rgba(11,18,32,.08);
  transform:translateY(-2px);
}
.iw-card-ico{
  flex:none;
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  border-radius:12px;
  background:var(--za-soft);
}
.iw-card-ico img{
  width:30px;
  height:30px;
  object-fit:contain;
}
.iw-card-body{ min-width:0; flex:1; }
.iw-card-body strong{
  display:block;
  margin-bottom:5px;
  font-size:16px;
  font-weight:700;
  letter-spacing:-0.01em;
  color:var(--za-ink);
}
.iw-card-body span{
  display:block;
  font-size:13.5px;
  line-height:1.55;
  color:var(--za-muted);
}
.iw-card-arrow{
  flex:none;
  align-self:center;
  color:var(--za-blue);
  font-size:18px;
  line-height:1;
  transform:translateX(-2px);
  opacity:.5;
  transition:transform .2s var(--za-ease), opacity .2s ease;
}
.iw-card:hover .iw-card-arrow{ transform:translateX(0); opacity:1; }

/* ========== CASE STUDIES (image cards) ========== */
.iw-cases{
  padding:var(--za-space) 0;
  background:var(--za-soft);
  border-bottom:1px solid var(--za-line);
}
.iw-cases-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin:0;
  padding:0;
  list-style:none;
}
.iw-case{
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--za-line);
  border-radius:16px;
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s var(--za-ease);
}
.iw-case:hover{
  border-color:rgba(0,87,255,.28);
  box-shadow:0 14px 34px rgba(11,18,32,.08);
  transform:translateY(-2px);
}
.iw-case-img{
  aspect-ratio:16/9;
  background:#e8edf5;
  overflow:hidden;
}
.iw-case-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .4s var(--za-ease);
}
.iw-case:hover .iw-case-img img{ transform:scale(1.04); }
.iw-case-body{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:22px 24px 26px;
  flex:1;
}
.iw-case-tag{
  align-self:flex-start;
  padding:5px 11px;
  border-radius:999px;
  background:rgba(0,87,255,.09);
  border:1px solid rgba(0,87,255,.22);
  font-size:11px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--za-blue);
}
.iw-case-body h3{
  margin:0;
  font-size:17px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:-0.015em;
  color:var(--za-ink);
}
.iw-case-body p{
  margin:0;
  font-size:14px;
  line-height:1.6;
  color:var(--za-muted);
}

/* ========== RESPONSIVE ========== */
@media (max-width:1024px){
  .iw-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .iw-cases-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:680px){
  .iw-stats-grid{ grid-template-columns:1fr; gap:28px; }
  .iw-grid{ grid-template-columns:1fr; }
  .iw-cases-grid{ grid-template-columns:1fr; }
  .iw-group{ margin-top:44px; }
  .iw-card{ padding:20px 18px; }
}
