/* Renewable energy landing — brand blues → plums → red, gradients on surfaces & CTAs */

:root {
  /* Palette (blue primary → red accent) */
  --c-blue: #225174;
  --c-304b6a: #304b6a;
  --c-3d455f: #3d455f;
  --c-4b3e55: #4b3e55;
  --c-59384a: #59384a;
  --c-663240: #663240;
  --c-742c35: #742c35;
  --c-82252b: #82252b;
  --c-8f1f20: #8f1f20;
  --c-red: #9d1916;

  --pt-primary: var(--c-blue);
  --pt-primary-mid: var(--c-304b6a);
  --pt-primary-dark: var(--c-3d455f);
  --pt-accent: var(--c-red);
  --pt-accent-hover: #b01e1a;
  --pt-secondary: #54595f;

  --gradient-brand: linear-gradient(
    135deg,
    var(--c-blue) 0%,
    var(--c-59384a) 34%,
    var(--c-663240) 66%,
    var(--c-red) 100%
  );
  --gradient-brand-soft: linear-gradient(125deg, var(--c-blue) 0%, var(--c-59384a) 100%);
  --gradient-header: linear-gradient(
    92deg,
    var(--c-blue) 0%,
    var(--c-304b6a) 42%,
    var(--c-3d455f) 100%
  );
  --gradient-red-cta: linear-gradient(135deg, var(--c-82252b) 0%, var(--c-8f1f20) 42%, var(--c-red) 100%);
  --gradient-hero-scrim: linear-gradient(
    115deg,
    rgba(34, 81, 116, 0.92) 0%,
    rgba(89, 56, 74, 0.78) 38%,
    rgba(102, 50, 64, 0.55) 68%,
    rgba(157, 25, 22, 0.22) 100%
  );
  --gradient-page: linear-gradient(180deg, #f6f7f9 0%, #ebeff3 48%, #f3f5f7 100%);
  --gradient-how: linear-gradient(
    185deg,
    #f8f9fb 0%,
    rgba(34, 81, 116, 0.06) 42%,
    #e8ecf1 100%
  );
  --gradient-step: linear-gradient(145deg, var(--c-blue) 0%, var(--c-304b6a) 100%);
  --gradient-final: linear-gradient(155deg, var(--c-blue) 0%, var(--c-59384a) 48%, var(--c-663240) 100%);
  --gradient-soft-accent: linear-gradient(135deg, rgba(34, 81, 116, 0.14), rgba(157, 25, 22, 0.10));
  --gradient-surface: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);

  --bg: #e9ecef;
  --bg-soft: #f4f5f7;
  --bg-dark: var(--c-blue);
  --surface: #ffffff;
  /* --text: #263238; */
  --text: #54595f;
  --text-muted: #5c6670;
  --accent: var(--pt-accent);
  --accent-hover: var(--pt-accent-hover);
  --accent-soft: rgba(157, 25, 22, 0.09);
  --primary-soft: rgba(34, 81, 116, 0.1);
  --highlight: #e8c4b8;
  --highlight-soft: rgba(232, 196, 184, 0.35);
  --border: rgba(34, 81, 116, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(34, 81, 116, 0.08);
  --shadow-lg: 0 24px 48px rgba(34, 81, 116, 0.12);
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-display: "Montserrat", system-ui, sans-serif;
  --space: clamp(1rem, 4vw, 2rem);
  --max: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--gradient-page);
  background-attachment: fixed;
}

.logo img {
  height: 70px; /* adjust as needed */
  width: auto;
  display: block;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space);
  padding: 0.5rem 1rem;
  background: var(--gradient-red-cta);
  color: #fff;
  z-index: 1000;
  border-radius: 6px;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--pt-primary);
}

a:hover {
  color: var(--c-59384a);
}

.section-offer .offer-banner a:not(.btn),
.section-final a:not(.btn) {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section-offer .offer-banner a:not(.btn):hover,
.section-final a:not(.btn):hover {
  color: #e8eef3;
}

/* SECTION BASE (keep your gradient, refine it) */
.section-offer {
  background: var(--gradient-how);
  
  position: relative;
  overflow: hidden;
}

/* subtle depth layer */
.section-offer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(255, 255, 255, 0.10),
    transparent 60%
  );
  pointer-events: none;
}

/* LAYOUT */
.offer-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .offer-banner {
    grid-template-columns: 1.3fr 0.7fr;
  }
}

