/* ============================================================
   Noyes Electric · stylesheet
   Tokens, base, components, page-specific layouts.
   ============================================================ */

/* ---- Tokens (navy + electric gold) ---- */
:root {
  --navy: #0f1a2e;
  --navy-2: #182740;
  --navy-3: #213354;
  --gold: #e6a821;
  --gold-2: #c89117;
  --gold-soft: #fff8e6;
  --cream: #fbf7ef;
  --paper: #ffffff;
  --ink: #0a1322;
  --muted: #5a6477;
  --muted-2: #8a91a0;
  --line: #e6e1d4;
  --line-strong: #d2ccba;
  --success: #059669;
  --success-bg: #ecfdf5;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-1: 0 1px 2px rgba(15,26,46,.06), 0 4px 16px rgba(15,26,46,.06);
  --shadow-2: 0 10px 40px rgba(15,26,46,.18);
  --container: 1180px;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", "Inter", Georgia, serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
@media (max-width: 600px) { .container { padding: 0 18px; } }

h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.015em; line-height: 1.1; margin: 0; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
h4 { font-size: 1.02rem; font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
  font-size: .75rem;
  color: var(--gold-2);
  margin-bottom: 12px;
}
.eyebrow--light { color: #f6d27a; }
.accent { color: var(--gold); font-style: italic; font-family: var(--font-display); }

/* ---- Trust banner ---- */
.alert-bar { background: var(--navy); color: #fff; font-size: .92rem; border-bottom: 2px solid var(--gold); }
.alert-bar__inner { display: flex; align-items: center; gap: 14px; padding: 10px 24px; flex-wrap: wrap; }
.alert-bar strong { font-weight: 700; }
.alert-dot { width: 9px; height: 9px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 0 rgba(230,168,33,.7); animation: pulse 1.8s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(230,168,33,.7); }
  70% { box-shadow: 0 0 0 10px rgba(230,168,33,0); }
  100% { box-shadow: 0 0 0 0 rgba(230,168,33,0); }
}
.alert-bar__cta {
  margin-left: auto;
  background: var(--gold);
  color: var(--navy);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
}
@media (max-width: 720px) {
  .alert-bar { display: none; }
}

/* ---- Header ---- */
.header { background: var(--cream); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; padding: 14px 24px; }
.logo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo__mark { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 8px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.logo__name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo__name em { color: var(--gold-2); font-style: italic; }
.logo__sub { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }

.nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav a { font-size: .94rem; font-weight: 500; color: var(--navy); position: relative; padding: 4px 0; }
.nav a:hover { color: var(--gold-2); }
.nav a.is-current { color: var(--gold-2); }
.nav a.is-current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--gold);
}
.nav__cta {
  background: var(--navy);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
}
.nav__cta::after { display: none !important; }
.nav__cta:hover { background: var(--gold-2); }

.header__call {
  display: none;
  align-items: center; gap: 6px;
  background: var(--gold); color: var(--navy);
  padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem;
}
.menu-toggle {
  display: none;
  background: transparent; border: 1.5px solid var(--line-strong); color: var(--navy);
  width: 42px; height: 42px; border-radius: 10px;
  align-items: center; justify-content: center;
  margin-left: 8px;
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 980px) {
  .nav { display: none; }
  .header__call { display: inline-flex; margin-left: auto; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 520px) {
  .header__inner { gap: 10px; padding: 12px 16px; }
  .logo__name { font-size: .92rem; }
  .logo__name em { display: none; }
  .logo__sub { font-size: .68rem; }
  .header__call { padding: 8px 12px; font-size: .82rem; }
}

/* ---- Mobile menu overlay ---- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 70;
  background: var(--navy); color: #fff;
  display: flex; flex-direction: column;
  padding: 24px;
  transform: translateY(-100%);
  transition: transform .3s ease;
  visibility: hidden;
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.mobile-nav__close {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff;
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav__brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; }
.mobile-nav__brand svg { width: 32px; height: 32px; }
.mobile-nav__links { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mobile-nav__links a {
  padding: 14px 4px; font-size: 1.3rem; font-family: var(--font-display); font-weight: 500;
  color: #fff; border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav__links a.is-current { color: var(--gold); }
.mobile-nav__cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px;
}
.mobile-nav__cta a {
  padding: 14px; border-radius: 12px; text-align: center; font-weight: 700;
}
.mobile-nav__cta a:first-child { background: var(--gold); color: var(--navy); }
.mobile-nav__cta a:last-child { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: .98rem;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--gold); color: var(--navy); }
.btn--primary:hover { background: var(--gold-2); color: #fff; }
.btn--ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255,255,255,.18); }
.btn--outline {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-3); color: var(--gold); }
.btn--block { display: flex; justify-content: center; width: 100%; }

/* ---- Hero (home) ---- */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; padding: 80px 0 100px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img,
.hero__media .hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(15,26,46,.92) 0%, rgba(15,26,46,.74) 45%, rgba(15,26,46,.25) 75%, rgba(15,26,46,0) 100%),
    linear-gradient(0deg, rgba(15,26,46,.40), rgba(15,26,46,.40));
}
.hero__content { position: relative; z-index: 1; color: #fff; max-width: 720px; }
.hero__content h1 { color: #fff; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  padding: 7px 14px; border-radius: 999px;
  font-size: .82rem; font-weight: 500;
  margin-bottom: 22px;
}
.badge-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 4px rgba(230,168,33,.25); }
.hero__lede { font-size: 1.18rem; opacity: .92; margin: 18px 0 28px; max-width: 600px; line-height: 1.5; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips li {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 6px 12px; border-radius: 999px;
  font-size: .82rem; font-weight: 500;
}

/* ---- Page hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 90% 10%, rgba(230,168,33,.12), transparent 70%),
    radial-gradient(600px 300px at 10% 90%, rgba(230,168,33,.06), transparent 70%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 760px; font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero p.lede { font-size: 1.15rem; opacity: .88; max-width: 640px; margin-top: 18px; line-height: 1.55; }
.page-hero .eyebrow { color: #f6d27a; }
.breadcrumb {
  display: flex; gap: 8px; font-size: .85rem; opacity: .7; margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--gold); opacity: 1; }
.breadcrumb span { opacity: .5; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---- Trust strip ---- */
.strip { background: var(--navy); color: #fff; padding: 22px 0; border-top: 1px solid rgba(230,168,33,.2); }
.strip__inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.strip__item strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--gold); font-weight: 600; }
.strip__item span { font-size: .82rem; opacity: .7; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 700px) { .strip__inner { grid-template-columns: repeat(2,1fr); gap: 18px; } }

