/* 618 Electric — shared stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@400;600;700&family=Barlow:wght@400;500;600&display=swap');

:root {
  --yellow: #FFD000;
  --yellow-dark: #E6BB00;
  --yellow-dim: rgba(255,208,0,0.12);
  --black: #F0F0F0;
  --black-mid: #E6E6E6;
  --black-card: #2A2A2A;
  --black-border: #3A3A3A;
  --white: #FFFFFF;
  --gray: #444444;
  --gray-light: #222222;
  --text: #111111;
  --font-display: 'Bebas Neue', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --radius: 4px;
  --max-w: 1200px;
  --transition: 0.2s ease;
  /* Text on dark cards (#2A2A2A) */
  --card-text: #CCCCCC;
  --card-text-dim: #999999;
}

/* Light mode values baked in as defaults — no dark mode */
/* Hero and nav always stay dark per brand */
.hero { background: #0A0A0A !important; }
.site-nav { background: rgba(10,10,10,0.97) !important; }
.site-footer { background: #050505 !important; }



*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 64px;
}

/* Skip link for ADA */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--yellow);
  color: var(--black);
  padding: 0.5rem 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus { top: 1rem; }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--black-border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo img { height: 38px; width: auto; display: block; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #D4D4D4;
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--yellow); background: var(--yellow-dim); }
.nav-links a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* Hamburger */
.nav-hamburger {
  display: none;
  background: #3A3A3A;
  border: 1px solid #4A4A4A;
  color: #FFFFFF;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}
.nav-hamburger:focus-visible { outline: 3px solid var(--yellow); }

/* ── HERO ── */
.hero {
  background: #0A0A0A;
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  margin-bottom: -3rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,208,0,0.02) 40px,
    rgba(255,208,0,0.02) 41px
  );
  pointer-events: none;
}
.hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; }
.hero-logo { height: 188px; width: auto; margin: 0 auto 3rem; display: block; filter: drop-shadow(0 0 30px rgba(255,208,0,0.25)); }
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.8vw, 2.25rem);
  line-height: 1;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.hero-tagline span { color: var(--yellow); display: inline; }
.hero-sub {
  font-family: var(--font-cond);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--card-text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--yellow);
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); transform: translateY(-2px); }
.btn-primary:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.btn-outline {
  background: transparent;
  color: var(--yellow);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--yellow);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-outline:hover { background: var(--yellow); color: var(--black); transform: translateY(-2px); }
.btn-outline:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--yellow);
  padding: 0.9rem 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
