@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap");
/* ============================================================
   IPOTEKA — стили страницы /ipoteka
   Визуальный язык главной: Times New Roman + Manrope, палитра СЗ Гарант
   ============================================================ */

:root {
    --text:            #292a2d;
    --text-dark:       #26363e;
    --text-muted:      #8e8e8f;
    --accent:          #bf946e;
    --accent-light:    #c8a47e;
    --accent-hover:    #e6c99f;
    --bg-soft:         #f9f8f6;
    --bg-hero:         #e8e4de;
    --bg-icon:         #f5f3ef;

    --radius-sm:  16px;
    --radius-md:  20px;
    --radius-lg:  30px;
    --radius-xl:  38px;
    --radius-pill: 999px;

    --container:   1312px;
    --section-pad: 80px 64px;

    --font-serif: 'Times New Roman', serif;
    --font-sans: 'Rubik', sans-serif;
}

/* ---------- База ---------- */
.ipo-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 64px;
}

.ipo-section {
    padding: 80px 0;
}

/* ---------- Типографика ---------- */
.ipo-h1 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.6px;
    color: var(--text);
    margin: 24px 0 20px;
}

.ipo-h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(28px, 3.6vw, 48px);
    line-height: 1.15;
    letter-spacing: -0.4px;
    color: var(--text);
    margin: 0 0 32px;
}

.ipo-lead {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.5;
    color: var(--text);
    max-width: 760px;
    margin: 0;
}

.ipo-disclaimer {
    font-family: var(--font-sans);
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ---------- Хлебные крошки ---------- */
.ipo-breadcrumbs {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--text-muted);
}
.ipo-breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
}
.ipo-breadcrumbs a:hover { color: var(--accent); }
.ipo-breadcrumbs span { margin: 0 6px; }

/* ---------- Hero ---------- */
.ipo-hero {
    background: var(--bg-hero);
    padding: 120px 0 72px;
}

/* ---------- Секции ---------- */
.ipo-calc,
.ipo-programs,
.ipo-banks,
.ipo-steps,
.ipo-faq {
    padding: 80px 0;
}
.ipo-calc { background: #fff; }
.ipo-programs { background: var(--bg-soft); }
.ipo-banks { background: #fff; }
.ipo-steps { background: var(--bg-soft); }
.ipo-faq { background: #fff; }

/* ---------- Сетка карточек ---------- */
.ipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

/* ---------- Заглушки (TODO) ---------- */
.ipo-placeholder {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--text-muted);
    border: 1px dashed rgba(41,42,45,.25);
    border-radius: var(--radius-md);
    padding: 40px 24px;
    text-align: center;
    background: #fff;
}

/* ---------- CTA ---------- */
.ipo-cta {
    background: var(--text);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.ipo-cta .ipo-h2 { color: #fff; }
.ipo-cta .ipo-lead { color: rgba(255,255,255,.8); margin: 0 auto 32px; }

.ipo-btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 17px;
    padding: 16px 36px;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    transition: background .2s ease;
}
.ipo-btn:hover { background: var(--accent-hover); color: var(--text); }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
    .ipo-container { padding: 0 32px; }
    .ipo-section, .ipo-calc, .ipo-programs, .ipo-banks, .ipo-steps, .ipo-faq, .ipo-cta { padding: 56px 0; }
}

    .ipo-hero { padding: 96px 0 48px; }
    .ipo-section, .ipo-calc, .ipo-programs, .ipo-banks, .ipo-steps, .ipo-faq, .ipo-cta { padding: 40px 0; }
    .ipo-h2 { margin-bottom: 24px; }


/* ---------- Hero на странице ипотеки: заголовок не наезжает на кнопку ---------- */
.hero--ipoteka .hero-title {
    top: 24%;
    width: 52%;
    font-size: clamp(26px, 4.8vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.01em;
}
.hero--ipoteka .hero-button {
    top: 72%;
}


/* ---------- Калькулятор ---------- */
.ipo-calc-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(41,42,45,.08);
}
.ipo-calc-fields { display: flex; flex-direction: column; gap: 24px; }
.ipo-field label {
    display: block;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.ipo-field input[type="number"],
.ipo-field select {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 18px;
    padding: 12px 16px;
    border: 1px solid #e0ddd8;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    color: var(--text);
    outline: none;
}
.ipo-field input[type="number"]:focus,
.ipo-field select:focus { border-color: var(--accent); }
.ipo-field input[type="range"] {
    width: 100%;
    accent-color: var(--accent);
    margin: 8px 0;
}
.ipo-down-row, .ipo-term-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--text);
}
.ipo-down-row input[type="number"] { width: 80px; }
.ipo-calc-result {
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ipo-result-label {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}
.ipo-result-payment {
    font-family: var(--font-serif);
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.1;
    color: var(--text);
    margin: 8px 0 24px;
}
.ipo-result-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 15px;
}
.ipo-result-details div { display: flex; justify-content: space-between; gap: 16px; }
.ipo-result-details span { color: var(--text-muted); }
.ipo-calc-result .ipo-disclaimer { margin-top: 24px; }

@media (max-width: 900px) {
    .ipo-calc-box { grid-template-columns: 1fr; padding: 24px; gap: 28px; }
}

/* ---------- Карточки программ ---------- */
.ipo-program-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: 0 8px 32px rgba(41,42,45,.06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.ipo-program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(41,42,45,.1);
}
.ipo-program-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}
.ipo-program-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
    color: var(--text);
    margin: 0;
}
.ipo-program-rate {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 20px;
    color: var(--accent);
    white-space: nowrap;
}
.ipo-program-desc {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0 0 20px;
}
.ipo-program-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--text);
}
.ipo-program-list li { position: relative; padding-left: 20px; }
.ipo-program-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.ipo-program-link {
    margin-top: auto;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 16px;
    color: var(--text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color .2s ease;
}
.ipo-program-link:hover { color: var(--accent); }

/* ===== Банки-партнёры: таблица ===== */
.ipo-banks-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.08);
}

.ipo-banks-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 15px;
    min-width: 640px;
}

.ipo-banks-table th {
    text-align: left;
    padding: 14px 16px;
    background: var(--bg-soft);
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid rgba(0,0,0,.08);
    white-space: nowrap;
}

.ipo-banks-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    color: var(--text);
    vertical-align: top;
}

.ipo-banks-table tbody tr:last-child td { border-bottom: 0; }
.ipo-banks-table tbody tr:hover { background: rgba(0,0,0,.02); }
.ipo-banks-table td b { font-weight: 600; }

