:root {
  --navy: #0b2d63;
  --navy-deep: #002f63;
  --orange: #e49b16;
  --orange-dark: #d88908;
  --ink: #0b2857;
  --line: #dbe0e7;
  --page: 1040px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.page-width { width: min(var(--page), calc(100% - 80px)); margin-inline: auto; }

.site-header {
  height: 60px;
  background: #fff;
  border-bottom: 1px solid #eaedf1;
  position: relative;
  z-index: 20;
}
.header-inner {
  width: min(1042px, calc(100% - 80px));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 329px 428px 160px;
  column-gap: 31px;
  align-items: center;
}
.brand {
  font-size: 31px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -1.3px;
}
.main-nav { display: flex; align-items: stretch; height: 100%; gap: 30px; }
.main-nav a {
  display: flex;
  align-items: center;
  position: relative;
  font-size: 10.5px;
  font-weight: 500;
  color: #0e1c33;
  white-space: nowrap;
}
.main-nav a.active { color: var(--navy); font-weight: 700; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 2px;
  background: var(--orange);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 37px;
  border-radius: 6px;
  padding: 0 17px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .15s ease, filter .15s ease;
}
.button:hover { transform: translateY(-1px); filter: brightness(1.03); }
.button-header {
  min-width: 160px;
  min-height: 36px;
  padding-inline: 14px;
  color: #fff;
  background: linear-gradient(180deg, #eaa52b, #d88908);
  box-shadow: 0 4px 12px rgba(190, 117, 0, .22);
  font-size: 11.5px;
}
.button-icon { font-size: 14px; line-height: 1; }
.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #eaa52b, #db8b08);
  border: 1px solid #eca72d;
  box-shadow: 0 4px 10px rgba(155, 94, 0, .16);
}
.button-outline-light { color: #fff; border: 1px solid rgba(255,255,255,.82); background: rgba(8,39,77,.22); }
.button-outline-dark { color: var(--navy); border: 1px solid var(--navy); background: #fff; }

.hero {
  height: 332px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background-image: url("../images/hero-interior.jpg");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(2,43,88,1) 0%,
    rgba(2,43,88,.998) 39%,
    rgba(2,43,88,.97) 44%,
    rgba(2,43,88,.79) 51%,
    rgba(2,43,88,.18) 62%,
    rgba(2,43,88,0) 72%);
}
.hero-grid {
  position: absolute;
  inset: 113px 49% 0 0;
  opacity: .23;
  background-image:
    linear-gradient(rgba(242,164,36,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,164,36,.34) 1px, transparent 1px),
    radial-gradient(circle at 82% 65%, rgba(238,163,36,.9) 0 1px, transparent 2px),
    radial-gradient(circle at 65% 45%, rgba(238,163,36,.7) 0 1px, transparent 2px);
  background-size: 18px 18px, 18px 18px, 58px 58px, 76px 76px;
  transform: perspective(430px) rotateX(58deg) scale(1.2);
  transform-origin: bottom left;
  mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 27px; }
.hero h1 {
  margin: 0 0 8px;
  width: 510px;
  font-size: 39px;
  line-height: 1.07;
  letter-spacing: -1.6px;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
}
.hero p {
  width: 395px;
  margin: 0;
  font-size: 11.3px;
  line-height: 1.58;
  font-weight: 500;
  color: rgba(255,255,255,.95);
}
.hero-actions { display: flex; gap: 12px; margin-top: 17px; }
.hero-actions .button { min-height: 37px; font-size: 11px; }
.hero-actions .button-primary { min-width: 174px; }
.hero-actions .button-outline-light { min-width: 150px; }

.section { background: #fff; }
.section-title {
  margin: 0;
  text-align: center;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -.65px;
  font-weight: 700;
}
.title-accent { width: 30px; height: 2px; background: var(--orange); margin: 7px auto 12px; }
.solutions .title-accent { margin: 2px auto 3px; }

.solutions { height: 250px; padding-top: 7px; }
.solutions .page-width,
.value .page-width { width: min(996px, calc(100% - 126px)); }
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.solution-card {
  position: relative;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 15px 23px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 1px 5px rgba(18,43,79,.03);
}
.solution-icon { width: 64px; height: 64px; object-fit: contain; margin-bottom: 17px; }
.solution-card h3 { margin: 0 0 8px; font-size: 14px; line-height: 1.15; font-weight: 700; }
.solution-card p { margin: 0; max-width: 168px; color: #3d4d66; font-size: 10.5px; line-height: 1.6; }
.solution-card > a { position: absolute; right: 18px; bottom: 12px; font-size: 21px; font-weight: 500; color: var(--orange); }

.value { height: 147px; padding-top: 0; }
.value .title-accent { margin-top: 3px; margin-bottom: 8px; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-item { display: grid; grid-template-columns: 74px 1fr; gap: 10px; align-items: center; min-height: 86px; }
.value-icon-wrap {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f5f7fa;
}
.value-icon-wrap img { width: 56px; height: 56px; }
.value-item > div:last-child { transform: translateY(5px); }
.value-item h3 { margin: 0 0 5px; font-size: 11.3px; line-height: 1.25; font-weight: 700; }
.value-item p { margin: 0; color: #4b5870; font-size: 9.4px; line-height: 1.56; }

.process {
  height: 101px;
  border-top: 1px solid #e1e5ea;
  padding-top: 3px;
}
.process-title { font-size: 21px; margin-bottom: 0; }
.process-grid {
  display: grid;
  grid-template-columns: 1fr 66px 1fr 66px 1fr;
  align-items: center;
  gap: 4px;
  width: 930px;
  max-width: 100%;
  margin-inline: auto;
}
.process-step { display: grid; grid-template-columns: 76px 22px 1fr; align-items: center; gap: 6px; padding-left: 18px; }
.process-icon { width: 72px; height: 72px; border-radius: 50%; background: #f5f7fa; display: grid; place-items: center; }
.process-icon img { width: 56px; height: 56px; }
.step-number { width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--navy); font-size: 9px; font-weight: 700; align-self: start; margin-top: 8px; }
.process-step h3 { margin: 0 0 5px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.process-step p { margin: 0; font-size: 9.1px; line-height: 1.55; color: #4b5870; }
.process-arrow { text-align: center; color: var(--navy); font-size: 15px; letter-spacing: 1px; transform: translateY(3px); }

.professionals { height: 291px; padding: 0 7px 28px; background: #fff; }
.professional-card {
  height: 263px;
  border: 1px solid #ead5ae;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 448px 1fr;
  background: linear-gradient(90deg, #fff 0%, #fff 48%, #fffaf1 100%);
  width: 100%;
  max-width: 1110px;
  margin-inline: auto;
}
.professional-image {
  min-width: 0;
  background-image: url("../images/professional-hvac.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}
.professional-copy { position: relative; padding: 32px 42px 18px 44px; overflow: hidden; }
.professional-copy h2 { margin: 0 0 10px; position: relative; z-index: 1; font-size: 25px; line-height: 1.15; letter-spacing: -.7px; }
.professional-copy h2::after { content: ""; position: absolute; left: 0; bottom: -9px; width: 31px; height: 2px; background: var(--orange); }
.professional-lead { display: flex; align-items: center; gap: 12px; margin-top: 17px; position: relative; z-index: 1; }
.professional-round-icon { width: 53px; height: 53px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--navy); }
.professional-round-icon img { width: 39px; height: 39px; }
.professional-lead p { margin: 0; font-size: 15px; line-height: 1.42; font-weight: 600; }
.professional-lead strong { color: var(--orange-dark); font-weight: 600; }
.professional-body { margin: 14px 0 17px; width: 430px; max-width: calc(100% - 90px); font-size: 9.7px; line-height: 1.43; color: #273a57; position: relative; z-index: 1; }
.professional-actions { display: flex; gap: 16px; margin-left: 0; position: relative; z-index: 1; }
.professional-actions .button { min-height: 35px; font-size: 10px; border-radius: 5px; }
.professional-actions .button-primary { min-width: 213px; }
.professional-actions .button-outline-dark { min-width: 151px; }
.city-outline { position: absolute; right: -7px; bottom: -8px; width: 205px; opacity: .78; }

.cta-band {
  height: 53px;
  color: #fff;
  background: linear-gradient(90deg, #00346a 0%, #004079 50%, #003367 100%);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -55px;
  width: 520px;
  height: 140px;
  border-radius: 50%;
  opacity: .2;
  background: repeating-radial-gradient(ellipse at center, transparent 0 8px, rgba(239,161,25,.8) 9px 10px);
  transform: rotate(-8deg);
}
.cta-inner {
  width: 930px;
  max-width: calc(100% - 80px);
  height: 100%;
  display: grid;
  grid-template-columns: 88px 526px 205px;
  align-items: center;
  justify-content: start;
  position: relative;
  z-index: 1;
}
.cta-icon { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--orange); display: grid; place-items: center; }
.cta-icon img { width: 39px; height: 39px; }
.cta-copy h2 { margin: 0; font-size: 19px; line-height: 1.08; letter-spacing: -.4px; }
.cta-copy p { margin: 2px 0 0; font-size: 7.8px; color: rgba(255,255,255,.85); }
.cta-button { width: 205px; min-width: 205px; min-height: 37px; margin-right: 0; font-size: 11px; }

.site-footer { height: 168px; color: #fff; background: #06396e; }
.footer-grid {
  width: 980px;
  max-width: calc(100% - 80px);
  height: 140px;
  display: grid;
  grid-template-columns: 230px 150px 170px 120px;
  column-gap: 70px;
  justify-content: start;
  padding-top: 14px;
}
.footer-logo { font-size: 26px; line-height: 1; font-weight: 500; letter-spacing: -.7px; margin-bottom: 8px; }
.footer-brand p { margin: 0; font-size: 9px; line-height: 1.55; color: rgba(255,255,255,.9); }
.footer-accent { margin-top: 12px; width: 35px; height: 2px; background: var(--orange); }
.footer-column h3 { margin: 0 0 6px; font-size: 9px; font-weight: 700; }
.footer-column p, .footer-column a { display: block; margin: 0 0 3px; font-size: 8.2px; line-height: 1.4; color: rgba(255,255,255,.88); }
.footer-column p span { color: var(--orange); font-size: 6px; }
.footer-bottom { height: 28px; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.64); }
.footer-bottom .page-width { height: 100%; display: flex; justify-content: space-between; align-items: center; font-size: 7.5px; }

@media (max-width: 1050px) {
  .header-inner { display: flex; }
  .brand { margin-right: auto; }
  .main-nav { gap: 18px; }
  .button-header { margin-left: 20px; }
  .professional-card { grid-template-columns: 41% 59%; }
  .professional-copy { padding-right: 24px; }
  .footer-grid { column-gap: 42px; }
}

@media (max-width: 800px) {
  body { font-size: 14px; }
  .site-header { height: auto; }
  .header-inner { min-height: 66px; display: flex; flex-wrap: wrap; padding: 12px 0; gap: 12px; }
  .brand { font-size: 27px; }
  .main-nav { order: 3; width: 100%; overflow-x: auto; gap: 22px; height: 34px; }
  .main-nav a.active::after { bottom: 0; }
  .button-header { margin-left: 0; }
  .hero { height: auto; min-height: 520px; background-size: auto 332px; background-position: top right; background-color: var(--navy-deep); }
  .hero-shade { background: linear-gradient(180deg, rgba(2,43,88,.2) 0, rgba(2,43,88,.85) 45%, rgba(2,43,88,1) 65%); }
  .hero-content { padding-top: 269px; padding-bottom: 40px; }
  .hero h1, .hero p { width: 100%; }
  .hero h1 { font-size: clamp(32px, 7vw, 42px); }
  .solutions, .value, .process, .professionals, .cta-band, .site-footer { height: auto; }
  .solutions { padding: 25px 0 35px; }
  .solutions .page-width, .value .page-width { width: min(92%, 900px); }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .value { padding: 22px 0 30px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .process { padding: 22px 0 30px; }
  .process-grid { width: 100%; grid-template-columns: 1fr; gap: 20px; }
  .process-step { padding-left: 0; }
  .process-arrow { display: none; }
  .professionals { padding: 0 14px 14px; }
  .professional-card { height: auto; grid-template-columns: 1fr; }
  .professional-image { min-height: 310px; }
  .professional-copy { padding: 28px 30px 30px; }
  .professional-body { width: auto; max-width: none; font-size: 11px; }
  .professional-actions { flex-wrap: wrap; }
  .cta-band { padding: 17px 0; }
  .cta-inner { width: min(92%, 900px); max-width: none; grid-template-columns: 66px 1fr; gap: 10px; }
  .cta-button { grid-column: 1 / -1; margin-top: 12px; width: 100%; }
  .footer-grid { width: min(92%, 900px); max-width: none; height: auto; grid-template-columns: repeat(2, 1fr); padding: 25px 0; gap: 28px 50px; }
  .footer-bottom { height: auto; padding: 10px 0; }
}

@media (max-width: 520px) {
  .page-width, .header-inner { width: calc(100% - 32px); }
  .button-header { padding-inline: 12px; font-size: 10px; }
  .hero { min-height: 570px; }
  .hero-content { padding-top: 264px; }
  .hero p { font-size: 11px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .solution-grid, .value-grid, .footer-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 23px; }
  .professional-copy h2 { font-size: 22px; }
  .professional-lead { align-items: flex-start; }
  .professional-lead p { font-size: 13px; }
  .city-outline { opacity: .35; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-icon { margin-inline: auto; }
  .footer-bottom .page-width { flex-direction: column; gap: 7px; align-items: flex-start; }
}
