:root {
  color-scheme: light;
  --ink: #142033;
  --ink-2: #294057;
  --muted: #657383;
  --navy: #071d36;
  --navy-2: #0d2c4e;
  --blue: #1668bf;
  --orange: #f06423;
  --orange-2: #ff7a2f;
  --paper: #f6f8f5;
  --surface: #ffffff;
  --mist: #e8eef3;
  --line: rgba(20, 32, 51, 0.14);
  --line-strong: rgba(20, 32, 51, 0.26);
  --max: 1180px;
  --font-display: Syne, Inter, system-ui, sans-serif;
  --font-body: Outfit, Inter, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  padding-top: 116px;
  overflow-x: clip;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(232, 238, 243, 0.72), rgba(246, 248, 245, 0.8) 38%, #fff 100%),
    var(--paper);
  font-family: var(--font-body);
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20, 32, 51, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20, 32, 51, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, black, transparent 78%);
}

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

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

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
p,
figure,
dl,
dd,
ol {
  margin: 0;
}

[id] {
  scroll-margin-top: 148px;
}

.section-frame {
  width: min(calc(100% - 44px), var(--max));
  margin-inline: auto;
}

.yaq-strip {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px 18px;
  color: #f8fafc;
  background: rgba(3, 4, 6, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.yaq-strip a {
  color: #ffb17a;
  white-space: nowrap;
}

.tm-header {
  position: fixed;
  top: 40px;
  left: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(7, 29, 54, 0.13);
  background: rgba(246, 248, 245, 0.9);
  backdrop-filter: blur(18px);
}

.tm-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(calc(100% - 44px), var(--max));
  min-height: 76px;
  margin-inline: auto;
}

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

.tm-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, var(--orange), #ff9b46 52%, #ffffff 53%, #dfe8ef 54%, var(--blue));
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.tm-brand strong,
.tm-brand small {
  display: block;
}

.tm-brand strong {
  font-family: var(--font-display);
  font-size: 1.14rem;
  line-height: 1;
}

.tm-brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tm-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.8vw, 34px);
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 700;
}

.tm-nav a,
.tm-header-cta,
.btn,
.service-link,
.area-tags a {
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.tm-nav a:hover,
.tm-nav a:focus-visible {
  color: var(--orange);
}

.tm-header-cta,
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 850;
}

.tm-header-cta {
  padding-inline: 20px;
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.btn {
  padding: 0 23px;
}

.btn.primary {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

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

.btn.secondary {
  color: var(--ink);
  background: transparent;
  border-color: rgba(20, 32, 51, 0.22);
}

.hero .btn.secondary,
.final-cta .btn.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn:hover,
.btn:focus-visible,
.tm-header-cta:hover,
.tm-header-cta:focus-visible,
.service-link:hover,
.service-link:focus-visible {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  min-height: calc(100svh - 116px);
  align-items: end;
  padding: clamp(18px, 3svh, 32px) 0 clamp(34px, 6svh, 70px);
}

.hero-shell {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100svh - 156px));
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
  border-radius: 24px;
  box-shadow: 0 34px 90px rgba(7, 29, 54, 0.25);
}

.hero-photo {
  position: absolute;
  inset: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.04);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 29, 54, 0.96), rgba(7, 29, 54, 0.76) 45%, rgba(7, 29, 54, 0.22)),
    linear-gradient(180deg, rgba(7, 29, 54, 0.08), rgba(7, 29, 54, 0.72));
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(18px, 3svh, 26px);
  max-width: 820px;
  padding: clamp(32px, 6vw, 72px);
}

.hero h1,
.section-intro h2,
.subpage-hero h1,
.final-inner h2,
.calculator-copy h2 {
  font-family: var(--font-display);
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(3rem, min(5.4vw, 9svh), 6rem);
  font-weight: 800;
  line-height: 0.96;
}

.hero-lead {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.64;
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  max-width: 760px;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.13);
}

.hero-facts span {
  flex: 1 1 180px;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(7, 29, 54, 0.36);
  font-size: 0.88rem;
  font-weight: 750;
}

