/* ==========================================================================
   HVAC Service Co. — Residential Heating & Cooling
   style.css  ·  section-based · CSS custom properties
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  --navy: #0B1F33;
  --blue: #123B6D;
  --blue-600: #1B5296;
  --blue-300: #6E9ACB;
  --red: #D62828;
  --red-600: #B01F1F;
  --bg: #F5F7FA;
  --bg-blue: #EAF2F8;
  --white: #FFFFFF;
  --ink: #14212E;
  --muted: #5C6C7C;
  --line: #DCE4EC;
  --line-soft: #E9EEF4;

  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Outfit", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1240px;
  --pad-x: 24px;
  --radius: 6px;
  --radius-lg: 14px;

  --shadow-sm: 0 4px 14px rgba(11, 31, 51, .07);
  --shadow-md: 0 14px 34px rgba(11, 31, 51, .11);
  --shadow-red: 0 12px 26px rgba(214, 40, 40, .28);

  --ease: cubic-bezier(.22, .68, .32, 1);
  --dur: .45s;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: break-word;
  word-break: normal;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.02em;
}

/* brand name reads as a wordmark, so it uses the heading face too */
.brand__text strong {
  font-family: var(--font-head);
  font-weight: 700;
}

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

ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
button { font: inherit; color: inherit; }

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

