/* Call-to-action that replaced the Elementor lead forms when the site moved
   off Netlify. The buttons reuse .elementor-button so they pick up the site's
   own accent colour (#FFDC39 on #232323) rather than inventing a second look;
   only layout lives here. */

.ttodeck-cta {
  padding: 8px 0 4px;
}

.ttodeck-cta__lead {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.55;
}

/* Laid out with inline-block rather than flex so the buttons follow whatever
   text-align the surrounding Elementor section already sets. The CTA sits in a
   left-aligned column on the homepage and a centred one on /free-estimate.html;
   inheriting means neither needs a special case. */
.ttodeck-cta__actions {
  margin: -6px;
}

.ttodeck-cta--center {
  text-align: center;
}

.ttodeck-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin: 6px;
  padding: 14px 24px;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
}

/* Secondary channel: same shape, outlined, so the phone number stays dominant. */
.ttodeck-cta__button--alt {
  background-color: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 2px currentColor;
}

.ttodeck-cta__button--alt:hover,
.ttodeck-cta__button--alt:focus-visible {
  background-color: currentColor;
}

.ttodeck-cta__button--alt:hover .elementor-button-text,
.ttodeck-cta__button--alt:focus-visible .elementor-button-text {
  color: #fff;
  mix-blend-mode: difference;
}

@media (max-width: 480px) {
  .ttodeck-cta__button {
    display: flex;
    white-space: normal;
  }
}
