/* CTA Band — full-bleed image, dark overlay, centred copy and a button.
   Colours, spacing and typography come from Style-tab controls.

   The button itself is styled by the sitewide `.tfw-btn` system
   (site-mu-plugins/tfw-buttons.css, loaded as a mu-plugin) — this widget only
   picks a variant via the Button controls and owns the placeholder state.

   To run edge to edge, set the parent Elementor container to full width;
   the widget fills whatever box it is given. */

.cta-27580 {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}

.cta-27580--standard,
.cta-27580--form,
.cta-27580:not(.cta-27580--split) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-27580 .cta-27580__bg,
.cta-27580 .cta-27580__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-27580 .cta-27580__bg {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -2;
}

/* Its own layer rather than a blend on the image, so colour and alpha stay
   independent of the photograph. */
.cta-27580 .cta-27580__overlay {
  z-index: -1;
  /* background-color: rgba(49, 62, 72, 0.9); */
  background-color: rgba(22, 26, 28, 0.86);
  mix-blend-mode: multiply;
}

.cta-27580 .cta-27580__content {
  position: relative;
  width: 100%;
  max-width: 1080px;
  padding: 80px 32px;
  text-align: center;
  /* Column flex so the width-constrained body follows the alignment control
	   instead of always sitting flush left. */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-27580 .cta-27580__heading {
  margin: 0 0 28px;
  color: var(--tw-color-white, #FFFFFF);
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
  text-transform: uppercase;
}

.cta-27580 .cta-27580__body {
  max-width: 860px;
  margin: 0 0 44px;
  color: var(--tw-color-white, #FFFFFF);
  width: 100%;
  font-weight: 600;
}

.cta-27580 .cta-27580__body > *:first-child {
  margin-top: 0;
}
.cta-27580 .cta-27580__body > *:last-child {
  margin-bottom: 0;
}
.cta-27580 .cta-27580__buttons { display:flex; width:100%; gap:44px; justify-content:center; }
.cta-27580 .cta-27580__buttons .cta-27580__button { flex:1 1 0; max-width:37rem; justify-content:center; text-align:center; }
@media (max-width:767px) { .cta-27580 .cta-27580__buttons { flex-direction:column; gap:16px; align-items:center; } .cta-27580 .cta-27580__buttons .cta-27580__button { width:100%; } }

/* Quote Form Variation: heading over a white bar holding a text field and a
   red outline button. The button is the light (not on-dark) danger variant
   because it sits on the white bar, not on the photo. */
.cta-27580 .cta-27580__form {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 710px;
  min-height: 72px;
  margin: 0 auto;
  padding: 8px;
  background-color: var(--tw-color-white, #FFFFFF);
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.cta-27580 .cta-27580__form .cta-27580__field {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #161a1c;
  font-family: inherit;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.3;
}

.cta-27580 .cta-27580__form .cta-27580__field::placeholder {
  color: #6b6f73;
  opacity: 1;
}

.cta-27580 .cta-27580__form .cta-27580__field:focus {
  outline: none;
}

.cta-27580 .cta-27580__form:focus-within {
  box-shadow: 0 0 0 3px rgba(18, 140, 205, 0.55), 0 10px 30px rgba(0, 0, 0, 0.18);
}

.cta-27580 .cta-27580__form .cta-27580__form-button {
  flex: 0 0 auto;
  --tfw-btn-font-size: clamp(0.875rem, 1.1vw, 1rem);
  --tfw-btn-pad-y: 12px;
  --tfw-btn-pad-x: 20px;
  white-space: nowrap;
}

.cta-27580 .cta-27580__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  .cta-27580 .cta-27580__form {
    flex-direction: column;
  }

  .cta-27580 .cta-27580__form .cta-27580__field {
    padding: 14px 12px;
    text-align: center;
  }

  .cta-27580 .cta-27580__form .cta-27580__form-button {
    white-space: normal;
  }
}

/* Split Variation: Two-Column Split (Context + CTA) */
.cta-27580.cta-27580--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 520px;
}

.cta-27580 .cta-27580__split-left {
  position: relative;
  background-color: #F4F5F7;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 80px 64px;
  box-sizing: border-box;
}

.cta-27580 .cta-27580__split-left-inner {
  width: 100%;
  max-width: 580px;
}

.cta-27580 .cta-27580__split-left-heading {
  margin: 0 0 24px;
  color: #161A1C;
  font-family: inherit;
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  line-height: 1.15;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.cta-27580 .cta-27580__split-left-body {
  color: #2D3748;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
}

.cta-27580 .cta-27580__split-left-body > *:first-child {
  margin-top: 0;
}

.cta-27580 .cta-27580__split-left-body > *:last-child {
  margin-bottom: 0;
}

.cta-27580 .cta-27580__split-left-body p {
  margin: 0 0 1.25em;
}

.cta-27580 .cta-27580__split-left-body p:last-child {
  margin-bottom: 0;
}

.cta-27580 .cta-27580__split-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  isolation: isolate;
  padding: 80px 64px;
  box-sizing: border-box;
}

.cta-27580 .cta-27580__split-right-content {
  position: relative;
  width: 100%;
  max-width: 580px;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cta-27580.cta-27580--split .cta-27580__heading {
  margin: 0 0 24px;
  text-align: left;
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  line-height: 1.15;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--tw-color-white, #FFFFFF);
}

.cta-27580.cta-27580--split .cta-27580__body {
  margin: 0 0 32px;
  text-align: left;
  max-width: 100%;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--tw-color-white, #FFFFFF);
}

.cta-27580.cta-27580--split .cta-27580__btn-wrapper {
  display: flex;
  width: 100%;
  justify-content: flex-start;
}

.cta-27580.cta-27580--split .cta-27580__button {
  display: inline-block;
  text-align: center;
}

/* Placeholder state while no link is set — .tfw-btn.is-disabled already drops
   pointer events and dims it; this only relaxes the cursor. */
.cta-27580 .tfw-btn.is-disabled {
  cursor: default;
}

@media (max-width: 1024px) {
  .cta-27580 .cta-27580__split-left,
  .cta-27580 .cta-27580__split-right {
    padding: 60px 40px;
  }
}

@media (max-width: 767px) {
  .cta-27580 {
    min-height: 0;
  }

  .cta-27580 .cta-27580__content {
    padding: 56px 20px;
  }

  .cta-27580.cta-27580--split {
    grid-template-columns: 1fr;
  }

  .cta-27580 .cta-27580__split-left,
  .cta-27580 .cta-27580__split-right {
    padding: 48px 24px;
    justify-content: center;
  }

  .cta-27580 .cta-27580__split-left-inner,
  .cta-27580 .cta-27580__split-right-content {
    max-width: 100%;
  }
}
