/* Fisar CTA — all section layout is local to this namespace.
   Primary .f27-cta fill and shared .f27-text-button label vocabulary are reused. */
.f27-cta-section {
  color: #292c2b;
  background: var(--f27-paper, #F9F9F6);
  border-bottom: 1px solid var(--f27-line, #DEDED7);
  font-family: "DM Sans", sans-serif;
}
.f27-cta-section *, .f27-cta-section *::before, .f27-cta-section *::after { box-sizing: border-box; }
.f27-cta-section__field {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(25rem, 39.5vw, 33rem);
  overflow: hidden;
  padding: clamp(5.5rem, 10vw, 9rem) var(--f27-inner, 1.05rem);
}
/* Static, tiny rounded grey squares also remain when JS/canvas is unavailable. */
.f27-cta-section__field::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8.713' height='8.713' viewBox='0 0 8.713 8.713'%3E%3Crect x='3.7065' y='3.7065' width='1.3' height='1.3' rx='.3' fill='%23C4C8C0'/%3E%3C/svg%3E") center;
}
.f27-cta-section__field.has-canvas::before { visibility: hidden; }
.f27-cta-section__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.f27-cta-section__content { position: relative; width: 100%; text-align: center; }
/* Three local halos soften tiles immediately behind copy, leaving the field exposed. */
.f27-cta-section__heading, .f27-cta-section__actions, .f27-cta-section__reassurance {
  position: relative;
  isolation: isolate;
  width: fit-content;
}
.f27-cta-section__heading::before, .f27-cta-section__actions::before, .f27-cta-section__reassurance::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -.65rem -1.5rem;
  pointer-events: none;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--f27-paper, #F9F9F6) 98%, transparent) 0%, color-mix(in srgb, var(--f27-paper, #F9F9F6) 90%, transparent) 38%, rgba(241, 241, 236, .5) 60%, rgba(241, 241, 236, 0) 78%);
}
.f27-cta-section__heading::before { inset: -.45em -.7em; }
.f27-cta-section__reassurance::before {
  inset: -1rem -2rem;
  background: radial-gradient(ellipse at center, var(--f27-paper, #F9F9F6) 0%, var(--f27-paper, #F9F9F6) 58%, color-mix(in srgb, var(--f27-paper, #F9F9F6) 96%, transparent) 70%, rgba(241, 241, 236, 0) 100%);
}
/* Opaque backing under the full line, with the larger halo fading into the field. */
.f27-cta-section__reassurance { background: var(--f27-paper, #F9F9F6); }
/* Extra specificity keeps the large centered statement above the shared h2 defaults. */
.f27-cta-section h2.f27-cta-section__heading {
  max-width: 100%;
  margin: 0 auto;
  color: #292c2b;
  font: 400 clamp(2.25rem, 4.35vw, 4rem)/1.12 "DM Sans", sans-serif;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.f27-cta-section__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin: 2rem auto 0; }
.f27-cta-section__button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Match the homepage hero text buttons without changing hero/nav rules. */
  min-width: 0;
  min-height: 2.75rem;
  overflow: hidden;
  padding: .7rem 1.3rem;
  border: 1px solid var(--f27-line, #DEDED7);
  border-radius: .25rem;
  color: #292c2b;
  background: var(--f27-paper, #F9F9F6);
  font: 400 .875rem/1.2 "DM Sans", sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.f27-cta-section__button--secondary { transition: background-color .4s ease, border-color .4s ease; }
.f27-cta-section__button--secondary:focus-visible { border-color: currentColor; }
.f27-cta-section__button--secondary:focus-visible .f27-cta__text { transform: translateY(-1.5em); }
.f27-cta-section__button--primary { background: #084834; background-clip: padding-box; color: var(--f27-paper, #F9F9F6); border-color: transparent; }
.f27-cta-section__button--primary:is(:hover, :focus-visible) { border-color: transparent; }
/* Scoped fallbacks let the standalone section use the same rising fill / text roll. */
.f27-cta-section .f27-cta::before { content: ""; position: absolute; z-index: 0; bottom: 0; left: -10%; width: 120%; height: 100%; background: #CEE07D; transform-origin: left top; transform: translate(0, 175%) rotate(15deg); transition: transform .525s cubic-bezier(.625,.05,0,1); }
.f27-cta-section .f27-cta-section__button--primary::before { bottom: -1px; height: calc(100% + 2px); }
.f27-cta-section .f27-cta__mask { position: relative; z-index: 1; display: block; overflow: hidden; height: 1.5em; line-height: 1.5; }
.f27-cta-section .f27-cta__text { position: relative; display: block; transition: transform .525s cubic-bezier(.625,.05,0,1); }
.f27-cta-section .f27-cta__duplicate { position: absolute; top: 1.5em; left: 0; width: 100%; color: #292c2b; }
.f27-cta-section .f27-cta:focus-visible::before { transform: translate(0, 0) rotate(0); }
.f27-cta-section .f27-cta:focus-visible .f27-cta__text { transform: translateY(-1.5em); }
.f27-cta-section a:focus-visible { outline: 2px solid #292c2b; outline-offset: 4px; }
.f27-cta-section__reassurance { margin: 1rem auto 0; color: #636966; font-size: .8125rem; line-height: 1.5; }
.f27-cta-section__trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--f27-line, #DEDED7); }
.f27-cta-section__trust-item { display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 6.5rem; padding: 1.4rem .75rem; font-size: .8125rem; line-height: 1.4; color: #636966; }
.f27-cta-section__trust-item + .f27-cta-section__trust-item { border-left: 1px solid var(--f27-line, #DEDED7); }
.f27-cta-section__trust-icon { display: block; width: 1.875rem; height: 1.875rem; flex: 0 0 auto; }
.f27-cta-section__trust-item--besa { text-align: center; }
.f27-cta-section__besa { display: block; width: 4.75rem; height: auto; flex: 0 0 auto; }
@media (hover: hover) and (pointer: fine) {
  .f27-cta-section__button--secondary:hover { border-color: currentColor; }
  .f27-cta-section__button--secondary:hover .f27-cta__text { transform: translateY(-1.5em); }
  .f27-cta-section .f27-cta:hover::before { transform: translate(0, 0) rotate(0); }
  .f27-cta-section .f27-cta:hover .f27-cta__text { transform: translateY(-1.5em); }
}
@media (max-width: 1279px) {
  .f27-cta-section__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f27-cta-section__trust-item:nth-child(odd) { border-left: 0; }
  .f27-cta-section__trust-item:nth-child(n + 3) { border-top: 1px solid var(--f27-line, #DEDED7); }
}
@media (max-width: 767px) {
  .f27-cta-section__field { min-height: 26rem; padding-block: 5.5rem; }
  .f27-cta-section h2.f27-cta-section__heading { max-width: 16ch; font-size: clamp(2.25rem, 6.5vw, 3.1rem); }
  .f27-cta-section__trust-item { flex-direction: column; gap: .65rem; min-height: 6.75rem; padding-inline: .4rem; font-size: .6875rem; }
  .f27-cta-section__besa { width: 4.75rem; }
}
@media (max-width: 479px) {
  .f27-cta-section__field { min-height: 25rem; padding-block: 5rem; }
  .f27-cta-section__actions { gap: .5rem; margin-top: 1.75rem; }
  .f27-cta-section__reassurance { max-width: 30ch; margin-inline: auto; font-size: .75rem; }
  .f27-cta-section__trust-icon { width: 1.65rem; height: 1.65rem; }
  .f27-cta-section__besa { width: 4.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  .f27-cta-section__button--secondary:is(:hover, :focus-visible) .f27-cta__text { transform: none; }
  .f27-cta-section__button--secondary, .f27-cta-section .f27-cta::before, .f27-cta-section .f27-cta__text { transition: none; }
}
