/* ==========================================================================
   Nexo Energy — Landing page
   1. Tokens   2. Base   3. Layout & utilities   4. Buttons & links
   5. Header   6. Hero   7. Highlights   8. Sections   9. Services
   10. Approach   11. Process   12. Replacement   13. Factors   14. FAQ
   15. Lead form   16. Final CTA   17. Footer   18. Mobile CTA
   19. Animations   20. Breakpoints
   ========================================================================== */

/* 1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — taken from the Nexo Energy logo */
  --color-dark: #14212B;
  --color-dark-soft: #1C2E3A;
  --color-navy: #2B3C4C;
  --color-teal: #2C8593;
  --color-teal-light: #7CC3CD;
  --color-teal-tint: #E6F2F3;
  --color-accent: #EE7A2B;          /* warm orange — icons, highlights */
  --color-accent-dark: #BF5114;     /* CTA background (AA with white text) */
  --color-accent-darker: #A2440F;
  --color-accent-tint: #FDF0E6;

  --color-light: #F5F7F6;
  --color-white: #FFFFFF;
  --color-text: #1E2A33;
  --color-muted: #5A6872;
  --color-border: #DCE3E4;
  --color-error: #C0392B;
  --color-error-light: #FF9C8F;
  --color-success: #2C8593;

  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-h1: clamp(2rem, 1rem + 3.6vw, 4rem);
  --fs-h2: clamp(2rem, 1.55rem + 1.9vw, 3.25rem);
  --fs-h3: 1.25rem;
  --fs-lead: 1.0625rem;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20, 33, 43, .06), 0 2px 8px rgba(20, 33, 43, .05);
  --shadow: 0 10px 30px -10px rgba(20, 33, 43, .18);
  --shadow-lg: 0 30px 60px -20px rgba(20, 33, 43, .28);

  --container: 1240px;
  --gutter: 16px;
  --section-y: 80px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip; /* the off-canvas drawer must never create sideways scroll */
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* 3. Layout & utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.text-accent { color: var(--color-teal); }

/* 4. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon[aria-hidden] { transform: translateX(3px); }
.btn:hover .icon:first-child { transform: none; }

.btn-primary {
  background: var(--color-accent-dark);
  color: var(--color-white);
  box-shadow: 0 8px 20px -8px rgba(191, 81, 20, .6);
}
.btn-primary:hover {
  background: var(--color-accent-darker);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -8px rgba(191, 81, 20, .65);
}

.btn-outline {
  border-color: var(--color-border);
  color: var(--color-navy);
  background: var(--color-white);
}
.btn-outline:hover { border-color: var(--color-navy); }

.btn-ghost {
  border-color: var(--color-border);
  color: var(--color-navy);
}
.btn-ghost:hover { background: var(--color-light); }

.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: 14px 26px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  color: var(--color-accent-dark);
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.inline-link {
  color: var(--color-teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 24px -18px rgba(20, 33, 43, .4);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  transition: height .3s var(--ease);
}
.site-header.is-scrolled .header-inner { height: 62px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-right: auto;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  transition: width .3s var(--ease), height .3s var(--ease);
}
.site-header.is-scrolled .brand-mark { width: 34px; height: 34px; }
.brand-name {
  font-size: 1.3125rem;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand-nexo { color: var(--color-navy); }
.brand-energy { color: var(--color-teal); }

/* Mobile navigation drawer */
.main-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  width: min(360px, 88vw);
  height: 100dvh;
  padding: calc(var(--header-h) + 8px) 24px 24px;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s linear .35s;
}
.main-nav.is-open {
  transform: none;
  visibility: visible;
  transition: transform .35s var(--ease);
}

.nav-list a {
  display: flex;
  align-items: center;
  min-height: 56px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  border-bottom: 1px solid var(--color-border);
}
.nav-list a:hover { color: var(--color-teal); }

.nav-drawer-footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
}
.drawer-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  font-weight: 700;
  color: var(--color-navy);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95; /* below the header (its stacking context holds the drawer) */
  background: rgba(20, 33, 43, .45);
}

.header-actions { display: none; }

