/* =====================================================================
   01. RESET
   ===================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  overflow-x: hidden;
}

body {
  overflow-x: clip;
  min-height: 100%;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
select,
textarea { font: inherit; color: inherit; }

ul,
ol { list-style: none; padding: 0; }

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

h1, h2, h3, h4 { font-weight: 600; line-height: 1.12; }

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


/* =====================================================================
   02. VARIABLES
   ===================================================================== */

:root {
  /* Palette — red + blue HVAC theme
     red   = heat, flame, burners, service accent
     blue  = cooling, refrigerant, structural accent
     navy  = dark sections, headings, equipment steel
     sky   = light surfaces, sheet-metal white            */
  --navy:   #0E2444;
  --blue:   #1B5FA8;
  --red:    #C1272D;
  --sky:    #F1F4F9;

  --paper:      #FFFFFF;
  --ink:        #0D1A2B;
  --ink-soft:   #445469;
  --ink-muted:  #66798F;

  --line:        rgba(14, 36, 68, .14);
  --line-strong: rgba(14, 36, 68, .28);
  --line-light:  rgba(241, 244, 249, .18);

  /* Fixed page background treatment */
  --page-image: url("assets/hero-bg.jpg");
  --page-veil:  rgba(241, 244, 249, .42);
  --surface:      rgba(255, 255, 255, .88);
  --surface-alt:  rgba(241, 244, 249, .92);
  --surface-accent: rgba(193, 39, 45, .12);
  --surface-dark:   rgba(14, 36, 68, .96);

  /* Type */
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --sans:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --shell:   1260px;
  --gutter:  clamp(18px, 4vw, 44px);
  --section: clamp(62px, 7.4vw, 118px);

  /* Shape */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(.22, .68, .28, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}


/* =====================================================================
   03. GLOBAL TYPOGRAPHY
   ===================================================================== */

body {
  font-family: var(--sans);
  font-size: clamp(.97rem, .35vw + .9rem, 1.03rem);
  color: var(--ink);

  /* Single fixed HVAC background for the whole page */
  background-color: var(--sky);
  background-image: var(--page-image);
  background-size: cover;
  background-position: 46% 34%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Global veil keeps the fixed photograph/illustration subtle everywhere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--page-veil);
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.9vw, 3rem);
  letter-spacing: -.02em;
  line-height: 1.06;
  color: var(--navy);
  text-wrap: balance;
}

.section-title--light { color: var(--sky); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--sans);
  font-size: .715rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}

.eyebrow--light { color: rgba(241, 244, 249, .8); }
.eyebrow--light .eyebrow__dot { background: var(--red); }

.section-head__text { color: var(--ink-soft); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--red);
  padding-bottom: .35rem;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.text-link:hover { gap: 1rem; color: var(--red); }
.text-link i { color: var(--red); font-size: .75rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -120%);
  z-index: 200;
  padding: .7rem 1.2rem;
  background: var(--navy);
  color: var(--sky);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }


/* =====================================================================
   04. BUTTONS & SHARED UI
   ===================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 1rem 1.6rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition:
    background-color .32s var(--ease),
    color .32s var(--ease),
    border-color .32s var(--ease),
    box-shadow .32s var(--ease),
    transform .32s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid {
  background: var(--navy);
  color: var(--sky);
}
.btn--solid:hover {
  background: var(--blue);
  box-shadow: 0 12px 24px -18px rgba(14, 36, 68, .9);
}

.btn--red {
  background: var(--red);
  color: #fff;
}
.btn--red:hover {
  background: #d23b41;
  box-shadow: 0 12px 26px -18px rgba(193, 39, 45, .95);
}

.btn--ghost {
  border-color: rgba(241, 244, 249, .45);
  color: var(--sky);
}
.btn--ghost:hover {
  background: rgba(241, 244, 249, .14);
  border-color: var(--sky);
}

.btn--sm { padding: .74rem 1.15rem; font-size: .715rem; }
.btn--lg { padding: 1.15rem 2.1rem; font-size: .82rem; }
.btn--block { width: 100%; }


/* =====================================================================
   05. HEADER
   ===================================================================== */

