/* South East Coast Electric: Mobile, AL */
:root {
  --night: #132235;
  --night-line: #2A3C55;
  --night-text: #C3CEDB;
  --orange: #EF6B2B;
  --orange-dark: #D9561A;
  --amber: #FBB613;
  --steel: #E9EDF1;
  --white: #FFFFFF;
  --ink: #16202C;
  --muted: #4E5966;
  --link: #B4470F;
  --line: #D3DAE2;
  --font: "Kumbh Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gut: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }
h2 { font-size: clamp(34px, 3.6vw, 52px); }
h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }
figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--amber); color: var(--ink); padding: 12px 18px; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--orange-dark); outline-offset: 3px; }
.site-header :focus-visible, .hero :focus-visible, .storm :focus-visible, .site-footer :focus-visible,
.sticky-book :focus-visible, .lightbox :focus-visible { outline-color: var(--amber); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 26px; border: 2px solid transparent; border-radius: 6px; font-weight: 700; font-size: 18px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn--main { background: var(--orange); color: var(--ink); }
.btn--main:hover { background: var(--amber); }
.btn--line { border-color: rgba(255, 255, 255, .55); color: var(--white); background: transparent; }
.btn--line:hover { border-color: var(--amber); color: var(--amber); }
.stars { color: var(--amber); letter-spacing: 2px; }

/* Header */
.site-header { background: var(--night); color: var(--white); }
.site-header__in { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: 52px; }
.brand__name { font-size: 19px; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
.brand__name b { font-weight: 800; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 17px; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--amber); }
.header-phone { color: var(--white); font-weight: 800; font-size: 19px; text-decoration: none; padding: 10px 16px; border: 2px solid var(--night-line); border-radius: 6px; }
.header-phone:hover { border-color: var(--amber); }
.menu-btn { display: none; width: 52px; height: 52px; border: 2px solid var(--night-line); border-radius: 6px; background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--white); }

.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(10, 18, 29, .6); }
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(86vw, 340px); background: var(--white); padding: 84px 24px 24px; display: flex; flex-direction: column; gap: 24px; overflow-y: auto; }
.mobile-menu[hidden], .scrim[hidden] { display: none; }
.mobile-menu__close { position: absolute; top: 14px; right: 14px; width: 52px; height: 52px; border: 0; border-radius: 6px; background: var(--steel); font-size: 34px; line-height: 1; cursor: pointer; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 21px; font-weight: 700; color: var(--ink); text-decoration: none; }