/* Мобилка: таблица → карточки */
    .ipo-banks-table,
    .ipo-banks-table thead,
    .ipo-banks-table tbody,
    .ipo-banks-table tr,
    .ipo-banks-table td {
        display: block;
        width: 100%;
        min-width: 0;
    }
    .ipo-banks-table thead { display: none; }
    .ipo-banks-table tr {
        background: #fff;
        border: 1px solid rgba(0,0,0,.08);
        border-radius: 12px;
        margin-bottom: 12px;
        padding: 8px 4px;
    }
    .ipo-banks-table td {
        border: 0;
        padding: 8px 14px;
        display: flex;
        justify-content: space-between;
        gap: 12px;
    }
    .ipo-banks-table td::before {
        content: attr(data-label);
        color: var(--text-muted);
        font-size: 13px;
        flex: 0 0 auto;
    }
    .ipo-banks-table td:first-child {
        font-size: 16px;
        border-bottom: 1px solid rgba(0,0,0,.06);
        margin-bottom: 4px;
    }


/* ===== Этапы покупки: горизонтальный таймлайн ===== */
.ipo-steps-list {
    display: flex;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    position: relative;
}

.ipo-steps-list::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: rgba(0,0,0,.1);
    z-index: 0;
}

.ipo-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
    position: relative;
    z-index: 1;
}

.ipo-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.ipo-step-title {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--text);
}

.ipo-step-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

/* Мобилка: вертикальный таймлайн */
    .ipo-steps-list::before {
        top: 24px;
        bottom: 24px;
        left: 23px;
        right: auto;
        width: 2px;
        height: auto;
    }
    .ipo-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 0;
        gap: 16px;
    }
    .ipo-step-num { margin-bottom: 0; }
    .ipo-step-body { flex: 1; }


/* ===== FAQ: аккордеон ===== */
.ipo-faq-list {
    max-width: 860px;
    margin: 32px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ipo-faq-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .2s;
}

.ipo-faq-item[open] { box-shadow: 0 4px 16px rgba(0,0,0,.06); }

.ipo-faq-q {
    list-style: none;
    cursor: pointer;
    padding: 18px 52px 18px 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    position: relative;
    user-select: none;
}

.ipo-faq-q::-webkit-details-marker { display: none; }
.ipo-faq-q::marker { content: ''; }

.ipo-faq-q::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: translateY(-70%) rotate(45deg);
    transition: transform .25s;
}

.ipo-faq-item[open] .ipo-faq-q::after {
    transform: translateY(-30%) rotate(-135deg);
}

.ipo-faq-a {
    padding: 0 20px 18px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.ipo-faq-a p { margin: 0; }

    .ipo-faq-a { padding: 0 16px 16px; font-size: 14px; }


/* ---------- H1 /ipoteka: эффект вдавленного текста ---------- */
.hero--ipoteka .hero-title {
    color: #444a50; /* серый */
    text-shadow:
        0 1px 0 rgba(255,255,255,.9),   /* светлая грань снизу */
        0 -1px 0 rgba(0,0,0,.35),       /* тёмная грань сверху */
        1px 0 0 rgba(255,255,255,.5),
        -1px 0 0 rgba(0,0,0,.2);
}

/* ---------- Hero /ipoteka: инфо-панель вместо кнопки ---------- */
.hero--ipoteka .hero-ipo-panel {
    position: absolute;
    left: 4.51%;
    top: 44%;
    width: 46%;
    max-width: 560px;
    padding: 22px 24px 24px;
    background: none;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    z-index: 2;
}

.hero-ipo-lead {
    margin: 0 0 14px;
    font-family: var(--font-sans);
    font-size: clamp(14px, 1.25vw, 17px);
    line-height: 1.45;
    color: #444a50;
    text-shadow:
        0 1px 0 rgba(255,255,255,.9),
        0 -1px 0 rgba(0,0,0,.35),
        1px 0 0 rgba(255,255,255,.5),
        -1px 0 0 rgba(0,0,0,.2);
}

.hero-ipo-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-ipo-list li {
    position: relative;
    padding-left: 24px;
    font-family: var(--font-sans);
    font-size: clamp(13px, 1.05vw, 15px);
    line-height: 1.4;
    color: #444a50;
    text-shadow:
        0 1px 0 rgba(255,255,255,.9),
        0 -1px 0 rgba(0,0,0,.35),
        1px 0 0 rgba(255,255,255,.5),
        -1px 0 0 rgba(0,0,0,.2);
}

.hero-ipo-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #eed6b5;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .35), 0 -1px 0 rgba(0, 0, 0, .3);
}

.hero-ipo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    background: #eed6b5;
    color: #292a2d;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: clamp(14px, 1.15vw, 16px);
    text-decoration: none;
    transition: background .2s, transform .2s;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}

.hero-ipo-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    color: #292a2d;
}

    .hero-ipo-lead { font-size: 14px; margin-bottom: 10px; }
    .hero-ipo-list { gap: 8px; margin-bottom: 14px; }
    .hero-ipo-list li { font-size: 13px; }
    .hero-ipo-btn { width: 100%; padding: 12px 16px; }



/* ---------- ЧИСТЫЙ ФИНАЛ: Прозрачный фон, капс, отступы, прямой бордер ---------- */
.hero--ipoteka .hero-logo {
    top: calc(4.5% + 4px);
    z-index: 20; /* Логотип поверх белой плашки */
}

.hero--ipoteka .hero-menu {
    position: absolute;
    top: calc(4.5% - 10px);
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    padding: 20px 4.51% 20px 26%; /* 20px сверху и снизу — плашка накроет лого */
    background: #e1d6cd; /* Легкий белый фон */
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.28); /* Прямой бордер */
    border-radius: 0;
    display: flex;
    justify-content: flex-end; /* Прижимаем пункты к правому краю */
    align-items: center;
    gap: 2vw;
    box-sizing: border-box;
    z-index: 15;
}

.hero--ipoteka .hero-menu a {
    font-family: var(--font-sans);
    font-size: clamp(13px, 1.25vw, 19px); /* Тот самый размер */
    font-weight: 400;
    text-transform: uppercase; /* Капс */
    letter-spacing: 0.02em;
    color: #1a1e22;
    text-shadow: none;
    text-decoration: none;
    white-space: nowrap;
    padding: 0;
    line-height: 1.2;
}

