/* ==========================================================
   Industries We Serve
   Global tokens, headings, container aur .btn global.css se aate hain.
   Is file me sirf is page ka layout hai.
   ========================================================== */

/* Extra tokens (global.css me nahi hain) */
:root {
  --fs-xs: 14px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --shadow-soft: 0 6px 24px rgba(26, 60, 101, 0.08);
}

main#primary.vwt-ind {
  width: 100%;
  max-width: 100%;
  float: none;
  padding: 0;
  color: var(--color-primary);
}

.vwt-ind :where(ul) {
  margin: 0;
  padding: 0;
  list-style: none;
}
.vwt-ind :where(h1, h2, h3) {
  margin-bottom: 0;
  color: inherit;
}
.vwt-ind :focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---------- Common ---------- */
.vwt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  font-size: 22px;
  color: var(--color-accent);
}

.vwt-title {
  font-size: var(--fs-h2);
  line-height: 1.25;
}
.vwt-title--center {
  text-align: center;
  margin-bottom: var(--space-3);
}

.vwt-link {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
}
.vwt-link:hover {
  color: var(--color-accent);
}

.vwt-section {
  padding: var(--space-4) 0;
}
.vwt-section--tight {
  padding: var(--space-3) 0;
}
.vwt-section--tint {
  background: var(--color-secondary);
}
.vwt-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

/* ---------- Hero ---------- */
.vwt-hero {
  --stats-h: 88px;
  padding: var(--space-2) 0 0;
  margin-bottom: calc(var(--stats-h) / 2);
  background: url("../../images/industries/all-industries-hero.webp") center / cover no-repeat;
}
.vwt-hero__content {
  max-width: 480px;
  padding: var(--space-4) 0 var(--space-6);
}
.vwt-hero__title span {
  display: block;
  color: var(--color-accent);
}
.vwt-hero__text {
  margin: var(--space-2) 0 var(--space-3);
  color: var(--text-muted);
}
.vwt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--space-5);
}

/* Stats: aadhi hero image ke andar, aadhi bahar */
.vwt-hero__stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: var(--space-2);
  height: var(--stats-h);
  padding: 0 var(--space-4);
  background: var(--color-primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transform: translateY(50%);
}
.vwt-hero__stats .vwt-icon {
  color: var(--color-accent);
}
.vwt-hero__stats li,
.vwt-overview__stats li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vwt-hero__stats strong,
.vwt-overview__stats strong {
  display: block;
  font-size: var(--fs-lg);
  line-height: 1.2;
}
.vwt-hero__stats small,
.vwt-overview__stats small {
  display: block;
  font-size: var(--fs-base);
  line-height: 1.3;
  color: var(--white);
}

/* ---------- Industry cards ---------- */
.vwt-grid {
  display: grid;
  gap: var(--space-3);
}
.vwt-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

.vwt-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition:
    box-shadow var(--transition-base),
    transform var(--transition-base);
}
.vwt-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}
.vwt-card[hidden] {
  display: none;
}
.vwt-card__media {
  position: relative;
  display: block;
}
.vwt-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.vwt-card__icon {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.vwt-card__icon .vwt-icon {
  width: auto;
  height: auto;
  font-size: 18px;
}
.vwt-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-2);
}
.vwt-card__body h3 {
  font-size: var(--fs-base);
}
.vwt-card__body h3 a {
  color: inherit;
}
.vwt-card__body h3 a:hover {
  color: var(--color-accent);
}
.vwt-card__body p {
  flex: 1;
  font-size: var(--fs-base);
  color: var(--text-dark);
}
.vwt-empty {
  margin-top: var(--space-3);
  text-align: center;
  color: var(--text-dark);
}