.nav-toggle {
  position: relative;
  z-index: 130;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: var(--color-navy);
  border: 1px solid var(--color-border);
  background: var(--color-white);
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* 6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 32px 0 64px;
  background:
    radial-gradient(900px 420px at 88% 0%, var(--color-teal-tint), transparent 70%),
    var(--color-light);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 20px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-teal);
}
.eyebrow span { color: var(--color-accent); }

.hero-title {
  max-width: 700px;
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--color-dark);
}

.hero-lead {
  max-width: 560px;
  margin-top: 22px;
  font-size: var(--fs-lead);
  color: var(--color-muted);
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--color-navy);
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--color-teal); stroke-width: 2.5; width: 18px; height: 18px; }

.hero-helper {
  display: grid;
  gap: 8px;
  max-width: 580px;
  margin-top: 32px;
  padding: 20px 22px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.hero-helper p { font-size: .9375rem; color: var(--color-muted); }
.hero-helper .hero-helper-title { font-size: 1.0625rem; font-weight: 800; color: var(--color-dark); margin-bottom: 4px; }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--color-dark-soft);
}
.hero-visual picture,
.hero-img {
  width: 100%;
  height: 100%;
}
.hero-img {
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.6s var(--ease);
}
.hero-visual.is-visible .hero-img { transform: scale(1); }

.hero-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--color-white);
  background: rgba(20, 33, 43, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-pill);
}
.hero-badge .icon { width: 14px; height: 14px; color: var(--color-accent); }

/* 7. Highlights
   -------------------------------------------------------------------------- */
.highlights {
  background: var(--color-dark);
  color: var(--color-white);
}
.highlights-grid {
  display: grid;
  gap: 0;
}
.highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.highlight:last-child { border-bottom: 0; }
.highlight-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(238, 122, 43, .14);
  color: var(--color-accent);
}
.highlight-title {
  font-size: 1.0625rem;
  font-weight: 800;
  margin-bottom: 2px;
}
.highlight p { color: #B9C6CC; font-size: .9375rem; }

/* 8. Section heads
   -------------------------------------------------------------------------- */
.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-teal);
}
.section-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--color-accent);
}
.kicker-light { color: var(--color-teal-light); }

.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: var(--color-dark);
}
.section-lead {
  margin-top: 18px;
  font-size: var(--fs-lead);
  color: var(--color-muted);
}

/* 9. Services
   -------------------------------------------------------------------------- */
.service-grid {
  display: grid;
  gap: 20px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-visual {
  display: grid;
  place-items: center;
  height: 170px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--color-teal-tint), var(--color-light));
  overflow: hidden;
}
.service-visual .illus {
  width: 78%;
  height: auto;
  transition: transform .5s var(--ease);
}
.service-card:hover .illus { transform: scale(1.04); }

/* Illustration strokes */
.illus, .diagram { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.il-body { fill: var(--color-white); stroke: var(--color-navy); stroke-width: 3; }
.il-line { stroke: var(--color-navy); stroke-width: 3; }
.il-line.thin { stroke-width: 2; }
.il-line.dash { stroke-dasharray: 4 6; opacity: .5; }
.il-soft { fill: var(--color-teal-tint); stroke: var(--color-teal); stroke-width: 2; }
.il-soft-line { stroke: var(--color-teal); stroke-width: 2.5; }
.il-accent { stroke: var(--color-accent); stroke-width: 3; }
.il-accent-fill { fill: var(--color-accent); }

.service-num {
  font-size: .875rem;
  font-weight: 800;
  color: var(--color-accent-dark);
  letter-spacing: .08em;
}
.service-title {
  margin-top: 6px;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--color-dark);
}
.service-card > p {
  margin-top: 10px;
  color: var(--color-muted);
}

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  min-height: 44px;
  margin-top: 16px;
  font-weight: 700;
  color: var(--color-accent-dark);
}
.service-more .icon { transition: transform .3s var(--ease); }
.service-more:hover .icon { transform: translateX(4px); }
.service-more[aria-expanded="true"] .icon { transform: rotate(90deg); }

.service-details {
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid var(--color-border);
  animation: fadeIn .35s var(--ease);
}
.service-details .link-arrow { margin-top: 8px; }

.tick-list li {
  position: relative;
  padding: 5px 0 5px 26px;
  font-size: .9375rem;
  color: var(--color-text);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--color-teal);
  border-bottom: 2.5px solid var(--color-teal);
  transform: rotate(-45deg);
}

