/* ========================================
   Thank You — thank-you.html
   ======================================== */
.page-thank-you {
  background: #fff;
  color: var(--text-body);
}

.page-thank-you .ty-hero {
  overflow: hidden;
  padding: 48px 0 24px;
  background: linear-gradient(180deg, #f4f8ff 0%, #fff 100%);
}

.page-thank-you .ty-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.page-thank-you .ty-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 8px 18px rgba(0, 123, 255, 0.28);
}

.page-thank-you .ty-hero-title {
  margin: 0 0 1rem;
  color: var(--brand-navy);
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.page-thank-you .ty-hero-title span {
  color: var(--brand-blue);
}

.page-thank-you .ty-hero-text {
  max-width: 520px;
  margin: 0 0 1.15rem;
  color: #52657d;
  font-size: 1.05rem;
  line-height: 1.75;
}

.page-thank-you .ty-response {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #eef5ff;
  color: #365a82;
  font-size: 0.88rem;
  font-weight: 600;
}

.page-thank-you .ty-response i {
  color: var(--brand-blue);
}

.page-thank-you .ty-hero-actions,
.page-thank-you .ty-wait-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-thank-you .ty-btn-outline {
  color: var(--brand-blue);
  background: #fff;
  border: 1.5px solid var(--brand-blue);
}

.page-thank-you .ty-btn-outline:hover {
  color: #fff;
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.page-thank-you .ty-hero-visual {
  min-height: 360px;
}

.page-thank-you .ty-hero-visual img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 20%;
}

.page-thank-you .ty-section-title {
  margin: 0 0 2.4rem;
  color: var(--brand-navy);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-align: center;
}

.page-thank-you .ty-section-title-left {
  margin-bottom: 1.1rem;
  text-align: left;
}

.page-thank-you .ty-next {
  padding: 56px 0 20px;
}

.page-thank-you .ty-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 36px;
  position: relative;
}

.page-thank-you .ty-steps::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #cfe0f5 0 10px, transparent 10px 18px);
  pointer-events: none;
}

.page-thank-you .ty-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-thank-you .ty-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--brand-navy);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}

.page-thank-you .ty-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 0.9rem;
  color: var(--brand-blue);
  font-size: 1.55rem;
}

.page-thank-you .ty-step h3 {
  margin: 0 0 0.55rem;
  color: var(--brand-navy);
  font-size: 1.08rem;
  font-weight: 700;
}

.page-thank-you .ty-step p {
  margin: 0 auto;
  max-width: 280px;
  color: #6b7a8d;
  font-size: 0.9rem;
  line-height: 1.65;
}

.page-thank-you .ty-clear {
  padding: 48px 0 28px;
}

.page-thank-you .ty-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.page-thank-you .ty-card-img {
  position: relative;
}

.page-thank-you .ty-card-img img {
  width: 100%;
  height: 180px;
  max-width: none;
  object-fit: cover;
}

.page-thank-you .ty-card-icon {
  position: absolute;
  left: 16px;
  bottom: -18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 8px 16px rgba(0, 123, 255, 0.25);
}

.page-thank-you .ty-card-body {
  padding: 1.7rem 1.25rem 1.35rem;
}

.page-thank-you .ty-card-body h3 {
  margin: 0 0 0.45rem;
  color: var(--brand-navy);
  font-size: 1.08rem;
  font-weight: 700;
}

.page-thank-you .ty-card-body p {
  margin: 0;
  color: #6b7a8d;
  font-size: 0.9rem;
  line-height: 1.65;
}

.page-thank-you .ty-clear-link {
  margin: 1.75rem 0 0;
  color: #6b7a8d;
  font-size: 0.95rem;
  text-align: center;
}

.page-thank-you .ty-clear-link a,
.page-thank-you .ty-expertise-copy a {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
}

.page-thank-you .ty-clear-link a:hover,
.page-thank-you .ty-expertise-copy a:hover {
  text-decoration: underline;
}

.page-thank-you .ty-expertise {
  padding: 36px 0 20px;
}

.page-thank-you .ty-expertise-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.page-thank-you .ty-expertise-media {
  position: relative;
  min-height: 300px;
}

.page-thank-you .ty-polaroid {
  position: absolute;
  width: 46%;
  height: 140px;
  object-fit: cover;
  background: #fff;
  border: 8px solid #fff;
  border-bottom-width: 22px;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(16, 36, 63, 0.14);
}

.page-thank-you .ty-polaroid-1 {
  top: 8px;
  left: 6%;
  transform: rotate(-8deg);
}

.page-thank-you .ty-polaroid-2 {
  top: 0;
  right: 8%;
  transform: rotate(7deg);
}

.page-thank-you .ty-polaroid-3 {
  bottom: 18px;
  left: 14%;
  transform: rotate(5deg);
}

.page-thank-you .ty-polaroid-4 {
  right: 4%;
  bottom: 8px;
  width: 42%;
  height: 118px;
  transform: rotate(-4deg);
}

.page-thank-you .ty-expertise-copy p {
  margin: 0 0 0.9rem;
  color: #52657d;
  font-size: 1rem;
  line-height: 1.75;
}

.page-thank-you .ty-wait {
  padding: 48px 0 80px;
}

.page-thank-you .ty-faq {
  max-width: 760px;
}

.page-thank-you .ty-faq .accordion-button::after {
  content: "+";
  background-image: none;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  width: auto;
  height: auto;
  color: var(--brand-navy);
  transform: none;
}

.page-thank-you .ty-faq .accordion-button:not(.collapsed)::after {
  content: "–";
  transform: none;
}

.page-thank-you .ty-wait-actions {
  justify-content: center;
  margin-top: 2rem;
}

@media (max-width: 991.98px) {
  .page-thank-you .ty-hero-grid,
  .page-thank-you .ty-expertise-grid {
    grid-template-columns: 1fr;
  }

  .page-thank-you .ty-hero-visual {
    order: -1;
    min-height: 260px;
    max-width: 520px;
    margin: 0 auto;
  }

  .page-thank-you .ty-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-thank-you .ty-steps::before {
    display: none;
  }

  .page-thank-you .ty-expertise-media {
    min-height: 260px;
    max-width: 480px;
    margin: 0 auto;
  }

  .page-thank-you .ty-section-title-left {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .page-thank-you .ty-hero {
    padding: 28px 0 8px;
  }

  .page-thank-you .ty-hero-actions .btn,
  .page-thank-you .ty-wait-actions .btn {
    width: 100%;
  }

  .page-thank-you .ty-card-img img {
    height: 160px;
  }

  .page-thank-you .ty-wait {
    padding-bottom: 64px;
  }
}