/* ---------- Меню /ipoteka: оживление + кебаб ---------- */
.hero--ipoteka .hero-menu .hero-menu-item {
    position: relative;
    padding: 4px 0;
    transition: color .2s ease, transform .2s ease;
}
.hero--ipoteka .hero-menu .hero-menu-item::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 1px;
    background: #1a1e22;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .3s ease, background .2s ease;
}
.hero--ipoteka .hero-menu .hero-menu-item:hover { transform: translateY(-1px); }
.hero--ipoteka .hero-menu .hero-menu-item:hover::after { transform: scaleX(1); }
.hero--ipoteka .hero-menu .hero-menu-item.is-active::after {
    transform: scaleX(1);
    background: var(--accent);
    height: 2px;
}

.hero--ipoteka .hero-menu-more { position: relative; display: flex; align-items: center; }
.hero--ipoteka .hero-menu-more-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 36px; height: 36px;
    padding: 0;
    border: 0; border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background .2s ease, transform .25s ease;
}
.hero--ipoteka .hero-menu-more-btn:hover { background: rgba(0,0,0,.07); }
.hero--ipoteka .hero-menu-more-btn span {
    display: block;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: #1a1e22;
    transition: opacity .2s ease;
}
.hero--ipoteka .hero-menu-more-btn[aria-expanded="true"] { transform: rotate(90deg); }
.hero--ipoteka .hero-menu-more-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.hero--ipoteka .hero-menu-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    min-width: 180px;
    padding: 8px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0,0,0,.14);
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 100;
}
.hero--ipoteka .hero-menu-dropdown.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.hero--ipoteka .hero-menu-dropdown-item {
    padding: 10px 14px !important;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 14px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: #1a1e22 !important;
    transition: background .15s ease;
    text-decoration: none;
}
.hero--ipoteka .hero-menu-dropdown-item:hover { background: var(--bg-soft); }

/* ---------- Премиальный дропдаун и кебаб ---------- */
.hero--ipoteka .hero-menu-more-btn {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease;
}
.hero--ipoteka .hero-menu-more-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}
.hero--ipoteka .hero-menu-more-btn span {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #1a1e22;
    transition: all 0.3s ease;
}
.hero--ipoteka .hero-menu-more-btn[aria-expanded="true"] {
    transform: rotate(90deg);
    background: rgba(0, 0, 0, 0.08);
}
.hero--ipoteka .hero-menu-more-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hero--ipoteka .hero-menu-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    min-width: 180px;
    padding: 8px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
}
.hero--ipoteka .hero-menu-dropdown.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero--ipoteka .hero-menu-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: #1a1e22;
    text-decoration: none;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: 0;
}
.hero--ipoteka .hero-menu-dropdown-item svg {
    color: #8e8e8f;
    transition: color 0.2s ease;
}
.hero--ipoteka .hero-menu-dropdown-item:hover {
    background: #f9f8f6;
    color: var(--accent);
    transform: translateX(4px);
}
.hero--ipoteka .hero-menu-dropdown-item:hover svg {
    color: var(--accent);
}
.hero--ipoteka .hero-menu-dropdown-item.is-active {
    font-weight: 600;
    color: var(--accent);
}
.hero--ipoteka .hero-menu-dropdown-item.is-active svg {
    color: var(--accent);
}

/* ========== LIQUID GLASS ISLAND ========== */
@keyframes islandDrop {
    0% { opacity: 0; transform: translate(-50%, -40px) scale(0.95); }
    100% { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

.hero-island {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translate(-50%, 0);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 8px 12px 8px 24px;
    background: rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255,255,255,0.8);
    z-index: 100;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    animation: islandDrop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    box-sizing: border-box;
}

.hero-island.is-scrolled {
    top: 12px;
    padding: 4px 8px 4px 16px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}

.island-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.island-logo:hover { transform: scale(1.05); }
.island-logo img {
    width: 110px;
    height: auto;
    display: block;
}

.island-nav {
    display: flex;
    position: relative;
    align-items: center;
    gap: 2px;
}

.island-pill {
    position: absolute;
    left: 0; top: 0;
    height: 100%;
    background: rgba(225, 214, 205, 0.9);
    border-radius: 999px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), width 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.island-link {
    position: relative;
    z-index: 2;
    padding: 8px 16px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    color: #1a1e22;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 999px;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.island-link:hover { color: #000; }

.island-more {
    position: relative;
    display: flex;
    align-items: center;
}

.island-more-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}
.island-more-btn:hover { background: rgba(0,0,0,.05); }
.island-more-btn span {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #1a1e22;
    transition: all 0.3s ease;
}
.island-more-btn[aria-expanded="true"] {
    transform: rotate(90deg);
    background: rgba(0,0,0,.06);
}
.island-more-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scale(0); }

