:root {
  --ink: #1b2334;
  --slate: #5d6577;
  --midnight: #101633;
  --midnight-soft: #192143;
  --teal: #00a7a8;
  --teal-dark: #007d82;
  --teal-pale: #dff6f3;
  --orange: #ff6a1a;
  --orange-dark: #df4f05;
  --orange-pale: #fff0e5;
  --cream: #f7f4ed;
  --paper: #fffdf9;
  --white: #ffffff;
  --border: #d8d9df;
  --shadow-sm: 0 10px 28px rgba(16, 22, 51, 0.08);
  --shadow-md: 0 22px 55px rgba(16, 22, 51, 0.14);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --container: min(1160px, calc(100% - 2rem));
  --header-height: 5.25rem;
  --font-display: "Space Grotesk", Arial, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: var(--teal-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--orange-dark);
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

::selection {
  background: var(--teal);
  color: var(--midnight);
}

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

h1,
h2,
h3 {
  color: var(--midnight);
  font-family: var(--font-display);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.85rem, 8vw, 6rem);
}

h2 {
  margin-bottom: 1.3rem;
  font-size: clamp(2.15rem, 5vw, 4rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.28rem;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding-block: clamp(5rem, 10vw, 8rem);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  border-radius: 0.5rem;
  background: var(--white);
  box-shadow: var(--shadow-md);
  color: var(--midnight);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-kicker,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-kicker::before {
  width: 2.25rem;
  height: 3px;
  flex: 0 0 auto;
  background: var(--orange);
  content: "";
}

.light-kicker {
  color: #ff9b62;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--midnight);
  font-weight: 800;
  text-decoration-thickness: 2px;
}

.text-link span,
.service-card a span,
.button span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.service-card a:hover span,
.button:hover span {
  transform: translateX(0.25rem);
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--orange);
  box-shadow: 0 10px 24px rgba(255, 106, 26, 0.24);
  color: var(--midnight);
}

.button-primary:hover {
  background: #ff955c;
  color: var(--midnight);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.48);
  background: transparent;
  color: var(--white);
}

.button-secondary:hover {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--midnight);
}

.button-dark {
  background: var(--midnight);
  color: var(--white);
}

.button-dark:hover {
  background: var(--white);
  color: var(--midnight);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(16, 22, 51, 0.1);
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 8px 30px rgba(16, 22, 51, 0.05);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  gap: 1rem;
}

.brand {
  position: relative;
  z-index: 1002;
  width: clamp(10rem, 22vw, 13.75rem);
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
}

.menu-toggle {
  position: relative;
  z-index: 1002;
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  margin-left: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--midnight);
  cursor: pointer;
}

.menu-toggle span {
  width: 1.2rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.43rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.43rem) rotate(-45deg);
}

.primary-nav {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  visibility: hidden;
  padding: 8rem 2rem 3rem;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateX(100%);
  background: var(--midnight);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease, visibility 220ms ease;
}

.primary-nav.is-open {
  visibility: visible;
  transform: translateX(0);
  opacity: 1;
}

.primary-nav a {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover {
  color: var(--teal);
}

.header-call {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 10vw, 8rem);
  background: var(--midnight);
  color: var(--white);
}

.hero::before,
.hero::after {
  position: absolute;
  border: 1px solid rgba(0, 167, 168, 0.35);
  border-radius: 50%;
  content: "";
}

.hero::before {
  width: 36rem;
  height: 36rem;
  top: -20rem;
  left: -18rem;
}

.hero::after {
  width: 22rem;
  height: 22rem;
  right: -12rem;
  bottom: -12rem;
}

