/* ============================================================
   Prime Sparks Electrical — Shared Stylesheet
   Mobile-first, no animations, fast load
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Variables ── */
:root {
  --black:     #111111;
  --black-2:   #1a1a1a;
  --cyan:      #00D9F5;
  --cyan-dk:   #00b8d1;
  --white:     #ffffff;
  --off-white: #f7f7f7;
  --border:    #e4e4e4;
  --text-mid:  #444444;
  --text-lite: #777777;
  --red:       #dc2626;
  --red-lite:  #fef2f2;
}

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section    { padding: 72px 0; }
.section-sm { padding: 48px 0; }

/* ── Typography ── */
.label {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--cyan);
  display: block; margin-bottom: 10px;
}
.label.dark { color: var(--black); }
h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 900; line-height: 1.1; }
h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; line-height: 1.2; }
h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
h4 { font-size: 16px; font-weight: 700; }
p  { color: var(--text-mid); font-size: 16px; line-height: 1.75; }
.lead { font-size: 18px; color: var(--text-mid); max-width: 640px; line-height: 1.75; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; border-radius: 4px;
  padding: 13px 26px; cursor: pointer; border: 2px solid transparent;
  white-space: nowrap; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-cyan  { background: var(--cyan); color: var(--black); }
.btn-cyan:hover { background: var(--cyan-dk); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: #333; }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-red   { background: var(--red); color: var(--white); }
.btn-red:hover { background: #b91c1c; }
.btn-lg    { font-size: 17px; padding: 16px 32px; }
.btn-sm    { font-size: 13px; padding: 9px 18px; }
.btn-full  { width: 100%; }

/* ── Logo Images ── */
.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 38px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

/* ── Navigation ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; max-width: 1100px; margin: 0 auto; padding: 0 20px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 16px; color: var(--white);
}
.nav-logo-bolt {
  width: 34px; height: 34px; background: var(--cyan); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.nav-logo span { color: var(--cyan); }
.nav-links {
  display: none;
  gap: 28px;
}
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-call {
  font-size: 14px; font-weight: 700; color: var(--cyan);
  display: none; align-items: center; gap: 6px;
}
.nav-hamburger {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
}
.nav-mobile {
  display: none; position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--black); z-index: 99;
  padding: 24px 20px; overflow-y: auto;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block; padding: 16px 0;
  font-size: 17px; font-weight: 600; color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile .emergency-link {
  color: #ef4444; display: flex; align-items: center; gap: 8px;
}
.nav-mobile .btn { margin-top: 24px; width: 100%; justify-content: center; }

/* ── Emergency Bar ── */
.emergency-bar {
  background: var(--red); padding: 10px 20px;
  text-align: center;
}
.emergency-bar a {
  color: var(--white); font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
}

/* ── Hero ── */
.hero {
  background: var(--black);
  padding: 80px 0 72px;
}
.hero-inner {
  display: flex; flex-direction: column; gap: 40px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,217,245,0.1); border: 1px solid rgba(0,217,245,0.25);
  padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 700; color: var(--cyan);
  text-transform: uppercase; letter-spacing: 1px;
  width: fit-content;
}
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 .accent { color: var(--cyan); }
.hero .lead { color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px;
}
.hero-trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6);
}
.hero-trust-item::before {
  content: '✓'; color: var(--cyan); font-weight: 900;
}
.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 24px;
}
.hero-card-title {
  font-size: 12px; font-weight: 700; color: var(--cyan);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px;
}
.hero-pill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hero-pill {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 12px; border-radius: 6px;
  font-size: 13px; font-weight: 500; color: var(--white);
}
.hero-available {
  margin-top: 16px; padding: 12px 14px;
  background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.25);
  border-radius: 6px; font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 10px;
}
.dot-green {
  width: 8px; height: 8px; background: #22c55e;
  border-radius: 50%; flex-shrink: 0;
}

/* ── Trust Strip ── */
.trust-strip { background: var(--cyan); padding: 16px 0; }
.trust-strip-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 24px;
}
.trust-strip-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--black);
}

/* ── Section Headers ── */
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header .lead { margin-top: 12px; }
.section-header.center .lead { margin: 12px auto 0; }

