/* ═══════════════════════════════════════════════════════
   E-Life Electrical — About Page  (about.css)
   Loaded AFTER styles.css — extends shared tokens only.
   ═══════════════════════════════════════════════════════ */

/* ── SHARED BODY COPY ────────────────────────────────── */
.body-p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink-light);
  margin-bottom: 1.125rem;
}
.body-p:last-of-type { margin-bottom: 0; }

/* ── SECTION TITLE (reuse from shared, confirmed) ────── */
.section-title {
  font-family: var(--fnt-display);
  font-size: clamp(1.75rem, 3.5vw + .25rem, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -.02em;
}

/* ════════════════════════════════════════════════════════
   PAGE HERO
════════════════════════════════════════════════════════ */
.pg-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding-top: var(--hdr-h);
  overflow: hidden;
}

.pg-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.pg-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.pg-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,12,20,.88) 0%,
    rgba(10,12,20,.72) 55%,
    rgba(10,12,20,.55) 100%
  );
}

.pg-hero__body {
  position: relative;
  z-index: 2;
  padding-block: 3.5rem 4rem;
}

/* Breadcrumb */
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1rem;
}
.bc-link {
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  transition: color var(--ease);
}
.bc-link:hover { color: var(--amber); }
.bc-link:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 2px; }
.bc-sep { color: rgba(255,255,255,.3); font-size: .8rem; }
.breadcrumb [aria-current="page"] { font-size: .8125rem; color: rgba(255,255,255,.55); }

.pg-hero__h1 {
  font-family: var(--fnt-display);
  font-size: clamp(2rem, 5vw + .5rem, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -.025em;
  margin-bottom: 1.25rem;
}
.pg-hero__sub {
  font-size: clamp(.9375rem, 1.5vw + .25rem, 1.125rem);
  color: rgba(255,255,255,.68);
  line-height: 1.75;
  max-width: 640px;
}

/* ════════════════════════════════════════════════════════
   STORY SECTION
════════════════════════════════════════════════════════ */
.story {
  padding-block: 6rem;
  background: var(--white);
}

.story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Text side */
.story__text .eyebrow { margin-bottom: .5rem; }
.story__text .section-title { margin-bottom: 1.75rem; }

.story__quote {
  border-left: 3px solid var(--amber);
  padding: 1rem 1.5rem;
  margin-block: 1.75rem;
  background: var(--amber-pale);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.story__quote p {
  font-family: var(--fnt-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.55;
  font-style: italic;
}

.story__redseal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.65;
  font-style: italic;
}

/* Image stack */
.story__visual { position: relative; }

.story__img-stack { position: relative; }

.story__img--main {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.story__img-card {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
  width: 200px;
}
.story__img--inset {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.story__stat-badge {
  position: absolute;
  top: 2rem;
  right: -1.5rem;
  background: var(--amber);
  color: var(--ink);
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  text-align: center;
  min-width: 140px;
}
.stat-badge__icon  { font-size: 1.5rem; line-height: 1; }
.stat-badge__label { font-family: var(--fnt-display); font-weight: 800; font-size: .9375rem; }
.stat-badge__sub   { font-size: .72rem; font-weight: 600; opacity: .75; }

/* ════════════════════════════════════════════════════════
   VALUES  (4 cards on off-white)
════════════════════════════════════════════════════════ */
.values {
  padding-block: 6rem;
  background: var(--off);
}

.values__head {
  text-align: center;
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}
.values__sub {
  margin-top: .875rem;
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.7;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.val-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--amber);
  border-radius: 0 0 var(--r-md) var(--r-md);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--ease), transform var(--ease);
}
.val-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.val-card__icon {
  width: 48px;
  height: 48px;
  color: var(--amber);
  flex-shrink: 0;
}
.val-card__icon svg { width: 100%; height: 100%; }

.val-card__title {
  font-family: var(--fnt-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.val-card__desc {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.68;
}

/* ════════════════════════════════════════════════════════
   SECTORS  (3 horizontal cards)
════════════════════════════════════════════════════════ */
.sectors {
  padding-block: 6rem;
  background: var(--white);
}

.sectors__head {
  margin-bottom: 3rem;
}
.sectors__head .section-title { margin-top: .4rem; }

.sectors__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.sector-card {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232,160,32,.45);
}

.sector-card__img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.sector-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.sector-card:hover .sector-card__img { transform: scale(1.05); }

.sector-card__body {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
  position: relative;
}

.sector-card__num {
  font-family: var(--fnt-display);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--amber);
  text-transform: uppercase;
}

.sector-card__title {
  font-family: var(--fnt-display);
  font-size: 1.3125rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.sector-card__desc {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.68;
  flex: 1;
  margin-bottom: .5rem;
}

/* Reuse svc-card__link from styles.css */

/* ════════════════════════════════════════════════════════
   CLOSING CTA  (dark band)
════════════════════════════════════════════════════════ */
.about-cta {
  background: var(--ink);
  padding-block: 5rem;
}

.about-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.about-cta__heading {
  font-family: var(--fnt-display);
  font-size: clamp(1.75rem, 3vw + .5rem, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: .875rem;
}

.about-cta__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.62);
  line-height: 1.75;
  max-width: 520px;
}

.about-cta__actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */

/* 1024 */
@media (max-width: 1100px) {
  .values__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .story__inner { grid-template-columns: 1fr; gap: 3rem; }
  .story__visual { order: -1; }
  .story__img--main { height: 380px; }
  .story__img-card { left: 1rem; bottom: -1.5rem; width: 160px; }
  .story__stat-badge { right: 1rem; top: 1.5rem; }

  .sectors__list { grid-template-columns: 1fr 1fr; }
  .sectors__list li:nth-child(3) { grid-column: span 2; }

  .about-cta__inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-cta__actions { flex-direction: row; flex-wrap: wrap; }
}

/* 768 */
@media (max-width: 768px) {
  .pg-hero { min-height: 340px; }
  .story { padding-block: 4rem; }
  .values { padding-block: 4rem; }
  .sectors { padding-block: 4rem; }
  .about-cta { padding-block: 3.5rem; }

  .values__grid { grid-template-columns: 1fr 1fr; }
  .sectors__list { grid-template-columns: 1fr; }
  .sectors__list li:nth-child(3) { grid-column: auto; }

  .story__img-card { display: none; }
}

/* 480 */
@media (max-width: 480px) {
  .values__grid { grid-template-columns: 1fr; }
  .about-cta__actions { flex-direction: column; }
  .about-cta__actions .btn-primary,
  .about-cta__actions .btn-ghost { justify-content: center; width: 100%; }
}