/*
Theme Name:  National Gas & Electric
Theme URI:   https://ngande.com
Author:      National Gas & Electric
Description: Custom WordPress theme for ngande.com, the "Bright & Human" marketing site. Converted from Ken's static nge-website-v2 build. Rate search (rates.ngande.com) and the account portal (myaccount.ngande.com) stay on their own platforms; this theme only links to them.
Version:     1.0.16
Requires at least: 6.0
Requires PHP: 7.4
License:     GNU General Public License v2 or later
Text Domain: nge
*/

/* ============================================================
   NATIONAL GAS & ELECTRIC — SHARED DESIGN SYSTEM
   Brand blue + green (from the logo), PT Sans throughout.
   Light/dark mode is handled by the :root tokens below.
   ============================================================ */

/* ── TOKENS ── */
:root {
  --blue:       #18499E;
  --blue-dark:  #0F2F6E;
  --blue-mid:   #2B5CB8;
  --green:      #00A551;
  --green-dark: #007A3D;
  --sky:        #5B8AD6;
  --navy:       #0F2350;
  --navy-deep:  #081633;
  --gold:       #E9B949;
  --paper:      #ffffff;
  --ink:        #181d2c;
  --muted:      #5a6480;
  --mist:       #f4f6fb;
  --mist-2:     #eef1f9;
  --line:       #e2e7f2;
  --card:       #ffffff;
  --radius:     16px;
  --radius-sm:  10px;
  --radius-lg:  24px;
  --shadow-sm:  0 4px 16px -8px rgba(24,73,158,.18);
  --shadow-md:  0 12px 36px -16px rgba(24,73,158,.28);
  --shadow-lg:  0 24px 64px -24px rgba(24,73,158,.38);
  --maxw:       1160px;
  --font:       'PT Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:   #0d1120;
    --ink:     #eaf0ff;
    --muted:   #9aa6c6;
    --mist:    #141a2b;
    --mist-2:  #111827;
    --line:    #26304a;
    --card:    #141a2b;
    --sky:     #6ea0ff;
    --shadow-sm:  0 4px 16px -8px rgba(0,0,0,.4);
    --shadow-md:  0 12px 36px -16px rgba(0,0,0,.5);
    --shadow-lg:  0 24px 64px -24px rgba(0,0,0,.6);
  }
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.015em;
}
img { display: block; max-width: 100%; }

