/* ══════════════════════════════════════════════════════════════
   LYONS ELECTRIC — Shared Stylesheet
   Adapted from Holsen Solar style.css with Lyons Electric branding.
   ══════════════════════════════════════════════════════════════ */

/* ── BRAND TOKENS ── */
:root {
  --electric-gold:    #FCBA01;
  --electric-gold-dk: #C99200;
  --electric-gold-lt: #FFD04D;
  --electric-gold-bg: #FFFBEA;

  --circuit-red:      #EF3B35;
  --circuit-red-dk:   #C42820;
  --circuit-red-lt:   #F5706B;
  --circuit-red-bg:   #FEF0EF;

  --ink:              #0D0D0D;
  --ink-mid:          #1A1A1A;
  --ink-light:        #2C2C2C;

  --text-dark:        #1C1C1C;
  --text-mid:         #4A4A4A;
  --text-light:       #8A8A8A;
  --border:           #E2E2E2;
  --surface:          #F6F6F6;
  --white:            #FFFFFF;

  --bwrh-link:        #1565A0;

  --font-brand: 'Barlow Condensed', sans-serif;
  --font-body:  'DM Sans', sans-serif;

  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  40px;
  --sp-2xl: 64px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: var(--font-brand); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
a { color: var(--circuit-red); text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── UTILITIES ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 var(--sp-xl); }
.section { padding: 96px 0; }
.section--alt   { background: var(--surface); }
.section--dark  { background: var(--ink); color: var(--white); }
.section--ink   { background: var(--ink-mid); color: var(--white); }
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── TYPOGRAPHY HELPERS ── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-brand);
  font-size: 11px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--circuit-red);
  margin-bottom: var(--sp-sm);
}
.eyebrow--light { color: var(--circuit-red-lt); }
.eyebrow--gold  { color: var(--electric-gold-lt); }
.section-title { font-size: clamp(26px, 3.5vw, 38px); margin-bottom: var(--sp-sm); }
.section-sub { font-size: 17px; color: var(--text-mid); max-width: 560px; line-height: 1.65; margin-bottom: var(--sp-xl); }
.section-sub--light { color: rgba(255,255,255,0.55); }

/* ── LAYOUT HELPERS ── */
.two-col   { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2xl); align-items: start; }
.two-col--center { align-items: center; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.four-col  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-sm);
  padding: 12px var(--sp-lg);
  border-radius: var(--radius-sm);
  font-family: var(--font-brand);
  font-size: 14px; font-weight: 600; letter-spacing: 0.3px;
  cursor: pointer; border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary { background: var(--circuit-red); color: var(--white); }
.btn--primary:hover { background: var(--circuit-red-dk); transform: translateY(-1px); }
.btn--gold { background: var(--electric-gold); color: var(--ink); }
.btn--gold:hover { background: var(--electric-gold-dk); color: var(--white); }
.btn--outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.45); }
.btn--outline-white:hover { background: rgba(255,255,255,0.08); }
.btn--outline-gold { background: transparent; color: var(--electric-gold); border: 1.5px solid var(--electric-gold); }
.btn--outline-gold:hover { background: var(--electric-gold-bg); }
.btn--lg { padding: 15px var(--sp-xl); font-size: 15px; }
.btn--sm { padding: var(--sp-sm) var(--sp-md); font-size: 12px; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
  height: 64px; display: flex; align-items: center;
  padding: 0 var(--sp-xl); justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 36px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a { font-family: var(--font-brand); font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.55); transition: color var(--transition); display: flex; align-items: center; gap: 4px; }
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--circuit-red-lt); }
.nav-right { display: flex; align-items: center; gap: var(--sp-md); }
.nav-phone { font-family: var(--font-brand); font-size: 14px; font-weight: 600; color: var(--circuit-red-lt); }
.nav-phone:hover { color: var(--circuit-red); }
.nav-sibling { font-family: var(--font-brand); font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.3); letter-spacing: 0.5px; border-left: 0.5px solid rgba(255,255,255,0.1); padding-left: var(--sp-md); }
.nav-sibling:hover { color: rgba(255,255,255,0.6); }

