/* ============================
   GLOBAL FOOTER CTA
   ============================ */

.footer-cta {
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(200,167,99,0.18), rgba(0,0,0,0.95)),
        radial-gradient(circle at bottom right, rgba(200,167,99,0.12), #000);
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.8);
    overflow: hidden;
    margin-bottom: 2.5rem; /* extra space before footer menu */
}

.footer-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255,255,255,0.04), transparent 65%);
    opacity: 0.7;
    pointer-events: none;
}

.footer-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    box-sizing: border-box;
}

/* Text block */
.footer-cta-text {
    flex: 1 1 55%;
}

.footer-cta-title {
    font-family: 'Algerian', var(--header-font, serif);
    font-size: clamp(2rem, 3vw, 2.6rem);
    color: #c8a763;
    margin: 0 0 0.75rem 0;
    text-shadow:
        0 2px 4px rgba(0,0,0,0.45),
        0 4px 10px rgba(0,0,0,0.35);
        text-align: left;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.footer-cta-subtitle {
    color: #e6e6e6;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 520px;
    margin: 0;
    opacity: 0.9;
    text-align: left;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Actions */
.footer-cta-actions {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    text-align: right;
}

.footer-cta-primary,
.footer-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    font-family: 'Algerian', var(--header-font, serif);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition:
        transform 0.15s ease-out,
        box-shadow 0.15s ease-out,
        background 0.2s ease-out,
        color 0.2s ease-out,
        border-color 0.2s ease-out;
}

/* Primary CTA button */
.footer-cta-primary {
    background: linear-gradient(135deg, #c8a763, #7b6c55);
    color: #000;
    box-shadow: 0 8px 22px rgba(200,167,99,0.4);
    border: 1px solid rgba(0,0,0,0.85);
}

.footer-cta-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 28px rgba(200,167,99,0.55);
    background: linear-gradient(135deg, #7b6c55, #c8a763);
}

/* Secondary CTA (outline) */
.footer-cta-secondary {
    background: transparent;
    color: #c8a763;
    border: 1px solid rgba(200,167,99,0.7);
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

.footer-cta-secondary:hover {
    transform: translateY(-1px);
    background: rgba(200,167,99,0.12);
    box-shadow: 0 6px 16px rgba(0,0,0,0.6);
}

/* Meta text */
.footer-cta-meta {
    margin: 0.35rem 0 0 0;
    font-size: 0.9rem;
    color: #d0d0d0;
    opacity: 0.85;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.footer-cta-meta a {
    color: #f5e0a0;
    text-decoration: none;
    border-bottom: 1px dotted rgba(245,224,160,0.8);
}

.footer-cta-meta a:hover {
    opacity: 1;
    border-bottom-style: solid;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .footer-cta-actions {
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }

    .footer-cta-primary,
    .footer-cta-secondary {
        width: 100%;
        justify-content: center;
    }

    .footer-cta-title {
        font-size: 1.5rem;
        letter-spacing: 0.06em;
        white-space: wrap;
    }
}

@media (max-width: 480px) {
    .footer-cta {
        padding: 2.5rem 0;
        margin-bottom: 2rem; /* slightly less on tiny screens */
    }

    .footer-cta-title {
        font-size: 1.8rem;
        letter-spacing: 0.06em;
        white-space: wrap;
    }

    .footer-cta-subtitle {
        font-size: 0.98rem;
    }

    .footer-cta-meta {
        font-size: 0.86rem;
    }
}