/* ── LAYOUT ── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--mist); }

/* ── GRADIENT TEXT ── */
.hl {
  background: linear-gradient(105deg, var(--blue) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  padding: 13px 22px;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, opacity .15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid) 50%, var(--green));
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(24,73,158,.45);
}
.btn-primary:hover { box-shadow: 0 14px 32px -10px rgba(24,73,158,.55); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover { border-color: rgba(255,255,255,.85); background: rgba(255,255,255,.08); }
.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline-blue:hover { background: var(--blue); color: #fff; }

/* ── NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px -8px rgba(24,73,158,.12);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  height: 76px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 28px;
  list-style: none;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  font-weight: 700;
  font-size: .88rem;
  color: var(--ink);
  opacity: .78;
  padding: 8px 12px;
  display: block;
  border-radius: var(--radius-sm);
  transition: opacity .13s, color .13s, background .13s;
}
.nav-menu > li > a:hover { opacity: 1; color: var(--blue); background: var(--mist); }
/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 300;
}
.nav-menu > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: .87rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: background .13s, color .13s;
}
.dropdown a:hover { background: var(--mist); color: var(--blue); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-login {
  font-weight: 700;
  font-size: .9rem;
  color: var(--blue);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background .13s;
}
.nav-login:hover { background: var(--mist); }

/* ── WHY SECTION ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s, box-shadow .22s;
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.why-img-wrap { position: relative; overflow: hidden; }
.why-img-wrap img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  transition: transform .6s ease;
}
.why-card:hover .why-img-wrap img { transform: scale(1.04); }
.why-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,.93);
  color: var(--blue);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.why-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.why-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--blue) 10%, transparent);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.why-card h3 { font-size: 1.18rem; }
.why-card p { color: var(--muted); font-size: 1rem; margin: 0; }
.why-link { margin-top: auto; color: var(--blue); font-weight: 700; font-size: 1rem; padding-top: 8px; }

/* ── FEATURE BAND ── */
.feat-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.feat-inner.reverse { direction: rtl; }
.feat-inner.reverse > * { direction: ltr; }
.feat-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feat-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.feat-eyebrow {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.feat-text h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 12px; }
.feat-text p { color: var(--muted); font-size: 1rem; line-height: 1.7; margin-bottom: 20px; max-width: 44ch; }
.feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}
.feat-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
}
.feat-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.feat-check svg { width: 12px; height: 12px; stroke: white; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── STAT BAND ── */
.stat-band {
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-mid) 45%, var(--green) 120%);
  color: #fff;
}
.stat-band-inner {
  display: flex;
  gap: 16px 52px;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  padding: 56px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.stat-item b {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}
.stat-item span { font-size: .88rem; color: rgba(255,255,255,.78); font-weight: 600; }

/* ── STEPS ── */
.steps-section { background: var(--navy); color: #fff; }
.steps-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 24px;
}
.steps-header { text-align: center; margin-bottom: 52px; }
.steps-header h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: #fff; margin-bottom: 10px; }
.steps-header p { color: rgba(255,255,255,.6); max-width: 50ch; margin: 0 auto; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 11%;
  right: 11%;
  height: 1px;
  background: rgba(255,255,255,.12);
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--green));
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 1rem;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 6px rgba(91,138,214,.2);
}
.step h3 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.55); font-size: .88rem; line-height: 1.65; margin: 0; }