::selection { background: var(--red); color: #fff; }

/* --------------------------------------------------------------------------
   3. LAYOUT HELPERS
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section {
  position: relative;
  padding: 104px 0;
}

.section--tint { background: var(--bg-blue); }

.section__head {
  max-width: 720px;
  margin-bottom: 54px;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__title {
  font-size: clamp(1.85rem, 1.2rem + 1.7vw, 2.9rem);
}

.section__lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 62ch;
}

.section__head--center .section__lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--blue-600);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 26px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.eyebrow--light { color: var(--blue-300); }

/* --------------------------------------------------------------------------
   4. BUTTONS & LINKS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color .3s var(--ease), transform .3s var(--ease),
              box-shadow .3s var(--ease), color .3s var(--ease);
}

.btn i { font-size: .95em; }

.btn--primary:hover {
  background: var(--red-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn--sm { padding: 12px 18px; font-size: .88rem; }
.btn--lg { padding: 18px 32px; font-size: 1.02rem; }

.btn--block { width: 100%; }

.btn--light {
  background: #fff;
  color: var(--navy);
}

.btn--light:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: .95rem;
  font-weight: 700;
  border-bottom: 2px solid var(--red);
  padding-bottom: 3px;
  transition: gap .3s var(--ease), color .3s var(--ease);
}

.link-arrow i { color: var(--red); transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover i { transform: translateX(5px); }

.link-arrow--light { color: #fff; }
.link-arrow--light i { color: var(--red); }

/* --------------------------------------------------------------------------
   5. REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}

.js [data-reveal="image"] {
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: opacity .8s var(--ease), clip-path .9s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
}

.hero [data-reveal]:nth-child(1) { transition-delay: .05s; }
.hero [data-reveal]:nth-child(2) { transition-delay: .13s; }
.hero [data-reveal]:nth-child(3) { transition-delay: .21s; }
.hero [data-reveal]:nth-child(4) { transition-delay: .29s; }
.hero [data-reveal]:nth-child(5) { transition-delay: .37s; }
.hero .hero__figure[data-reveal] { transition-delay: .2s; }

/* --------------------------------------------------------------------------
   6. TOP UTILITY STRIP
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .74);
  font-size: .82rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  padding-block: 8px;
}

.topbar__msg {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
}

.topbar__msg i { color: var(--blue-300); }

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.topbar__meta i { color: var(--red); }
.topbar__meta a { color: #fff; font-weight: 600; }
.topbar__meta a:hover { color: #ff8a8a; }

/* --------------------------------------------------------------------------
   7. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 2px 18px rgba(11, 31, 51, .05);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  flex: 0 0 auto;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--blue) 0%, var(--navy) 100%);
  color: #fff;
  font-size: 1.25rem;
  transition: background .35s var(--ease), transform .35s var(--ease);
}

.brand:hover .brand__mark {
  background: linear-gradient(140deg, var(--red) 0%, var(--red-600) 100%);
  transform: rotate(-6deg);
}

.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-size: 1.1rem; letter-spacing: -.02em; }
.brand__text small {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}

.nav__link {
  position: relative;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--navy);
  font-size: .95rem;
  font-weight: 600;
  transition: color .3s var(--ease), background-color .3s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease);
}

.nav__link:hover { color: var(--red); }
.nav__link:hover::after { transform: scaleX(1); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}

.nav-toggle:hover { border-color: var(--red); background: var(--bg-blue); }

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 100%;
}

.nav-toggle__bars span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: width .3s var(--ease);
}

.nav-toggle:hover .nav-toggle__bars span:nth-child(2) { width: 14px; }

/* --------------------------------------------------------------------------
   8. MOBILE NAVIGATION PANEL
   -------------------------------------------------------------------------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.mobile-nav[hidden] { display: none; }

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 51, .55);
  opacity: 0;
  transition: opacity .35s var(--ease);
}

.mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(340px, 86vw);
  max-width: 100%;
  height: 100%;
  padding: 20px;
  background: var(--navy);
  color: #fff;
  transform: translateX(100%);
  transition: transform .42s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.mobile-nav__brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.mobile-nav__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}

.mobile-nav__close:hover {
  background: var(--red);
  border-color: var(--red);
}

.mobile-nav__body {
  display: flex;
  flex-direction: column;
  padding-block: 10px;
  flex: 1 1 auto;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 6px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 1.06rem;
  font-weight: 600;
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}

.mobile-nav__link:hover { color: #ff9b9b; padding-left: 10px; }

.mobile-nav__foot {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.mobile-nav__hours {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .66);
  font-size: .84rem;
  text-align: center;
}

.mobile-nav__hours i { color: var(--red); }

.mobile-nav.is-open .mobile-nav__backdrop { opacity: 1; }
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }

body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   9. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 92px 0 104px;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  overflow: hidden;
  isolation: isolate;
}

/* animated background image — slow zoom out / zoom in */
.hero__bg {
  position: absolute;
  top: -8%;
  left: -8%;
  width: 116%;
  height: 116%;
  z-index: 0;
  background-image: url("img/hvac-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(1.5px);
  opacity: .5;
  will-change: transform;
  transform: scale(1.04);
  animation: heroZoom 30s ease-in-out infinite;
}

@keyframes heroZoom {
  0%   { transform: scale(1.16) translate3d(1.4%, 1%, 0); }
  50%  { transform: scale(1.03) translate3d(-1%, -1%, 0); }
  100% { transform: scale(1.16) translate3d(1.4%, 1%, 0); }
}

/* readability scrim over the background image */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, .96) 0%, rgba(245, 247, 250, .9) 34%, rgba(245, 247, 250, .62) 58%, rgba(11, 31, 51, .3) 100%);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(to right, rgba(18, 59, 109, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 59, 109, .05) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

/* hero copy sits over the background photo, photo breathes on the right */
.hero__content { max-width: 640px; }

.hero__title {
  font-size: clamp(2.4rem, 1.35rem + 3.4vw, 4.15rem);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero__title em {
  position: relative;
  isolation: isolate;
  color: var(--blue-600);
  font-style: normal;
  white-space: nowrap;
}

.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 8px;
  background: var(--red);
  opacity: .22;
  z-index: -1;
}

.hero__lead {
  max-width: 54ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin: 34px 0 38px;
}

.hero__points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px 24px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--navy);
}

.hero__points i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: .6rem;
}

/* Hero figure */
.hero__figure {
  position: relative;
  padding: 22px 0 0 22px;
}

.hero__figure::before {
  content: "";
  position: absolute;
  inset: 0 22px 22px 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--blue) 0%, var(--navy) 100%);
}

.hero__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 6 / 7;
  background: var(--bg-blue);
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__card {
  position: absolute;
  left: -6px;
  bottom: 34px;
  width: min(288px, 84%);
  padding: 20px 22px;
  border-radius: var(--radius);
  border-left: 4px solid var(--red);
  background: #fff;
  box-shadow: var(--shadow-md);
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

.hero__card-label {
  margin: 0 0 10px;
  color: var(--red);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero__card-list li {
  position: relative;
  padding: 5px 0 5px 18px;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 600;
}

.hero__card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-600);
}

.hero__card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
}

.hero__card-foot i { color: var(--red); }

.tech-tick {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--red);
  pointer-events: none;
}

.tech-tick--tl {
  top: 0;
  right: 6px;
  border-left: 0;
  border-bottom: 0;
}

