/* Variant D — Thank You screen
   Desktop ref: Figma 134:1320 */

/* ─── Stage wrapper ─────────────────────────────────────────────────────── */
.variant-shell-d.ty-active {
  position: relative;
}

.variant-shell-d.ty-active .variant-card {
  max-width: 835px;
  border-radius: 60px;
  background: #00534c;
  border: none;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.28);
}

/* Card body padding on TY */
.variant-shell-d.ty-active .variant-card-body-d {
  padding: 40px 50px;
  display: block;
}

/* ─── Decorative glow ────────────────────────────────────────────────────── */
.variant-d-ty-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.variant-d-ty-glow::before,
.variant-d-ty-glow::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
}

/* Tight lower halo */
.variant-d-ty-glow::before {
  bottom: 80px;
  width: 793px;
  height: 95px;
  background: #8e9a8c;
  opacity: 0.5;
  filter: blur(73px);
}

/* Larger soft halo */
.variant-d-ty-glow::after {
  bottom: 140px;
  width: 793px;
  height: 218px;
  background: #758c70;
  opacity: 0.3;
  filter: blur(38px);
}

/* Keep progress bar + card above glow */
.variant-shell-d.ty-active .variant-progress-wrap-dash,
.variant-shell-d.ty-active .variant-card {
  position: relative;
  z-index: 1;
}

/* Progress bar width matches card */
.variant-shell-d.ty-active .variant-progress-wrap-dash {
  max-width: 835px;
  margin-bottom: 32px;
}

/* ─── Main TY content wrapper ────────────────────────────────────────────── */
.variant-d-ty {
  display: flex;
  flex-direction: column;
  gap: 42px;
  align-items: center;
  text-align: center;
  width: 100%;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ─── Header: title + subtitle ───────────────────────────────────────────── */
.variant-d-ty-header {
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: center;
  width: 100%;
}

.variant-d-ty-title {
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.036;
  letter-spacing: -0.0173em;
  color: #e1f0d3;
}

.variant-d-ty-body {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #ededed;
}

/* ─── CTA: call prompt + phone button ───────────────────────────────────── */
.variant-d-ty-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.variant-d-ty-cta-label {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: #e1f0d3;
  white-space: nowrap;
}

.variant-d-ty-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 351px;
  padding: 22px;
  background: #ffffff;
  border-radius: 21px;
  color: #00534c;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.variant-d-ty-phone-btn:hover,
.variant-d-ty-phone-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  outline: none;
}

.variant-d-ty-phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: #00534c;
  border-radius: 50%;
  box-shadow: 0 3.2px 7.7px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.variant-d-ty-phone-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.variant-d-ty-phone-num {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #00534c;
}

/* ─── Expect section ─────────────────────────────────────────────────────── */
.variant-d-ty-expect {
  width: 100%;
  border-top: 1px solid #e1f0d3;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
}

.variant-d-ty-expect-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #e1f0d3;
  border-radius: 34px;
  font-size: 16px;
  font-weight: 600;
  color: #135b53;
  white-space: nowrap;
}

.variant-d-ty-expect-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 0 4px;
}

.variant-d-ty-expect-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.variant-d-ty-expect-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

.variant-d-ty-expect-item-text {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #ededed;
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .variant-d-ty-glow {
    display: none;
  }

  .variant-shell-d.ty-active .variant-progress-wrap-dash {
    max-width: 380px;
    margin-bottom: 24px;
  }

  .variant-shell-d.ty-active .variant-card {
    width: auto;
    max-width: 380px;
    border-radius: 30px;
  }

  .variant-shell-d.ty-active .variant-card-body-d {
    padding: 32px 28px 36px;
  }

  .variant-d-ty {
    gap: 28px;
  }

  .variant-d-ty-title {
    font-size: 26px;
    letter-spacing: -0.02em;
  }

  .variant-d-ty-body {
    font-size: 14px;
  }

  .variant-d-ty-cta-label {
    font-size: 15px;
    white-space: normal;
    text-align: center;
  }

  .variant-d-ty-phone-btn {
    width: 100%;
    max-width: 300px;
    padding: 14px 20px;
    border-radius: 14px;
    gap: 10px;
  }

  .variant-d-ty-phone-icon {
    width: 32px;
    height: 32px;
  }

  .variant-d-ty-phone-icon svg {
    width: 16px;
    height: 16px;
  }

  .variant-d-ty-phone-num {
    font-size: 16px;
  }

  .variant-d-ty-expect-badge {
    font-size: 13px;
    padding: 6px 12px;
  }

  .variant-d-ty-expect-icon {
    width: 22px;
    height: 22px;
  }

  .variant-d-ty-expect-item-text {
    font-size: 13px;
  }
}
