*{margin:0;padding:0;box-sizing:border-box;}

:root{
  --red:#c0242c;
  --red-bright:#d81f2a;
  --navy:#0a1628;
  --white:#ffffff;
  --transition:0.28s cubic-bezier(.4,0,.2,1);
}

body{
  font-family:'Segoe UI','Arial',Helvetica,sans-serif;
}

img{ max-width:100%; display:block; }

/* ==========================================================
   GALLERY HERO
   ========================================================== */
.gallery-hero{
  position:relative;
  min-height:718px;
  display:flex;
  align-items:center;
  overflow:hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 45%;
  transform:scale(1.08);
  animation:kenburns 12s ease-out forwards;
}
@keyframes kenburns{
  from{ transform:scale(1.08); }
  to{ transform:scale(1); }
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    100deg,
    rgba(4,10,20,0.72) 0%,
    rgba(4,10,20,0.5) 32%,
    rgba(4,10,20,0.32) 55%,
    rgba(4,10,20,0.28) 100%
  );
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:1440px;
  margin:0 auto;
  padding:0 40px;
  width:100%;
}

/* breadcrumb */
.breadcrumb{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:24px;
  opacity:0;
  animation:fadeUp 0.7s ease forwards;
  animation-delay:0.15s;
}
.home-ico{
  color:var(--white);
  display:flex;
  align-items:center;
  cursor:pointer;
  transition:transform var(--transition), color var(--transition);
}
.home-ico svg{ width:20px; height:20px; }
.breadcrumb:hover .home-ico{
  color:var(--red-bright);
  transform:translateY(-2px);
}
.divider{
  width:1.5px;
  height:18px;
  background:rgba(255,255,255,0.5);
}
.crumb-text{
  color:var(--white);
  font-size:17px;
  font-weight:700;
}

/* heading */
.hero-heading{
  line-height:0.98;
  margin-bottom:22px;
}
.hero-heading .line{
  display:block;
  color:var(--red);
  font-size:66px;
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
  opacity:0;
  transform:translateY(30px);
  animation:fadeUp 0.8s cubic-bezier(.16,.84,.44,1) forwards;
}
.hero-heading .line:nth-child(1){ animation-delay:0.3s; }
.hero-heading .line:nth-child(2){ animation-delay:0.48s; }

/* description */
.hero-desc{
  color:var(--white);
  font-size:17px;
  font-weight:600;
  line-height:1.55;
  max-width:420px;
  opacity:0;
  transform:translateY(20px);
  animation:fadeUp 0.7s ease forwards;
  animation-delay:0.75s;
}

@keyframes fadeUp{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width:1024px){
  .gallery-hero{ min-height:560px; }
  .hero-heading .line{ font-size:50px; }
  .hero-desc{ font-size:15px; }
}

@media (max-width:640px){
  .hero-content{ padding:0 22px; }
  .gallery-hero{ min-height:480px; }
  .hero-heading .line{ font-size:36px; }
  .hero-desc{ font-size:14px; }
  .crumb-text{ font-size:15px; }
}

:root{
  --navy:#0e1b33;
  --navy-2:#132444;
  --red:#c9202f;
  --white:#ffffff;
  --muted:#aeb6c7;
  --gap:6px;
}

*{margin:0;padding:0;box-sizing:border-box;}

body{
  font-family:'Inter', sans-serif;
  background:#f3f4f6;
}

.infra-section{
  width:100%;
  max-width:1525px;   /* or 100% */
  margin:0 auto;
  background:var(--white);
  box-shadow:0 0 40px rgba(0,0,0,.08);
}

/* ===== HEADER ===== */
.infra-header{
  background:var(--navy);
  text-align:center;
  padding:34px 20px 26px;
}
.infra-header h1{
  font-family:'Poppins', sans-serif;
  font-weight:800;
  font-size:2.6rem;
  color:var(--white);
  letter-spacing:1px;
  margin-bottom:8px;
}
.infra-header p{
  font-size:1.05rem;
  color:var(--muted);
  font-weight:500;
  margin-bottom:14px;
}
.infra-header .underline{
  display:inline-block;
  width:60px;
  height:3px;
  background:var(--red);
  border-radius:2px;
}