.island-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 16px);
    min-width: 180px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,.1);
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 100;
}
.island-dropdown.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.island-dropdown-item {
    padding: 10px 16px;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: #1a1e22;
    text-decoration: none;
    transition: all 0.2s ease;
}
.island-dropdown-item:hover { background: rgba(225, 214, 205, 0.6); color: #000; }
.island-dropdown-item.is-active { font-weight: 600; color: var(--accent); }

@media (max-width: 1024px) {
    .island-link { padding: 8px 10px; font-size: 12px; }
    .island-logo img { width: 90px; }
}
@media (max-width: 850px) {
    .island-nav { display: none; }
    .hero-island { padding: 8px 16px; gap: 12px; }
}

/* ---------- Плавающий логотип слева ---------- */
.hero-logo-floating {
    position: absolute;
    top: calc(4.5% + 8px); /* тот самый отступ, который мы подбирали */
    left: 4.51%;
    z-index: 100;
}
.hero-logo-floating img {
    width: 140px; /* подгони под свой логотип, сейчас 140, чтобы точно было видно */
    height: auto;
    display: block;
    /* Если логотип белый/светлый и теряется на облаках — добавим мягкую тень: */
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

/* ---------- Корректируем остров (убираем лишний отступ слева, так как лого ушел) ---------- */
.hero-island {
    padding: 8px 12px 8px 12px;
    gap: 0; /* убираем зазор, который был под лого */
}

/* ---------- ФИНАЛЬНЫЙ ФИКС ЛОГОТИПА (выравнивание и размер) ---------- */
.hero-logo-floating {
    top: 24px !important; /* Встаем ровно на линию острова */
    height: 48px !important; /* Высота острова, чтобы отцентрировать картинку */
    display: flex !important;
    align-items: center !important;
}
.hero-logo-floating img {
    width: clamp(170px, 13vw, 240px) !important; /* Возвращаем нормальный крупный размер */
}

/* ========== HERO: LIQUID GLASS CARD ========== */
.hero--ipoteka .hero-title {
    top: 20% !important;
    text-shadow: 0 4px 20px rgba(255,255,255,0.7) !important; /* Чистая светлая тень для читаемости на небе */
    color: #1a1e22 !important;
    animation: islandDrop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
    opacity: 0;
}

.hero--ipoteka .hero-ipo-panel {
    position: absolute;
    left: 4.51%;
    top: 42% !important;
    width: 46%;
    max-width: 520px;
    padding: 32px !important;
    background: rgba(255, 255, 255, 0.35) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 32px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    z-index: 10;
    animation: islandDrop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
    opacity: 0;
}

/* Текст внутри карточки */
.hero-ipo-lead {
    text-shadow: none !important; /* Убираем старые тени */
    color: #1a1e22 !important;
    font-size: clamp(16px, 1.3vw, 18px) !important;
    line-height: 1.5 !important;
    margin-bottom: 24px !important;
}

.hero-ipo-list li {
    text-shadow: none !important;
    color: #1a1e22 !important;
    font-size: 15px !important;
    padding-left: 28px !important;
    margin-bottom: 12px !important;
    font-weight: 500;
}

.hero-ipo-list li::before {
    background: #bf946e !important; /* Акцентный бежевый */
    box-shadow: 0 0 12px rgba(191, 148, 110, 0.4) !important;
    width: 8px !important;
    height: 8px !important;
    top: 7px !important;
    left: 4px !important;
}

/* Кнопка */
.hero-ipo-btn {
    background: #bf946e !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(191, 148, 110, 0.3) !important;
    font-size: 16px !important;
    padding: 14px 28px !important;
    border-radius: 999px !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    display: inline-flex !important;
    width: auto !important;
}

.hero-ipo-btn:hover {
    background: #a67c56 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 32px rgba(191, 148, 110, 0.5) !important;
    color: #fff !important;
}

/* Мобильная адаптация героя */
    .hero--ipoteka .hero-ipo-panel {
        top: 35% !important;
        left: 5% !important;
        width: 90% !important;
        padding: 24px !important;
    }


/* ---------- ФИКС АНИМАЦИИ HERO (убираем сдвиг влево) ---------- */
@keyframes heroFadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero--ipoteka .hero-title {
    top: 22% !important;
    animation: heroFadeUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards !important;
}

.hero--ipoteka .hero-ipo-panel {
    top: 46% !important;
    animation: heroFadeUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards !important;
}

    .hero--ipoteka .hero-ipo-panel { top: 35% !important; }


/* ========== ФИНАЛЬНАЯ НАСТРОЙКА ШРИФТОВ RUBIK ========== */

/* Заголовок hero переводим на Rubik, делаем его тонким (Light 300) */
.hero--ipoteka .hero-title {
    font-family: var(--font-sans) !important;
    font-weight: 300 !important; /* Тонкий и элегантный */
    letter-spacing: -0.02em !important;
}

/* Меню делаем тоньше (Regular 400 вместо 500) */
.island-link {
    font-weight: 400 !important;
}

/* Заодно чуть утончим текст в карточке, чтобы соответствовало стилю */
.hero-ipo-lead, 
.hero-ipo-list li {
    font-weight: 400 !important;
}

/* ========== APPLE-STYLE FEATURES BAR (Плашка с ипотеками) ========== */
.features-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    gap: 12px !important;
    max-width: 1184px !important; /* Центрируем по контейнеру */
    margin: -50px auto 40px !important; /* Наезжаем на hero-блок сверху */
    padding: 20px 24px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 32px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    position: relative !important;
    z-index: 20 !important;
    overflow: hidden !important;
}

.feature {
    display: flex !important;
    flex-direction: column !important; /* Иконка сверху, текст снизу — как в плитках iOS */
    align-items: flex-start !important;
    gap: 16px !important;
    padding: 16px !important;
    border-radius: 20px !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
    flex: 1 !important;
    background: transparent !important;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.7) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05) !important;
}

/* Иконки-сквирклы (как на иконках iOS) */
.feature-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important; /* Скругленные квадраты */
    background: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), inset 0 1px 0 #fff !important;
    font-family: var(--font-sans) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    color: var(--accent) !important;
    flex-shrink: 0 !important;
}

.feature-icon img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
}

.feature-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.ft-title {
    font-family: var(--font-sans) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #1a1e22 !important;
    line-height: 1.2 !important;
}

.ft-desc {
    font-family: var(--font-sans) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #8e8e8f !important;
    line-height: 1.3 !important;
}

/* Мобильная адаптация: горизонтальный скролл */
@media (max-width: 1024px) {
    .features-bar {
        margin: -30px 24px 30px !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch;
    }
    .features-bar::-webkit-scrollbar { display: none; }
    .feature {
        min-width: 200px !important;
        scroll-snap-align: start !important;
    }
}

/* ========== APPLE-STYLE: ЛЬГОТНЫЕ ПРОГРАММЫ ========== */
.ipo-programs {
    background: linear-gradient(180deg, #f9f8f6 0%, #ffffff 100%) !important;
    padding: 100px 0 !important;
    position: relative;
}

.ipo-programs .ipo-h2 {
    font-family: var(--font-sans) !important;
    font-weight: 300 !important;
    font-size: clamp(32px, 4.5vw, 56px) !important;
    letter-spacing: -0.03em !important;
    color: #1a1e22 !important;
    text-align: center !important;
    margin-bottom: 60px !important;
    line-height: 1.1 !important;
}

.ipo-programs .ipo-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 20px !important;
    max-width: 1184px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}

/* Карточка — iOS-сквиркл */
.ipo-program-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    background: rgba(255, 255, 255, 0.85) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 28px !important; /* Крупный сквиркл */
    padding: 32px 28px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    overflow: hidden !important;
}

/* Внутреннее свечение при ховере */
.ipo-program-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 0%, rgba(191, 148, 110, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ipo-program-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(191, 148, 110, 0.3) !important;
}

.ipo-program-card:hover::before {
    opacity: 1;
}

/* Шапка карточки */
.ipo-program-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 16px !important;
    margin-bottom: 20px !important;
    position: relative !important;
    z-index: 1;
}

