:root {
  color-scheme: light;
  --ink: #10202a;
  --muted: #61727c;
  --line: #d7e0e2;
  --paper: #f7f8f6;
  --white: #ffffff;
  --navy: #0b1820;
  --navy-2: #132a36;
  --teal: #1c7581;
  --gold: #c7a35a;
  --gold-soft: #efe4c7;
  --shadow: 0 22px 55px rgba(11, 24, 32, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--navy);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: rgba(11, 24, 32, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 270px;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(199, 163, 90, 0.7);
  border-radius: 8px;
  background: linear-gradient(145deg, var(--gold), #f1d894);
  color: var(--navy);
  font-weight: 900;
}

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

.brand small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: clamp(14px, 2.6vw, 32px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
}

.nav a,
.header-call,
.btn {
  text-decoration: none;
}

.header-call {
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--gold);
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(11, 24, 32, 0.96) 0%, rgba(11, 24, 32, 0.8) 38%, rgba(11, 24, 32, 0.25) 78%),
    url("assets/premium-hvac-hero.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 24vh;
  background: linear-gradient(0deg, var(--paper), rgba(247, 248, 246, 0));
}

.hero-content {
  width: min(840px, calc(100% - 36px));
  margin: 0 0 clamp(50px, 8vw, 104px) clamp(18px, 6vw, 78px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 11px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 760px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.lead {
  max-width: 720px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 23px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 19px;
  border-radius: 8px;
  font-weight: 900;
}

.btn.primary {
  background: var(--gold);
  color: var(--navy);
}

.btn.ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(810px, 100%);
  margin: 34px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts div {
  padding: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.hero-facts dd {
  margin: 0;
  font-weight: 900;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 100px) 0;
}

.intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(26px, 6vw, 78px);
  align-items: start;
}

.intro p:last-child,
.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 30px;
}

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

.solution-card {
  min-height: 310px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(11, 24, 32, 0.07);
}

.solution-card.dark {
  color: var(--white);
  background: var(--navy-2);
  border-color: rgba(199, 163, 90, 0.32);
}

.solution-card span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  border-radius: 8px;
  background: var(--gold-soft);
  color: var(--navy);
  font-weight: 900;
}

.solution-card.dark span {
  background: var(--gold);
}

.solution-card p,
.system-list p,
.sector-grid p,
.timeline p,
.insight-grid p {
  color: var(--muted);
}

.solution-card.dark p {
  color: rgba(255, 255, 255, 0.7);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  background: var(--navy);
  color: var(--white);
}

.split-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

.split-content {
  padding: clamp(46px, 7vw, 92px);
}

.system-list {
  display: grid;
  gap: 12px;
}

.system-list article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.system-list p {
  color: rgba(255, 255, 255, 0.68);
}

.sectors {
  width: 100%;
  max-width: none;
  padding-left: clamp(18px, 5vw, 72px);
  padding-right: clamp(18px, 5vw, 72px);
}

.sectors .section-heading {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.sector-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.sector-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sector-grid article div {
  padding: 20px;
}

.sector-text-only {
  min-height: 100%;
  background:
    linear-gradient(145deg, rgba(19, 42, 54, 0.96), rgba(28, 117, 129, 0.88));
  color: var(--white);
}

.sector-text-only p {
  color: rgba(255, 255, 255, 0.74);
}

.spec-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: start;
  padding: clamp(42px, 6vw, 72px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.spec-grid span {
  display: grid;
  place-items: center;
  min-height: 66px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy-2);
  text-align: center;
  font-weight: 800;
}

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

.timeline article {
  min-height: 260px;
  padding: 22px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 900;
}

.insight {
  border-top: 1px solid var(--line);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.insight-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 86px;
  padding: clamp(32px, 5vw, 52px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 24, 32, 0.98), rgba(19, 42, 54, 0.94)),
    url("assets/hospital-hvac.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.contact p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-panel {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.phone {
  color: var(--gold);
  font-size: 30px;
  font-weight: 900;
  text-decoration: none;
}

.contact-panel span {
  color: rgba(255, 255, 255, 0.72);
}

.footer {
  padding: 30px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.74);
  background: #071016;
}

.footer p {
  margin: 0 0 6px;
}

.footer .credit {
  margin-top: 14px;
  color: rgba(199, 163, 90, 0.86);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand {
    min-width: auto;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .intro,
  .split-section,
  .spec-band,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .split-image img {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: auto;
    gap: 12px;
  }

  .header-call {
    padding: 9px 12px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(11, 24, 32, 0.96) 0%, rgba(11, 24, 32, 0.82) 58%, rgba(11, 24, 32, 0.18) 100%),
      url("assets/premium-hvac-hero.png") center / cover no-repeat;
  }

  .hero-facts,
  .solution-grid,
  .sector-grid,
  .spec-grid,
  .timeline,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-facts div:last-child {
    border-bottom: 0;
  }

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

  .solution-card,
  .timeline article {
    min-height: auto;
  }

  .phone {
    font-size: 25px;
  }
}
