/* =========================================================
   PRE-FOOTER BOOKING — two connected cards (image + green CTA)
   Replaces the old dark .cta.on-dark form section.
   ========================================================= */
.pfb { background: var(--paper); }

.pfb__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 1fr);
  gap: 12px;
  width: var(--shell);
  margin-inline: auto;
  align-items: stretch;
}

.pfb__card {
  position: relative;
  min-height: 0;
  height: 100%;
  border-radius: clamp(20px, 1.9vw, 26px);
  overflow: hidden;
}

/* ---- left image card ---- */
.pfb__card--img { background: #0A0C0E; isolation: isolate; }
.pfb__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
  transition: transform 1s var(--ease);
}
.pfb__card--img.visible .pfb__img { transform: scale(1); }

/* ---- right CTA card (brand green) — defines the shared height ---- */
.pfb__cta {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: clamp(1.6rem, 3vw, 2.6rem);
  min-height: 408px;
  padding: clamp(38px, 4.2vw, 56px) clamp(32px, 4.4vw, 62px);
  background: linear-gradient(158deg, #37991f 0%, #2a7d1a 100%);
  color: #fff;
}
.pfb__cta-top { align-self: start; }
.pfb__headline {
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 3.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 16ch;
}
.pfb__sub {
  margin-top: 1rem;
  font-size: clamp(1rem, 1.05vw, 1.12rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, .9);
  max-width: 44ch;
}

/* ---- lower row: trust (left) + book CTA (right) ---- */
.pfb__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.pfb__trust { display: flex; align-items: center; gap: .9rem; }
.pfb__avatars { display: flex; }
.pfb__avatars img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(246, 243, 238, .95);
  margin-left: -12px;
  background: #cbd3cb;
}
.pfb__avatars img:first-child { margin-left: 0; }
.pfb__trust-txt { display: grid; gap: .12rem; line-height: 1.25; }
.pfb__trust-txt b { font-size: .92rem; font-weight: 600; color: #fff; }
.pfb__glink {
  font-size: .85rem;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
}
.pfb__glink:hover { color: #fff; text-decoration: underline; }

.pfb__book {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 56px;
  padding: 0 clamp(1.6rem, 2vw, 2.3rem);
  border-radius: 999px;
  background: var(--paper);
  color: #215e16;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.pfb__book .arr { transition: transform .35s var(--ease); }

/* focus */
.pfb__book:focus-visible,
.pfb__glink:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* ---- hover (fine pointers only) ---- */
@media (hover: hover) and (pointer: fine) {
  .pfb__card--img:hover .pfb__img { transform: scale(1.025); }
  .pfb__book:hover { background: #fff; color: #1c4f12; }
  .pfb__book:hover .arr { transform: translate(3px, -3px); }
}

/* =========================================================
   Responsive
   ========================================================= */
/* tablet / portrait — stack the two cards */
@media (max-width: 860px) {
  .pfb__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    width: min(680px, calc(100vw - 32px));
  }
  .pfb__card--img { height: clamp(280px, 42vw, 360px); }
  .pfb__cta { min-height: 440px; }
}

/* mobile */
@media (max-width: 600px) {
  .pfb__grid { width: calc(100vw - 32px); gap: 12px; }
  .pfb__card--img {
    height: clamp(240px, 62vw, 320px);
    border-radius: clamp(18px, 5vw, 22px);
  }
  .pfb__img { object-position: center 28%; }
  .pfb__cta {
    min-height: 0;
    grid-template-rows: auto auto;
    gap: 1.9rem;
    padding: clamp(24px, 7vw, 30px);
    border-radius: clamp(18px, 5vw, 22px);
  }
  .pfb__headline { font-size: clamp(1.9rem, 8.5vw, 2.6rem); max-width: none; }
  .pfb__foot { flex-direction: column; align-items: stretch; gap: 1.4rem; }
  .pfb__book { width: 100%; justify-content: center; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pfb__img,
  .pfb__book,
  .pfb__book .arr { transition: none; }
  .pfb__card--img .pfb__img { transform: none; }
}