.hero-ribbon {
  position: absolute;
  right: -5%;
  bottom: 12%;
  width: 45%;
  height: 4rem;
  border-top: 12px solid rgba(0, 167, 168, 0.16);
  border-bottom: 6px solid rgba(0, 167, 168, 0.1);
  border-radius: 60% 0 0 60%;
  transform: rotate(-6deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 3.5rem;
}

.hero h1 {
  color: var(--white);
}

.hero-lead {
  max-width: 40rem;
  margin-bottom: 2rem;
  color: #d9dceb;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.eyebrow {
  color: #9ee7e2;
}

.eyebrow span {
  color: var(--orange);
  font-size: 0.65rem;
}

.hero-actions {
  display: flex;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.trust-line {
  margin: 0;
  color: #afb7cf;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-line span {
  color: var(--teal);
  margin-inline: 0.2rem;
}

.hero-visual {
  position: relative;
  max-width: 38rem;
  margin-inline: auto;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg) var(--radius-lg) 0 var(--radius-lg);
  box-shadow: 1.2rem 1.2rem 0 rgba(0, 167, 168, 0.24);
}

.hero-image-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 22, 51, 0.66), transparent 46%);
  content: "";
  pointer-events: none;
}

.hero-image-wrap img {
  width: 100%;
  min-height: 25rem;
  object-fit: cover;
}

.hero-image-wrap figcaption {
  position: absolute;
  z-index: 2;
  left: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--white);
  font-size: 0.88rem;
  line-height: 1.45;
}

.caption-icon {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border: 2px solid var(--orange);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
}

.hero-address {
  position: absolute;
  right: -0.25rem;
  bottom: -2.5rem;
  z-index: 3;
  display: flex;
  max-width: 15rem;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.5;
}

.hero-address > span {
  color: var(--teal-dark);
  font-size: 1.6rem;
}

.hero-address p {
  margin: 0;
}

/* Benefit strip */
.benefit-strip {
  border-bottom: 1px solid var(--border);
  background: var(--cream);
}

.benefit-grid {
  display: grid;
}

.benefit-grid article {
  display: flex;
  min-height: 7.5rem;
  align-items: center;
  gap: 1rem;
  padding-block: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.benefit-grid article:last-child {
  border-bottom: 0;
}

.benefit-number {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
}

.benefit-grid strong,
.benefit-grid small {
  display: block;
}

.benefit-grid strong {
  color: var(--midnight);
  font-family: var(--font-display);
  font-size: 1rem;
}

.benefit-grid small {
  color: var(--slate);
}

/* About */
.about-section {
  background: var(--paper);
}

.about-grid {
  display: grid;
  gap: 2.5rem;
}

.about-heading h2 {
  max-width: 11ch;
}

.about-copy {
  padding-top: 0.5rem;
  color: var(--slate);
  font-size: 1.03rem;
}

.about-copy p:first-child::first-letter {
  float: left;
  margin: 0.12rem 0.45rem 0 0;
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 0.85;
}

/* Services */
.services-section {
  border-block: 1px solid var(--border);
  background: var(--cream);
}

.section-heading {
  margin-bottom: 3rem;
}

.split-heading {
  display: grid;
  gap: 1.5rem;
}

.split-heading h2 {
  max-width: 14ch;
}

.split-heading > p {
  max-width: 34rem;
  color: var(--slate);
}

.service-grid {
  display: grid;
  gap: 1rem;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 20rem;
  padding: 1.5rem;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--paper);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card::after {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 7rem;
  height: 7rem;
  border: 1px solid rgba(0, 167, 168, 0.18);
  border-radius: 50%;
  content: "";
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 125, 130, 0.45);
  box-shadow: var(--shadow-sm);
}

.service-image {
  width: calc(100% + 3rem);
  max-width: none;
  aspect-ratio: 3 / 2;
  margin: -1.5rem -1.5rem 1.35rem;
  border-bottom: 1px solid var(--border);
  object-fit: cover;
}