/* 10. Approach
   -------------------------------------------------------------------------- */
.approach { background: var(--color-light); }

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.checklist {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--color-dark);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}
.check-dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-teal);
  color: var(--color-white);
}
.check-dot .icon { width: 16px; height: 16px; stroke-width: 3; }

.approach-visual {
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.diagram { width: 100%; height: auto; }
.dg-ground { stroke: var(--color-border); stroke-width: 3; }
.dg-house { stroke: var(--color-navy); stroke-width: 5; }
.dg-floor { stroke: var(--color-navy); stroke-width: 3; opacity: .35; }
.dg-window { fill: var(--color-teal-tint); stroke: var(--color-teal); stroke-width: 2; }
.dg-radiator { stroke: var(--color-accent); stroke-width: 3; fill: var(--color-accent-tint); }
.dg-pipe { stroke: var(--color-accent); stroke-width: 4; }
.dg-pipe.thin { stroke-width: 3; stroke-dasharray: 6 6; }
.dg-unit { stroke: var(--color-navy); stroke-width: 3; fill: var(--color-white); }
.dg-label circle { fill: var(--color-dark); stroke: none; }
.dg-label text {
  fill: var(--color-white);
  stroke: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  text-anchor: middle;
}

.diagram-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  font-size: .875rem;
  font-weight: 500;
  color: var(--color-muted);
}
.diagram-legend b {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  font-size: .75rem;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-white);
}

/* 11. Process
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 16px;
  counter-reset: none;
}
.step {
  position: relative;
  padding: 26px;
  background: var(--color-light);
  border-radius: var(--radius-lg);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.step:hover { background: var(--color-teal-tint); transform: translateY(-3px); }
.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.step-num {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--color-accent);
}
.step-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-teal);
  box-shadow: var(--shadow-sm);
}
.step-icon .icon { width: 24px; height: 24px; }
.step-title {
  font-size: var(--fs-h3);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-dark);
}
.step p { margin-top: 8px; color: var(--color-muted); }

/* 12. Replacement
   -------------------------------------------------------------------------- */
.replacement { padding-top: 0; }

.replacement-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  background: var(--color-dark);
  border-radius: var(--radius-lg);
  color: var(--color-white);
}
.replacement-content { padding: 36px 24px; }
.replacement .section-title { color: var(--color-white); font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.75rem); }
.replacement .section-lead { color: #B9C6CC; }

.compare {
  display: grid;
  gap: 12px;
  margin: 32px 0;
}
.compare-col {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
}
.compare-col-new {
  background: rgba(44, 133, 147, .18);
  border-color: rgba(124, 195, 205, .35);
}
.compare-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: var(--color-accent);
}
.compare-col-new .compare-icon { color: var(--color-teal-light); }
.compare-col h3 { font-size: 1.0625rem; font-weight: 800; }
.compare-col p { margin-top: 6px; font-size: .9375rem; color: #B9C6CC; }
.compare-arrow {
  display: grid;
  place-items: center;
  color: var(--color-accent);
  transform: rotate(90deg);
}

.replacement-visual {
  position: relative;
  min-height: 280px;
}
.replacement-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 13. Factors
   -------------------------------------------------------------------------- */
.factors { padding-top: 0; }
.factor-grid {
  display: grid;
  gap: 16px;
}
.factor {
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.factor:hover { border-color: var(--color-teal); box-shadow: var(--shadow-sm); }
.factor-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--color-accent-tint);
  color: var(--color-accent-dark);
}
.factor h3 {
  font-size: 1.125rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-dark);
}
.factor p { margin-top: 6px; font-size: .9375rem; color: var(--color-muted); }

/* 14. FAQ
   -------------------------------------------------------------------------- */
.faq { background: var(--color-light); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }

.accordion { display: grid; gap: 12px; }
.acc-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.acc-item:has(.acc-trigger[aria-expanded="true"]) {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-sm);
}
.acc-heading { font-size: inherit; }
.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 64px;
  padding: 18px 20px;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-dark);
  border-radius: var(--radius);
}
.acc-trigger:hover { color: var(--color-teal); }
.acc-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-light);
  color: var(--color-navy);
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.acc-trigger[aria-expanded="true"] .acc-icon {
  transform: rotate(45deg);
  background: var(--color-accent-dark);
  color: var(--color-white);
}
.acc-panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .35s var(--ease);
}
.acc-panel.is-collapsing { grid-template-rows: 0fr; }
.acc-panel-inner { overflow: hidden; }
.acc-panel p {
  padding: 0 20px 20px;
  color: var(--color-muted);
}