/* MAIN CONTENT CARD FEEL */
.offer-banner__main {
  padding: 0.5rem 0;
  max-width: 60ch;
}

/* TITLE (MAKE IT STRONGER) */
.offer-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

/* SUBTITLE */
.offer-banner__kicker {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
}

/* LABEL (SMALL SECTION HEADING) */
.offer-banner__label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.75rem;
}

/* CHIP LIST IMPROVED */
.offer-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.offer-chip-list li {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
}

/* TAGLINE (MAKE IT POP) */
.offer-tagline {
  margin-top: 1.25rem;
  font-weight: 600;
  color: #ffd7c9;
  font-size: 0.95rem;
}

/* CTA SIDE IMPROVEMENT */
.offer-banner__cta {
  justify-self: center;
  align-self: center;

  /* BIGGER + MORE PREMIUM */
  padding: 1rem 1.6rem;
  font-size: 1rem;
  font-weight: 700;

  border-radius: 999px;
  text-align: center;

  /* stronger contrast */
  background: #ffffff;
  color: var(--c-blue);

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(0);
  transition: all 0.25s ease;
}

/* CTA HOVER = LIFT EFFECT */
.offer-banner__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.35);
  background: #f5f7fa;
}

/* Prevent full-width stretching feel */
.offer-banner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Ensure grid has breathing room */
@media (min-width: 900px) {
  .offer-banner {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    align-items: center;
  }
}

/* RIGHT SIDE (CTA AREA) */
.offer-banner__cta {
  justify-self: center;
  max-width: 280px;   /* prevents full stretch look */
}

/* Make sure it doesn't hug screen edges */
.section-offer .container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* OPTIONAL: center alignment on large screens for CTA block */
@media (min-width: 900px) {
  .offer-banner__cta {
    justify-self: end;
  }
}

.footer-note a,
.footer-legal a {
  color: var(--pt-primary);
}

.footer-note a:hover,
.footer-legal a:hover {
  color: var(--pt-accent);
}

.container {
  width: min(100% - var(--space) * 2, var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: 720px;
  margin-inline: auto;
  width: min(100% - var(--space) * 2, 720px);
}

/* Text + image rows (problem: text | image · results: image | text) */
.media-split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
}

@media (min-width: 880px) {
  .media-split {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 3.25rem);
  }
}

.media-split__figure {
  margin: 0;
}

.media-split__figure img {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.media-split__figure .photo-credit {
  margin-top: 0.5rem;
}

.problem-lead {
  margin: 0 0 0.5rem;
  font-weight: 600;
  color: var(--text);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--gradient-header);
  background-color: var(--c-blue);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(157, 25, 22, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
}

.logo span {
  color: #fff;
  font-weight: 700;
}

.footer-logo {
  color: var(--text);
}

.footer-logo span {
  color: var(--pt-accent);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.9375rem;
}

.nav a:hover {
  color: #fff;
}

.nav-cta {
  padding: 0.5rem 1.1rem;
  background: var(--gradient-red-cta);
  color: #fff !important;
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(157, 25, 22, 0.35);
}

.nav-cta:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: #fff;
  margin-inline: auto;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-drawer {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem var(--space) 1.5rem;
  box-shadow: var(--shadow);
}

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

.nav-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-drawer a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-drawer {
    display: none !important;
  }
}

/* Hero — Sourced.nz–style: light band, welcome line, declarative H1, lead, two actions
   See https://sourced.nz/ */
.hero.hero-sourced {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: clamp(2.75rem, 6vw, 4.25rem) 0 clamp(3rem, 7vw, 4.75rem);
}

.hero.hero-sourced {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(34, 81, 116, 0.05) 100%
  );
}

.hero-split {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    rgba(34, 81, 116, 0.06) 45%,
    rgba(157, 25, 22, 0.04) 100%
  );
  overflow: hidden;
}

/* subtle glow overlay */
.hero-split::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 30%,
    rgba(34, 81, 116, 0.12),
    transparent 55%
  );
  pointer-events: none;
}

.hero-split__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* desktop layout */
@media (min-width: 900px) {
  .hero-split__inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* TEXT */
.hero-split__eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pt-accent);
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

.hero-split__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--text);
}

.hero-split__lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 52ch;
}

.hero-split__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* IMAGE */
.hero-split__image {
  position: relative;
}

