/* ==========================================================================
   Green Source Electrical — about page
   Layered on top of style.css.
   ========================================================================== */

/* —— hero —— */
.gs-about-hero { padding: 24px 0 26px; }
.gs-about-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-soft); color: var(--green-deep);
  padding: 5px 11px 5px 9px; border-radius: 100px;
  font-size: 11px; font-weight: 600; margin-bottom: 14px;
}
.gs-about-hero .eyebrow .pill-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green); display: grid; place-items: center;
}
.gs-about-hero h1 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 32px; line-height: 1.04;
  letter-spacing: -0.03em; font-weight: 800;
}
.gs-about-hero .tag {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 14.5px; line-height: 1.55;
  max-width: 60ch;
}

/* —— stats strip —— */
.gs-about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.gs-about-stats .cell {
  background: #fff;
  padding: 18px 12px;
  text-align: center;
}
.gs-about-stats .cell strong {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: 26px; font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink); line-height: 1;
}
.gs-about-stats .cell small {
  display: block;
  margin-top: 8px;
  font-size: 10.5px;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* —— story —— */
.gs-story { padding: 32px 0 28px; }
.gs-story h2 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 24px; line-height: 1.12;
  letter-spacing: -0.025em; font-weight: 700;
  margin-bottom: 14px;
  text-wrap: balance;
}
.gs-story .story-photo {
  margin: 16px 0;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px -10px rgba(20, 32, 26, 0.25);
}
.gs-story .story-photo.placeholder {
  background-image:
    repeating-linear-gradient(135deg, rgba(45,90,61,0.08) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, var(--green-soft), #d8e2dc);
}
.gs-story p {
  font-size: 14.5px; line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 12px;
  text-wrap: pretty;
}
.gs-story p strong { color: var(--ink); font-weight: 600; }
.gs-story .signoff {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex; align-items: center; gap: 10px;
}
.gs-story .signoff .av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  display: grid; place-items: center;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800; font-size: 13px;
  border: 1px solid var(--line);
}
.gs-story .signoff strong { display: block; font-family: 'Inter Tight', sans-serif; font-size: 13.5px; }
.gs-story .signoff small { font-size: 11px; color: var(--ink-3); }

/* —— trust points (dark) —— */
.gs-trust {
  background: var(--charcoal);
  color: #f3eee2;
  padding: 32px 0;
  position: relative;
  overflow: hidden;
}
.gs-trust::before {
  content: '';
  position: absolute;
  top: -50px; left: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,90,61,0.45), transparent 70%);
}
.gs-trust .gs-section-eyebrow { color: #93c8a4; }
.gs-trust .gs-section-eyebrow::before { background: #93c8a4; }
.gs-trust h2 { color: #fff; font-size: 24px; line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; }
.gs-trust .lead { margin-top: 10px; color: rgba(243,238,226,0.7); font-size: 13.5px; line-height: 1.55; max-width: 60ch; }

.gs-trust-grid {
  margin-top: 22px;
  display: flex; flex-direction: column;
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.gs-trust-row {
  background: var(--charcoal);
  padding: 16px 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.gs-trust-row .icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: rgba(147,200,164,0.14);
  color: #93c8a4;
  display: grid; place-items: center;
}
.gs-trust-row .body { flex: 1; }
.gs-trust-row h3 {
  color: #fff;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.gs-trust-row p {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(243,238,226,0.65);
}
.gs-trust-row .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: #93c8a4;
  margin-bottom: 4px;
  display: block;
}

/* —— team —— */
.gs-team { padding: 32px 0; background: var(--bg); }
.gs-team h2 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 24px; line-height: 1.12;
  letter-spacing: -0.025em; font-weight: 700;
}
.gs-team .lead { margin-top: 10px; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; max-width: 60ch; }

.gs-team-grid {
  margin-top: 22px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.gs-team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color .15s ease, transform .15s ease;
}
.gs-team-card:hover { border-color: var(--green); transform: translateY(-1px); }
.gs-team-card .photo {
  flex-shrink: 0;
  width: 80px; height: 96px;
  border-radius: 11px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--green-soft);
}
.gs-team-card .photo.placeholder {
  background: linear-gradient(160deg, var(--c1, #b8b1a0), var(--c2, #6e6450));
}
.gs-team-card .photo.placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 1.5px, transparent 1.5px 10px),
    radial-gradient(80% 60% at 50% 30%, rgba(255,255,255,0.18), transparent 60%);
}
.gs-team-card .body { flex: 1; min-width: 0; }
.gs-team-card .body h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.gs-team-card .body .role {
  margin-top: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-deep);
  font-weight: 600;
}
.gs-team-card .body .bio {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.gs-team-card .creds {
  margin-top: 10px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.gs-team-card .creds span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--bg);
  color: var(--ink-2);
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

/* —— service area —— */
.gs-area-section { padding: 32px 0; border-top: 1px solid var(--line); }
.gs-area-section h2 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 24px; line-height: 1.12;
  letter-spacing: -0.025em; font-weight: 700;
}
.gs-area-section .lead { margin-top: 10px; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; max-width: 60ch; }