/* ---- Sections ---- */
.section { padding: 100px 0; }
@media (max-width: 700px) { .section { padding: 64px 0; } .quote-section { padding: 64px 0 100px; } }
.section--alt { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--tight { padding: 60px 0; }
.quote-section { background: var(--navy); color: #fff; padding: 100px 0 140px; }
.quote-section h2 { color: #fff; }

.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head--split {
  display: flex; align-items: flex-end; justify-content: space-between;
  text-align: left; max-width: none; gap: 32px; flex-wrap: wrap;
}
.section__head--split .eyebrow, .section__head--split h2 { text-align: left; }
.section__head--left { max-width: 720px; margin: 0 0 48px; text-align: left; }
.section__lede { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }
.section--navy .section__lede { color: rgba(255,255,255,.78); }

/* ---- Services grid ---- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.services .svc--feature { grid-column: span 3; }
@media (max-width: 980px) { .services { grid-template-columns: repeat(2,1fr); } .services .svc--feature { grid-column: span 2; } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } .services .svc--feature { grid-column: span 1; } }

.svc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-decoration: none; color: inherit;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.svc--feature { flex-direction: row; align-items: stretch; }
.svc--feature .svc__img { width: 52%; aspect-ratio: auto; }
.svc--feature .svc__body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 820px) { .svc--feature { flex-direction: column; } .svc--feature .svc__img { width: 100%; aspect-ratio: 4/3; } }

.svc__img { aspect-ratio: 4/3; overflow: hidden; background: var(--line); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc:hover .svc__img img { transform: scale(1.04); }
.svc__icon {
  width: 56px; height: 56px;
  margin: 28px 28px 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.svc__body { padding: 22px 26px 28px; }
.svc__body p { color: var(--muted); margin: 8px 0 0; }
.svc__body ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); }
.svc__body ul li { margin: 4px 0; }
.svc__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-weight: 600; color: var(--gold-2); font-size: .92rem;
  border-bottom: 1px solid transparent;
}
.svc:hover .svc__link { border-bottom-color: var(--gold-2); }

/* ---- About ---- */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 36px; } }
.about__copy p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.about__list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.about__list li {
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: .98rem;
}
.about__list strong { color: var(--navy); }

.about__card {
  background: var(--navy);
  color: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  position: sticky; top: 90px;
  border-top: 3px solid var(--gold);
}
.about__card h3 { color: #fff; margin-top: 6px; }
.about__card-head { margin-bottom: 18px; }
.towns { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; font-size: .94rem; }
.towns li { display: flex; align-items: center; gap: 8px; }
.towns li::before {
  content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex: 0 0 6px;
}
.about__card-note { margin-top: 22px; font-size: .88rem; opacity: .75; }

/* ---- Projects ---- */
.more { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: stretch; }
@media (max-width: 900px) { .more { grid-template-columns: 1fr; } }
.more__img { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; background: var(--navy); }
.more__img img, .more__img video { width: 100%; height: 100%; object-fit: cover; }
.more__img-caption {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(15,26,46,.85); color: #fff;
  padding: 6px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 600;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(230,168,33,.4);
}
.more__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .more__grid { grid-template-columns: 1fr; } }
.more__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.more__item h3 { margin-bottom: 6px; }
.more__item p { color: var(--muted); font-size: .94rem; margin: 0; }
.more__item--cta { background: var(--navy); color: #fff; border-color: var(--navy); }
.more__item--cta h3 { color: #fff; }
.more__item--cta p { color: rgba(255,255,255,.75); }
.more__item--featured { grid-column: span 2; background: #fff8e6; border-color: #f1dca0; }
@media (max-width: 560px) { .more__item--featured { grid-column: span 1; } }
.link-arrow { display: inline-block; margin-top: 12px; color: var(--gold); font-weight: 600; border-bottom: 1px solid rgba(230,168,33,.4); padding-bottom: 2px; }
.link-arrow:hover { border-bottom-color: var(--gold); color: #fff; }

/* ---- Reviews ---- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }
.reviews--two-col { grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .reviews--two-col { grid-template-columns: 1fr; } }
.review {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column;
}
.section--alt .review { background: var(--cream); }
.section--cream .review { background: var(--paper); }
.review__stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 10px; }
.review blockquote { margin: 0; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.45; color: var(--navy); }
.review footer { margin-top: auto; padding-top: 16px; font-size: .88rem; color: var(--muted); }
.review footer strong { color: var(--navy); display: block; }
.review__source {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; color: var(--muted-2);
  margin-top: 6px;
  text-transform: uppercase; letter-spacing: .06em; font-weight: 600;
}
.reviews__cta { text-align: center; margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Review filter tabs */
.review-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 36px; justify-content: center;
}
.review-tab {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  font-size: .92rem; font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all .15s ease;
}
.review-tab:hover { border-color: var(--navy); }
.review-tab.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.review-tab .count {
  display: inline-block; margin-left: 6px;
  background: rgba(255,255,255,.15); color: inherit;
  padding: 1px 8px; border-radius: 999px;
  font-size: .76rem; font-weight: 700;
}
.review-tab:not(.is-active) .count { background: var(--cream); color: var(--muted); }

/* Review summary card */
.review-summary {
  display: grid; grid-template-columns: 1fr 2fr; gap: 36px;
  padding: 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
  align-items: center;
}
@media (max-width: 760px) { .review-summary { grid-template-columns: 1fr; gap: 24px; padding: 28px; text-align: center; } }
.review-summary__score {
  font-family: var(--font-display);
  font-size: 4.2rem; font-weight: 600;
  color: var(--navy);
  line-height: 1;
}
.review-summary__stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 3px; margin-top: 6px; }
.review-summary__count { color: var(--muted); font-size: .92rem; margin-top: 8px; }
.review-summary__breakdown { display: grid; gap: 10px; }
.review-summary__source {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: var(--cream);
  border-radius: 12px;
  font-size: .94rem;
}
.review-summary__source strong { color: var(--navy); font-weight: 600; }
.review-summary__source .stars { color: var(--gold); letter-spacing: 2px; }

/* ---- Quote form ---- */
.quote { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.quote > * { min-width: 0; }
@media (max-width: 900px) { .quote { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.quote__intro p { color: rgba(255,255,255,.78); margin-top: 14px; max-width: 460px; }
.quote__contact { display: grid; gap: 12px; margin-top: 30px; }
.quote__line {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.quote__line:hover { background: var(--navy-3); border-color: rgba(230,168,33,.35); transform: translateY(-1px); }
.quote__line svg { color: var(--gold); flex: 0 0 20px; }
.quote__line span { display: block; font-size: .78rem; opacity: .65; text-transform: uppercase; letter-spacing: .08em; }
.quote__line strong { display: block; font-size: 1.02rem; font-weight: 600; word-break: break-all; min-width: 0; }
.quote__line > div { min-width: 0; flex: 1; }
.quote__placeholder-note { margin-top: 14px; font-size: .82rem; color: #f6d27a; font-style: italic; }

.quote__form {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-2);
  position: relative;
}
.progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress__fill { height: 100%; background: var(--gold); transition: width .35s ease; }
.progress__label { font-size: .78rem; color: var(--muted); margin: 8px 0 24px; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }

.step { border: none; padding: 0; margin: 0; display: none; }
.step.is-active { display: block; animation: fade .25s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step legend {
  font-family: var(--font-display); font-size: 1.45rem; color: var(--navy); font-weight: 600;
  padding: 0; margin-bottom: 18px; line-height: 1.2;
}

.choices { display: grid; gap: 10px; }
.choices--grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .choices--grid { grid-template-columns: 1fr; } }
.choices label {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  font-size: .98rem;
  font-weight: 500;
}
.choices label:hover { border-color: var(--navy); }
.choices input { accent-color: var(--gold-2); width: 18px; height: 18px; flex: 0 0 18px; }
.choices label:has(input:checked) { border-color: var(--gold-2); background: var(--gold-soft); }

.field { display: block; margin-bottom: 16px; }
.field > span {
  display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 8px;
}
.field em { font-weight: 400; color: var(--muted); font-style: normal; }
.field input, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-2); }
.field--check { display: flex; align-items: center; gap: 10px; }
.field--check input { accent-color: var(--gold-2); width: 18px; height: 18px; }
.field--check span { margin: 0; font-weight: 500; }

.form-actions { display: flex; gap: 10px; margin-top: 24px; justify-content: space-between; }
.form-actions .btn--ghost { background: transparent; color: var(--muted); border-color: var(--line-strong); }
.form-actions .btn--ghost:hover { color: var(--navy); border-color: var(--navy); background: transparent; }
.form-actions .btn--ghost:disabled { opacity: .4; cursor: not-allowed; }

.step--done { display: none; }
.step--done.is-active { display: block; }
.done { text-align: center; padding: 12px 0 4px; }
.done__icon {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--success-bg); color: var(--success);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.done h3 { font-size: 1.6rem; margin-bottom: 8px; }
.done p { color: var(--muted); margin-bottom: 22px; }
.done__ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.done__note { margin-top: 22px; font-size: .82rem; color: var(--muted); font-style: italic; }

/* ---- Footer ---- */
.footer { background: var(--navy); color: #fff; padding: 64px 0 24px; border-top: 3px solid var(--gold); }
.footer__inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; align-items: start; }
@media (max-width: 800px) { .footer__inner { grid-template-columns: 1fr; gap: 32px; } }
.footer__brand { display: flex; gap: 14px; align-items: center; }
.footer__brand strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.footer__brand span { font-size: .85rem; opacity: .7; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 600px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
.footer__cols h4 { color: var(--gold); font-family: var(--font-sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; font-weight: 700; }
.footer__cols a, .footer__cols span { display: block; color: rgba(255,255,255,.78); font-size: .94rem; padding: 3px 0; }
.footer__cols a:hover { color: var(--gold); }
.footer__legal {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: .82rem; opacity: .55;
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}

/* ---- Mobile sticky bar ---- */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  z-index: 60;
  gap: 8px;
  box-shadow: 0 -8px 24px rgba(15,26,46,.08);
}
.mobile-bar__btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: .92rem;
}
.mobile-bar__btn--call { background: var(--gold); color: var(--navy); }
.mobile-bar__btn--text { background: var(--navy); color: #fff; }
.mobile-bar__btn--quote { background: var(--cream); color: var(--navy); border: 1px solid var(--line-strong); }
@media (max-width: 720px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 80px; }
}

/* ============================================================
   Service detail page components
   ============================================================ */
.service-detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .service-detail { grid-template-columns: 1fr; gap: 32px; } }

.service-detail__main h2 { margin-top: 48px; }
.service-detail__main h2:first-child { margin-top: 0; }
.service-detail__main h3 { margin-top: 32px; color: var(--navy); }
.service-detail__main p { color: var(--ink); margin: 14px 0; line-height: 1.65; font-size: 1.04rem; }
.service-detail__main p.lede { font-size: 1.18rem; color: var(--navy); font-family: var(--font-display); font-weight: 500; line-height: 1.4; }
.service-detail__main ul { padding-left: 0; list-style: none; margin: 18px 0; }
.service-detail__main ul li {
  position: relative; padding-left: 30px; margin: 10px 0;
  color: var(--ink); line-height: 1.55;
}
.service-detail__main ul li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 14px; height: 14px;
  background: var(--gold);
  clip-path: polygon(35% 0, 100% 0, 65% 100%, 0 100%);
}
.service-detail__main img {
  border-radius: var(--radius-lg);
  margin: 28px 0;
  box-shadow: var(--shadow-1);
}

.service-detail__aside { position: sticky; top: 90px; }
.aside-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 18px;
}
.aside-card--dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.aside-card--dark h3 { color: #fff; }
.aside-card--dark p { color: rgba(255,255,255,.78); }
.aside-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.aside-card p { color: var(--muted); font-size: .94rem; line-height: 1.55; }
.aside-card .btn { margin-top: 16px; }
.aside-card ul { list-style: none; padding: 0; margin: 12px 0 0; }
.aside-card ul li {
  padding: 10px 0;
  font-size: .94rem;
  border-bottom: 1px solid var(--line);
  display: flex; gap: 10px; align-items: flex-start;
}
.aside-card--dark ul li { border-bottom-color: rgba(255,255,255,.1); }
.aside-card ul li:last-child { border-bottom: none; }
.aside-card ul li svg { flex: 0 0 18px; color: var(--gold); margin-top: 2px; }

/* Process steps */
.process { display: grid; gap: 18px; margin: 28px 0; }
.process__step {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 22px 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.process__num {
  width: 56px; height: 56px;
  background: var(--navy); color: var(--gold);
  font-family: var(--font-display); font-weight: 600; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
}
.process__step h4 { font-size: 1.08rem; margin-bottom: 4px; color: var(--navy); }
.process__step p { color: var(--muted); margin: 0; font-size: .96rem; line-height: 1.55; }

/* FAQ accordion */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.section--alt .faq__item { background: var(--cream); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.08rem; font-weight: 500;
  color: var(--navy);
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  font-size: 1.5rem; color: var(--gold-2);
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-soft);
  border-radius: 50%;
  flex: 0 0 28px;
  transition: transform .2s ease;
  font-weight: 400;
}
.faq__item[open] .faq__q::after { content: "−"; transform: rotate(0); }
.faq__a {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.6;
}
.faq__a p { margin: 0 0 10px; }
.faq__a p:last-child { margin-bottom: 0; }

/* CTA strip */
.cta-strip {
  background: var(--navy);
  color: #fff;
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% 50%, rgba(230,168,33,.12), transparent 70%);
  pointer-events: none;
}
.cta-strip__inner { position: relative; z-index: 1; }
.cta-strip h2 { color: #fff; max-width: 700px; margin: 0 auto; }
.cta-strip p { opacity: .8; margin-top: 12px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-strip__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ============================================================
   Service area page
   ============================================================ */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 900px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .area-grid { grid-template-columns: 1fr; } }
.area-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.area-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); border-color: var(--line-strong); }
.area-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.area-card h3 { color: var(--navy); }
.area-card__dist { font-size: .78rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.area-card p { color: var(--muted); margin: 8px 0 14px; font-size: .94rem; line-height: 1.55; }
.area-card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.area-card__chips span {
  font-size: .74rem; padding: 4px 10px;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 999px; color: var(--navy); font-weight: 500;
}

/* ============================================================
   About page extra
   ============================================================ */
.about-hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } }
.about-hero__media {
  aspect-ratio: 4/5;
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-2);
}
.about-hero__media video, .about-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.about-hero__media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(0deg, rgba(15,26,46,.7), transparent);
}
.about-hero__caption {
  position: absolute; left: 24px; bottom: 24px; color: #fff;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 500;
  z-index: 1;
}

