/* ═══════════════════════════════════════════════════════════
   ВЫГОДНЫЕ СДЕЛКИ — Landing styles
   Modern minimalism · Inter/Manrope · glassmorphism · real map
   ═══════════════════════════════════════════════════════════ */

:root {
    --gold:        #DBA77D;
    --gold-light:  #F0C9A6;
    --gold-deep:   #B07F52;
    --cream:       #FEF5E4;
    --beige:       #F5E6D3;
    --beige-dark:  #533E2D;
    --almost-black:#2E2A24;
    --ink:         #14110D;
    --mist:        rgba(255, 255, 255, 0.55);
    --glass-bg:    rgba(255, 255, 255, 0.55);
    --glass-border:rgba(255, 255, 255, 0.75);
    --glass-shadow:0 8px 32px rgba(46, 42, 36, 0.10);
    --soft-shadow: 0 10px 40px rgba(46, 42, 36, 0.08);
}

* { -webkit-font-smoothing: antialiased; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Manrope', system-ui, -apple-system, sans-serif;
    color: var(--almost-black);
    background:
        radial-gradient(1200px 600px at 10% -10%, #FFE7C9 0%, transparent 60%),
        radial-gradient(1000px 500px at 100% 0%, #F0D8B8 0%, transparent 55%),
        radial-gradient(800px 800px at 50% 110%, #FBE4C2 0%, transparent 60%),
        linear-gradient(180deg, #FEF5E4 0%, #FAEEDC 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Легкий слой кинематографичного шума поверх всего — убирает «стерильность»
   и color banding, добавляет тактильность (Awwwards-приём). Не мешает кликам. */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 256px;
}

/* ─── Decorative blobs ─── */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
    animation: float 18s ease-in-out infinite;
}
.blob-1 { top: -120px; left: -120px;  width: 380px; height: 380px; background: #FFD9A8; }
.blob-2 { top: 40%;    right: -160px; width: 420px; height: 420px; background: #F5C99B; animation-delay: -6s; }
.blob-3 { bottom: -150px; left: 30%; width: 460px; height: 460px; background: #FFE4C2; animation-delay: -12s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(30px, -40px) scale(1.06); }
}

/* ─── Glass cards ─── */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
}
.glass-strong {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 20px 60px rgba(46, 42, 36, 0.10);
    border-radius: 28px;
}

/* ─── Section spacing ─── */
.section {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}
.section-narrow { padding: 60px 0; }

/* ─── Container ─── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Navbar ─── */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(254, 245, 228, 0.65);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    transition: all .3s ease;
}
/* Скрытие шапки при скролле вниз / показ при скролле вверх */
.nav-nav-hidden { transform: translateY(-100%); }
.nav.is-scrolled {
    background: rgba(254, 245, 228, 0.88);
    border-bottom-color: rgba(46, 42, 36, 0.10);
    box-shadow: 0 6px 24px rgba(46, 42, 36, 0.08);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: 0.02em;
    font-size: 1.1rem;
}
.logo-mark {
    width: 38px; height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    display: grid; place-items: center;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(176, 127, 82, 0.40);
}
/* Марка Show Days (SVG-пин карты + календарь) */
.logo-mark-img {
    width: 38px; height: 38px;
    border-radius: 12px;
    display: block;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
}
.nav-links {
    display: flex; align-items: center; gap: 8px;
}
.nav-link {
    padding: 9px 16px;
    border-radius: 12px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all .2s ease;
}
.nav-link:hover { background: rgba(255, 255, 255, 0.55); }
.nav-cta {
    background: var(--ink);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 6px 18px rgba(26, 24, 20, 0.25);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(26, 24, 20, 0.32); }

/* Логотип + подпись (доверия) */
.logo-text { display: flex; flex-direction: row; align-items: baseline; gap: 2px; white-space: nowrap; }
.logo-text em { font-style: normal; color: var(--gold-deep, #8a6d3f); }
[data-theme="dark"] .logo-text em { color: var(--gold-light, #F0C9A6); }
.logo-tagline {
    font-weight: 500; font-size: 0.66rem; letter-spacing: 0.02em;
    color: var(--gold-deep, #8a6d3f); opacity: 0.9;
}
/* Пункт «Конфиденциальность» — акцент доверия */
.nav-link-trust {
    color: var(--gold-deep, #8a6d3f);
    font-weight: 600;
    border: 1px solid rgba(138, 109, 63, 0.35);
}
.nav-link-trust:hover { background: rgba(138, 109, 63, 0.10); }
/* Пункт «Гид» — лёгкий акцент */
.nav-link-guide { font-weight: 600; }

.mobile-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column;
        background: rgba(254, 245, 228, 0.95);
        backdrop-filter: blur(20px);
        padding: 20px;
        gap: 6px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    }
    .nav-links.open .nav-link, .nav-links.open .nav-cta { width: 100%; text-align: center; }
    .mobile-toggle { display: block; }
}

/* ─── Hero — компактнее прежнего ─── */
.hero {
    position: relative;
    padding: 84px 0 40px;
    z-index: 1;
    text-align: center;
    overflow: hidden;
}
/* Дышащие аура-орбы за hero — космические источники света.
   Без JS: чистые радиальные градиенты с медленной анимацией дрейфа. */
.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.85;
}
.hero::before {
    width: 520px; height: 520px;
    left: -90px; top: -60px;
    background: radial-gradient(circle, rgba(20,184,166,0.45) 0%, rgba(15,118,110,0.15) 45%, transparent 70%);
    animation: orbFloat1 16s ease-in-out infinite;
}
.hero::after {
    width: 460px; height: 460px;
    right: -80px; top: 10px;
    background: radial-gradient(circle, rgba(219,167,125,0.50) 0%, rgba(219,167,125,0.14) 50%, transparent 72%);
    animation: orbFloat2 20s ease-in-out infinite;
}
@keyframes orbFloat1 {
    0%,100% { transform: translate(0,0); }
    50%     { transform: translate(40px,30px); }
}
@keyframes orbFloat2 {
    0%,100% { transform: translate(0,0); }
    50%     { transform: translate(-35px,20px); }
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--beige-dark);
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(46, 42, 36, 0.06);
}
.hero-pill .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #4ADE80;
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.20);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.20); }
    50%      { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0.10); }
}