/* ── Service Cards ── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.service-card {
  border: 1px solid var(--border); border-radius: 8px;
  padding: 24px 24px 28px;
}
.service-card:hover { border-color: var(--cyan); }
.service-card-icon {
  width: 46px; height: 46px;
  background: var(--black); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 14px;
}
.service-card h3 { margin-bottom: 8px; }
.service-card p  { font-size: 14px; margin-bottom: 14px; }
.service-card .btn-sm { margin-top: auto; }

/* ── Emergency CTA ── */
.emergency-cta {
  background: var(--black); border-radius: 10px;
  padding: 36px 28px; margin: 0;
}
.emergency-cta .label { color: #ef4444; }
.emergency-cta h2 { color: var(--white); margin-bottom: 12px; }
.emergency-cta p { color: rgba(255,255,255,0.65); margin-bottom: 24px; }
.emergency-cta .btn-red { font-size: 18px; padding: 16px 28px; }

/* ── Process Steps ── */
.steps { display: flex; flex-direction: column; gap: 24px; }
.step { display: flex; gap: 18px; }
.step-num {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--cyan); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 15px; color: var(--black);
}
.step-content h4 { margin-bottom: 4px; }
.step-content p  { font-size: 14px; }

/* ── Testimonials ── */
.testimonials-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
.testimonial {
  background: var(--off-white); border-radius: 8px; padding: 24px;
}
.test-stars { color: #f59e0b; font-size: 16px; margin-bottom: 12px; }
.test-text {
  font-size: 15px; color: var(--black); line-height: 1.7;
  margin-bottom: 16px; font-style: italic;
}
.test-author { display: flex; align-items: center; gap: 10px; }
.test-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cyan); display: flex; align-items: center;
  justify-content: center; font-weight: 800; font-size: 14px; color: var(--black);
  flex-shrink: 0;
}
.test-name  { font-size: 14px; font-weight: 700; }
.test-place { font-size: 12px; color: var(--text-lite); }

/* ── Google Review Bar ── */
.review-bar {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: 8px; padding: 24px;
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; text-align: center;
}
.review-bar-stars { font-size: 28px; color: #f59e0b; }
.review-bar-rating { font-size: 32px; font-weight: 900; color: var(--black); }
.review-bar-count  { font-size: 14px; color: var(--text-lite); }
.review-bar-google {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: #4285f4;
}

/* ── Feature List ── */
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-item { display: flex; align-items: flex-start; gap: 12px; }
.feature-check {
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--cyan); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900; color: var(--black); margin-top: 2px;
}
.feature-item p { margin: 0; font-size: 15px; color: var(--black); font-weight: 500; }

/* ── CTA Banner ── */
.cta-banner { background: var(--black); padding: 72px 0; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner .lead { color: rgba(255,255,255,0.65); margin: 0 auto 32px; }
.cta-banner .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── Contact Form ── */
.form-grid { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--black); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--border); border-radius: 4px;
  padding: 11px 14px; font-size: 15px; font-family: inherit;
  background: var(--white); color: var(--black);
  width: 100%;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--cyan);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Info Cards ── */
.info-cards { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--off-white); border-radius: 8px; padding: 18px;
}
.info-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--black); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.info-card h4 { margin-bottom: 2px; }
.info-card p  { font-size: 14px; margin: 0; }
.info-card a  { color: var(--cyan); font-weight: 700; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--black); padding: 64px 0 56px;
}
.page-hero .label { margin-bottom: 8px; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero .lead { color: rgba(255,255,255,0.7); }

/* ── Emergency Page ── */
.emergency-hero { background: var(--black); padding: 0; }
.emergency-hero-top {
  background: var(--red); padding: 16px 20px; text-align: center;
}
.emergency-hero-top p { color: var(--white); font-size: 14px; font-weight: 700; margin: 0; }
.emergency-hero-main { padding: 64px 0 56px; }
.emergency-hero-main h1 { color: var(--white); margin-bottom: 16px; }
.emergency-hero-main .lead { color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.emergency-phone {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--red); color: var(--white);
  font-size: 20px; font-weight: 800;
  padding: 18px 32px; border-radius: 4px; margin-bottom: 12px;
}
.emergency-phone:hover { background: #b91c1c; }

/* ── Situations List ── */
.situation-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.situation-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--red-lite); border: 1px solid #fecaca;
  border-radius: 6px; padding: 14px 16px;
}
.situation-item span { font-size: 16px; flex-shrink: 0; }
.situation-item p { font-size: 14px; color: #991b1b; font-weight: 600; margin: 0; }

/* ── Insurance Page ── */
.process-grid { display: flex; flex-direction: column; gap: 20px; }
.process-step {
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid var(--border); border-radius: 8px; padding: 20px;
}
.process-num {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--cyan); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 16px; color: var(--black);
}
.process-step h4 { margin-bottom: 4px; }
.process-step p  { font-size: 14px; margin: 0; }