.ipo-program-title {
    font-family: var(--font-sans) !important;
    font-weight: 500 !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    color: #1a1e22 !important;
    margin: 0 !important;
    letter-spacing: -0.02em !important;
}

/* Ставка — акцентная пилюля (iOS badge) */
.ipo-program-rate {
    display: inline-flex !important;
    align-items: center !important;
    padding: 6px 12px !important;
    background: rgba(191, 148, 110, 0.15) !important;
    color: var(--accent) !important;
    border-radius: 999px !important;
    font-family: var(--font-sans) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* Описание */
.ipo-program-desc {
    font-family: var(--font-sans) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    color: #5a5d61 !important;
    margin: 0 0 24px !important;
    position: relative !important;
    z-index: 1;
}

/* Список условий — тонкие разделители как в iOS настройках */
.ipo-program-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 28px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    font-family: var(--font-sans) !important;
    font-size: 14px !important;
    color: #3a3c3f !important;
    position: relative !important;
    z-index: 1;
}

.ipo-program-list li {
    position: relative !important;
    padding: 12px 0 12px 20px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

.ipo-program-list li:first-child {
    border-top: 0 !important;
    padding-top: 0 !important;
}

.ipo-program-list li::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 18px !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: var(--accent) !important;
    box-shadow: 0 0 8px rgba(191, 148, 110, 0.5) !important;
}

.ipo-program-list li:first-child::before {
    top: 6px !important;
}

/* Кнопка-ссылка в карточке */
.ipo-program-link {
    margin-top: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 14px 20px !important;
    background: #1a1e22 !important;
    color: #fff !important;
    border-radius: 999px !important;
    font-family: var(--font-sans) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    letter-spacing: 0.01em !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 1;
}

.ipo-program-link:hover {
    background: var(--accent) !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 20px rgba(191, 148, 110, 0.35) !important;
}

/* Мобилка */
    .ipo-programs .ipo-h2 { margin-bottom: 32px !important; }
    .ipo-program-card { padding: 24px 20px !important; border-radius: 24px !important; }


/* ========== APPLE-STYLE: ИПОТЕЧНЫЙ КАЛЬКУЛЯТОР ========== */
.ipo-calc {
    background: #f9f8f6 !important;
    padding: 100px 0 !important;
}

.ipo-calc .ipo-h2 {
    font-family: var(--font-sans) !important;
    font-weight: 300 !important;
    font-size: clamp(32px, 4.5vw, 56px) !important;
    letter-spacing: -0.03em !important;
    color: #1a1e22 !important;
    text-align: center !important;
    margin-bottom: 60px !important;
}

.ipo-calc-box {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important; /* Убираем зазор, карточка теперь единая */
    max-width: 1080px !important;
    margin: 0 auto !important;
    background: #ffffff !important;
    border-radius: 36px !important;
    padding: 0 !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.06), inset 0 1px 0 #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
}

/* Левая колонка — поля ввода */
.ipo-calc-fields {
    padding: 48px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
}

.ipo-field label {
    display: block !important;
    font-family: var(--font-sans) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #8e8e8f !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    margin-bottom: 12px !important;
}

/* Поля ввода в стиле iOS */
.ipo-field input[type="number"],
.ipo-field select {
    width: 100% !important;
    font-family: var(--font-sans) !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    padding: 16px 20px !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 16px !important;
    background: #f2f2f7 !important; /* Системный серый iOS */
    color: #1a1e22 !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box !important;
}

.ipo-field input[type="number"]:focus,
.ipo-field select:focus {
    background: #ffffff !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 4px rgba(191, 148, 110, 0.15) !important;
}

/* Кастомная стрелка для селекта */
.ipo-field select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 20px center !important;
    background-size: 16px !important;
    padding-right: 48px !important;
    cursor: pointer !important;
}

/* Ползунки (Range) */
.ipo-field input[type="range"] {
    width: 100% !important;
    margin: 12px 0 !important;
    -webkit-appearance: none !important;
    background: transparent !important;
    outline: none !important;
}

.ipo-field input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: #e5e5ea;
    border-radius: 999px;
}

.ipo-field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    height: 24px !important;
    width: 24px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    margin-top: -9px !important;
    cursor: pointer !important;
    transition: transform 0.1s ease !important;
}

.ipo-field input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(1.15) !important;
}

/* Ряды с числами под ползунком */
.ipo-down-row,
.ipo-term-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-family: var(--font-sans) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #1a1e22 !important;
    margin-top: 8px !important;
}

.ipo-down-row input[type="number"] {
    width: 80px !important;
    padding: 8px 12px !important;
    font-size: 15px !important;
    text-align: center !important;
}

.ipo-down-row span {
    font-weight: 500 !important;
    color: var(--accent) !important;
}

/* Правая колонка — результат (тёмная карточка Apple Wallet) */
.ipo-calc-result {
    background: #1a1e22 !important; /* Глубокий тёмный */
    padding: 48px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Декоративное свечение в углу карточки */
.ipo-calc-result::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(191, 148, 110, 0.25), transparent 70%);
    pointer-events: none;
}

.ipo-result-label {
    font-family: var(--font-sans) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.5) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    margin-bottom: 8px !important;
}

/* Огромная цифра платежа */
.ipo-result-payment {
    font-family: var(--font-sans) !important;
    font-size: clamp(36px, 4vw, 56px) !important;
    font-weight: 300 !important;
    letter-spacing: -0.03em !important;
    color: #ffffff !important;
    line-height: 1.1 !important;
    margin: 0 0 40px !important;
}

.ipo-result-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    font-family: var(--font-sans) !important;
    font-size: 14px !important;
    position: relative !important;
    z-index: 1;
}

.ipo-result-details div {
    display: flex !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 14px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.ipo-result-details div:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.ipo-result-details span {
    color: rgba(255, 255, 255, 0.5) !important;
    font-weight: 400 !important;
}

.ipo-result-details b {
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: 15px !important;
}

.ipo-calc-result .ipo-disclaimer {
    font-family: var(--font-sans) !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.35) !important;
    margin-top: 32px !important;
    position: relative !important;
    z-index: 1;
}

/* Мобилка */
@media (max-width: 900px) {
    .ipo-calc { padding: 60px 0 !important; }
    .ipo-calc-box {
        grid-template-columns: 1fr !important;
        margin: 0 24px !important;
        border-radius: 28px !important;
    }
    .ipo-calc-fields { padding: 32px 24px !important; }
    .ipo-calc-result { padding: 40px 24px !important; }
    .ipo-result-payment { font-size: 40px !important; }
}