/* ===== GALLERY GRID ===== */
.gallery{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:var(--gap);
  padding:var(--gap);
  background:var(--navy);
}
.g-item{
  position:relative;
  overflow:hidden;
  cursor:pointer;
  opacity:0;
  transform:scale(.92);
  transition:opacity .6s ease, transform .6s ease;
}
.g-item.in-view{
  opacity:1;
  transform:scale(1);
}
.g-item.big{
  grid-row:span 1;
}
.g-item:nth-child(1){ grid-column:1 / 3; }
.g-item:nth-child(2){ grid-column:3 / 4; }

.g-item.big img{ height:340px; }
.g-item:not(.big) img{ height:220px; }

.g-item img{
  width:100%;
  object-fit:cover;
  display:block;
  transition:transform .6s cubic-bezier(.25,.8,.25,1), filter .6s ease;
}

/* the signature hover: image zooms in and rotates slightly, like it's coming toward you */
.g-item:hover img{
  transform:scale(1.18) rotate(1.5deg);
  filter:brightness(.75) saturate(1.15);
}

.g-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(201,32,47,.35), rgba(14,27,51,.55));
  opacity:0;
  transform:scale(1.3) rotate(-8deg);
  transition:opacity .45s ease, transform .45s ease;
}
.g-overlay i{
  color:var(--white);
  font-size:1.6rem;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.4));
}
.g-item:hover .g-overlay{
  opacity:1;
  transform:scale(1) rotate(0deg);
}

/* subtle shine sweep across image on hover */
.g-item::after{
  content:'';
  position:absolute;
  top:0; left:-75%;
  width:50%; height:100%;
  background:linear-gradient(115deg, transparent, rgba(255,255,255,.35), transparent);
  transform:skewX(-20deg);
  transition:left .75s ease;
  pointer-events:none;
  z-index:2;
}
.g-item:hover::after{
  left:125%;
}

/* ===== LIGHTBOX ===== */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(8,12,22,.94);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999;
  animation:fadeIn .3s ease;
}
.lightbox.active{display:flex;}
.lightbox img{
  max-width:85%;
  max-height:82%;
  border-radius:8px;
  box-shadow:0 20px 60px rgba(0,0,0,.5);
  animation:popIn .35s cubic-bezier(.25,.8,.25,1);
}
.lightbox-close{
  position:absolute;
  top:26px; right:36px;
  color:var(--white);
  font-size:2.2rem;
  cursor:pointer;
  line-height:1;
  transition:transform .3s ease, color .3s ease;
}
.lightbox-close:hover{
  color:var(--red);
  transform:rotate(90deg);
}
.lightbox-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  color:var(--white);
  font-size:1.8rem;
  cursor:pointer;
  padding:14px 18px;
  border-radius:50%;
  transition:background .3s ease, transform .3s ease;
}
.lightbox-nav:hover{
  background:var(--red);
  transform:translateY(-50%) scale(1.1);
}
.lightbox-nav.prev{left:24px;}
.lightbox-nav.next{right:24px;}

@keyframes fadeIn{from{opacity:0;} to{opacity:1;}}
@keyframes popIn{from{opacity:0; transform:scale(.85);} to{opacity:1; transform:scale(1);}}

/* ===== FOOTER FEATURE BAR ===== */
.infra-footer{
  background:var(--navy);
  display:grid;
  grid-template-columns:repeat(7, auto);
  align-items:center;
  justify-content:center;
  padding:30px 24px;
  gap:22px;
}
.feature{
  display:flex;
  align-items:center;
  gap:14px;
  transition:transform .35s ease;
}
.feature:hover{
  transform:translateY(-4px);
}
.feature i{
  font-size:1.7rem;
  color:var(--white);
  width:46px;
  height:46px;
  border:2px solid rgba(255,255,255,.35);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  transition:background .35s ease, border-color .35s ease, transform .35s ease;
}
.feature:hover i{
  background:var(--red);
  border-color:var(--red);
  transform:rotate(360deg);
}
.feature h4{
  font-family:'Poppins', sans-serif;
  font-size:.82rem;
  font-weight:700;
  color:var(--white);
  letter-spacing:.4px;
  margin-bottom:4px;
}
.feature p{
  font-size:.76rem;
  color:var(--muted);
  max-width:150px;
  line-height:1.4;
}
.divider{
  width:1px;
  height:44px;
  background:rgba(201,32,47,.6);
}