.tech-tick--br {
  bottom: 0;
  left: 0;
  border-right: 0;
  border-top: 0;
}

/* --------------------------------------------------------------------------
   10. SERVICE CATEGORY LIST
   -------------------------------------------------------------------------- */
.section--intro {
  background: var(--bg);
  padding-top: 0;
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 60px;
  align-items: start;
}

.intro__head {
  position: sticky;
  top: 120px;
}

.intro__head .link-arrow { margin-top: 8px; }

.cat-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 22px;
  padding: 26px 20px;
  border-top: 1px solid var(--line);
  transition: background-color .35s var(--ease), padding-left .35s var(--ease);
}

.cat-item:last-child { border-bottom: 1px solid var(--line); }

.cat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 3px;
  background: var(--red);
  transition: width .45s var(--ease);
}

.cat-item:hover {
  background: #fff;
  padding-left: 28px;
}

.cat-item:hover::before { width: 100%; }

.cat-item__num {
  min-width: 52px;
  color: var(--blue-300);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  transition: color .35s var(--ease);
}

.cat-item:hover .cat-item__num { color: var(--red); }

.cat-item__body h3 {
  font-size: 1.22rem;
  margin-bottom: 6px;
}

.cat-item__body p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.cat-item__icon {
  margin-top: 6px;
  color: var(--blue-600);
  font-size: 1.15rem;
  opacity: .55;
  transition: opacity .35s var(--ease), transform .35s var(--ease), color .35s var(--ease);
}

.cat-item:hover .cat-item__icon {
  opacity: 1;
  color: var(--red);
  transform: scale(1.15);
}

/* --------------------------------------------------------------------------
   11. SERVICES — ASYMMETRIC GRID
   -------------------------------------------------------------------------- */
.section--services { background: var(--bg-blue); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 26px;
}

.svc {
  display: flex;
  flex-direction: column;
  grid-column: span 5;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.svc:hover {
  transform: translateY(-7px);
  border-color: rgba(18, 59, 109, .18);
  box-shadow: var(--shadow-md);
}

.svc--feature { grid-column: span 7; }
.svc--tall { grid-column: span 7; }
.svc--wide { grid-column: span 12; flex-direction: row; align-items: stretch; }

.svc__img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  background: var(--bg-blue);
  transition: transform .6s var(--ease);
}

.svc--tall .svc__img { aspect-ratio: 8 / 7; }

.svc:hover .svc__img { transform: scale(1.045); }

.svc__img--bottom { margin-top: auto; aspect-ratio: 8 / 3.4; }
.svc__img--right { width: 44%; aspect-ratio: auto; height: 100%; min-height: 250px; margin: 0; }

.svc__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 28px 30px 30px;
}

.svc__body h3 {
  font-size: 1.32rem;
  margin-bottom: 10px;
}

.svc__body p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}

.svc__tag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 11px;
  border-radius: 100px;
  background: rgba(214, 40, 40, .1);
  color: var(--red);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.svc__list {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.svc__list li {
  position: relative;
  padding: 4px 0 4px 22px;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 600;
}

.svc__list li::before {
  content: "\f111";
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--red);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: .6rem;
}

/* --------------------------------------------------------------------------
   12. ABOUT
   -------------------------------------------------------------------------- */
.section--about { background: #fff; }

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 68px;
  align-items: center;
}

.about__media {
  position: relative;
  padding: 0 26px 26px 0;
}

.about__media::before {
  content: "";
  position: absolute;
  inset: 26px 0 0 26px;
  border-radius: var(--radius-lg);
  background: var(--bg-blue);
  border: 1px solid var(--line);
}

.about__media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about__tag {
  position: absolute;
  right: 0;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.about__tag i { color: var(--red); }

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

.spec-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 18px;
  border-radius: var(--radius);
  background: var(--bg);
  border-left: 3px solid var(--blue);
  font-size: .93rem;
  color: var(--muted);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.spec-list li:hover { transform: translateX(5px); border-left-color: var(--red); }

.spec-list i {
  margin-top: 4px;
  color: var(--blue-600);
  font-size: 1rem;
}

.spec-list strong { display: block; color: var(--navy); font-size: .98rem; }

/* --------------------------------------------------------------------------
   13. PROCESS
   -------------------------------------------------------------------------- */
.section--process {
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-blue) 100%);
}

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

