/*==============================================================
 RAEES IMPORT & EXPORT
 FINAL CTA COMPONENT
 Desktop + Tablet + Mobile
==============================================================*/


/*==============================================================
 1. CTA SECTION
==============================================================*/

.cta-section {
    position: relative;
    width: 100%;
    padding: 72px 0;
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fcfaf6 100%
        );

    isolation: isolate;
}


.cta-section.section {
    min-height: 0 !important;
    height: auto !important;
}


/*==============================================================
 2. CTA CONTAINER SAFETY
==============================================================*/

.cta-section > .container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1240px;

    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}


/*==============================================================
 3. CURRENT HOMEPAGE CTA CARD
 Supports .cta-card from index.php
==============================================================*/

.cta-card {
    position: relative;
    width: 100%;

    min-height: 0 !important;
    height: auto !important;

    overflow: hidden;

    padding:
        clamp(42px, 5vw, 68px)
        clamp(36px, 6vw, 78px);

    border:
        1px solid rgba(183, 138, 61, 0.22);

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #071d16 0%,
            #0b2b20 48%,
            #10382a 100%
        );

    box-shadow:
        0 28px 70px rgba(7, 29, 22, 0.18);

    isolation: isolate;
}


/*==============================================================
 4. CTA BACKGROUND
==============================================================*/

.cta-background {
    position: absolute;
    inset: 0;

    z-index: 0;

    overflow: hidden;
    pointer-events: none;
}


.cta-background::before {
    content: "";

    position: absolute;

    width: 460px;
    height: 460px;

    top: -260px;
    right: -100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(212, 175, 104, 0.23),
            rgba(212, 175, 104, 0) 70%
        );
}


.cta-background::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    left: -190px;
    bottom: -270px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0) 70%
        );
}


/*==============================================================
 5. CTA CONTENT
==============================================================*/

.cta-card .cta-content {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 850px;

    margin: 0;
}


/*==============================================================
 6. SECTION KICKER INSIDE CTA
==============================================================*/

.cta-card .section-kicker,
.cta-card .cta-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin: 0 0 16px;

    color: #d9b66e;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.2;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}


.cta-card .section-kicker::before,
.cta-card .cta-eyebrow::before {
    content: "";

    display: block;

    width: 28px;
    height: 1px;

    background: #d9b66e;
}


/*==============================================================
 7. CTA HEADING
==============================================================*/

.cta-card h2,
.cta-card .cta-title {
    max-width: 780px;

    margin: 0;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(36px, 4vw, 58px);

    font-weight: 400;

    line-height: 1.08;

    letter-spacing: -0.035em;
}


/*==============================================================
 8. CTA PARAGRAPH
==============================================================*/

.cta-card .cta-content > p,
.cta-card .cta-text {
    max-width: 670px;

    margin: 19px 0 0;

    color:
        rgba(255, 255, 255, 0.70);

    font-size: 15px;
    font-weight: 400;

    line-height: 1.8;
}


/*==============================================================
 9. CTA ACTIONS
==============================================================*/

.cta-card .cta-actions {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 28px;
}


/*==============================================================
 10. CTA GENERIC BUTTON
==============================================================*/

.cta-card .btn,
.cta-card .cta-btn-primary,
.cta-card .cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 50px;

    padding:
        0 22px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;

    line-height: 1;

    text-decoration: none;

    cursor: pointer;

    transition:
        color .25s ease,
        background-color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}


/*==============================================================
 11. CTA PRIMARY BUTTON
==============================================================*/

.cta-card .btn-primary,
.cta-card .cta-btn-primary {
    color: #10291f;

    border:
        1px solid rgba(222, 186, 111, 0.60);

    background:
        linear-gradient(
            135deg,
            #e1bf7b,
            #c99b49
        );

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18);
}


.cta-card .btn-primary:hover,
.cta-card .cta-btn-primary:hover {
    color: #10291f;

    border-color: #efd598;

    background:
        linear-gradient(
            135deg,
            #efd598,
            #d5a957
        );

    transform:
        translateY(-2px);

    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.24);
}


