* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #f7f5f1;
  color: #1d2a36;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

:root {
  --primary: #0d4d8d;
  --primary-dark: #0a3d6d;
  --primary-soft: #dfeefb;
  --accent: #f0ae67;
  --accent-soft: #fff1d8;
  --cream: #f7f5f1;
  --white: #ffffff;
  --muted: #596a78;
  --heading: #1b2d3a;
  --line: #dfe6eb;
  --shadow: 0 18px 45px rgba(13, 77, 141, 0.12);
  --radius: 24px;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 245, 241, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 77, 141, 0.08);
}

.topbar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.topbar-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 86px;
  position: relative;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, #1b6eb6 100%);
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--heading);
}

.main-nav a {
  position: relative;
  color: var(--heading);
  font-weight: 600;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1c6bb1 100%);
  color: var(--white);
  box-shadow: 0 12px 25px rgba(13, 77, 141, 0.22);
}

.btn-secondary {
  background: var(--white);
  color: var(--heading);
  border: 1px solid var(--line);
}

.btn-light {
  background: var(--white);
  color: var(--primary-dark);
}

.hero {
  background: linear-gradient(135deg, rgba(247, 245, 241, 0.98), rgba(223, 238, 251, 0.72));
  padding: 72px 0 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary);
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.8);
}

h1, h2, h3 {
  color: var(--heading);
  line-height: 1.1;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(2.8rem, 4vw, 4.8rem);
  letter-spacing: -0.06em;
  max-width: 680px;
}

h2 {
  font-size: clamp(2.1rem, 3vw, 3.2rem);
  letter-spacing: -0.05em;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.lead {
  font-size: 1.08rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 24px;
}

.hero-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--heading);
  font-weight: 600;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta li::before {
  content: "•";
  color: var(--accent);
  font-size: 1.4rem;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrap {
  width: min(90%, 560px);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 8px solid rgba(255, 255, 255, 0.9);
}

.hero-image-wrap img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.hero-image-wrap .image-placeholder {
  min-height: 540px;
  height: 100%;
  border: 0;
  border-radius: 0;
}

.hero-card {
  position: absolute;
  z-index: 2;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(13, 77, 141, 0.08);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 18px 20px;
  max-width: 240px;
}

.hero-card.primary {
  top: 24px;
  left: 10px;
}

.hero-card.secondary {
  right: 0;
  bottom: 32px;
}

.hero-card .small-label {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.hero-card strong {
  display: block;
  font-size: clamp(1.4rem, 2vw, 2rem);
  color: var(--heading);
  line-height: 1.2;
}

.hero-card small {
  color: var(--muted);
  font-size: 0.8rem;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(223,238,251,0.35), rgba(255,255,255,0));
}

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

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

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

.service-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(13, 77, 141, 0.08);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: 0 12px 30px rgba(27, 45, 58, 0.06);
}

.icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.trust-strip {
  background: var(--primary-dark);
  color: var(--white);
  padding: 24px 0;
}

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

