/* PureAqua — Collectief Buitenplaats de Horst
   Page styles. Design tokens come from tokens.css. */

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

body {
  margin: 0;
  background: #fff;
  color: var(--fg-2);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

/* `height: auto` is load-bearing: the images carry width/height attributes,
   which act as presentational hints and would otherwise win over any
   `aspect-ratio` below (aspect-ratio only applies when a dimension is auto). */
img { display: block; max-width: 100%; height: auto; }

a { border-bottom: none; }
a:hover { color: var(--accent-hover); }

/* ── Layout ────────────────────────────────────────────────── */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}
.container--narrow { max-width: 820px; }

.section { padding: clamp(56px, 8vw, 120px) 0; }
.section--white { background: #fff; }
.section--sky { background: var(--pa-sky-25); }
.section--paper { background: var(--pa-off-white); }
.section--deep { background: var(--pa-deep-100); }

/* Two-column split that stacks when a column can no longer hold its
   minimum width — the design's `auto-fit` grid, kept verbatim. */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split--wide { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* ── Type ──────────────────────────────────────────────────── */

.eyebrow {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--mist { color: var(--pa-mist-100); }

.h2 {
  margin: 0 0 20px;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--pa-deep-100);
}
.h2--light { color: #fff; }

.h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--pa-deep-100);
}

.body { margin: 0 0 16px; font-size: 16px; line-height: 1.65; color: var(--fg-2); }
.body:last-child { margin-bottom: 0; }
.note { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--fg-3); }
.source { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--fg-3); }

/* ── Buttons ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--pa-aqua-100);
  border-color: var(--pa-aqua-100);
  color: var(--pa-ink-deep);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--pa-ink-deep);
}

/* Ghost on a dark background */
.btn--ghost-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}
.btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: #fff;
  color: #fff;
}

/* Ghost on a light background */
.btn--ghost-light {
  background: transparent;
  border-color: var(--border);
  color: var(--pa-deep-100);
}
.btn--ghost-light:hover {
  border-color: var(--pa-deep-100);
  color: var(--pa-deep-100);
}

.btn--lg { min-height: 54px; padding: 16px 30px; font-size: 15px; }
.btn--lg.btn--ghost-dark,
.btn--lg.btn--ghost-light { padding: 16px 28px; }

.btn--xl { min-height: 56px; padding: 17px 26px; font-size: 15.5px; }
.btn--md { min-height: 48px; padding: 14px 24px; font-size: 14.5px; }
.btn--sm { min-height: 44px; padding: 11px 20px; font-size: 13.5px; white-space: nowrap; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-row--center { justify-content: center; }

/* Text button that reveals the rest of a list */
.btn-more {
  margin: 24px 0 0;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--pa-deep-100);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--pa-deep-100);
  cursor: pointer;
}

/* ── Header ────────────────────────────────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.header[data-scrolled] { box-shadow: var(--shadow-md); }

.header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px clamp(16px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header__logo { height: 20px; width: auto; }

/* ── Hero ──────────────────────────────────────────────────── */

