/* Daytona Electrical — engaging redesign
   Fonts: Raleway (body) + Zilla Slab (headings)
   Brand: orange #F28B31 | navy #22304E */

:root {
  --orange: #F28B31;
  --orange-dark: #d97a22;
  --bar-orange: #E68A3E;
  --navy: #22304E;
  --navy-deep: #171f33;
  --ink: #1a1a1a;
  --grey: #555;
  --light: #f7f5f2;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(23, 31, 51, .10);
  --max: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
}

h1, h2, h3, h4 {
  font-family: 'Zilla Slab', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: .55em;
  color: var(--navy);
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1.1em; }
ul, ol { margin: 0 0 1.2em 1.4em; }
li { margin-bottom: .45em; }

a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  border: 2px solid var(--orange);
  color: var(--orange);
  background: transparent;
  padding: 13px 30px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  transition: all .18s ease;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
}
.btn:hover { background: var(--orange); color: #fff; text-decoration: none; transform: translateY(-2px); }
.btn.solid { background: var(--orange); color: #fff; box-shadow: 0 4px 14px rgba(242,139,49,.4); }
.btn.solid:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn.ghost { border-color: #fff; color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--navy); }
.btn.big { font-size: 1.15rem; padding: 16px 38px; }

/* ---------- announcement bar ---------- */
.announce {
  background: var(--bar-orange);
  text-align: center;
  padding: 11px 44px;
  position: relative;
  z-index: 60;
}
.announce a { color: #fff; font-weight: 700; text-decoration: underline; font-size: .95rem; }
.announce .close {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none; border: 0;
  color: #fff; font-size: 1.25rem; cursor: pointer; line-height: 1;
}

/* ---------- header ---------- */
header.site {
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo img { width: 265px; }

nav.main ul {
  list-style: none; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: flex-end;
  gap: 4px 20px; align-items: center;
}
nav.main a { color: var(--ink); font-size: .97rem; font-weight: 600; padding: 4px 0; }
nav.main a:hover, nav.main a.active { color: var(--orange); text-decoration: none; }

.header-right { display: flex; align-items: center; gap: 14px; order: 3; }
.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo { order: 1; }
nav.main { order: 2; flex: 1 1 auto; }
.header-actions .phone-cta {
  font-family: 'Zilla Slab', serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
  white-space: nowrap;
}
.header-actions .phone-cta:hover { color: var(--orange); text-decoration: none; }
.header-actions .btn { padding: 10px 22px; }

.nav-toggle {
  display: none;
  background: #fff;
  border: 2px solid var(--orange);
  border-radius: 8px;
  color: var(--orange);
  font-family: inherit;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  padding: 9px 12px;
  cursor: pointer;
  white-space: nowrap;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}
.hero .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.95);
}
.hero .veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(23,31,51,.92) 25%, rgba(23,31,51,.55) 60%, rgba(23,31,51,.25));
}
.hero .inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 84px 24px;
}
.hero.compact .inner { padding: 56px 24px; }
.hero h1 { color: #fff; max-width: 720px; text-wrap: balance; }
.hero .sub { font-size: 1.2rem; max-width: 620px; margin-bottom: 28px; color: #e8ebf2; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .kicker {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
}

/* ---------- trust badges ---------- */
.badges { background: var(--navy-deep); color: #fff; }
.badges .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 18px 24px;
  text-align: center;
}
.badges b { display: block; font-family: 'Zilla Slab', serif; font-size: 1.25rem; color: var(--orange); }
.badges span { font-size: .85rem; color: #c9cfdd; }

/* ---------- content ---------- */
main { padding: 56px 0 0; }
.content { max-width: 860px; margin: 0 auto; }
.content img { margin: 28px auto; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- home service grid ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 40px 0 64px;
}
.svc-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(23,31,51,.18); text-decoration: none; }
.svc-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.svc-card .body { padding: 20px 22px 24px; }
.svc-card h3 { margin-bottom: .3em; font-size: 1.3rem; }
.svc-card p { color: var(--grey); font-size: .95rem; margin: 0 0 12px; }
.svc-card .go { color: var(--orange); font-weight: 700; font-size: .95rem; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 8px; }
.section-head .eyebrow {
  color: var(--orange); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: .8rem;
}

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin: 64px 0; }
.split img { width: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- quote band ---------- */
.quote-band {
  background: var(--light);
  text-align: center;
  padding: 70px 24px;
  margin: 64px 0;
  border-radius: var(--radius);
}
.quote-band h3 { font-size: 1.65rem; max-width: 820px; margin: 0 auto .6em; font-style: italic; }
.quote-band h4 { color: var(--grey); font-family: 'Raleway', sans-serif; font-weight: 600; }
.quote-band .stars { color: var(--orange); font-size: 1.4rem; letter-spacing: 4px; margin-bottom: 12px; }

/* ---------- areas ---------- */
.areas { text-align: center; margin: 64px 0; }
.areas .list { color: var(--grey); font-size: .92rem; max-width: 1000px; margin: 0 auto; }

/* ---------- mid-page callout ---------- */
.callout {
  background: linear-gradient(120deg, var(--navy) 0%, #2e3f66 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 44px;
  margin: 48px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.callout h3 { color: #fff; margin: 0 0 4px; }
.callout p { margin: 0; color: #dfe4ee; }

/* ---------- packages ---------- */
.package {
  border: 1px solid #eee;
  border-top: 5px solid var(--orange);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 36px;
  margin: 40px 0;
}

/* ---------- calculator ---------- */
.calc {
  background: var(--light);
  border-radius: var(--radius);
  border: 1px solid #eadfd2;
  padding: 40px;
  margin: 56px auto;
  max-width: 860px;
  scroll-margin-top: 110px;
}
.calc .calc-head { text-align: center; margin-bottom: 26px; }
.calc .calc-head .eyebrow { color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
.calc .row { margin-bottom: 22px; }
.calc label.q { display: block; font-weight: 700; margin-bottom: 8px; }
.calc .opts { display: flex; flex-wrap: wrap; gap: 10px; }
.calc .opt {
  border: 2px solid #ddd; border-radius: 50px;
  padding: 9px 18px; cursor: pointer; background: #fff;
  font-weight: 600; font-size: .93rem; font-family: inherit;
  transition: all .15s;
}
.calc .opt:hover { border-color: var(--orange); }
.calc .opt.sel { border-color: var(--orange); background: var(--orange); color: #fff; }
.calc input[type=range] { width: 100%; accent-color: var(--orange); }
.calc .range-val { font-weight: 700; color: var(--navy); }
.calc .total {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  text-align: center;
  padding: 22px;
  margin: 26px 0 8px;
}
.calc .total .amount { font-family: 'Zilla Slab', serif; font-size: 2.3rem; color: var(--orange); font-weight: 600; }
.calc .total .note { font-size: .85rem; color: #c9cfdd; }
.calc .fine { font-size: .82rem; color: var(--grey); text-align: center; margin-bottom: 22px; }
.calc .estimate-form { border-top: 2px dashed #d8cdbf; padding-top: 26px; margin-top: 8px; }
.calc .estimate-form h4 { text-align: center; font-size: 1.25rem; }
.calc .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.calc .form-grid .full { grid-column: 1 / -1; }

/* ---------- lead band (every page, pre-footer) ---------- */
.lead-band {
  background: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 55%, #33456e 100%);
  color: #fff;
  padding: 70px 0;
  margin-top: 72px;
}
.lead-band .cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.lead-band h2 { color: #fff; }
.lead-band .phone {
  font-size: 2.1rem; font-family: 'Zilla Slab', serif;
  color: var(--orange); display: inline-block; margin: 6px 0; font-weight: 600;
}
.lead-band p { color: #dfe4ee; }
.lead-band ul { list-style: none; margin: 18px 0 0; }
.lead-band ul li { padding-left: 30px; position: relative; margin-bottom: 10px; color: #dfe4ee; }
.lead-band ul li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.lead-card {
  background: #fff; color: var(--ink);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.lead-card h3 { margin-bottom: 4px; }
.lead-card .sub { color: var(--grey); font-size: .93rem; margin-bottom: 18px; }

/* ---------- forms ---------- */
form .field { margin-bottom: 16px; }
form label { display: block; font-weight: 600; margin-bottom: 5px; font-size: .95rem; }
form .req { color: var(--grey); font-weight: 400; font-size: .82rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}
input:focus, textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
textarea { min-height: 110px; resize: vertical; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.checks label { font-weight: 400; display: flex; gap: 8px; align-items: center; }

/* ---------- footer ---------- */
footer.site { background: var(--navy-deep); color: #cfd4e0; padding: 56px 0 90px; font-size: .95rem; }
.footer-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
footer.site h4 { color: #fff; font-family: 'Raleway', sans-serif; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: .9rem; }
footer.site ul { list-style: none; margin: 0; }
footer.site a { color: #cfd4e0; }
footer.site a:hover { color: var(--orange); }
.footer-legal { border-top: 1px solid #2c3650; padding-top: 24px; color: #8a92a8; font-size: .85rem; text-align: center; }

/* ---------- mobile sticky call bar ---------- */
.callbar {
  position: fixed; bottom: 0; left: 0; right: 0;
  display: none;
  z-index: 70;
  box-shadow: 0 -4px 18px rgba(0,0,0,.18);
}
.callbar a {
  flex: 1; text-align: center; padding: 15px 8px;
  font-weight: 700; font-size: 1rem; color: #fff;
}
.callbar .call { background: var(--navy); }
.callbar .quote { background: var(--orange); }
.callbar a:hover { text-decoration: none; }

/* ---------- popup ---------- */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(23,31,51,.6);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup-overlay.show { display: flex; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.popup {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  padding: 40px 38px 30px;
  position: relative;
  box-shadow: 0 24px 70px rgba(0,0,0,.5);
  border-top: 6px solid var(--orange);
  max-height: 90vh;
  overflow-y: auto;
}
.popup h3 { color: #fff; font-size: 1.55rem; }
.popup ul { list-style: none; margin: 14px 0 20px; }
.popup ul li { padding-left: 28px; position: relative; margin-bottom: 9px; color: #e2e6ef; }
.popup ul li::before { content: "⚡"; position: absolute; left: 0; }
.popup .privacy { font-size: .78rem; color: #aab2c5; margin: 14px 0 0; }
.popup .close {
  position: absolute; top: 10px; right: 16px;
  background: none; border: 0; color: #fff;
  font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.popup input[type=email] { margin-bottom: 12px; }
.popup .btn { width: 100%; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  /* logo left; MENU top-right with the Free Proposal button directly beneath */
  header.site { padding: 4px 0; }
  .header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .header-inner { justify-content: center; }
  .logo { order: 1; width: 100%; display: flex; justify-content: center; }
  .logo img { display: block; width: 150px; }
  .header-right {
    order: 2; width: 100%;
    display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 12px;
  }
  .nav-toggle { display: block; font-size: 1.1rem; padding: 15px 26px; line-height: 1.2; }
  .header-actions .btn { padding: 15px 28px; font-size: 1.1rem; line-height: 1.2; }
  nav.main { order: 3; flex-basis: 100%; display: none; width: 100%; }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 16px; }
  .header-actions .phone-cta { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .split, .footer-cols, .lead-band .cols, .checks, .calc .form-grid { grid-template-columns: 1fr; }
  .badges .wrap { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.6rem; }
  .hero .inner { padding: 56px 24px; }
  .callbar { display: flex; }
  .calc { padding: 26px 20px; }
  .callout { padding: 28px 24px; }
}
