/* City Gas Distribution – Dev Enterprises — styles used only on this page (shared styles: assets/css/style.css) */

/* ── PAGE HEADER ── */

.page-header {
  position: relative; min-height: 320px; padding: 56px 0; display: flex; align-items: center;
  background: linear-gradient(100deg, rgba(7,20,36,0.88) 30%, rgba(7,20,36,0.5) 100%), url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?w=1600&q=80&fit=crop') center/cover;
}

.page-header-content { position: relative; z-index: 1; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 16px; font-weight: 500; flex-wrap: wrap; }

.breadcrumb a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color var(--transition); }

.breadcrumb a:hover { color: var(--brand); }

.breadcrumb .sep { color: var(--brand); }

.breadcrumb .current { color: var(--brand); }

.page-header h1 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(34px, 5vw, 54px); font-weight: 800; color: var(--white); line-height: 1.05; max-width: 720px; }

.page-header-tag {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(var(--brand-rgb),0.18); border: 1px solid rgba(var(--brand-rgb),0.4);
  color: var(--brand-light); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 30px; margin-bottom: 18px;
}

/* ── SHARED SECTION LABELS ── */

.section-eyebrow { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }

.section-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--brand); display: block; }

.section-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--ink); line-height: 1.12; margin-bottom: 16px; }

.section-sub { font-size: 15.5px; color: var(--gray-mid); max-width: 620px; line-height: 1.75; }

.section-header-center { text-align: center; margin-bottom: 56px; }

.section-header-center .section-eyebrow { justify-content: center; }

.section-header-center .section-sub { margin: 0 auto; }

/* ── INTRO/OVERVIEW ── */

.overview { padding: var(--section-pad); background: var(--white); }

.overview-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }

.overview-text p { color: #4A5A6E; font-size: 15.5px; line-height: 1.85; margin-bottom: 18px; }

.overview-text strong { color: var(--ink); font-weight: 700; }

.overview-img-wrap { position: relative; }

.overview-img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius-lg); display: block; }

.overview-badge {
  position: absolute; bottom: -22px; right: -16px; background: var(--brand); color: var(--white);
  padding: 20px 26px; border-radius: var(--radius-lg); box-shadow: 0 12px 32px rgba(var(--brand-rgb),0.4); text-align: center;
}

.overview-badge .num { font-family: 'Barlow Condensed', sans-serif; font-size: 36px; font-weight: 800; line-height: 1; }

.overview-badge .lbl { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.92; }

.overview-checklist { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.overview-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink); }

.overview-check-icon { width: 20px; height: 20px; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }

.overview-check-icon::after { content: '✓'; color: white; font-size: 11px; font-weight: 700; }

/* ── SERVICE SCOPE CARDS ── */

.scope { padding: var(--section-pad); background: var(--gray-light); }

.scope-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }

.scope-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 26px; text-align: left;
  border: 1px solid #ECF0F5; transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}

.scope-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }

.scope-card:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }

.scope-card:hover::before { transform: scaleX(1); }

.scope-num { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: 0.08em; margin-bottom: 14px; }

.scope-icon { width: 50px; height: 50px; background: #FFF1E2; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }

.scope-card h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }

.scope-card p { font-size: 13.5px; color: #6B7887; line-height: 1.75; }

/* ── PROCESS STEPS ── */

.process { padding: var(--section-pad); background: var(--white); }

.process-wrap { position: relative; margin-top: 56px; }

.process-line { position: absolute; top: 28px; left: 6%; right: 6%; height: 2px; background: linear-gradient(to right, var(--brand), #D3DAE2 80%); display: block; }

.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }

.process-step { text-align: center; }

.process-dot {
  width: 56px; height: 56px; background: var(--white); border: 3px solid var(--brand); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; position: relative; z-index: 1;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 20px; color: var(--brand);
}

.process-step h4 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }

.process-step p { font-size: 12.5px; color: #7C8896; line-height: 1.6; }

/* ── SEGMENTS WE SERVE ── */

.segments { padding: var(--section-pad); background: var(--ink); position: relative; overflow: hidden; }

.segments::before {
  content: '⛽'; position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  font-size: 320px; opacity: 0.03; line-height: 1; pointer-events: none;
}

.segments .section-title { color: var(--white); }

.segments .section-sub { color: rgba(255,255,255,0.55); }

.segments .section-eyebrow { color: var(--brand); }

.segments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }

.segment-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: border-color var(--transition), background var(--transition);
}