.section-intro {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.section-intro.center {
  max-width: 840px;
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-intro h2,
.calculator-copy h2,
.final-inner h2 {
  font-size: clamp(2.1rem, min(4.4vw, 7svh), 4.55rem);
  font-weight: 800;
  line-height: 1;
}

.section-intro p:not(.section-kicker),
.calculator-copy p,
.lead-panel p,
.service-card p,
.process-list p,
.trust-card p,
.feature-row p,
.subpage-hero p,
.final-inner p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.68;
}

.services-teaser,
.process-section,
.trust-section,
.feature-section,
.credentials-section,
.works-section,
.subpage-hero,
.calculator-section,
.quote-section {
  padding: clamp(72px, 10vw, 124px) 0;
  border-top: 1px solid var(--line);
}

.services-teaser {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

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

.service-card {
  display: grid;
  min-height: 250px;
  align-content: space-between;
  gap: 22px;
  padding: clamp(22px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.82);
}

.service-card strong,
.process-list span,
.trust-card strong {
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 800;
}

.service-card h3,
.process-list h3,
.trust-card h3,
.feature-row h3 {
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2vw, 1.85rem);
  line-height: 1.1;
}

.service-link {
  width: fit-content;
  color: var(--blue);
  border-bottom: 1px solid currentColor;
  font-weight: 850;
}

.process-section {
  background: linear-gradient(180deg, rgba(232, 238, 243, 0.48), rgba(246, 248, 245, 0));
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  margin: clamp(30px, 5vw, 58px) 0 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--line);
  list-style: none;
}

.process-list li {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.78);
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 0.54fr) minmax(0, 0.46fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.feature-photo {
  overflow: hidden;
  min-height: clamp(340px, 42vw, 520px);
  border-radius: 24px;
  background: var(--navy);
  box-shadow: 0 28px 70px rgba(7, 29, 54, 0.16);
}

.feature-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.feature-rows {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.feature-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.feature-row span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(30px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--line);
}

.trust-card {
  min-height: 184px;
  padding: clamp(22px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.82);
}

.trust-card strong {
  display: block;
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.credentials-section {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(300px, 0.45fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.why-list {
  display: grid;
  gap: 24px;
  margin-top: clamp(28px, 4vw, 42px);
}

.why-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
}

.why-item span {
  color: rgba(240, 100, 35, 0.42);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.why-item h3,
.cert-panel h3,
.subsidy-card h3,
.work-card h3 {
  font-family: var(--font-display);
  line-height: 1.12;
}

.why-item h3 {
  margin-bottom: 6px;
  font-size: clamp(1.12rem, 1.6vw, 1.42rem);
}

.why-item p {
  color: var(--muted);
  line-height: 1.62;
}

.cert-panel {
  display: grid;
  gap: 24px;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 0%, rgba(240, 100, 35, 0.28), transparent 16rem),
    var(--navy);
  box-shadow: 0 28px 72px rgba(7, 29, 54, 0.18);
}

.cert-panel h3 {
  max-width: 360px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.cert-panel ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.cert-panel li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  line-height: 1.35;
}

.cert-panel li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  transform: translateY(-50%);
}

.subsidy-section {
  padding: clamp(72px, 10vw, 124px) 0;
  border-top: 1px solid var(--line);
  background: #e8f1fd;
}

.subsidy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.subsidy-cards {
  display: grid;
  gap: 20px;
}

.subsidy-card {
  display: grid;
  gap: 10px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(20, 32, 51, 0.12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(7, 29, 54, 0.08);
}

.subsidy-card span {
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  color: #1b5e20;
  background: #e8f5e9;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subsidy-card h3 {
  font-size: clamp(1.22rem, 2vw, 1.65rem);
}

.subsidy-card strong {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.subsidy-card p {
  color: var(--muted);
  line-height: 1.62;
}

.works-grid,
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(30px, 5vw, 56px);
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(7, 29, 54, 0.07);
}

.work-card figure {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--mist);
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.work-card:hover img,
.work-card:focus-within img {
  transform: scale(1.04);
}

.work-card div {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.work-card span {
  width: fit-content;
  padding: 5px 11px;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-card h3 {
  font-size: 1.14rem;
}

.work-card p {
  color: var(--muted);
  line-height: 1.58;
}

.reviews-section {
  padding: clamp(72px, 10vw, 124px) 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.google-badge {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-bottom: 26px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--navy);
  background: #e8f1fd;
  font-size: 0.86rem;
  font-weight: 850;
}

.reviews-grid blockquote {
  display: grid;
  gap: 18px;
  min-height: 210px;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

.reviews-grid p {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.68;
  font-style: italic;
}

.reviews-grid cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.map-bg {
  padding: clamp(72px, 10vw, 124px) 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
}

.map-layout h2 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, min(4.4vw, 7svh), 4.55rem);
  line-height: 1;
}

.map-layout p:not(.section-kicker) {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.68;
}

#map {
  position: relative;
  height: 480px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: #dfe8ef;
  box-shadow: 0 28px 72px rgba(7, 29, 54, 0.14);
  z-index: 1;
}

.map-fallback {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(26deg, transparent 0 49%, rgba(22, 104, 191, 0.16) 50% 51%, transparent 52%),
    linear-gradient(148deg, transparent 0 46%, rgba(20, 32, 51, 0.12) 47% 48%, transparent 49%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    #dfe8ef;
  background-size: auto, auto, 58px 58px, 58px 58px, auto;
}

.map-radius {
  position: absolute;
  top: 50%;
  left: 48%;
  width: min(58vw, 360px);
  height: min(58vw, 360px);
  border: 2px dashed var(--blue);
  border-radius: 50%;
  background: rgba(22, 104, 191, 0.08);
  transform: translate(-50%, -50%);
}

.map-pin {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 13px;
  height: 13px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 2px 8px rgba(7, 29, 54, 0.28);
  transform: translate(-50%, -50%);
}

.map-pin.home {
  width: 17px;
  height: 17px;
  background: var(--orange);
}

.leaflet-container {
  font-family: var(--font-body);
}

.leaflet-dot,
.leaflet-dot-home {
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.leaflet-dot {
  width: 10px;
  height: 10px;
  background: #1f5dbf;
}

.leaflet-dot-home {
  width: 14px;
  height: 14px;
  background: #e8530a;
  border-width: 3px;
}

.city-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.city-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 650;
}

.city-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.city-dot.home {
  background: var(--blue);
}

.map-note {
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.subpage-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(240, 100, 35, 0.16), transparent 28rem),
    linear-gradient(180deg, rgba(232, 238, 243, 0.52), transparent);
}

.subpage-hero h1 {
  max-width: 940px;
  font-size: clamp(2.8rem, min(5.6vw, 8svh), 5.8rem);
  font-weight: 800;
  line-height: 0.98;
}

.offer-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--line);
}

.offer-item {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(24px, 5vw, 68px);
  padding: clamp(28px, 5vw, 54px);
  background: rgba(255, 255, 255, 0.82);
}

.offer-item h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.05;
}