/* ===== RESPONSIVE ===== */
@media (max-width:900px){
  .infra-footer{grid-template-columns:repeat(4, auto);}
  .divider:nth-of-type(2){display:none;}
}
@media (max-width:700px){
  .infra-header h1{font-size:1.8rem;}
  .g-item.big img{height:200px;}
  .g-item:not(.big) img{height:140px;}
  .infra-footer{grid-template-columns:1fr; justify-items:center; text-align:center;}
  .divider{display:none;}
  .feature{flex-direction:column; text-align:center;}
  .feature p{max-width:220px;}
  .lightbox-nav{font-size:1.3rem; padding:10px 14px;}
}

@media (prefers-reduced-motion: reduce){
  *{transition:none !important; animation:none !important;}
}
/* =========================================================
   UNIQUE GALLERY HERO
   DIFFERENT FROM PRODUCTS / INDUSTRIES HERO
========================================================= */

.galleryShowcase{
  position:relative;
  width:100%;
  min-height:720px;
  padding:88px 0 92px;
  overflow:hidden;
  background:
    radial-gradient(circle at 78% 28%,rgba(203,29,43,.08),transparent 24%),
    linear-gradient(135deg,#ffffff 0%,#f7f8fa 54%,#eef1f5 100%);
  font-family:"Poppins",Arial,sans-serif;
}

.galleryShowcase *,
.galleryShowcase *::before,
.galleryShowcase *::after{
  box-sizing:border-box;
}

.galleryShowcase::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:34%;
  height:5px;
  background:linear-gradient(90deg,#cb1d2b,#ef3340);
}

.galleryShowcase::after{
  content:"";
  position:absolute;
  right:-150px;
  top:-160px;
  width:440px;
  height:440px;
  border:76px solid rgba(12,30,55,.035);
  border-radius:50%;
}

.galleryShowcase__container{
  position:relative;
  z-index:2;
  width:min(1240px,calc(100% - 48px));
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);
  align-items:center;
  gap:90px;
}

/* LEFT CONTENT */

.galleryShowcase__content{
  max-width:590px;
  animation:galleryContentIn .9s ease both;
}

.galleryShowcase__breadcrumb{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:27px;
  font-size:12px;
}

.galleryShowcase__breadcrumb a{
  color:#697386;
  text-decoration:none;
}

.galleryShowcase__breadcrumb span{
  color:#a3aab4;
}

.galleryShowcase__breadcrumb strong{
  color:#cb1d2b;
}

.galleryShowcase__eyebrow{
  margin:0 0 17px;
  display:flex;
  align-items:center;
  gap:12px;
  color:#cb1d2b;
  font-size:12px;
  font-weight:800;
  letter-spacing:2px;
  text-transform:uppercase;
}

.galleryShowcase__eyebrow::before{
  content:"";
  width:44px;
  height:3px;
  border-radius:20px;
  background:#cb1d2b;
}

.galleryShowcase__title{
  margin:0 0 23px;
  color:#11182b;
  font-size:clamp(58px,5.8vw,84px);
  font-weight:900;
  line-height:.98;
  letter-spacing:-3.5px;
}

.galleryShowcase__title span{
  display:block;
  color:#cb1d2b;
}

.galleryShowcase__desc{
  max-width:560px;
  margin:0 0 32px;
  color:#5f6671;
  font-size:15px;
  line-height:1.85;
}

.galleryShowcase__actions{
  display:flex;
  flex-wrap:wrap;
  gap:15px;
  margin-bottom:42px;
}

.galleryShowcase__btn{
  min-width:178px;
  min-height:54px;
  padding:14px 24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  border-radius:8px;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
  text-transform:uppercase;
  transition:.3s ease;
}

.galleryShowcase__btn--primary{
  color:#fff;
  background:linear-gradient(135deg,#cb1d2b,#ef3340);
  border:2px solid #cb1d2b;
  box-shadow:0 16px 30px rgba(203,29,43,.23);
}

.galleryShowcase__btn--primary:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 36px rgba(203,29,43,.30);
}

.galleryShowcase__btn--secondary{
  color:#11182b;
  background:#fff;
  border:2px solid #c9ced6;
}

.galleryShowcase__btn--secondary:hover{
  transform:translateY(-3px);
  color:#fff;
  background:#11182b;
  border-color:#11182b;
}

.galleryShowcase__miniStats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  max-width:560px;
  padding-top:22px;
  border-top:1px solid #dfe3e8;
}

