.exterior-estimate-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: var(--size-space-400);
  padding: var(--size-space-800) var(--size-space-400);
  background-color: var(--cvbg);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.16) 0,
    rgba(255, 255, 255, 0.16) 1px,
    transparent 1px,
    transparent 8px
  );
  box-sizing: border-box;
}

.exterior-estimate-cta__card {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  max-width: 800px;
  min-width: 0;
  gap: var(--size-space-800);
  padding: var(--size-space-1200) var(--size-space-1200) var(--size-space-1600);
  background-color: var(--basewhite);
  border-radius: var(--size-radius-400);
  box-sizing: border-box;
}

.exterior-estimate-cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  gap: 24px;
}

.exterior-estimate-cta__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.exterior-estimate-cta__heading-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  gap: 8px;
}

.exterior-estimate-cta__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  margin: -1px 0 0;
  color: var(--baseblack);
  font-family: var(--h-3-font-family);
  font-size: var(--h-3-font-size);
  font-style: var(--h-3-font-style);
  font-weight: var(--h-3-font-weight);
  letter-spacing: var(--h-3-letter-spacing);
  line-height: var(--h-3-line-height);
  text-align: center;
}

.exterior-estimate-cta__heading {
  width: min(691px, 100%);
  margin: -1px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--baseblack);
  font-family: "Zen Kaku Gothic New", Helvetica;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 2.2px;
  line-height: 61.6px;
  text-align: center;
}

.exterior-estimate-cta__heading::before,
.exterior-estimate-cta__heading::after {
  display: none;
  content: none;
}

.exterior-estimate-cta__heading-wrap--simple {
  width: 100%;
  gap: 0;
}

.exterior-estimate-cta__simple-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 140px;
  margin: 0;
  padding: 0;
  color: var(--baseblack);
  text-align: center;
  background: transparent;
  border: 0;
}

.exterior-estimate-cta__simple-heading::before,
.exterior-estimate-cta__simple-heading::after {
  display: none;
  content: none;
}

.exterior-estimate-cta__simple-line {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-family: var(--h-2-font-family);
  font-size: var(--h-2-font-size);
  font-style: var(--h-2-font-style);
  font-weight: var(--h-2-font-weight);
  line-height: var(--h-2-line-height);
  letter-spacing: var(--h-2-letter-spacing);
  white-space: nowrap;
}

.exterior-estimate-cta__simple-accent-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--size-space-150);
  max-width: 100%;
  margin-top: -4px;
}

.exterior-estimate-cta__simple-accent {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-family: var(--h-1-font-family);
  font-size: var(--h-1-font-size);
  font-style: var(--h-1-font-style);
  font-weight: var(--h-1-font-weight);
  line-height: var(--h-1-line-height);
  letter-spacing: var(--h-1-letter-spacing);
  white-space: nowrap;
}

.exterior-estimate-cta__simple-punctuation {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 63.87px;
  font-family: "Zen Kaku Gothic New", Helvetica;
  font-size: 74px;
  font-weight: 900;
  line-height: 88.8px;
  color: var(--themaprimary-700);
  text-align: center;
  letter-spacing: 7.4px;
  white-space: nowrap;
  transform: rotate(30deg);
}

.exterior-estimate-cta__sp-break {
  display: none;
}

.exterior-estimate-cta__accent-line {
  white-space: nowrap;
}

.exterior-estimate-cta__accent {
  position: relative;
  z-index: 1;
  display: inline-block;
  white-space: nowrap;
  isolation: isolate;
}

.exterior-estimate-cta__underline {
  position: absolute;
  left: 50%;
  bottom: -6px;
  z-index: -1;
  width: 267px;
  height: 30px;
  transform: translateX(-50%);
  pointer-events: none;
}

.exterior-estimate-cta__body {
  align-self: stretch;
  margin: 0;
  color: var(--baseblack);
  font-family: var(--body-1-font-family);
  font-size: var(--body-1-font-size);
  font-style: var(--body-1-font-style);
  font-weight: var(--body-1-font-weight);
  letter-spacing: var(--body-1-letter-spacing);
  line-height: var(--body-1-line-height);
  text-align: center;
}

.exterior-estimate-cta__body--mobile {
  display: none;
}

.exterior-estimate-cta__contacts {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  gap: var(--size-space-400);
}