.segment-card:hover { border-color: var(--brand); background: rgba(var(--brand-rgb),0.06); }

.segment-icon { width: 54px; height: 54px; background: rgba(var(--brand-rgb),0.14); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; color: var(--brand); }

.segment-card h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 10px; }

.segment-card p { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.75; }

/* ── SAFETY & STANDARDS ── */

.safety { padding: var(--section-pad); background: var(--gray-light); }

.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.safety-img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius-lg); display: block; }

.safety-list { list-style: none; margin-top: 24px; }

.safety-list li {
  display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid #DFE5EC; font-size: 14.5px; color: #4A5A6E;
}

.safety-list li:last-child { border-bottom: none; }

.safety-list .si-icon { width: 30px; height: 30px; background: #FFF1E2; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; color: var(--brand); }

/* ── STATS STRIP ── */

.stats-strip { background: var(--ink); padding: 0; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid #3A4A5E; }

.stat-item { padding: 32px 24px; border-right: 1px solid #3A4A5E; text-align: center; position: relative; overflow: hidden; transition: background var(--transition); }

.stat-item:hover { background: rgba(var(--brand-rgb),0.08); }

.stat-item::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--brand); transform: scaleX(0); transition: transform var(--transition); }

.stat-item:hover::before { transform: scaleX(1); }

.stat-num { font-family: 'Barlow Condensed', sans-serif; font-size: 44px; font-weight: 800; color: var(--brand); line-height: 1; display: flex; align-items: baseline; justify-content: center; gap: 4px; }

.stat-num sup { font-size: 22px; }

.stat-label { font-size: 11.5px; color: #9DA7B3; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; }

/* ── OTHER SERVICES (CROSS-LINK) ── */

.other-services { padding: var(--section-pad); background: var(--white); }

.os-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }

.os-card {
  display: block; text-decoration: none; background: var(--gray-light); border-radius: var(--radius-lg); padding: 28px 26px;
  transition: background var(--transition), transform var(--transition); border: 1px solid transparent;
}

.os-card:hover { background: #FFF1E2; transform: translateY(-4px); border-color: var(--brand); }

.os-icon { width: 46px; height: 46px; background: var(--white); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }

.os-card h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }

.os-card p { font-size: 13px; color: #6B7887; line-height: 1.6; margin-bottom: 14px; }

.os-link { font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── CTA BAND ── */

.cta-band { padding: 72px 0; background: var(--brand); position: relative; overflow: hidden; }

.cta-band::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }

.cta-inner { text-align: center; position: relative; z-index: 1; }

.cta-inner h2 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(28px, 4vw, 46px); font-weight: 800; color: var(--white); margin-bottom: 12px; line-height: 1.1; }

.cta-inner p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 32px; }

.btn-white { background: var(--white); color: var(--brand); padding: 14px 34px; border-radius: 3px; font-size: 14px; font-weight: 700; text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase; transition: background var(--transition), transform var(--transition); display: inline-block; }

.btn-white:hover { background: #F4F7FA; transform: translateY(-2px); }

/* ── SCROLL ANIMATIONS ── */

.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }

.fade-up.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */

@media (max-width: 1024px) {
  .overview-grid { grid-template-columns: 1fr; gap: 48px; }
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(5, 1fr); }
  .process-line { display: none; }
  .segments-grid { grid-template-columns: 1fr 1fr; }
  .safety-grid { grid-template-columns: 1fr; gap: 36px; }
  .os-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .page-header { min-height: 260px; padding: 40px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .scope-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .segments-grid { grid-template-columns: 1fr; }
  .os-grid { grid-template-columns: 1fr; }
  .overview-checklist { grid-template-columns: 1fr; }
  .overview-img { height: 320px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
}