/* ── CTA SECTION ── */
.cta-section { padding: 72px 24px; }
.cta-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  max-width: var(--maxw);
  margin: 0 auto;
}
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.cta-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(24,73,158,.88), rgba(24,73,158,.6) 55%, rgba(0,165,81,.6));
}
.cta-content {
  position: relative;
  z-index: 2;
  padding: 60px 24px;
  max-width: 640px;
}
.cta-content h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 12px; }
.cta-content p { color: rgba(255,255,255,.82); margin-bottom: 28px; max-width: 44ch; margin-left: auto; margin-right: auto; }
.cta-zip {
  display: flex;
  gap: 10px;
  background: rgba(255,255,255,.14);
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: var(--radius);
  padding: 8px 8px 8px 16px;
  max-width: 420px;
  margin: 0 auto 16px;
  backdrop-filter: blur(8px);
}
.cta-zip input {
  flex: 1;
  border: none;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  outline: none;
  min-width: 0;
}
.cta-zip input::placeholder { color: rgba(255,255,255,.6); }
.cta-phone { font-size: .92rem; color: rgba(255,255,255,.78); }
.cta-phone b { color: #fff; }

/* ── FOOTER ── */
.site-footer {
  background: var(--mist);
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 24px 40px;
  border-bottom: 1px solid var(--line);
}
.footer-brand img { height: 38px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 28ch; margin-bottom: 10px; }
.footer-phone { font-weight: 700; font-size: 1.2rem; color: var(--blue); }
.footer-col h4 { font-size: .875rem; font-weight: 700; color: var(--ink); margin-bottom: 14px; letter-spacing: .02em; }
.footer-col a { display: block; color: var(--muted); font-size: 1rem; padding: 4px 0; transition: color .13s; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .875rem;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); margin-left: 16px; }
.footer-bottom a:hover { color: var(--blue); }
.footer-legal {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 28px;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.65;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.footer-legal p { margin-bottom: 6px; }

/* ── SCROLL REVEAL ── */
.rvd { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.rvd.in { opacity: 1; transform: none; }

/* ── FOCUS ── */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .feat-inner { grid-template-columns: 1fr; }
  .feat-inner.reverse { direction: ltr; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .stat-band-inner { gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-bottom a { margin-left: 0; margin-right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .rvd { opacity: 1; transform: none; transition: none; }
  .why-card:hover, .why-card:hover .why-img-wrap img { transform: none; }
  .btn:hover { transform: none; }
}

/* ── PAGE HERO (inner pages) ── */
.page-hero{background:linear-gradient(135deg,var(--blue) 0%,var(--blue-mid) 50%,var(--navy) 100%);color:#fff;position:relative;overflow:hidden;}
.page-hero::after{content:'';position:absolute;right:0;top:0;bottom:0;width:42%;background:rgba(0,0,0,.18);pointer-events:none;}
.page-hero-inner{max-width:var(--maxw);margin:0 auto;display:grid;grid-template-columns:1fr 400px;gap:0;align-items:stretch;min-height:280px;position:relative;z-index:1;}
.page-hero-text{padding:56px 40px 56px 24px;display:flex;flex-direction:column;justify-content:center;}
.page-hero-photo{position:relative;overflow:hidden;}
.page-hero-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.82;}
.page-hero-photo::before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(to right,var(--blue) 0%,transparent 40%);}
.page-breadcrumb{font-size:.875rem;color:rgba(255,255,255,.5);margin-bottom:14px;display:flex;align-items:center;gap:6px;}
.page-breadcrumb a{color:rgba(255,255,255,.5);}
.page-breadcrumb a:hover{color:rgba(255,255,255,.8);}
.page-hero h1{font-size:clamp(1.9rem,4vw,3rem);margin-bottom:12px;letter-spacing:-.025em;line-height:1.08;}
.page-hero p{color:rgba(255,255,255,.72);font-size:1.05rem;max-width:48ch;line-height:1.65;margin-bottom:22px;}
@media(max-width:820px){
  .page-hero-inner{grid-template-columns:1fr;}
  .page-hero-photo{display:none;}
  .page-hero-text{padding:48px 24px;}
}

/* ── FAQ ACCORDION (Customer Care, Cancellation) ── */
.faq-wrap{max-width:860px;margin:0 auto;}
.faq-item{border:1.5px solid var(--line);border-radius:var(--radius);margin-bottom:14px;overflow:hidden;box-shadow:var(--shadow-sm);transition:border-color .18s;}
.faq-item.open{border-color:var(--blue);}
.faq-q{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;cursor:pointer;gap:14px;user-select:none;background:var(--mist);}
.faq-item.open .faq-q{background:color-mix(in srgb,var(--blue) 6%,white);}
.faq-q-text{font-family:var(--font);font-weight:700;font-size:1rem;color:var(--navy);flex:1;letter-spacing:-.01em;line-height:1.35;}
.faq-item.open .faq-q-text{color:var(--blue);}
.faq-icon{width:28px;height:28px;border-radius:50%;background:var(--card);border:1.5px solid var(--line);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .18s,transform .3s,border-color .18s;font-size:20px;font-weight:300;color:var(--muted);line-height:1;}
.faq-item.open .faq-icon{background:var(--blue);color:white;border-color:var(--blue);transform:rotate(45deg);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .38s ease;}
.faq-item.open .faq-a{max-height:800px;}
.faq-a-inner{padding:16px 22px 22px;font-size:.95rem;color:var(--muted);line-height:1.8;border-top:1px solid var(--line);}
.faq-a-inner a{color:var(--blue);font-weight:600;}

/* ── CONTACT CARDS (Customer Care, Cancellation) ── */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:var(--maxw);margin:0 auto;}
.contact-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:28px;}
.contact-card-icon{width:50px;height:50px;border-radius:14px;background:color-mix(in srgb,var(--blue) 10%,transparent);color:var(--blue);display:grid;place-items:center;margin-bottom:16px;}
.contact-card h3{font-size:1.05rem;margin-bottom:8px;}
.contact-card p{color:var(--muted);font-size:.92rem;margin-bottom:4px;}
@media(max-width:620px){.contact-grid{grid-template-columns:1fr;}}

/* ============================================================
   THEME ADDITIONS — not in the static build (see README "Changes")
   ============================================================ */

/* ── NAV: current section + keyboard access to dropdowns ── */
.nav-menu > li > a.active { opacity: 1; color: var(--blue); }
.nav-menu > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-toggle, .nav-extra { display: none; }

/* ── WP ADMIN BAR (when an editor is logged in) ── */
.admin-bar .site-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-nav { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-nav { top: 0; } }

/* ── MOBILE MENU (860px and below) ── */
@media (max-width: 860px) {
  .nav-inner { height: 64px; }
  .nav-primary, .nav-login { display: none; }
  .nav-right { gap: 10px; }
  .nav-right .btn { padding: 10px 16px; font-size: .92rem; }
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--card);
    color: var(--ink);
    cursor: pointer;
  }
  .nav-toggle-close { display: none; }
  .nav-open .nav-toggle-open { display: none; }
  .nav-open .nav-toggle-close { display: inline; }
  .nav-open .nav-primary {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 4px 24px 16px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav-open .nav-menu { flex-direction: column; align-items: stretch; gap: 0; margin-left: 0; }
  .nav-open .nav-menu > li { border-bottom: 1px solid var(--line); }
  .nav-open .nav-menu > li > a { padding: 14px 2px; font-size: 1rem; opacity: 1; border-radius: 0; background: none; }
  .nav-open .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    min-width: 0;
    padding: 0 0 10px 14px;
    border: 0; box-shadow: none; background: none;
  }
  .nav-open .dropdown a { padding: 8px 2px; min-block-size: 44px; display: flex; align-items: center; }
  .nav-open .nav-extra { display: block; border-bottom: 0; }
  .nav-open .nav-extra a { color: var(--blue); }
}