.hero-split__image img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  object-fit: cover;
}

/* subtle floating border effect */
.hero-split__image::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(34, 81, 116, 0.15),
    rgba(157, 25, 22, 0.12)
  );
  z-index: -1;
  filter: blur(18px);
}


/* HERO BACKGROUND SECTION */
.hero-bg {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0;
  overflow: hidden;
  color: #fff;
  /* height: 100vh; */

  /* Solar roof background image */
  /* background-image: url("https://images.pexels.com/photos/159397/solar-panel-array-power-sun-electricity-159397.jpeg?auto=compress&cs=tinysrgb&w=1600"); */
  background-image: url("https://images.pexels.com/photos/12843338/pexels-photo-12843338.jpeg");
  background-size: cover;
  background-position: center;
}

/* BLUE + DARK GRADIENT OVERLAY */
.hero-bg__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(34, 81, 116, 0.92) 0%,
    rgba(48, 75, 106, 0.85) 35%,
    rgba(89, 56, 74, 0.75) 65%,
    rgba(157, 25, 22, 0.55) 100%
  );
  z-index: 1;
}

/* subtle glow layer for depth */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 30%,
    rgba(255, 255, 255, 0.08),
    transparent 60%
  );
  z-index: 2;
}

/* GRID LAYOUT */
.hero-bg__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-bg__inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* TEXT */
.hero-bg__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(241, 245, 255, 0.10));
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-bg__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #fff;
}

.hero-bg__lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.75rem;
  max-width: 52ch;
}

/* ACTIONS */
.hero-bg__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* RIGHT IMAGE */
.hero-bg__image img {
  width: 100%;
  border-radius: 18px;
  /* box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55); */
  box-shadow: 0 35px 25px -25px rgba(0, 0, 0, 0.4);

  transform: translateY(-2px);
  object-fit: cover;
  /* border: 1px solid rgba(157, 25, 22, 0.30); */
  border-bottom: 4px solid rgba(157, 25, 22, 0.90);;
  /* background-color: rgba(34, 81, 116, 0.20); */
}

.hero-sourced__inner {
  max-width: 46rem;
}

.hero-sourced__welcome {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--pt-accent);
  letter-spacing: 0.03em;
}

.hero-sourced__title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.7rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--text);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-sourced__lead {
  margin: 0 0 1.65rem;
  font-size: clamp(1.02rem, 1.8vw, 1.125rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 42rem;
}

.hero-sourced__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}



.trust-bar {
  padding: 2rem 0;
  background: linear-gradient(90deg, #f9fbff 0%, #eef3f9 100%);
  border-bottom: 1px solid rgba(34, 81, 116, 0.08);
  text-align: center;
}

.trust-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.logo-ticker {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

/* The horizontal "track" that moves */
.logo-track {
  display: inline-flex;
  align-items: center;
  gap: 4rem;
  animation: scroll 30s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.logo-track img {
  height: 35px; /* Adjust based on logo shapes */
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.logo-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); } /* -50% = shift by one copy (because track is doubled) */
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
  }
}

/* Pause on hover for accessibility/readability */
.logo-ticker:hover .logo-track {
  animation-play-state: paused;
}




.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--highlight);
  margin: 0 0 1rem;
}

.photo-credit {
  margin: 1.25rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.photo-credit a {
  color: var(--pt-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.photo-credit a:hover {
  color: var(--pt-accent);
}

.inline-photo {
  margin: 1.75rem 0 0;
}

.inline-photo img {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.inline-photo .photo-credit {
  margin-top: 0.5rem;
}

.center-credit {
  text-align: center;
  margin: -1rem 0 1.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: filter 0.2s, box-shadow 0.2s, border-color 0.2s, transform 0.15s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--gradient-red-cta);
  color: #fff;
  box-shadow: 0 4px 18px rgba(157, 25, 22, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.07);
  color: #fff;
  box-shadow: 0 6px 24px rgba(157, 25, 22, 0.45);
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(236, 244, 255, 0.94));
  color: var(--text);
  border-color: rgba(34, 81, 116, 0.14);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(226, 236, 255, 1));
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: none;
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  color: #fff !important;
}

.btn-on-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-light {
  background: #fff;
  color: var(--pt-primary);
  margin-top: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
  background: linear-gradient(180deg, #fff 0%, #f0f4f8 100%);
  color: var(--c-304b6a);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  color: var(--pt-primary);
}

.section-title.center {
  text-align: center;
}

.section-intro {
  margin: -0.5rem 0 2rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.section-intro.center {
  text-align: center;
}

.lead {
  font-size: 1.125rem;
  color: var(--text);
  margin: 0 0 1.25rem;
}

.h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--pt-primary);
}

.callout {
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  border-left: 4px solid var(--c-blue);
  background: linear-gradient(90deg, var(--primary-soft), rgba(255, 255, 255, 0.55));
}

/* Problem */
.section-problem {
  background: var(--surface);
  border-block: 1px solid var(--border);
  position: relative;
}

/* .section-problem::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--gradient-brand-soft);
  opacity: 0.85;
} */

.problem-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.problem-list li {
  margin-bottom: 0.5rem;
}

.problem-callout {
  border-left-color: var(--c-red);
  background: var(--accent-soft);
}

/* Solution */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.solution-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 255, 0.98));
  border: 1px solid rgba(34, 81, 116, 0.09);
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--gradient-step);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.check-list.light li {
  color: rgba(255, 255, 255, 0.92);
}

