/* Thank You page — page-thank-you.php */

.qa-ty {
  min-height: clamp(420px, 62vh, 620px);
  padding: 56px 24px 72px;
  background: #f3f3f3;
  display: grid;
  place-items: center;
}

.qa-ty-card {
  width: min(100%, 820px);
  text-align: center;
}

.qa-ty-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #007a3d;
  color: #ffffff;
  display: grid;
  place-items: center;
}

.qa-ty-icon svg {
  width: 28px;
  height: 28px;
}

.qa-ty-title {
  margin: 0;
  font-size: clamp(38px, 5.2vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
  color: #007a3d;
  font-weight: 700;
}

.qa-ty-text {
  margin: 8px auto 24px;
  max-width: 760px;
  font-size: clamp(19px, 2.15vw, 31px);
  line-height: 1.35;
  color: #0f1417;
  font-weight: 400;
}

.qa-ty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 248px;
  min-height: 68px;
  padding: 12px 30px;
  border-radius: 4px;
  background: #007a3d;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: clamp(29px, 3.15vw, 43px);
  line-height: 1;
  font-weight: 700;
  transition: background-color .2s ease;
}

.qa-ty-btn:hover,
.qa-ty-btn:focus-visible {
  background: #046434;
}

.qa-ty-btn:focus-visible {
  outline: 3px solid rgba(0, 122, 61, 0.35);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .qa-ty {
    min-height: 420px;
    padding: 48px 16px 56px;
  }

  .qa-ty-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 14px;
  }

  .qa-ty-title {
    font-size: clamp(34px, 10vw, 52px);
  }

  .qa-ty-text {
    font-size: clamp(18px, 5.7vw, 27px);
    margin-bottom: 20px;
  }

  .qa-ty-btn {
    min-width: 210px;
    min-height: 58px;
    font-size: clamp(24px, 6.9vw, 36px);
    padding-inline: 20px;
  }
}