/*==============================================================
 12. CTA OUTLINE / SECONDARY BUTTON
==============================================================*/

.cta-card .btn-outline,
.cta-card .cta-btn-secondary {
    color: #ffffff;

    border:
        1px solid rgba(255, 255, 255, 0.24);

    background:
        rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


.cta-card .btn-outline:hover,
.cta-card .cta-btn-secondary:hover {
    color: #f0d493;

    border-color:
        rgba(222, 186, 111, 0.50);

    background:
        rgba(222, 186, 111, 0.09);

    transform:
        translateY(-2px);
}


/*==============================================================
 13. BUTTON ICON
==============================================================*/

.cta-card .btn i,
.cta-card .cta-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;

    transition:
        transform .25s ease;
}


.cta-card .btn:hover i,
.cta-card .cta-btn-primary:hover .cta-btn-icon,
.cta-card .cta-btn-secondary:hover .cta-btn-icon {
    transform:
        translateX(3px);
}


/*==============================================================
 14. OPTIONAL CTA TOP LINE
==============================================================*/

.cta-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    z-index: 4;

    width: min(64%, 680px);
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(224, 187, 111, 0.90),
            transparent
        );

    transform:
        translateX(-50%);

    pointer-events: none;
}


/*==============================================================
 15. OPTIONAL PREMIUM INNER BORDER
==============================================================*/

.cta-card::after {
    content: "";

    position: absolute;

    inset: 8px;

    z-index: 1;

    border:
        1px solid rgba(255, 255, 255, 0.035);

    border-radius: 21px;

    pointer-events: none;
}


/*==============================================================
 16. REUSABLE CTA WRAPPER
 Keeps support for other pages
==============================================================*/

.cta-wrapper {
    position: relative;

    width: 100%;
    overflow: hidden;

    border:
        1px solid rgba(183, 138, 61, 0.20);

    border-radius: 28px;

    background: #ffffff;

    box-shadow:
        0 24px 70px rgba(11, 43, 32, 0.08);

    isolation: isolate;
}


/*==============================================================
 17. REUSABLE CTA INNER
==============================================================*/

.cta-inner {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: clamp(30px, 5vw, 70px);

    width: 100%;

    padding:
        clamp(38px, 5vw, 64px);
}


/*==============================================================
 18. REUSABLE CTA CONTENT
==============================================================*/

.cta-wrapper .cta-content {
    position: relative;
    z-index: 3;

    flex: 1 1 600px;

    max-width: 760px;
}


/*==============================================================
 19. REUSABLE EYEBROW
==============================================================*/

.cta-wrapper .cta-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 16px;

    color: #a87528;

    font-size: 12px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: .10em;
    text-transform: uppercase;
}


.cta-wrapper .cta-eyebrow::before {
    content: "";

    width: 28px;
    height: 1px;

    background: #b78a3d;
}


/*==============================================================
 20. REUSABLE TITLE
==============================================================*/

.cta-wrapper .cta-title {
    max-width: 720px;

    margin: 0;

    color: #0b2b20;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(34px, 4vw, 56px);

    font-weight: 400;

    line-height: 1.08;

    letter-spacing: -0.035em;
}


/*==============================================================
 21. REUSABLE TEXT
==============================================================*/

.cta-wrapper .cta-text {
    max-width: 640px;

    margin: 18px 0 0;

    color: #69635c;

    font-size: 15px;

    line-height: 1.8;
}


/*==============================================================
 22. REUSABLE ACTIONS
==============================================================*/

.cta-wrapper .cta-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 26px;
}


/*==============================================================
 23. REUSABLE CTA BUTTONS
==============================================================*/

.cta-btn-primary,
.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 50px;

    padding: 0 22px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;

    line-height: 1;

    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        color .25s ease,
        background-color .25s ease,
        border-color .25s ease;
}


