.tc-w-cta {
  position: relative;
  overflow: visible;
  background: #f44349;
}

/* about.html Closing CTA — fixed height; form slides over panel (0.8s). */
.tc-w-cta__shell {
  position: relative;
  height: var(--tc-cta-height, 708px);
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}

.tc-w-cta.is-open {
  background: var(--tangerine-charcoal, #262626);
}

.tc-w-cta__panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 96px max(48px, calc((100% - 1440px) / 2 + 162px));
  text-align: center;
  box-sizing: border-box;
}

.tc-w-cta__mobr {
  display: none;
}

.tc-w-cta__title {
  margin: 0 auto;
  max-width: 1128px;
  width: 100%;
  color: #262626;
  font-size: clamp(40px, 4.44vw, 64px);
  line-height: 0.9;
  text-transform: uppercase;
  text-align: center;
  font-weight: 400;
}

.tc-w-cta__desc {
  margin: 0 auto;
  max-width: 720px;
  width: 100%;
  color: #262626;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
}

/* Get in touch — on red: hover → charcoal (preview-button.on-red / pill-red).
   Normal state stays below Elementor's Style → Button selectors; the hover rule outranks
   Style → Button (normal) but not Style → Button → Hover. */
.tc-w-cta .tc-w-cta__open {
  background: transparent;
  color: #262626;
  border: 1px solid #262626;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 15px;
  line-height: 21px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transform-origin: center;
  transition:
    transform 180ms ease-out,
    background 180ms,
    color 180ms,
    border-color 180ms;
}

.tc-w.tc-w-cta :is(a, button).tc-w-cta__open:is(:hover, :focus-visible) {
  transform: scale(1.05);
  background: #262626;
  color: #fff9f5;
  border-color: #262626;
}

.tc-w-cta__form {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 5;
  box-sizing: border-box;
  margin: 0;
  /* padding: 48px max(48px, calc((100% - 1440px) / 2 + 48px)); */
  overflow-y: auto;
  background: #262626;
  color: #fff9f5;
  transform: translateY(100%);
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.8s cubic-bezier(0.45, 0, 0.55, 1),
    visibility 0s 0.8s;
}

