/* =========================================================
   THANK YOU PAGE — PREMIUM CONFIRMATION
   Contact form confirmation
   ========================================================= */

   .page-thank-you #main-content {
    padding-top: clamp(100px, 12vw, 130px);
  }
  
  .page-thank-you #main-content > .breadcrumb-wrap + .thank-you-section {
    padding-top: clamp(2rem, 5vw, 3rem);
  }

  /* Mobile: keep full trail on one line */
  @media (max-width: 767px) {
    .page-thank-you .breadcrumb__list {
      flex-wrap: nowrap;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }

    .page-thank-you .breadcrumb__list::-webkit-scrollbar {
      display: none;
    }

    .page-thank-you .breadcrumb__item:last-child {
      flex: 0 1 auto;
      width: auto;
      max-width: none;
      margin-top: 0;
      padding-top: 0;
      border-top: none;
    }

    .page-thank-you .breadcrumb__item:last-child::before {
      content: '/';
      margin-inline: 6px;
    }

    .page-thank-you .breadcrumb__current,
    .page-thank-you .breadcrumb__link[aria-current='page'] {
      display: inline;
      width: auto;
      max-width: none;
      padding: 5px 12px;
      white-space: nowrap;
    }
  }
  
  .thank-you-section {
    position: relative;
    overflow: visible;
    padding-block: clamp(3rem, 7vw, 6rem);
    background:
      radial-gradient(circle at 12% 8%, rgba(34, 197, 94, 0.12), transparent 34%),
      radial-gradient(circle at 88% 18%, rgba(74, 222, 128, 0.1), transparent 30%),
      radial-gradient(circle at 50% 100%, rgba(22, 163, 74, 0.08), transparent 36%),
      var(--color-bg-secondary);
  }
  
  .thank-you-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  }
  
  .thank-you-panel {
    position: relative;
    z-index: 1;
    max-width: 48rem;
    margin-inline: auto;
    padding: clamp(1.5rem, 5vw, 3.25rem);
    text-align: center;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.86));
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: clamp(24px, 4vw, 40px);
    box-shadow:
      0 24px 70px rgba(15, 23, 42, 0.08),
      0 24px 70px rgba(0, 120, 55, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
  
  .thank-you-panel::before {
    content: "";
    position: absolute;
    inset: 14px;
    pointer-events: none;
    border: 1px solid rgba(34, 197, 94, 0.12);
    border-radius: inherit;
  }
  
  .thank-you-panel > * {
    position: relative;
    z-index: 1;
  }
  
  .thank-you-panel__status {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
    padding-top: 0.75rem;
    overflow: visible;
  }

  .thank-you-panel__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: clamp(4.5rem, 9vw, 5.5rem);
    height: clamp(4.5rem, 9vw, 5.5rem);
    margin: 0 0 1rem;
    color: #ffffff;
    background:
      radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.28), transparent 35%),
      linear-gradient(145deg, #16a34a 0%, #009c43 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    box-shadow:
      0 18px 38px rgba(22, 163, 74, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }

  .thank-you-panel__icon svg {
    display: block;
  }
  
  .thank-you-panel__eyebrow {
    display: block;
    margin: 0;
    text-align: center;
    padding: 0.45rem 0.85rem;
    color: #065f46;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 1px solid rgba(34, 197, 94, 0.16);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  
  .thank-you-panel__title {
    margin: 0 0 1rem;
    color: var(--color-text);
    font-size: clamp(1.85rem, 5vw, 3rem);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: -0.05em;
  }
  
  .thank-you-panel__lead {
    max-width: 38rem;
    margin: 0 auto 1.85rem;
    color: var(--color-text-secondary);
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.7;
  }
  
  .thank-you-panel__notice {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.6rem;
    padding: clamp(1.2rem, 3vw, 1.6rem);
    text-align: center;
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.85), transparent 55%),
      linear-gradient(180deg, #f0fdf4 0%, #dcfce7 55%, #bbf7d0 100%);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 24px;
    box-shadow: 0 10px 28px rgba(22, 163, 74, 0.1);
  }
  
  .thank-you-panel__notice-title {
    margin: 0 0 0.55rem;
    color: #15803d;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  
  .thank-you-panel__notice-text {
    max-width: 34rem;
    margin: 0 auto;
    color: #166534;
    font-size: clamp(0.95rem, 2vw, 1rem);
    line-height: 1.65;
  }
  
  .thank-you-panel__notice-text strong {
    color: #052e1a;
    font-weight: 800;
  }
  
  .thank-you-panel__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
  }
  
  .thank-you-panel__actions .btn {
    min-height: 52px;
    padding-inline: 1.6rem;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      opacity 0.25s ease;
  }
  
  .thank-you-panel__actions .btn:hover,
  .thank-you-panel__actions .btn:focus-visible {
    transform: translateY(-2px);
  }
  
  /* Mobile: lighter effects for smoother scroll */
  @media (max-width: 767px) {
    .page-thank-you .breadcrumb__list {
      overscroll-behavior-x: contain;
    }

    .thank-you-section::before {
      display: none;
    }

  }

  /* Mobile */
  @media (max-width: 520px) {
    .thank-you-panel {
      padding: 1.25rem;
      border-radius: 26px;
    }
  
    .thank-you-panel::before {
      inset: 9px;
    }
  
    .thank-you-panel__notice {
      border-radius: 20px;
    }
  
    .thank-you-panel__actions {
      flex-direction: column;
      width: 100%;
    }
  
    .thank-you-panel__actions .btn {
      width: 100%;
    }
  }
  
  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .thank-you-panel__actions .btn {
      transition: none;
    }

    .thank-you-panel__actions .btn:hover,
    .thank-you-panel__actions .btn:focus-visible {
      transform: none;
    }
  }