.galleryShowcase__miniStats div{
  position:relative;
  padding-right:18px;
}

.galleryShowcase__miniStats div:not(:last-child)::after{
  content:"";
  position:absolute;
  top:3px;
  right:14px;
  width:1px;
  height:42px;
  background:#dfe3e8;
}

.galleryShowcase__miniStats strong{
  display:block;
  margin-bottom:3px;
  color:#11182b;
  font-size:22px;
  font-weight:900;
}

.galleryShowcase__miniStats span{
  color:#7a8290;
  font-size:9.5px;
  font-weight:700;
  letter-spacing:.8px;
  text-transform:uppercase;
}

/* RIGHT VISUAL */

.galleryShowcase__visual{
  position:relative;
  min-height:560px;
  animation:galleryVisualIn 1s ease both;
}

.galleryShowcase__shape{
  position:absolute;
  border-radius:28px;
  transform:rotate(5deg);
}

.galleryShowcase__shape--navy{
  top:24px;
  right:18px;
  width:78%;
  height:82%;
  background:linear-gradient(145deg,#0b1b31,#142d4d);
  box-shadow:0 26px 60px rgba(12,30,55,.22);
}

.galleryShowcase__shape--red{
  left:30px;
  bottom:8px;
  width:70%;
  height:66%;
  background:linear-gradient(135deg,#cb1d2b,#ef3340);
  transform:rotate(-7deg);
  border-radius:24px;
  opacity:.94;
}

.galleryShowcase__mainCard{
  position:absolute;
  top:72px;
  left:74px;
  z-index:3;
  width:72%;
  height:430px;
  overflow:hidden;
  border:8px solid #fff;
  border-radius:22px;
  box-shadow:0 30px 70px rgba(16,28,48,.28);
  transform:rotate(2deg);
}

.galleryShowcase__mainCard img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .9s ease;
}

.galleryShowcase__mainCard:hover img{
  transform:scale(1.06);
}

.galleryShowcase__mainCard::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 50%,rgba(7,19,33,.70) 100%);
}

.galleryShowcase__mainOverlay{
  position:absolute;
  left:24px;
  right:24px;
  bottom:20px;
  z-index:2;
  color:#fff;
}

.galleryShowcase__mainOverlay span{
  display:block;
  margin-bottom:4px;
  color:rgba(255,255,255,.68);
  font-size:10px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
}

.galleryShowcase__mainOverlay strong{
  font-size:16px;
  font-weight:900;
}

.galleryShowcase__smallCard{
  position:absolute;
  z-index:6;
  width:245px;
  min-height:120px;
  display:grid;
  grid-template-columns:90px 1fr;
  align-items:center;
  gap:13px;
  padding:13px;
  background:rgba(255,255,255,.93);
  border:1px solid rgba(255,255,255,.88);
  border-radius:17px;
  box-shadow:0 18px 42px rgba(15,31,53,.18);
  backdrop-filter:blur(14px);
  transition:transform .3s ease;
}

.galleryShowcase__smallCard:hover{
  transform:translateY(-5px);
}

.galleryShowcase__smallCard img{
  width:90px;
  height:90px;
  object-fit:cover;
  border-radius:12px;
}

.galleryShowcase__smallCard span{
  display:block;
  margin-bottom:5px;
  color:#cb1d2b;
  font-size:10px;
  font-weight:900;
}

.galleryShowcase__smallCard strong{
  color:#11182b;
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
}

.galleryShowcase__smallCard--one{
  top:32px;
  right:-8px;
}

.galleryShowcase__smallCard--two{
  left:-8px;
  bottom:18px;
}

.galleryShowcase__roundBadge{
  position:absolute;
  right:0;
  bottom:4px;
  z-index:7;
  width:142px;
  height:142px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  background:#0d223c;
  border:7px solid rgba(255,255,255,.88);
  border-radius:50%;
  box-shadow:0 18px 40px rgba(14,34,60,.24);
}

.galleryShowcase__roundBadge::before{
  content:"";
  position:absolute;
  inset:9px;
  border:1px dashed rgba(255,255,255,.34);
  border-radius:50%;
}

.galleryShowcase__roundBadge strong{
  position:relative;
  z-index:2;
  color:#ef3340;
  font-size:30px;
  font-weight:900;
  line-height:1;
}