.timeline { margin-top: 32px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 22px; top: 12px; bottom: 12px;
  width: 2px; background: var(--line-strong);
}
.timeline__item {
  position: relative;
  padding: 12px 0 24px 60px;
}
.timeline__item::before {
  content: ""; position: absolute; left: 14px; top: 20px;
  width: 18px; height: 18px; background: var(--gold);
  border: 3px solid var(--cream);
  border-radius: 50%; z-index: 1;
}
.section--alt .timeline__item::before { border-color: var(--paper); }
.timeline__year {
  display: block; font-family: var(--font-display); font-weight: 600;
  color: var(--gold-2); font-size: .92rem; margin-bottom: 4px;
  letter-spacing: .04em;
}
.timeline__item h4 { margin-bottom: 6px; }
.timeline__item p { color: var(--muted); font-size: .98rem; margin: 0; line-height: 1.6; }

/* ============================================================
   Pricing / what we charge
   ============================================================ */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
@media (max-width: 700px) { .pricing { grid-template-columns: 1fr; } }
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.price-card strong {
  display: block; font-family: var(--font-display);
  color: var(--navy); font-size: 1.8rem; font-weight: 600;
  margin-bottom: 4px;
}
.price-card span { color: var(--muted); font-size: .94rem; }

/* ============================================================
   404 page
   ============================================================ */