.cta-btn-primary {
    color: #ffffff;

    border:
        1px solid #0b2b20;

    background: #0b2b20;

    box-shadow:
        0 12px 30px rgba(11, 43, 32, 0.16);
}


.cta-btn-primary:hover {
    color: #0b2b20;

    border-color: #d1a653;

    background:
        linear-gradient(
            135deg,
            #e0be79,
            #c99a47
        );

    transform:
        translateY(-2px);
}


.cta-btn-secondary {
    color: #0b2b20;

    border:
        1px solid rgba(183, 138, 61, 0.35);

    background: #faf5e9;
}


.cta-btn-secondary:hover {
    border-color: #c99a47;

    background: #f3e4c5;

    transform:
        translateY(-2px);
}


/*==============================================================
 24. CTA DARK VARIANT
==============================================================*/

.cta-wrapper.cta-dark {
    border-color:
        rgba(212, 175, 104, 0.18);

    background:
        linear-gradient(
            135deg,
            #071d16 0%,
            #0b2b20 48%,
            #10382a 100%
        );

    box-shadow:
        0 28px 75px rgba(7, 29, 22, 0.18);
}


.cta-wrapper.cta-dark .cta-eyebrow {
    color: #d9b66e;
}


.cta-wrapper.cta-dark .cta-title {
    color: #ffffff;
}


.cta-wrapper.cta-dark .cta-text {
    color:
        rgba(255, 255, 255, 0.68);
}


/*==============================================================
 25. CTA GOLD VARIANT
==============================================================*/

.cta-wrapper.cta-gold {
    border-color:
        rgba(183, 138, 61, 0.28);

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fcfaf4 50%,
            #f4ead7 100%
        );
}


/*==============================================================
 26. CTA CENTER
==============================================================*/

.cta-center .cta-inner {
    justify-content: center;
    text-align: center;
}


.cta-center .cta-content {
    max-width: 820px;
    margin: 0 auto;
}


.cta-center .cta-title,
.cta-center .cta-text {
    margin-left: auto;
    margin-right: auto;
}


.cta-center .cta-eyebrow,
.cta-center .cta-actions {
    justify-content: center;
}


/*==============================================================
 27. CTA SPLIT
==============================================================*/

.cta-split .cta-inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(240px, .65fr);

    align-items: center;
}


/*==============================================================
 28. CTA ACTION SIDE
==============================================================*/

.cta-action-side {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: flex-end;
}


/*==============================================================
 29. CTA CONTACT
==============================================================*/

.cta-contact {
    display: flex;
    align-items: center;

    gap: 12px;
}


.cta-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    border:
        1px solid rgba(183, 138, 61, 0.30);

    border-radius: 50%;

    color: #a87528;

    background: #faf5e9;

    font-size: 14px;
}


.cta-contact-label {
    display: block;

    margin-bottom: 4px;

    color: #817a71;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .07em;
    text-transform: uppercase;
}


.cta-contact-value {
    color: #0b2b20;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}


/*==============================================================
 30. CTA FOCUS
==============================================================*/

.cta-card a:focus-visible,
.cta-wrapper a:focus-visible {
    outline:
        2px solid #d5ad60;

    outline-offset: 3px;
}


/*==============================================================
 31. LAPTOP
==============================================================*/

@media (max-width: 1199.98px) {

    .cta-section {
        padding:
            64px 0;
    }


    .cta-card {
        padding:
            48px 50px;
    }


    .cta-inner {
        gap: 30px;
    }

}


/*==============================================================
 32. TABLET
==============================================================*/

@media (max-width: 991.98px) {

    .cta-section {
        padding:
            56px 0;
    }


    .cta-card {
        padding:
            44px 40px;
    }


    .cta-card h2,
    .cta-card .cta-title {
        font-size:
            clamp(34px, 6vw, 48px);
    }


    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }


    .cta-wrapper .cta-content {
        flex: 1 1 auto;

        max-width: 100%;
    }


    .cta-action-side {
        width: 100%;
        justify-content: flex-start;
    }


    .cta-split .cta-inner {
        display: flex;
        flex-direction: column;
    }

}


