/* ==========================================================================
   thank-you.css – Thank You page (shown after a successful form submission)
   Same system as the other inner pages: 1 Figma px = var(--u), desktop first.
   ========================================================================== */
.thanks { position: relative; overflow: hidden; padding: calc(120 * var(--u)) 0 calc(140 * var(--u)); }
.thanks__triangles { position: absolute; z-index: -1; width: calc(224 * var(--u)); height: calc(588 * var(--u)); max-width: none; pointer-events: none; }
.thanks__triangles--left { left: calc(-2 * var(--u)); top: calc(-160 * var(--u)); }
.thanks__triangles--right { right: 0; bottom: calc(-200 * var(--u)); width: calc(221 * var(--u)); }

.thanks__card {
  position: relative;
  width: calc(1054 * var(--u));
  margin-inline: auto;
  padding: calc(72 * var(--u)) calc(80 * var(--u)) calc(80 * var(--u));
  background: #fff;
  box-shadow: 0 0 calc(16 * var(--u)) rgba(0, 0, 0, 0.12);
  border-bottom: calc(8 * var(--u)) solid var(--c-blue);
  text-align: center;
}
/* the site's corner cuts (navy triangles, as on the menu panels) */
.thanks__card::before, .thanks__card::after {
  content: ""; position: absolute;
  width: calc(40 * var(--u)); height: calc(40 * var(--u));
  background: var(--c-navy);
}
.thanks__card::before { left: calc(16 * var(--u)); top: calc(16 * var(--u)); clip-path: polygon(0 0, 100% 0, 0 100%); }
.thanks__card::after { right: calc(16 * var(--u)); bottom: calc(16 * var(--u)); clip-path: polygon(100% 0, 100% 100%, 0 100%); }

/* tick in a blue circle */
.thanks__icon {
  position: relative; display: block;
  width: calc(96 * var(--u)); height: calc(96 * var(--u));
  margin: 0 auto calc(32 * var(--u));
  border-radius: 50%;
  background: var(--c-blue);
}
.thanks__icon::after {
  content: ""; position: absolute; left: 50%; top: 46%;
  width: calc(36 * var(--u)); height: calc(18 * var(--u));
  border-left: calc(5 * var(--u)) solid #fff; border-bottom: calc(5 * var(--u)) solid #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.thanks__text {
  max-width: calc(820 * var(--u));
  margin: calc(16 * var(--u)) auto 0;
  color: var(--c-text);
  font-size: calc(24 * var(--u));
  line-height: calc(36 * var(--u));
}
.thanks__note {
  margin-top: calc(16 * var(--u));
  color: var(--c-text);
  font-size: calc(20 * var(--u));
  line-height: calc(32 * var(--u));
}
.thanks__note a { color: var(--c-blue); text-decoration: underline; text-underline-offset: 3px; }
.thanks__note a:hover, .thanks__note a:focus-visible { color: var(--c-navy); }
.thanks__actions { margin-top: calc(40 * var(--u)); }

/* ==========================================================================
   TABLET + MOBILE (< 1200px)
   ========================================================================== */
@media (max-width: 1199.98px) {
  .thanks { padding: 64px var(--gutter) 80px; }
  .thanks__triangles { display: none; }
  .thanks__card { width: auto; max-width: 760px; padding: 56px 40px 56px; border-bottom-width: 6px; box-shadow: 0 0 12px rgba(0, 0, 0, 0.12); }
  .thanks__card::before, .thanks__card::after { width: 28px; height: 28px; }
  .thanks__card::before { left: 12px; top: 12px; }
  .thanks__card::after { right: 12px; bottom: 12px; }
  .thanks__icon { width: 72px; height: 72px; margin-bottom: 24px; }
  .thanks__icon::after { width: 28px; height: 14px; border-left-width: 4px; border-bottom-width: 4px; }
  .thanks .section-title { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.25; }
  .thanks__text { max-width: 560px; margin-top: 12px; font-size: 17px; line-height: 1.6; }
  .thanks__note { font-size: 15px; line-height: 1.6; }
  .thanks__actions { margin-top: 28px; }
}
@media (max-width: 767.98px) {
  .thanks { padding: 48px var(--gutter) 64px; }
  .thanks__card { padding: 48px 24px 44px; }
}
