/*
 * Nordex Climatisation et Chauffage - shared stylesheet.
 * Values are carried over from the design export (Main/Services/Confidentialite.dc.html).
 * Order matters: base -> layout -> components -> page sections -> media queries.
 */

/* ---------- Fonts ---------- */
/* Archivo (SIL OFL 1.1, see fonts/OFL.txt), self-hosted. These are the unmodified Google Fonts
   v25 latin files: trimming the variable axes with fontTools shifted some advance widths by
   1/1000 em, enough to re-wrap a line, so the originals are kept for pixel parity. */
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%;
  font-display: swap; src: url(fonts/archivo-v25-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo'; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%;
  font-display: swap; src: url(fonts/archivo-v25-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched fallbacks shown until Archivo arrives, so the swap barely moves text.
   Arial covers desktop/iOS, Roboto covers Android. Same unicode-range as Archivo so that
   characters Archivo lacks (arrows, stars) keep falling through to the system font as before. */
@font-face {
  font-family: 'Archivo Fallback'; src: local('Arial'), local('ArialMT');
  size-adjust: 98.4%; ascent-override: 89.2%; descent-override: 21.3%; line-gap-override: 0%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo Fallback Roboto'; src: local('Roboto'), local('Roboto-Regular');
  size-adjust: 99.1%; ascent-override: 88.6%; descent-override: 21.2%; line-gap-override: 0%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #08111C;
  color: #E8EDF3;
  font-family: 'Archivo', 'Archivo Fallback', 'Archivo Fallback Roboto', 'Helvetica Neue', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
body.page-services { color: #C9D2DD; }
body.page-legal { color: #C9D2DD; font-size: 17px; line-height: 1.65; }

img { max-width: 100%; }
a { color: #E8EDF3; text-decoration: none; }
a:hover { color: #4FA8F0; }
.nx-light a:hover { color: #0B63B0; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex="-1"]:focus-visible {
  outline: 3px solid #4FA8F0;
  outline-offset: 3px;
}
.nx-light a:focus-visible, .nx-light input:focus-visible,
.nx-light summary:focus-visible, .nx-light button:focus-visible { outline-color: #0B63B0; }

summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
details[open] .nx-chev { transform: rotate(180deg); }
::placeholder { color: #7F8C9C; }

.nx-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; background: #F26B2B; color: #0B1624;
  font-weight: 700; border-radius: 6px;
}
.skip-link:focus, .skip-link:hover { top: 12px; color: #0B1624; }

/* ---------- Layout ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.grow { flex: 1 1 auto; min-width: 0; }

/* Two-colour bar (blue / orange) and small swatches */
.duo { display: flex; }
.duo > span { flex: 1; }
.c-blue { background: #2E9BEA; }
.c-blue-dk { background: #155FA8; }
.c-orange { background: #F26B2B; }
.c-ink { background: #0B1624; }
.c-light { background: #E8EDF3; }
.swatch { display: flex; width: 22px; height: 8px; flex: none; }
.swatch > span { flex: 1; }

/* ---------- Typography helpers ---------- */
.h-display {
  margin: 0; font-stretch: 125%; font-weight: 800;
  font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; color: #F4F7FA;
}
.nx-light .h-display { color: #0B1624; }
.kicker {
  margin: 0; display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; box-sizing: border-box;
  background: #F26B2B; color: #0B1624;
  font-size: 17px; font-weight: 700; border-radius: 6px; text-decoration: none;
}
.btn-lg { min-height: 54px; padding: 0 28px; }
.btn-outline { background: transparent; border: 1px solid #3A4E68; color: #E8EDF3; font-weight: 600; }
.btn-dark {
  gap: 12px; min-height: 54px; padding: 0 28px;
  background: #0B1624; color: #FFFFFF; box-shadow: inset 0 -3px 0 #F26B2B;
}
.nx-btn:hover { filter: brightness(1.1); }
/* Keep button text colours stable on hover (the design used inline colours). */
a.btn, a.btn:hover, .nx-light a.btn:hover { color: #0B1624; }
a.btn-outline, a.btn-outline:hover { color: #E8EDF3; }
a.btn-dark, a.btn-dark:hover, .nx-light a.btn-dark:hover { color: #FFFFFF; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid #1B2A3E; }
.nx-head {
  max-width: 1200px; margin: 0 auto; padding: 18px 24px; box-sizing: border-box;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
}
.nx-hlogo { display: block; padding: 10px 0; }
.nx-hlogo img { height: 24px; width: auto; display: block; }
.nx-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 16px; font-weight: 500; }
.nx-nav a { padding: 10px 0; }
.nx-nav a[aria-current="page"], .nx-nav a[aria-current="page"]:hover {
  color: #F4F7FA; font-weight: 700; box-shadow: inset 0 -2px 0 #F26B2B;
}
.nx-hright { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.nx-hcta { min-height: 48px; padding: 0 22px; font-size: 16px; }
.back-link, .back-link:hover {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 16px; font-weight: 600; color: #E8EDF3;
}

/* ---------- Home: hero ---------- */
.nx-hero {
  padding: clamp(48px, 7vw, 96px) 0 0;
  background-color: #08111C;
  background-image:
    linear-gradient(90deg, rgba(8,17,28,.97) 0%, rgba(8,17,28,.9) 42%, rgba(8,17,28,.74) 100%),
    linear-gradient(180deg, rgba(8,17,28,.35) 0%, rgba(8,17,28,0) 30%, rgba(8,17,28,0) 70%, #08111C 100%),
    url(img/hero-heat-pump-winter.webp);
  background-size: cover;
  background-position: 65% 55%;
  background-repeat: no-repeat;
}
.nx-herorow { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; }
.nx-heroleft { flex: 1 1 440px; min-width: 0; }
.nx-hero h1 {
  margin: 0; font-stretch: 125%; font-weight: 800; font-size: clamp(44px, 5.6vw, 80px);
  line-height: 1.0; letter-spacing: -0.01em; color: #F4F7FA;
}
.hero-bar { width: 168px; height: 6px; margin: 32px 0 28px; }
.hero-lead { margin: 0; max-width: 34em; font-size: 20px; line-height: 1.55; color: #C9D2DD; }
.nx-herobtns { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 36px; }
.hero-note { margin: 18px 0 0; font-size: 15px; color: #A7B3C2; }
.nx-heroright { flex: 1 1 520px; min-width: 0; }
.nx-herologo {
  display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto;
  aspect-ratio: 1040 / 710; /* pin the ratio: srcset variants round their height differently */
}
.fin-card {
  display: flex; align-items: center; gap: 18px; margin: 24px auto 0; max-width: 500px;
  padding: 18px 24px; background: #F26B2B; border-radius: 8px; text-decoration: none;
}
a.fin-card, a.fin-card:hover { color: #0B1624; }
.icon-disc {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; background: #0B1624;
}
.fin-text { display: flex; flex-direction: column; gap: 2px; }
.nx-fintitle {
  font-stretch: 112%; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.05;
  font-weight: 800; white-space: nowrap;
}
.fin-sub { font-size: 16px; font-weight: 600; }
.nx-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 24px 32px; margin-top: 56px; padding: 32px 0; border-top: 1px solid #1B2A3E; text-align: center;
}
.stat-title { margin: 0; font-stretch: 112%; font-weight: 700; font-size: 22px; color: #F4F7FA; }
.stat-sub { margin: 2px 0 0; font-size: 15px; color: #A7B3C2; }

/* ---------- Home: year-round section + simulator ---------- */
.sec-year {
  padding: clamp(56px, 7vw, 96px) 0 calc(clamp(56px, 7vw, 96px) + 40px);
  border-top: 1px solid #1B2A3E;
}
.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 64px; }
.split-head > h2 { flex: 1 1 440px; min-width: 0; }
.split-head > p { flex: 1 1 340px; min-width: 0; margin: 0; color: #A7B3C2; }
.sec-year .split-head { gap: 24px 64px; }
.sec-year .split-head > h2 {
  flex: 1.4 1 560px; margin: 0; font-stretch: 112%; font-weight: 800;
  font-size: clamp(30px, 3.1vw, 44px); line-height: 1.08; text-wrap: balance; color: #F4F7FA;
}
.season-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px; max-width: 860px; margin: 48px auto 0;
}
.photo {
  position: relative; margin: 0; border-radius: 10px; overflow: hidden; background: #16263A;
}
.season-grid .photo { aspect-ratio: 3 / 2; }
.season-grid .photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-tag {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; background: #F26B2B; color: #0B1624; font-size: 17px; font-weight: 700; border-radius: 6px;
}
.photo-tag--blue { background: #155FA8; color: #FFFFFF; }

#simulateur { margin-top: 32px; }
.sim { padding: clamp(16px, 2.5vw, 28px); background: #0F1B2A; border: 1px solid #1B2A3E; border-radius: 12px; }
.sim-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 20px; margin-bottom: 16px;
}
.sim-title { margin: 0; font-stretch: 112%; font-weight: 700; font-size: 18px; color: #F4F7FA; }
.sim-pill {
  margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px;
  border-radius: 999px; font-size: 15px; font-weight: 700;
}
.sim-pill > span:first-child { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.sim-svg { display: block; width: 100%; height: auto; border-radius: 10px; }
.sim-room { transition: fill .6s; }
.sim-range-label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  margin-top: 22px; font-size: 16px; font-weight: 600; color: #C9D2DD;
}
.sim-range-label strong { font-stretch: 112%; font-size: 22px; color: #F4F7FA; }
.sim-range { display: block; width: 100%; min-height: 44px; margin: 4px 0 0; accent-color: #F26B2B; }
.sim-ends { display: flex; justify-content: space-between; font-size: 13px; color: #8C9AAB; }
.nx-presets { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.nx-presets button {
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid #2E4058; background: transparent; color: #E8EDF3;
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.nx-presets button[aria-pressed="true"] { border-color: #F26B2B; background: #F26B2B; color: #0B1624; }
.sim-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 12px; margin-top: 20px;
}
.sim-card { padding: 14px 16px; background: #16263A; border-radius: 8px; }
.sim-card--wide { grid-column: 1 / -1; }
.sim-card-label { margin: 0; font-size: 14px; color: #A7B3C2; }
.sp-row { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.sp-btn {
  width: 44px; height: 44px; flex: none; border-radius: 8px; border: 1px solid #2E4058;
  background: #0F1B2A; color: #F4F7FA; font: inherit; font-size: 24px; font-weight: 700;
  line-height: 1; cursor: pointer;
}
.sp-val {
  margin: 0; min-width: 64px; text-align: center; font-stretch: 112%;
  font-size: 22px; font-weight: 800; color: #F4F7FA;
}
.sim-mode { margin: 4px 0 0; font-stretch: 112%; font-size: 22px; font-weight: 800; }
.sim-unit { margin: 4px 0 0; font-size: 17px; font-weight: 600; color: #F4F7FA; }
.sim-verdict { margin: 18px 0 0; font-size: 18px; color: #E8EDF3; }
.sim-disclaimer { margin: 12px 0 0; font-size: 14px; color: #8C9AAB; }

.nx-fan { transform-box: fill-box; transform-origin: center; animation: nx-spin 1s linear infinite; }
@keyframes nx-spin { to { transform: rotate(360deg); } }
.nx-flow { stroke-dasharray: 8 12; animation: nx-dash 1s linear infinite; transition: stroke .4s, opacity .4s; }
.nx-air { stroke-dasharray: 6 10; animation: nx-dash 1s linear infinite; transition: stroke .4s, opacity .4s; }
@keyframes nx-dash { to { stroke-dashoffset: -40; } }
.nx-snow { animation: nx-fall 7s linear infinite; }
@keyframes nx-fall { from { transform: translateY(-10px); } to { transform: translateY(450px); } }
/* Set by site.js while the simulator is off screen (inline play-state is overridden on purpose). */
.sim-offscreen .nx-fan, .sim-offscreen .nx-flow, .sim-offscreen .nx-air, .sim-offscreen .nx-snow { animation-play-state: paused !important; }

/* Airflow is invisible at rest (opacity 0): no need to keep animating it on the main thread. */
.sim-idle .nx-flow, .sim-idle .nx-air { animation-play-state: paused; }

/* ---------- Light sections (services, subventions) ---------- */
.nx-light {
  background: #EEF2F6; color: #0B1624;
  clip-path: polygon(0 0, 100% 64px, 100% 100%, 0 calc(100% - 64px));
  padding: calc(64px + clamp(56px, 7vw, 96px)) 0;
}
.h-svc {
  margin: 0; font-stretch: 112%; font-weight: 800;
  font-size: clamp(28px, 3.4vw, 48px); line-height: 1.05; color: #0B1624;
}
.svc-more { margin-top: 20px; }
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 0 40px; margin-top: 40px;
}
.svc-item { padding: 28px 0; border-top: 1px solid #C3CEDB; }
.svc-kicker {
  margin: 0 0 12px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: #4A5868;
}
.svc-item h3 { margin: 0; font-stretch: 112%; font-weight: 700; font-size: 24px; line-height: 1.2; }
.svc-item p:last-child { margin: 10px 0 0; color: #4A5868; }
.band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px 40px; margin-top: 16px; padding: 28px 32px; border-radius: 8px;
}
.band--dark { background: #0B1624; color: #E8EDF3; }
.band--dark h3 { margin: 0; font-stretch: 112%; font-weight: 700; font-size: 24px; line-height: 1.2; color: #F4F7FA; }
.band--dark p { margin: 8px 0 0; color: #C9D2DD; }
.band--light { background: #FFFFFF; border: 1px solid #D3DBE5; }
.band--light p { flex: 1 1 420px; min-width: 0; margin: 0; color: #24323F; }
.band-text { flex: 1 1 420px; min-width: 0; }

/* Signs checklist */
.signs { display: flex; flex-wrap: wrap; gap: 40px 72px; margin-top: clamp(72px, 9vw, 120px); }
.signs-intro { flex: 1 1 380px; min-width: 0; }
.signs-intro > p { margin: 20px 0 0; max-width: 28em; color: #4A5868; }
.sig-box {
  margin-top: 32px; padding: 26px 28px; background: #0B1624; color: #E8EDF3; border-radius: 10px;
  border: 2px solid #0B1624; box-shadow: none; transition: border-color .3s, box-shadow .3s;
}
.sig-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.sig-count { margin: 0; font-stretch: 125%; font-weight: 800; font-size: 56px; line-height: 1; color: #7F8C9C; }
.sig-count span + span { color: #7F8C9C; }
.sig-title { margin: 0; font-stretch: 112%; font-weight: 800; font-size: 24px; line-height: 1.2; color: #F4F7FA; }
.sig-segs { display: flex; gap: 6px; margin: 18px 0 16px; }
.nx-seg { flex: 1; height: 10px; border-radius: 3px; background: #24364D; transition: background-color .3s; }
.sig-msg { margin: 0; font-size: 18px; }
.sig-cta { min-height: 50px; margin-top: 18px; padding: 0 24px; font-size: 16px; }
.sig-cta[hidden] { display: none; }
.signs-list {
  flex: 1 1 480px; min-width: 0; margin: 0; padding: 0; border: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.nx-sig {
  display: flex; align-items: center; gap: 14px; min-height: 58px; box-sizing: border-box;
  padding: 14px 18px; background: #FFFFFF; border: 2px solid #D3DBE5; border-radius: 8px;
  cursor: pointer; font-size: 17px;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), background-color .2s, border-color .2s, box-shadow .25s;
}
.nx-sig:hover { border-color: #F26B2B; }
.nx-sig:has(input:checked) {
  transform: translateX(10px) scale(1.03); background: #FFF1E7; border-color: #F26B2B;
  box-shadow: 0 10px 24px rgba(242,107,43,.28), inset 6px 0 0 #F26B2B; font-weight: 700;
}
.nx-sig input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: #F26B2B; }
.nx-sig input:checked { animation: nx-pop .35s cubic-bezier(.34,1.56,.64,1); }
.nx-sig .nx-ok {
  flex: none; margin-left: auto; opacity: 0; transform: scale(.4);
  transition: opacity .2s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.nx-sig:has(input:checked) .nx-ok { opacity: 1; transform: scale(1); }
@keyframes nx-pop { 0% { transform: scale(1); } 50% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* ---------- Home: method ---------- */
.sec-pad { padding: clamp(56px, 7vw, 96px) 0; }
.method-photo { margin: 40px 0 0; }
.method-photo img {
  display: block; width: 100%; height: clamp(260px, 34vw, 440px);
  object-fit: cover; object-position: 60% 35%;
}
.method-photo .photo-tag { left: 20px; bottom: 20px; }
.steps {
  list-style: none; margin: 48px 0 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 32px 28px;
}
.steps li { padding-top: 20px; border-top: 2px solid #2A3B52; }
.step-num { margin: 0; font-stretch: 125%; font-weight: 800; font-size: 40px; line-height: 1; color: #4FA8F0; }
.step-num--warm { color: #F47A3E; }
.steps h3 { margin: 16px 0 0; font-stretch: 112%; font-weight: 700; font-size: 21px; line-height: 1.25; color: #F4F7FA; }
.steps li > p:last-child { margin: 10px 0 0; font-size: 16px; color: #A7B3C2; }
.h-gap { margin-top: clamp(72px, 9vw, 120px); }
.dist-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  align-items: stretch; gap: 16px; margin-top: 40px;
}
.dist-card {
  height: 100%; box-sizing: border-box; padding: 26px 24px;
  background: #0F1B2A; border: 1px solid #1B2A3E; border-radius: 8px;
}
.dist-card h3 { margin: 0; font-stretch: 112%; font-weight: 700; font-size: 20px; line-height: 1.25; color: #F4F7FA; }
.dist-card p { margin: 10px 0 0; font-size: 16px; color: #A7B3C2; }
.warranty {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px; margin-top: 16px;
  padding: 28px 30px; border: 1px solid #2A3B52; border-radius: 8px;
}
.warranty h3 { flex: 0 0 auto; margin: 0; font-stretch: 112%; font-weight: 700; font-size: 22px; color: #F4F7FA; }
.warranty p { flex: 1 1 220px; min-width: 0; margin: 0; color: #E8EDF3; }
.warranty strong { font-weight: 700; }
.warranty .warranty-note { font-size: 15px; color: #A7B3C2; }
.loi29 {
  display: flex; flex-wrap: wrap; gap: 28px 56px; margin-top: 16px;
  padding: clamp(24px, 3.5vw, 40px);
  background: linear-gradient(135deg, #0F1B2A 0%, #102338 100%);
  border: 1px solid #24364D; border-radius: 10px;
}
.loi29-main { flex: 1 1 400px; min-width: 0; }
.loi29-badge {
  margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px;
  border-radius: 999px; background: #155FA8; color: #FFFFFF;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.loi29-badge svg { flex: none; }
.h-sub {
  margin: 16px 0 0; font-stretch: 125%; font-weight: 800;
  font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; color: #F4F7FA;
}
.loi29-main > p { margin: 14px 0 0; color: #C9D2DD; }
/* The generic paragraph colour above was overriding the badge's white text (4.25:1, below AA). */
.loi29-main > p.loi29-badge { color: #FFFFFF; }
.loi29-main strong { color: #F4F7FA; }
.loi29-list {
  flex: 1 1 340px; min-width: 0; list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 16px;
}
.loi29-list li { display: flex; gap: 12px; }
.loi29-list svg { flex: none; margin-top: 3px; }
.loi29-list strong { color: #F4F7FA; }
.loi29-list .muted { font-size: 16px; color: #A7B3C2; }
.loi29-foot {
  flex: 1 1 100%; margin: 0; padding-top: 16px; border-top: 1px solid #24364D;
  font-size: 14px; color: #8C9AAB;
}

/* ---------- Home: subsidies ---------- */
.subv-title { max-width: 16em; }
.subv-row { display: flex; flex-wrap: wrap; gap: 32px 56px; margin-top: 40px; }
.subv-main { flex: 1 1 460px; min-width: 0; }
.subv-lead { margin: 0; font-size: 22px; line-height: 1.5; font-weight: 500; color: #0B1624; }
.subv-help {
  display: flex; align-items: center; gap: 16px; margin-top: 28px;
  padding: 20px 24px; background: #0B1624; border-radius: 8px;
}
.subv-help .icon-disc { width: 44px; height: 44px; background: #F26B2B; }
.subv-help p { margin: 0; font-stretch: 112%; font-size: 22px; line-height: 1.3; font-weight: 700; color: #FFFFFF; }
.subv-note { margin: 20px 0 0; font-size: 15px; color: #4A5868; }
.card-white {
  flex: 1 1 340px; min-width: 0; align-self: flex-start; padding: 28px 30px;
  background: #FFFFFF; border: 1px solid #D3DBE5; border-radius: 8px;
}
.card-white h3 { margin: 0; font-stretch: 112%; font-weight: 700; font-size: 22px; line-height: 1.25; }
.card-white p { margin: 10px 0 0; color: #24323F; }
.card-white .btn { margin-top: 20px; }
.logisvert {
  display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; margin-top: 24px;
  padding: clamp(28px, 4vw, 44px); background: #0B1624; color: #E8EDF3; border-radius: 10px;
}
.logisvert-main { flex: 1 1 520px; min-width: 0; }
.logisvert-main .kicker { color: #4FA8F0; }
.logisvert-main .h-sub { margin-top: 14px; }
.logisvert-main > p.body { margin: 16px 0 0; max-width: 40em; color: #C9D2DD; }
.logisvert-main > p.fine { margin: 12px 0 0; font-size: 14px; color: #8C9AAB; }
.logisvert-side { flex: 0 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.docs-card {
  padding: 22px 22px 20px; background: #F26B2B; color: #0B1624; border-radius: 10px;
  box-shadow: 0 14px 32px rgba(242, 107, 43, 0.28);
}
.docs-head { display: flex; align-items: center; gap: 14px; }
.docs-head .icon-disc { flex: none; width: 46px; height: 46px; }
.docs-head p { margin: 0; font-stretch: 112%; font-size: 20px; line-height: 1.2; font-weight: 800; }
.docs-list {
  list-style: none; margin: 16px 0 0; padding: 14px 16px; background: #FFFFFF; border-radius: 8px;
  display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; color: #0B1624;
}
.docs-list li { display: flex; align-items: center; gap: 10px; }
.docs-list svg { flex: none; }
.area { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px; margin-top: clamp(72px, 9vw, 120px); }
.area-main { flex: 1 1 340px; min-width: 0; }
.area-main .kicker { color: #155FA8; }
.area-main .h-display { margin-top: 14px; }
.area-main > p:not(.kicker) { margin: 18px 0 0; max-width: 28em; font-size: 19px; color: #24323F; }
.area-main .btn { margin-top: 24px; }
.area-img { flex: 1.4 1 480px; min-width: 0; }
.area-img img {
  display: block; width: 100%; height: auto; aspect-ratio: 1300 / 490;
  filter: drop-shadow(0 24px 24px rgba(11, 22, 36, 0.28));
}

/* FAQ */
#faq { margin-top: clamp(72px, 9vw, 120px); max-width: 880px; }
.faq-list { margin-top: 32px; border-top: 1px solid #C3CEDB; }
.faq-list details { border-bottom: 1px solid #C3CEDB; }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 44px;
  padding: 20px 0; cursor: pointer; font-size: 19px; font-weight: 600;
}
.faq-list summary svg { flex: none; }
.faq-list details > p { margin: 0; padding: 0 0 22px; color: #4A5868; }
.faq-list details > p a { color: #0B63B0; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Home: reviews ---------- */
.reviews {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 16px; margin-top: 40px;
}
.review {
  margin: 0; padding: 30px; background: #0F1B2A; border: 1px solid #1B2A3E; border-radius: 8px;
  display: flex; flex-direction: column; gap: 20px;
}
.review .stars { margin: 0; font-size: 20px; letter-spacing: 2px; color: #F47A3E; }
.review blockquote { margin: 0; font-size: 18px; line-height: 1.55; color: #E8EDF3; }
.review figcaption { margin-top: auto; font-size: 15px; font-weight: 600; color: #A7B3C2; }

/* ---------- Home: quote form ---------- */
.sec-quote { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid #1B2A3E; }
.quote-row { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.quote-intro { flex: 1 1 360px; min-width: 0; }
.quote-intro > p { margin: 20px 0 0; max-width: 28em; color: #A7B3C2; }
.contact-list { margin: 36px 0 0; display: flex; flex-direction: column; gap: 20px; }
.contact-list dt { font-size: 15px; color: #A7B3C2; }
.contact-list dd { margin: 2px 0 0; font-weight: 600; }
.contact-list .urgent { color: #F47A3E; }
.form-card {
  flex: 1 1 520px; min-width: 0; padding: clamp(24px, 3vw, 36px); background: #0F1B2A;
  border: 1px solid #1B2A3E; border-radius: 10px; box-sizing: border-box;
}
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 15px; font-weight: 600; color: #C9D2DD; }
.field legend { padding: 0; }
.field input, .field select, .field textarea {
  min-height: 50px; box-sizing: border-box; padding: 0 14px; background: #08111C;
  border: 1px solid #2E4058; border-radius: 6px; color: #E8EDF3; font: inherit; font-size: 17px;
  width: 100%; min-width: 0;
}
.field select { padding: 0 12px; }
.field textarea { padding: 12px 14px; resize: vertical; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #FF8E7A; }
.field-error { margin: 0; font-size: 15px; font-weight: 600; color: #FF9E8C; }
.field-error[hidden] { display: none; }
fieldset.field { margin: 0; padding: 0; border: 0; display: block; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 8px; }
.radio-row label { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; color: #E8EDF3; font-size: 18px; font-weight: 400; }
.radio-row input { width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; accent-color: #F26B2B; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.submit-btn {
  width: 100%; min-height: 56px; margin-top: 24px; border: 0; border-radius: 6px;
  background: #F26B2B; color: #0B1624; font: inherit; font-size: 18px; font-weight: 700; cursor: pointer;
}
.submit-btn[disabled] { cursor: progress; opacity: .75; filter: none; }
.form-consent { margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: #A7B3C2; }
.form-consent a { text-decoration: underline; text-underline-offset: 3px; }
.form-alert {
  margin-top: 24px; padding: 18px 20px; border-radius: 8px;
  background: #2A1712; border: 1px solid #F26B2B; color: #F4F7FA; font-size: 16px;
}
.form-alert p { margin: 0; }
.form-alert p + p { margin-top: 10px; }
.form-alert a { color: #FFB38F; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.form-success { outline: none; }
.form-success h3 { margin: 0; font-stretch: 112%; font-size: 26px; font-weight: 800; line-height: 1.2; color: #F4F7FA; }
.form-success p { margin: 12px 0 0; color: #C9D2DD; }
.form-success .duo { width: 120px; height: 6px; margin-bottom: 20px; }

/* ---------- Footers ---------- */
.site-footer { background: #050B13; padding: 64px 0 36px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.footer-brand { flex: 1 1 280px; min-width: 0; }
.footer-brand img { display: block; width: 220px; height: auto; }
.footer-brand p { margin: 20px 0 0; font-size: 16px; color: #A7B3C2; }
.footer-col { flex: 1 1 200px; min-width: 0; }
.footer-col h3 { margin: 0; font-size: 16px; font-weight: 700; color: #F4F7FA; }
.footer-col ul {
  list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column;
  gap: 8px; font-size: 16px; color: #A7B3C2;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px;
  padding-top: 24px; border-top: 1px solid #1B2A3E; font-size: 14px; color: #8A97A8;
}
.footer-bottom p { margin: 0; }
.footer-bottom a, .footer-mini a { color: #A7B3C2; }
.footer-mini { border-top: 1px solid #1B2A3E; }
.footer-mini .wrap {
  padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 12px 24px; font-size: 14px; color: #8C9AAB;
}
.footer-mini--center .wrap { justify-content: center; text-align: center; }

/* ---------- Services page ---------- */
.svc-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); }
.svc-hero .kicker { color: #4FA8F0; }
.svc-hero h1 {
  margin: 16px 0 0; max-width: 14em; font-stretch: 125%; font-weight: 800;
  font-size: clamp(40px, 5vw, 68px); line-height: 1.02; color: #F4F7FA;
}
.svc-hero > .wrap > p:not(.kicker) { margin: 24px 0 0; max-width: 36em; font-size: 20px; color: #C9D2DD; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.nx-chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid #2E4058; border-radius: 999px; font-size: 16px; font-weight: 600; color: #C9D2DD;
}
.nx-chip:hover { border-color: #F26B2B; color: #F4F7FA; }
.svc-section { padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid #1B2A3E; }
.svc-row { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.svc-main { flex: 1 1 420px; min-width: 0; }
.svc-main .svc-kicker { color: #A7B3C2; }
.svc-main .svc-kicker { margin: 0; }
.svc-main h2 {
  margin: 12px 0 0; font-stretch: 125%; font-weight: 800;
  font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; color: #F4F7FA;
}
.svc-main > p:not(.svc-kicker) { margin: 16px 0 0; }
.svc-main > h2 + p:not(.svc-kicker) { margin-top: 20px; }
.svc-main .btn { margin-top: 24px; }
.svc-side { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.info-card { padding: 24px 26px; background: #0F1B2A; border: 1px solid #1B2A3E; border-radius: 10px; }
.info-card h3 { margin: 0; font-stretch: 112%; font-size: 19px; font-weight: 700; color: #F4F7FA; }
.info-card ul, .info-card ol { margin: 10px 0 0; padding-left: 20px; font-size: 16px; color: #A7B3C2; }
.info-card p { margin: 10px 0 0; font-size: 16px; color: #A7B3C2; }
.info-card .urgent { color: #F47A3E; font-weight: 700; }
.cta-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
  padding: clamp(28px, 4vw, 44px); background: #0F1B2A; border: 1px solid #1B2A3E; border-radius: 12px;
}
.cta-box > div { flex: 1 1 460px; min-width: 0; }
.cta-box h2 {
  margin: 0; font-stretch: 125%; font-weight: 800; font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08; color: #F4F7FA;
}
.cta-box p { margin: 14px 0 0; color: #C9D2DD; }

/* ---------- Legal page + 404 ---------- */
.page-legal a { color: #4FA8F0; }
.page-legal a:hover { color: #8CC3EE; }
.page-legal .back-link, .page-legal .back-link:hover { color: #E8EDF3; }
.page-legal a.btn, .page-legal a.btn:hover { color: #0B1624; }
.legal {
  max-width: 820px; margin: 0 auto; box-sizing: border-box;
  padding: clamp(40px, 6vw, 72px) 24px clamp(56px, 8vw, 96px);
}
.legal-bar { width: 120px; height: 6px; margin-bottom: 24px; }
.legal h1 {
  margin: 0; font-stretch: 125%; font-weight: 800; font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05; color: #F4F7FA;
}
.legal .updated { margin: 12px 0 0; font-size: 15px; color: #8C9AAB; }
.legal h2 { margin: 40px 0 12px; font-stretch: 112%; font-weight: 700; font-size: 23px; color: #F4F7FA; }
.legal h1 + .updated + h2 { margin-top: 48px; }
.legal h2 + p, .legal h2 + ul { margin-top: 0; }
.legal p { margin: 12px 0 0; }
.legal ul { margin: 12px 0 0; padding-left: 22px; }
.legal strong { color: #F4F7FA; }
.legal .btn { margin-top: 48px; }
.page-404 .legal { min-height: 50vh; }
.page-404 .legal > p:not(.updated) { margin-top: 16px; font-size: 19px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 36px; }
.legal .btn-row .btn { margin-top: 0; }
.page-legal a.btn-outline, .page-legal a.btn-outline:hover { color: #E8EDF3; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nx-hero {
    background-image:
      linear-gradient(180deg, rgba(8,17,28,.92) 0%, rgba(8,17,28,.88) 100%),
      url(img/hero-heat-pump-winter-960.webp);
  }
}

@media (max-width: 640px) {
  /* 16 px side gutter on phones */
  .wrap { padding-left: 16px; padding-right: 16px; }
  .legal { padding-left: 16px; padding-right: 16px; }

  .nx-head { padding: 12px 16px; gap: 6px 12px; flex-wrap: wrap; }
  .nx-hlogo { order: 1; }
  .nx-hright, .back-link { order: 2; }
  .nx-hright { gap: 8px; }
  .nx-hlogo img { height: 19px; }
  .nx-hcta { min-height: 44px; padding: 0 12px; font-size: 14px; }
  .nx-nav {
    order: 3; flex: 1 1 100%; flex-wrap: nowrap; gap: 0 20px; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; font-size: 15px;
    margin: 0 -16px; padding: 0 16px;
  }
  .nx-nav::-webkit-scrollbar { display: none; }
  .nx-nav a { white-space: nowrap; flex: none; }
  .nx-nav .nx-home { display: none; }

  .nx-hero h1 { font-size: 40px; }
  .nx-herobtns a { flex: 1 1 100%; }
  .nx-herologo { max-width: 280px; }
  .nx-herorow { flex-direction: column; align-items: stretch; gap: 0; }
  .nx-heroleft { display: contents; }
  .nx-heroleft > * { order: 1; }
  .nx-heroright { order: 2; flex: none; margin-bottom: 32px; }
  .nx-heroleft > :nth-child(n+3) { order: 3; }
  .nx-fintitle { white-space: normal; font-size: 21px; }
  .nx-stats { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; padding: 24px 0; }
  .nx-presets button {
    flex: 1 1 calc(50% - 5px); font-size: 14px; padding: 6px 10px; border-radius: 12px;
    line-height: 1.25; text-wrap: balance;
  }
  /* The design's translateX(10px) scale(1.03) pushes a full-width row past the viewport edge. */
  .nx-sig:has(input:checked) { transform: translateX(4px) scale(1.01); }
}

/* Very narrow phones (320-380 px): trim card padding so buttons and text fit. */
@media (max-width: 380px) {
  .band { padding: 24px 20px; }
  .warranty { padding: 24px 20px; }
  .sig-box { padding: 22px 20px; }
  .review { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nx-fan, .nx-flow, .nx-air, .nx-snow { animation: none; }
  .nx-sig, .nx-sig input:checked, .nx-sig .nx-ok, .nx-seg, .sig-box, .sim-room { transition: none; animation: none; }
  .nx-sig:has(input:checked) { transform: none; }
}