.check-list.light li::before {
  background: var(--gradient-red-cta);
  box-shadow: 0 0 0 3px rgba(157, 25, 22, 0.25);
}

.solution-callout {
  margin-top: 1.25rem;
  border-left-color: var(--c-blue);
  background: rgba(34, 81, 116, 0.08);
}

/* How */
.section-how {
  background: var(--gradient-brand);
  color: rgba(255, 255, 255, 0.92);
}

.section-how .section-title, .section-how-title {
  color: #fff; 
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}



@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(34, 81, 116, 0.08);
  box-shadow: var(--shadow);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: var(--gradient-step);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(34, 81, 116, 0.25);
}

.step .h3 {
  margin-bottom: 0.5rem;
}

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


.spinner-flower {
  display: inline-block;
  animation: spinFlower 1.2s linear infinite;
  transform-origin: center;
}

@keyframes spinFlower {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


/* Results */
.section-results {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.results-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.results-list li {
  padding: 0.85rem 0;
  padding-left: 2rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.results-list li:last-child {
  border-bottom: none;
}

.results-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 2px;
  background: var(--gradient-red-cta);
}

.results-callout {
  margin-top: 2rem;
  border-left-color: var(--c-59384a);
  background: linear-gradient(90deg, rgba(89, 56, 74, 0.07), rgba(255, 255, 255, 0.4));
}

/* Audience */
.audience-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.audience-card {
  background: var(--surface);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.audience-card:hover {
  border-color: rgba(34, 81, 116, 0.25);
  box-shadow: 0 8px 28px rgba(34, 81, 116, 0.1);
}

.section-audience {
  padding-top: 0;
}

.audience-banner {
  position: relative;
  max-height: 280px;
  overflow: hidden;
}

.audience-banner img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.audience-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(34, 81, 116, 0.15) 0%,
    rgba(89, 56, 74, 0.55) 55%,
    rgba(157, 25, 22, 0.35) 100%
  );
  pointer-events: none;
}

.audience-content {
  padding-top: clamp(2.5rem, 6vw, 3.5rem);
}

/* Offer */
.section-offer.section {
  padding: clamp(2.35rem, 5.5vw, 3.75rem) 0;
}

.section-offer {
  background: var(--gradient-brand);
  color: var(--c-304b6a);
  position: relative;
  overflow: hidden;
}

.section-offer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.offer-inner {
  position: relative;
  z-index: 1;
}

.offer-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
  width: 100%;
}

.offer-banner__main {
  flex: 1 1 280px;
  min-width: min(100%, 260px);
}

.offer-banner__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.offer-banner__kicker {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  max-width: 40ch;
}

.offer-banner__label {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.offer-chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.6rem;
}

.offer-chip-list li {
  margin: 0;
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.offer-tagline {
  font-weight: 700;
  font-size: 0.9375rem;
  margin: 0.85rem 0 0;
  color: var(--highlight);
}

.offer-banner__cta {
  flex-shrink: 0;
  margin-top: 0;
  align-self: center;
  white-space: nowrap;
}

/* Why */
.section-why {
  background: transparent;
  /* color: var(--c-304b6a); */
}

.why-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-card {
  position: relative;
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand-soft);
}

.why-card strong {
  color: var(--pt-accent);
}