.offer-item ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
  color: var(--ink-2);
  list-style: none;
}

.offer-item li {
  position: relative;
  padding-left: 24px;
  line-height: 1.55;
}

.offer-item li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.lead-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--line);
}

.lead-panel > div {
  padding: clamp(26px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.84);
}

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

.checklist li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink-2);
  background: #fff;
  font-weight: 700;
}

.calculator-section {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
}

.calculator,
.quote-form {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 70px rgba(7, 29, 54, 0.09);
}

.range-label,
.field-label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.range-label {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.range-label strong {
  color: var(--ink);
  font-size: 1.12rem;
  letter-spacing: 0;
  text-transform: none;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--orange);
}

.calc-options,
.form-grid,
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.calc-options label,
fieldset label {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink-2);
  font-weight: 750;
  line-height: 1.3;
}

input[type="radio"],
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--orange);
}

.calc-result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.calc-result span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calc-result strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.calc-result small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

fieldset {
  min-width: 0;
  padding: 18px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
}

legend {
  padding-inline: 8px;
  color: var(--ink);
  font-weight: 900;
}

input:not([type="radio"]):not([type="checkbox"]):not([type="range"]),
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

input:not([type="radio"]):not([type="checkbox"]):not([type="range"]),
select {
  min-height: 50px;
  padding: 0 14px;
}