.step {
  position: relative;
  padding: 32px 26px 30px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.step::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -26px;
  width: 26px;
  height: 2px;
  background: var(--line);
}

.step:last-child::after { display: none; }

.step__num {
  position: absolute;
  top: 20px;
  right: 22px;
  color: var(--blue-300);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.04em;
  transition: color .35s var(--ease);
}

.step:hover .step__num { color: var(--red); }

.step__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--bg-blue);
  color: var(--blue);
  font-size: 1.1rem;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}

.step:hover .step__icon { background: var(--red); color: #fff; }

.step h3 { font-size: 1.14rem; }

.step p {
  margin: 0;
  color: var(--muted);
  font-size: .93rem;
}

/* --------------------------------------------------------------------------
   14. COOLING / HEATING SPLIT
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split__side {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}

.split__side::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, .07) 0 2px,
    transparent 2px 16px
  );
  pointer-events: none;
}

.split__side--cool { background: linear-gradient(160deg, var(--blue-600) 0%, var(--blue) 58%, var(--navy) 100%); }
.split__side--heat { background: linear-gradient(160deg, #e03333 0%, var(--red) 58%, var(--red-600) 100%); }

.split__inner {
  position: relative;
  max-width: 620px;
  padding-inline: var(--pad-x);
  margin-inline: auto;
}

.split__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .82);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.split__title {
  color: #fff;
  font-size: clamp(1.8rem, 1.2rem + 1.5vw, 2.6rem);
  margin-bottom: 14px;
}

.split__text {
  color: rgba(255, 255, 255, .82);
  max-width: 46ch;
  margin-bottom: 28px;
}

.split__list {
  display: grid;
  gap: 2px;
  margin-bottom: 34px;
}

.split__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-weight: 600;
  font-size: .97rem;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}

.split__list li:hover {
  background: rgba(255, 255, 255, .2);
  transform: translateX(6px);
}

.split__list i { font-size: .45rem; opacity: .8; }

/* --------------------------------------------------------------------------
   15. MAINTENANCE
   -------------------------------------------------------------------------- */
.section--maint { background: #fff; }

.maint__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 62px;
  align-items: center;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 34px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--navy);
  font-size: .92rem;
  font-weight: 600;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
}

.check-list li:hover {
  border-color: var(--red);
  background: #fff;
  transform: translateY(-3px);
}

.check-list i { color: var(--red); font-size: 1rem; }

.maint__media {
  position: relative;
  margin: 0;
}

.maint__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.maint__media figcaption {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--red);
  color: var(--muted);
  font-size: .86rem;
}

/* --------------------------------------------------------------------------
   16. EQUIPMENT GALLERY
   -------------------------------------------------------------------------- */
.section--gallery {
  background: var(--bg);
}

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

.gal {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-sm);
}

.gal--wide { grid-column: span 2; aspect-ratio: 16 / 10; }
.gal--tall { aspect-ratio: 3 / 4; }

.gal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), opacity .5s var(--ease);
}

.gal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(11, 31, 51, .88) 100%);
  opacity: .92;
  transition: opacity .4s var(--ease);
}

.gal:hover img { transform: scale(1.07); }
.gal:hover::after { opacity: 1; }

.gal figcaption {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  color: rgba(255, 255, 255, .82);
  font-size: .85rem;
  line-height: 1.5;
  transform: translateY(-4px);
  transition: transform .4s var(--ease);
}

.gal:hover figcaption { transform: translateY(0); }

.gal figcaption strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  letter-spacing: -.01em;
}

/* --------------------------------------------------------------------------
   17. PROBLEM BASED
   -------------------------------------------------------------------------- */
.section--problems { background: var(--bg-blue); }

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

.prob {
  position: relative;
  padding: 28px 24px 26px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.prob::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: var(--red);
  transition: width .45s var(--ease);
}

.prob:hover {
  transform: translateY(-6px);
  border-color: rgba(18, 59, 109, .2);
  box-shadow: var(--shadow-md);
}

.prob:hover::before { width: 100%; }

.prob__icon {
  display: block;
  margin-bottom: 14px;
  color: var(--blue-600);
  font-size: 1.3rem;
  transition: color .35s var(--ease), transform .35s var(--ease);
}

.prob:hover .prob__icon { color: var(--red); transform: translateY(-3px); }