.site-header {
  position: relative;
  z-index: 60;
}

.top-strip {
  background: var(--navy);
  color: rgba(241, 244, 249, .82);
  font-size: .75rem;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(241, 244, 249, .1);
}

.top-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  padding-block: .45rem;
}

.top-strip__note {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.top-strip__note i { color: var(--red); font-size: .7rem; }

.top-strip__list {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2.2vw, 1.8rem);
}
.top-strip__list li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
}
.top-strip__list i { color: rgba(193, 39, 45, .9); font-size: .7rem; }
.top-strip__phone { color: var(--sky); }
.top-strip__phone a { transition: color .28s var(--ease); }
.top-strip__phone a:hover { color: var(--red); }

.header-bar {
  position: sticky;
  top: 0;
  z-index: 55;
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-bar__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.6rem);
  min-height: 78px;
  padding-block: .7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  flex: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--navy);
  color: var(--red);
  font-size: 1.05rem;
  transition: background-color .35s var(--ease), transform .35s var(--ease);
}
.brand:hover .brand__mark {
  background: var(--red);
  transform: rotate(-8deg);
}

.brand__text { display: grid; line-height: 1.15; }
.brand__name {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--navy);
  white-space: nowrap;
}
.brand__sub {
  font-size: .655rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}


/* =====================================================================
   06. NAVIGATION
   ===================================================================== */

.primary-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(.6rem, 1.9vw, 1.9rem);
}

.primary-nav__list a {
  position: relative;
  display: inline-block;
  padding: .45rem 0;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .3s var(--ease);
}
.primary-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .34s var(--ease);
}
.primary-nav__list a:hover { color: var(--navy); }
.primary-nav__list a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex: none;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.nav-burger {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--navy);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), opacity .25s;
}
.nav-burger:hover { background: var(--navy); color: var(--sky); }

/* Mobile panel — clipped wrapper prevents any horizontal overflow */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav__scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 38, .62);
  opacity: 0;
  transition: opacity .38s var(--ease);
  cursor: pointer;
}

.mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(86vw, 360px);
  padding: clamp(20px, 5vw, 30px);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 3vw, 22px);
  background: var(--paper);
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 70px -50px rgba(0, 0, 0, .9);
  transform: translateX(102%);
  transition: transform .42s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line);
}
.mobile-nav__label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.nav-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--navy);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.nav-close:hover { background: var(--navy); color: var(--sky); transform: rotate(90deg); }

.mobile-nav__list {
  display: flex;
  flex-direction: column;
}
.mobile-nav__list a {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .95rem .2rem;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.mobile-nav__list a i {
  width: 20px;
  font-size: .8rem;
  color: var(--red);
}
.mobile-nav__list a:hover { color: var(--red); padding-left: .6rem; }

.mobile-nav__foot {
  margin-top: auto;
  padding-top: .8rem;
  font-size: .88rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.mobile-nav__foot i { color: var(--red); }

.nav-toggle:checked ~ .mobile-nav {
  visibility: visible;
  pointer-events: auto;
}
.nav-toggle:checked ~ .mobile-nav .mobile-nav__panel { transform: translateX(0); }
.nav-toggle:checked ~ .mobile-nav .mobile-nav__scrim { opacity: 1; }
.nav-toggle:checked ~ .header-bar .nav-burger {
  opacity: 0;
  pointer-events: none;
}
.nav-toggle:focus-visible ~ .header-bar .nav-burger {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}


/* =====================================================================
   07. HERO
   ===================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(600px, 92vh, 940px);
  padding-block: clamp(66px, 9vw, 120px) clamp(104px, 11vw, 152px);
  overflow: hidden;
}

/* Fixed HVAC background — covers the viewport and stays put while the
   content moves. The CSS overlay below keeps the copy readable. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--page-image);
  background-size: cover;
  background-position: 46% 34%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Readable overlay: deep navy base with red and blue light */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(58% 48% at 86% 10%, rgba(193, 39, 45, .3), transparent 68%),
    radial-gradient(72% 62% at 16% 88%, rgba(27, 95, 168, .34), transparent 70%),
    linear-gradient(180deg,
      rgba(14, 36, 68, .84) 0%,
      rgba(14, 36, 68, .76) 42%,
      rgba(9, 24, 47, .88) 100%);
}

/* Single centred content block — no second container */
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 940px;
  margin-inline: auto;
}