/* 15. Lead form
   -------------------------------------------------------------------------- */
.lead {
  background:
    radial-gradient(700px 400px at 0% 0%, rgba(44, 133, 147, .25), transparent 70%),
    var(--color-dark);
  color: var(--color-white);
}
.lead-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.lead .section-title { color: var(--color-white); }
.lead .section-lead { color: #B9C6CC; }

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  color: var(--color-accent);
}
.contact-item dt {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-teal-light);
}
.contact-item dd { color: #B9C6CC; }
.contact-item dd strong { color: var(--color-white); }
.contact-phone {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -.01em;
}
.contact-phone:hover { color: var(--color-accent); }

.lead-next {
  margin-top: 36px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .12);
}
.lead-next-title { font-weight: 800; margin-bottom: 10px; }
.lead-next ol { counter-reset: next; display: grid; gap: 8px; }
.lead-next li {
  counter-increment: next;
  display: flex;
  gap: 12px;
  color: #B9C6CC;
  font-size: .9375rem;
}
.lead-next li::before {
  content: counter(next);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  font-size: .75rem;
  font-weight: 800;
  border-radius: 50%;
  background: var(--color-accent-dark);
  color: var(--color-white);
}

.form-card {
  padding: 28px 20px;
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.lead-form { display: grid; gap: 4px; }
.form-row { display: grid; gap: 4px; }

.field { display: grid; gap: 6px; }
.field label {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--color-dark);
}
.req { color: var(--color-accent-dark); }
.optional { font-weight: 500; color: var(--color-muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  font-size: 1rem;
  background: var(--color-light);
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #7D8A92; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #BCC8CA; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--color-white);
  border-color: var(--color-teal);
  box-shadow: 0 0 0 4px rgba(44, 133, 147, .18);
}
.field.has-error input,
.field.has-error select {
  border-color: var(--color-error);
  background: #FFF8F7;
}
.field.has-error input:focus,
.field.has-error select:focus { box-shadow: 0 0 0 4px rgba(192, 57, 43, .15); }

.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--color-navy);
  border-bottom: 2px solid var(--color-navy);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field select { padding-right: 44px; cursor: pointer; }

.field-error {
  min-height: 1.35em;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--color-error);
}

.form-required-note {
  margin: 4px 0 14px;
  font-size: .8125rem;
  color: var(--color-muted);
}
.form-consent {
  margin-top: 14px;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--color-muted);
  text-align: center;
}
.form-status:empty { display: none; }
.form-status {
  margin-top: 12px;
  padding: 12px 14px;
  font-size: .875rem;
  font-weight: 700;
  color: var(--color-error);
  background: #FFF1EF;
  border-radius: 10px;
}

.lead-form .btn[aria-busy="true"] { opacity: .75; pointer-events: none; }

.form-success {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 40px 12px;
  text-align: center;
  outline: none;
  animation: fadeIn .45s var(--ease);
}
.success-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--color-teal-tint);
  color: var(--color-teal);
}
.success-icon .icon { width: 34px; height: 34px; stroke-width: 2.5; }
.form-success h3 { font-size: 1.5rem; font-weight: 800; color: var(--color-dark); }
.form-success p { color: var(--color-muted); margin-bottom: 12px; }

/* 16. Final CTA
   -------------------------------------------------------------------------- */
.final-cta {
  padding-block: 64px;
  background: var(--color-teal-tint);
}
.final-inner {
  display: grid;
  gap: 28px;
}
.final-title {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.875rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: var(--color-dark);
}
.final-inner p {
  max-width: 620px;
  margin-top: 14px;
  font-size: var(--fs-lead);
  color: var(--color-muted);
}
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-top: 56px;
  background: var(--color-dark);
  color: #B9C6CC;
  font-size: .9375rem;
}
.footer-grid {
  display: grid;
  gap: 36px;
  padding-bottom: 40px;
}
.brand-light .brand-nexo { color: var(--color-white); }
.brand-light .brand-energy { color: var(--color-teal-light); }
.footer-brand p { margin-top: 12px; }
.footer-title {
  margin-bottom: 12px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-white);
}
.footer-links { display: grid; gap: 2px; }
.footer-links li { display: flex; align-items: center; min-height: 36px; }
.footer-links a:hover { color: var(--color-accent); }
.footer-bottom {
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8125rem;
}