/* ---------- Trust + commitment ---------- */
.vwt-trust {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-3);
  align-items: stretch;
}
.vwt-trust__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: var(--space-2);
}
.vwt-trust__list li {
  padding: var(--space-2) 10px;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.vwt-trust__list .vwt-icon {
  margin: 0 auto var(--space-1);
}
.vwt-trust__list h3 {
  font-size: var(--fs-base);
}
.vwt-trust__list p {
  margin-top: 4px;
  font-size: var(--fs-xs);
  color: var(--text-dark);
}

.vwt-commit {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
  background: var(--color-primary);
  color: var(--white);
  border-radius: var(--radius-lg);
}
.vwt-commit__text {
  padding: var(--space-3);
}
.vwt-commit h3 {
  margin-bottom: var(--space-2);
  font-size: var(--fs-lg);
  color: var(--white);
}
.vwt-commit li {
  position: relative;
  padding-left: 20px;
  margin-bottom: var(--space-1);
  font-size: var(--fs-base);
}
.vwt-commit li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}
.vwt-commit .btn {
  margin-top: var(--space-2);
}
.vwt-commit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Overview ---------- */
.vwt-overview {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-4);
  align-items: start;
}
.vwt-overview__text p {
  margin: 12px 0 var(--space-2);
  font-size: var(--fs-base);
  color: var(--text-dark);
}
.vwt-check li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: var(--fs-base);
  color: var(--text-dark);
}
.vwt-check li::before {
  content: "\2713";
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  background: var(--color-primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 11px;
}

.vwt-video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 7.5;
  background: var(--black);
  border-radius: var(--radius-lg);
}
.vwt-video img,
.vwt-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.vwt-ind .vwt-video__play {
  position: absolute;
  inset: 0;
  width: 64px;
  height: 64px;
  margin: auto;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--color-primary);
  cursor: pointer;
  transition: transform var(--transition-base);
}
.vwt-ind .vwt-video__play:hover {
  transform: scale(1.08);
}

.vwt-overview__stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  margin: calc(var(--space-3) * -1) var(--space-3) 0;
  padding: var(--space-2) var(--space-3);
  background: var(--color-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  color: var(--white);
}

/* ---------- CTA ---------- */
.vwt-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-1) var(--space-4);
  padding: var(--space-4);
  background: var(--color-primary);
  color: var(--white);
  border-radius: var(--radius-lg);
}
.vwt-cta .vwt-title {
  color: var(--white);
}
.vwt-cta p {
  max-width: 560px;
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.8);
}
.vwt-cta__actions {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Dark background par global .btn variants ---------- */
.vwt-on-dark .btn-primary,
.vwt-on-dark .btn-primary:visited,
.vwt-on-dark .btn-primary:focus,
.vwt-on-dark .btn-primary:active {
  background: var(--white);
  color: var(--color-primary);
  border-color: var(--white);
}
.vwt-on-dark .btn-outline,
.vwt-on-dark .btn-outline:visited,
.vwt-on-dark .btn-outline:focus,
.vwt-on-dark .btn-outline:active {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.vwt-on-dark .btn-primary:hover,
.vwt-on-dark .btn-outline:hover {
  background: var(--btn-hover-bg);
  color: var(--btn-hover-color);
  border-color: var(--btn-hover-border);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .vwt-grid--5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .vwt-trust,
  .vwt-overview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .vwt-hero {
    margin-bottom: 0;
    background:
      linear-gradient(180deg, var(--white) 55%, rgba(255, 255, 255, 0.6)),
      url("../../images/industries-hero.png") center / cover no-repeat;
  }
  .vwt-hero__content {
    padding-bottom: var(--space-4);
  }
  .vwt-hero__stats {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
    padding: var(--space-2);
    margin-bottom: var(--space-2);
    transform: none;
  }
  .vwt-grid--5 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
  }
  .vwt-trust__list {
    grid-template-columns: repeat(2, 1fr);
  }
  .vwt-commit {
    grid-template-columns: 1fr;
  }
  .vwt-commit img {
    height: 220px;
  }
  .vwt-overview__stats {
    grid-template-columns: repeat(2, 1fr);
    margin: var(--space-2) 0 0;
  }
  .vwt-cta {
    grid-template-columns: 1fr;
    padding: var(--space-3) var(--space-2);
  }
  .vwt-cta__actions {
    grid-column: 1;
    grid-row: auto;
    margin-top: var(--space-1);
  }
}

@media (max-width: 480px) {
  .vwt-hero__actions .btn {
    flex: 1;
  }
}