/* =========================
   /css/pages.css
   PAGE MODULES ONLY
   (No header/nav/footer rules in this file)
   ========================= */

/* ===== Hero (shared) ===== */

.hero{
  background:linear-gradient(180deg,var(--navy-2),var(--navy-0));
  color:var(--text);
  padding:64px 0 44px;
  border-bottom:1px solid var(--line);
  overflow-x:hidden;
}

.hero__inner{
  display:grid;
  gap:12px;
  text-align:center;
  min-width:0;
}

.eyebrow{
  opacity:.85;
  font-weight:900;
  font-size:12px;
  letter-spacing:.3px;
  text-transform:uppercase;
}

.hero__title{
  font-size:46px;
  font-weight:1100;
  min-width:0;
}

.hero__sub{
  max-width:780px;
  margin:0 auto;
  opacity:.9;
}

.hero__actions{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:6px;
  min-width:0;
}

.hero__pills{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:8px;
  min-width:0;
}

/* Transparent badge pill above headline */
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0 auto 10px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:rgba(234,242,255,.92);
  font-weight:1000;
  font-size:12px;
  letter-spacing:.2px;
  box-shadow:0 16px 46px rgba(0,0,0,.25);
  backdrop-filter:blur(10px);
}

.hero-badge__dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:#16a9ff;
  box-shadow:0 0 0 4px rgba(22,169,255,.15);
}

/* Accent word */
.accent{color:var(--yellow)}

/* ===== Hero variants ===== */

.hero--home .hero__inner{gap:14px}
.hero--home .hero__title{font-size:52px}

.hero--home .hero__media{
  display:flex;
  justify-content:center;
  margin:12px 0 4px;
  overflow:hidden;
}
.hero--home .hero__media img{
  max-width:820px;
  height:auto;
}

/* Emergency thin band */
.hero--emergency{position:relative}
.hero--emergency::before{
  content:"24/7 Emergency Response • Call Now (213) 984-8236";
  display:block;
  width:100%;
  text-align:center;
  font-weight:1100;
  font-size:12px;
  letter-spacing:.2px;
  padding:10px 0;
  background:linear-gradient(180deg,#e03636,var(--red-2));
  color:#fff;
  margin-bottom:18px;
}

/* ===== Choice module (2 columns dark cards) ===== */

.choice{
  background:var(--light);
  padding:54px 0;
}

.choice__shell{
  background:linear-gradient(180deg,var(--navy-2),var(--navy-0));
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.10);
  padding:22px;
}

.choice__head{
  text-align:center;
  color:var(--text);
  margin-bottom:14px;
}

.choice__grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:16px;
}

.choice__card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius);
  padding:16px;
  color:var(--text);
  min-width:0;
}

.choice__title{margin:0 0 6px}
.choice__sub{margin:0; opacity:.8}
.choice__cardtitle{margin:0 0 8px; font-weight:1100}
.choice__copy{margin:0 0 10px; opacity:.85}

.choice__cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

/* ===== Process (3-step) ===== */

.process-grid{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(3, minmax(0,1fr));
}

.process-card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius);
  padding:18px;
  min-width:0;
}

.step{
  width:26px;
  height:26px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:1100;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  margin-bottom:10px;
}

.process-title{margin:0 0 6px; font-weight:1100}
.process-copy{margin:0; opacity:.9}

/* ===== Image grid ===== */

.image-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
}


.image-card{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line-dark);
  box-shadow:var(--shadow-soft);
  background:#fff;
  min-width:0;
}

.image-card__cap{
  padding:8px 10px;
  font-size:12px;
  font-weight:900;
  opacity:.85;
}

/* ===== Video grid ===== */

.video-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
}

.video{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  min-width:0;
}

/* ===== Compare (Trenchless vs Traditional) ===== */

.compare{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:16px;
}
.compare .card{height:100%}

/* ===== FAQ (dark) ===== */

.faq{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:16px;
}
.faq .card--dark{height:100%}

/* Fine print under hero buttons */
.hero-fine{
  color:rgba(234,242,255,.85);
  text-align:center;
  font-size:12px;
  font-weight:900;
  margin:6px 0 0;
}

/* ===== Responsive ===== */

@media (max-width: 940px){
  .hero__title{font-size:36px}
  .hero--home .hero__title{font-size:40px}

  .choice__grid{grid-template-columns:1fr}
  .process-grid{grid-template-columns:1fr}
  .image-grid{grid-template-columns:1fr}
  .video-grid{grid-template-columns:1fr}
  .compare{grid-template-columns:1fr}
  .faq{grid-template-columns:1fr}

  /* Hero image never exceeds viewport */
  .hero--home .hero__media img{
    width:100%;
    max-width:520px;
    margin:0 auto;
  }

  /* Hero CTAs stack so they can't push width */
  .hero__actions .pill{
    width:100%;
    max-width:420px;
  }
}