.hero {
  position: relative;
  background-color: var(--pa-deep-100);
  background-image:
    linear-gradient(180deg, rgba(17, 40, 58, 0.78) 0%, rgba(17, 40, 58, 0.42) 38%, rgba(17, 40, 58, 0.90) 100%),
    url('assets/hero-bouwplaats.jpg');
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
}
.hero__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(52px, 10vh, 104px) clamp(20px, 5vw, 48px) clamp(36px, 5vw, 72px);
}
.hero__content { max-width: 760px; }
.hero .eyebrow { margin-bottom: clamp(18px, 3vw, 28px); }
.hero__title {
  margin: 0 0 20px;
  font-size: clamp(31px, 5.6vw, 58px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}
.hero__lead {
  margin: 0 0 clamp(24px, 4vw, 36px);
  max-width: 560px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}
.hero__price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  margin: 0 0 clamp(24px, 4vw, 32px);
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.hero__amount { display: flex; align-items: baseline; gap: 10px; }
.hero__amount b {
  font-size: clamp(34px, 7vw, 50px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1;
  color: #fff;
}
.hero__amount span { font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.hero__fineprint {
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--pa-aqua-100);
  color: var(--pa-ink-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ── Price section ─────────────────────────────────────────── */

.price__head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.price__head .eyebrow { margin-bottom: clamp(20px, 3vw, 32px); }
.price__discount {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--pa-deep-75);
}
.price__amount {
  margin: 0;
  font-size: clamp(58px, 13vw, 124px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--pa-deep-100);
}
.price__inclusive {
  margin: 14px 0 0;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 400;
  color: var(--fg-2);
}
.price__vat {
  margin: 6px 0 clamp(32px, 5vw, 48px);
  font-size: 15px;
  color: var(--fg-3);
}

.receipt {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--pa-off-white);
}
.receipt__product {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 4px;
  padding: 0 clamp(6px, 2vw, 16px) 18px;
  border-bottom: 1px solid var(--border);
}
.receipt__product img { height: 58px; width: auto; }
.receipt__product-name { margin: 0; font-size: 15px; font-weight: 600; color: var(--fg-1); }
.receipt__product-meta { margin: 2px 0 0; font-size: 13px; line-height: 1.45; color: var(--fg-3); }

.receipt__lines { font-variant-numeric: tabular-nums; }
.receipt__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(6px, 2vw, 16px);
  border-bottom: 1px solid var(--border-soft);
  font-size: 14.5px;
  color: var(--fg-3);
}
.receipt__row span:last-child { white-space: nowrap; }
.receipt__row--subtotal { border-bottom-color: var(--border); }
.receipt__row--discount {
  margin: 10px 0 4px;
  padding: 13px clamp(10px, 2vw, 16px);
  border-bottom: none;
  border-radius: var(--radius-md);
  background: var(--pa-aqua-25);
  font-size: 15px;
  font-weight: 600;
  color: var(--pa-ink-deep);
}
.receipt__row--total {
  padding: 14px clamp(6px, 2vw, 16px) 6px;
  border-bottom: none;
  font-size: 17px;
  font-weight: 600;
  color: var(--fg-1);
}

.price__terms {
  max-width: 660px;
  margin: clamp(28px, 4vw, 40px) auto 0;
  text-align: center;
}
.price__terms p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--fg-2); }
.price__terms p:last-child { margin: 0; font-size: 14px; color: var(--fg-3); }
.price__terms strong { font-weight: 600; color: var(--fg-1); }
.price .btn-row { margin: clamp(32px, 5vw, 48px) 0 0; }

/* ── Numbered reasons ──────────────────────────────────────── */

.reasons { display: flex; flex-direction: column; gap: 22px; }
.reasons__item { display: flex; gap: 16px; }
.reasons__num {
  flex: 0 0 auto;
  padding-top: 3px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--pa-aqua-100);
}
.reasons__item p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--fg-2); }
.reasons-heading { margin-bottom: clamp(20px, 3vw, 28px); }

figure { margin: 0; }
.figure__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  /* The complex sits right of centre in the aerial, so the crop is pulled
     that way — dead centre would cut the building in half. */
  object-position: 72% center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
figcaption { margin: 12px 0 0; font-size: 13px; color: var(--fg-4); }

/* Side by side, the photo runs the full height of the text beside it. A wide
   image gets cropped from the sides rather than sitting there letterboxed. */
@media (min-width: 800px) {
  .split--wide { align-items: stretch; }
  .reasons__figure { display: flex; }
  .reasons__figure .figure__img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 400px;
    object-position: 70% center;
  }
}

/* ── Product panel + dimension chips ───────────────────────── */

.product-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 40px);
  background: var(--pa-sky-25);
  border-radius: var(--radius-lg);
}
.product-panel img { width: 100%; max-width: 300px; height: auto; }

.chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 24px;
}
.chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  color: var(--pa-deep-100);
}

/* ── Spec cards ────────────────────────────────────────────── */

.specs { margin: clamp(48px, 7vw, 88px) 0 0; }
.specs__lead {
  margin: 0 0 clamp(20px, 3vw, 28px);
  max-width: 620px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-2);
}
.specs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.specs__grid--rest { margin: clamp(20px, 3vw, 32px) 0 0; }
.specs__grid--rest[hidden] { display: none; }
.spec { padding: 20px 0 0; border-top: 1px solid var(--border); }
.spec h4 { margin: 0 0 6px; font-size: 16px; font-weight: 600; color: var(--fg-1); }
.spec p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--fg-2); }

/* ── "Je hebt net alles nieuw" panel ───────────────────────── */

.fresh {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: clamp(28px, 4vw, 44px);
  background: var(--pa-mist-25);
  border-radius: var(--radius-lg);
}
.fresh .h3 { margin-bottom: 14px; }
.fresh__body { margin: 0 0 12px; font-size: 16px; line-height: 1.65; color: var(--fg-2); }
.fresh__figure { display: flex; justify-content: center; }
.fresh__figure img { width: 100%; max-width: 230px; height: auto; }

/* ── Guarantee ─────────────────────────────────────────────── */

.guarantee .h2 { margin-bottom: clamp(24px, 4vw, 32px); }
.checks { display: flex; flex-direction: column; gap: 14px; }
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}
.checks { list-style: none; margin: 0; padding: 0; }
.checks__mark { flex: 0 0 auto; color: var(--pa-aqua-100); font-size: 15px; line-height: 1.6; }

.guarantee__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 44px);
  background: #fff;
  border-radius: var(--radius-lg);
}
.guarantee__figure img { width: 100%; max-width: 340px; height: auto; }
.guarantee .btn-row { margin: clamp(32px, 5vw, 48px) 0 0; }

/* ── Disclosure (details/summary) ──────────────────────────── */

summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }

.plus {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 400;
  color: var(--pa-deep-100);
  transition: transform var(--dur-base) var(--ease-out);
}
details[open] > summary .plus { transform: rotate(45deg); }

/* Guarantee terms — on the deep background */
.terms {
  max-width: 820px;
  margin: clamp(36px, 5vw, 56px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.terms > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 500;
  color: #fff;
}
.terms .plus {
  width: 28px;
  height: 28px;
  border-color: rgba(255, 255, 255, 0.3);
  font-size: 16px;
  color: #fff;
}
.terms__body { padding: 0 0 28px; max-width: 640px; }
.terms__body p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}
.terms__body p:last-child { margin: 0; }

/* ── Steps ─────────────────────────────────────────────────── */

.steps .h2 { margin: 0 0 clamp(28px, 4vw, 48px); max-width: 600px; }
.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.step {
  padding: clamp(24px, 3vw, 32px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.step__num {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--pa-aqua-100);
}
.step h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--fg-1); }
.step p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--fg-3); }
.step p.step__body--cta { margin-bottom: 20px; }

.steps__bonus {
  margin: clamp(20px, 3vw, 24px) 0 0;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px);
  background: var(--pa-mist-25);
  border-radius: var(--radius-md);
}
.steps__bonus p {
  margin: 0;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--pa-deep-100);
}
.steps__foot { margin: 20px 0 0; font-size: 14px; color: var(--fg-3); }

/* ── About ─────────────────────────────────────────────────── */

.about__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius-lg);
}
/* Beside the text, the portrait runs to the same height as the column next to
   it instead of floating at its own size in the middle. */
