.block-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-block: 80px;
    color: #fff;
    background: var(--wp--preset--color--primary, #c64c01);
}

@media (min-width: 768px) {
    .block-cta {
        padding-block: 112px;
    }
}

/* Soft light glow (top-right) + dark glow (bottom-left) — exact mockup values */
.block-cta::before,
.block-cta::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(64px); /* tailwind blur-3xl */
    z-index: -1;
    pointer-events: none;
}

.block-cta::before {
    top: -250px;
    right: -125px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05); /* bg-white/5 */
}

.block-cta::after {
    bottom: -175px;
    left: -88px;
    width: 350px;
    height: 350px;
    background: rgba(0, 0, 0, 0.1); /* bg-black/10 */
}

/* Decorative rotated cards (desktop only) */
.block-cta__shapes {
    position: absolute;
    top: 40px;
    right: 64px;
    z-index: -1;
    display: none;
    opacity: 0.1;
    pointer-events: none;
}

@media (min-width: 1024px) {
    .block-cta__shapes {
        display: block;
    }
}

/* First card is in normal flow → it sizes the container (112x144) so that
   `right: 64px` anchors the cards correctly. Only the second card is absolute. */
.block-cta__shapes span {
    display: block;
    border: 2px solid #fff;
    border-radius: 12px;
}

.block-cta__shapes span:nth-child(1) {
    width: 112px;
    height: 144px;
    transform: rotate(12deg);
}

.block-cta__shapes span:nth-child(2) {
    position: absolute;
    top: 16px;
    left: 24px;
    width: 96px;
    height: 128px;
    transform: rotate(-6deg);
}

/* Content */
.block-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
}

/* Heading — Inter, exact mockup sizes (text-heading-lg / md:text-display) */
.block-cta__title {
    margin: 0;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 40px;
    line-height: 46px;
    letter-spacing: -0.6px;
    color: #fff;
    text-wrap: balance;
}

@media (min-width: 768px) {
    .block-cta__title {
        font-size: 56px;
        line-height: 60.48px;
        letter-spacing: -1.4px;
    }
}

/* Description — text-base / md:text-lg, white/80 */
.block-cta__desc {
    margin: 20px auto 0;
    font-size: 16px;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
    .block-cta__desc {
        font-size: 18px;
        line-height: 28px;
    }
}

/* Actions */
.block-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 2.25rem;
}

@media (min-width: 640px) {
    .block-cta__actions {
        flex-direction: row;
    }
}

.block-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 14px 32px;
    border: 2px solid transparent;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease,
        color 0.2s ease;
}

@media (min-width: 640px) {
    .block-cta__btn {
        width: auto;
    }
}

.block-cta__btn:hover {
    text-decoration: none;
}

.block-cta__btn--solid {
    background: #fff;
    border-color: #fff;
    color: var(--wp--preset--color--primary-dark, #a33e01);
}

@media (hover: hover) {
    .block-cta__btn--solid:hover {
        background: var(--wp--preset--color--primary-light, #fff3ea);
        border-color: var(--wp--preset--color--primary-light, #fff3ea);
        color: var(--wp--preset--color--primary-dark, #a33e01);
    }
}

.block-cta__btn--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

@media (hover: hover) {
    .block-cta__btn--outline:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
    }
}

.block-cta__btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.block-cta__btn-icon svg {
    width: 18px;
    height: 18px;
}