/* ========== APPLE-STYLE: БАНКИ-ПАРТНЁРЫ (Inset Grouped List) ========== */
.ipo-banks {
    background: #ffffff !important;
    padding: 100px 0 !important;
}

.ipo-banks .ipo-h2 {
    font-family: var(--font-sans) !important;
    font-weight: 300 !important;
    font-size: clamp(32px, 4.5vw, 56px) !important;
    letter-spacing: -0.03em !important;
    color: #1a1e22 !important;
    text-align: center !important;
    margin-bottom: 60px !important;
}

/* Контейнер таблицы — как карточка настроек */
.ipo-banks-table-wrap {
    max-width: 1000px !important;
    margin: 0 auto !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04), inset 0 1px 0 #fff !important;
    overflow: hidden !important;
}

.ipo-banks-table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: transparent !important;
    min-width: 640px !important;
}

/* Заголовки колонок */
.ipo-banks-table th {
    text-align: left !important;
    padding: 20px 24px !important;
    background: #f9f8f6 !important; /* Легкий серый фон, как у header в iOS */
    font-family: var(--font-sans) !important;
    font-weight: 500 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #8e8e8f !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    white-space: nowrap !important;
}

/* Ячейки */
.ipo-banks-table td {
    padding: 24px !important; /* Больше воздуха */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    color: #1a1e22 !important;
    vertical-align: middle !important;
    font-family: var(--font-sans) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    transition: background 0.2s ease !important;
}

.ipo-banks-table tbody tr:last-child td {
    border-bottom: 0 !important;
}

/* Ховер строки — как в настройках */
.ipo-banks-table tbody tr:hover {
    background: #fcfcfc !important;
}

/* Название банка — жирнее */
.ipo-banks-table td b {
    font-weight: 600 !important;
    font-size: 16px !important;
    color: #1a1e22 !important;
}

/* Ставка — акцентный цвет */
.ipo-banks-table td[data-label="Ставка от"] {
    font-weight: 600 !important;
    color: var(--accent) !important;
}

/* Примечание под таблицей */
.ipo-banks .ipo-disclaimer {
    max-width: 1000px !important;
    margin: 24px auto 0 !important;
    padding: 0 24px !important;
    text-align: center !important;
    font-size: 12px !important;
    color: #8e8e8f !important;
}

/* ---------- Мобилка: карточки в стиле iOS ---------- */
    
    .ipo-banks-table-wrap {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 16px !important;
    }
    
    .ipo-banks-table tr {
        background: #ffffff !important;
        border-radius: 20px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
        border: 1px solid rgba(0, 0, 0, 0.03) !important;
        margin-bottom: 16px !important;
        padding: 16px !important;
        display: block !important;
        overflow: hidden !important;
    }

    .ipo-banks-table td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        padding: 10px 0 !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
        font-size: 14px !important;
        gap: 16px !important;
    }
    
    .ipo-banks-table td:last-child {
        border-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .ipo-banks-table td:first-child {
        padding-top: 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
        margin-bottom: 8px !important;
        padding-bottom: 14px !important;
    }

    /* Лейблы в мобильных карточках */
    .ipo-banks-table td::before {
        content: attr(data-label) !important;
        color: #8e8e8f !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.02em !important;
        flex-shrink: 0 !important;
        text-align: left !important;
    }

    .ipo-banks-table td:first-child::before {
        display: none !important; /* Убираем лейбл у названия банка */
    }
    
    .ipo-banks-table td b {
        font-size: 20px !important;
    }


/* ========== APPLE-STYLE: ЭТАПЫ ПОКУПКИ (Таймлайн) ========== */
.ipo-steps {
    background: #f9f8f6 !important;
    padding: 100px 0 !important;
}

.ipo-steps .ipo-h2 {
    font-family: var(--font-sans) !important;
    font-weight: 300 !important;
    font-size: clamp(32px, 4.5vw, 56px) !important;
    letter-spacing: -0.03em !important;
    color: #1a1e22 !important;
    text-align: center !important;
    margin-bottom: 60px !important;
}

/* Вертикальный список */
.ipo-steps-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    position: relative !important;
    list-style: none !important;
}

/* Убираем старую горизонтальную линию */
.ipo-steps-list::before {
    display: none !important;
}

/* Каждый шаг — строка */
.ipo-step {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 24px !important;
    padding: 24px 0 !important;
    text-align: left !important;
    position: relative !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: background 0.2s ease !important;
}

.ipo-step:last-child {
    border-bottom: 0 !important;
}

.ipo-step:hover {
    background: rgba(255, 255, 255, 0.5) !important;
}

/* Соединительная линия (рисуем через ::after у всех, кроме последнего) */
.ipo-step::after {
    content: '' !important;
    position: absolute !important;
    left: 24px !important; /* Центр иконки (48px / 2) */
    top: 72px !important; /* От низа иконки до следующего шага */
    bottom: -24px !important;
    width: 2px !important;
    background: linear-gradient(180deg, rgba(191, 148, 110, 0.3), rgba(191, 148, 110, 0.05)) !important;
    z-index: 0;
}

.ipo-step:last-child::after {
    display: none !important;
}

/* Иконка-сквиркл с номером */
.ipo-step-num {
    position: relative !important;
    z-index: 1;
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important; /* iOS-сквиркл */
    background: var(--accent) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: var(--font-sans) !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    box-shadow: 0 6px 16px rgba(191, 148, 110, 0.3) !important;
}

/* Контент шага */
.ipo-step-body {
    flex: 1 !important;
    padding-top: 4px !important;
}

.ipo-step-title {
    font-family: var(--font-sans) !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #1a1e22 !important;
    margin: 0 0 8px 0 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.3 !important;
}

.ipo-step-desc {
    font-family: var(--font-sans) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    color: #5a5d61 !important;
    margin: 0 !important;
}

/* Мобилка */
    .ipo-steps-list { padding: 0 16px !important; }
    .ipo-step { gap: 16px !important; padding: 20px 0 !important; }
    .ipo-step::after { left: 20px !important; top: 60px !important; }
    .ipo-step-num { width: 40px !important; height: 40px !important; border-radius: 12px !important; font-size: 16px !important; }
    .ipo-step-title { font-size: 17px !important; }
    .ipo-step-desc { font-size: 14px !important; }