/* 18. Mobile CTA
   -------------------------------------------------------------------------- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 24px -16px rgba(20, 33, 43, .35);
  transition: transform .3s var(--ease);
}
.mobile-cta.is-hidden { transform: translateY(110%); }
.mobile-cta-phone {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  color: var(--color-navy);
}
.mobile-cta-btn { flex: 1; min-height: 52px; }

/* keep content clear of the fixed bar */
body { padding-bottom: 76px; }

/* 19. Animations
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-img { transform: none; }
}

/* 20. Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 374px) {
  .brand-name { font-size: 1.125rem; }
  .hero-badge { display: none; }
}

@media (min-width: 576px) {
  :root { --gutter: 24px; }
  .hero-helper {
    grid-template-columns: 1fr;
  }
  .form-card { padding: 36px 32px; }
  .form-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .compare { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
  .compare-arrow { transform: none; }
  .factor-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .replacement-visual { min-height: 380px; }
}

@media (min-width: 768px) {
  :root {
    --section-y: 104px;
    --fs-body: 1.0625rem;
    --fs-lead: 1.125rem;
  }
  .hero { padding: 48px 0 88px; }
  .highlights-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .highlight { padding: 32px 0; border-bottom: 0; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; }
  .replacement-content { padding: 56px 48px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .final-inner { grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
  .final-actions { flex-direction: column; align-items: stretch; }
}

/* Desktop navigation */
@media (min-width: 992px) {
  :root { --header-h: 84px; }
  body { padding-bottom: 0; }
  .mobile-cta,
  .nav-backdrop,
  .nav-toggle,
  .nav-drawer-footer { display: none !important; }

  .brand { margin-right: 0; }
  .main-nav {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin-inline: auto;
    background: none;
    box-shadow: none;
    transform: none;
    visibility: visible;
    transition: none;
  }
  .nav-list { display: flex; gap: 4px; }
  .nav-list a {
    min-height: 44px;
    padding: 0 14px;
    font-size: .9375rem;
    font-weight: 700;
    border-bottom: 0;
    border-radius: var(--radius-pill);
    transition: color .2s, background-color .2s;
  }
  .nav-list a:hover { background: var(--color-light); color: var(--color-teal); }
  .nav-list a.is-active { color: var(--color-teal); }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-weight: 800;
    color: var(--color-navy);
    white-space: nowrap;
  }
  .header-phone .icon { color: var(--color-accent-dark); width: 18px; height: 18px; }
  .header-phone:hover { color: var(--color-teal); }
  .site-header.is-scrolled .header-inner { height: 68px; }

  .hero { padding: 56px 0 104px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; }
  .hero-visual { aspect-ratio: 4 / 5; }
  .hero-badge { left: 24px; bottom: 24px; }

  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card:last-child { grid-column: auto; }

  .approach-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .checklist { grid-template-columns: 1fr 1fr; }

  .steps {
    position: relative;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .steps::before {
    content: "";
    position: absolute;
    top: 52px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--color-border) 0 8px, transparent 8px 14px);
    z-index: 0;
  }
  .step { z-index: 1; }

  .replacement-card { grid-template-columns: 1.15fr 1fr; }

  .section-head-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: end;
    max-width: none;
  }
  .section-head-row .section-lead { margin-top: 0; }
  .factor-grid { grid-template-columns: repeat(4, 1fr); }

  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 32px); }

  .lead-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
  .form-card { padding: 44px 40px; }
}

@media (min-width: 1200px) {
  :root { --gutter: 32px; --section-y: 128px; --fs-body: 1.125rem; --fs-lead: 1.1875rem; }
  .hero-grid { gap: 72px; }
  .service-card { padding: 32px; }
  .service-visual { height: 190px; }
  .replacement-content { padding: 72px 64px; }
}

@media (min-width: 1440px) {
  :root { --container: 1320px; }
}