@media (min-width: 800px) {
  .about .split { align-items: stretch; }
  .about__img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 420px;
    object-position: center 25%;
  }
}
.about .body { margin-bottom: 24px; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 28px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats > div + div { padding-left: 14px; border-left: 1px solid var(--border); }
.stats__value {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--pa-deep-100);
}
.stats__label { margin: 6px 0 0; font-size: 12.5px; line-height: 1.35; color: var(--fg-3); }

.brochure {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--pa-off-white);
  transition: border-color var(--dur-base) var(--ease-out);
}
.brochure:hover { border-color: var(--pa-deep-100); color: var(--pa-deep-100); }
.brochure img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius-xs); }
.brochure__title { display: block; font-size: 15px; font-weight: 600; color: var(--fg-1); }
.brochure__meta { display: block; margin-top: 2px; font-size: 13.5px; color: var(--fg-3); }

/* ── Comparison ────────────────────────────────────────────── */

.compare__intro { max-width: 660px; margin: 0 0 14px; font-size: 16px; line-height: 1.65; color: var(--fg-2); }
.compare__intro:last-of-type { margin-bottom: clamp(28px, 4vw, 40px); }

.cmp { border-top: 1px solid var(--border); }
.cmp:last-of-type { border-bottom: 1px solid var(--border); }
.cmp > summary { padding: 20px 0; }
.cmp__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cmp__question { font-size: 16.5px; font-weight: 500; color: var(--pa-deep-100); }
.cmp__values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin: 14px 0 0;
}
.cmp__cell { padding: 12px 14px; border-radius: var(--radius-md); }
.cmp__cell--joep { background: var(--pa-aqua-25); }
.cmp__cell--rival { border: 1px solid var(--border); background: #fff; }
/* Missing data: quiet and dashed, never an error state */
.cmp__cell--absent { border: 1px dashed var(--border); background: transparent; }
.cmp__brand {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--fg-4);
}
.cmp__cell--joep .cmp__brand { color: var(--pa-deep-75); }
.cmp__value { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--fg-2); }
.cmp__cell--joep .cmp__value { color: var(--fg-1); }
.cmp__cell--absent .cmp__value { color: var(--fg-3); }

.cmp__body { padding: 6px 0 24px; max-width: 660px; }
.cmp__body p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.7; color: var(--fg-2); }
.cmp__body p:last-of-type { margin-bottom: 0; }
.cmp__body .source { margin-top: 12px; }

.compare__closing {
  margin: clamp(24px, 4vw, 32px) 0 0;
  max-width: 660px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--fg-2);
}
.compare__foot { margin: 24px 0 0; font-size: 13px; line-height: 1.6; color: var(--fg-3); }

/* ── FAQ ───────────────────────────────────────────────────── */

.faq .h2 { margin: 0 0 clamp(24px, 4vw, 40px); }
.faq__item { border-top: 1px solid var(--pa-deep-25); }
.faq__item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--pa-deep-100);
}
.faq__item .plus { border-color: var(--pa-deep-25); }
.faq__item p {
  margin: 0;
  padding: 0 0 22px;
  max-width: 660px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--fg-2);
}
.faq__first > .faq__item:last-child { border-bottom: 1px solid var(--pa-deep-25); }
.faq__rest > .faq__item { border-top: none; border-bottom: 1px solid var(--pa-deep-25); }
.faq__rest[hidden] { display: none; }

/* The comparison lives in the FAQ list but has to read as the one row worth
   opening — lifted out of the hairline rhythm into a card. */
.faq__item--feature {
  margin: 16px 0;
  padding: 0 clamp(16px, 3vw, 24px);
  border: 1px solid var(--pa-aqua-100);
  border-top: 1px solid var(--pa-aqua-100);
  border-radius: var(--radius-md);
  background: var(--pa-aqua-25);
}
.faq__item--feature > summary { font-weight: 600; }
.faq__item--feature .plus {
  border-color: var(--pa-aqua-100);
  background: #fff;
}
.faq__answer { padding: 0 0 22px; }
.faq__item--feature .faq__answer p { padding: 0 0 18px; }
.faq__item--feature .faq__answer .btn { background: #fff; }
.faq__item--feature .faq__answer .btn:hover { border-color: var(--pa-deep-100); }

/* ── Modal ─────────────────────────────────────────────────── */

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 40, 58, 0.55);
  animation: modal-fade var(--dur-base) var(--ease-out);
}