/* Legibility on top of the overlay */
.hero__label,
.hero__meta,
.hero__title,
.hero__text,
.hero__points li {
  text-shadow: 0 1px 3px rgba(4, 12, 26, .55);
}

.hero__label { margin-bottom: 1rem; }

.hero__meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem .9rem;
  margin-bottom: 1.15rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(241, 244, 249, .9);
}
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta i { color: var(--red); font-size: .78rem; }
.hero__meta a {
  color: var(--sky);
  border-bottom: 1px solid rgba(193, 39, 45, .6);
  padding-bottom: 1px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.hero__meta a:hover { color: #fff; border-color: var(--red); }
.hero__meta-div {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.1vw, 3.35rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.028em;
  color: var(--sky);
  text-wrap: balance;
  margin-bottom: 1.25rem;
}

.hero__text {
  color: rgba(241, 244, 249, .85);
  font-size: clamp(.97rem, .3vw + .9rem, 1.06rem);
  max-width: 60ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.9rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .8rem clamp(1.2rem, 3vw, 2.6rem);
  max-width: 800px;
  margin-top: 2.1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(241, 244, 249, .2);
}
.hero__points li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: rgba(241, 244, 249, .9);
}
.hero__points i { color: var(--red); font-size: .82rem; }

.hero__scroll {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: clamp(24px, 4vw, 44px);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(241, 244, 249, .7);
  text-shadow: 0 1px 16px rgba(4, 12, 26, .55);
  transition: color .3s var(--ease);
}
.hero__scroll i { color: var(--red); animation: nudgeDown 2.6s var(--ease-soft) infinite; }
.hero__scroll:hover { color: var(--sky); }


/* =====================================================================
   08. PROBLEM SECTION
   ===================================================================== */

.problems {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-block: var(--section);
}

/* --- Section head: title left, supporting copy right --- */
.index-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 64px);
  align-items: end;
  margin-bottom: clamp(30px, 4vw, 58px);
}
.index-head__lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .9rem;
}
.index-head__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  color: var(--ink-soft);
}
.index-head__side p { max-width: 56ch; }

/* --- Index rows: number, icon, copy, tag --- */
.index-list { display: flex; flex-direction: column; }

.index-row {
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem 3.4rem minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.9rem, 1.8vw, 1.9rem);
  padding-block: clamp(18px, 2.2vw, 30px);
  border-top: 1px solid var(--line);
  transition: transform .38s var(--ease);
}
.index-list--rows > .index-row:last-child { border-bottom: 1px solid var(--line); }
.index-row:hover { transform: translateX(8px); }

.index-row__num {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--blue);
  opacity: .5;
  transition: opacity .38s var(--ease);
}
@supports (-webkit-text-stroke: 1px black) {
  .index-row__num {
    color: transparent;
    opacity: 1;
    -webkit-text-stroke: 1px var(--blue);
    transition: -webkit-text-stroke-color .38s var(--ease);
  }
}
.index-row:hover .index-row__num {
  opacity: 1;
  -webkit-text-stroke-color: var(--red);
}

.index-row__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--navy);
  font-size: 1.05rem;
  transition:
    background-color .38s var(--ease),
    color .38s var(--ease),
    border-color .38s var(--ease),
    transform .38s var(--ease);
}
.index-row:hover .index-row__icon {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: rotate(-8deg);
}