.trust-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-value {
  font-size: clamp(1.4rem, 2.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 6px;
}

.stat-label {
  color: rgba(255,255,255,0.8);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: 1fr 1fr;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--heading);
  font-weight: 500;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

.feature-panel {
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.image-placeholder {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  min-height: 320px;
  padding: 36px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse at 80% 15%, rgba(255, 255, 255, 0.9), transparent 44%),
    linear-gradient(140deg, #e8f1f8, #f8f5ef);
  color: var(--heading);
}

.feature-panel.image-placeholder {
  min-height: 420px;
}

.image-placeholder::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -70px;
  bottom: -110px;
  border: 1px solid rgba(13, 77, 141, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(13, 77, 141, 0.04), 0 0 0 48px rgba(13, 77, 141, 0.03);
}

.image-placeholder > * {
  position: relative;
}

.image-placeholder-kicker {
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.image-placeholder strong {
  max-width: 28rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.image-placeholder small {
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.photo-placeholder-grid .image-placeholder {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.photo-placeholder-grid .image-placeholder:only-child {
  grid-column: 1 / -1;
  width: min(100%, 760px);
  justify-self: center;
}

.photo-placeholder-grid .image-placeholder strong {
  font-size: 1.2rem;
}

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

.testimonial-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(13, 77, 141, 0.1);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 12px 26px rgba(27, 45, 58, 0.05);
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--muted);
  font-style: italic;
}

.testimonial-card blockquote::before,
.testimonial-card blockquote::after {
  content: none;
}

.testimonial-card cite {
  color: var(--heading);
  font-style: normal;
  font-weight: 700;
}

.testimonial-note {
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

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

.area-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 18px;
  font-weight: 700;
  color: var(--heading);
  text-align: center;
  box-shadow: 0 12px 24px rgba(27, 45, 58, 0.04);
}

.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 36px 0;
}

.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0;
}

.site-footer {
  background: #10253c;
  color: rgba(255,255,255,0.8);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-grid h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-grid a,
.footer-grid li {
  color: rgba(255,255,255,0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 28px;
  padding: 18px 0 26px;
}

.page-hero {
  padding: 96px 0 72px;
}

.small-hero {
  background: linear-gradient(135deg, rgba(14, 51, 91, 0.9), rgba(20, 90, 152, 0.78));
  color: var(--white);
}

.narrow-hero {
  max-width: 820px;
}

.small-hero h1,
.small-hero p,
.small-hero .eyebrow {
  color: var(--white);
}

.hero-heating { background: linear-gradient(135deg, #173c5b, #0d4d8d); }
.hero-cooling { background: linear-gradient(135deg, #164f78, #1b6eb6); }
.hero-iaq { background: linear-gradient(135deg, #274e60, #0d4d8d); }
.hero-financing { background: linear-gradient(135deg, #273449, #1e4866); }
.hero-about { background: linear-gradient(135deg, #15394f, #225878); }
.hero-contact { background: linear-gradient(135deg, #0c3657, #195f88); }

.detail-card {
  min-height: 220px;
}

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

.process-item {
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: 0 12px 26px rgba(27, 45, 58, 0.04);
}

.process-item span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.contact-card,
.info-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.contact-card {
  padding: 30px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-demo-note {
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: #fff8eb;
  color: var(--heading);
}

.form-demo-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--primary-dark);
  font-weight: 600;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--heading);
  font-weight: 600;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfe;
  padding: 0.9rem 1rem;
  color: var(--heading);
}

textarea { resize: vertical; }

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

.contact-sidebar {
  display: grid;
  gap: 18px;
}

.info-box {
  padding: 24px 22px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--heading);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--heading);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  font-weight: 700;
}

.tinted-panel {
  background: linear-gradient(135deg, rgba(223,238,251,0.8), rgba(255,255,255,1));
  padding: 20px;
}

.info-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255,255,255,0.75);
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(13,77,141,0.08);
}

@media (max-width: 980px) {
  .service-grid,
  .process-grid,
  .footer-grid,
  .trust-grid,
  .hero-grid,
  .split-layout,
  .contact-layout,
  .area-grid,
  .photo-placeholder-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(247,245,241,0.98);
    border-bottom: 1px solid var(--line);
    padding: 16px 18px 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 20px 30px rgba(13, 77, 141, 0.08);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 700px) {
  .service-grid,
  .process-grid,
  .footer-grid,
  .trust-grid,
  .hero-grid,
  .split-layout,
  .contact-layout,
  .field-row,
  .area-grid,
  .photo-placeholder-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-image-wrap img {
    height: 420px;
  }

  .hero-image-wrap .image-placeholder {
    min-height: 400px;
  }

  .topbar-inner,
  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-copy small {
    display: none;
  }

  .section {
    padding: 72px 0;
  }
}