.modal__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 880px;
  max-height: 92vh;
  max-height: 92dvh;
  background: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-xl);
  animation: modal-rise var(--dur-slow) var(--ease-out);
}

/* Sheet from the bottom on phones, centred dialog once there is room */
@media (min-width: 700px) {
  .modal { align-items: center; padding: 24px; }
  .modal__dialog {
    max-height: 88vh;
    max-height: 88dvh;
    border-radius: var(--radius-lg);
  }
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-circle);
  background: rgba(255, 255, 255, 0.92);
  font-family: var(--font-sans);
  font-size: 26px;
  line-height: 1;
  color: var(--pa-deep-100);
  cursor: pointer;
  transition: border-color var(--dur-base) var(--ease-out);
}
.modal__close:hover { border-color: var(--pa-deep-100); }

.modal__body {
  /* Flex items default to min-height:auto, which would push the dialog past
     its max-height instead of letting this pane scroll. */
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: clamp(28px, 5vw, 48px);
  padding-top: clamp(48px, 6vw, 60px);
}
/* On white, the rival cell needs its own edge to stay a distinct column */
.modal__body .cmp__cell--rival { background: var(--pa-off-white); }

/* Locks the page behind an open modal without losing the x-axis clamp */
body.has-modal { overflow: hidden; }

@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modal-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* ── Closing CTA ───────────────────────────────────────────── */

.closing {
  position: relative;
  background-color: var(--pa-deep-100);
  background-image:
    linear-gradient(180deg, rgba(17, 40, 58, 0.92) 0%, rgba(17, 40, 58, 0.86) 100%),
    url('assets/slot-cta.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.closing__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 48px);
  text-align: center;
}
.closing__title {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}
.closing__lead { margin: 0 0 10px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.82); }
.closing__note {
  margin: 0 0 clamp(28px, 4vw, 40px);
  font-size: 15px;
  line-height: 1.6;
  color: var(--pa-mist-100);
}

/* ── Footer ────────────────────────────────────────────────── */

/* Bottom padding clears the sticky CTA bar */
.footer { background: var(--pa-ink-deep); padding: clamp(40px, 5vw, 64px) 0 96px; }
.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.footer__logo { height: 22px; width: auto; margin-bottom: 16px; }
.footer__payoff {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--pa-mist-100);
}
.footer__phone {
  display: inline-block;
  font-size: clamp(19px, 2.2vw, 22px);
  font-weight: 400;
  color: #fff;
}
.footer__phone:hover { color: var(--pa-aqua-100); }
.footer__meta { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.55); }

/* ── Sticky CTA bar ────────────────────────────────────────── */

.cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateY(102%);
  transition: transform var(--dur-slow) var(--ease-out);
}
.cta-bar[data-visible] { transform: none; }
.cta-bar__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px clamp(16px, 5vw, 48px) calc(12px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cta-bar__price { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.cta-bar__amount {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--pa-deep-100);
  white-space: nowrap;
}
.cta-bar__meta { font-size: 13px; color: var(--fg-3); white-space: nowrap; }
.cta-bar__actions { display: flex; align-items: center; gap: 10px; }
.cta-bar__actions .btn { min-height: 48px; padding: 13px 20px; font-size: 14px; white-space: nowrap; }
.cta-bar__actions .btn--primary { padding: 13px clamp(18px, 3vw, 28px); font-size: 14.5px; }

/* The WhatsApp button in the bar needs room the smallest screens don't have */
.cta-bar__wa { display: none; }
@media (min-width: 640px) {
  .cta-bar__wa { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