.featured-card .service-image {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.service-icon {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1.35rem;
  place-items: center;
  border: 1px solid rgba(0, 125, 130, 0.35);
  border-radius: 0.85rem;
  background: var(--teal-pale);
  color: var(--teal-dark);
}

.service-icon svg {
  width: 1.65rem;
  height: 1.65rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-icon-hot {
  border-color: rgba(255, 106, 26, 0.3);
  background: var(--orange-pale);
  color: var(--orange-dark);
}

.service-card h3 {
  font-size: 1.35rem;
}

.service-card p {
  margin-bottom: 1.5rem;
  color: var(--slate);
  font-size: 0.94rem;
}

.service-card > a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  color: var(--midnight);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration-thickness: 2px;
}

.featured-card {
  border-color: var(--midnight);
  background: var(--midnight);
}

.featured-card h3,
.featured-card > a {
  color: var(--white);
}

.featured-card p {
  color: #c7cce0;
}

/* Service details */
.service-details {
  background: var(--paper);
}

.compact-heading {
  max-width: 44rem;
}

.detail-feature,
.thermostat-feature {
  display: grid;
  gap: 2rem;
  margin-bottom: clamp(4rem, 9vw, 7rem);
  align-items: start;
}

.detail-feature > img,
.thermostat-feature > img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.detail-feature > img {
  aspect-ratio: 5 / 4;
}

.thermostat-feature > img {
  aspect-ratio: 9 / 7;
}

.detail-item {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.detail-feature .detail-item,
.thermostat-copy .detail-item {
  padding-block: 1.5rem;
  border-top: 1px solid var(--border);
}

.detail-feature .detail-item:last-child,
.thermostat-copy .detail-item:last-child {
  border-bottom: 1px solid var(--border);
}

.detail-item h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.detail-item p {
  color: var(--slate);
  font-size: 0.96rem;
}

.detail-index {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--orange-dark);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.detail-list {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(4rem, 9vw, 7rem);
}

.detail-card {
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--teal);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--cream);
}

.emergency-detail {
  border-color: var(--midnight);
  border-top-color: var(--orange);
  background: var(--midnight);
}

.emergency-detail h3,
.emergency-detail a {
  color: var(--white);
}

.emergency-detail p {
  color: #c7cce0;
}

/* Why us */
.why-section {
  background: var(--midnight);
  color: var(--white);
}

.why-grid {
  display: grid;
  gap: 3rem;
}

.why-heading h2 {
  max-width: 12ch;
  color: var(--white);
}

.why-heading > p:not(.section-kicker) {
  max-width: 32rem;
  margin-bottom: 2rem;
  color: #c7cce0;
}

.reason-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
}

.reason-grid article {
  padding: 1.5rem;
  background: var(--midnight-soft);
}

.reason-grid span {
  display: block;
  margin-bottom: 2rem;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
}

.reason-grid h3 {
  color: var(--white);
}

.reason-grid p {
  color: #b7bfd6;
  font-size: 0.9rem;
}

/* Emergency CTA */
.emergency-cta {
  padding-block: clamp(3.5rem, 7vw, 5rem);
  overflow: hidden;
  background: var(--orange);
  color: var(--midnight);
}

.emergency-inner {
  display: grid;
  align-items: center;
  gap: 2rem;
}

.emergency-inner h2 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.emergency-inner .section-kicker {
  color: var(--midnight);
}

.emergency-inner .section-kicker::before {
  background: var(--midnight);
}

.emergency-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 1rem;
}

.phone-display {
  color: var(--midnight);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.phone-display small {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.phone-display:hover {
  color: var(--white);
}

/* Area */
.area-section {
  background: var(--cream);
}

.area-layout {
  display: grid;
  gap: 1.25rem;
}

.area-list-card,
.map-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.area-list-card {
  padding: 1.5rem;
}

.area-list-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.area-list {
  display: grid;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.area-list li {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--midnight);
  font-weight: 700;
}

.area-list span {
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.area-list-card > p {
  color: var(--slate);
  font-size: 0.9rem;
}

.map-card {
  overflow: hidden;
}

.map-heading {
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
}

.map-heading > div {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.map-heading a {
  font-weight: 800;
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 167, 168, 0.14);
}

.service-map {
  position: relative;
  z-index: 1;
  min-height: 30rem;
  background-color: #dde6df;
  background-image:
    linear-gradient(rgba(255,255,255,0.38) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.38) 1px, transparent 1px);
  background-size: 32px 32px;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 2rem;
  color: var(--midnight);
  text-align: center;
}

.map-pin {
  display: grid;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  place-items: center;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--orange);
  color: var(--white);
  font-size: 1.8rem;
}

.map-pin::first-line {
  transform: rotate(45deg);
}

.map-error {
  background: var(--orange-pale);
}

.map-note,
.map-fallback {
  margin: 0;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--slate);
  font-size: 0.76rem;
}

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