.prob h3 {
  font-size: 1.06rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.prob p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

/* --------------------------------------------------------------------------
   18. FINAL CTA
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  padding: 96px 0;
  background: var(--navy);
  color: rgba(255, 255, 255, .8);
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(70% 80% at 20% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 80% at 20% 20%, #000 0%, transparent 75%);
  pointer-events: none;
}

.cta::after {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 40, 40, .3) 0%, transparent 68%);
  pointer-events: none;
}

.cta__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px;
  align-items: center;
}

.cta__title {
  color: #fff;
  font-size: clamp(1.9rem, 1.25rem + 2vw, 2.9rem);
  max-width: 20ch;
}

.cta__body p { max-width: 56ch; }

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.cta__panel {
  padding: 30px 28px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(2px);
}

.cta__panel-title {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.cta__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  color: rgba(255, 255, 255, .84);
  font-size: .93rem;
  font-weight: 500;
}

.cta__list i { color: var(--red); width: 18px; text-align: center; }

.cta__hours {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .68);
  font-size: .88rem;
}

.cta__hours i { color: var(--blue-300); }

/* --------------------------------------------------------------------------
   19. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: #071727;
  color: rgba(255, 255, 255, .62);
  padding-top: 68px;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 44px;
  padding-bottom: 48px;
}

.brand--footer { color: #fff; }
.brand--footer:hover { color: #fff; }
.brand--footer .brand__text small { color: rgba(255, 255, 255, .5); }

.footer__col--brand p {
  margin: 18px 0 0;
  max-width: 40ch;
  font-size: .92rem;
}

.footer__title {
  position: relative;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 12px;
}

.footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--red);
}

.footer__list li { margin-bottom: 9px; font-size: .92rem; }
.footer__list a { color: rgba(255, 255, 255, .62); }
.footer__list a:hover { color: #fff; }

.footer__list--contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer__list--contact i { color: var(--red); width: 16px; flex: 0 0 auto; margin-top: 5px; text-align: center; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 22px 30px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
}

.footer__bottom p { margin: 0; }

.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.legal a { color: rgba(255, 255, 255, .62); }
.legal a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   20. FIXED PHONE BUTTON
   -------------------------------------------------------------------------- */
.phone-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 100px;
  background: var(--red);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  box-shadow: var(--shadow-red);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}

.phone-fab i { font-size: .95rem; }

.phone-fab:hover {
  background: var(--red-600);
  color: #fff;
  transform: translateY(-3px);
}

.phone-fab__short { display: none; }

/* --------------------------------------------------------------------------
   21. RESPONSIVE
   -------------------------------------------------------------------------- */

/* ≤ 1200px */
@media (max-width: 1200px) {
  :root { --pad-x: 22px; }
  .hero__grid { gap: 48px; }
  .nav__link { padding: 10px 11px; font-size: .92rem; }
}

/* ≤ 992px — tablet */
@media (max-width: 992px) {
  .section { padding: 78px 0; }
  .hero { padding: 62px 0 78px; }

  .nav { display: none; }
  .nav-toggle { display: block; }
  .header__actions .btn--sm { display: none; }

  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__frame { aspect-ratio: 16 / 11; }
  .hero__figure { padding: 18px 0 0 18px; }
  .hero__figure::before { inset: 0 18px 18px 0; }
  .hero__card { left: 0; bottom: 24px; }

  .intro__grid { grid-template-columns: 1fr; gap: 34px; }
  .intro__head { position: static; }

  .svc--feature,
  .svc--tall,
  .svc { grid-column: span 6; }

  .about__grid { grid-template-columns: 1fr; gap: 44px; }
  .about__media { max-width: 480px; }

  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }

  .maint__grid { grid-template-columns: 1fr; gap: 44px; }
  .maint__media { max-width: 520px; }

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

  .cta__grid { grid-template-columns: 1fr; gap: 40px; }
  .cta__title { max-width: 24ch; }

  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
  .footer__col--brand { grid-column: 1 / -1; }
}