.exterior-estimate-cta__contact {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  gap: var(--size-space-300);
  padding: var(--size-space-800) var(--size-space-800) var(--size-space-600);
  color: var(--basewhite);
  border-radius: var(--size-radius-400);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.exterior-estimate-cta__contact:hover {
  color: var(--basewhite);
  text-decoration: none;
  transform: translateY(-2px);
}

.exterior-estimate-cta__contact:focus-visible {
  outline: 3px solid var(--baseblack);
  outline-offset: 4px;
}

.exterior-estimate-cta__contact--phone {
  background-color: var(--thematertiary-700);
  box-shadow: 0 10px 0 #8ad8f3;
}

.exterior-estimate-cta__contact--mail {
  background-color: var(--themaprimary-700);
  box-shadow: 0 10px 0 #ffbd8a;
}

.exterior-estimate-cta__contact--line {
  background-color: var(--themaquaternary-700);
  box-shadow: 0 10px 0 #c8f0d7;
}

.exterior-estimate-cta__contact-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.exterior-estimate-cta__contact-lead {
  display: flex;
  align-items: center;
  width: fit-content;
  color: var(--basewhite);
  font-family: var(--body-1-font-family);
  font-size: var(--body-1-font-size);
  font-style: var(--body-1-font-style);
  font-weight: 700;
  letter-spacing: var(--body-1-letter-spacing);
  line-height: var(--body-1-line-height);
  white-space: nowrap;
}

.exterior-estimate-cta__contact-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: -1px;
  padding: var(--size-space-200) var(--size-space-400);
  background-color: var(--basewhite);
  border-radius: var(--size-radius-full);
  font-family: var(--subtitle-font-family);
  font-size: var(--subtitle-font-size);
  font-style: var(--subtitle-font-style);
  font-weight: var(--subtitle-font-weight);
  letter-spacing: var(--subtitle-letter-spacing);
  line-height: var(--subtitle-line-height);
  white-space: nowrap;
}

.exterior-estimate-cta__contact--phone .exterior-estimate-cta__contact-label {
  color: var(--thematertiary-700);
}

.exterior-estimate-cta__contact--mail .exterior-estimate-cta__contact-label {
  color: var(--themaprimary-700);
}

.exterior-estimate-cta__contact--line .exterior-estimate-cta__contact-label {
  color: var(--themaquaternary-700);
}

@media (max-width: 1024px) {
  .exterior-estimate-cta__card {
    padding: var(--size-space-1200) var(--size-space-800);
  }

  .exterior-estimate-cta__eyebrow {
    font-size: 30px;
    letter-spacing: 1.5px;
  }

  .exterior-estimate-cta__heading {
    font-size: 38px;
    letter-spacing: 1.9px;
    line-height: 1.4;
  }

  .exterior-estimate-cta__contacts {
    align-items: stretch;
  }

  .exterior-estimate-cta__contact {
    padding-left: var(--size-space-600);
    padding-right: var(--size-space-600);
  }

  .exterior-estimate-cta__contact-label {
    font-size: 20px;
  }
}

@media (max-width: 760px) {
  .exterior-estimate-cta {
    gap: 0;
    padding: 32px 24px;
    background-color: #ff6f00;
  }

  .exterior-estimate-cta__card {
    width: 100%;
    max-width: 800px;
    gap: 32px;
    padding: 24px 24px 32px;
    border-radius: 16px;
  }

  .exterior-estimate-cta__content {
    width: 294px;
    max-width: calc(100vw - 48px);
  }

  .exterior-estimate-cta__eyebrow {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.4;
  }

  .exterior-estimate-cta__heading {
    width: 100%;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.4;
  }

  .exterior-estimate-cta__sp-break {
    display: inline;
  }

  .exterior-estimate-cta__underline {
    width: 267px;
    bottom: -6px;
  }

  .exterior-estimate-cta__body {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.6;
  }

  .exterior-estimate-cta--simple .exterior-estimate-cta__heading-wrap {
    gap: 0;
  }

  .exterior-estimate-cta--simple .exterior-estimate-cta__simple-heading {
    height: auto;
    font-size: 30px;
    line-height: 1.4;
  }

  .exterior-estimate-cta--simple .exterior-estimate-cta__simple-line {
    font-size: 30px;
    letter-spacing: 1.5px;
    line-height: 1.4;
    white-space: normal;
  }

  .exterior-estimate-cta--simple .exterior-estimate-cta__simple-accent-line {
    gap: var(--size-space-100);
    margin-top: 0;
  }

  .exterior-estimate-cta--simple .exterior-estimate-cta__simple-accent {
    font-size: 30px;
    letter-spacing: 1.5px;
    line-height: 1.4;
  }

  .exterior-estimate-cta--simple .exterior-estimate-cta__simple-punctuation {
    width: 12px;
    height: 42px;
    font-size: 48px;
    letter-spacing: 0;
    line-height: 1;
  }

  .exterior-estimate-cta--simple .exterior-estimate-cta__body--mobile {
    display: block;
  }

  .exterior-estimate-cta--simple .exterior-estimate-cta__body:not(.exterior-estimate-cta__body--mobile) {
    display: none;
  }

  .exterior-estimate-cta__contacts {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .exterior-estimate-cta__contact {
    display: grid;
    grid-template-columns: 24px max-content;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 8px;
    padding: 16px 24px;
    border-radius: 16px;
  }

  .exterior-estimate-cta__contact-icon {
    width: 24px;
    height: 24px;
  }

  .exterior-estimate-cta__contact-lead {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.6;
  }

  .exterior-estimate-cta__contact-label {
    grid-column: 1 / -1;
    justify-self: center;
    padding: 8px 16px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.4;
  }
}