/*==============================================================
 33. MOBILE
==============================================================*/

@media (max-width: 767.98px) {

    .cta-section {
        padding:
            44px 0;
    }


    .cta-section > .container {
        padding-left: 16px;
        padding-right: 16px;
    }


    .cta-card,
    .cta-wrapper {
        border-radius: 20px;
    }


    .cta-card {
        padding:
            34px 25px;
    }


    .cta-card::after {
        inset: 6px;

        border-radius: 15px;
    }


    .cta-card .section-kicker,
    .cta-card .cta-eyebrow,
    .cta-wrapper .cta-eyebrow {
        margin-bottom: 13px;

        font-size: 10px;
    }


    .cta-card h2,
    .cta-card .cta-title,
    .cta-wrapper .cta-title {
        font-size:
            clamp(31px, 9vw, 43px);

        line-height: 1.08;
    }


    .cta-card .cta-content > p,
    .cta-card .cta-text,
    .cta-wrapper .cta-text {
        margin-top: 15px;

        font-size: 14px;
        line-height: 1.7;
    }


    .cta-card .cta-actions,
    .cta-wrapper .cta-actions {
        gap: 10px;

        margin-top: 23px;
    }


    .cta-inner {
        padding:
            32px 25px;
    }

}


/*==============================================================
 34. SMALL MOBILE
==============================================================*/

@media (max-width: 575.98px) {

    .cta-section {
        padding:
            38px 0;
    }


    .cta-card {
        padding:
            30px 20px;
    }


    .cta-card .cta-actions,
    .cta-wrapper .cta-actions {
        width: 100%;

        flex-direction: column;
        align-items: stretch;
    }


    .cta-card .btn,
    .cta-card .cta-btn-primary,
    .cta-card .cta-btn-secondary,
    .cta-wrapper .cta-btn-primary,
    .cta-wrapper .cta-btn-secondary {
        width: 100%;

        min-height: 48px;
    }


    .cta-inner {
        padding:
            28px 20px;
    }


    .cta-contact {
        width: 100%;
    }

}


/*==============================================================
 35. VERY SMALL MOBILE
==============================================================*/

@media (max-width: 374.98px) {

    .cta-card {
        padding:
            27px 17px;
    }


    .cta-card h2,
    .cta-card .cta-title,
    .cta-wrapper .cta-title {
        font-size: 29px;
    }


    .cta-card .cta-content > p,
    .cta-card .cta-text,
    .cta-wrapper .cta-text {
        font-size: 13px;
    }


    .cta-inner {
        padding:
            25px 17px;
    }

}


/*==============================================================
 36. TOUCH DEVICES
==============================================================*/

@media (hover: none) {

    .cta-card .btn:hover,
    .cta-btn-primary:hover,
    .cta-btn-secondary:hover {
        transform: none;
    }

}


/*==============================================================
 37. REDUCED MOTION
==============================================================*/

@media (prefers-reduced-motion: reduce) {

    .cta-card .btn,
    .cta-btn-primary,
    .cta-btn-secondary,
    .cta-btn-icon {
        transition: none !important;
    }


    .cta-card .btn:hover,
    .cta-btn-primary:hover,
    .cta-btn-secondary:hover {
        transform: none !important;
    }

}


/*==============================================================
 38. FINAL HEIGHT SAFETY
 Prevents giant empty CTA area
==============================================================*/

.cta-section,
.cta-section > .container,
.cta-card,
.cta-wrapper,
.cta-inner,
.cta-content {
    min-height: 0 !important;
}


.cta-card,
.cta-wrapper,
.cta-inner,
.cta-content {
    height: auto !important;
}


/*==============================================================
 END
 RAEES IMPORT & EXPORT
 FINAL CTA COMPONENT
==============================================================*/