:root {
  --ink: #171a1f;
  --ink-soft: #2c333b;
  --muted: #687381;
  --paper: #ffffff;
  --surface: #f5f7f8;
  --surface-strong: #eaf0f1;
  --line: #dce4e7;
  --red: #db352d;
  --red-dark: #a92621;
  --teal: #16877d;
  --copper: #b46a38;
  --shadow: 0 22px 70px rgba(17, 24, 31, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(var(--max), calc(100% - 32px));
  min-height: 76px;
  margin: 14px auto 0;
  padding: 12px 14px 12px 16px;
  color: #ffffff;
  background: rgba(18, 22, 27, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(18, 22, 27, 0.94);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--copper));
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text span {
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-text small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  min-height: 42px;
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 8px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 166px;
  min-height: 44px;
  padding: 10px 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-weight: 750;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.nav-toggle span + span {
  margin-top: 0;
  transform: none;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 86svh;
  padding: 150px 24px 72px;
  color: #ffffff;
  background-image:
    linear-gradient(90deg, rgba(12, 15, 18, 0.9) 0%, rgba(12, 15, 18, 0.78) 35%, rgba(12, 15, 18, 0.16) 68%, rgba(12, 15, 18, 0.18) 100%),
    url("assets/hero-electrician.png");
  background-position: center;
  background-size: cover;
}

.hero-content {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #ff9b86;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 4rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.55rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.16rem;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  max-width: 100%;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-quiet {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-points span {
  min-height: 38px;
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font-size: 0.92rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  min-height: 116px;
  padding: 28px;
  background: #ffffff;
}

.trust-item strong {
  color: var(--teal);
  font-size: 1.25rem;
}

.trust-item span {
  color: var(--ink-soft);
  font-weight: 700;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading.compact {
  max-width: 540px;
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.estimate-card {
  min-height: 260px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 35px rgba(17, 24, 31, 0.06);
}

.service-card {
  display: grid;
  align-content: start;
}

.service-card p {
  margin-bottom: 18px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  color: var(--red);
  font-weight: 850;
}

.service-link:hover,
.service-link:focus-visible {
  color: var(--red-dark);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  min-height: 210px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-card span,
.work-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
}

.price-card strong {
  display: block;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1.1;
}

.price-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.featured-price {
  border-color: rgba(219, 53, 45, 0.45);
  box-shadow: var(--shadow);
}

.price-note {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 18px 20px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-note strong {
  flex: 0 0 auto;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.calc-section {
  width: 100%;
  max-width: none;
  padding: 88px max(20px, calc((100% - var(--max)) / 2));
  background: var(--ink);
  color: #ffffff;
}

.calc-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.calc-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.calc-form label {
  display: grid;
  gap: 8px;
}

.calc-form label span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 800;
}

.calc-form input,
.calc-form select {
  min-height: 50px;
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.calc-checkbox {
  grid-template-columns: auto 1fr;
  grid-column: 1 / -1;
  align-items: center;
  min-height: 50px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.calc-checkbox input {
  width: 20px;
  min-height: 20px;
}

.calc-result {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 28px;
  color: var(--ink);
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.calc-result span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
}

.calc-result strong {
  font-size: 2rem;
  line-height: 1.1;
}

.calc-result p {
  margin-bottom: 0;
  color: var(--muted);
}

.work-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 35px rgba(17, 24, 31, 0.06);
}

.work-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface);
}

.work-card div {
  padding: 22px;
}

.work-card h3 {
  margin-bottom: 10px;
}

.work-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.diagnostic-section {
  padding-top: 0;
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.diagnostic-card {
  display: grid;
  gap: 10px;
  min-height: 180px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.diagnostic-card strong {
  font-size: 1.05rem;
}

.diagnostic-card span {
  color: var(--muted);
}

.service-card p,
.estimate-card p,
.timeline p,
.faq-list p,
.lead-copy p {
  color: var(--muted);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--red);
  background: #fff0ed;
  border-radius: 8px;
}

.band {
  background: var(--ink);
  color: #ffffff;
}

.band-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0;
}

.band h2 {
  margin-bottom: 0;
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: rgba(255, 255, 255, 0.82);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 20px;
  height: 20px;
  background: var(--teal);
  border-radius: 50%;
}

.check-list li::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 6px;
  width: 8px;
  height: 5px;
  border-bottom: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.district-panel {
  grid-column: 2;
  display: grid;
  gap: 14px;
  margin-top: 6px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.district-panel strong {
  color: #ffffff;
}

.district-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.district-chips span {
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 750;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 52px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

.timeline h3 {
  margin-bottom: 6px;
}

.timeline p {
  margin-bottom: 0;
}

.muted-section {
  width: 100%;
  max-width: none;
  padding: 88px max(20px, calc((100% - var(--max)) / 2));
  background: var(--surface);
}

.estimate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.estimate-card {
  min-height: 286px;
  box-shadow: none;
}

.estimate-card.featured {
  border-color: rgba(219, 53, 45, 0.45);
  box-shadow: var(--shadow);
}

.estimate-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--ink-soft);
  list-style: none;
}

.estimate-card li {
  position: relative;
  padding-left: 20px;
}

.estimate-card li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
}

.proof-section {
  padding-top: 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.proof-grid article {
  min-height: 150px;
  padding: 24px;
  background: #ffffff;
}

.proof-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.proof-grid span {
  color: var(--muted);
}

.lead-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.95fr);
  gap: 54px;
  align-items: start;
}

.lead-copy {
  padding-top: 18px;
}

.lead-copy h2 {
  max-width: 520px;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-lines a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
}

.contact-lines svg {
  color: var(--red);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form label span {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.lead-form textarea {
  min-height: 126px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(22, 135, 125, 0.12);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-note a {
  color: var(--red);
  font-weight: 800;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.2fr);
  gap: 54px;
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

summary {
  min-height: 62px;
  padding: 20px 22px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(20px, calc((100% - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.78);
  background: #111418;
}

.site-footer strong {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
}

.site-footer span {
  display: block;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
}

.mobile-cta {
  display: none;
}

.policy-page,
.service-page {
  padding-top: 130px;
}

.content-page {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 86px;
}

.content-page h1 {
  font-size: 3rem;
}

.content-page h2 {
  margin-top: 42px;
  font-size: 1.8rem;
}

.content-page p,
.content-page li {
  color: var(--muted);
}

.content-page ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.service-hero {
  padding: 150px max(20px, calc((100% - var(--max)) / 2)) 72px;
  color: #ffffff;
  background: var(--ink);
}

.service-hero-inner {
  max-width: 820px;
}

.service-hero p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.service-content {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.service-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
  gap: 42px;
  align-items: start;
}

.service-aside {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-aside .btn {
  width: 100%;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    width: min(100% - 24px, var(--max));
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    display: flex;
    justify-self: end;
  }

  .main-nav {
    position: fixed;
    top: 92px;
    left: 12px;
    right: 12px;
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    padding: 12px;
    background: rgba(18, 22, 27, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
    z-index: 60;
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    display: flex;
    align-items: center;
  }

  .header-phone {
    display: none;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .trust-strip,
  .service-grid,
  .price-grid,
  .diagnostic-grid,
  .calc-layout,
  .calc-form,
  .work-grid,
  .estimate-grid,
  .proof-grid,
  .service-content-grid,
  .band-inner,
  .split-section,
  .lead-section,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .section-heading.compact {
    max-width: 760px;
    margin-bottom: 30px;
  }

  .lead-section,
  .faq-section,
  .split-section {
    gap: 28px;
  }

  .district-panel {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 76px;
  }

  .site-header {
    min-height: 66px;
    margin-top: 8px;
    padding: 10px;
    width: calc(100% - 20px);
    gap: 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 0.88rem;
  }

  .brand-text small {
    display: none;
  }

  .brand-text span {
    font-size: 1rem;
  }

  .main-nav {
    top: 82px;
    left: 10px;
    right: 10px;
    gap: 2px;
  }

  .main-nav a {
    min-height: 52px;
    padding: 13px 14px;
    font-size: 1rem;
  }

  .hero {
    align-items: flex-start;
    min-height: 78svh;
    padding: 112px 18px 44px;
    background-image:
      linear-gradient(90deg, rgba(12, 15, 18, 0.94) 0%, rgba(12, 15, 18, 0.88) 50%, rgba(12, 15, 18, 0.42) 100%),
      url("assets/hero-electrician.png");
    background-position: 63% center;
  }

  h1 {
    max-width: 360px;
    margin-bottom: 18px;
    font-size: 2.08rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 1.65rem;
    line-height: 1.14;
  }

  h3 {
    font-size: 1.08rem;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.72rem;
  }

  .hero-copy {
    max-width: 360px;
    margin-bottom: 22px;
    font-size: 1rem;
  }

  .hero-actions,
  .form-actions {
    gap: 10px;
  }

  .btn {
    width: 100%;
    min-height: 52px;
    padding: 13px 14px;
  }

  .hero-points {
    display: grid;
    gap: 8px;
    margin-top: 22px;
  }

  .hero-points span {
    width: 100%;
    min-height: 0;
    padding: 8px 10px;
  }

  .trust-strip {
    gap: 0;
  }

  .trust-item {
    min-height: 0;
    grid-template-columns: 42px 1fr;
    gap: 10px;
  }

  .trust-item strong {
    font-size: 1rem;
  }

  .section {
    width: min(100% - 28px, var(--max));
    padding: 56px 0;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-heading p:not(.eyebrow) {
    font-size: 1rem;
  }

  .muted-section {
    width: 100%;
    padding: 56px 14px;
  }

  .calc-section {
    padding: 56px 14px;
  }

  .calc-form,
  .calc-result {
    padding: 20px;
  }

  .calc-result strong {
    font-size: 1.55rem;
  }

  .trust-item,
  .service-card,
  .price-card,
  .estimate-card,
  .timeline article,
  .lead-form {
    padding: 20px;
  }

  .service-card,
  .price-card,
  .estimate-card {
    min-height: 0;
  }

  .price-grid,
  .work-grid {
    gap: 12px;
  }

  .price-card strong {
    font-size: 1.45rem;
  }

  .price-note {
    display: grid;
    gap: 6px;
    padding: 16px;
  }

  .work-card div {
    padding: 18px;
  }

  .proof-grid article {
    min-height: 0;
    padding: 20px;
  }

  .card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
  }

  .band-inner {
    width: min(100% - 28px, var(--max));
    padding: 54px 0;
    gap: 24px;
  }

  .check-list {
    gap: 12px;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .timeline span {
    grid-row: auto;
    margin-bottom: 14px;
  }

  .lead-copy {
    padding-top: 0;
  }

  .lead-form {
    gap: 14px;
    box-shadow: 0 14px 40px rgba(17, 24, 31, 0.1);
  }

  .lead-form input,
  .lead-form select,
  .lead-form textarea {
    min-height: 52px;
    font-size: 1rem;
  }

  .lead-form textarea {
    min-height: 112px;
  }

  summary {
    min-height: 58px;
    padding: 17px 18px;
  }

  details p {
    padding: 0 18px 18px;
  }

  .site-footer {
    display: grid;
    padding-bottom: 108px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .policy-page,
  .service-page {
    padding-top: 104px;
  }

  .content-page {
    width: min(100% - 28px, 880px);
    padding-bottom: 56px;
  }

  .content-page h1 {
    font-size: 2rem;
  }

  .service-hero {
    padding: 118px 14px 52px;
  }

  .service-hero h1 {
    font-size: 2rem;
  }

  .service-content {
    width: min(100% - 28px, var(--max));
    padding: 56px 0;
  }

  .mobile-cta {
    position: fixed;
    z-index: 70;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    background: rgba(18, 22, 27, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 11px 10px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    font-weight: 850;
    line-height: 1;
  }

  .mobile-cta .mobile-cta-primary {
    background: var(--red);
    border-color: var(--red);
  }
}

@media (max-width: 380px) {
  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: 1.92rem;
  }

  .hero-copy {
    font-size: 0.96rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-text span {
    font-size: 0.96rem;
  }
}

@media (max-width: 340px) {
  .brand-text span {
    font-size: 0.9rem;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  h1 {
    font-size: 1.78rem;
  }

  .mobile-cta a {
    gap: 6px;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