/* Final CTA */
.section-final {
  background: var(--gradient-final);
  color: #e8eef3;
  padding: clamp(4rem, 10vw, 6rem) 0;
  position: relative;
}

.section-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 0% 100%, rgba(157, 25, 22, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.final-inner {
  position: relative;
  z-index: 1;
}

.final-inner .section-title {
  color: #fff;
}

.final-inner .section-intro {
  color: rgba(255, 255, 255, 0.82);
}

.center-ctas {
  justify-content: center;
  margin-top: 2rem;
}

/* Lead Form */
.section-leadform {
  background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%);
}

.leadform-container {
  max-width: 720px;
}

.leadform-header {
  margin-bottom: 2rem;
}

.lead-form {
  background: #22517430;
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.form-step {
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.form-step.active {
  display: flex;
}

.form-step label {
  font-weight: 600;
  color: var(--pt-primary);
}

.form-step input,
.form-step select {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 1rem;
  outline: none;
  transition: border 0.2s;
}

.form-step input:focus,
.form-step select:focus {
  border-color: var(--pt-primary);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

.hidden {
  display: none;
} */

/* ==========================================================================
   DIAGNOSTIC LEAD FORM STYLING
   ========================================================================== */

/* 1. Container and Card */
.lead-form {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(34, 81, 116, 0.14);
  box-shadow: 0 18px 55px rgba(34, 81, 116, 0.12);
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.lead-form::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 0%, rgba(34, 81, 116, 0.14), transparent 45%),
    radial-gradient(circle at 90% 30%, rgba(157, 25, 22, 0.10), transparent 50%);
  opacity: 0.9;
}

/* 2. Form Step Logic */
.form-step {
  display: none; 
  flex-direction: column;
  gap: 1.25rem;
  /* Removed min-height to eliminate the gap */
  opacity: 0;
}

.form-step.active {
  display: flex;
  opacity: 1;
  /* subtle scale-in is smoother than a vertical jump */
  animation: formFadeIn 0.3s ease-out forwards;
}

/* 3. Typography & Labels */
.form-step label {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-blue);
  line-height: 1.3;
  margin-bottom: -0.25rem;
}

/* 4. Inputs & Selects */
.form-step input,
.form-step select {
  width: 100%;
  padding: 0.95rem 1.05rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  background-color: #f7f9fc;
  border: 1px solid rgba(34, 81, 116, 0.16);
  border-radius: 14px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.08s ease;
  appearance: none;
}

.form-step input:hover,
.form-step select:hover {
  border-color: rgba(34, 81, 116, 0.28);
}

.form-step input:focus,
.form-step select:focus {
  outline: none;
  border-color: var(--c-blue);
  background-color: #fff;
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.form-step input::placeholder {
  color: rgba(84, 89, 95, 0.65);
}

/* custom dropdown arrow */
.form-step select {
  padding-right: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 7.75 10 12.25l4.5-4.5' stroke='%23225174' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.05rem center;
  background-size: 1.15rem 1.15rem;
}

/* Progress UI (The Track) */
.form-progress {
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, rgba(34, 81, 116, 0.10), rgba(157, 25, 22, 0.06));
  border-radius: 999px;
  margin-bottom: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(34, 81, 116, 0.12);
}

/* The Moving Bar */
.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c-blue) 0%, var(--c-red) 100%);
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 20px rgba(34, 81, 116, 0.22);
}

/* The Text Label (e.g., Step 1 of 6) */
.step-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  font-size: 0.8rem;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.12em;

  padding: 0.55rem 0.9rem;
  border-radius: 999px;

  background: linear-gradient(135deg, rgba(34, 81, 116, 0.96), rgba(157, 25, 22, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.22);

  margin: 0 0 1.15rem; /* breathing room before the question */
}

/* 5. Input Group (Step 6) */
.input-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .input-group {
    grid-template-columns: 1fr 1fr; /* 2x2 grid on desktop */
  }
}

/* 6. Action Buttons */
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.1rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(34, 81, 116, 0.14);
  gap: 1rem;
}

.form-actions .btn {
  min-width: 150px;
  padding: 0.85rem 1.85rem;
}

/* 7. Utility Classes for JS */
.hidden {
  display: none !important;
}

.invisible {
  visibility: hidden;
  pointer-events: none;
}

