/* Electrical Repair | Port St. Lucie, FL — Florida Electrical and Fire Alarm LLC */
:root {
  --blue: #0b3d66;
  --blue-deep: #072a48;
  --teal: #0fa3a3;
  --teal-dark: #0b7c7c;
  --teal-soft: #e3f5f5;
  --ink: #1f2a33;
  --muted: #5c6873;
  --bg: #ffffff;
  --bg-alt: #f2f6f9;
  --line: #dbe3ea;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Verdana, Geneva, "Segoe UI", system-ui, sans-serif;
  color: var(--ink); line-height: 1.7; background: var(--bg); font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 1.25rem; }

.site-header { background: var(--blue-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: .7rem; padding-bottom: .7rem; }
.brand { color: #fff; text-decoration: none; font-weight: 700; font-size: 1rem; line-height: 1.35; }
.brand small { display: block; font-weight: 400; font-size: .74rem; color: #b8cbdd; }
.header-phone { display: inline-block; background: var(--teal); color: #fff; font-weight: 700; text-decoration: none; padding: .55rem 1.1rem; border-radius: 999px; white-space: nowrap; }
.header-phone:hover { background: var(--teal-dark); }

.hero { padding: 3rem 0 2.4rem; background: linear-gradient(180deg, #eef5fa 0%, #ffffff 100%); }
.hero h1 { color: var(--blue); font-size: 2.05rem; line-height: 1.2; margin: 0 0 .7rem; max-width: 20ch; }
.hero .kicker { color: var(--teal-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: .8rem; }
.hero p.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.4rem 0; }
.btn { display: inline-block; padding: .8rem 1.5rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn-call { background: var(--teal); color: #fff; }
.btn-call:hover { background: var(--teal-dark); }
.btn-form { border: 2px solid var(--blue); color: var(--blue); }
.btn-form:hover { background: var(--blue); color: #fff; }
.hero figure { margin: 1.6rem 0 0; }
.hero figure img { border-radius: var(--radius); box-shadow: 0 8px 26px rgba(7,42,72,.18); }
.hero figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }

.urgent-bar { background: var(--blue-deep); color: #fff; }
.urgent-bar .wrap { padding-top: .9rem; padding-bottom: .9rem; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; align-items: center; justify-content: space-between; }
.urgent-bar p { margin: 0; font-size: .95rem; }
.urgent-bar a { color: #fff; font-weight: 700; }

section.block { padding: 2.6rem 0; }
section.block.alt { background: var(--bg-alt); }
h2 { color: var(--blue); font-size: 1.58rem; margin: 0 0 .9rem; line-height: 1.3; }
h3 { color: var(--blue-deep); font-size: 1.12rem; margin: 1.2rem 0 .4rem; }
.section-intro { color: var(--muted); font-size: 1.04rem; max-width: 64ch; }

.problem-list { display: grid; gap: 1rem; margin-top: 1.4rem; }
@media (min-width: 760px) { .problem-list { grid-template-columns: 1fr 1fr; } }
.problem {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal);
  border-radius: var(--radius); padding: 1.2rem 1.3rem;
}
.problem h3 { margin-top: 0; }
.problem p { margin: .4rem 0; color: var(--muted); font-size: .96rem; }
.problem .fix { color: var(--teal-dark); font-weight: 600; }

.process { display: grid; gap: 0; margin-top: 1.4rem; }
.step {
  display: grid; grid-template-columns: 3rem 1fr; gap: 1rem;
  padding: 1.1rem 0; border-bottom: 1px dashed var(--line);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal-dark);
  font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin: 0 0 .3rem; }
.step p { margin: 0; color: var(--muted); }

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

.warning-box {
  background: #fff7e6; border: 2px solid #e8b93c; border-radius: var(--radius);
  padding: 1.2rem 1.4rem; margin-top: 1.5rem;
}
.warning-box h3 { margin-top: 0; color: #8a6410; }
.warning-box p, .warning-box li { color: #6b5a2e; }
.warning-box ul { margin: .5rem 0 0; padding-left: 1.2rem; }

.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(--blue); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { color: var(--teal); font-size: 1.4rem; font-weight: 700; flex-shrink: 0; }
.faq .answer { padding: 0 1.2rem 1.1rem; color: var(--muted); }
.faq .answer p { margin: .4rem 0; }

.areas ul { list-style: none; padding: 0; display: grid; gap: .6rem; margin-top: 1rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.areas li { background: var(--teal-soft); color: var(--blue-deep); font-weight: 600; padding: .55rem 1rem; border-radius: var(--radius); font-size: .95rem; text-align: center; }

.estimate { background: var(--blue); color: #fff; }
.estimate h2 { color: #fff; }
.estimate .section-intro { color: #c9d9e8; }
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: 8px; font: inherit; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .88rem; color: var(--muted); }
button.submit { background: var(--teal); color: #fff; border: none; cursor: pointer; font: inherit; font-weight: 700; padding: .85rem 1.8rem; border-radius: 999px; }
button.submit:hover { background: var(--teal-dark); }

.company-info { background: var(--bg-alt); border-top: 1px solid var(--line); }
.company-info ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .8rem; }
@media (min-width: 720px) { .company-info ul { grid-template-columns: 1fr 1fr; } }
.company-info li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; }
.company-info li strong { display: block; color: var(--blue); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .2rem; }

.site-footer { background: var(--blue-deep); color: #a9bfd4; padding: 1.6rem 0; font-size: .9rem; }
.site-footer a { color: #7fd4d4; }
.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(--blue-deep); padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); }
.sticky-call a { display: block; background: var(--teal); color: #fff; font-weight: 800; text-decoration: none; padding: .85rem; border-radius: 999px; font-size: 1.05rem; text-align: center; }
@media (max-width: 767px) {
  .sticky-call { display: block; }
  body { padding-bottom: 78px; }
  .hero h1 { font-size: 1.65rem; }
}