.hero h1 {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: clamp(36px, 5.4vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.035em;
    font-weight: 800;
    color: var(--ink);
    max-width: 940px;
    margin: 0 auto 20px;
    text-wrap: balance;
}
.hero h1 .accent {
    background: linear-gradient(135deg, #14B8A6 0%, #0F766E 50%, #0D9488 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 20px rgba(20,184,166,0.18));
}
.hero p.lead {
    font-size: clamp(1.0rem, 1.3vw, 1.15rem);
    line-height: 1.55;
    max-width: 640px;
    margin: 0 auto 22px;
    color: rgba(46, 42, 36, 0.78);
}

/* Компактная строка доверия + защита — под hero */
.hero-trust {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    margin-top: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    font-size: 0.88rem;
    color: var(--beige-dark);
    box-shadow: 0 4px 14px rgba(46, 42, 36, 0.05);
}
.hero-trust .trust-item { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.hero-trust .trust-ico { font-size: 1rem; }
.hero-trust .trust-dot {
    width: 4px; height: 4px; border-radius: 50%;
    background: rgba(83, 62, 45, 0.3);
}
@media (max-width: 640px) {
    .hero-trust .trust-dot { display: none; }
    .hero-trust { gap: 6px 10px; padding: 10px 14px; }
}

/* ─── Блок №2 UTP: полоса выгод ─── */
.utp-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 760px;
    margin: 26px auto 20px;
}
.utp-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(46, 42, 36, 0.06);
    min-width: 200px;
    flex: 1 1 200px;
    text-align: left;
}
.utp-icon {
    font-size: 1.35rem;
    flex-shrink: 0;
}
.utp-item strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--beige-dark, #2e2a24);
    line-height: 1.2;
}
.utp-item div > span {
    display: block;
    font-size: 0.8rem;
    color: rgba(46, 42, 36, 0.62);
    line-height: 1.35;
    margin-top: 2px;
}
.btn-hero {
    margin-top: 6px;
    padding: 14px 28px;
    font-size: 1rem;
}
@media (max-width: 640px) {
    .utp-item { min-width: 100%; flex: 1 1 100%; }
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    transition: transform .2s, box-shadow .2s, background .2s;
    font-family: inherit;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(176, 127, 82, 0.40);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(176, 127, 82, 0.50); }
.btn-dark {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 10px 24px rgba(26, 24, 20, 0.28);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(26, 24, 20, 0.36); }
.btn-ghost {
    background: rgba(255, 255, 255, 0.65);
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.85); transform: translateY(-2px); }

