/* Shared footer: contact, compact navigation and the two existing platforms. */
.aomark-footer {
    padding: 60px 0 26px;
    background:
        radial-gradient(ellipse at 95% 0, #743cc51c, transparent 55%),
        radial-gradient(ellipse at 0 0, #c8703110, transparent 40%),
        #090c12;
}
.ad-footer-lead {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: center;
    padding-bottom: 36px;
    margin-bottom: 36px;
    border-bottom: 1px solid #b895db26;
}
.ad-footer-lead > * { min-width: 0; margin-block: 0; }
.ad-footer-brand .wp-block-site-logo { margin-bottom: 18px; }
.ad-footer-brand .ad-shared-footer-text { max-width: 340px; font-size: 14px; margin: 0; }
.ad-footer-contact { text-align: right; }
.ad-footer-contact .am-eyebrow { margin: 0 0 12px; }
.ad-footer-contact h2 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; margin: 0 0 16px; }
.ad-footer-contact .ad-shared-email { margin: 0; }
.ad-footer-contact .ad-shared-email a {
    color: #d5b8ff;
    font-size: clamp(16px, 1.6vw, 20px);
    text-decoration: none;
    border-bottom: 1px solid #bb8fea70;
    padding-bottom: 4px;
}
.ad-footer-contact .ad-shared-email a:hover { color: #fff; border-color: #ff9757; }
.aomark-footer .ad-footer-grid {
    grid-template-columns: 1.8fr 1fr .8fr 1.4fr;
    gap: 36px;
}
.ad-footer-column { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ad-footer-column > :is(h2, p) { margin: 0; }
.ad-footer-column h2 { margin-bottom: 8px; font-size: 16px; }
.ad-footer-column p { font-size: 14px; line-height: 1.5; }
.ad-footer-column > p > a { display: inline-block; padding-block: 3px; }
.ad-footer-column.ad-footer-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 22px;
    align-content: start;
}
.ad-footer-services h2 { grid-column: 1 / -1; }
.ad-footer-platforms > p > a {
    display: block;
    position: relative;
    padding: 13px 38px 13px 16px;
    background: linear-gradient(120deg, #7c3aed13, #ffffff03);
    border: 1px solid #b28ce431;
    border-radius: 12px;
    transition: background .2s, border-color .2s;
}
.ad-footer-platforms a:hover { background: #8c4ddc1e; border-color: #b28ce47a; }
.ad-footer-platforms a > strong { display: block; color: #f2eafa; font-size: 14px; }
.ad-footer-platforms a > br { display: none; }
.ad-footer-platforms a > span { display: block; font-size: 12px; color: #b6afc6; margin-top: 3px; }
.ad-footer-platforms a::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 17px;
    width: 16px;
    height: 16px;
    background: #c6a2f4;
    mask: url('../icons/arrow-up-right.svg') center / contain no-repeat;
}
.ad-footer-legal { border-top: 1px solid #b895db26; margin-top: 32px; padding-top: 24px; }
.ad-footer-legal h2 { font-size: 14px; letter-spacing: 0; margin: 0 0 12px; text-align: center; }
.ad-footer-legal ul { display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; gap: 4px 24px; list-style: none; padding: 0; margin: 0; }
.ad-footer-legal li { margin: 0; font-size: 12px; line-height: 1.5; }
.ad-footer-legal a { display: inline-block; padding-block: 6px; color: #b6b8c6; text-decoration: none; }
.ad-footer-legal a:hover { color: #d0b6ff; text-decoration: underline; }
.aomark-footer .ad-footer-bottom { margin-top: 22px; padding-top: 0; border-top: 0; font-size: 12px; gap: 16px 28px; justify-content: center; align-items: center; text-align: center; }
@media (max-width: 1100px) {
    .aomark-footer .ad-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (max-width: 700px) {
    .aomark-footer { padding-top: 42px; }
    .ad-footer-lead { grid-template-columns: 1fr; gap: 30px; padding-bottom: 28px; margin-bottom: 28px; }
    .aomark-footer .ad-footer-grid { gap: 28px 22px; }
    .ad-footer-services, .ad-footer-platforms { grid-column: 1 / -1; }
    .ad-footer-column { gap: 8px; }
    .ad-footer-column > p > a { padding-block: 6px; }
    .ad-footer-platforms > p > a { padding: 14px 38px 14px 16px; }
    .ad-footer-legal ul { justify-content: center; gap: 4px 18px; text-align: center; }
    .aomark-footer .ad-footer-bottom { flex-direction: column; }
}