.galleryShowcase__roundBadge span{
  position:relative;
  z-index:2;
  width:84px;
  margin-top:5px;
  font-size:8.5px;
  font-weight:800;
  line-height:1.35;
  text-transform:uppercase;
}

.galleryShowcase__counterCard{
  position:absolute;
  left:44px;
  top:36px;
  z-index:5;
  min-width:210px;
  padding:16px 18px;
  color:#fff;
  background:#11182b;
  border-left:5px solid #ef3340;
  border-radius:10px;
  box-shadow:0 15px 34px rgba(16,27,45,.23);
}

.galleryShowcase__counterCard span{
  display:block;
  margin-bottom:4px;
  color:#ef3340;
  font-size:9px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
}

.galleryShowcase__counterCard strong{
  font-size:12px;
  font-weight:900;
}

@keyframes galleryContentIn{
  from{opacity:0;transform:translateX(-35px)}
  to{opacity:1;transform:translateX(0)}
}

@keyframes galleryVisualIn{
  from{opacity:0;transform:translateX(40px) scale(.96)}
  to{opacity:1;transform:translateX(0) scale(1)}
}

@media (max-width:1050px){
  .galleryShowcase__container{
    gap:52px;
  }

  .galleryShowcase__visual{
    min-height:520px;
  }

  .galleryShowcase__mainCard{
    left:48px;
    width:74%;
    height:400px;
  }
}

@media (max-width:900px){
  .galleryShowcase{
    padding:72px 0 90px;
  }

  .galleryShowcase__container{
    grid-template-columns:1fr;
    gap:70px;
  }

  .galleryShowcase__content{
    max-width:720px;
  }

  .galleryShowcase__visual{
    width:min(100%,720px);
    margin:0 auto;
  }
}

@media (max-width:620px){
  .galleryShowcase{
    min-height:auto;
    padding:58px 0 72px;
  }

  .galleryShowcase__container{
    width:calc(100% - 30px);
    gap:58px;
  }

  .galleryShowcase__title{
    font-size:47px;
    letter-spacing:-2px;
  }

  .galleryShowcase__actions{
    flex-direction:column;
  }

  .galleryShowcase__btn{
    width:100%;
  }

  .galleryShowcase__miniStats{
    grid-template-columns:1fr;
    gap:17px;
  }

  .galleryShowcase__miniStats div:not(:last-child)::after{
    display:none;
  }

  .galleryShowcase__visual{
    min-height:500px;
  }

  .galleryShowcase__mainCard{
    top:88px;
    left:18px;
    width:84%;
    height:330px;
  }

  .galleryShowcase__smallCard{
    width:205px;
    min-height:98px;
    grid-template-columns:68px 1fr;
  }

  .galleryShowcase__smallCard img{
    width:68px;
    height:68px;
  }

  .galleryShowcase__smallCard--one{
    top:10px;
    right:2px;
  }

  .galleryShowcase__smallCard--two{
    left:0;
    bottom:4px;
  }

  .galleryShowcase__roundBadge{
    right:0;
    bottom:0;
    width:112px;
    height:112px;
  }

  .galleryShowcase__counterCard{
    display:none;
  }
}
/* =========================================================
   INFRASTRUCTURE — EQUAL SIZE PREMIUM GRID
========================================================= */