.index-row__body { min-width: 0; }

.index-row__title {
  font-family: var(--display);
  font-size: clamp(1.06rem, 1.1vw, 1.34rem);
  color: var(--navy);
  margin-bottom: .35rem;
  transition: color .38s var(--ease);
}
.index-row:hover .index-row__title { color: var(--red); }

.index-row__text {
  color: var(--ink-soft);
  font-size: .93rem;
  max-width: 64ch;
}

.index-row__tag {
  padding: .35rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
  transition:
    color .38s var(--ease),
    border-color .38s var(--ease),
    background-color .38s var(--ease);
}
.index-row:hover .index-row__tag {
  color: var(--red);
  border-color: var(--red);
  background: rgba(193, 39, 45, .06);
}


/* =====================================================================
   09. SYSTEM SECTION
   ===================================================================== */

.system {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  padding-block: var(--section);
}

.system__head {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 74ch;
  margin-bottom: clamp(30px, 4vw, 56px);
}
.system__intro { color: var(--ink-soft); }

.system__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: .3rem;
}
.system__actions .btn i { font-size: .8rem; }
.system__actions .btn:hover i { transform: rotate(-12deg); }
.system__actions .btn i { transition: transform .32s var(--ease); }

.system__panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 30px);
  align-items: start;
}

.panel {
  position: relative;
  padding: clamp(24px, 3vw, 42px);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.panel__index {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.panel__title {
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.7vw, 1.72rem);
  margin-bottom: .9rem;
}
.panel__text { font-size: .95rem; }
.panel__list {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-top: 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(241, 244, 249, .16);
}
.panel__list li {
  display: flex;
  gap: .7rem;
  font-size: .91rem;
  color: rgba(241, 244, 249, .8);
}
.panel__list i {
  margin-top: .45em;
  font-size: .6rem;
  color: var(--red);
  flex: none;
}

.panel--dark {
  background: var(--surface-dark);
  color: var(--sky);
  box-shadow: 0 40px 70px -60px rgba(10, 26, 51, .95);
}
.panel--dark::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(193, 39, 45, .28);
  border-radius: 50%;
  pointer-events: none;
}
.panel--dark .panel__index { color: var(--red); }
.panel--dark .panel__title { color: var(--sky); }
.panel--dark .panel__text { color: rgba(241, 244, 249, .78); }

.panel--light {
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  translate: 0 clamp(0px, 1.4vw, 26px);
}
.panel--light .panel__index { color: var(--red); }
.panel--light .panel__text { color: var(--ink-soft); }

.component-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.6rem;
}
.component-list li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(193, 39, 45, .09);
  font-size: .82rem;
  font-weight: 500;
  color: var(--navy);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.component-list i { color: var(--red); font-size: .74rem; }
.component-list li:hover {
  background: rgba(193, 39, 45, .2);
  border-color: var(--red);
  transform: translateY(-2px);
}


/* =====================================================================
   10. SERVICES
   ===================================================================== */

.services {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-block: var(--section);
}

.services__head {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 68ch;
  margin-bottom: clamp(30px, 4vw, 54px);
}
.services__intro { color: var(--ink-soft); }

.services__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(16px, 2.2vw, 28px);
  align-items: start;
}

/* Featured panel */
.service-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  padding: clamp(26px, 3.2vw, 46px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(193, 39, 45, .22), transparent 58%),
    linear-gradient(158deg, var(--navy) 0%, #1a3a63 55%, #1B4A80 100%);
  color: var(--sky);
  overflow: hidden;
  box-shadow: 0 44px 76px -64px rgba(10, 26, 51, .95);
}
.service-feature::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(193, 39, 45, .3);
  border-radius: 50%;
  pointer-events: none;
}

