/* 2.0.20: remove space reserved for retired photographs and keep the page
   canvas continuous behind the mobile action dock and the bottom safe area. */
html:has(body.bs-renew-body),
body.bs-renew-body {
  background: #f5f1ed !important;
}

.bs-site {
  --bs-cream: #f5f1ed;
  padding-bottom: 0;
}

/* These forms have no background photograph: the old 270px mobile allowance
   and section margins must not remain after that image has been removed. */
.bs-site[data-page] .bs-form-section.bs-form-final-clean {
  min-height: 0;
  margin-block: 0;
  padding: 64px 24px;
  background: var(--bs-cream);
}

.bs-site[data-page] .bs-form-final-clean > .bs-wrap {
  padding: 0;
  margin-inline: auto;
}

.bs-site[data-page] .bs-form-final-clean .bs-form-card {
  margin: 0;
}

.bs-site .bs-footer {
  margin: 0;
  padding-bottom: 32px;
  background: var(--bs-cream);
}

.bs-site .bs-footer-bottom {
  margin-bottom: 0;
}

/* The older offer link centered the whole double-width animated track.
   Start it at the left edge so its two copies cover the complete cycle. */
.bs-site .bs-offer-strip .bs-offer-marquee {
  justify-content: flex-start;
  padding-inline: 0;
}

@media (max-width: 767px) {
  .bs-site[data-page] .bs-form-section.bs-form-final-clean {
    padding: 32px 20px 40px;
  }

  .bs-site .bs-footer {
    /* 84px dock + 18px bottom inset + 16px breathing space. */
    padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px));
  }

  .bs-site .bs-footer-bottom {
    margin-top: 28px;
    gap: 14px;
  }

  /* Hide the fixed dock while any form control is being used, including
     native select menus: it must never sit over the active question. */
  .bs-site:has(.bs-form :is(input, select, textarea):focus) .bs-sticky {
    visibility: hidden;
  }
}
/* Keep both women fully visible in the centered consultation photograph. */
.bs-site[data-page] .bs-process img[src*="acompanamiento-centrado"]{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;object-position:center}