.infraGrid{
  --navy:#111d35;
  --navy-dark:#091426;
  --red:#c1272d;

  position:relative;
  padding:100px 0 90px;
  overflow:hidden;
  background:
    radial-gradient(circle at 88% 12%,rgba(193,39,45,.08),transparent 24%),
    linear-gradient(180deg,#ffffff 0%,#f4f6f9 100%);
  font-family:"Poppins",Arial,sans-serif;
}

.infraGrid *,
.infraGrid *::before,
.infraGrid *::after,
.infraPopup *,
.infraPopup *::before,
.infraPopup *::after{
  box-sizing:border-box;
}

.infraGrid__container{
  width:min(1320px,calc(100% - 48px));
  margin:auto;
}

/* HEADER */

.infraGrid__header{
  max-width:820px;
  margin:0 auto 58px;
  text-align:center;
  opacity:0;
  transform:translateY(35px);
  transition:.8s ease;
}

.infraGrid__header.is-visible{
  opacity:1;
  transform:translateY(0);
}

.infraGrid__eyebrow{
  margin:0 0 14px;
  color:var(--red);
  font-size:12px;
  font-weight:900;
  letter-spacing:2.2px;
}

.infraGrid__title{
  margin:0;
  color:var(--navy);
  font-size:clamp(42px,4.8vw,66px);
  font-weight:900;
  line-height:1.05;
  letter-spacing:-2.2px;
}

.infraGrid__title span{
  display:block;
  color:var(--red);
}

.infraGrid__desc{
  margin:20px auto 0;
  color:#697281;
  font-size:15px;
  line-height:1.8;
}

/* GALLERY */

.infraGrid__gallery{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
}

.infraGrid__item{
  opacity:0;
  transform:translateY(55px) scale(.93);
  transition:
    opacity .75s ease,
    transform .75s cubic-bezier(.2,.8,.2,1);
}

.infraGrid__item.is-visible{
  opacity:1;
  transform:translateY(0) scale(1);
}

.infraGrid__button{
  position:relative;
  width:100%;
  height:320px;
  padding:0;
  overflow:hidden;
  background:linear-gradient(145deg,#16243e,#0b1629);
  border:1px solid rgba(17,29,53,.18);
  border-radius:18px;
  cursor:pointer;
  box-shadow:0 18px 45px rgba(10,25,45,.14);
  transition:
    transform .45s ease,
    box-shadow .45s ease,
    border-color .45s ease;
}

.infraGrid__button::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  z-index:4;
  width:0;
  height:4px;
  background:linear-gradient(90deg,var(--red),#ef3340);
  transition:width .5s ease;
}

.infraGrid__button::after{
  content:"";
  position:absolute;
  top:-35%;
  left:-85%;
  z-index:4;
  width:48%;
  height:170%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
  transform:skewX(-20deg);
  transition:left .85s ease;
  pointer-events:none;
}

.infraGrid__button:hover{
  transform:translateY(-12px);
  border-color:rgba(193,39,45,.55);
  box-shadow:
    0 32px 70px rgba(10,25,45,.25),
    0 0 0 1px rgba(193,39,45,.12);
}

.infraGrid__button:hover::before{
  width:100%;
}

.infraGrid__button:hover::after{
  left:140%;
}

/* FULL IMAGE — NO CROP */

.infraGrid__imageBox{
  position:absolute;
  inset:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#e9edf2;
  border-radius:12px;
}

.infraGrid__imageBox img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  object-position:center;
  transition:
    transform .75s cubic-bezier(.2,.8,.2,1),
    filter .45s ease;
}

.infraGrid__button:hover img{
  transform:scale(1.04);
  filter:brightness(.78) saturate(1.08);
}

/* HOVER */

.infraGrid__overlay{
  position:absolute;
  inset:14px;
  z-index:3;
  display:grid;
  place-items:center;
  background:rgba(6,16,31,.35);
  border-radius:12px;
  opacity:0;
  transition:opacity .4s ease;
}

.infraGrid__button:hover .infraGrid__overlay{
  opacity:1;
}

.infraGrid__zoom{
  width:64px;
  height:64px;
  display:grid;
  place-items:center;
  color:#fff;
  background:linear-gradient(135deg,var(--red),#ef3340);
  border:5px solid rgba(255,255,255,.24);
  border-radius:50%;
  font-size:20px;
  opacity:0;
  transform:translateY(22px) scale(.55) rotate(-25deg);
  transition:.45s cubic-bezier(.15,.9,.2,1);
}

.infraGrid__button:hover .infraGrid__zoom{
  opacity:1;
  transform:translateY(0) scale(1) rotate(0);
}

/* FEATURES */

.infraGrid__features{
  margin-top:60px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  overflow:hidden;
  background:linear-gradient(135deg,var(--navy-dark),var(--navy));
  border-radius:20px;
  box-shadow:0 24px 60px rgba(10,25,45,.20);
}

.infraGrid__feature{
  position:relative;
  min-height:140px;
  padding:28px 22px;
  display:flex;
  align-items:center;
  gap:16px;
  color:#fff;
  opacity:0;
  transform:translateY(25px);
  transition:.65s ease;
}

.infraGrid__feature.is-visible{
  opacity:1;
  transform:translateY(0);
}

.infraGrid__feature:not(:last-child)::after{
  content:"";
  position:absolute;
  top:28px;
  right:0;
  width:1px;
  height:calc(100% - 56px);
  background:rgba(255,255,255,.13);
}

.infraGrid__feature i{
  width:54px;
  height:54px;
  min-width:54px;
  display:grid;
  place-items:center;
  background:var(--red);
  border-radius:14px;
  font-size:19px;
  transition:.35s ease;
}

.infraGrid__feature:hover i{
  transform:translateY(-6px) rotate(-6deg);
}

.infraGrid__feature h3{
  margin:0 0 6px;
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
}

.infraGrid__feature p{
  margin:0;
  color:rgba(255,255,255,.68);
  font-size:11px;
  line-height:1.55;
}

/* LIGHTBOX */

.infraPopup{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:rgba(4,11,22,.9);
  backdrop-filter:blur(12px);
  opacity:0;
  visibility:hidden;
  transition:.35s ease;
}

.infraPopup.is-active{
  opacity:1;
  visibility:visible;
}

.infraPopup__content{
  max-width:calc(100% - 150px);
  max-height:88vh;
  padding:12px;
  background:#fff;
  border-radius:18px;
  box-shadow:0 30px 90px rgba(0,0,0,.45);
  transform:translateY(25px) scale(.95);
  transition:.4s ease;
}

.infraPopup.is-active .infraPopup__content{
  transform:translateY(0) scale(1);
}

.infraPopup__content img{
  max-width:100%;
  max-height:calc(88vh - 24px);
  display:block;
  object-fit:contain;
  border-radius:11px;
}

.infraPopup__close,
.infraPopup__nav{
  position:absolute;
  border:0;
  cursor:pointer;
  color:#fff;
  background:rgba(255,255,255,.1);
  transition:.3s ease;
}

.infraPopup__close:hover,
.infraPopup__nav:hover{
  background:var(--red);
}

.infraPopup__close{
  top:24px;
  right:28px;
  width:50px;
  height:50px;
  border-radius:50%;
  font-size:33px;
}

.infraPopup__nav{
  top:50%;
  width:52px;
  height:60px;
  border-radius:12px;
  font-size:25px;
  transform:translateY(-50%);
}

.infraPopup__prev{
  left:28px;
}

.infraPopup__next{
  right:28px;
}

/* RESPONSIVE */

@media(max-width:1000px){
  .infraGrid__gallery{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .infraGrid__features{
    grid-template-columns:repeat(2,1fr);
  }

  .infraGrid__feature:nth-child(2)::after{
    display:none;
  }
}

@media(max-width:620px){
  .infraGrid{
    padding:75px 0 70px;
  }

  .infraGrid__container{
    width:calc(100% - 30px);
  }

  .infraGrid__gallery{
    grid-template-columns:1fr;
    gap:20px;
  }

  .infraGrid__button{
    height:290px;
  }

  .infraGrid__features{
    grid-template-columns:1fr;
  }

  .infraGrid__feature::after{
    display:none;
  }

  .infraPopup{
    padding:14px;
  }

  .infraPopup__content{
    max-width:100%;
  }

  .infraPopup__nav{
    top:auto;
    bottom:18px;
    transform:none;
  }

  .infraPopup__prev{
    left:calc(50% - 65px);
  }

  .infraPopup__next{
    right:calc(50% - 65px);
  }
}

/* ==========================================
   CLEAN ARCHITECTURAL PHOTO GALLERY
   IMAGE SECTION ONLY
========================================== */

.infraGrid {
  background: #fff;
  padding: 90px 0 110px;
}

.infraGrid__container {
  width: min(1320px, calc(100% - 60px));
  margin: auto;
}

/* Clean, open composition */

.infraGrid__gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: row dense;
  gap: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Remove existing card effects */

.infraGrid__gallery .infraGrid__item {
  position: relative;
  grid-column: span 4;
  grid-row: auto;
  min-width: 0;
  opacity: 1;
  transform: none;
  overflow: visible;
  transition: none;
}

/* First row: large image + portrait */

.infraGrid__gallery .infraGrid__item:nth-child(1) {
  grid-column: span 8;
}

.infraGrid__gallery .infraGrid__item:nth-child(2) {
  grid-column: span 4;
}

/* Second row: three equal photographs */

.infraGrid__gallery .infraGrid__item:nth-child(3),
.infraGrid__gallery .infraGrid__item:nth-child(4),
.infraGrid__gallery .infraGrid__item:nth-child(5) {
  grid-column: span 4;
}

/* Third row: portrait + wide photograph */

.infraGrid__gallery .infraGrid__item:nth-child(6) {
  grid-column: span 4;
}

.infraGrid__gallery .infraGrid__item:nth-child(7) {
  grid-column: span 8;
}

/* Final row */

.infraGrid__gallery .infraGrid__item:nth-child(8),
.infraGrid__gallery .infraGrid__item:nth-child(9) {
  grid-column: span 6;
}

/* Frameless image */

.infraGrid__gallery .infraGrid__button {
  position: relative;
  display: block;
  width: 100%;
  height: 290px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #f1f2f3;
  box-shadow: none;
  cursor: zoom-in;
  transform: none;
  transition: none;
}

/* Featured image heights */

.infraGrid__gallery .infraGrid__item:nth-child(1) .infraGrid__button,
.infraGrid__gallery .infraGrid__item:nth-child(2) .infraGrid__button {
  height: 410px;
}

.infraGrid__gallery .infraGrid__item:nth-child(6) .infraGrid__button,
.infraGrid__gallery .infraGrid__item:nth-child(7) .infraGrid__button {
  height: 360px;
}

.infraGrid__gallery .infraGrid__item:nth-child(8) .infraGrid__button,
.infraGrid__gallery .infraGrid__item:nth-child(9) .infraGrid__button {
  height: 330px;
}

/* Remove old decorative effects */

.infraGrid__gallery .infraGrid__button::before,
.infraGrid__gallery .infraGrid__button::after,
.infraGrid__gallery .infraGrid__item::after {
  display: none;
}

/* Full bleed photography */

.infraGrid__gallery .infraGrid__imageBox {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: #f1f2f3;
  overflow: hidden;
}

.infraGrid__gallery .infraGrid__imageBox img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  filter: none;
  transform: scale(1);
  transition: transform .65s ease;
}

/* Minimal hover */

.infraGrid__gallery .infraGrid__button:hover {
  transform: none;
  border: 0;
  box-shadow: none;
}

.infraGrid__gallery .infraGrid__button:hover img {
  transform: scale(1.035);
  filter: none;
}

/* Very subtle overlay */

.infraGrid__gallery .infraGrid__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(9, 20, 38, .16);
  border-radius: 0;
  opacity: 0;
  transition: opacity .3s ease;
}

.infraGrid__gallery .infraGrid__button:hover .infraGrid__overlay {
  opacity: 1;
}

/* Small zoom button */

.infraGrid__gallery .infraGrid__zoom {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: #fff;
  color: #15243a;
  border: 0;
  border-radius: 50%;
  font-size: 17px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease,
              transform .3s ease;
}

.infraGrid__gallery .infraGrid__button:hover .infraGrid__zoom {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet */

@media (max-width: 900px) {
  .infraGrid__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .infraGrid__gallery .infraGrid__item:nth-child(n) {
    grid-column: span 1;
    grid-row: auto;
  }

  .infraGrid__gallery .infraGrid__item:first-child {
    grid-column: span 2;
  }

  .infraGrid__gallery .infraGrid__item:nth-child(n) .infraGrid__button {
    height: 270px;
  }

  .infraGrid__gallery .infraGrid__item:first-child .infraGrid__button {
    height: 380px;
  }
}

/* Mobile */

@media (max-width: 600px) {
  .infraGrid {
    padding: 60px 0 75px;
  }

  .infraGrid__container {
    width: calc(100% - 32px);
  }

  .infraGrid__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .infraGrid__gallery .infraGrid__item:nth-child(n) {
    grid-column: span 1;
  }

  .infraGrid__gallery .infraGrid__item:nth-child(1),
  .infraGrid__gallery .infraGrid__item:nth-child(5),
  .infraGrid__gallery .infraGrid__item:nth-child(9) {
    grid-column: span 2;
  }

  .infraGrid__gallery .infraGrid__item:nth-child(n) .infraGrid__button {
    height: 175px;
  }

  .infraGrid__gallery .infraGrid__item:nth-child(1) .infraGrid__button,
  .infraGrid__gallery .infraGrid__item:nth-child(5) .infraGrid__button,
  .infraGrid__gallery .infraGrid__item:nth-child(9) .infraGrid__button {
    height: 245px;
  }

  .infraGrid__gallery .infraGrid__zoom {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }
}