/* ==========================================================================
   Tony's Live Wire Electric: site styles
   Colors, fonts and spacing are defined once as variables below.
   Change them here to re-brand the whole site.
   ========================================================================== */

:root {
  /* Brand colors */
  --navy-950: #070d18;
  --navy-900: #0b1220;
  --navy-800: #121b2e;
  --navy-700: #1c2740;
  --yellow-100: #fef9c3;
  --yellow-300: #fde047;
  --yellow-400: #facc15;
  --yellow-500: #eab308;
  --yellow-700: #a16207;

  /* Neutrals */
  --ink: #0f172a;
  --text: #3b4659;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;

  /* Feedback */
  --success: #15803d;
  --error: #b91c1c;

  /* Type */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Barlow Semi Condensed", "Inter", system-ui, sans-serif;

  /* Shape */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.18), 0 4px 10px -6px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.35);

  --header-h: 72px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--yellow-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--yellow-400);
  color: var(--navy-900);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.75em 1.25em;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1em; height: 1.1em; }

.btn--primary { background: var(--yellow-400); color: var(--navy-900); }
.btn--primary:hover { background: var(--yellow-300); box-shadow: 0 8px 24px -8px rgba(250, 204, 21, 0.7); }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }

.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }

.btn--outline-dark { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn--outline-dark:hover { background: var(--navy-900); color: #fff; }

.btn--lg { padding: 0.95em 1.5em; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-950);
  color: var(--slate-400);
  font-size: 0.875rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.topbar p { margin: 0; }
.topbar__alert { display: flex; align-items: center; gap: 10px; color: var(--slate-200); }
.topbar__alert a { color: var(--yellow-400); font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (max-width: 420px) { .topbar__extra { display: none; } }
.topbar__alert a:hover { text-decoration: underline; }

.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow-400);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--yellow-400);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(3); opacity: 0; }
}

/* ---------- Header & navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--yellow-400);
}
.logo__mark .icon { width: 22px; height: 22px; }
.logo__text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
}
/* "ELECTRIC" sits under the name in small, spaced-out capitals */
.logo__text span {
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.48em;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}
.logo--light { color: #fff; }
.logo--light .logo__mark { background: var(--yellow-400); color: var(--navy-900); }
.logo--light .logo__text span { color: var(--slate-400); }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  display: block;
  padding: 8px 12px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s, background-color 0.2s;
}
.nav__list a:hover { color: var(--ink); background: var(--bg-alt); }
.nav__cta-mobile { display: none; }

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.header__phone .icon { color: var(--yellow-700); }
.header__phone:hover { color: var(--yellow-700); }

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon--close { display: none; }
.nav-open .nav-toggle .icon--open { display: none; }
.nav-open .nav-toggle .icon--close { display: block; }

@media (min-width: 1240px) {
  .header__phone { display: inline-flex; }
}

@media (max-width: 1023px) {
  .nav-toggle { display: grid; }
  .header__actions { margin-left: auto; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 12px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-open .nav { display: block; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__list a:hover { background: transparent; }
  .nav__cta-mobile { display: flex; width: 100%; margin-top: 20px; }
}

@media (max-width: 639px) {
  .header__cta { display: none; }
  .logo__text { font-size: 1.3rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 128px;
  color: var(--slate-300);
  background:
    radial-gradient(ellipse 60% 70% at 80% 40%, rgba(250, 204, 21, 0.14), transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(59, 130, 246, 0.12), transparent 70%),
    var(--navy-900);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 64px;
}

.hero__title {
  margin: 16px 0 24px;
  font-size: clamp(2.6rem, 3.6vw + 1.2rem, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  color: #fff;
}
.highlight { color: var(--yellow-400); }

.hero__lead {
  max-width: 560px;
  margin-bottom: 36px;
  font-size: 1.15rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 36px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-200);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { color: var(--yellow-400); }

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  aspect-ratio: 1;
}
.hero__panel {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.22), transparent 55%),
    linear-gradient(160deg, #18233d, #0d1526);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.hero__panel::before,
.hero__panel::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(250, 204, 21, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.hero__panel::before { width: 62%; height: 62%; }
.hero__panel::after { width: 88%; height: 88%; border-color: rgba(250, 204, 21, 0.09); }

.hero__bolt {
  position: relative;
  z-index: 1;
  width: 42%;
  fill: var(--yellow-400);
  filter: drop-shadow(0 0 28px rgba(250, 204, 21, 0.6));
  animation: flicker 6s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.55; }
  94% { opacity: 1; }
  96% { opacity: 0.75; }
  97% { opacity: 1; }
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 0.95rem; color: var(--ink); line-height: 1.3; }
.float-card small { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.3; }
.float-card--top { top: 10%; left: -48px; }
.float-card--bottom { bottom: 9%; right: -32px; animation-delay: -3s; }
.float-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--yellow-100);
  color: var(--yellow-700);
}
.float-card__icon--alert { background: #fee2e2; color: var(--error); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -64px; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px;
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 1.5vw + 1.3rem, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
}
.stat__star { margin-left: 2px; color: var(--yellow-500); font-size: 0.8em; }
.stat__label { margin-top: 4px; font-size: 0.9rem; color: var(--muted); }

/* ---------- Generic sections ---------- */
.section { padding: 104px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy-900); color: var(--slate-300); }
.section--dark .section__title { color: #fff; }

.section__head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__head--left { margin: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow-700);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow--light { color: var(--yellow-400); }

.section__title {
  margin-bottom: 18px;
  font-size: clamp(2rem, 2.2vw + 1.2rem, 2.9rem);
  font-weight: 800;
}
.section__lead { font-size: 1.125rem; }
.section__lead a { color: var(--ink); font-weight: 600; }

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service:hover {
  transform: translateY(-4px);
  border-color: var(--yellow-400);
  box-shadow: var(--shadow);
}
.service__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--yellow-400);
}
.service__icon .icon { width: 26px; height: 26px; }
.service h3 { margin-bottom: 10px; font-size: 1.4rem; font-weight: 700; }
.service p { color: var(--muted); }

