/* Commercial Electrician | Port St. Lucie, FL — Florida Electrical and Fire Alarm LLC */
:root {
  --char: #232b33;
  --char-deep: #161c22;
  --copper: #c07a35;
  --copper-dark: #9a5e24;
  --copper-soft: #f7ecdc;
  --ink: #222a32;
  --muted: #5d6874;
  --bg: #ffffff;
  --bg-alt: #f3f4f6;
  --line: #dde2e8;
  --radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  color: var(--ink); line-height: 1.62; background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-dark); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

.site-header {
  background: var(--char-deep); color: #fff;
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: .65rem; padding-bottom: .65rem;
}
.brand { color: #fff; text-decoration: none; font-weight: 700; font-size: 1rem; line-height: 1.3; }
.brand small { display: block; font-weight: 400; font-size: .74rem; color: #b9c2cc; }
.header-phone {
  display: inline-block; background: var(--copper); color: #fff;
  font-weight: 700; text-decoration: none; padding: .55rem 1.1rem;
  border-radius: var(--radius); white-space: nowrap;
}
.header-phone:hover { background: var(--copper-dark); }

.hero { background: var(--char); color: #fff; padding: 3.2rem 0; }
.hero-grid { display: grid; gap: 1.8rem; align-items: center; }
@media (min-width: 880px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero .kicker {
  color: var(--copper); font-weight: 700; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase;
}
.hero h1 { font-size: 2rem; line-height: 1.18; margin: .5rem 0 .8rem; }
.hero p.lead { color: #d6dde4; font-size: 1.08rem; max-width: 54ch; }
.hero figure { margin: 0; }
.hero figure img { border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.3rem; }
.btn { display: inline-block; padding: .8rem 1.5rem; border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.btn-call { background: var(--copper); color: #fff; }
.btn-call:hover { background: var(--copper-dark); }
.btn-form { border: 2px solid #8b95a1; color: #fff; }
.btn-form:hover { border-color: #fff; }

.strip { background: var(--copper-soft); border-bottom: 1px solid #e8d7bd; }
.strip .wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .7rem; padding-top: 1rem; padding-bottom: 1rem; font-size: .93rem; color: #6b5a43;
}
.strip strong { display: block; color: var(--char); }

section.block { padding: 2.8rem 0; }
section.block.alt { background: var(--bg-alt); }
h2 { color: var(--char-deep); font-size: 1.62rem; margin: 0 0 .9rem; line-height: 1.28; }
h3 { color: var(--char); font-size: 1.14rem; margin: 1.3rem 0 .45rem; }
.section-intro { color: var(--muted); font-size: 1.05rem; max-width: 64ch; }

.service-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 700px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; background: #fff;
}
.service h3 { margin-top: 0; color: var(--copper-dark); }
.service p { margin: .4rem 0 0; color: var(--muted); font-size: .96rem; }

.split { display: grid; gap: 1.6rem; margin-top: 1.2rem; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }
.split figure { margin: 0; }
.split figure img { border-radius: var(--radius); }
.split figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }

.timeline { list-style: none; padding: 0; margin: 1.2rem 0 0; counter-reset: step; }
.timeline li {
  counter-increment: step; position: relative; padding: 0 0 1.3rem 3rem;
  border-left: 2px solid var(--line); margin-left: .9rem;
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: counter(step); position: absolute; left: -1.05rem; top: -.15rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--copper); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.timeline strong { color: var(--char-deep); }
.timeline p { margin: .25rem 0 0; color: var(--muted); }

.note-box {
  background: #fff8ee; border-left: 5px solid var(--copper);
  padding: 1.1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0; margin-top: 1.4rem;
}
.note-box p { margin: 0; color: var(--muted); }
.note-box strong { color: var(--char-deep); }

.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: .7rem; background: #fff;
}
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; color: var(--char-deep); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "›"; color: var(--copper); font-weight: 800; margin-right: .6rem; font-size: 1.15rem; }
.faq .answer { padding: 0 1.2rem 1.1rem 2.2rem; color: var(--muted); }
.faq .answer p { margin: .4rem 0; }

.areas ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.areas li { background: #fff; border: 2px solid var(--copper); color: var(--char-deep); font-weight: 600; padding: .45rem 1rem; border-radius: 999px; font-size: .94rem; }

.estimate { background: var(--char-deep); color: #fff; }
.estimate h2 { color: #fff; }
.estimate .section-intro { color: #b9c2cc; }
form.estimate-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.6rem; margin-top: 1.4rem; max-width: 640px; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .3rem; }
.field input, .field textarea { width: 100%; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--copper); border-color: var(--copper); }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .88rem; color: var(--muted); }
button.submit { background: var(--copper); color: #fff; border: none; cursor: pointer; font: inherit; font-weight: 700; padding: .85rem 1.8rem; border-radius: var(--radius); }
button.submit:hover { background: var(--copper-dark); }

.company-info { background: var(--bg-alt); border-top: 1px solid var(--line); }
.info-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.info-table th, .info-table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { color: var(--char-deep); width: 11rem; }

.site-footer { background: var(--char-deep); color: #9aa5b1; padding: 1.6rem 0; font-size: .9rem; }
.site-footer a { color: var(--copper); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; align-items: center; }

.sticky-call { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--char-deep); padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); }
.sticky-call a { display: block; background: var(--copper); color: #fff; font-weight: 800; text-decoration: none; padding: .85rem; border-radius: var(--radius); font-size: 1.05rem; text-align: center; }
@media (max-width: 767px) {
  .sticky-call { display: block; }
  body { padding-bottom: 78px; }
  .hero { padding: 2.2rem 0; }
  .hero h1 { font-size: 1.65rem; }
}
