/* ==========================================================================
   Блок «О районе» под видео-hero страницы района (дизайн клиента).
   Подключается только в контексте property_area (inc/mm-area-about.php).
   Токены — из assets/css/mm-preview.css (:root).
   ========================================================================== */

.mm-aa {
    background: var(--mm-paper, #f7f3ec);
    border-bottom: 1px solid var(--mm-line, rgba(32, 36, 31, .14));
    font-family: var(--mm-sans, Inter, system-ui, sans-serif);
}

.mm-aa-in {
    max-width: 1500px;
    margin: 0 auto;
    padding: clamp(34px, 4.2vw, 56px) clamp(18px, 4vw, 64px) clamp(32px, 4vw, 52px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 40px;
    align-items: start;
}

/* ---------- Левая колонка ---------- */
.mm-aa-eyebrow {
    margin: 0 0 12px;
    font-weight: 800;
    font-size: 11px;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mm-gold, #ad8b51);
}

.mm-aa-h2 {
    margin: 0 0 20px;
    max-width: 600px;
    font-family: var(--mm-serif, "Cormorant Garamond", Georgia, serif);
    font-weight: 400;
    font-size: clamp(30px, 3.1vw, 42px);
    line-height: 1.06;
    color: var(--mm-ink, #20241f);
}

.mm-aa-text {
    column-count: 2;
    column-gap: 40px;
    margin: 0 0 24px;
}
.mm-aa-text p {
    margin: 0 0 12px;
    font-size: 14.5px;
    line-height: 1.62;
    color: var(--mm-muted, #6d7169);
}
.mm-aa-text p:last-child { margin-bottom: 0; }

.mm-aa-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.mm-aa-chip {
    display: inline-flex;
    align-items: center;
    background: var(--mm-white, #fff);
    border: 1px solid rgba(32, 36, 31, .14);
    border-radius: var(--mm-radius-pill, 999px);
    padding: 9px 18px;
    font-weight: 500;
    font-size: 13.5px;
    line-height: 1.2;
    color: var(--mm-ink, #20241f);
    text-decoration: none;
    transition: border-color .18s ease, color .18s ease;
}
.mm-aa-chip:hover,
.mm-aa-chip:focus {
    border-color: rgba(32, 36, 31, .38);
    color: var(--mm-ink, #20241f);
    text-decoration: none;
}
.mm-aa-chip-map {
    background: transparent;
    border-color: rgba(173, 139, 81, .5);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--mm-gold, #ad8b51);
}
.mm-aa-chip-map:hover,
.mm-aa-chip-map:focus {
    border-color: rgba(173, 139, 81, .9);
    color: var(--mm-gold, #ad8b51);
}

/* ---------- Правая карточка «Как мы работаем» ---------- */
.mm-aa-card {
    background: var(--mm-surface, #fbfaf6);
    border: 1px solid rgba(32, 36, 31, .12);
    border-radius: 10px;
    box-shadow: 0 16px 42px rgba(28, 33, 25, .06);
    overflow: hidden;
}
.mm-aa-card-head {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(32, 36, 31, .10);
    font-weight: 800;
    font-size: 11px;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mm-gold, #ad8b51);
}
.mm-aa-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mm-aa-li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 14px 22px;
    border-bottom: 1px solid rgba(32, 36, 31, .10);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.35;
    color: var(--mm-ink, #20241f);
}
.mm-aa-li:last-child { border-bottom: none; }
.mm-aa-ico {
    flex: none;
    width: 18px;
    height: 18px;
}
.mm-aa-film {
    margin: 0;
    padding: 14px 22px;
    border-top: 1px solid rgba(32, 36, 31, .10);
    font-size: 13px;
    line-height: 1.5;
    color: var(--mm-muted, #6d7169);
}
.mm-aa-cta {
    padding: 18px 22px;
    border-top: 1px solid rgba(32, 36, 31, .10);
}
.mm-aa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 10px 16px;
    background: var(--mm-ink, #20241f);
    color: var(--mm-paper, #f7f3ec);
    border-radius: var(--mm-radius, 6px);
    font-weight: 800;
    font-size: 11.5px;
    letter-spacing: .06em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .18s ease;
}
.mm-aa-btn:hover,
.mm-aa-btn:focus {
    background: var(--mm-olive, #18231d);
    color: var(--mm-paper, #f7f3ec);
    text-decoration: none;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
    .mm-aa-in { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; }
}
@media (max-width: 980px) {
    .mm-aa-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .mm-aa-card { max-width: 520px; }
}
@media (max-width: 900px) {
    .mm-aa-text { column-count: 1; }
}
@media (max-width: 640px) {
    .mm-aa-in { padding: 26px 18px 30px; gap: 24px; }
    .mm-aa-h2 { margin-bottom: 16px; }
    .mm-aa-text { margin-bottom: 20px; }
    .mm-aa-chip { padding: 8px 14px; font-size: 12.5px; }
    .mm-aa-card { max-width: none; }
}

/* ---------- Клоакинг мессенджер-ссылок ----------
   Тема превращает ссылки wa.me/t.me в <button data-mm-msg> и сбрасывает им
   font/padding/color/border (mm-preview.css). Возвращаем вид кнопки блока
   селектором с более высокой специфичностью. */
.mm-aa button[data-mm-msg].mm-aa-btn,
.mm-aa button[data-mm-msg].mm-aa-btn:hover,
.mm-aa button[data-mm-msg].mm-aa-btn:focus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 16px;
    border: 0;
    border-radius: var(--mm-radius, 6px);
    background: var(--mm-ink, #20241f);
    color: var(--mm-paper, #f7f3ec);
    font-family: var(--mm-sans, Inter, system-ui, sans-serif);
    font-weight: 800;
    font-size: 11.5px;
    line-height: 1.2;
    letter-spacing: .06em;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
}
.mm-aa button[data-mm-msg].mm-aa-btn:hover,
.mm-aa button[data-mm-msg].mm-aa-btn:focus {
    background: var(--mm-olive, #18231d);
}