/* ========== APPLE-STYLE: ЭТАПЫ ПОКУПКИ (Таймлайн) ========== */
.ipo-steps {
    background: #f9f8f6 !important;
    padding: 100px 0 !important;
}

.ipo-steps .ipo-h2 {
    font-family: var(--font-sans) !important;
    font-weight: 300 !important;
    font-size: clamp(32px, 4.5vw, 56px) !important;
    letter-spacing: -0.03em !important;
    color: #1a1e22 !important;
    text-align: center !important;
    margin-bottom: 60px !important;
}

/* Вертикальный список */
.ipo-steps-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    position: relative !important;
    list-style: none !important;
}

/* Убираем старую горизонтальную линию */
.ipo-steps-list::before {
    display: none !important;
}

/* Каждый шаг — строка */
.ipo-step {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 24px !important;
    padding: 24px 0 !important;
    text-align: left !important;
    position: relative !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: background 0.2s ease !important;
}

.ipo-step:last-child {
    border-bottom: 0 !important;
}

.ipo-step:hover {
    background: rgba(255, 255, 255, 0.5) !important;
}

/* Соединительная линия (рисуем через ::after у всех, кроме последнего) */
.ipo-step::after {
    content: '' !important;
    position: absolute !important;
    left: 24px !important; /* Центр иконки (48px / 2) */
    top: 72px !important; /* От низа иконки до следующего шага */
    bottom: -24px !important;
    width: 2px !important;
    background: linear-gradient(180deg, rgba(191, 148, 110, 0.3), rgba(191, 148, 110, 0.05)) !important;
    z-index: 0;
}

.ipo-step:last-child::after {
    display: none !important;
}

/* Иконка-сквиркл с номером */
.ipo-step-num {
    position: relative !important;
    z-index: 1;
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important; /* iOS-сквиркл */
    background: var(--accent) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: var(--font-sans) !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    box-shadow: 0 6px 16px rgba(191, 148, 110, 0.3) !important;
}

/* Контент шага */
.ipo-step-body {
    flex: 1 !important;
    padding-top: 4px !important;
}

.ipo-step-title {
    font-family: var(--font-sans) !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #1a1e22 !important;
    margin: 0 0 8px 0 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.3 !important;
}

.ipo-step-desc {
    font-family: var(--font-sans) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    color: #5a5d61 !important;
    margin: 0 !important;
}

/* Мобилка */
    .ipo-steps-list { padding: 0 16px !important; }
    .ipo-step { gap: 16px !important; padding: 20px 0 !important; }
    .ipo-step::after { left: 20px !important; top: 60px !important; }
    .ipo-step-num { width: 40px !important; height: 40px !important; border-radius: 12px !important; font-size: 16px !important; }
    .ipo-step-title { font-size: 17px !important; }
    .ipo-step-desc { font-size: 14px !important; }


/* ---------- ЖЕСТКИЙ ФИКС ДЛЯ ЭТАПОВ ---------- */
body .ipo-steps .ipo-h2 {
    font-family: 'Rubik', sans-serif !important;
    font-weight: 300 !important;
    letter-spacing: -0.03em !important;
}

body .ipo-steps-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

