/* Marketing pages: contact, closing call to action, footer. */
.contact-section {
    background: var(--m-canvas);
}

.contact-form {
    max-width: 680px;
    margin: 0 auto;
    padding: 36px;
    border: 1px solid var(--m-line);
    border-radius: 24px;
    background: var(--m-surface);
    box-shadow: 0 30px 60px -40px rgba(29, 19, 51, 0.35);
}

.contact-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--m-ink);
    font-size: 0.88rem;
    font-weight: 600;
}

.mk-body .contact-form .form-control {
    min-height: 48px;
    border: 1px solid var(--m-line-strong);
    border-radius: 12px;
    color: var(--m-ink);
    font-size: 0.95rem;
}

.mk-body .contact-form textarea.form-control {
    min-height: 0;
    padding-top: 12px;
}

.mk-body .contact-form .form-control:focus {
    border-color: var(--m-brand);
    box-shadow: var(--m-focus);
}

.contact-form .btn-primary-custom {
    justify-content: space-between;
    margin-top: 6px;
    cursor: pointer;
}

.cta-section {
    position: relative;
    padding: 88px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #3b2370 0%, var(--m-brand) 70%, #8a63d9 100%);
    color: #fff;
    text-align: center;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.4px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent 80%);
    mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent 80%);
}

.cta-section .container {
    position: relative;
}

.cta-title {
    max-width: 18em;
    margin: 0 auto 14px;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

.cta-subtitle {
    max-width: 36em;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
}

.cta-section .btn-primary-custom {
    background: #fff;
    box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.5);
    color: var(--m-brand-strong);
}

.cta-section .btn-primary-custom::after {
    background: var(--m-brand-soft);
}

.cta-section .btn-primary-custom:hover {
    background: var(--m-brand-soft);
    color: var(--m-brand-strong);
}

.cta-note {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.84rem;
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
    padding: 0 0 20px;
    border-top: 1px solid var(--m-line);
    background: var(--m-canvas);
    color: var(--m-ink-2);
}

.footer-topbar {
    display: none;
}

footer .container {
    padding-top: 56px;
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
    gap: 40px;
    margin-bottom: 36px;
}

.footer-logo {
    height: 30px;
    width: auto;
}

.footer-wordmark {
    color: var(--m-ink);
    font-size: 1.15rem;
    font-weight: 700;
}

.footer-section p {
    max-width: 28em;
    color: var(--m-muted);
    font-size: 0.92rem;
}

.footer-section h5 {
    margin: 0 0 14px;
    color: var(--m-ink);
    font-size: 0.92rem;
    font-weight: 600;
}

.footer-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--m-muted);
    font-size: 0.92rem;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: var(--m-brand-strong);
    text-decoration: underline;
}

.footer-bottom {
    padding: 20px 0 14px;
    border-top: 1px solid var(--m-line);
    color: var(--m-muted);
    font-size: 0.84rem;
    text-align: center;
}

@media (max-width: 767.98px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
    }

    .contact-form {
        padding: 24px 18px;
    }
}