/* Hero: text over a dome-shaped night photo */
.hero { background: var(--night); color: var(--white); overflow: hidden; overflow: clip; padding-top: 34px; }
.hero__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; }
.hero h1 { font-size: clamp(42px, 4.6vw, 70px); line-height: 1.02; letter-spacing: -0.03em; max-width: 13em; }
.hero__side { padding-bottom: 6px; }
.hero__lead { color: var(--night-text); font-size: 19px; max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__rating { margin-top: 16px; font-size: 17px; color: var(--night-text); }
.dome { position: relative; width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 38px auto 0; padding: 0 var(--gut); }
.dome picture { display: block; }
.dome__img { width: 100%; aspect-ratio: 2.5 / 1; object-fit: cover; object-position: 50% 86%; clip-path: ellipse(68% 100% at 50% 100%); }
.dome__arc { position: absolute; top: 0; bottom: 0; left: var(--gut); width: calc(100% - var(--gut) * 2); height: 100%; overflow: visible; pointer-events: none; }
.arc-path { fill: none; stroke: url(#swoosh); stroke-width: 6; vector-effect: non-scaling-stroke; stroke-linecap: round; }

/* Facts under the hero */
.facts { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 30px; padding-bottom: 30px; }
.facts li { padding: 2px 22px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.facts span { display: block; color: var(--muted); font-size: 16px; line-height: 1.45; margin-top: 2px; }

/* Sections */
.section { padding: 96px 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: end; margin-bottom: 48px; }
.section-head p { color: var(--muted); max-width: 34em; }

/* Services: home / shop split */
.services { border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: stretch; }
.svc + .svc { margin-top: 88px; }
.svc--flip .svc__photos { order: 2; }
.svc__photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; min-height: 440px; }
.svc__photos figure { position: relative; min-height: 0; }
.svc__photos figure:first-child { grid-row: span 2; }
.svc__photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.svc__body h3 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; padding-bottom: 18px; border-bottom: 3px solid var(--ink); }
.svc__list { margin: 0; }
.svc__list > div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; }
.svc__list dt { font-weight: 700; line-height: 1.35; }
.svc__list dd { margin: 0; color: var(--muted); line-height: 1.5; }

/* Storm season band */
.storm { background: var(--night); color: var(--white); }
.storm__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: end; margin-bottom: 48px; }
.storm__head p { color: var(--night-text); max-width: 34em; }
.storm__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 40px; }
.case img { width: 100%; border-radius: 4px; }
.case > img { aspect-ratio: 16 / 9; object-fit: cover; }
.case:not(.case--wide) > img { aspect-ratio: 4 / 3; }
.case__text { margin-top: 20px; }
.case h3 { font-size: 26px; }
.case__text > p { color: var(--night-text); margin-top: 8px; max-width: 32em; }
.case blockquote { margin-top: 18px; padding-left: 18px; border-left: 4px solid var(--amber); }
.case blockquote p { color: var(--white); font-size: 18px; line-height: 1.5; }
.case blockquote footer { margin-top: 8px; color: var(--night-text); font-size: 15px; }
.case__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.case__pair figure { position: relative; }
.case__pair img { aspect-ratio: 1 / 1; object-fit: cover; }
.case__pair figure:first-child img { object-position: 50% 35%; }
.case__pair figcaption { position: absolute; left: 10px; bottom: 10px; background: var(--night); color: var(--white); font-size: 15px; font-weight: 700; padding: 3px 10px; border-radius: 3px; }
.case__pair figure:last-child figcaption { background: var(--amber); color: var(--ink); }
.storm__quote { margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--night-line); display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; align-items: end; }
.storm__quote blockquote { font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.storm__quote figcaption { color: var(--night-text); font-size: 16px; }

/* Before and after */
.upgrades { background: var(--steel); }
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
.ba img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: var(--white); }
.ba figcaption { margin-top: 12px; font-weight: 700; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 12px; }
.shot { position: relative; display: block; padding: 0; border: 0; background: var(--steel); cursor: zoom-in; overflow: hidden; border-radius: 4px; }
.shot--wide { grid-column: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.shot:hover img { transform: scale(1.03); }

/* Reviews */
.reviews { background: var(--steel); }
.reviews__top { display: flex; align-items: center; gap: 36px; margin-bottom: 44px; }
.score { display: flex; align-items: center; gap: 16px; padding-right: 36px; border-right: 1px solid var(--line); }
.score__num { font-size: 88px; font-weight: 800; line-height: .9; letter-spacing: -0.04em; }
.score__txt { font-size: 16px; color: var(--muted); line-height: 1.5; }
.reviews__fb { margin-top: 8px; color: var(--muted); font-size: 16px; }
.lead-quote { max-width: 980px; padding-left: 24px; border-left: 5px solid var(--orange); }
.lead-quote blockquote p { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.45; font-weight: 600; letter-spacing: -0.01em; }
.lead-quote figcaption { margin-top: 12px; color: var(--muted); font-weight: 700; font-size: 16px; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; margin-top: 56px; }
.quotes figure { padding-top: 18px; border-top: 2px solid var(--ink); }
.quotes blockquote { line-height: 1.55; }
.quotes figcaption { margin-top: 10px; color: var(--muted); font-size: 16px; font-weight: 700; }

/* About */
.about__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.about__photos { position: relative; padding-bottom: 72px; }
.about__main { width: 82%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.about__truck { position: absolute; right: 0; bottom: 0; width: 66%; border-radius: 4px; border: 6px solid var(--white); box-shadow: 0 0 0 1px var(--line); }
.about__lead { font-size: clamp(21px, 1.8vw, 25px); font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; margin-top: 22px; }
.about__body > p:not(.about__lead) { margin-top: 16px; color: var(--muted); max-width: 36em; }
.about__facts { list-style: none; margin: 26px 0 0; padding: 0; }
.about__facts li { padding: 12px 0 12px 26px; border-top: 1px solid var(--line); position: relative; font-weight: 600; }
.about__facts li::before { content: ""; position: absolute; left: 0; top: 22px; width: 12px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--orange), var(--amber)); }
.about__facts li:last-child { border-bottom: 1px solid var(--line); }
.area { margin-top: 40px; }
.area h3 { font-size: 22px; }
.area__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 14px; }
.area__cols p { font-size: 22px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.area__cols span { display: block; font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 4px; }

/* Contact */
.contact { background: var(--steel); }
.contact__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.contact__info > p { margin-top: 14px; color: var(--muted); }
.contact__phone { display: inline-block; margin-top: 22px; font-size: clamp(34px, 3.4vw, 46px); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; line-height: 1.1; }
.contact__phone:hover { color: var(--link); }
.contact__alt { margin-top: 12px; line-height: 1.7; color: var(--muted); overflow-wrap: anywhere; }
.hours { margin-top: 26px; border-collapse: collapse; width: 100%; max-width: 440px; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 800; }
.quote { background: var(--white); padding: 34px; border-radius: 6px; border-top: 6px solid var(--orange); }
.field + .field { margin-top: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid #B9C3CE; border-radius: 6px; background: var(--white); font-size: 18px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(239, 107, 43, .35); }
.quote .btn { margin-top: 22px; width: 100%; }
.form-err { margin-top: 16px; color: #A3240E; font-weight: 700; }
.form-note { margin-top: 12px; font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }

/* Footer */
.site-footer { position: relative; background: var(--night); color: var(--night-text); padding: 40px 0 48px; }
.footer-arc { position: absolute; left: 0; top: -56px; width: 100%; height: 57px; overflow: hidden; }
.footer-arc__fill { fill: var(--night); }
.footer-arc__line { fill: none; stroke: url(#swoosh2); stroke-width: 4; vector-effect: non-scaling-stroke; }
.site-footer__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.site-footer__brand { display: flex; gap: 18px; align-items: center; }
.site-footer__brand img { width: 84px; height: 84px; }
.site-footer__brand strong { color: var(--white); font-size: 20px; }
.site-footer__links { display: flex; flex-direction: column; gap: 6px; }
.site-footer a { color: var(--white); text-decoration: none; overflow-wrap: anywhere; padding: 4px 0; }
.site-footer a:hover { color: var(--amber); }
.site-footer__copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: 15px; }

.sticky-book { display: none; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0A121C; color: var(--white); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox img { max-width: min(92vw, 1280px); max-height: 76vh; width: auto; height: auto; object-fit: contain; }
.lightbox__cap { position: absolute; left: 16px; right: 16px; bottom: 96px; text-align: center; font-size: 17px; }
.lightbox__bar { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 12px; }
.lightbox__btn { width: 56px; height: 56px; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .14); color: var(--white); font-size: 32px; line-height: 1; cursor: pointer; }
.lightbox__btn:hover { background: var(--orange); color: var(--ink); }

/* Tablet */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav a { font-size: 16px; }
  .brand__name { font-size: 17px; }
  .header-phone { display: none; }
}
@media (max-width: 980px) {
  :root { --gut: 24px; }
  .nav { display: none; }
  .header-phone { display: inline-block; }
  .menu-btn { display: flex; }
  .hero__top { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 72px 0; }
  .section-head, .storm__head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 36px; }
  .svc { grid-template-columns: 1fr; gap: 28px; }
  .svc--flip .svc__photos { order: 0; }
  .storm__grid { grid-template-columns: 1fr; }
  .storm__quote { grid-template-columns: 1fr; gap: 14px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 260px; }
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__in, .contact__in { grid-template-columns: 1fr; gap: 44px; }
  .about__photos { max-width: 560px; }
}

/* Phone */
@media (max-width: 760px) {
  :root { --gut: 16px; }
  body { font-size: 18px; padding-bottom: 0; }
  .site-header__in { min-height: 70px; gap: 10px; }
  .brand img { width: 46px; height: 46px; }
  .brand__name { font-size: 16px; }
  .header-phone { display: none; }
  .hero { padding-top: 30px; }
  .hero h1 { font-size: clamp(36px, 10.4vw, 46px); }
  .hero__lead { font-size: 18px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .dome { margin-top: 34px; }
  .dome__img { aspect-ratio: 3 / 2; object-position: 50% 50%; }
  .facts li { padding: 0 14px; }
  .facts strong { font-size: 18px; }
  .facts span { font-size: 15px; }
  .section { padding: 60px 0; }
  .svc__body h3 { font-size: 26px; }
  .svc__list > div { grid-template-columns: 1fr; gap: 4px; }
  .svc + .svc { margin-top: 64px; }
  .svc__photos { min-height: 380px; }
  .ba-grid { grid-template-columns: 1fr; gap: 26px; }
  .gallery { grid-auto-rows: 200px; gap: 8px; }
  .quotes { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  .reviews__top { flex-direction: column; align-items: flex-start; gap: 18px; }
  .score { border-right: 0; padding-right: 0; }
  .score__num { font-size: 72px; }
  .lead-quote { padding-left: 16px; }
  .about__photos { padding-bottom: 56px; }
  .area__cols { grid-template-columns: 1fr; gap: 14px; }
  .quote { padding: 22px 18px; }
  .contact { padding-bottom: 96px; }
  .site-footer { padding-bottom: 110px; }
  .site-footer__in { grid-template-columns: 1fr; }
  .sticky-book { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--night); border-top: 3px solid var(--orange); transform: translateY(110%); transition: transform .25s ease; }
  .sticky-book.is-visible { transform: none; }
  .sticky-book .btn { flex: 1; min-height: 52px; padding: 10px 12px; }
  .lightbox__cap { bottom: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shot img, .sticky-book, .btn { transition: none; }
  .shot:hover img { transform: none; }
}