.gs-area-map {
  margin-top: 20px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 320px;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.gs-area-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.gs-area-map .pin {
  position: absolute;
  display: flex; flex-direction: column; align-items: center;
  transform: translate(-50%, -100%);
}
.gs-area-map .pin .dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #c8e6d1;
  border: 2px solid var(--green-deep);
  box-shadow: 0 0 0 4px rgba(200,230,209,0.18);
}
.gs-area-map .pin.home .dot {
  background: #fff;
  width: 13px; height: 13px;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.22);
}
.gs-area-map .pin .lbl {
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  background: rgba(20,32,26,0.6);
  padding: 2px 5px;
  border-radius: 3px;
  white-space: nowrap;
}
.gs-area-map .pin.home .lbl { color: #fff; background: rgba(20,32,26,0.85); font-weight: 600; }
.gs-area-map .legend {
  position: absolute;
  top: 12px; left: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(20,32,26,0.55);
  padding: 4px 7px;
  border-radius: 4px;
  display: flex; align-items: center; gap: 6px;
}
.gs-area-map .legend .l-dot { width: 6px; height: 6px; border-radius: 50%; background: #c8e6d1; }

.gs-area-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.gs-area-grid .pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 13px;
  transition: all .15s ease;
}
.gs-area-grid .pill:hover { border-color: var(--green); color: var(--green-deep); }
.gs-area-grid .pill .km { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; color: var(--ink-3); font-weight: 500; }

/* —— final CTA (dark gradient) —— */
.gs-final-cta {
  padding: 36px 0 40px;
  background: linear-gradient(140deg, var(--green-deep) 0%, var(--charcoal) 130%);
  color: #f3eee2;
  position: relative;
  overflow: hidden;
  border-top: 0;
}
.gs-final-cta::before {
  content: '';
  position: absolute;
  bottom: -80px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,230,209,0.18), transparent 70%);
  pointer-events: none;
}
.gs-final-cta .gs-section-eyebrow { color: #c8e6d1; }
.gs-final-cta .gs-section-eyebrow::before { background: #c8e6d1; }
.gs-final-cta h2 { color: #fff; font-size: 24px; line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; }
.gs-final-cta p { margin-top: 12px; font-size: 14px; line-height: 1.55; color: rgba(243,238,226,0.78); max-width: 60ch; }
.gs-final-cta .cta-row { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.gs-final-cta .cta-row .gs-btn-primary { background: #fff; color: var(--green-deep); }
.gs-final-cta .cta-row .gs-btn-primary:hover { background: #fdf9ee; }
.gs-final-cta .cta-row .gs-btn-secondary { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); color: #fff; }
.gs-final-cta .cta-row .gs-btn-secondary:hover { background: rgba(255,255,255,0.16); }
.gs-final-cta .meta {
  margin-top: 22px;
  display: flex; align-items: center; gap: 10px;
  font-size: 11.5px;
  color: rgba(243,238,226,0.7);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}
.gs-final-cta .meta .dot {
  width: 6px; height: 6px;
  background: #6cd28e;
  border-radius: 50%;
  box-shadow: 0 0 8px #6cd28e;
  animation: pulse 2.2s ease-in-out infinite;
}

/* ==========================================================================
   Wider viewports
   ========================================================================== */
@media (min-width: 760px) {
  .gs-about-hero { padding: 56px 0 36px; }
  .gs-about-hero h1 { font-size: 48px; line-height: 1.02; letter-spacing: -0.035em; }
  .gs-about-hero .tag { font-size: 17px; }

  .gs-about-stats .cell strong { font-size: 36px; }

  .gs-story { padding: 56px 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
  .gs-story .gs-section-eyebrow,
  .gs-story h2,
  .gs-story p,
  .gs-story .signoff { grid-column: 1; }
  .gs-story .story-photo { grid-column: 2; grid-row: 1 / span 4; aspect-ratio: 4 / 5; margin: 0; }
  .gs-story h2 { font-size: 32px; }

  .gs-trust { padding: 56px 0; }
  .gs-trust h2 { font-size: 32px; }
  .gs-trust-grid { grid-template-columns: 1fr 1fr; display: grid; gap: 1px; }
  .gs-trust-row { padding: 22px 22px; }

  .gs-team { padding: 56px 0; }
  .gs-team h2 { font-size: 32px; }
  .gs-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .gs-team-card { flex-direction: column; padding: 18px; }
  .gs-team-card .photo { width: 100%; height: 180px; aspect-ratio: auto; }

  .gs-area-section { padding: 56px 0; }
  .gs-area-section h2 { font-size: 32px; }
  .gs-area-map { height: 460px; }
  .gs-area-grid { grid-template-columns: repeat(4, 1fr); }

  .gs-final-cta { padding: 64px 0 72px; }
  .gs-final-cta h2 { font-size: 36px; }
  .gs-final-cta .cta-row { flex-direction: row; max-width: 540px; }
  .gs-final-cta .cta-row .gs-btn { flex: 1; }
}
