/**
 * =========================================================
 * PERTECNICA HOMEPAGE ENGINE
 * CTA SECTION
 * =========================================================
 *
 * DEPENDENCIES:
 * - tokens.css
 * - framework.css
 *
 * =========================================================
 */


/* =========================================================
   SECTION
========================================================= */

.phe-cta {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #0f172a 0%,
            #111827 100%
        );
}


/* =========================================================
   CTA WRAPPER
========================================================= */

.phe-cta__wrapper {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: var(--phe-space-4xl);

    padding: 70px;

    overflow: hidden;

    border-radius: 32px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.03)
        );

    border:
        1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(10px);

    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   CONTENT
========================================================= */

.phe-cta__content {
    max-width: 760px;
}


/* =========================================================
   TITLE
========================================================= */

.phe-cta__title {
    margin-bottom: var(--phe-space-xl);

    font-size: clamp(2.2rem, 4vw, 3.6rem);

    font-weight: var(--phe-font-bold);

    line-height: 1.12;
    letter-spacing: -0.03em;

    color: #ffffff;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.phe-cta__description {
    max-width: 680px;

    margin: 0;

    font-size: 1.08rem;

    line-height: var(--phe-line-relaxed);

    color: rgba(255, 255, 255, 0.72);
}


/* =========================================================
   ACTIONS
========================================================= */

.phe-cta__actions {
    display: flex;
    flex-wrap: wrap;

    gap: var(--phe-space-lg);
}


/* =========================================================
   CTA BUTTON OVERRIDES
========================================================= */

.phe-cta .phe-btn-outline {

    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid rgba(255, 255, 255, 0.12);

    color: #ffffff;
}


.phe-cta .phe-btn-outline:hover {

    background:
        rgba(255, 255, 255, 0.14);

}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1024px) {

    .phe-cta__wrapper {

        flex-direction: column;
        align-items: flex-start;

        gap: var(--phe-space-3xl);

        padding: 56px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 768px) {

    .phe-cta__wrapper {

        padding:
            38px 30px;

        border-radius: var(--phe-radius-xl);
    }

    .phe-cta__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .phe-cta__description {

        font-size: var(--phe-text-md);

        line-height: var(--phe-line-normal);
    }

    .phe-cta__actions {

        width: 100%;

        flex-direction: column;
        align-items: stretch;
    }

    .phe-cta__actions .phe-btn {
        width: 100%;
    }

}