/* 8. Error Highlighting (for JS validation) */
.form-step input.error,
.form-step select.error {
  border-color: var(--c-red);
  background-color: rgba(157, 25, 22, 0.035);
  box-shadow: 0 0 0 4px rgba(157, 25, 22, 0.09);
}

/* 9. Animations */
@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-message {
  /* This ensures the success content centers nicely if the form had a min-height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Optional: Custom styling for select arrow */
/* .form-step select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23225174'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.2rem;
  padding-right: 3rem;
} */

/* --- FOOTER CONTAINER --- */

/* --- FOOTER CONTAINER --- */
.site-footer {
  position: relative;
  padding: 5rem 0 0;
  background: linear-gradient(
    135deg,
    var(--c-blue) 0%,
    var(--c-304b6a) 50%,
    var(--c-3d455f) 100%
  );
  color: #f8fafc;
  overflow: hidden;
}

/* top accent line */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-red-cta);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
  }
}

/* --- 1. BRAND SECTION --- */
.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.footer-logo span {
  color: var(--pt-accent); /* Using your specific brand accent */
}

.footer-tagline {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 30ch;
}

.footer-motto {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--pt-accent); /* Brand accent border */
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 35ch;
}

.footer-badge-wrapper {
  margin-top: 1.5rem;
}

.partner-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.6);
}

/* --- 2 & 3. NAVIGATION & CONTACTS --- */
.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5); /* Subtle headers */
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-info {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
}

.footer-cta {
  color: var(--pt-accent) !important; /* Standout color for CTA */
  font-weight: 700;
}

/* --- BOTTOM BAR --- */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  background-color: rgba(0, 0, 0, 0.2); /* Slightly darker overlay */
}

.bottom-flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  .bottom-flex {
    flex-direction: row;
  }
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  color: var(--pt-accent);
}

/* --- FOOTER CONTAINER --- */

/* ========================================
   MOBILE STYLES
======================================== */

/* Sticky CTA Button */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1rem;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);

  transform: translateY(100%);
  opacity: 0;

  transition: transform 0.25s ease, opacity 0.25s ease;
  will-change: transform, opacity;
}

.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none !important;
  }
}

.sticky-cta-btn {
  width: 100%;
  text-align: center;
  display: block;
  padding: 1rem;
  font-size: 1.1rem;
}

/* Mobile CTA adjustments */
@media (max-width: 640px) {
  .offer-banner__cta {
    width: 100%;
  }
  body {
    padding-bottom: 6rem; /* Keep content above the sticky CTA */
  }
}

@media (max-width: 540px) {
  .offer-banner__cta {
    width: 100%;
    white-space: normal;
    justify-content: center;
    align-self: stretch; 
  }
}

/* Additional mobile improvements */
@media (max-width: 768px) {
  /* Improve hero layout on mobile */
  .hero-bg__inner {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-bg__content {
    order: 1;
  }
  
  .hero-bg__image {
    order: 2;
    margin-bottom: 2rem;
  }
  
  /* Center align text elements */
  .section-title {
    text-align: center;
  }
  
  .section-intro {
    text-align: center;
  }
  
  .hero-bg__title {
    text-align: center;
  }
  
  .hero-bg__lead {
    text-align: center;
  }
  
  .hero-bg__eyebrow {
    text-align: center;
  }
  
  .callout {
    text-align: center;
  }
  
  .problem-lead {
    text-align: center;
  }
  
  .offer-banner__title {
    text-align: center;
  }
  
  .offer-banner__kicker {
    text-align: center;
  }
  
  .final-inner {
    text-align: center;
  }
  
  .leadform-header h2 {
    text-align: center;
  }
  
  .leadform-header p {
    text-align: center;
  }
  
  /* Adjust section spacing */
  .section {
    padding: 3rem 1rem;
  }
  
  /* Make buttons full width on mobile */
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  /* Stack nav items vertically in mobile drawer */
  .nav-drawer nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-drawer nav a {
    padding: 0.75rem 1rem;
    border-bottom: #225174 1px solid;
    text-align: center;
  }

  .nav-drawer nav a:last-child {
    border-bottom: none;
    color: var(--bg);
  }
  
  /* Adjust form on mobile */
  .lead-form {
    padding: 1rem;
  }
  
  .input-group {
    flex-direction: column;
  }
  
  .input-group input {
    margin-bottom: 0.5rem;
  }
  .step-num {
    margin-bottom: 0.75rem;

  }
}
