.op-thankyou-page .op-form,
.page-template-template-parts-page-thank-you-php .op-form,
.page-template-page-thank-you .op-form {
    display: none !important;
}

.op-thankyou-page .op-clients {
    margin-top: 0;
}

.op-thankyou__fireworks {
    position: fixed;
    inset: 0;
    z-index: 9998;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.8s ease;
}

.op-thankyou__fireworks.is-done {
    opacity: 0;
    visibility: hidden;
}

.op-thankyou {
    position: relative;
    z-index: 1;
    padding: 48px 0 56px;
    background: linear-gradient(180deg, #f7fbff 0%, #fff 38%, #fff 100%);
    overflow: hidden;
}

.op-thankyou::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto;
    height: 420px;
    background: radial-gradient(circle at 50% 50%, rgba(35, 128, 235, 0.12) 0%, transparent 68%);
    pointer-events: none;
}

.op-thankyou__card {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    padding: 42px 38px 38px;
    border: 1px solid rgba(35, 128, 235, 0.14);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(9, 43, 150, 0.1);
    text-align: center;
}

.op-thankyou__head {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0 0 20px;
}

.op-thankyou__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 88px;
    height: 88px;
    margin: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    box-shadow: 0 16px 36px rgba(22, 163, 74, 0.28), 0 0 0 10px rgba(34, 197, 94, 0.12);
    animation: opThankyouIconPop 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.op-thankyou__icon svg {
    display: block;
}

@keyframes opThankyouIconPop {
    0% {
        opacity: 0;
        transform: scale(0.55);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.op-thankyou__kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    margin: 0;
    padding: 7px 16px;
    border-radius: 999px;
    background: #eaf4ff;
    color: #0b4fa8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.op-thankyou__title {
    margin: 0 0 16px;
    color: #0f1f33;
    font-size: clamp(28px, 4.2vw, 42px);
    line-height: 1.14;
    font-weight: 700;
}

.op-thankyou__title-highlight {
    display: block;
    margin-top: 6px;
    background: linear-gradient(135deg, #092b96 0%, #2380eb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.op-thankyou__text {
    margin: 0 auto 28px;
    max-width: 620px;
    color: #5d6f82;
    font-size: 18px;
    line-height: 1.62;
}

.op-thankyou__steps {
    margin: 0 0 26px;
    padding: 22px 22px 18px;
    border: 1px solid #e3edf7;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8fbff 0%, #fff 100%);
    text-align: left;
}

.op-thankyou__steps-title {
    margin: 0 0 14px;
    color: #173f5f;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
}

.op-thankyou__steps-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.op-thankyou__steps-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #44576a;
    font-size: 15px;
    line-height: 1.55;
}

.op-thankyou__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #092b96, #2380eb);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(35, 128, 235, 0.24);
}

.op-thankyou__step-text {
    flex: 1 1 auto;
    min-width: 0;
}

.op-thankyou__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 26px;
}

.op-thankyou__trust-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eef5ff;
    border: 1px solid rgba(35, 128, 235, 0.14);
    color: #092b96;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.op-thankyou__phone {
    margin: 0 0 24px;
    color: #30485f;
    font-size: 15px;
    line-height: 1.5;
}

.op-thankyou__phone a {
    color: #092b96 !important;
    font-weight: 700;
    text-decoration: none !important;
}

.op-thankyou__phone a:hover {
    color: #2380eb !important;
}

.op-thankyou__actions {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.op-thankyou__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.op-thankyou__btn:hover {
    transform: translateY(-2px);
}

.op-thankyou__btn svg {
    flex: 0 0 auto;
    display: block;
}

.op-thankyou__btn--home {
    background: linear-gradient(135deg, #092b96, #2380eb);
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(35, 128, 235, 0.28);
}

.op-thankyou__btn--home:hover {
    box-shadow: 0 18px 38px rgba(35, 128, 235, 0.38);
}

.op-thankyou__socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.op-thankyou__socials-hint {
    margin: 0;
    max-width: 520px;
    color: #6a7f92;
    font-size: 14px;
    line-height: 1.5;
}

.op-thankyou__socials-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.op-thankyou__btn--instagram {
    background: linear-gradient(45deg, #f58529 0%, #dd2a7b 35%, #8134af 68%, #515bd4 100%);
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(221, 42, 123, 0.28);
    animation: opThankyouInstagramGlow 2.8s ease-in-out infinite;
}

.op-thankyou__btn--instagram:hover {
    filter: saturate(1.1);
    box-shadow: 0 18px 38px rgba(221, 42, 123, 0.38);
    animation: none;
}

.op-thankyou__btn--facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5bd7 100%);
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(24, 119, 242, 0.28);
    animation: opThankyouFacebookGlow 2.8s ease-in-out infinite;
}

.op-thankyou__btn--facebook:hover {
    filter: saturate(1.08);
    box-shadow: 0 18px 38px rgba(24, 119, 242, 0.38);
    animation: none;
}

@keyframes opThankyouInstagramGlow {
    0%,
    100% {
        box-shadow: 0 14px 30px rgba(221, 42, 123, 0.28);
    }
    50% {
        box-shadow: 0 16px 36px rgba(221, 42, 123, 0.4), 0 0 18px rgba(126, 200, 255, 0.22);
    }
}

@keyframes opThankyouFacebookGlow {
    0%,
    100% {
        box-shadow: 0 14px 30px rgba(24, 119, 242, 0.28);
    }
    50% {
        box-shadow: 0 16px 36px rgba(24, 119, 242, 0.42), 0 0 18px rgba(126, 200, 255, 0.18);
    }
}

@media (max-width: 640px) {
    .op-thankyou {
        padding: 28px 0 40px;
    }

    .op-thankyou__card {
        padding: 32px 20px 28px;
        border-radius: 22px;
    }

    .op-thankyou__head {
        gap: 12px;
        margin-bottom: 16px;
    }

    .op-thankyou__icon {
        width: 76px;
        height: 76px;
    }

    .op-thankyou__text {
        font-size: 16px;
    }

    .op-thankyou__steps {
        padding: 18px 16px 14px;
    }

    .op-thankyou__socials-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .op-thankyou__btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .op-thankyou__icon,
    .op-thankyou__btn--instagram,
    .op-thankyou__btn--facebook {
        animation: none;
    }

    .op-thankyou__fireworks {
        display: none;
    }
}
