.network-hero { position: relative; min-height: 610px; overflow: hidden; color: white; background: var(--navy-deep); }
.home-network-hero { min-height: 635px; }
.network-hero-static { min-height: 560px; }
.network-hero-static .network-slide { visibility: visible; opacity: 1; }
.network-hero-static .network-hero-bottom { justify-content: flex-start; }
.network-slides, .network-slide, .network-slide-image, .network-slide-shade { position: absolute; inset: 0; }
.network-slide { z-index: 0; visibility: hidden; opacity: 0; transition: opacity .8s ease, visibility .8s; }
.network-slide.is-active { z-index: 1; visibility: visible; opacity: 1; }
.network-slide-image { background-position: center; background-size: cover; transform: scale(1.04); transition: transform 7s ease; }
.network-slide.is-active .network-slide-image { transform: scale(1); }
.slide-image-overview { background-image: url("assets/images/transmission-overview.jpg"); background-position: center 48%; }
.slide-image-rampur { background-image: url("assets/images/substation-equipment.jpg"); background-position: center 52%; }
.slide-image-chunar { background-image: url("assets/images/transmission-overview.jpg"); background-position: 72% 45%; }
.network-slide-shade { background: linear-gradient(90deg,rgba(8,27,51,.93) 0%,rgba(12,35,62,.76) 48%,rgba(13,35,60,.32) 100%),linear-gradient(0deg,rgba(7,22,42,.65),transparent 62%); }
.network-slide-content { position: relative; z-index: 1; padding-top: 85px; }
.network-slide-content .eyebrow { margin-bottom: 15px; }
.network-slide-index { margin: 0 0 14px; color: #ffb078; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.network-slide-content h1, .network-slide-content h2 { max-width: 710px; margin: 0; color: white; font: 800 clamp(42px,6vw,68px)/1.08 var(--font-heading); letter-spacing: -.06em; }
.network-slide-content h1 span, .network-slide-content h2 span { color: #ffb078; }
.network-slide-description { max-width: 550px; margin: 19px 0 25px; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.75; }
.network-hero-bottom { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.network-hero-stats { display: flex; align-items: stretch; }
.hero-stat { display: grid; min-width: 155px; grid-template-columns: 31px 1fr; align-content: center; align-items: center; column-gap: 9px; padding: 14px 18px; border-right: 1px solid rgba(255,255,255,.13); background: rgba(17,43,73,.76); backdrop-filter: blur(8px); }
.hero-stat:first-child { border-radius: 4px 0 0 0; }
.hero-stat:nth-child(3) { border: 0; border-radius: 0 4px 0 0; }
.hero-stat-icon { grid-row: span 2; color: #ff7b32; font-size: 27px; font-weight: 700; }
.hero-stat strong { color: white; font: 800 17px var(--font-heading); }
.hero-stat > span:last-child { color: rgba(255,255,255,.72); font-size: 9px; }
.slider-controls { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; }
.slider-arrow { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: white; background: rgba(10,31,55,.3); font-size: 17px; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.slider-arrow:hover { border-color: var(--orange); color: white; background: var(--orange); }
.slider-dots { display: flex; align-items: center; gap: 7px; }
.slider-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 8px; background: rgba(255,255,255,.5); cursor: pointer; transition: width .25s ease, background .25s ease; }
.slider-dot.is-active { width: 24px; background: var(--orange); }
.hero-side-label { position: absolute; z-index: 2; top: 50%; right: 25px; color: rgba(255,255,255,.65); font-size: 8px; font-weight: 700; letter-spacing: .15em; writing-mode: vertical-rl; }

.district-overview { background: #f5f6f7; }
.network-page-heading { max-width: 740px; margin: 0 auto 45px; text-align: center; }
.network-page-heading .eyebrow { justify-content: center; }
.network-page-heading > p:last-child { margin: 13px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.district-row { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 55px; padding-block: 36px; border-top: 1px solid #e0e5ea; }
.district-row-reverse { grid-template-columns: 1.08fr .92fr; }
.district-row-reverse .district-copy { grid-column: 2; grid-row: 1; }
.district-row-reverse .district-map-frame { grid-column: 1; grid-row: 1; }
.district-label { margin: 0 0 11px; color: var(--orange); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.district-copy h3 { margin: 0; color: var(--navy); font: 800 clamp(27px,3vw,35px)/1.2 var(--font-heading); letter-spacing: -.05em; }
.district-copy h3 span { color: #78889a; }
.district-copy > p:not(.district-label) { margin: 13px 0 17px; color: #5e6b7b; font-size: 12px; line-height: 1.8; }
.network-facts { display: grid; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; }
.network-facts li { display: flex; gap: 9px; color: #37475c; font-size: 11px; line-height: 1.55; }
.network-facts li span { flex-shrink: 0; color: var(--orange); font-size: 14px; font-weight: 700; }
.district-map-frame { position: relative; min-width: 0; margin: 0; padding: 12px; border: 1px solid #e1e6eb; border-radius: 5px; background: white; box-shadow: 0 14px 40px rgba(17,41,74,.07); }
.district-map-frame img { width: 100%; height: 260px; object-fit: contain; }
.district-map-frame figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 5px 2px; border-top: 1px solid #edf0f3; }
.district-map-frame figcaption span { color: #8a96a4; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.district-map-frame figcaption strong { color: var(--navy); font: 700 10px var(--font-heading); }

.substations { color: white; background: var(--navy-deep); }
.network-page-heading-light .section-title { color: white; }
.network-page-heading-light .section-title span { color: #ffb078; }
.network-page-heading-light > p:last-child { color: rgba(255,255,255,.68); }
.substation-detail { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; margin-top: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 5px; background: #112b4b; }
.substation-detail-reverse .substation-photo { grid-column: 2; grid-row: 1; }
.substation-detail-reverse .substation-info { grid-column: 1; grid-row: 1; }
.substation-photo { position: relative; min-height: 400px; overflow: hidden; background: #263d55; }
.substation-photo::after { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(7,20,37,.7),transparent 42%),linear-gradient(90deg,rgba(9,27,48,.12),transparent); content: ""; pointer-events: none; }
.substation-photo img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; transition: transform .6s ease; }
.substation-detail:hover .substation-photo img { transform: scale(1.035); }
.project-badge { position: absolute; z-index: 1; top: 18px; left: 18px; padding: 9px 12px; border-radius: 2px; color: white; background: var(--orange); font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.project-badge i { padding-inline: 5px; font-style: normal; opacity: .7; }
.photo-caption { position: absolute; z-index: 1; bottom: 20px; left: 20px; color: white; font-size: 11px; font-weight: 600; }
.substation-info { align-self: center; padding: 35px clamp(25px,4vw,49px); }
.substation-info .district-label { color: #ff9a65; }
.substation-info h3 { margin: 0; color: white; font: 800 clamp(27px,3.3vw,38px)/1.15 var(--font-heading); letter-spacing: -.05em; }
.substation-info h3 span { color: #ffb078; }
.substation-lead { margin: 12px 0 9px; color: white; font-size: 13px; font-weight: 600; line-height: 1.6; }
.substation-description { margin: 0; color: rgba(255,255,255,.67); font-size: 11px; line-height: 1.8; }
.substation-spec-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 15px; margin: 20px 0 22px; border-top: 1px solid rgba(255,255,255,.14); }
.substation-spec-grid div { display: grid; gap: 5px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.substation-spec-grid span { color: rgba(255,255,255,.5); font-size: 7px; font-weight: 700; letter-spacing: .1em; }
.substation-spec-grid strong { color: white; font-size: 10px; font-weight: 600; }
.substation-info .text-link { color: white; font-size: 11px; }
.project-disclaimer { margin: 20px 0 0; color: rgba(255,255,255,.48); font-size: 9px; text-align: center; }

.network-future { background: #eef1f5; }
.network-future .network-page-heading { margin-bottom: 30px; }
.future-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.future-card { min-height: 190px; padding: 25px; border: 1px solid #e0e5eb; border-radius: 4px; background: white; box-shadow: 0 8px 25px rgba(17,41,74,.035); transition: transform .25s ease, box-shadow .25s ease; }
.future-card:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); }
.future-card > span { color: var(--orange); font-size: 29px; font-weight: 600; line-height: 1; }
.future-card h3 { margin: 15px 0 7px; color: var(--navy); font: 750 16px var(--font-heading); }
.future-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }

@media (max-width: 900px) {
  .network-hero { min-height: 585px; }
  .network-slide-content { padding-top: 70px; }
  .network-hero-stats .hero-stat { min-width: 135px; padding-inline: 12px; }
  .district-row, .district-row-reverse { gap: 30px; }
  .district-map-frame img { height: 225px; }
  .substation-info { padding: 28px 25px; }
  .substation-photo, .substation-photo img { min-height: 365px; }
}

@media (max-width: 650px) {
  .network-hero { min-height: 670px; }
  .home-network-hero { min-height: 670px; }
  .network-hero-static { min-height: 565px; }
  .network-slide-content { padding-top: 70px; }
  .network-slide-content h1, .network-slide-content h2 { max-width: 500px; font-size: clamp(39px,11vw,55px); }
  .network-slide-description { max-width: 440px; font-size: 12px; }
  .slide-image-overview { background-position: 59% center; }
  .slide-image-rampur { background-position: 57% center; }
  .slide-image-chunar { background-position: 67% center; }
  .network-slide-shade { background: linear-gradient(90deg,rgba(8,27,51,.87),rgba(12,35,62,.52)),linear-gradient(0deg,rgba(7,22,42,.68),transparent 72%); }
  .network-hero-bottom { align-items: stretch; flex-direction: column; gap: 0; }
  .network-hero-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hero-stat { min-width: 0 !important; grid-template-columns: 1fr; justify-items: center; gap: 4px; padding: 11px 5px; text-align: center; }
  .hero-stat-icon { grid-row: auto; font-size: 21px; line-height: 1; }
  .hero-stat strong { font-size: 14px; }
  .hero-stat > span:last-child { font-size: 8px; }
  .slider-controls { justify-content: center; padding: 10px 0 14px; }
  .hero-side-label { display: none; }
  .network-page-heading { margin-bottom: 30px; }
  .network-page-heading .section-title { font-size: 33px; }
  .district-row, .district-row-reverse { grid-template-columns: 1fr; gap: 23px; padding-block: 28px; }
  .district-row-reverse .district-copy, .district-row-reverse .district-map-frame { grid-column: auto; grid-row: auto; }
  .district-row-reverse .district-copy { grid-row: 1; }
  .district-row-reverse .district-map-frame { grid-row: 2; }
  .district-map-frame { padding: 8px; }
  .district-map-frame img { height: 200px; }
  .district-map-frame figcaption { flex-wrap: wrap; }
  .district-copy h3 { font-size: 30px; }
  .network-facts li { font-size: 10px; }
  .substation-detail, .substation-detail-reverse { grid-template-columns: 1fr; }
  .substation-detail-reverse .substation-photo, .substation-detail-reverse .substation-info { grid-column: auto; grid-row: auto; }
  .substation-detail-reverse .substation-photo { grid-row: 1; }
  .substation-detail-reverse .substation-info { grid-row: 2; }
  .substation-photo, .substation-photo img { min-height: 260px; height: 260px; }
  .substation-info { padding: 25px 20px 27px; }
  .substation-spec-grid { gap: 0 10px; }
  .future-grid { grid-template-columns: 1fr; }
  .future-card { min-height: 0; padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .network-slide, .network-slide-image { transition-duration: .01ms; }
}