.service-feature__head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.service-feature__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 50%;
  background: rgba(193, 39, 45, .16);
  border: 1px solid rgba(193, 39, 45, .4);
  color: var(--red);
  font-size: 1.25rem;
  transition: transform .4s var(--ease), background-color .4s var(--ease);
}
.service-feature:hover .service-feature__icon {
  transform: rotate(-10deg) scale(1.04);
  background: rgba(193, 39, 45, .26);
}
.service-feature__title {
  font-family: var(--display);
  font-size: clamp(1.42rem, 2.2vw, 2.05rem);
  color: var(--sky);
  margin-top: .35rem;
}
.service-feature__text {
  color: rgba(241, 244, 249, .8);
  max-width: 52ch;
}

.service-feature__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-block: .3rem .5rem;
}
.service-feature__list li {
  display: flex;
  align-items: baseline;
  gap: .95rem;
  padding: .72rem 0;
  border-top: 1px solid rgba(241, 244, 249, .14);
  font-size: .93rem;
  color: rgba(241, 244, 249, .9);
  transition: padding-left .3s var(--ease), color .3s var(--ease);
}
.service-feature__list li:hover { padding-left: .5rem; color: var(--sky); }
.service-feature__list li span {
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--red);
  flex: none;
}

/* Surrounding smaller blocks */
.service-cluster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
}

.service-block {
  padding: clamp(18px, 2vw, 26px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition:
    transform .36s var(--ease),
    border-color .36s var(--ease),
    background-color .36s var(--ease);
}
.service-block:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  background: #fff;
}
.service-block__title {
  position: relative;
  font-family: var(--display);
  font-size: 1.04rem;
  color: var(--navy);
  margin-bottom: .5rem;
  padding-bottom: .7rem;
}
.service-block__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  background: var(--red);
  transition: width .36s var(--ease);
}
.service-block:hover .service-block__title::after { width: 56px; }
.service-block p { font-size: .9rem; color: var(--ink-soft); }

.service-block--outline {
  background: transparent;
  border-style: dashed;
  border-color: var(--line-strong);
}
.service-block--outline:hover { background: rgba(255, 255, 255, .7); }

.service-block--accent {
  background: var(--surface-accent);
  border-color: rgba(193, 39, 45, .4);
}

/* Offsets keep the cluster from reading as a flat grid */
.service-block:nth-child(2) { translate: 0 clamp(6px, 1.1vw, 16px); }
.service-block:nth-child(5) { translate: 0 calc(-1 * clamp(4px, .8vw, 12px)); }
.service-block:nth-child(3) { min-height: clamp(150px, 15vw, 190px); }


/* =====================================================================
   11. MAINTENANCE
   ===================================================================== */

.maintenance {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  padding-block: var(--section);
}

/* Same index components as the problems section, arranged as four
   season columns with a heavy top rule instead of a timeline rail. */
.index-list--seasons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.index-row--stacked {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .85rem;
  padding: clamp(20px, 2.4vw, 30px) clamp(14px, 1.8vw, 26px) clamp(20px, 2.4vw, 32px);
  border-top: 2px solid var(--navy);
  transition: transform .38s var(--ease), border-color .38s var(--ease);
}
.index-row--stacked:hover { transform: translateY(-8px); }
.index-row--stacked:hover { border-top-color: var(--red); }

.index-row--stacked .index-row__title { margin-bottom: 0; }
.index-row--stacked .index-row__text {
  font-size: .9rem;
  max-width: 26ch;
}


/* =====================================================================
   12. PROCESS
   ===================================================================== */

.process {
  position: relative;
  background: var(--surface-dark);
  color: var(--sky);
  padding-block: var(--section);
  overflow: hidden;
}
.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 12% 0%, rgba(193, 39, 45, .16), transparent 60%),
    radial-gradient(60% 70% at 92% 100%, rgba(193, 39, 45, .12), transparent 62%);
  pointer-events: none;
}

.process .shell { position: relative; }

.process__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(32px, 4.5vw, 58px);
}

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