.tc-w-cta__form::after {
  content: "";
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 0;
  height: var(--tc-cta-form-line-size, 1px);
  background: var(--tc-cta-form-line, #fff9f5);
  pointer-events: none;
}

/* Content → "Hide footer while the form is open" (phone): the form is the last thing on the page. */
@media (max-width: 767px) {
  body.tc-cta-open .tc-w-footer {
    display: none;
  }
}

.tc-w-cta.is-open .tc-w-cta__form {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition:
    transform 0.8s cubic-bezier(0.45, 0, 0.55, 1),
    visibility 0s;
}

.tc-w-cta__close {
  position: absolute;
  top: 20px;
  right: max(48px, calc((100% - 1440px) / 2 + 48px));
  z-index: 2;
  width: 44px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff9f5;
  cursor: pointer;
}

.tc-w-cta__close > svg.tc-w-cta__close-icon {
  display: block;
  width: 22px;
  height: 14px;
}

/* Desktop shows the chevron; the "CLOSE ×" text label takes over at ≤900px. */
.tc-w-cta__close-text {
  display: none;
  white-space: nowrap;
  text-transform: uppercase;
}

.tc-w-cta__fields {
  width: min(888px, 100%);
  margin: 24px auto 0;
  padding-top: 16px;
  text-align: left;
}

.tc-w-cta__field {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  width: 100%;
  min-height: 72px;
  padding: 20px 0 8px;
  border-bottom: var(--tc-cta-line-size, 1px) solid var(--tc-cta-line, var(--tangerine-cream, #fff9f5));
}

.tc-w-cta__field span {
  flex: none;
  width: var(--tc-col, 90px);
}

.tc-w-cta__field input,
.tc-w-cta__field textarea {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0;
  outline: none;
  resize: none;
  background: transparent;
  color: #fff9f5;
}

.tc-w-cta__field--message {
  min-height: 140px;
  align-items: flex-start;
}

.tc-w-cta__privacy {
  margin: 40px 0 0;
  text-align: right;
}

.elementor-widget-tc-contact-cta a.tc-w-cta__privacy-link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tc-w-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  padding-top: 16px;
}

.tc-w-cta .tc-form__notice {
  margin: 16px 0 0;
  text-align: right;
}

/* Form buttons on charcoal — hover → red (preview-button) */
.tc-w-cta .tc-w-cta__form-btn {
  background: transparent;
  color: #fff9f5;
  border: 1px solid #fff9f5;
  border-radius: 999px;
  padding: 6px 16px;
  cursor: pointer;
  transform-origin: center;
  transition:
    transform 180ms ease-out,
    background 180ms,
    color 180ms,
    border-color 180ms;
}

.tc-w.tc-w-cta :is(button, span).tc-w-cta__form-btn:is(:hover, :focus-visible),
.tc-w.tc-w-cta button.tc-w-cta__form-btn.tc-w-cta__submit:is(:hover, :focus-visible) {
  transform: scale(1.05);
  background: #f44349;
  color: #262626;
  border-color: #f44349;
}

.tc-w-cta__form-btn.is-agreed {
  background: var(--tangerine-cream, #fff9f5);
  color: var(--tangerine-charcoal, #262626);
  border-color: var(--tangerine-cream, #fff9f5);
}

/* Embedded Elementor form (Form → Elementor form). The --themed variant mirrors the theme rows above;
   !important only where Elementor's own form, container and kit CSS would otherwise win. */
.tc-w-cta__embed-empty {
  padding: 24px;
  border: 1px dashed currentColor;
  text-align: center;
  opacity: 0.7;
}

.tc-w-cta__embed--themed :is(.e-con, .e-con-inner) {
  --padding-top: 0 !important;
  --padding-right: 0 !important;
  --padding-bottom: 0 !important;
  --padding-left: 0 !important;
  --gap: 0px !important;
  --row-gap: 0px !important;
  --column-gap: 0px !important;
}

.tc-w-cta__embed--themed .elementor-element-populated,
.tc-w-cta__embed--themed .elementor-widget-form > .elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
}

.tc-w-cta__embed--themed .elementor-form-fields-wrapper {
  margin: 0 !important;
}

.tc-w-cta__embed--themed .elementor-field-group {
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.tc-w-cta__embed--themed .elementor-field-group:not(.elementor-field-type-submit, .elementor-field-type-acceptance, .elementor-field-type-html, .elementor-field-type-hidden, .elementor-field-type-step) {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  align-items: flex-end;
  min-height: 72px;
  padding-top: 20px !important;
  padding-bottom: 8px !important;
  border-bottom: var(--tc-cta-line-size, 1px) solid var(--tc-cta-line, var(--tangerine-cream, #fff9f5));
}

.tc-w-cta__embed--themed .elementor-field-group > .elementor-field-label {
  flex: none;
  width: var(--tc-col, 90px);
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: 15px;
  line-height: 21px;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: #fff9f5;
}

.tc-w-cta__embed--themed .elementor-field-group .elementor-field,
.tc-w-cta__embed--themed .elementor-field-group .elementor-select-wrapper select {
  flex: 1;
  width: auto;
  min-width: 0;
  min-height: 0;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  outline: none;
  box-shadow: none !important;
  resize: none;
  background: transparent !important;
  color: #fff9f5;
  font-family: inherit;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.tc-w-cta__embed--themed .elementor-field-group .elementor-select-wrapper {
  flex: 1;
  min-width: 0;
}

.tc-w-cta__embed--themed .elementor-field-group .elementor-select-wrapper::before {
  color: inherit;
}

.tc-w-cta__embed--themed .elementor-field-group .elementor-field::placeholder {
  color: inherit;
  opacity: 0.5;
}

.tc-w-cta__embed--themed .elementor-field-type-textarea {
  min-height: 140px;
  align-items: flex-start !important;
}

/* HTML field = the privacy line. */
.tc-w-cta__embed--themed .elementor-field-type-html {
  margin-top: 40px !important;
  text-align: right;
  color: #fff9f5;
  font-size: 12px;
  line-height: 18px;
}

.tc-w-cta__embed--themed .elementor-field-type-html p {
  margin: 0;
}

.tc-w-cta__embed--themed .elementor-field-type-html a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Acceptance + Submit share the last row, right-aligned; Acceptance becomes the consent pill. */
.tc-w-cta__embed--themed .elementor-field-type-acceptance,
.tc-w-cta__embed--themed .elementor-field-type-submit {
  display: flex;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 100%;
  padding-top: 16px !important;
}

.tc-w-cta__embed--themed .elementor-field-type-acceptance {
  margin-left: auto !important;
}

.tc-w-cta__embed--themed .elementor-field-type-submit {
  justify-content: flex-end !important;
  gap: 16px;
  margin-left: auto !important;
}

.tc-w-cta__embed--themed .elementor-field-type-acceptance + .elementor-field-type-submit {
  margin-left: 16px !important;
}

.tc-w-cta__embed--themed .elementor-field-type-acceptance > .elementor-field-label {
  display: none;
}

.tc-w-cta__embed--themed .elementor-field-type-acceptance .elementor-field-subgroup,
.tc-w-cta__embed--themed .elementor-field-type-acceptance .elementor-field-option {
  display: inline-flex;
  position: relative;
  margin: 0;
  padding: 0;
}

.tc-w-cta__embed--themed .elementor-field-type-acceptance .elementor-field-option input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  opacity: 0;
  pointer-events: none;
}

.tc-w-cta__embed--themed .elementor-field-group .elementor-button,
.tc-w-cta__embed--themed .elementor-field-type-acceptance .elementor-field-option label {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  text-transform: uppercase;
}

.tc-w-cta__embed--themed .elementor-field-type-acceptance input:checked + label {
  background: var(--tangerine-cream, #fff9f5);
  color: var(--tangerine-charcoal, #262626);
  border-color: var(--tangerine-cream, #fff9f5);
}

.tc-w-cta__embed--themed .elementor-field-type-acceptance input:checked + label::after {
  content: "\2713";
  margin-left: 8px;
}

.tc-w-cta__embed--themed .elementor-field-type-acceptance input:focus-visible + label {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.tc-w-cta__embed--themed .elementor-field-group .elementor-button,
.tc-w-cta__embed--themed .elementor-field-type-acceptance .elementor-field-option label {
  flex-basis: auto !important;
  width: auto;
  min-height: 0;
  background: transparent;
  color: #fff9f5;
  border: 1px solid #fff9f5;
  border-radius: 999px;
  padding: 6px 16px;
  cursor: pointer;
  transform-origin: center;
  transition:
    transform 180ms ease-out,
    background 180ms,
    color 180ms,
    border-color 180ms;
}

.tc-w-cta__embed--themed .elementor-field-group .elementor-button:is(:hover, :focus-visible),
.tc-w-cta__embed--themed .elementor-field-type-acceptance .elementor-field-option label:hover {
  transform: scale(1.05);
  background: #f44349;
  color: #262626;
  border-color: #f44349;
}

.tc-w-cta__embed--themed .elementor-message {
  margin: 16px 0 0;
  color: #fff9f5;
  text-align: right;
}

.tc-w-cta__embed--themed .elementor-message::before {
  display: none;
}

@media (max-width: 900px) {
  .tc-w-cta__embed--themed .elementor-field-group:not(.elementor-field-type-submit, .elementor-field-type-acceptance, .elementor-field-type-html, .elementor-field-type-hidden, .elementor-field-type-step) {
    gap: 16px;
    min-height: 64px;
  }

  .tc-w-cta__embed--themed .elementor-field-group > .elementor-field-label { width: 92px; }

  .tc-w-cta__embed--themed .elementor-field-group .elementor-field { font-size: 24px; }
}

@media (max-width: 600px) {
  .tc-w-cta__embed--themed .elementor-field-group:not(.elementor-field-type-submit, .elementor-field-type-acceptance, .elementor-field-type-html, .elementor-field-type-hidden, .elementor-field-type-step) {
    min-height: 0;
    padding-top: 40px !important;
  }

  .tc-w-cta__embed--themed .elementor-field-type-textarea { align-items: flex-end !important; }

  .tc-w-cta__embed--themed textarea.elementor-field { height: 1.4em; }

  .tc-w-cta__embed--themed .elementor-field-group > .elementor-field-label { width: 90px; font-size: 14px; }

  .tc-w-cta__embed--themed .elementor-field-group .elementor-field { font-size: 15px; }

  .tc-w-cta__embed--themed .elementor-field-type-html {
    margin-top: 24px !important;
    text-align: left;
    font-size: 15px;
    line-height: 21px;
  }

  .tc-w-cta__embed--themed :is(.elementor-field-type-acceptance, .elementor-field-type-submit) {
    margin-left: 0 !important;
    padding-top: 24px !important;
  }

  .tc-w-cta__embed--themed .elementor-field-type-acceptance + .elementor-field-type-submit { margin-left: 12px !important; }

  .tc-w-cta__embed--themed .elementor-field-type-submit { justify-content: flex-start !important; }

  .tc-w-cta__embed--themed .elementor-message { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .tc-w-cta__embed--themed .elementor-button { transition: none; }

  .tc-w-cta__embed--themed .elementor-button:is(:hover, :focus-visible) { transform: none; }
}

@media (max-width: 900px) {
  .tc-w-cta__panel,
  .tc-w-cta__form {
    padding-left: 24px;
    padding-right: 24px;
  }

  .tc-w-cta__close {
    right: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tc-w-cta__open,
  .tc-w-cta__form-btn {
    transition: none;
  }

  .tc-w-cta__open:is(:hover, :focus-visible),
  .tc-w-cta__form-btn:is(:hover, :focus-visible) {
    transform: none;
  }

  .tc-w-cta__form,
  .tc-w-cta.is-open .tc-w-cta__form {
    transition: none;
  }
}


/* Tablet and mobile layouts for this widget. */
@media (max-width: 900px) {

  .tc-w-cta__shell { height: auto; }

  .tc-w-cta__panel {
    position: relative;
    inset: auto;
    padding: 48px var(--tc-margin);
    gap: 24px;
  }

  .tc-w-cta__title { line-height: .9; }

  .tc-w-cta__form { padding: 64px var(--tc-margin) 32px; }

  /* Open: the form joins the page flow and the section grows to fit it — no fixed-height
     inner scroll box, so the whole form reads like the rest of the page. The CTA panel is
     lifted out of flow underneath and reappears as the form slides away on close. */
  .tc-w-cta.is-open .tc-w-cta__form {
    position: relative;
    inset: auto;
    flex: 1 0 auto;
    overflow: visible;
  }

  /* Open form fills the section's min height, so no red strip shows under it. */
  .tc-w-cta.is-open,
  .tc-w-cta.is-open .tc-w-cta__shell {
    display: flex;
    flex-direction: column;
  }

  .tc-w-cta.is-open .tc-w-cta__shell { flex: 1 0 auto; }

  .tc-w-cta__form::after { display: none; }

  .tc-w-cta.is-open .tc-w-cta__panel {
    position: absolute;
    inset: 0 0 auto;
    visibility: hidden;
  }

  .tc-w-cta__close {
    top: 20px;
    right: var(--tc-margin);
    width: auto;
    height: 32px;
  }

  .tc-w-cta__close:has(.tc-w-cta__close-text) > svg,
  .tc-w-cta__close:has(.tc-w-cta__close-text) .tc-btn-icon { display: none; }

  .tc-w-cta__close-text { display: inline; }

  .tc-w-cta__fields { margin-top: 0; padding-top: 0; }

  .tc-w-cta__field { gap: 16px; min-height: 64px; }

  .tc-w-cta__field span { width: 92px; }
}
@media (max-width: 600px) {

  .tc-w-cta__panel { padding: 36px 20px; gap: 16px; }

  .tc-w-cta__title { line-height: .95; }

  .tc-w-cta__form { padding: 112px 20px 48px; }

  .tc-w-cta__close { right: 20px; }

  /* Phone rows match the design: 90px label column, one-line inputs, keyline under each row. */
  .tc-w-cta__field { min-height: 0; gap: 16px; padding: 40px 0 8px; align-items: flex-end; }

  .tc-w-cta__field--message { min-height: 0; align-items: flex-end; }

  .tc-w-cta__field textarea { height: 1.4em; }

  .tc-w-cta__field span { width: 90px; }

  .tc-w-cta__privacy { margin-top: 24px; text-align: left; }

  .tc-w-cta__actions { justify-content: flex-start; gap: 12px; padding-top: 24px; }

  .tc-w-cta .tc-form__notice { text-align: left; }
}

@media (min-width: 1025px) {
  .tc-w-cta__open.tc-cta-icon-hide-d .tc-btn-icon {
    display: none;
  }
}

@media (max-width: 767px) {
  .tc-w-cta__open.tc-cta-icon-hide-m .tc-btn-icon {
    display: none;
  }
}