.error-page {
  min-height: 60vh;
  display: flex; align-items: center;
  padding: 80px 0;
  text-align: center;
}
.error-page__big {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -.04em;
}
.error-page p { color: var(--muted); margin: 14px auto 28px; max-width: 460px; }
.error-page__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Compact "next/prev" service nav at bottom of detail pages
   ============================================================ */
.svc-pager {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 56px;
}
@media (max-width: 600px) { .svc-pager { grid-template-columns: 1fr; } }
.svc-pager a {
  display: block;
  padding: 22px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .15s ease, border-color .15s ease;
}
.svc-pager a:hover { transform: translateY(-2px); border-color: var(--gold-2); }
.svc-pager__dir {
  display: block; font-size: .76rem; color: var(--muted-2);
  text-transform: uppercase; letter-spacing: .08em;
  font-weight: 600; margin-bottom: 6px;
}
.svc-pager__title { font-family: var(--font-display); color: var(--navy); font-weight: 600; font-size: 1.15rem; }
.svc-pager a:nth-child(2) { text-align: right; }

/* ============================================================
   Small utilities
   ============================================================ */
.mt-0 { margin-top: 0 !important; }
.mt-l { margin-top: 32px; }
.mb-l { margin-bottom: 32px; }
.text-center { text-align: center; }
.muted { color: var(--muted); }

/* contact info grid */
.contact-info-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 32px;
}
@media (max-width: 800px) { .contact-info-grid { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.contact-info-card svg { color: var(--gold-2); margin-bottom: 14px; }
.contact-info-card h3 { margin-bottom: 8px; }
.contact-info-card p, .contact-info-card a { color: var(--muted); display: block; font-size: .98rem; line-height: 1.55; }
.contact-info-card strong { color: var(--navy); font-size: 1.15rem; font-weight: 600; display: block; }
.contact-info-card a:hover { color: var(--gold-2); }

/* Mobile-only testimonial inside the services grid (between Generators and Additions) */
.svc-review { display: none; }
@media (max-width: 620px) {
  .svc-review {
    display: block;
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius);
    padding: 26px 24px;
  }
  .svc-review__stars { color: var(--gold); letter-spacing: 3px; font-size: 1.05rem; }
  .svc-review blockquote { margin: 12px 0 14px; font-size: 1.02rem; line-height: 1.55; }
  .svc-review__who { font-weight: 700; font-size: .92rem; }
  .svc-review__src { display: block; font-weight: 400; opacity: .72; font-size: .82rem; margin-top: 3px; }
}