/* ─── Section headings — обновлено под минимализм ─── */
.section-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--gold-deep);
    margin-bottom: 10px;
}
.section-title {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: clamp(26px, 3.2vw, 40px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: var(--ink);
    max-width: 800px;
    margin: 0 0 14px;
}
.section-lead {
    font-size: 1.02rem;
    line-height: 1.6;
    color: rgba(46, 42, 36, 0.72);
    max-width: 680px;
    margin: 0 0 40px;
}
.section-head { text-align: left; }
.section-head.center { text-align: center; margin: 0 auto 36px; }
.section-head.center .section-title,
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════════════
   ① SHOW DAYS — РЕАЛЬНАЯ КАРТА (ДОМИНИРУЕТ)
   ═══════════════════════════════════════════════════════ */
.showdays { padding: 40px 0 80px; }

/* ─── Панель фильтров карты ─── */
.map-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.map-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(46, 42, 36, 0.10);
}
.map-tab {
    border: 0;
    cursor: pointer;
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    background: transparent;
    color: var(--ink, #2e2a24);
    transition: all .25s;
}
.map-tab:not(.active) { color: rgba(46, 42, 36, 0.6); }
.map-tab.active {
    background: linear-gradient(135deg, #0F766E 0%, #14B8A6 55%, #2DD4BF 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.45), inset 0 1px 0 rgba(255,255,255,0.25);
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.map-tab:not(.active):hover { background: rgba(15, 118, 110, 0.10); }

.map-chips {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}
.map-chips[hidden] { display: none; }
.map-chip {
    border: 1px solid rgba(15, 118, 110, 0.28);
    cursor: pointer;
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    background: rgba(255, 255, 255, 0.82);
    color: #0F766E;
    transition: all .22s;
}
.map-chip.active {
    background: linear-gradient(135deg, #DBA77D 0%, #ECD06F 55%, #F3C89A 100%);
    border-color: transparent;
    color: #3A2A18;
    box-shadow: 0 6px 18px rgba(219, 167, 125, 0.5), inset 0 1px 0 rgba(255,255,255,.4);
    font-weight: 800;
}
.map-chip:not(.active):hover {
    background: rgba(15, 118, 110, 0.14);
    border-color: rgba(15, 118, 110, 0.5);
    transform: translateY(-1px);
}

.map-count {
    margin-left: auto;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0F766E;
    white-space: nowrap;
}

.map-frame {
    position: relative;
    padding: 0;
    overflow: hidden;
    border-radius: 28px;
    height: clamp(380px, 56vh, 560px);
    box-shadow: 0 30px 80px rgba(46, 42, 36, 0.18);
}

.map-canvas {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    /* важно: Leaflet сам управляет фоном, но задаём для первого кадра */
    background: #E8E1D2;
}

/* Кнопка «развернуть на весь экран» — как в торговых терминалах */
.map-fs-btn {
    position: absolute;
    top: 16px; right: 16px;
    z-index: 600;
    width: 42px; height: 42px;
    border: 0; cursor: pointer;
    border-radius: 13px;
    display: grid; place-items: center;
    background: var(--card, rgba(255,255,255,0.92));
    border: 1px solid var(--border, rgba(0,0,0,0.08));
    box-shadow: 0 6px 16px rgba(0,0,0,0.10);
    color: var(--ink, #2E2A24);
    transition: transform .15s ease, background .2s ease, color .2s ease;
}
/* Кнопка «моё местоположение» — под fullscreen, отдельная */
.map-locate-btn {
    top: 66px; right: 16px;
    z-index: 600;
}
body.map-fs .map-locate-btn { position: fixed; top: 66px; right: 18px; z-index: 10002; }
/* В fullscreen локатор НЕ должен наследовать позицию map-fs-btn (top:18px) —
   усиливаем специфичность, чтобы он оставался ПОД кнопкой «Свернуть». */
body.map-fs button.map-locate-btn {
    position: fixed;
    top: 70px;
    right: 18px;
    z-index: 10002;
}
.map-locate-btn.locating { color: var(--accent, #0F766E); }
[data-theme="dark"] .map-locate-btn.locating { color: #2DD4BF; }
.map-fs-btn:hover { background: #fff; color: var(--accent, #0F766E); }
.map-fs-btn:active { transform: scale(0.94); }
[data-theme="dark"] .map-fs-btn {
    background: rgba(26,22,17,0.9);
    border-color: rgba(255,255,255,0.22);
    color: #E2E8F0;
}
[data-theme="dark"] .map-fs-btn:hover { background: rgba(40,34,28,0.95); color: #2DD4BF; }

/* Полноэкранный режим карты (на весь экран, как график в терминале) */
.map-frame.map-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* динамическая высота viewport — точнее на мобильных с адресной панелью */
    border-radius: 0;
    box-shadow: none;
    /* сброс AOS-transform: transform создаёт stacking-context, ломая z-index поверх шапки */
    transform: none !important;
}
.map-frame.map-fullscreen .map-canvas { border-radius: 0; }
/* В полноэкранном режиме шапка уезжает (как в терминале) */
body.map-fs .nav { transform: translateY(-110%); transition: transform .25s ease; }
/* На мобильных блокируем скролл и «резиновое» подтягивание: фиксируем body целиком,
   иначе под картой проглядывает контент (новости/футер) при 100vh с динамической панелью */
body.map-fs {
    overflow: hidden;
    position: fixed;
    inset: 0;
    width: 100%;
}
/* ГАРАНТИРОВАННЫЙ фикс: в fullscreen скрываем ВСЕ остальные секции (.hero, новости, футер).
   `.map-frame` лежит внутри #showdays (position:relative; z-index:1), что создаёт отдельный
   stacking-context — из-за него z-index карты не «вырывается» над поздней по DOM секцией #news,
   и на некоторых браузерах новости проглядывают поверх карты. Скрытие убирает проблему навсегда. */
body.map-fs .hero,
body.map-fs #news,
body.map-fs footer,
body.map-fs section:not(#showdays) {
    display: none !important;
}

/* В полноэкранном режиме панель фильтров (События/Эксперты + чипы)
   закрепляется сверху поверх карты, выходя из потока секции */
body.map-fs .map-toolbar {
    position: fixed;
    top: 12px;
    left: 14px;
    right: 72px;            /* освобождаем место под кнопку «свернуть» справа */
    z-index: 10001;
    margin: 0;
    padding: 10px 14px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}
body.map-fs .map-fs-btn {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 10002;
}
body.map-fs .map-toolbar .map-tabs,
body.map-fs .map-toolbar .map-chips {
    /* уплотняем чипы в fullscreen */
    gap: 6px;
}
body.map-fs .map-toolbar .map-chip {
    padding: 8px 14px;
    font-size: 0.85rem;
}
/* Тёмная тема: панель фильтров поверх карты в fullscreen */
[data-theme="dark"] body.map-fs .map-toolbar {
    background: rgba(20, 17, 13, 0.86);
    border-color: rgba(255, 255, 255, 0.16);
}

/* В fullscreen кнопки зума (+/−) Leaflet переносим на ПРАВЫЙ край карты,
   вертикально по середине экрана — удобно жать одним правым пальцем.
   (стандартно они слева сверху и их перекрывает панель фильтров) */
body.map-fs .leaflet-top.leaflet-left {
    left: auto;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10002;
}
body.map-fs .leaflet-control-zoom {
    border: 0 !important;
    border-radius: 13px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.30) !important;
    overflow: hidden;
}
body.map-fs .leaflet-control-zoom a {
    width: 42px !important;
    height: 42px !important;
    line-height: 40px !important;
    font-size: 20px !important;
    color: var(--ink, #2E2A24) !important;
    background: var(--card, rgba(255,255,255,0.94)) !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}
body.map-fs .leaflet-control-zoom a:hover {
    background: #fff !important;
    color: var(--accent, #0F766E) !important;
}
[data-theme="dark"] body.map-fs .leaflet-control-zoom a {
    color: #E2E8F0 !important;
    background: rgba(26,22,17,0.92) !important;
    border-bottom-color: rgba(255,255,255,0.14) !important;
}

/* Кастомные Leaflet-маркеры — круглый значок: эксперт=человечек, событие=календарь.
   Цвет фона по категории/типу сохраняется. */
.leaflet-marker-icon.sd-pin {
    background: transparent;
    border: 0;
}
.sd-pin-badge {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: grid; place-items: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32);
    border: 3px solid #fff;
    position: relative;
}
.sd-pin-badge svg { display: block; }
.sd-pin-badge.expert   { background: linear-gradient(135deg, #B07F52 0%, #DBA77D 100%); }
.sd-pin-badge.agent    { background: linear-gradient(135deg, #0F766E 0%, #2DD4BF 100%); } /* агент — бирюзовый */
.sd-pin-badge.lawyer   { background: linear-gradient(135deg, #1D4ED8 0%, #60A5FA 100%); } /* юрист — синий */
.sd-pin-badge.tax      { background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%); } /* налоговый — фиолетовый */
.sd-pin-badge.mortgage { background: linear-gradient(135deg, #C2410C 0%, #FB923C 100%); } /* ипотечный брокер — оранжевый */
.sd-pin-badge.helper   { background: linear-gradient(135deg, #15803D 0%, #4ADE80 100%); } /* свободный помощник — зелёный */
.sd-pin-badge.show     { background: linear-gradient(135deg, #2563EB 0%, #60A5FA 100%); }
.sd-pin-badge.master   { background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%); }
.sd-pin-badge.seminar  { background: linear-gradient(135deg, #0F766E 0%, #2DD4BF 100%); }
.sd-pin-badge.broker   { background: linear-gradient(135deg, #EA580C 0%, #FB923C 100%); }

/* Маркер «куда нашёл поиск» — пульсирующая точка */
.sd-search-dot {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--accent, #0F766E);
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.35), 0 6px 16px rgba(0,0,0,0.35);
    animation: sd-search-pulse 1.8s ease-out infinite;
    box-sizing: border-box;
}
@keyframes sd-search-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(15,118,110,0.45), 0 6px 16px rgba(0,0,0,0.35); }
    70%  { box-shadow: 0 0 0 14px rgba(15,118,110,0), 0 6px 16px rgba(0,0,0,0.35); }
    100% { box-shadow: 0 0 0 0 rgba(15,118,110,0), 0 6px 16px rgba(0,0,0,0.35); }
}

/* Плавающая панель CTA поверх карты */
.map-overlay {
    position: absolute;
    left: 16px; right: 16px; bottom: 16px;
    z-index: 500;
    padding: 14px 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 16px 40px rgba(46, 42, 36, 0.18);
}
.map-overlay-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.map-stat {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.88rem;
    color: var(--ink);
    font-weight: 500;
    white-space: nowrap;
}
.map-stat strong { font-weight: 800; color: var(--ink); }
.map-stat-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #4ADE80;
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25);
}
.map-stat-dot.live    { background: #2563EB; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25); }
.map-stat-dot.auction { background: #DC2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.25); animation: pulse-red 1.8s ease-in-out infinite; }
@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.25); }
    50%      { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.10); }
}
.map-overlay-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.map-overlay-actions .btn { padding: 10px 16px; font-size: 0.88rem; }

/* Компактные счётчики: эмодзи + число (без слов) */
.map-stat { gap: 6px; font-size: 0.95rem; }
.map-stat .ms-ico { font-size: 0.95rem; line-height: 1; }
.map-stat strong { font-size: 0.98rem; }

/* Кнопка-лупа поиска (для мобильного; на десктопе скрыта) */
.map-search-toggle {
    display: none;
    border: 0;
    cursor: pointer;
    width: 42px; height: 42px;
    border-radius: 13px;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: var(--card, rgba(255,255,255,0.92));
    border: 1px solid var(--border, rgba(0,0,0,0.08));
    box-shadow: 0 6px 16px rgba(0,0,0,0.10);
    transition: transform .15s ease;
}
.map-search-toggle:active { transform: scale(0.94); }
[data-theme="dark"] .map-search-toggle {
    background: rgba(26,22,17,0.9);
    border-color: rgba(255,255,255,0.22);
}

/* Поиск города/адреса по карте (Nominatim). Выпадающие подсказки — вверх, поверх карты. */
.map-search { position: relative; flex: 1 1 280px; min-width: 220px; }
.map-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--border, rgba(255,255,255,0.14));
    background: var(--card, rgba(255,255,255,0.92));
    color: var(--ink, #1f1f1f);
    font-size: 0.9rem;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.map-search-input::placeholder { color: var(--ink-soft, #9aa0a6); }
.map-search-input:focus {
    border-color: var(--accent, #0F766E);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}
.map-search-list {
    position: absolute;
    left: 0; right: 0;
    bottom: calc(100% + 8px);
    margin: 0;
    padding: 6px;
    list-style: none;
    border-radius: 12px;
    max-height: 260px;
    overflow-y: auto;
    z-index: 600;
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.map-search-list li {
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--ink, #1f1f1f);
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background .12s ease;
}
.map-search-list li:hover, .map-search-list li.active {
    background: var(--accent-soft, rgba(15,118,110,0.10));
    color: var(--accent, #0F766E);
}
.map-search-list .ms-empty { cursor: default; color: var(--ink-soft, #9aa0a6); }
.map-search-list .ms-empty:hover { background: transparent; }

/* Светлая тема — плотный белый список для читаемости */
[data-theme="light"] .map-search-list { background: #ffffff; }
[data-theme="light"] .map-search-input { background: #ffffff; border-color: #d9dede; }
[data-theme="dark"] .map-search-list { background: rgba(26,22,17,0.96); }
[data-theme="dark"] .map-search-input {
    background: rgba(26,22,17,0.9);
    border-color: rgba(255,255,255,0.22);
    color: #F6F0E6;
}
[data-theme="dark"] .map-search-input::placeholder {
    color: #B8AE9F;
    opacity: 1;
}
[data-theme="dark"] .map-search-list li { color: #F6F0E6; }
[data-theme="dark"] .map-search-list li:hover,
[data-theme="dark"] .map-search-list li.active { color: #2DD4BF; }
[data-theme="dark"] .map-search-list .ms-empty { color: #A89F8F; }


@media (max-width: 640px) {
    /* Карта на мобильном — чуть выше (~60px), чтобы маркеры и попапы не резались */
    .map-frame { height: clamp(440px, 63vh, 620px); }
    /* Нижняя панель — узкая полоска: слева счётчики, справа лупа. Не закрывает карту. */
    .map-overlay {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 8px;
        padding: 10px 12px;
        left: 10px; right: 10px; bottom: 10px;
    }
    .map-overlay-row { gap: 14px; }
    .map-stat { font-size: 0.95rem; }
    .map-stat .ms-ico { font-size: 0.95rem; }
    /* Лупа видна, инпут спрятан до нажатия */
    .map-search-toggle { display: inline-flex; }
    .map-search {
        display: none;
        position: absolute;
        left: 12px; right: 12px;
        bottom: calc(100% + 10px);
        min-width: 0;
    }
    .map-search.open { display: block; }
    .map-search-input { font-size: 1rem; padding: 12px 14px; }
    .map-search-list { bottom: calc(100% + 8px); max-height: 40vh; }
    .map-overlay-actions .btn { flex: 1; }
}

/* Лёгкая легенда снизу-слева */
.map-legend {
    position: absolute;
    top: 16px; left: 16px;
    z-index: 500;
    padding: 8px 12px;
    border-radius: 12px;
    display: flex;
    gap: 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink);
    box-shadow: 0 8px 20px rgba(46, 42, 36, 0.12);
}
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.legend-pin {
    width: 12px; height: 12px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: inline-block;
}
.legend-pin.pin-expert  { background: linear-gradient(135deg, #B07F52 0%, #DBA77D 100%); }
.legend-pin.pin-helper  { background: linear-gradient(135deg, #15803D 0%, #4ADE80 100%); }
.legend-pin.pin-show    { background: linear-gradient(135deg, #2563EB 0%, #60A5FA 100%); }
.legend-pin.pin-master  { background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%); }
.legend-pin.pin-seminar { background: linear-gradient(135deg, #0F766E 0%, #2DD4BF 100%); }
.legend-pin.pin-broker  { background: linear-gradient(135deg, #EA580C 0%, #FB923C 100%); }

/* Leaflet popup — в стиле glass */
.leaflet-popup-content-wrapper {
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 16px 40px rgba(46, 42, 36, 0.20) !important;
    border: 1px solid rgba(255, 255, 255, 0.8);
}
.leaflet-popup-content { margin: 12px 16px !important; font-family: inherit; }
.leaflet-popup-tip { box-shadow: 0 6px 14px rgba(46, 42, 36, 0.12) !important; }
.sd-popup-name { font-weight: 700; font-size: 0.95rem; color: var(--ink); margin-bottom: 2px; }
/* Мини-фото эксперта в попапе */
.sd-popup-av {
    display: block;
    width: 44px; height: 44px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 8px;
    border: 1px solid rgba(14, 184, 166, .45);
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.sd-popup-meta { font-size: 0.82rem; color: rgba(46, 42, 36, 0.7); }
.sd-popup-team { font-size: 0.84rem; font-weight: 600; color: #15803D; margin-top: 3px; }
.sd-popup-price {
    font-size: 0.9rem; font-weight: 700; color: var(--gold-deep);
    margin-top: 4px;
}
.sd-popup-cta {
    display: inline-block; margin-top: 8px;
    font-size: 0.82rem; font-weight: 600;
    color: var(--gold-deep);
    text-decoration: none;
}
.sd-popup-cover {
    width: 100%; height: 120px; object-fit: cover;
    border-radius: 8px; margin-bottom: 6px; display: block;
}
.sd-popup-actions {
    display: flex; gap: 8px; margin-top: 8px; align-items: center;
}
.sd-popup-actions .sd-popup-cta { margin-top: 0; }
.sd-popup-cta-ghost {
    color: var(--gold-deep);
    border: 1px solid var(--gold-deep);
    border-radius: 8px; padding: 5px 10px;
    background: transparent; font-weight: 600;
    text-decoration: none; flex: none;
}

/* Контролы Leaflet — в стиле страницы */
.leaflet-control-zoom a {
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--ink) !important;
    border: 0 !important;
    font-weight: 700 !important;
    backdrop-filter: blur(10px);
}
.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(6px);
    font-size: 0.7rem !important;
    padding: 2px 6px !important;
}

/* Лента экспертов под картой */
.experts-strip { margin-top: 40px; }
.strip-title {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--beige-dark);
    font-weight: 700;
    margin: 0 0 16px;
}
.experts-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.expert-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--ink);
    transition: transform .2s, box-shadow .2s;
}
.expert-chip:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(46, 42, 36, 0.12); }
.expert-avatar {
    flex: 0 0 40px; width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    display: grid; place-items: center;
    color: #fff; font-weight: 800; font-size: 0.88rem;
}
.expert-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.expert-name { font-weight: 700; font-size: 0.92rem; }
.expert-spec { font-size: 0.78rem; color: rgba(46, 42, 36, 0.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.expert-rate {
    font-size: 0.82rem; font-weight: 700;
    color: var(--gold-deep);
    flex: 0 0 auto;
}
@media (max-width: 900px) { .experts-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .experts-row { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════
   ② ДОВЕРИЕ — 4 компактных пункта + метрики
   ═══════════════════════════════════════════════════════ */
.trust { padding-top: 40px; }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 1100px;
    margin: 0 auto 40px;
}
.trust-card {
    padding: 22px 20px;
    text-align: left;
    transition: transform .2s, box-shadow .2s;
}
.trust-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(46, 42, 36, 0.10); }
.trust-ico-wrap {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(219, 167, 125, 0.20) 0%, rgba(176, 127, 82, 0.20) 100%);
    border: 1px solid rgba(176, 127, 82, 0.25);
    display: grid; place-items: center;
    font-size: 1.25rem;
    margin-bottom: 14px;
}
.trust-card h3 {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: 1.02rem; font-weight: 700;
    color: var(--ink); margin: 0 0 6px;
}
.trust-card p {
    font-size: 0.86rem; line-height: 1.5;
    color: rgba(46, 42, 36, 0.70); margin: 0;
}
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }

.trust-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
    border-top: 1px solid rgba(46, 42, 36, 0.10);
    border-bottom: 1px solid rgba(46, 42, 36, 0.10);
}
.metric { text-align: center; padding: 0 8px; }
.metric .num {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    display: block;
}
.metric .label {
    font-size: 0.82rem;
    color: rgba(46, 42, 36, 0.65);
    margin-top: 6px;
    font-weight: 500;
}
@media (max-width: 640px) { .trust-metrics { grid-template-columns: repeat(2, 1fr); gap: 18px; } }

/* ═══════════════════════════════════════════════════════
   ③ НОВОСТИ
   ═══════════════════════════════════════════════════════ */
.news-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-auto-rows: auto;
    gap: 16px;
}
.news-card {
    padding: 22px 24px;
    border-radius: 22px;
    display: flex; flex-direction: column; gap: 8px;
    transition: transform .25s, box-shadow .25s;
    text-decoration: none;
    color: var(--ink);
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(46, 42, 36, 0.12); }
.news-card.feature {
    grid-row: span 2;
    padding: 28px 28px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 232, 205, 0.55) 100%);
}
/* Живой рынок: квадрат курсов — сочная финансовая панель */
.news-card.live-market {
    grid-column: span 1;
    grid-row: span 2;
    padding: 24px 24px;
    background: linear-gradient(160deg, #0F766E 0%, #115E59 45%, #0B3B37 100%);
    border: 1px solid rgba(20, 184, 166, 0.35);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.news-card.live-market::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.live-market .tag.market {
    background: rgba(236, 208, 111, 0.18);
    color: #FDE68A;
    border: 1px solid rgba(253, 230, 138, 0.25);
}
.lm-title { margin: 4px 0 14px; font-size: 1.2rem; color: #fff; }
.lm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lm-tile {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 14px 14px;
    display: flex; flex-direction: column; gap: 6px;
    backdrop-filter: blur(6px);
}
.lm-tile.lm-mortgage { grid-column: span 2; background: linear-gradient(135deg, rgba(253, 230, 138, 0.18), rgba(253, 230, 138, 0.06)); border-color: rgba(253, 230, 138, 0.35); }
.lm-tile.lm-keyrate { background: linear-gradient(135deg, rgba(45, 212, 191, 0.18), rgba(45, 212, 191, 0.06)); border-color: rgba(45, 212, 191, 0.35); }
.lm-keyrate .lm-value { color: #2DD4BF; }
.lm-label { font-size: 0.72rem; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.70); font-weight: 700; }
.lm-value { font-size: 1.3rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 1px 4px rgba(0,0,0,0.15); }
.lm-value .lm-chg { font-size: 0.72rem; font-weight: 700; margin-left: 4px; opacity: 0.9; }
.lm-chg.up { color: #4ADE80; }
.lm-chg.down { color: #F87171; }
.lm-mortgage .lm-value { color: #FDE68A; }
.lm-sponsor { margin-top: 12px; font-size: 0.72rem; color: rgba(255, 255, 255, 0.55); }
.lm-sponsor b { color: rgba(255, 255, 255, 0.85); font-weight: 700; }
.lm-sponsor-date { color: rgba(255, 255, 255, 0.45); }
.lm-updated { margin-top: 8px; font-size: 0.72rem; color: rgba(255, 255, 255, 0.55); }
.news-card .tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    align-self: flex-start;
}
.news-card .tag.market  { background: rgba(37, 99, 235, 0.10);  color: #1D4ED8; }
.news-card .tag.auction { background: rgba(220, 38, 38, 0.10);  color: #B91C1C; }
.news-card .tag.guide   { background: rgba(22, 163, 74, 0.10);  color: #15803D; }
.news-card .date { font-size: 0.78rem; color: rgba(46, 42, 36, 0.55); font-weight: 500; }
.news-card h3 {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: 1.08rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--ink);
    margin: 4px 0;
}
.news-card.feature h3 { font-size: 1.4rem; }
.news-card p { font-size: 0.9rem; line-height: 1.55; color: rgba(46, 42, 36, 0.72); margin: 0; }
.news-card .read-more {
    margin-top: auto;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gold-deep);
    text-decoration: none;
    padding-top: 6px;
}
.news-card .read-more:hover { color: var(--ink); }

@media (max-width: 900px) {
    .news-grid { grid-template-columns: 1fr 1fr; }
    .news-card.feature { grid-row: auto; grid-column: span 2; }
}
@media (max-width: 600px) {
    .news-grid { grid-template-columns: 1fr; }
    .news-card.feature { grid-column: auto; }
}

/* ─── Гарантия платформы (механика доверия) ─── */
.guarantee-strip {
    padding: 0 0 64px;
}
.guarantee-strip .container {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 18px 24px;
    box-shadow: var(--soft-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.gs-icon {
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(219,167,125,.25), rgba(255,255,255,.1));
    border-radius: 12px;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
}
.gs-text { flex: 1; font-size: 0.98rem; line-height: 1.5; }
.gs-text b { color: var(--gold-deep); font-weight: 700; }
.gs-link {
    flex-shrink: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-deep);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 1px dashed rgba(176,127,82,.5);
    padding-bottom: 2px;
    transition: color .2s, border-color .2s;
}
.gs-link:hover { color: var(--gold); border-color: var(--gold); }
[data-theme="dark"] .guarantee-strip .container {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.09);
    box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
[data-theme="dark"] .gs-text b { color: var(--gold-light); }
[data-theme="dark"] .gs-link { color: var(--gold-light); }
@media (max-width: 640px) {
    .guarantee-strip .container { flex-wrap: wrap; padding: 16px 18px; }
    .gs-link { width: 100%; padding-left: 0; }
}

/* Карточка гарантии в визитке эксперта */
.guarantee-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: var(--soft-shadow);
    margin-bottom: 28px;
}
.guarantee-card .gs-icon { font-size: 22px; width: 44px; height: 44px; }
.guarantee-card .gs-text { font-size: 0.92rem; }
[data-theme="dark"] .guarantee-card {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.09);
}

/* ─── Отзывы (механика доверия) ─── */
.reviews-section { margin-bottom: 28px; }
.reviews-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rating-big { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 1.35rem; color: var(--gold-deep); }
[data-theme="dark"] .rating-big { color: var(--gold-light); }
.reviews-count { font-size: 0.92rem; opacity: .75; }
.review-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 12px;
    font-size: 0.93rem;
}
[data-theme="dark"] .review-item {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.09);
}
.review-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.review-author { font-weight: 700; font-size: 0.92rem; }
.review-stars { color: var(--gold); letter-spacing: 1px; }
.review-text { line-height: 1.55; opacity: .92; }
.reviews-more { margin-top: 12px; }
.reviews-form { margin-top: 14px; }
.reviews-form textarea {
    width: 100%;
    min-height: 84px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,.65);
    padding: 12px 14px;
    font: inherit;
    font-size: 0.93rem;
    resize: vertical;
    color: var(--almost-black);
}
[data-theme="dark"] .reviews-form textarea {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.12);
    color: var(--ink);
}
.stars-input { display: inline-flex; gap: 4px; margin: 10px 0 12px; }
.stars-input button {
    background: none; border: none; cursor: pointer;
    font-size: 26px; line-height: 1; padding: 0 2px;
    filter: grayscale(1); opacity: .45; transition: all .15s;
}
.stars-input button.on { filter: none; opacity: 1; }

/* ═══════════════════════════════════════════════════════
   FOOTER — минимализм, политика здесь
   ═══════════════════════════════════════════════════════ */
.footer {
    position: relative; z-index: 1;
    padding: 60px 0 24px;
    border-top: 1px solid rgba(46, 42, 36, 0.08);
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(10px);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
.footer-col h4 {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--beige-dark);
    margin: 0 0 14px;
    font-weight: 700;
}
.footer-col a, .footer-col p {
    display: block;
    color: rgba(46, 42, 36, 0.72);
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0;
}
.footer-col a:hover { color: var(--ink); }
.footer-col .logo { margin-bottom: 12px; }
.footer-title {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--beige-dark);
    display: block;
    margin: 0 0 10px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.5; max-width: 280px; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(46, 42, 36, 0.12);
    font-size: 0.82rem;
    color: rgba(46, 42, 36, 0.70);
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    /* Логотип бренда на мобильном — вертикально, чтобы «ВЫГОДНЫЕ СДЕЛКИ» не переносился криво */
    .footer-brand .logo { flex-direction: column; align-items: flex-start; gap: 6px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ===== Страница «Кому подходит» (guide.html) — минимализм ===== */
.guide-cta { margin-top: 16px; }

/* Акцентные пункты «Покупателю»: юрист / агент / живой показ */
.guide-points { display: flex; flex-direction: column; gap: 14px; margin: 16px 0 4px; }
.guide-point {
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(14,184,166,0.16);
}
.guide-point strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink, #E2E8F0);
    margin-bottom: 4px;
}
.guide-point p { margin: 0; font-size: 0.88rem; color: var(--ink, rgba(236,232,220,0.72)); }
[data-theme="light"] .guide-point { background: rgba(15,118,110,0.05); border-color: rgba(15,118,110,0.16); }
[data-theme="light"] .guide-point strong { color: #0F172A; }
[data-theme="light"] .guide-point p { color: #374151; }
.guide-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.guide-tab {
    padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
    text-decoration: none; color: var(--ink); background: var(--glass-bg);
    border: 1px solid var(--line); transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.guide-tab:hover { transform: translateY(-1px); }
.guide-tab.active {
    background: linear-gradient(135deg, #0F766E, #14B8A6, #2DD4BF); color: #fff;
    border-color: transparent; box-shadow: 0 6px 20px rgba(20,184,166,.35);
}
[data-theme="dark"] .guide-tab { color: #E2E8F0; background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
[data-theme="dark"] .guide-tab.active { background: linear-gradient(135deg, #0F766E, #14B8A6, #2DD4BF); color: #fff; }
.guide-home { text-align: left; margin-top: 8px; margin-bottom: 48px; }
.guide-home .read-more { font-weight: 600; }
#buyer, #seller, #expert { scroll-margin-top: 90px; }