.process-step {
  position: relative;
  padding: clamp(20px, 2.2vw, 32px) clamp(18px, 2vw, 30px) clamp(20px, 2.2vw, 30px) 0;
  border-top: 1px solid var(--line-light);
  transition: background-color .4s var(--ease);
}
.process-step + .process-step { border-left: 1px solid var(--line-light); padding-left: clamp(18px, 2vw, 30px); }
.process-step:hover { background: rgba(241, 244, 249, .05); }

.process-step__num {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.4vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--red);
  margin-bottom: .9rem;
  transition: color .4s var(--ease), transform .4s var(--ease);
}
.process-step:hover .process-step__num { color: var(--red); transform: translateY(-3px); }

.process-step__title {
  font-family: var(--display);
  font-size: clamp(1.02rem, .8vw + .85rem, 1.22rem);
  color: var(--sky);
  margin-bottom: .5rem;
}
.process-step p {
  font-size: .9rem;
  color: rgba(241, 244, 249, .72);
  max-width: 30ch;
}


/* =====================================================================
   13. TIPS
   ===================================================================== */

.tips {
  background: var(--surface);
  border-top: 1px solid rgba(14, 36, 68, .06);
  padding-block: var(--section);
}

.tips__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(30px, 4vw, 54px);
}

.tips__layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(24px, 3.4vw, 54px);
  align-items: start;
}

.tip-feature {
  position: sticky;
  top: 116px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--navy);
  border-radius: var(--r-lg);
  color: var(--sky);
  overflow: hidden;
}
.tip-feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--red), var(--red));
}
.tip-feature__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.4rem;
  border-radius: 50%;
  background: rgba(193, 39, 45, .18);
  border: 1px solid rgba(193, 39, 45, .4);
  color: var(--red);
  font-size: 1.1rem;
  transition: transform .4s var(--ease);
}
.tip-feature:hover .tip-feature__icon { transform: translateY(-3px) rotate(8deg); }
.tip-feature__kicker {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .7rem;
}
.tip-feature__title {
  font-family: var(--display);
  font-size: clamp(1.32rem, 1.9vw, 1.72rem);
  color: var(--sky);
  margin-bottom: .8rem;
}
.tip-feature__text {
  color: rgba(241, 244, 249, .78);
  font-size: .95rem;
}

.tip-list { display: flex; flex-direction: column; }

.tip-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: clamp(15px, 1.8vw, 22px) 0;
  border-bottom: 1px solid var(--line);
  transition: transform .34s var(--ease);
}
.tip-item:first-child { border-top: 1px solid var(--line); }
.tip-item:hover { transform: translateX(7px); }

.tip-item > i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: var(--r-sm);
  background: rgba(193, 39, 45, .14);
  color: var(--blue);
  font-size: .88rem;
  transition: background-color .34s var(--ease), color .34s var(--ease), transform .34s var(--ease);
}
.tip-item:hover > i {
  background: var(--navy);
  color: var(--red);
  transform: rotate(-8deg);
}

.tip-item h3 {
  font-family: var(--display);
  font-size: 1.02rem;
  color: var(--navy);
  margin-bottom: .3rem;
}
.tip-item p { font-size: .9rem; color: var(--ink-soft); }


/* =====================================================================
   14. CONTACT
   ===================================================================== */

.contact {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  padding-block: clamp(46px, 5.5vw, 82px);
}

.contact__band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 4vw, 60px);
  padding: clamp(26px, 3.4vw, 44px);
  background: var(--blue);
  border: 1px solid rgba(241, 244, 249, .14);
  border-left: 4px solid var(--red);
  border-radius: var(--r-lg);
  color: var(--sky);
  box-shadow: 0 34px 62px -58px rgba(10, 26, 51, .95);
}

.contact__copy { display: flex; flex-direction: column; gap: .8rem; max-width: 62ch; }
.contact__title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  color: var(--sky);
}
.contact__text { color: rgba(241, 244, 249, .82); font-size: .96rem; }

