/*
 * Industries page redesign — premium blue/purple/navy corporate style,
 * matching the reference layout: hero with illustration, navy stats band,
 * filter pills + search, 3-col industry grid (photo ~55% + content),
 * bottom gradient CTA banner.
 */
.ind-page {
  --ind-blue: #1765ff;
  --ind-violet: #6545ff;
  --ind-navy: #0b1537;
  --ind-ink: #0b1530;
  --ind-text: #5b6a8a;
  --ind-line: #e3e8f4;
  --ind-tint: #f3f6ff;
  overflow: hidden;
  background: #fff;
}

/* ---------- Hero (shared .ip-hero / .gallery-hero now used instead) ---------- */

/* ---------- Stats band ---------- */
.ind-stats-wrap { padding: 0 0 clamp(28px, 2.8vw, 44px); }
.ind-stats {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 24px;
  padding: clamp(26px, 2.6vw, 38px) clamp(20px, 2vw, 10px);
  background: linear-gradient(120deg, var(--ind-navy) 0%, #1b2d6b 55%, #3a2a8f 100%);
  box-shadow: 0 24px 50px rgba(11, 21, 55, .28);
}
.ind-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  text-align: center;
}
.ind-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: rgba(255, 255, 255, .14);
}
.ind-stat-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 19px;
}
.ind-stat strong {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.ind-stat span {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .72);
}
.ind-stat-accent {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #5ea0ff, #b78bff);
}

/* ---------- Filters ---------- */
.ind-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: clamp(22px, 2vw, 32px);
}
.ind-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.ind-chip {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--ind-line);
  background: #fff;
  color: var(--ind-ink);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all .2s ease;
}
.ind-chip:hover { border-color: var(--ind-blue); color: var(--ind-blue); }
.ind-chip.active {
  border-color: transparent;
  background: linear-gradient(90deg, var(--ind-blue), var(--ind-violet));
  color: #fff;
  box-shadow: 0 10px 22px rgba(23, 101, 255, .26);
}
.ind-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--ind-line);
  border-radius: 999px;
  background: #fff;
}
.ind-search i { color: var(--ind-text); }
.ind-search input {
  min-width: 190px;
  padding: 12px 4px;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--ind-ink);
}
.ind-search input:focus { outline: none; }

/* ---------- Industry grid ---------- */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
}
.ind-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ind-line);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 18px rgba(16, 32, 72, .05);
  opacity: 0;
  transform: translateY(24px);
  transition: transform .35s cubic-bezier(.2,.9,.4,1.1), box-shadow .3s ease, border-color .3s ease;
}
.ind-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 101, 255, .3);
  box-shadow: 0 20px 38px rgba(16, 32, 72, .14);
}
.ind-card-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.ind-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease;
}
.ind-card:hover .ind-card-media img { transform: scale(1.05); }
.ind-card-icon {
  position: absolute;
  left: 14px;
  bottom: -18px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(16, 32, 72, .16);
  font-size: 19px;
  color: var(--ind-blue);
}
.ind-card-body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px 20px 20px;
}
.ind-card-body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ind-ink);
}
.ind-card-body p {
  flex: 1;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ind-text);
}
.ind-card-arrow {
  display: grid;
  place-items: center;
  align-self: flex-end;
  width: 38px;
  height: 38px;
  margin-top: 14px;
  border-radius: 50%;
  background: var(--ind-tint);
  color: var(--ind-blue);
  font-size: 15px;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.ind-card:hover .ind-card-arrow {
  background: linear-gradient(90deg, var(--ind-blue), var(--ind-violet));
  color: #fff;
  transform: translateX(3px);
}
.ind-hidden { display: none !important; }

/* ---------- CTA banner ---------- */
.ind-cta-wrap { padding: clamp(40px, 4.4vw, 70px) 0 clamp(50px, 5vw, 80px); }
.ind-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 24px;
  border-radius: 28px;
  padding: clamp(32px, 3.4vw, 54px);
  background: linear-gradient(120deg, var(--ind-blue) 0%, var(--ind-violet) 100%);
  color: #fff;
}
.ind-cta::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%);
  pointer-events: none;
}
.ind-cta-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
.ind-cta h2 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.ind-cta h2 span { color: #7df5e0; }
.ind-cta p {
  max-width: 480px;
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .84);
}
.ind-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 14px 26px;
  border-radius: 999px;
  background: #fff;
  color: var(--ind-blue);
  font-size: 14.5px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ind-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,0,0,.2); color: var(--ind-blue); }
.ind-cta-art {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  min-height: 170px;
}
.ind-cta-plant { font-size: 42px; color: rgba(255,255,255,.5); align-self: flex-end; margin-bottom: -4px; }
.ind-cta-card {
  display: grid;
  gap: 4px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(4px);
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}
.ind-cta-chart {
  display: grid;
  place-items: center;
  width: 90px;
  height: 130px;
  border-radius: 16px;
  background: rgba(255,255,255,.95);
  color: var(--ind-blue);
  font-size: 30px;
  box-shadow: 0 16px 30px rgba(0,0,0,.18);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-stats { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .ind-stat:nth-child(2)::after { display: none; }
  .ind-cta { grid-template-columns: 1fr; text-align: center; }
  .ind-cta p { margin-inline: auto; }
  .ind-cta-art { margin-top: 20px; }
}
@media (max-width: 640px) {
  .ind-filter-row { flex-direction: column; align-items: stretch; }
  .ind-search input { min-width: 0; flex: 1; }
  .ind-grid { grid-template-columns: 1fr; }
  .ind-stats { grid-template-columns: 1fr; }
  .ind-stat:not(:last-child)::after { display: none; }
}
