/*
 * Thank-you page styles
 * @package Soeteck
 */

.soeteck-thank-you-page {
    background: var(--soeteck-white);
}

.soeteck-thank-you-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(44px, 6vw, 82px) 0 clamp(72px, 9vw, 128px);
    background:
        radial-gradient(circle at top left, rgba(26, 133, 229, 0.13), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}

.soeteck-thank-you-hero::after {
    content: '';
    position: absolute;
    right: max(24px, calc((100vw - var(--soeteck-container)) / 2));
    bottom: 42px;
    width: clamp(120px, 18vw, 260px);
    aspect-ratio: 1;
    border: 1px solid rgba(26, 133, 229, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.soeteck-thank-you-hero__breadcrumbs {
    position: absolute;
    top: 15px;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
}

.soeteck-thank-you-hero__breadcrumbs .soeteck-breadcrumbs {
    margin: 0;
}

.soeteck-thank-you-card {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: clamp(28px, 4vw, 52px) auto 0;
    padding: clamp(34px, 5vw, 64px);
    text-align: center;
    background: var(--soeteck-white);
    border: 1px solid rgba(26, 133, 229, 0.16);
    border-radius: var(--soeteck-radius-lg);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.soeteck-thank-you-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--soeteck-primary), #ef1738);
    border-radius: var(--soeteck-radius-lg) var(--soeteck-radius-lg) 0 0;
}

.soeteck-thank-you-card__mark {
    position: relative;
    display: inline-flex;
    width: 68px;
    height: 68px;
    margin-bottom: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--soeteck-primary-soft);
    border: 1px solid rgba(26, 133, 229, 0.24);
}

.soeteck-thank-you-card__mark::before {
    content: '';
    width: 27px;
    height: 15px;
    border-left: 4px solid var(--soeteck-primary);
    border-bottom: 4px solid var(--soeteck-primary);
    transform: rotate(-45deg) translate(2px, -2px);
}

.soeteck-thank-you-card .soeteck-eyebrow {
    justify-content: center;
    margin-bottom: 10px;
}

.soeteck-thank-you-card h1 {
    margin: 0;
    color: var(--soeteck-text);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
}

.soeteck-thank-you-card__lead {
    max-width: 660px;
    margin: 20px auto 0;
    color: var(--soeteck-text-soft);
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.65;
}

.soeteck-thank-you-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: clamp(28px, 4vw, 40px);
}

.soeteck-thank-you-actions .soeteck-button,
.soeteck-thank-you-actions .soeteck-button-primary,
.soeteck-thank-you-actions .soeteck-button-outline {
    min-width: 170px;
}

.soeteck-thank-you-card__contact {
    margin: 26px 0 0;
    color: var(--soeteck-muted);
    font-size: var(--soeteck-text-sm);
    line-height: 1.7;
}

.soeteck-thank-you-card__contact a {
    font-weight: var(--soeteck-weight-semibold);
}

.soeteck-thank-you-next {
    padding: clamp(56px, 7vw, 96px) 0;
}

.soeteck-thank-you-next__header {
    max-width: 720px;
    margin-bottom: clamp(28px, 4vw, 44px);
}

.soeteck-thank-you-next__header h2 {
    margin: 0;
    color: var(--soeteck-text);
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    line-height: 1.14;
}

.soeteck-thank-you-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--soeteck-card-gap);
}

.soeteck-thank-you-step {
    position: relative;
    padding: clamp(24px, 3vw, 34px);
    overflow: hidden;
}

.soeteck-thank-you-step::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 78px;
    height: 78px;
    background: linear-gradient(135deg, rgba(26, 133, 229, 0.1), transparent 68%);
    pointer-events: none;
}

.soeteck-thank-you-step__number {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--soeteck-primary);
    font-family: var(--soeteck-font-ui);
    font-size: var(--soeteck-text-sm);
    font-weight: var(--soeteck-weight-bold);
    letter-spacing: 0.12em;
}

.soeteck-thank-you-step h3 {
    margin: 0;
    color: var(--soeteck-text);
    font-size: var(--soeteck-text-xl);
    line-height: 1.25;
}

.soeteck-thank-you-step p {
    margin: 12px 0 0;
    color: var(--soeteck-muted);
    font-size: var(--soeteck-text-md);
    line-height: 1.6;
}

@media (max-width: 991px) {
    .soeteck-thank-you-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .soeteck-thank-you-hero {
        padding-top: 34px;
    }

    .soeteck-thank-you-card {
        padding: 30px 22px;
    }

    .soeteck-thank-you-actions {
        flex-direction: column;
    }

    .soeteck-thank-you-actions .soeteck-button,
    .soeteck-thank-you-actions .soeteck-button-primary,
    .soeteck-thank-you-actions .soeteck-button-outline {
        width: 100%;
    }

    .soeteck-thank-you-steps {
        grid-template-columns: 1fr;
    }
}