/* ── ZIP FORMS ON PHONES ──
   An input's built-in width (~180px) set the forms' minimum width, so at 375px the
   homepage ZIP box ran past the margin and the CTA box clipped its button. */
.hero-zip input, .cta-zip input { width: 0; }

/* ── FAQ IN DARK MODE (static build had navy question text on a dark background) ── */
@media (prefers-color-scheme: dark) {
  .faq-q-text { color: var(--ink); }
  .faq-item.open .faq-q { background: color-mix(in srgb, var(--blue) 24%, var(--card)); }
  .faq-item.open .faq-q-text { color: var(--sky); }
}

/* ── GENERIC CONTENT PAGES (page.php: Privacy Policy, Terms, ...) ── */
.page-hero--plain .page-hero-inner { grid-template-columns: 1fr; min-height: 0; }
.page-hero--plain::after { display: none; }
.page-content { max-width: 820px; }
.page-content > * + * { margin-top: 1em; }
.page-content h2 { font-size: 1.6rem; margin-top: 1.8em; }
.page-content h3 { font-size: 1.2rem; margin-top: 1.4em; }
.page-content ul, .page-content ol { padding-left: 1.4em; }
.page-content p, .page-content li { line-height: 1.75; }
.page-content a { color: var(--blue); text-decoration: underline; }