textarea {
  min-height: 132px;
  padding: 13px 14px;
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.submit-btn {
  width: fit-content;
}

.form-success {
  padding: 16px 18px;
  border: 1px solid rgba(22, 104, 191, 0.24);
  border-left: 5px solid var(--blue);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(22, 104, 191, 0.08);
  font-weight: 750;
  line-height: 1.5;
}

.final-cta {
  position: relative;
  overflow: hidden;
  margin-top: clamp(30px, 5vw, 70px);
  padding: clamp(74px, 10vw, 124px) 0;
  color: #fff;
  background: #030406;
}

.light-beams {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.62;
}

.beam {
  position: absolute;
  right: -18vw;
  width: min(88vw, 980px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.03), transparent);
  transform: rotate(-16deg);
  animation: beamDrift 10s linear infinite;
}

.beam-1 { top: 24%; }
.beam-2 { top: 44%; animation-duration: 13s; animation-delay: -6s; opacity: 0.5; }
.beam-3 { top: 63%; animation-duration: 16s; animation-delay: -9s; opacity: 0.36; }
.beam-4 { top: 78%; animation-duration: 19s; animation-delay: -4s; opacity: 0.24; }

.final-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  padding-top: clamp(28px, 5vw, 48px);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.final-inner .section-kicker {
  color: #ffb17a;
}

.final-inner h2 {
  max-width: 980px;
}

.final-inner p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.74);
}

.final-cta .btn.primary {
  color: #030406;
  background: #fff;
  border-color: #fff;
}

.tm-footer {
  display: flex;
  width: min(calc(100% - 44px), var(--max));
  justify-content: space-between;
  gap: 18px;
  margin-inline: auto;
  padding: 30px 0 42px;
  color: var(--muted);
  font-size: 0.92rem;
}

.tm-footer a {
  color: var(--ink);
  font-weight: 900;
}

@keyframes beamDrift {
  0% { transform: translateX(-18vw) rotate(-16deg); }
  100% { transform: translateX(18vw) rotate(-16deg); }
}

@media (max-width: 980px) {
  .tm-header-inner {
    grid-template-columns: 1fr auto;
  }

  .tm-nav {
    display: none;
  }

  .services-teaser,
  .feature-section,
  .credentials-section,
  .subsidy-grid,
  .map-layout,
  .calculator-section,
  .quote-section,
  .lead-panel {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-list,
  .trust-grid,
  .works-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .offer-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    padding-top: 150px;
  }

  .yaq-strip {
    display: block;
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .yaq-strip a {
    display: none;
  }

  .tm-header {
    top: 38px;
  }

  .tm-header-inner,
  .section-frame,
  .tm-footer {
    width: calc(100% - 32px);
  }

  .tm-header-inner {
    min-height: 74px;
    gap: 12px;
  }

  .tm-header-cta {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.82rem;
  }

  .tm-mark {
    width: 42px;
    height: 42px;
  }

  .tm-brand strong {
    font-size: 1rem;
  }

  .tm-brand small {
    font-size: 0.62rem;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  .hero-shell {
    min-height: 560px;
    border-radius: 18px;
  }

  .hero-photo img {
    object-position: 66% center;
  }

  .hero-photo::after {
    background:
      linear-gradient(180deg, rgba(7, 29, 54, 0.74), rgba(7, 29, 54, 0.92)),
      linear-gradient(90deg, rgba(7, 29, 54, 0.9), rgba(7, 29, 54, 0.44));
  }

  .hero-copy {
    padding: 28px;
  }

  .hero h1,
  .subpage-hero h1 {
    font-size: clamp(1.8rem, 7.2vw, 2.75rem);
    line-height: 1.02;
  }

  .hero-actions,
  .page-actions,
  .final-actions,
  .btn {
    width: 100%;
  }

  .service-grid,
  .process-list,
  .trust-grid,
  .works-grid,
  .reviews-grid,
  .calc-options,
  .form-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  #map {
    height: 340px;
  }

  .feature-row {
    grid-template-columns: 44px 1fr;
  }

  .feature-row span {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .range-label,
  .calc-result,
  .tm-footer {
    display: grid;
  }
}

@media (max-width: 430px) {
  .tm-header-inner {
    grid-template-columns: 1fr;
    padding: 10px 0;
  }

  .tm-header-cta {
    width: 100%;
  }

  .hero-shell {
    min-height: 600px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