.service--emergency { background: var(--navy-900); border-color: var(--navy-900); color: var(--slate-300); }
.service--emergency h3 { color: #fff; }
.service--emergency p { color: var(--slate-300); }
.service--emergency .service__icon { background: var(--yellow-400); color: var(--navy-900); }
.service__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  font-weight: 700;
  color: var(--yellow-400);
  text-decoration: none;
}
.service__link:hover { text-decoration: underline; }
.service__link .icon { width: 1em; height: 1em; }

/* ---------- About / features ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about__content p { font-size: 1.075rem; }
.about__content .btn { margin-top: 16px; }

.features { display: grid; gap: 16px; }
.feature {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature h3 { margin-bottom: 6px; font-size: 1.25rem; font-weight: 700; }
.feature p { color: var(--muted); font-size: 0.975rem; }
.feature__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--yellow-100);
  color: var(--yellow-700);
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.step { position: relative; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 72px;
  right: -16px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.step__num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--yellow-400);
  color: var(--navy-900);
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 0 0 8px var(--yellow-100);
}
.step h3 { margin-bottom: 8px; font-size: 1.35rem; font-weight: 700; }
.step p { color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 32px 28px;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
}
.review__stars { display: flex; gap: 4px; margin-bottom: 18px; color: var(--yellow-400); }
.review__stars .icon { width: 18px; height: 18px; }
.review blockquote {
  margin: 0 0 24px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--slate-200);
}
.review figcaption {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.review figcaption strong { display: block; color: #fff; }
.review figcaption span { font-size: 0.9rem; color: var(--slate-400); }

/* ---------- Service area ---------- */
.area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.area__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.area__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.area__list .icon { color: var(--yellow-700); }

.area__groups { display: grid; gap: 40px; }
.area__heading {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--navy-900);
  background: var(--bg-alt);
  border-radius: 50%;
  transition: transform 0.25s, background-color 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--yellow-400); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background: var(--yellow-400);
  color: var(--navy-900);
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -40px;
  top: 50%;
  width: 320px;
  height: 320px;
  transform: translateY(-50%) rotate(12deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9l1-8z' fill='%23000' fill-opacity='.06'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-band h2 { margin-bottom: 8px; font-size: clamp(1.9rem, 2vw + 1.1rem, 2.6rem); font-weight: 800; color: var(--navy-900); }
.cta-band p { font-size: 1.1rem; color: var(--navy-800); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.contact__list { display: grid; gap: 22px; margin-top: 36px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; color: var(--ink); }
.contact__list a { font-weight: 600; text-decoration: none; }
.contact__list a:hover { color: var(--yellow-700); text-decoration: underline; }
.contact__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--yellow-400);
}
.contact__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.form {
  position: relative;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.field label span { color: var(--error); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.45);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.15); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status { margin: 14px 0 0; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-success { color: var(--success); }
.form__status.is-error { color: var(--error); }
.form__note { margin-top: 12px; font-size: 0.85rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer {
  padding-top: 72px;
  background: var(--navy-950);
  color: var(--slate-400);
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer__brand .logo { margin-bottom: 18px; }
.footer__brand p { max-width: 320px; }
.footer__license { font-size: 0.85rem; color: #6b7a90; }
.footer__heading {
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.footer__links { display: grid; gap: 10px; }
.footer__links a { text-decoration: none; transition: color 0.2s; }
.footer__links a:hover { color: var(--yellow-400); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
}
.footer__bottom p { margin: 0; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Sticky mobile call bar ---------- */
.mobile-bar { display: none; }

/* ---------- Scroll reveal (only when JavaScript is running) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1023px) {
  .hero { padding: 72px 0 112px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .about,
  .area,
  .faq,
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .step::after { display: none; }
  .reviews { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 639px) {
  .container { padding-inline: 16px; }
  .topbar__meta { display: none; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
  .hero { padding: 56px 0 104px; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { flex-direction: column; gap: 10px; }
  .services,
  .steps,
  .area__list,
  .form__row { grid-template-columns: 1fr; }
  .form__row { gap: 0; }
  .form { padding: 24px 20px; }
  .service { padding: 28px 22px; }
  .cta-band__actions,
  .cta-band__actions .btn { width: 100%; }
  .faq details p { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--navy-900);
    box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.2);
  }
  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 64px;
    font-weight: 700;
    text-decoration: none;
  }
  .mobile-bar__call { color: #fff; }
  .mobile-bar__call .icon { color: var(--yellow-400); }
  .mobile-bar__quote { background: var(--yellow-400); color: var(--navy-900); }
}

/* Long email addresses wrap instead of overflowing */
.contact__list li > div { min-width: 0; }
.contact__list a,
.footer__links a { overflow-wrap: anywhere; }

/* Town lists become compact chips on phones */
@media (max-width: 639px) {
  .area__list { display: flex; flex-wrap: wrap; gap: 8px; }
  .area__list li { padding: 10px 14px; }
}

/* Respect visitors who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
