/* =====================
   CALL TO ACTION
===================== */

.block-cta {
    position: relative;
    width: 100%;
    margin-bottom: 48px;
    padding: 48px;

    border-radius: 18px;
    overflow: hidden;
}

.cta-inner {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 850px;
}


/* =====================
   LABEL
===================== */

.cta-label {
    margin-bottom: 12px;

    font-family: 'Mariupol', Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* =====================
   HEADING
===================== */

.cta-heading {
    margin: 0 0 18px;

    font-family: 'Mariupol', Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.08;
}


/* =====================
   CONTENT
===================== */

.cta-content {
    max-width: 700px;

    font-size: 1.1rem;
    line-height: 1.65;
}

.cta-content > :last-child {
    margin-bottom: 0;
}


/* =====================
   BUTTON GROUP
===================== */

.cta-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 28px;
}


/* =====================
   BUTTON
===================== */

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 26px;

    font-family: 'Mariupol', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;

    border: 2px solid currentColor;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-1px);
}


/* ==================================================
   GLASS
================================================== */

.block-cta--glass {
    color: #000000;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.74),
            rgba(255, 255, 255, 0.46)
        );

    border: 1px solid rgba(0, 0, 0, 0.07);

    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);

    backdrop-filter:
        blur(18px)
        saturate(140%);

    -webkit-backdrop-filter:
        blur(18px)
        saturate(140%);
}


/* Glass highlight */

.block-cta--glass::before {
    content: '';

    position: absolute;
    inset: 0;

    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.5),
            transparent 38%
        );
}

.block-cta--glass .cta-heading,
.block-cta--glass .cta-label,
.block-cta--glass .cta-content {
    color: #000000;
}


/* Glass primary button */

.block-cta--glass .cta-button--primary {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

.block-cta--glass .cta-button--primary:hover {
    background-color: transparent;
    color: #000000;
}


/* Glass secondary button */

.block-cta--glass .cta-button--secondary {
    background-color: rgba(255, 255, 255, 0.35);
    border-color: #000000;
    color: #000000;
}

.block-cta--glass .cta-button--secondary:hover {
    background-color: #000000;
    color: #ffffff;
}


/* ==================================================
   IMAGE
================================================== */

.block-cta--image {
    min-height: 420px;

    display: flex;
    align-items: center;

    color: #ffffff;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border: none;
}


/* Dark image overlay */

.block-cta--image::before {
    content: '';

    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.56) 48%,
            rgba(0, 0, 0, 0.20) 100%
        );
}

.block-cta--image .cta-heading,
.block-cta--image .cta-label,
.block-cta--image .cta-content {
    color: #ffffff;
}


/* Image primary button */

.block-cta--image .cta-button--primary {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #000000;
}

.block-cta--image .cta-button--primary:hover {
    background-color: transparent;
    color: #ffffff;
}


/* Image secondary button */

.block-cta--image .cta-button--secondary {
    background-color: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

.block-cta--image .cta-button--secondary:hover {
    background-color: #ffffff;
    color: #000000;
}


/* ==================================================
   LIGHT
================================================== */

.block-cta--light {
    background-color: #f5f5f5;
    color: #000000;

    border: 1px solid #eeeeee;
}

.block-cta--light .cta-heading,
.block-cta--light .cta-label,
.block-cta--light .cta-content {
    color: #000000;
}


/* Light primary */

.block-cta--light .cta-button--primary {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

.block-cta--light .cta-button--primary:hover {
    background-color: #C9A84C;
    border-color: #C9A84C;
    color: #000000;
}


/* Light secondary */

.block-cta--light .cta-button--secondary {
    background-color: transparent;
    border-color: #000000;
    color: #000000;
}

.block-cta--light .cta-button--secondary:hover {
    background-color: #000000;
    color: #ffffff;
}


/* ==================================================
   ALIGNMENT
================================================== */

.block-cta--left {
    text-align: left;
}


.block-cta--center {
    text-align: center;
}

.block-cta--center .cta-inner {
    margin-left: auto;
    margin-right: auto;
}

.block-cta--center .cta-content {
    margin-left: auto;
    margin-right: auto;
}

.block-cta--center .cta-buttons {
    justify-content: center;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {

    .block-cta {
        padding: 32px 24px;
        margin-bottom: 40px;

        border-radius: 14px;
    }

    .block-cta--image {
        min-height: 380px;
    }

    .block-cta--image::before {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.55) 0%,
                rgba(0, 0, 0, 0.78) 100%
            );
    }

    .cta-heading {
        font-size: 2rem;
    }

    .cta-content {
        font-size: 1rem;
    }

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

    .cta-button {
        width: 100%;
    }
}