/* ≤ 768px — small tablet */
@media (max-width: 768px) {
  :root { --pad-x: 20px; }

  .hero__bg { opacity: .4; }
  .hero::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, .95) 0%, rgba(245, 247, 250, .9) 55%, rgba(245, 247, 250, .74) 100%);
  }

  .section { padding: 66px 0; }
  .section__head { margin-bottom: 38px; }

  .topbar__msg { font-size: .78rem; }
  .topbar__meta li:first-child { display: none; }
  .topbar__inner { justify-content: space-between; }

  .header__inner { min-height: 72px; }

  .svc-grid { gap: 20px; }
  .svc--feature,
  .svc--tall,
  .svc { grid-column: span 12; }

  .svc--wide { flex-direction: column; }
  .svc__img--right {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 8 / 5;
    order: -1;
  }

  .process { grid-template-columns: 1fr; }

  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal--wide { grid-column: span 2; }

  .split { grid-template-columns: 1fr; }
  .split__side { padding: 68px 0; }

  .check-list { grid-template-columns: 1fr; }

  .hero__actions { gap: 18px; }
  .hero__title { font-size: clamp(2.05rem, 1.4rem + 3.2vw, 3rem); }
}

/* ≤ 576px — mobile */
@media (max-width: 576px) {
  :root { --pad-x: 18px; }

  body { font-size: 15.5px; }

  .section { padding: 58px 0; }
  .hero { padding: 48px 0 62px; }
  .hero__lead { font-size: 1rem; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .link-arrow { align-self: flex-start; }

  .hero__points { grid-template-columns: 1fr; gap: 9px; }
  .hero__frame { aspect-ratio: 4 / 3.4; }
  .hero__card { position: static; width: 100%; margin-top: 16px; animation: none; }

  .cat-item { grid-template-columns: auto 1fr; gap: 14px; padding: 20px 12px; }
  .cat-item:hover { padding-left: 18px; }
  .cat-item__icon { display: none; }
  .cat-item__num { min-width: 42px; font-size: 1.2rem; }

  .svc__body { padding: 22px 20px 24px; }
  .svc__img--bottom { aspect-ratio: 8 / 4.6; }

  .spec-list li { padding: 13px 15px; }

  .about__media { padding: 0 16px 16px 0; }
  .about__media::before { inset: 16px 0 0 16px; }
  .about__media img { aspect-ratio: 1 / 1; }

  .prob-grid { grid-template-columns: 1fr; }

  .gallery { grid-template-columns: 1fr; }
  .gal--wide { grid-column: span 1; aspect-ratio: 16 / 10; }
  .gal--tall { aspect-ratio: 4 / 3; }

  .cta { padding: 64px 0; }
  .cta__actions { flex-direction: column; align-items: stretch; gap: 20px; }
  .cta__actions .link-arrow { align-self: flex-start; }
  .cta__panel { padding: 24px 20px; }

  .footer { padding-top: 52px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; padding-bottom: 104px; }

  .phone-fab { right: 14px; bottom: 14px; padding: 13px 18px; }
  .phone-fab__long { display: none; }
  .phone-fab__short { display: inline; }
}

/* ≤ 390px */
@media (max-width: 390px) {
  :root { --pad-x: 16px; }

  .topbar__msg { font-size: .74rem; }
  .topbar__msg i { display: none; }
  .topbar__meta a { font-size: .78rem; }

  .brand__mark { width: 42px; height: 42px; font-size: 1.1rem; }
  .brand__text strong { font-size: .88rem; }
  .brand__text small { display: none; }
  .nav-toggle { width: 44px; height: 44px; }

  .hero__title { font-size: 1.95rem; }
  .section__title { font-size: 1.7rem; }
  .split__title { font-size: 1.65rem; }
  .cta__title { font-size: 1.7rem; }

  .btn { padding: 14px 20px; font-size: .9rem; }
  .btn--lg { padding: 16px 22px; font-size: .95rem; }

  .check-list li { font-size: .88rem; padding: 12px 14px; }
  .legal { gap: 14px; font-size: .8rem; }
}

/* ≤ 320px */
@media (max-width: 320px) {
  :root { --pad-x: 14px; }

  .topbar__msg { display: none; }
  .topbar__inner { justify-content: flex-end; }

  .brand__mark { width: 38px; height: 38px; font-size: 1rem; }
  .brand__text strong { font-size: .82rem; }

  .hero__title { font-size: 1.78rem; }
  .hero__card { padding: 16px 16px; }
  .cat-item__num { min-width: 36px; font-size: 1.05rem; }
  .section__title { font-size: 1.55rem; }
  .mobile-nav__panel { width: 100%; padding: 16px; }
  .phone-fab { padding: 12px 16px; font-size: .86rem; }
}

/* --------------------------------------------------------------------------
   22. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .hero__card { animation: none; }
  .hero__bg { animation: none; transform: scale(1.04); }
}