/* ── TRUST BAR ── */
.trust-bar { background: var(--ink-mid); border-bottom: 0.5px solid rgba(255,255,255,0.06); padding: 14px var(--sp-xl); display: flex; gap: 0; overflow-x: auto; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: var(--sp-sm); font-family: var(--font-brand); font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.45); padding: 0 var(--sp-lg); border-right: 0.5px solid rgba(255,255,255,0.08); white-space: nowrap; flex-shrink: 0; }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: none; }
.trust-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--circuit-red); flex-shrink: 0; }

/* ── PAGE HERO ── */
.page-hero { background: var(--ink); padding: 140px 0 80px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -80px; right: -60px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(239,59,53,0.10) 0%, transparent 65%); pointer-events: none; }
.page-hero::after  { content: ''; position: absolute; bottom: -60px; left: -40px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(252,186,1,0.06) 0%, transparent 65%); pointer-events: none; }
.page-hero-inner { display: grid; grid-template-columns: 1fr 380px; gap: var(--sp-2xl); align-items: center; position: relative; z-index: 1; }
.page-hero-badge { display: inline-flex; align-items: center; gap: var(--sp-sm); background: rgba(239,59,53,0.15); border: 0.5px solid rgba(239,59,53,0.35); color: var(--circuit-red-lt); font-family: var(--font-brand); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: var(--sp-md); }
.page-hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--circuit-red); flex-shrink: 0; }
.page-hero h1 { font-size: clamp(34px, 4.5vw, 54px); color: var(--white); margin-bottom: var(--sp-md); line-height: 1.1; }
.page-hero h1 em { color: var(--circuit-red-lt); font-style: normal; }
.page-hero-sub { font-size: 17px; color: rgba(255,255,255,0.85); line-height: 1.7; max-width: 520px; margin-bottom: var(--sp-xl); }
.hero-ctas { display: flex; gap: var(--sp-sm); flex-wrap: wrap; }

/* ── FEATURE CARDS ── */
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: var(--transition); position: relative; overflow: hidden; }
.feature-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--circuit-red); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.feature-card:hover { border-color: rgba(239,59,53,0.3); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon { width: 44px; height: 44px; background: var(--circuit-red-bg); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-md); }
.feature-icon svg { width: 22px; height: 22px; stroke: var(--circuit-red); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-icon--red { background: var(--circuit-red-bg); }
.feature-icon--red svg { stroke: var(--circuit-red); }
.feature-card h3 { font-family: var(--font-brand); font-size: 16px; font-weight: 600; color: var(--text-dark); margin-bottom: var(--sp-sm); }
.feature-card p { font-size: 14px; color: var(--text-mid); line-height: 1.65; }

/* ── PROCESS STEPS ── */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-xl); }
.process-step { position: relative; }
.process-step::after { content: '→'; position: absolute; top: 28px; right: -28px; color: var(--border); font-size: 20px; }
.process-step:nth-child(3n)::after, .process-step:last-child::after { display: none; }
.step-num { font-family: var(--font-brand); font-size: 40px; font-weight: 700; color: var(--electric-gold-bg); line-height: 1; margin-bottom: var(--sp-sm); }
.process-step h4 { font-family: var(--font-brand); font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: var(--sp-sm); }
.process-step p { font-size: 14px; color: var(--text-mid); line-height: 1.65; }

/* ── STATS BAND ── */
.stats-band { background: var(--ink); padding: var(--sp-2xl) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,0.06); gap: 1px; }
.stat-cell { background: var(--ink); padding: var(--sp-xl) var(--sp-lg); text-align: center; }
.stat-num { font-family: var(--font-brand); font-size: 46px; font-weight: 700; color: var(--circuit-red-lt); letter-spacing: -2px; line-height: 1; }
.stat-label { font-family: var(--font-brand); font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.45); margin-top: var(--sp-sm); }

/* ── CTA BAND ── */
.cta-band { background: var(--ink); padding: 96px var(--sp-xl); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(239,59,53,0.08), transparent 70%); pointer-events: none; }
.cta-band h2 { font-family: var(--font-brand); font-size: clamp(28px, 4vw, 44px); color: var(--white); margin-bottom: var(--sp-sm); position: relative; }
.cta-band p  { font-size: 17px; color: rgba(255,255,255,0.45); max-width: 520px; margin: 0 auto var(--sp-xl); line-height: 1.65; position: relative; }
.cta-btns { display: flex; gap: var(--sp-sm); justify-content: center; flex-wrap: wrap; position: relative; }

