/* =========================================
   KUSH ARCHITECTS - HOMEPAGE CTA
   File: public/assets/css/homepage-cta.css
========================================= */

.homepage-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 76px 20px;
    background: #f3f0e9;
}

.homepage-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(184, 145, 94, 0.15),
            transparent 38%
        );
    pointer-events: none;
}

.homepage-cta-container {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.homepage-cta-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.homepage-cta-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #987044;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.homepage-cta-title {
    margin: 0 0 18px;
    color: #25231f;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.2;
    text-wrap: balance;
}

.homepage-cta-description {
    max-width: 690px;
    margin: 0 auto;
    color: #5c5952;
    font-size: 16px;
    line-height: 1.8;
}

.homepage-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}

.homepage-cta-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 23px;
    border: 1px solid #25231f;
    border-radius: 5px;
    background: #25231f;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    transition: background 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease,
                transform 0.2s ease;
}

.homepage-cta-button:hover {
    transform: translateY(-2px);
    background: #454037;
    border-color: #454037;
    color: #fff !important;
}

.homepage-cta-button:focus-visible {
    outline: 3px solid #b48b56;
    outline-offset: 4px;
}

.homepage-cta-button--whatsapp {
    background: #fff;
    border-color: #777065;
    color: #25231f !important;
}

.homepage-cta-button--whatsapp:hover {
    background: #e9e3d8;
    border-color: #777065;
    color: #25231f !important;
}

.homepage-cta-button--projects {
    background: transparent;
    border-color: transparent;
    color: #25231f !important;
    text-decoration: underline !important;
    text-underline-offset: 5px;
}

.homepage-cta-button--projects:hover {
    background: transparent;
    border-color: transparent;
    color: #987044 !important;
}

@media (max-width: 600px) {
    .homepage-cta {
        padding: 52px 18px;
    }

    .homepage-cta-title {
        font-size: clamp(28px, 7vw, 36px);
    }

    .homepage-cta-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .homepage-cta-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 24px;
    }

    .homepage-cta-button {
        width: 100%;
        box-sizing: border-box;
    }

    .homepage-cta-button--projects {
        width: auto;
        align-self: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .homepage-cta-button {
        transition: none;
    }

    .homepage-cta-button:hover {
        transform: none;
    }
}