/* FAQ */
.faq-section {
  background: var(--paper);
}

.faq-layout {
  display: grid;
  gap: 3rem;
}

.faq-heading h2 {
  max-width: 12ch;
}

.faq-heading > p:not(.section-kicker) {
  max-width: 27rem;
  color: var(--slate);
}

.faq-list {
  border-top: 1px solid var(--midnight);
}

.faq-item {
  scroll-margin-top: calc(var(--header-height) + 1rem);
  border-bottom: 1px solid var(--border);
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  display: grid;
  width: 100%;
  padding: 1.35rem 0;
  grid-template-columns: 1fr 2.5rem;
  align-items: center;
  gap: 1rem;
  border: 0;
  background: transparent;
  color: var(--midnight);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.faq-item button span {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--cream);
}

.faq-item button span::before,
.faq-item button span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.8rem;
  height: 2px;
  transform: translate(-50%, -50%);
  background: var(--teal-dark);
  content: "";
  transition: transform 180ms ease;
}

.faq-item button span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item button[aria-expanded="true"] span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  padding: 0 3.5rem 1.35rem 0;
  color: var(--slate);
}

.js .faq-answer[hidden] {
  display: none;
}

.no-js .faq-item button {
  cursor: default;
}

.no-js .faq-item button span {
  display: none;
}

/* Contact */
.contact-section {
  background: var(--midnight);
  color: var(--white);
}

.contact-layout {
  display: grid;
  gap: 3rem;
}

.contact-info h2 {
  max-width: 12ch;
  color: var(--white);
}

.contact-info > p:not(.section-kicker):not(.contact-links) {
  max-width: 34rem;
  color: #c7cce0;
}

.contact-info address {
  display: grid;
  margin-top: 2rem;
  gap: 1.25rem;
  font-style: normal;
}

.contact-info address > div {
  display: flex;
  gap: 0.9rem;
}

.contact-info address > div > span {
  color: var(--teal);
  font-size: 1.4rem;
}

.contact-info address p {
  margin: 0;
  color: #d9dceb;
}

.contact-info address a,
.contact-links a {
  color: var(--white);
}

.contact-links {
  margin-top: 2rem;
  color: #8f98b5;
  font-size: 0.85rem;
}

.contact-links span {
  margin-inline: 0.4rem;
  color: var(--teal);
}

.service-form {
  padding: clamp(1.35rem, 4vw, 2.25rem);
  border-top: 5px solid var(--orange);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.form-heading {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.form-heading > span {
  color: var(--midnight);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
}

.form-heading p {
  color: var(--slate);
  font-size: 0.74rem;
}

.field-grid {
  display: grid;
  gap: 1rem;
}

.field label,
.consent-field label {
  color: var(--midnight);
  font-size: 0.82rem;
  font-weight: 800;
}

.field label span,
.form-heading strong {
  color: var(--orange-dark);
}

.field input,
.field textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid #b9bdc8;
  border-radius: 0.6rem;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--teal-dark);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 167, 168, 0.18);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b42318;
}

.field-error {
  display: block;
  min-height: 1.35rem;
  color: #a61b12;
  font-size: 0.73rem;
  font-weight: 700;
}

.consent-field {
  display: grid;
  margin-top: 1rem;
  grid-template-columns: 1.35rem 1fr;
  align-items: start;
  gap: 0.75rem;
}

.consent-field input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.18rem 0 0;
  accent-color: var(--teal-dark);
}

.consent-field label {
  color: var(--slate);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.55;
}

.consent-error {
  margin-left: 2.1rem;
}