/* ── Insurer Logos ── */
.insurer-bar {
  background: var(--off-white); border-radius: 8px;
  padding: 24px; text-align: center;
}
.insurer-bar p { font-size: 13px; color: var(--text-lite); margin-bottom: 14px; }
.insurer-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.insurer-tag {
  padding: 6px 14px; background: var(--white);
  border: 1px solid var(--border); border-radius: 100px;
  font-size: 13px; font-weight: 600; color: var(--text-mid);
}

/* ── Footer ── */
.footer { background: #0a0a0a; padding: 56px 0 28px; }
.footer-top {
  display: grid; grid-template-columns: 1fr;
  gap: 36px; margin-bottom: 48px;
}
.footer-logo { margin-bottom: 12px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.4); max-width: 280px; line-height: 1.65; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.social-btn {
  width: 34px; height: 34px; border-radius: 6px;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: rgba(255,255,255,0.5);
  transition: background 0.15s;
}
.social-btn:hover { background: var(--cyan); color: var(--black); }
.footer-col h5 {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--white); margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.45); transition: color 0.15s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px;
  display: flex; flex-direction: column; gap: 8px; text-align: center;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-lic  { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-lic span { color: var(--cyan); }

/* ── About Page ── */
.about-photo {
  background: var(--black); border-radius: 10px;
  min-height: 320px; display: flex; align-items: center;
  justify-content: center; flex-direction: column; gap: 10px;
}
.about-photo-hint { font-size: 13px; color: rgba(255,255,255,0.3); text-align: center; padding: 0 24px; }

/* ── Two-col grid ── */
.two-col {
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start;
}

/* ── Values ── */
.values-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.value-card { border: 1px solid var(--border); border-radius: 8px; padding: 22px; }
.value-icon { font-size: 28px; margin-bottom: 12px; }
.value-card h3 { font-size: 17px; margin-bottom: 6px; }
.value-card p  { font-size: 14px; }

/* ── Divider ── */
hr { border: none; border-top: 1px solid var(--border); margin: 48px 0; }
.divider { height: 1px; background: var(--border); }

/* ── Badges / chips ── */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 700;
}
.chip-black { background: var(--black); color: var(--white); }
.chip-cyan  { background: var(--cyan);  color: var(--black); }

/* ── Sticky call bar (mobile) ── */
.sticky-call {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--red); padding: 14px 20px;
  display: flex; justify-content: center;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.3);
}
.sticky-call a {
  color: var(--white); font-weight: 800; font-size: 16px;
  display: flex; align-items: center; gap: 10px;
}

/* ================================================================
   TABLET — min-width: 640px
   ================================================================ */
@media (min-width: 640px) {
  .services-grid      { grid-template-columns: 1fr 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr 1fr; }
  .situation-grid     { grid-template-columns: 1fr 1fr; }
  .values-grid        { grid-template-columns: 1fr 1fr; }
  .hero-pill-grid     { grid-template-columns: 1fr 1fr; }
  .footer-top         { grid-template-columns: 2fr 1fr 1fr; }
  .footer-bottom      { flex-direction: row; justify-content: space-between; text-align: left; }
  .review-bar         { flex-direction: row; text-align: left; }
  .sticky-call        { display: none; }
}

/* ================================================================
   DESKTOP — min-width: 960px
   ================================================================ */
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-call  { display: flex; }
  .nav-hamburger { display: none; }
  .hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr 1fr; }
  .situation-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { flex-direction: row; gap: 0; }
  .step { flex-direction: column; gap: 12px; flex: 1; position: relative; }
  .step:not(:last-child)::after {
    content: '';
    position: absolute; top: 19px; left: 56px; right: -8px;
    height: 2px; background: var(--border);
  }
  .step-num { margin-bottom: 4px; }
  .process-grid { flex-direction: row; gap: 16px; }
  .process-step { flex-direction: column; align-items: flex-start; flex: 1; }
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ── Utility ── */
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-white  { color: var(--white); }
.bg-off      { background: var(--off-white); }
.bg-black    { background: var(--black); }