/* ── FOOTER ── */
.footer { background: var(--ink-mid); padding: var(--sp-2xl) var(--sp-xl) 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-xl); padding-bottom: var(--sp-2xl); border-bottom: 0.5px solid rgba(255,255,255,0.07); }
.footer-about { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.75; margin-bottom: var(--sp-md); }
.footer-contact { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.9; }
.footer-contact a { color: var(--circuit-red-lt); }
.footer-col h5 { font-family: var(--font-brand); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: var(--sp-md); }
.footer-col a { display: block; font-family: var(--font-brand); font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.5); margin-bottom: var(--sp-sm); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding: var(--sp-md) 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--sp-sm); }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer-licenses { font-size: 11px; color: rgba(255,255,255,0.18); font-family: var(--font-brand); letter-spacing: 0.5px; }
.footer-parent { font-family: var(--font-brand); font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-top: var(--sp-lg); }
.footer-parent a { color: var(--bwrh-link); font-size: 12px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.65s ease both; }
.delay-1 { animation-delay: 0.10s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }
.delay-4 { animation-delay: 0.46s; }

/* ── MOBILE NAV ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: var(--sp-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.75); border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-hamburger:hover span { background: var(--white); }

.nav-mobile-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.55); z-index: 150;
  opacity: 0; transition: opacity 0.3s ease;
}
.nav-mobile-overlay.is-visible { display: block; }
.nav-mobile-overlay.is-open    { opacity: 1; }

.nav-mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(340px, 88vw); background: #0D0D0D;
  border-left: 0.5px solid rgba(255,255,255,0.08);
  z-index: 200; display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-mobile-drawer.is-open { transform: translateX(0); }
.nav-mobile-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--sp-lg); height: 64px;
  border-bottom: 0.5px solid rgba(255,255,255,0.07); flex-shrink: 0;
}
.nav-mobile-head img { height: 30px; width: auto; }
.nav-mobile-close {
  background: none; border: none; color: rgba(255,255,255,0.45);
  font-size: 24px; line-height: 1; cursor: pointer;
  padding: 4px 8px; border-radius: var(--radius-sm);
  transition: color var(--transition);
}
.nav-mobile-close:hover { color: var(--white); }
.nav-mobile-body { flex: 1; overflow-y: auto; padding: var(--sp-sm) 0; }
.nav-mobile-item {
  display: block; font-family: var(--font-brand);
  font-size: 16px; font-weight: 600; color: rgba(255,255,255,0.7);
  padding: 12px var(--sp-lg); transition: color var(--transition), background var(--transition);
}
.nav-mobile-item:hover  { color: var(--white); background: rgba(255,255,255,0.04); }
.nav-mobile-item.active { color: var(--circuit-red-lt); }
.nav-mobile-sub {
  display: block; font-family: var(--font-brand);
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.35);
  padding: 7px var(--sp-lg) 7px calc(var(--sp-lg) + 12px);
  transition: color var(--transition);
}
.nav-mobile-sub:hover { color: rgba(255,255,255,0.7); }
.nav-mobile-divider { height: 0.5px; background: rgba(255,255,255,0.07); margin: var(--sp-xs) 0; }
.nav-mobile-foot {
  padding: var(--sp-lg); border-top: 0.5px solid rgba(255,255,255,0.07);
  display: flex; flex-direction: column; gap: var(--sp-sm); flex-shrink: 0;
}
.nav-mobile-phone { font-family: var(--font-brand); font-size: 22px; font-weight: 700; color: var(--circuit-red); display: block; text-align: center; }
.nav-mobile-phone:hover { color: var(--circuit-red-lt); }
.nav-mobile-cta { justify-content: center; width: 100%; }

/* ── FORM STYLES ── */
.form-field { margin-bottom: var(--sp-md); }
.form-field label {
  display: block; font-family: var(--font-brand);
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--text-mid); margin-bottom: 6px;
}
.form-field label .req { color: var(--circuit-red); margin-left: 2px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 11px var(--sp-md);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14px; color: var(--text-dark);
  background: var(--surface); transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--circuit-red); background: var(--white);
  box-shadow: 0 0 0 3px rgba(239,59,53,0.10);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-md); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-right .nav-phone { display: none; }
  .nav-sibling { display: none; }
  .page-hero-inner { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .three-col { grid-template-columns: 1fr 1fr; }
  .four-col  { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 var(--sp-md); }
  .section { padding: var(--sp-2xl) 0; }
  .three-col, .four-col, .process-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
}