/* == ABOUT: WHAT DRIVES US (white editorial, no cards) == */
.drives-bold { background: #fff; padding: 120px 0; }
.drives-bold .drives-head { text-align: center; margin: 0 auto 64px; max-width: 760px; }
.drives-bold .drives-head h2 { color: var(--navy); font-size: clamp(2.4rem, 4.2vw, 3.5rem); line-height: 1.1; letter-spacing: -.02em; margin: 0; }
.drives-bold .drives-head h2::after { content: ""; display: block; width: 56px; height: 3px; margin: 22px auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.drives-bold .why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: drv; border-top: 1px solid #e4e9f1; }
.drives-bold .why-card { counter-increment: drv; position: relative; background: none; border: 0; border-radius: 0; box-shadow: none; padding: 56px 44px 16px; }
.drives-bold .why-card + .why-card { border-left: 1px solid #e4e9f1; }
.drives-bold .why-card::before { content: "0" counter(drv); display: block; font-size: 4.25rem; font-weight: 300; line-height: 1; letter-spacing: -.04em; color: #cfd9e8; margin-bottom: 32px; transition: color .35s ease; }
.drives-bold .why-card::after { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--green)); transition: width .45s ease; }
.drives-bold .why-card:hover { transform: none; box-shadow: none; background: none; }
.drives-bold .why-card:hover::after { width: 100%; }
.drives-bold .why-card:hover::before { color: var(--blue); }
.drives-bold .why-body { display: block; padding: 0; }
.drives-bold .why-icon { position: absolute; top: 64px; right: 44px; width: 46px !important; height: 46px !important; border-radius: 50% !important; background: transparent !important; border: 1px solid #d5deeb; color: var(--blue); box-shadow: none !important; display: flex; align-items: center; justify-content: center; margin: 0 !important; }
.drives-bold .why-icon svg { width: 20px; height: 20px; }
.drives-bold .why-card h3 { color: var(--navy); font-size: 1.5rem; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 16px; }
.drives-bold .why-card p { color: #5a6475; font-size: 1rem; line-height: 1.8; margin: 0; }
@media (max-width: 900px) { .drives-bold { padding: 80px 0; } .drives-bold .drives-head { margin-bottom: 40px; } .drives-bold .why-grid { grid-template-columns: 1fr; border-top: 0; } .drives-bold .why-card { padding: 40px 0 8px; border-top: 1px solid #e4e9f1; } .drives-bold .why-card + .why-card { border-left: 0; } .drives-bold .why-card::before { font-size: 3.25rem; margin-bottom: 20px; } .drives-bold .why-icon { top: 44px; right: 0; } }
@media (prefers-reduced-motion: reduce) { .drives-bold .why-card::before, .drives-bold .why-card::after { transition: none; } }

/* == NAV: keep every menu label on one line == */
.nav-inner { max-width: 1280px; }
.nav-menu { flex-wrap: nowrap; gap: 0; margin-left: 20px; }
.nav-menu > li > a, .nav-login { white-space: nowrap; }
.nav-menu > li > a { padding: 8px 11px; }
.nav-right { gap: 10px; flex-shrink: 0; }
@media (min-width: 861px) and (max-width: 1180px) { .nav-logo img { height: 34px; } .nav-menu { margin-left: 12px; } .nav-menu > li > a { font-size: .82rem; padding: 8px 8px; } .nav-login { font-size: .84rem; padding: 8px 6px; } .nav-right .btn { padding: 10px 14px; font-size: .88rem; } }
@media (min-width: 861px) and (max-width: 1000px) { .nav-logo img { height: 30px; } .nav-menu { margin-left: 8px; } .nav-menu > li > a { font-size: .78rem; padding: 8px 5px; } .nav-right { gap: 6px; } .nav-right .btn { padding: 9px 12px; font-size: .84rem; } }


/* ── FOOTER: dark blue (staging) ── */
footer.site-footer { background: var(--navy); color: rgba(255,255,255,.8); }
footer.site-footer h4 { color: #fff; }
footer.site-footer a { color: rgba(255,255,255,.8); }
footer.site-footer a:hover { color: #fff; }
footer.site-footer .footer-contact { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
footer.site-footer .footer-phone { color: #fff; font-weight: 700; }
footer.site-footer .footer-email { font-size: .9375rem; }
footer.site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.7); align-items: flex-start; }
footer.site-footer .footer-copy { display: flex; flex-direction: column; gap: 4px; font-size: .875rem; }
footer.site-footer .footer-licenses summary { cursor: pointer; list-style: none; }
footer.site-footer .footer-licenses summary::-webkit-details-marker { display: none; }
footer.site-footer .footer-licenses summary::after { content: " +"; }
footer.site-footer .footer-licenses[open] summary::after { content: " \2212"; }
footer.site-footer .footer-legal { margin-top: 10px; max-width: 680px; padding: 0; border: 0; background: none; font-size: .875rem; line-height: 1.5; color: rgba(255,255,255,.7); }
footer.site-footer .footer-legal strong { color: #fff; }
footer.site-footer .footer-links a + a::before { content: "|"; margin: 0 8px; color: rgba(255,255,255,.4); }
footer.site-footer .footer-top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 900px) { footer.site-footer .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; } footer.site-footer .footer-brand { grid-column: 1 / -1; } }
/* Footer mid row: legal links */
footer.site-footer .footer-mid { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; max-width: var(--maxw); margin: 0 auto; padding: 18px 24px; border-top: 1px solid rgba(255,255,255,.15); font-size: .875rem; }
footer.site-footer .footer-mid a { margin: 0; padding: 0; }
footer.site-footer .footer-mid a + a::before { content: "|"; display: inline-block; margin: 0 12px; color: rgba(255,255,255,.4); }
footer.site-footer .footer-bottom { justify-content: center; text-align: center; }
footer.site-footer .footer-copy { align-items: center; }
footer.site-footer .footer-legal { text-align: left; margin-left: auto; margin-right: auto; }
footer.site-footer .footer-legal a { margin: 0; }

/* == MOBILE FIXES (16 Nov 2026 audit: Projects/Website/NGE/review/mobile-audit-2026-11-16) == */
/* ZIP search boxes: on narrow phones put the button under the field so the placeholder isn't cut off. */
@media (max-width: 480px) {
  .cta-zip { flex-wrap: wrap; padding: 8px; }
  .cta-zip input { flex: 1 1 100%; min-height: 44px; padding: 0 8px; }
  .cta-zip .btn { flex: 1 1 100%; justify-content: center; }
}
/* Touch screens: links and buttons at least 44x44 (WCAG 2.5.5). Links inside sentences are exempt. */
@media (pointer: coarse) {
  .footer-col a { display: flex; align-items: center; min-block-size: 44px; padding-block: 0; }
  footer.site-footer .footer-contact a,
  footer.site-footer .footer-mid a,
  .page-breadcrumb a,
  .why-link,
  .contact-card a,
  table a { display: inline-flex; align-items: center; min-block-size: 44px; }
  .nav-logo { display: inline-flex; align-items: center; min-block-size: 44px; }
  .page-breadcrumb a { min-inline-size: 44px; justify-content: center; }
  footer.site-footer .footer-licenses summary { display: flex; align-items: center; min-block-size: 44px; }
}

/* == C&I QUOTE FORM (19 Nov 2026) == */
.ci-quote { background: var(--mist); scroll-margin-top: 90px; }
.ci-quote-inner { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.ci-quote-head { text-align: center; max-width: 64ch; margin: 0 auto 32px; }
.ci-quote-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 12px; text-wrap: balance; }
.ci-quote-head p { color: var(--muted); font-size: 1.0625rem; line-height: 1.7; margin: 0; }
.ci-quote-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(20px, 4vw, 40px); }
.ci-quote .gform_wrapper .gfield_label, .ci-quote .gform_wrapper legend.gfield_label { font-size: 1rem; font-weight: 700; color: var(--ink); }
.ci-quote .gform_wrapper input[type=text], .ci-quote .gform_wrapper input[type=email], .ci-quote .gform_wrapper input[type=tel],
.ci-quote .gform_wrapper select, .ci-quote .gform_wrapper textarea { font: inherit; font-size: max(1rem, 1em); min-height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; width: 100%; background-color: var(--paper); color: var(--ink); }
.ci-quote .gform_wrapper textarea { min-height: 120px; }
.ci-quote .gform_wrapper .gchoice { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.ci-quote .gform_wrapper .gfield_radio { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.ci-quote .gform_wrapper input[type=radio] { width: 20px; height: 20px; accent-color: var(--blue); margin: 0; }
.ci-quote .gform_wrapper .gform_footer { justify-content: center; }
.ci-quote .gform_wrapper .gform_button { font: inherit; font-weight: 700; font-size: 1rem; letter-spacing: .04em; min-height: 52px; padding: 12px 36px; border: 0; border-radius: var(--radius-sm); background: linear-gradient(120deg, var(--blue), var(--green-dark)); color: #fff; cursor: pointer; }
.ci-quote .gform_wrapper .gform_button:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.ci-quote-fallback { text-align: center; font-size: 1.125rem; margin: 0; }
.nge-ci-success { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 56px; border-radius: 6px; background: #6fdccd; color: #134e48; text-transform: uppercase; letter-spacing: .02em; font-size: 1rem; line-height: 1.5; text-align: center; }
.nge-ci-success-icon { display: none; }
.nge-ci-success::before { content: "\2713"; display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #2f7f76; color: #fff; font-size: .875rem; font-weight: 700; text-transform: none; }
.nge-ci-success-close { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 1px solid rgba(19,78,72,.35); border-radius: 4px; color: #134e48; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.nge-ci-success-close:focus-visible { outline: 3px solid #134e48; outline-offset: 2px; }
@media (max-width: 560px) { .nge-ci-success { padding: 20px 48px 20px 16px; font-size: .9375rem; } }

/* C&I quote form: tighter spacing to cut scrolling (19 Nov feedback; ~44% shorter on desktop, ~38% on phones) */
.ci-quote.section { padding-block: 56px; }
.ci-quote-head { margin-bottom: 20px; }
.ci-quote-head h2 { margin-bottom: 8px; }
.ci-quote-form { padding: clamp(16px, 3vw, 28px); }
.ci-quote .gform_wrapper .gform_fields { row-gap: 14px !important; }
.ci-quote .gform_wrapper .gfield_label, .ci-quote .gform_wrapper legend.gfield_label { margin-bottom: 4px !important; }
.ci-quote .gform_wrapper .gfield_radio { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 0 22px !important; }
.ci-quote .gform_wrapper .gchoice { min-height: 40px; margin: 0 !important; }
.ci-quote .gform_wrapper input[type=text], .ci-quote .gform_wrapper input[type=email], .ci-quote .gform_wrapper input[type=tel], .ci-quote .gform_wrapper select { min-height: 44px; padding: 8px 12px; }
.ci-quote .gform_wrapper textarea { min-height: 88px !important; height: 88px !important; }
.ci-quote .gform_wrapper .ginput_counter, .ci-quote .gform_wrapper .gform_required_legend { display: none !important; }
.ci-quote .gform_wrapper .gform_footer { margin-top: 12px !important; padding-top: 0 !important; }

/* C&I quote form: dropdown arrow on State and Average Monthly Bill (19 Nov, 1.0.8). The earlier
   background shorthand wiped Gravity Forms' arrow, so the selects looked like text boxes.
   Native <select> kept on purpose: appearance: base-select is not Baseline Widely available and
   would replace the phone's own picker. */
.ci-quote .gform_wrapper select { -webkit-appearance: none; appearance: none; background-color: var(--paper); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318499E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 12px center !important; background-size: 18px 18px !important; padding-right: 42px !important; cursor: pointer; }
@media (forced-colors: active) { .ci-quote .gform_wrapper select { -webkit-appearance: auto; appearance: auto; background-image: none !important; padding-right: 12px !important; } }

/* ── CLICKABLE PHONE NUMBERS AND EMAIL ADDRESSES (1.0.12) ──
   Plain-text numbers/addresses were turned into tel:/mailto: links with class "nge-contact".
   Keep the surrounding text colour (white on the blue CTA panels, blue inside page content),
   and underline them so they read as links. Only the underline is set; colour comes from the page. */
a.nge-contact { text-decoration: underline; text-underline-offset: .15em; }
a.nge-contact:hover { text-decoration-thickness: 2px; }
/* Dark mode: links inside FAQ answers were brand blue (~2:1 on the dark card); use --sky. */
@media (prefers-color-scheme: dark) {
  .faq-a a, .faq-a-inner a { color: var(--sky) !important; }
}

/* ── COMPLAINT FORM (1.0.14) ──
   The Complaints page wraps the Gravity Forms "Customer Complaint" form in .nge-complaint-form.
   Gravity Forms' Orbital defaults (14px text, 38px controls, dark labels in dark mode) are replaced
   with the site tokens: text at least 16px, 48px controls, borders at 3:1, dark mode, focus ring. */
.nge-complaint-form { max-width: 720px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 3vw, 28px); }
.nge-complaint-form .gform_wrapper .gform_fields { row-gap: 20px !important; }
.nge-complaint-form .gform_wrapper .gfield_label { font-size: 1rem !important; font-weight: 700 !important; color: var(--ink) !important; margin-bottom: 6px !important; }
.nge-complaint-form .gform_wrapper :is(.gfield_description, .gform_required_legend, .ginput_counter) { font-size: 1rem !important; line-height: 1.5 !important; color: var(--muted) !important; }
.nge-complaint-form .gform_wrapper .nge-numeric .ginput_counter { display: none !important; }
.nge-complaint-form .gform_wrapper :is(input[type=text], input[type=email], input[type=tel], textarea) {
  font: inherit; font-size: max(1rem, 1em) !important; line-height: 1.5 !important; min-height: 48px !important;
  padding: 10px 12px !important; border: 1px solid var(--muted) !important; border-radius: var(--radius-sm) !important;
  background-color: var(--paper) !important; color: var(--ink) !important; box-shadow: none !important;
}
.nge-complaint-form .gform_wrapper :is(input[type=text], input[type=email], input[type=tel], textarea):focus-visible { outline: 3px solid var(--sky) !important; outline-offset: 2px !important; }
.nge-complaint-form .gform_wrapper .gform_footer :is(input[type=submit], button[type=submit]) {
  font: inherit; font-size: 1rem !important; font-weight: 700 !important; line-height: 1.2 !important; min-height: 48px !important;
  padding: 12px 32px !important; border: 0 !important; border-radius: var(--radius-sm) !important;
  background: linear-gradient(120deg, var(--blue), var(--green-dark)) !important; color: #fff !important; cursor: pointer;
}
.nge-complaint-form .gform_wrapper .gform_footer :is(input[type=submit], button[type=submit]):hover { filter: brightness(1.1); }
.nge-complaint-form .gform_wrapper .gform_footer :is(input[type=submit], button[type=submit]):focus-visible { outline: 3px solid var(--sky) !important; outline-offset: 3px !important; }
.nge-complaint-form .gform_confirmation_message { font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }
.nge-complaint-form .gform_confirmation_message a { color: var(--blue); }
@media (prefers-color-scheme: dark) {
  .nge-complaint-form .gform_wrapper .gfield_required { color: #ff8a8a !important; }
  .nge-complaint-form .gform_wrapper :is(.gfield_validation_message, .validation_message) { color: #ff8a8a !important; background: transparent !important; border-color: #ff8a8a !important; }
  .nge-complaint-form .gform_confirmation_message a { color: var(--sky); }
}
@media (forced-colors: active) {
  .nge-complaint-form { border: 1px solid CanvasText; }
  .nge-complaint-form .gform_wrapper .gform_footer :is(input[type=submit], button[type=submit]) { border: 1px solid ButtonText !important; }
}