/* Desktop: centered static row */
.trust-ticker-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.trust-ticker {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  animation: none;
}
/* Hide duplicate set on desktop */
.trust-ticker li:nth-child(n+6) { display: none; }
.trust-item {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.trust-item svg { width: 18px; height: 18px; flex-shrink: 0; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SECTIONS ── */
.section { padding: 5rem 1.5rem; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-alt { background: var(--black-mid); }
.section-label {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #111111;
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.section-body {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 620px;
  line-height: 1.7;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover { border-color: var(--yellow); transform: translateY(-3px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 48px; height: 48px;
  background: var(--yellow-dim);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 26px; height: 26px; color: var(--yellow); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-title {
  font-family: var(--font-cond);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  margin-bottom: 0.6rem;
}
.service-desc { color: #CCCCCC; font-size: 0.95rem; line-height: 1.6; }

/* ── GENERAC CALLOUT ── */
.generac-section {
  background: linear-gradient(135deg, #0A0A0A 60%, #1a1500 100%);
  border: 1px solid rgba(255,208,0,0.2);
  border-radius: var(--radius);
  padding: 3.5rem 2.5rem;
  display: grid;
  grid-template-columns: 5fr 3fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 4rem;
}
.generac-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* ── LED SAVINGS ── */
.savings-bar {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
}
.savings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.savings-label { font-family: var(--font-cond); font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--card-text); }
.savings-val { font-family: var(--font-display); font-size: 1.8rem; color: var(--yellow); }
.progress-track { height: 6px; background: var(--black-border); border-radius: 3px; overflow: hidden; flex: 1; }
.progress-fill { height: 100%; background: var(--yellow); border-radius: 3px; }

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.stars { color: var(--yellow); font-size: 1rem; letter-spacing: 2px; margin-bottom: 0.75rem; }
.testimonial-text { color: var(--card-text); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
.testimonial-author { font-family: var(--font-cond); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--yellow); }

/* ── HOURS & CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--black-border); }
.hours-table td { padding: 0.6rem 0; font-size: 0.95rem; }
.hours-table td:first-child { font-family: var(--font-cond); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gray); }
.hours-table td:last-child { text-align: right; color: var(--gray); }
.hours-table .today td { color: var(--yellow) !important; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.contact-item svg { width: 20px; height: 20px; color: var(--yellow); flex-shrink: 0; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-item-label { font-family: var(--font-cond); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 0.15rem; }
.contact-item-val { color: var(--gray-light); font-size: 1rem; text-decoration: none; }
.contact-item-val:hover { color: var(--yellow); }
.contact-item-val:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 2px; }

/* ── SOCIAL LINKS ── */
.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  color: var(--card-text);
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.social-link:hover { border-color: var(--yellow); color: var(--yellow); background: var(--yellow-dim); }
.social-link:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }

/* ── FOOTER ── */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--black-border);
  padding: 3rem 1.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-logo { height: 50px; width: auto; margin-bottom: 1rem; }
.footer-desc { color: var(--card-text); font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-col-title {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--card-text); font-size: 0.9rem; text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--yellow); }
.footer-links a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 2px; }
.footer-bottom {
  border-top: 1px solid var(--black-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { color: var(--card-text-dim); font-size: 0.85rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--card-text-dim); font-size: 0.85rem; text-decoration: none; }
.footer-legal a:hover { color: var(--yellow); }
.footer-legal a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 2px; }

/* ── MOBILE CTA ── */
.mobile-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--yellow);
  padding: 0.9rem 1.5rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  z-index: 200;
  text-decoration: none;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  border: none;
}
.mobile-cta:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }

/* ── 404 ── */
.error-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 12rem);
  color: var(--yellow);
  line-height: 1;
  opacity: 0.15;
  margin-bottom: -2rem;
}
.error-msg {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.error-sub { color: var(--gray); margin-bottom: 2rem; max-width: 480px; }

/* ── PRIVACY PAGE ── */
.prose-page { max-width: 800px; margin: 0 auto; padding: 4rem 1.5rem; }
.prose-page h1 { font-family: var(--font-display); font-size: 3rem; color: #111111; margin-bottom: 0.5rem; }
.prose-page .updated { font-family: var(--font-cond); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); margin-bottom: 3rem; }
.prose-page h2 { font-family: var(--font-cond); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--yellow); margin: 2.5rem 0 0.75rem; }
.prose-page p, .prose-page li { color: var(--gray-light); font-size: 1rem; line-height: 1.8; margin-bottom: 1rem; }
.prose-page ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.prose-page a { color: var(--yellow); }
.prose-page a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 2px; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(10,10,10,0.98); border-bottom: 1px solid var(--black-border); padding: 1rem; gap: 0.25rem; }
  .nav-hamburger { display: block; }
  .hero { clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%); padding: 4rem 1.5rem 5rem; }
  .generac-section { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 56px; }
  .section { padding: 3.5rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero-logo { height: 80px; }
  .trust-ticker-wrap { padding: 0; overflow: hidden; }
  .trust-ticker {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 2.5rem;
    animation: ticker-scroll 18s linear infinite;
    width: max-content;
  }
  /* Show all items including duplicates for seamless loop */
  .trust-ticker li:nth-child(n+6) { display: flex; }
  .trust-item { font-size: 0.85rem; }
}

/* ── ANIMATIONS ── */
@media (prefers-reduced-motion: no-preference) {
  .fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
  .fade-in.visible { opacity: 1; transform: translateY(0); }
  .fade-in:nth-child(2) { transition-delay: 0.1s; }
  .fade-in:nth-child(3) { transition-delay: 0.2s; }
  .fade-in:nth-child(4) { transition-delay: 0.3s; }
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; }
}