.form-status {
  display: none;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.form-status.is-error,
.form-status.is-info,
.form-status.is-success {
  display: block;
}

.form-status.is-error {
  border: 1px solid #e7a49f;
  background: #fff1f0;
  color: #82130b;
}

.form-status.is-info {
  border: 1px solid #e9b38f;
  background: var(--orange-pale);
  color: #74300c;
}

.form-status.is-success {
  border: 1px solid #8ec8b6;
  background: #e8f7f1;
  color: #125943;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  border: 0;
  cursor: pointer;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-note {
  margin-top: 1rem;
  color: var(--slate);
  font-size: 0.78rem;
  text-align: center;
}

.form-note a {
  font-weight: 800;
}

/* Final CTA */
.final-cta {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--teal);
}

.final-inner {
  display: grid;
  align-items: center;
  gap: 1.5rem;
}

.final-inner h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.final-inner .section-kicker {
  color: var(--midnight);
}

.final-inner .section-kicker::before {
  background: var(--midnight);
}

/* Footer */
.site-footer {
  padding-block: 4rem 6rem;
  background: #090d21;
  color: #c7cce0;
}

.footer-main {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-wordmark {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.footer-wordmark:hover {
  color: var(--teal);
}

.footer-brand p {
  max-width: 22rem;
  font-size: 0.88rem;
}

.footer-heading {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0;
}

.site-footer address {
  font-style: normal;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--white);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-nav a {
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-legal {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal > p:first-child {
  color: #8f98b5;
  font-size: 0.68rem;
  line-height: 1.7;
}

.copyright {
  margin-top: 1.25rem;
  color: #737d9c;
  font-size: 0.72rem;
}

.mobile-call {
  position: fixed;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 900;
  display: flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 2px solid var(--midnight);
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 12px 34px rgba(16, 22, 51, 0.32);
  color: var(--midnight);
  font-weight: 800;
  text-decoration: none;
}

.mobile-call:hover {
  background: var(--white);
  color: var(--midnight);
}

@media (min-width: 640px) {
  :root {
    --container: min(1160px, calc(100% - 3rem));
  }

  .benefit-grid,
  .service-grid,
  .detail-list,
  .reason-grid,
  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-grid article:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .benefit-grid article:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .benefit-grid article {
    padding-inline: 1rem;
  }

  .detail-card:last-child,
  .reason-grid article:last-child {
    grid-column: 1 / -1;
  }

  .field-full {
    grid-column: 1 / -1;
  }

  .mobile-call {
    right: 1.25rem;
    left: auto;
    width: auto;
    padding-inline: 1.4rem;
  }
}

@media (min-width: 800px) {
  .about-grid,
  .split-heading,
  .emergency-inner,
  .final-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .split-heading > p,
  .emergency-actions,
  .final-inner > .button {
    justify-self: end;
  }

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

  .detail-feature,
  .thermostat-feature {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .detail-feature > img {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
  }

  .detail-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-card:last-child,
  .reason-grid article:last-child {
    grid-column: auto;
  }

  .thermostat-feature > img {
    order: 2;
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
  }

  .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .area-layout {
    grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1.28fr);
  }

  .faq-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }

  .faq-heading,
  .contact-info {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    align-self: start;
  }

  .footer-main {
    grid-template-columns: 1.6fr 0.8fr 0.6fr;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(25rem, 0.96fr);
  }

  .benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .benefit-grid article {
    border-right: 1px solid var(--border);
    border-bottom: 0;
  }

  .benefit-grid article:last-child {
    border-right: 0;
  }

  .about-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 6rem;
  }

  .why-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 5rem;
  }
}

@media (min-width: 1080px) {
  .menu-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    visibility: visible;
    margin-left: auto;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    transform: none;
    background: transparent;
    opacity: 1;
  }

  .primary-nav a {
    padding: 0.5rem 0;
    border: 0;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-decoration: none;
  }

  .primary-nav a:hover {
    color: var(--teal-dark);
  }

  .header-call {
    display: block;
    padding-left: 1rem;
    border-left: 1px solid var(--border);
    color: var(--midnight);
    font-size: 0.78rem;
    line-height: 1.2;
    text-decoration: none;
  }

  .header-call .call-label {
    display: block;
    margin-bottom: 0.18rem;
    color: var(--orange-dark);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  .header-call strong {
    white-space: nowrap;
  }

  .mobile-call {
    display: none;
  }

  .site-footer {
    padding-bottom: 4rem;
  }
}

@media (max-width: 420px) {
  .hero-actions .button {
    width: 100%;
  }

  .hero-address {
    right: 0.5rem;
    left: 0.5rem;
    bottom: -2.8rem;
    max-width: none;
  }

  .trust-line {
    font-size: 0.68rem;
  }

  .map-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
