:root {
  --bg: #fbf3e8;
  --panel: #fff9f0;
  --panel-alt: #f2e2ce;
  --primary: #254866;
  --primary-strong: #172f46;
  --secondary: #10263b;
  --accent: #df9345;
  --accent-strong: #bd682e;
  --text: #1d2e3d;
  --muted: #5f6c73;
  --border: rgba(29, 46, 61, 0.12);
  --shadow: 0 20px 50px rgba(23, 47, 70, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(ellipse at 8% 24%, rgba(223, 147, 69, 0.12), transparent 32%),
    radial-gradient(ellipse at 92% 58%, rgba(189, 104, 46, 0.08), transparent 34%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  accent-color: var(--accent-strong);
}

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

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: rgba(223, 147, 69, 0.28);
  color: var(--primary-strong);
}

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.alt {
  background: var(--panel-alt);
}

.reviews.alt {
  background: linear-gradient(135deg, #fffaf3, #f5e8d8);
  border-top: 1px solid var(--border);
}

.services,
.contact {
  background: var(--bg);
}

.about {
  background:
    radial-gradient(ellipse at 92% 16%, rgba(223, 147, 69, 0.16), transparent 32%),
    linear-gradient(135deg, #fff8ed, #f5e5d0);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 440px;
  border-radius: 32px;
  background: #10263b;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.about-visual::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 38, 59, 0.02) 18%, rgba(16, 38, 59, 0.18) 48%, rgba(16, 38, 59, 0.86) 100%);
  content: "";
}

.about-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.visual-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.visual-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 340px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 1.25rem 1.3rem;
  color: #fff;
}

.visual-panel p {
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  opacity: 0.8;
}

.visual-panel h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.photo-credit {
  display: inline-block;
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.62rem;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.photo-credit:hover,
.photo-credit:focus-visible {
  color: #fff;
}

.about-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.about-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.about-pills span {
  background: rgba(223, 147, 69, 0.11);
  border: 1px solid rgba(189, 104, 46, 0.2);
  color: var(--primary-strong);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow.dark {
  color: var(--primary-strong);
}

.site-header {
  position: static;
  background: var(--secondary);
  border-bottom: none;
  box-shadow: none;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.brand-emblem {
  position: relative;
  display: block;
  width: 112px;
  height: 112px;
}

.brand-logo {
  position: absolute;
  top: 19px;
  left: 19px;
  display: block;
  width: 74px;
  height: 74px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  background: var(--panel-alt);
  border: 2px solid #fff;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.2);
}

.brand-ring-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: #fff;
  font-family: "Inter", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.25px;
}

.brand-ring-text text:last-child {
  font-size: 8px;
  letter-spacing: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.main-nav a {
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
}

.phone-link {
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.facebook-button,
.yelp-button,
.google-button {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #1877f2;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.yelp-button {
  color: #d32323;
}

.google-button {
  color: #4285f4;
}

.google-button svg {
  width: 22px;
  height: 22px;
  display: block;
}

.facebook-button:hover,
.facebook-button:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.yelp-button:hover,
.yelp-button:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.google-button:hover,
.google-button:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.yelp-button svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.facebook-icon {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
  transform: translateX(-1px);
}

.hero {
  padding: 5.5rem 0 4rem;
  background:
    linear-gradient(90deg, rgba(16, 38, 59, 0.94) 0%, rgba(16, 38, 59, 0.84) 48%, rgba(16, 38, 59, 0.52) 100%),
    url("service-van-background.webp") center 58% / cover no-repeat;
  color: #fff;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2.5rem;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  max-width: 620px;
}

.subhead {
  margin: 1.2rem 0 0;
  max-width: 560px;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 12px 26px rgba(189, 104, 46, 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.trust-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 0;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.trust-points li::before {
  content: "✓";
  color: #f0b56f;
  margin-right: 0.5rem;
}

.hero-card {
  background: rgba(16, 38, 59, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.hero-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.hero-highlights {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 0;
}

.hero-highlights li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-highlights svg {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.hero-highlights h3 {
  margin: 0;
  font-size: 1rem;
}

.hero-highlights p {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.service-areas {
  background: linear-gradient(90deg, #fff5e8, #fffaf3 50%, #f9ead8);
  color: var(--primary-strong);
  padding: 1rem 0 2.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.service-area-layout {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 96px;
  align-items: center;
  gap: 1rem;
}

.service-area-map {
  width: 100%;
  margin: 1.5rem 0 0;
}

.service-area-map h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.service-area-map p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-area-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.area-art {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 5px 4px rgba(23, 47, 70, 0.1));
  animation: area-art-float 4s ease-in-out infinite;
}

.thermostat-art {
  animation-delay: -2s;
}

@keyframes area-art-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.small-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.section-heading {
  margin: 0 auto 2.5rem;
  max-width: 700px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.section-heading > p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: linear-gradient(145deg, #fffaf3, #fff4e7);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(23, 47, 70, 0.06);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(23, 47, 70, 0.11);
}

.icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
}

.icon-art {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 3px 3px rgba(23, 47, 70, 0.12));
  animation: service-icon-float 4s ease-in-out infinite;
}

.service-card:nth-child(2) .icon-art {
  animation-delay: -1.3s;
}

.service-card:nth-child(3) .icon-art {
  animation-delay: -2.6s;
}

@keyframes service-icon-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.service-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.35rem;
}

.service-card p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.service-card a {
  color: var(--primary-strong);
  font-weight: 700;
}

.brand-support {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(223, 147, 69, 0.14), transparent 48%),
    linear-gradient(135deg, #fff7eb, #f3e3d0);
}

.brand-support .section-heading {
  margin-bottom: 2rem;
}

.brand-marquee {
  overflow: hidden;
  padding: 1.1rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.brand-track,
.brand-group {
  display: flex;
  width: max-content;
  align-items: center;
}

.brand-track {
  animation: brand-scroll-right 36s linear infinite;
  animation-direction: reverse;
}

.brand-marquee:hover .brand-track,
.brand-marquee:focus-within .brand-track {
  animation-play-state: paused;
}

.brand-group {
  flex-shrink: 0;
  gap: clamp(2.5rem, 5vw, 5rem);
  margin: 0;
  padding: 0 clamp(1.25rem, 2.5vw, 2.5rem) 0 0;
  list-style: none;
}

.brand-wordmark {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1;
}

.brand-wordmark.carrier {
  color: #0067a8;
  letter-spacing: 0.035em;
}

.brand-wordmark.trane {
  color: #c41230;
  letter-spacing: 0.06em;
}

.brand-wordmark.lennox {
  color: #155b8c;
  letter-spacing: 0.14em;
}

.brand-wordmark.goodman {
  color: #203b51;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.brand-wordmark.rheem {
  color: #c92735;
  font-style: italic;
  letter-spacing: 0.06em;
}

.brand-wordmark.york {
  color: #1a5a43;
  letter-spacing: 0.1em;
}

.brand-wordmark.bryant {
  color: #87364a;
  font-style: italic;
  letter-spacing: 0.045em;
}

.brand-wordmark.amana {
  color: #b53035;
  letter-spacing: 0.11em;
}

@keyframes brand-scroll-right {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.why-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.why-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.why-copy p {
  margin: 0;
  color: var(--muted);
}

.features-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.feature-item {
  padding: 0.25rem 0;
}

.feature-item::marker {
  color: var(--accent);
}

.feature-item h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.review-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(23, 47, 70, 0.06);
}

.review-rating {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.review-rating span {
  display: inline-flex;
  width: 1.45rem;
  height: 1.45rem;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: #d32323;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
}

.review-card p {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 1.02rem;
}

.review-card footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-weight: 700;
}

.review-card footer a {
  color: var(--primary-strong);
}

.review-source {
  color: #d32323;
  font-size: 0.85rem;
}

.cta-banner {
  background: linear-gradient(115deg, var(--primary-strong), var(--primary));
  color: #fff;
  padding: 2rem 0;
}

.cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-wrap h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  letter-spacing: -0.04em;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.contact-copy p {
  color: var(--muted);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.8rem;
  color: var(--text);
}

.contact-list a {
  color: var(--primary-strong);
  font-weight: 700;
}

.contact-form {
  background: linear-gradient(145deg, #fffaf3, #fff4e7);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 20px 35px rgba(23, 47, 70, 0.08);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.contact-form.is-draft-ready .field-group,
.contact-form.is-draft-ready button {
  display: none;
}

.contact-form .form-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.form-status-icon {
  display: none;
}

.contact-form.is-draft-ready .form-status-icon {
  display: inline-grid;
  width: 4rem;
  height: 4rem;
  flex: 0 0 4rem;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #3c9b62, #287446);
  box-shadow: 0 0 0 5px rgba(60, 155, 98, 0.12), 0 5px 12px rgba(40, 116, 70, 0.2);
}

.form-status-icon svg {
  width: 2.2rem;
  height: 2.2rem;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.field-group {
  display: grid;
  gap: 0.45rem;
}

.field-group label {
  font-weight: 600;
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fbf8f0;
  padding: 0.9rem 1rem;
  color: var(--text);
}

.field-group input:focus,
.field-group textarea:focus {
  outline: 2px solid rgba(223, 147, 69, 0.2);
  border-color: var(--accent);
}

.full-width {
  width: 100%;
}

.contact-form .contact-text-button {
  border-color: var(--primary-strong);
  background: transparent;
  color: var(--primary-strong);
}

.contact-form .contact-text-button:hover,
.contact-form .contact-text-button:focus-visible {
  background: rgba(23, 47, 70, 0.08);
}

.site-footer {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.8);
  padding: 1.5rem 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-wrap p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .hero-layout,
  .about-layout,
  .why-layout,
  .contact-layout,
  .card-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .service-area-layout {
    grid-template-columns: 72px minmax(0, 1fr) 62px;
    gap: 0.6rem;
  }

  .main-nav {
    display: none;
  }

  .phone-link {
    font-size: 1.35rem;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    gap: 0.5rem;
  }

  .brand-emblem {
    width: 78px;
    height: 78px;
  }

  .brand-logo {
    top: 13px;
    left: 13px;
    width: 52px;
    height: 52px;
  }

  .header-contact {
    gap: 0.35rem;
  }

  .facebook-button,
  .yelp-button,
  .google-button {
    width: 36px;
    height: 36px;
  }

  .phone-link {
    font-size: 1rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-actions,
  .cta-wrap,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
  }

  .site-header {
    position: static;
  }

  .nav-wrap {
    min-height: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .area-art {
    animation: none;
  }

  .icon-art {
    animation: none;
  }

  .brand-logo {
    top: 19px;
    left: 19px;
    width: 74px;
    height: 74px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-track {
    animation: none;
  }

  .brand-marquee {
    overflow-x: auto;
    mask-image: none;
  }
}
