/* Outlet Repair | Port St. Lucie, FL — Florida Electrical and Fire Alarm LLC */
:root {
  --oxblood: #5c1a1a;
  --oxblood-deep: #3d1010;
  --red: #d64545;
  --red-dark: #a92f2f;
  --red-soft: #fbecec;
  --ink: #2a2020;
  --muted: #6a5c5c;
  --bg: #ffffff;
  --bg-alt: #faf5f5;
  --line: #e6d8d8;
  --radius: 6px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  color: var(--ink); line-height: 1.68; background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 1.25rem; }

.site-header { background: var(--oxblood-deep); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 4px solid var(--red); }
.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: #e3b8b8; }
.header-phone { display: inline-block; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; padding: .55rem 1.1rem; border-radius: var(--radius); white-space: nowrap; }
.header-phone:hover { background: var(--red-dark); }

.hero { padding: 3rem 0 2.2rem; }
.hero h1 { color: var(--oxblood); font-size: 2.05rem; line-height: 1.2; margin: 0 0 .7rem; max-width: 20ch; }
.hero .kicker { background: var(--red); color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 3px; display: inline-block; margin-bottom: .9rem; }
.hero p.lead { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.4rem 0 1.8rem; }
.btn { display: inline-block; padding: .8rem 1.5rem; border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.btn-call { background: var(--red); color: #fff; }
.btn-call:hover { background: var(--red-dark); }
.btn-form { border: 2px solid var(--oxblood); color: var(--oxblood); }
.btn-form:hover { background: var(--oxblood); color: #fff; }
.hero figure { margin: 0; }
.hero figure img { border-radius: var(--radius); border: 1px solid var(--line); }
.hero figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }

.symptom-banner { background: var(--red-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.symptom-banner .wrap { padding-top: 1.1rem; padding-bottom: 1.1rem; }
.symptom-banner p { margin: 0; color: var(--oxblood-deep); font-size: .97rem; }
.symptom-banner strong { color: var(--red-dark); }

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

.symptoms { display: grid; gap: .9rem; margin-top: 1.4rem; }
@media (min-width: 720px) { .symptoms { grid-template-columns: 1fr 1fr; } }
.symptom {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.25rem 1.15rem 1.1rem; border-left: 6px solid var(--red);
}
.symptom h3 { margin-top: 0; display: flex; align-items: center; gap: .5rem; }
.symptom .level { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: var(--oxblood); color: #fff; padding: .15rem .5rem; border-radius: 3px; white-space: nowrap; }
.symptom .level.soon { background: #b96f14; }
.symptom p { margin: .4rem 0 0; color: var(--muted); font-size: .95rem; }

.diagnosis { display: grid; gap: 1.6rem; margin-top: 1.3rem; align-items: start; }
@media (min-width: 860px) { .diagnosis { grid-template-columns: 1fr 1fr; } }
.diagnosis figure { margin: 0; }
.diagnosis figure img { border-radius: var(--radius); border: 1px solid var(--line); }
.diagnosis figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.vs-table { width: 100%; border-collapse: collapse; margin-top: .8rem; font-size: .94rem; }
.vs-table th, .vs-table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); }
.vs-table th { background: var(--oxblood); color: #fff; }
.vs-table td:first-child { font-weight: 600; }

.repair-steps { list-style: none; padding: 0; margin: 1.3rem 0 0; }
.repair-steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: .8rem; }
.repair-steps li strong { color: var(--oxblood); display: block; margin-bottom: .2rem; }
.repair-steps li p { margin: 0; color: var(--muted); font-size: .95rem; }

.safety { background: var(--oxblood-deep); color: #f3dede; border-radius: var(--radius); padding: 1.5rem 1.6rem; margin-top: 1.6rem; }
.safety h3 { color: #fff; margin-top: 0; }
.safety ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.safety li { margin-bottom: .5rem; }
.safety a { color: #ffb3b3; font-weight: 700; }

.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(--oxblood-deep); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "!"; display: inline-flex; align-items: center; justify-content: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: .85rem; margin-right: .7rem; }
.faq .answer { padding: 0 1.2rem 1.1rem 3.1rem; color: var(--muted); }
.faq .answer p { margin: .4rem 0; }

.areas ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.areas li { border: 2px solid var(--red); color: var(--oxblood-deep); font-weight: 700; padding: .5rem; border-radius: var(--radius); font-size: .94rem; text-align: center; }

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

.company-info { background: var(--bg-alt); border-top: 1px solid var(--line); }
.company-info ol { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
@media (min-width: 720px) { .company-info ol { grid-template-columns: 1fr 1fr; } }
.company-info li { padding-left: .9rem; border-left: 4px solid var(--red); }
.company-info li b { display: block; color: var(--oxblood); }

.site-footer { background: var(--oxblood-deep); color: #c99f9f; padding: 1.6rem 0; font-size: .9rem; }
.site-footer a { color: #ffb3b3; }
.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(--oxblood-deep); border-top: 3px solid var(--red); padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); }
.sticky-call a { display: block; background: var(--red); 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 h1 { font-size: 1.65rem; }
}
