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

/* ── PAGE HEADER ── */

.page-header {
  position: relative; min-height: 420px; padding: 56px 0; display: flex; align-items: center;
  background: linear-gradient(105deg, rgba(7,20,36,0.93) 32%, rgba(7,20,36,0.42) 100%),
    url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?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-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; }

.page-header h1 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(36px, 5.5vw, 64px); font-weight: 800; color: var(--white); line-height: 1.04; max-width: 740px; margin-bottom: 14px; }

.page-header h1 em { font-style: normal; color: var(--brand); }

.page-header p { font-size: 15.5px; color: rgba(255,255,255,0.78); max-width: 560px; line-height: 1.72; }

.page-header-badges { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

.ph-badge { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.85); font-size: 12px; font-weight: 600; padding: 6px 16px; border-radius: 30px; }

/* ── SHARED 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, 46px); font-weight: 800; color: var(--ink); line-height: 1.1; margin-bottom: 16px; }

.section-sub { font-size: 15.5px; color: var(--gray-mid); max-width: 640px; 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; }

/* ── OVERVIEW ── */

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

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

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

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

.overview-img-corner-tl { position: absolute; top: -18px; left: -18px; width: 90px; height: 90px; border-top: 5px solid var(--brand); border-left: 5px solid var(--brand); border-radius: var(--radius-lg) 0 0 0; pointer-events: none; }

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

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

.overview-badge .b-lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; opacity: 0.92; margin-top: 5px; line-height: 1.4; }

.overview-badge2 {
  position: absolute; top: 28px; left: -20px; background: var(--ink);
  color: var(--white); padding: 16px 22px; border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.28); text-align: center;
}

.overview-badge2 .b2-num { font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 900; color: var(--brand); line-height: 1; }

.overview-badge2 .b2-lbl { font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,0.72); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 4px; line-height: 1.4; }

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

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

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

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

.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; font-size: 10px; color: white; font-weight: 800; }

/* ── SCOPE CARDS ── */

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

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

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

.scope-card::after { content: ''; position: absolute; bottom: 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); box-shadow: 0 18px 48px rgba(0,0,0,0.09); border-color: var(--brand); }

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

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

.scope-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }

.scope-card p { font-size: 14px; color: #6B7887; line-height: 1.78; margin-bottom: 20px; }

.scope-list { list-style: none; }

.scope-list li { font-size: 13px; color: #4A5A6E; padding: 7px 0; border-bottom: 1px solid #F0F3F7; display: flex; align-items: center; gap: 8px; }

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

.scope-list li::before { content: '✓'; color: var(--brand); font-weight: 800; font-size: 12px; flex-shrink: 0; }

/* ── PROJECT SECTORS (DARK) ── */

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

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

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

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

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

.sector-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; transition: transform var(--transition), box-shadow var(--transition); cursor: default; }

.sector-card:hover { transform: translateY(-5px); box-shadow: 0 18px 48px rgba(0,0,0,0.24); }

.sector-card-img { height: 210px; overflow: hidden; position: relative; }

.sector-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }

.sector-card:hover .sector-card-img img { transform: scale(1.07); }

.sector-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.65)); }

.sector-card-tag { position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--brand); color: white; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 12px; border-radius: 2px; }

.sector-card-body { padding: 26px 28px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-top: none; }

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

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

/* ── PROCESS TIMELINE ── */

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

.process-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-top: 56px; position: relative; }

.process-strip::before { content: ''; position: absolute; top: 34px; left: calc(100%/12); right: calc(100%/12); height: 2px; background: linear-gradient(to right, var(--brand) 50%, #D3DAE2); z-index: 0; }

.p-step { text-align: center; position: relative; z-index: 1; padding: 0 6px; }

.p-dot { width: 68px; height: 68px; border-radius: 50%; background: var(--white); border: 3px solid var(--brand); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 24px; transition: background var(--transition), box-shadow var(--transition); }

.p-step:hover .p-dot { background: var(--brand); box-shadow: 0 0 0 8px rgba(var(--brand-rgb),0.12); }

.p-step h4 { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; line-height: 1.35; }

.p-step p { font-size: 11.5px; color: #8C96A3; line-height: 1.55; }

/* ── CAPABILITIES GRID ── */

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

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

.cap-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px 22px; border: 1px solid #ECF0F5; transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); text-align: center; }

.cap-card:hover { transform: translateY(-5px); border-color: var(--brand); box-shadow: 0 12px 32px rgba(0,0,0,0.07); }

.cap-icon { width: 56px; height: 56px; background: #FFF1E2; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 16px; }

.cap-card h4 { font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.4; margin-bottom: 8px; }

.cap-card p { font-size: 12.5px; color: #7C8896; line-height: 1.65; }

/* ── WHY US GRID ── */

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

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 72px; margin-top: 56px; }

.why-item { display: flex; gap: 18px; align-items: flex-start; }

.why-icon { width: 52px; height: 52px; background: #FFF1E2; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }

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

.why-item p { font-size: 14px; color: #5B6979; line-height: 1.75; }

/* ── SAFETY HIGHLIGHT ── */

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

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

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

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

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

.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; }

.si-icon { width: 32px; height: 32px; 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: 36px 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: 50px; font-weight: 800; color: var(--brand); line-height: 1; display: flex; align-items: baseline; justify-content: center; gap: 4px; }

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

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

/* ── OTHER SERVICES ── */

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

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

.os-card { display: block; text-decoration: none; background: var(--gray-light); border-radius: var(--radius-lg); padding: 24px 20px; 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: 42px; height: 42px; background: var(--white); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 14px; }

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

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

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

/* ── CTA BAND ── */

.cta-band { padding: 88px 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(30px, 4vw, 52px); font-weight: 800; color: var(--white); margin-bottom: 14px; line-height: 1.1; }

.cta-inner p { font-size: 16px; color: rgba(255,255,255,0.87); margin-bottom: 34px; max-width: 560px; margin-left: auto; margin-right: auto; }

.cta-btns { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

.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); }

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

.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.12); }

/* ── 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: 56px; }
  .overview-badge { right: 16px; }
  .overview-badge2 { left: 16px; }
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
  .safety-grid { grid-template-columns: 1fr; gap: 40px; }
  .os-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .page-header { min-height: 300px; padding: 40px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .scope-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: 1fr 1fr; gap: 28px; }
  .process-strip::before { display: none; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .os-grid { grid-template-columns: 1fr 1fr; }
  .overview-img { height: 320px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .overview-checklist { grid-template-columns: 1fr; }
}

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