/* Electrical Pros Clovis — rebuild template, v2
   Plain white-paper look of a real local electrician's site:
   warm paper background, near-black ink, one brick-red accent,
   serif headlines, hairline rules, captioned job photos.
   No gradients, no shadows, no card grids, no icon badges. */
:root {
  --paper: #fbf9f5;
  --paper-2: #f4efe7;
  --ink: #221e19;
  --muted: #6f675c;
  --line: #e3dccf;
  --red: #b3352b;
  --red-dark: #8c2a23;
  --charcoal: #232019;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3rem); letter-spacing: 0; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.shell { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.shell.narrow { max-width: 760px; }
.section { padding: 72px 0; }
.section-tint { background: var(--paper-2); }
.kicker {
  font-size: .85rem; font-weight: 700; color: var(--red);
  margin: 0 0 12px; padding-top: 12px; border-top: 2px solid var(--red);
  display: inline-block;
}
.intro { font-size: 1.12rem; color: var(--muted); max-width: 720px; }
.lead { font-size: 1.13rem; color: #4c463e; max-width: 640px; }
.aside { font-size: .95rem; color: var(--muted); margin-top: 16px; }

/* Buttons — plain rectangles, no radius, no shadow */
.btn {
  display: inline-block; padding: 14px 26px;
  font-weight: 700; font-size: 1.02rem; text-decoration: none; border: 0;
  cursor: pointer; line-height: 1.3; font-family: var(--sans);
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--red); padding-bottom: 1px; }
.text-link:hover { border-bottom-width: 2px; }

/* Top strip */
.topbar { border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.topbar .shell { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: var(--red); text-decoration: none; font-weight: 700; white-space: nowrap; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-name { font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: 1.3rem; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--sans); font-weight: 600; color: var(--muted); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 2px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .nav-dd-btn {
  padding: 10px 12px; text-decoration: none; color: var(--ink); font-weight: 600;
  font-size: .98rem; background: none; border: 0; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 6px;
}
.main-nav > a:hover, .nav-dd-btn:hover { color: var(--red); }
.nav-dd { position: relative; }
.nav-dd-caret { font-size: .7rem; color: var(--muted); }
.nav-dd-panel {
  display: none; position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px;
  background: #fff; border: 1px solid var(--line);
  padding: 8px; z-index: 60;
}
.nav-dd.open .nav-dd-panel { display: block; }
.nav-dd-panel a {
  display: block; padding: 9px 12px; text-decoration: none;
  color: var(--ink); font-size: .96rem; font-weight: 500;
}
.nav-dd-panel a:hover { color: var(--red); background: var(--paper); }
.nav-dd-panel a span { display: block; font-size: .82rem; color: var(--muted); font-weight: 400; }
.header-phone { color: var(--red); font-weight: 800; font-size: 1.1rem; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--red-dark); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  padding: 9px 14px; font-size: 1rem; cursor: pointer; color: var(--ink);
  font-family: inherit; font-weight: 700;
}

/* Hero — plain paper, photo beside the words, no dark panel */
.hero { padding: 64px 0 0; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.hero h1 { margin-bottom: .35em; }
.core-line {
  font-family: var(--serif); font-size: 1.18rem; font-weight: 700; color: var(--ink);
  margin: 0 0 16px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 24px 0 18px; }
.hero-note { font-size: .93rem; color: var(--muted); margin: 0; }
.hero-media { margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-media figcaption, .photo figcaption {
  font-size: .88rem; font-style: italic; color: var(--muted);
  padding-top: 10px;
}
.trust-line {
  display: flex; flex-wrap: wrap; gap: 10px 0; margin: 48px 0 0; padding: 16px 0 20px;
  border-top: 1px solid var(--line); font-size: .95rem; font-weight: 600; color: var(--ink);
}
.trust-line span { padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line); }
.trust-line span:last-child { border-right: 0; padding-right: 0; margin-right: 0; }

/* Problem list — rows with hairlines, not cards */
.problem-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; margin-top: 36px; }
.problem { padding: 20px 0; border-top: 1px solid var(--line); }
.problem h3 { font-size: 1.2rem; margin: 0 0 4px; }
.problem h3 a { color: var(--ink); text-decoration: none; }
.problem h3 a:hover { color: var(--red); }
.problem p { margin: 0 0 8px; font-size: .96rem; color: var(--muted); }
.problem.urgent h3 a { color: var(--red); }
.problem.urgent h3 a:hover { color: var(--red-dark); }

/* Services — photo features, then a plain list */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 48px; }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature.flip img { order: 2; }
.feature h3 { font-size: 1.5rem; margin-bottom: 8px; }
.feature h3 a { color: var(--ink); text-decoration: none; }
.feature h3 a:hover { color: var(--red); }
.feature p { color: var(--muted); }
.list-heading { margin: 64px 0 8px; font-size: 1.4rem; }
.service-list { list-style: none; padding: 0; margin: 0 0 24px; columns: 2; column-gap: 48px; }
.service-list li { padding: 14px 0; border-top: 1px solid var(--line); break-inside: avoid; font-size: .98rem; color: var(--muted); }
.service-list li a { color: var(--ink); font-weight: 700; text-decoration: none; }
.service-list li a:hover { color: var(--red); }

/* Process — plain numbered list, no circles */
.process { list-style: none; padding: 0; margin: 36px 0 0; counter-reset: step; }
.process li { counter-increment: step; padding: 22px 0 22px 56px; border-top: 1px solid var(--line); position: relative; }
.process li:last-child { border-bottom: 1px solid var(--line); }
.process li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 22px;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--red);
}
.process h3 { font-size: 1.2rem; margin: 0 0 4px; }
.process p { margin: 0; color: var(--muted); }

/* Two-column prose + photo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split .photo { margin: 0; }
.split .photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo { margin: 0; }
.plain-list { list-style: none; padding: 0; margin: 0 0 20px; }
.plain-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.plain-list li:first-child { border-top: 0; }

/* FAQ — hairline rows, no boxes */
.faq-list { margin-top: 36px; }
.faq-list details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { font-family: var(--serif); font-weight: 700; color: var(--ink); cursor: pointer; font-size: 1.15rem; }
.faq-list summary:hover { color: var(--red); }
.faq-list details p { margin: 10px 0 0; color: var(--muted); }
.faq-list details p a { color: var(--red); }

/* Final CTA */
.cta-band { background: var(--charcoal); color: #f2ede4; text-align: left; padding: 72px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfc8ba; max-width: 640px; }
.cta-band .btn { margin-top: 8px; }

/* Footer */
.site-footer { background: var(--charcoal); color: #a49c8d; padding: 56px 0 32px; font-size: .95rem; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name small { color: #a49c8d; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #d8d1c4; text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 16px 0 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem;
}
.footer-phone { font-size: 1.25rem; font-weight: 800; color: #fff; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .split, .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip img { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 52px 0; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); flex-direction: column; align-items: stretch;
    border-bottom: 1px solid var(--line); padding: 12px 20px 20px; gap: 2px;
  }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-dd-btn { width: 100%; justify-content: space-between; padding: 12px 8px; }
  .nav-dd-panel { position: static; border: 0; padding: 0 0 8px 12px; min-width: 0; }
  .header-phone { display: none; }
  .topbar .shell { font-size: .82rem; }
  .problem-list, .service-list { grid-template-columns: 1fr; columns: 1; }
  .trust-line span { border-right: 0; padding-right: 0; margin-right: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}