body .ipo-step {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 24px 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* ========== APPLE-STYLE: FAQ (Аккордеон) ========== */
body .ipo-faq {
    background: #ffffff !important;
    padding: 100px 0 !important;
}

body .ipo-faq .ipo-h2 {
    font-family: 'Rubik', sans-serif !important;
    font-weight: 300 !important;
    font-size: clamp(32px, 4.5vw, 56px) !important;
    letter-spacing: -0.03em !important;
    color: #1a1e22 !important;
    text-align: center !important;
    margin-bottom: 60px !important;
}

body .ipo-faq-list {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

body .ipo-faq-item {
    background: #f9f8f6 !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

body .ipo-faq-item[open] {
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(191, 148, 110, 0.2) !important;
}

body .ipo-faq-q {
    list-style: none !important;
    cursor: pointer !important;
    padding: 22px 60px 22px 24px !important;
    font-family: 'Rubik', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #1a1e22 !important;
    position: relative !important;
    user-select: none !important;
    transition: color 0.2s ease !important;
}

body .ipo-faq-q::-webkit-details-marker { display: none !important; }
body .ipo-faq-q::marker { content: '' !important; }

/* Плюс / минус справа */
body .ipo-faq-q::after {
    content: '+' !important;
    position: absolute !important;
    right: 24px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    font-weight: 300 !important;
    color: #1a1e22 !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s ease !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

body .ipo-faq-item[open] .ipo-faq-q::after {
    content: '−' !important;
    background: var(--accent) !important;
    color: #ffffff !important;
    border-color: var(--accent) !important;
}

body .ipo-faq-a {
    padding: 0 24px 22px !important;
    font-family: 'Rubik', sans-serif !important;
    color: #5a5d61 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

body .ipo-faq-a p { margin: 0 !important; }

    body .ipo-faq-list { padding: 0 16px !important; gap: 10px !important; }
    body .ipo-faq-q { padding: 18px 56px 18px 20px !important; font-size: 15px !important; }
    body .ipo-faq-a { padding: 0 20px 18px !important; font-size: 14px !important; }


/* ========== APPLE-STYLE: CTA (Поможем подобрать ипотеку) ========== */
body .ipo-cta {
    background: #1a1e22 !important; /* Тёмный фон секции */
    padding: 80px 24px !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Декоративное свечение в секции */
body .ipo-cta::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 80% !important;
    height: 150% !important;
    background: radial-gradient(circle, rgba(191, 148, 110, 0.15), transparent 60%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

body .ipo-cta .ipo-container {
    position: relative !important;
    z-index: 1 !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    text-align: center !important;
    padding: 60px 40px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 40px !important; /* Крупный сквиркл */
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

body .ipo-cta .ipo-h2 {
    font-family: 'Rubik', sans-serif !important;
    font-weight: 300 !important;
    font-size: clamp(32px, 4.5vw, 56px) !important;
    letter-spacing: -0.03em !important;
    color: #ffffff !important;
    margin-bottom: 16px !important;
    line-height: 1.1 !important;
}

body .ipo-cta .ipo-lead {
    font-family: 'Rubik', sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.5 !important;
    margin: 0 auto 32px !important;
    max-width: 500px !important;
}

body .ipo-cta .ipo-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 40px !important;
    background: #ffffff !important;
    color: #1a1e22 !important;
    font-family: 'Rubik', sans-serif !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    letter-spacing: 0.02em !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}

body .ipo-cta .ipo-btn:hover {
    transform: scale(1.04) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3) !important;
}

    body .ipo-cta .ipo-container { padding: 40px 24px !important; border-radius: 28px !important; }
    body .ipo-cta .ipo-h2 { margin-bottom: 12px !important; }
    body .ipo-cta .ipo-lead { font-size: 15px !important; margin-bottom: 24px !important; }


/* ---------- ФУТЕР: шрифт заголовка ---------- */
/* ---------- ФУТЕР: сдвиг текста левее ---------- */


/* ---------- ФУТЕР: сдвиг текста левее (ФИНАЛ) ---------- */
@media (max-width: 768px) {

/* ---------- ФУТЕР: ФИНАЛЬНОЕ ВЫРАВНИВАНИЕ И ШРИФТ ---------- */
/* Выравниваем заголовок по стандартной сетке сайта */
}

/* Выравниваем адрес и кнопку ровно по той же линии */

/* Мобильная адаптация (чтобы не прилипало к краям) */
@media (max-width: 768px) {

/* ---------- ФУТЕР: одинаковый отступ у заголовка и адреса ---------- */
}

@media (max-width: 768px) {

/* ========== СПАСЕНИЕ ПОСЛЕ ОШИБКИ SED ========== */
/* Возвращаем текст в Hero (отключаем битую анимацию) */
body .hero--ipoteka .hero-title,
body .hero--ipoteka .hero-ipo-panel {
    opacity: 1 !important;
    animation: none !important; 
}

/* Выравниваем футер: заголовок и адрес на одной линии */
}

/* ========== ЖЁСТКИЙ ФИКС HERO ========== */
html body .hero--ipoteka .hero-title {
    font-family: 'Rubik', sans-serif !important;
    font-weight: 300 !important;
    font-size: clamp(26px, 3.5vw, 44px) !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
    color: #1a1e22 !important;
    text-shadow: 0 2px 20px rgba(255,255,255,0.85) !important;
    top: 17% !important;
    width: 50% !important;
    opacity: 1 !important;
    animation: none !important;
    z-index: 3 !important;
}

html body .hero--ipoteka .hero-ipo-panel {
    top: 48% !important;
    opacity: 1 !important;
    animation: none !important;
    z-index: 2 !important;
}

/* ========== ФУТЕР: ФИНАЛЬНОЕ ВЫРАВНИВАНИЕ В ОДНУ ЛИНИЮ ========== */
/* Заголовок сдвигаем на стандартный отступ сайта */

/* Адрес и кнопку ставим ровно по той же линии */

@media (max-width: 768px) {

/* ========== ФУТЕР: ИДЕАЛЬНОЕ ВЫРАВНИВАНИЕ В ОДНУ ЛИНИЮ ========== */
/* Возвращаем заголовку стандартный отступ */
html body .footer-map-header {
    padding-left: 4.44% !important; 
}

/* Адрес и кнопку заставляем работать как центрированный контейнер */
/* Шрифт заголовка */
html body .footer-map-title {
    font-family: 'Rubik', sans-serif !important;
    font-weight: 300 !important;
    letter-spacing: -0.02em !important;
}

/* ========== ФУТЕР: АДРЕС ПО ЦЕНТРУ КОНТЕЙНЕРА ========== */

/* ========== ФУТЕР: АДРЕС ПО ЦЕНТРУ КОНТЕЙНЕРА ========== */

/* ========== ФУТЕР: АДРЕС ПО ЦЕНТРУ (ФИНАЛ) ========== */

/* ========== ФУТЕР: АДРЕС ВНУТРИ ЗАГОЛОВКА (ФИНАЛ) ========== */

/* ========== ФУТЕР: СДВИГ ВНИЗ ЧЕРЕЗ POSITION ========== */
html body .footer-map-footer {
    position: relative !important;
    top: 160px !important; /* Вот этот параметр двигает его вниз */
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    align-items: flex-start !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin-bottom: 160px !important; /* Чтобы блок не наезжал на карту ниже */
}

}

/* ========== ФУТЕР: ФИНАЛЬНЫЙ СДВИГ ========== */
html body .footer-map-footer {
    margin-top: 180px !important; /* Тот самый сдвиг вниз */
}

/* ========== ФУТЕР: ФИНАЛЬНЫЙ ШРИФТ И ВЫРАВНИВАНИЕ ЗАГОЛОВКА ========== */
html body .footer-map .footer-map-title {
    font-family: 'Rubik', sans-serif !important;
    font-weight: 300 !important;
    letter-spacing: -0.02em !important;
    margin-left: 0 !important;  /* Убираем возможные отступы */
    padding-left: 0 !important;
    color: #ffffff !important;
}

/* ========== ФУТЕР: СДВИГ КОНТЕЙНЕРА ЗАГОЛОВКА ВЛЕВО ========== */
html body .footer-map-header {
    padding-left: 1% !important;
}

/* ========== ФУТЕР: АДРЕС ВРОВЕНЬ С ЗАГОЛОВКОМ ========== */
html body .footer-map-footer {
    padding-left: 0 !important;
    margin-left: 0 !important;
}
html body .footer-map-header-left {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* ========== ФУТЕР: НОВАЯ СТЕКЛЯННАЯ КАРТОЧКА ========== */
html body .footer-map-header {
    padding-left: 4.44% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
}

html body .footer-glass-card {
    background: rgba(255, 255, 255, 0.05) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 32px !important;
    padding: 40px !important;
    max-width: 480px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

html body .footer-glass-title {
    font-family: 'Rubik', sans-serif !important;
    font-weight: 300 !important;
    font-size: clamp(28px, 3.5vw, 48px) !important;
    color: #fff !important;
    margin: 0 0 16px 0 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.1 !important;
}

html body .footer-glass-desc {
    font-family: 'Rubik', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0 0 32px 0 !important;
}

html body .footer-glass-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 28px !important;
    background: #eed6b5 !important;
    color: #1a1e22 !important;
    font-family: 'Rubik', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    border: none !important;
    border-radius: 999px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}

html body .footer-glass-btn:hover {
    transform: translateY(-2px) !important;
    background: #fff !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3) !important;
}

html body .footer-glass-btn-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    background: #fff !important;
    border-radius: 50% !important;
    font-size: 14px !important;
    color: #1a1e22 !important;
}