.contact__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .95rem;
  flex: none;
}
.contact__note {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .82rem;
  line-height: 1.5;
  color: rgba(241, 244, 249, .74);
}
.contact__note li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}
.contact__note i {
  width: 18px;
  flex: none;
  margin-top: .3em;
  color: var(--red);
  font-size: .74rem;
}
.contact__note a {
  color: var(--sky);
  border-bottom: 1px solid rgba(241, 244, 249, .3);
  transition: color .28s var(--ease), border-color .28s var(--ease);
}
.contact__note a:hover { color: #fff; border-color: var(--red); }


/* =====================================================================
   15. FOOTER
   ===================================================================== */

.site-footer {
  background: var(--surface-dark);
  color: rgba(241, 244, 249, .78);
  border-top: 3px solid var(--red);
  padding-top: clamp(38px, 4.6vw, 64px);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, .95fr) minmax(0, 1.1fr);
  gap: clamp(24px, 3.2vw, 48px);
  padding-bottom: clamp(30px, 3.6vw, 48px);
}

.brand--footer .brand__mark { background: rgba(241, 244, 249, .1); }
.brand--footer .brand__name { color: var(--sky); }
.brand--footer .brand__sub { color: rgba(241, 244, 249, .55); }

.site-footer__desc {
  margin-top: 1.1rem;
  font-size: .89rem;
  max-width: 40ch;
  color: rgba(241, 244, 249, .62);
}

.site-footer__heading {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.site-footer__col ul { display: flex; flex-direction: column; gap: .6rem; }
.site-footer__col a {
  font-size: .89rem;
  color: rgba(241, 244, 249, .74);
  transition: color .28s var(--ease), padding-left .28s var(--ease);
}
.site-footer__col a:hover { color: var(--sky); padding-left: .35rem; }

.site-footer__col--action { display: flex; flex-direction: column; align-items: flex-start; }

.site-footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-bottom: .2rem;
}
.site-footer__address p {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .89rem;
  line-height: 1.5;
  color: rgba(241, 244, 249, .74);
}
.site-footer__address i {
  color: var(--red);
  font-size: .78rem;
  width: 16px;
  flex: none;
  margin-top: .3em;
}
.site-footer__address a {
  color: rgba(241, 244, 249, .88);
  overflow-wrap: anywhere;
  transition: color .28s var(--ease);
}
.site-footer__address a:hover { color: var(--red); }
.site-footer__col--action .btn { margin-top: 1.2rem; }

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  padding-block: 1.2rem;
  border-top: 1px solid var(--line-light);
  font-size: .78rem;
  color: rgba(241, 244, 249, .5);
}


/* =====================================================================
   16. MOTION & ANIMATION
   ===================================================================== */

@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

@keyframes nudgeDown {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

/* Hero entrance */
.hero__inner > * {
  opacity: 0;
  animation: riseIn .8s var(--ease) forwards;
}
.hero__inner > :nth-child(1) { animation-delay: .10s; }
.hero__inner > :nth-child(2) { animation-delay: .18s; }
.hero__inner > :nth-child(3) { animation-delay: .26s; }
.hero__inner > :nth-child(4) { animation-delay: .34s; }
.hero__inner > :nth-child(5) { animation-delay: .42s; }
.hero__inner > :nth-child(6) { animation-delay: .50s; }

/* Section reveal */
.reveal {
  opacity: 0;
  animation: riseIn .78s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

/* Scroll-linked reveal where the browser supports view() timelines */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: riseIn linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 85%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal,
  .hero__inner > * { opacity: 1; }
}


/* =====================================================================
   17. RESPONSIVE MEDIA QUERIES
   ===================================================================== */

/* Fixed backgrounds hurt performance on touch devices / narrow screens */
@media (max-width: 860px), (hover: none) and (pointer: coarse) {
  html { scroll-padding-top: 92px; }
  body,
  .hero::before { background-attachment: scroll; }
  .hero::before { background-position: 58% 40%; }
}

/* --- Large desktop --- */
@media (min-width: 1500px) {
  .hero__inner { max-width: 1020px; }
}

/* --- Standard desktop / small laptop --- */
@media (max-width: 1180px) {
  .primary-nav__list { gap: .55rem; }
  .primary-nav__list a { font-size: .76rem; letter-spacing: .05em; }
  .process-step { padding-right: clamp(14px, 1.6vw, 22px); }
}

/* --- Tablet: navigation collapses to the toggle menu --- */
@media (max-width: 1020px) {
  .primary-nav { display: none; }
  .nav-burger { display: grid; }
  .header-bar__inner { justify-content: space-between; }
  .header-actions { margin-left: auto; }

  .hero { min-height: clamp(520px, 78vh, 800px); }

  .system__panels,
  .services__layout,
  .tips__layout { grid-template-columns: minmax(0, 1fr); }

  .index-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 1.2rem;
  }

  .tip-feature { position: static; }
  .panel--light { translate: 0 0; }
  .system__actions .btn { width: 100%; }
  .service-cluster { order: 2; }

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

  .process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step { padding-left: 0; border-left: 0; }
  .process-step:nth-child(even) { border-left: 1px solid var(--line-light); padding-left: clamp(18px, 2vw, 26px); }

  .contact__band { flex-direction: column; align-items: flex-start; }

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

/* --- Mobile --- */
@media (max-width: 720px) {
  html { scroll-padding-top: 84px; }

  .top-strip__list li:nth-child(2) { display: none; }
  .top-strip__inner { justify-content: space-between; }
  .top-strip__note { font-size: .7rem; }

  .hero { padding-block: clamp(40px, 9vw, 64px) clamp(84px, 14vw, 110px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__points {
    flex-direction: column;
    gap: .6rem;
  }
  .hero__scroll { display: none; }

  .index-row {
    grid-template-columns: 2.9rem 2.9rem minmax(0, 1fr);
    grid-template-areas:
      "num icon body"
      ".   .    tag";
    align-items: center;
    column-gap: 1rem;
    row-gap: .7rem;
  }
  .index-row__num { grid-area: num; font-size: 1.5rem; }
  .index-row__icon { grid-area: icon; width: 42px; height: 42px; }
  .index-row__body { grid-area: body; }
  .index-row__tag { grid-area: tag; justify-self: start; }
  .index-row:hover { transform: translateX(4px); }

  .service-cluster { grid-template-columns: minmax(0, 1fr); }
  .service-block:nth-child(2),
  .service-block:nth-child(5) { translate: 0 0; }
  .service-block:nth-child(3) { min-height: 0; }
  .service-feature .btn { width: 100%; }

  .index-list--seasons { grid-template-columns: minmax(0, 1fr); }
  .index-row--stacked { padding-inline: 0; }
  .index-row--stacked .index-row__text { max-width: none; }

  .process__steps { grid-template-columns: minmax(0, 1fr); }
  .process-step:nth-child(even) { border-left: 0; padding-left: 0; }
  .process-step { padding-left: 0; }
  .process-step p { max-width: none; }

  .contact__action .btn,
  .contact__band .btn { width: 100%; }

  .site-footer__base { justify-content: flex-start; }
}

/* --- Small mobile --- */
@media (max-width: 520px) {
  :root { --gutter: 18px; }

  .top-strip__note { font-size: .66rem; }

  .brand__name { font-size: .95rem; }
  .brand__sub { letter-spacing: .18em; }
  .brand__mark { width: 38px; height: 38px; font-size: .95rem; }

  .header-bar__inner { min-height: 66px; gap: .6rem; }
  .header-actions .btn--sm { display: none; }

  .index-row__icon { width: 38px; height: 38px; }
  .service-feature__list li { font-size: .88rem; }
  .panel__list li { font-size: .88rem; }
  .component-list li { font-size: .78rem; padding: .45rem .7rem; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__base { font-size: .74rem; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 1.55rem; }
  .header-bar__inner { min-height: 60px; }
  .nav-burger { width: 42px; height: 42px; }
}
