/* ============================================
   СТРАНИЦА ГОРОДОВ (CITY LANDING)
   ============================================ */

.city-hero-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.city-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.city-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ef1 30%, #a855f7 70%, #c084fc 100%);
}

.city-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.city-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.city-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.city-hero-badge i {
    font-size: 1.1rem;
}

.city-hero-heading {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.city-hero-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.city-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.city-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.city-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    color: var(--primary);
}

.city-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.city-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .city-hero-section {
        padding: 4rem 0;
        min-height: auto;
    }

    .city-hero-heading {
        font-size: 2rem;
    }

    .city-hero-text {
        font-size: 1.0625rem;
    }

    .city-hero-buttons {
        flex-direction: column;
    }

    .city-btn-primary,
    .city-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   СТРАНИЦА ВСЕХ ГОРОДОВ (CITIES LIST)
   ============================================ */

.cities-hero-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.cities-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.cities-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ef1 40%, #a855f7 100%);
}

.cities-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.cities-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cities-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.cities-hero-badge i {
    font-size: 1.1rem;
}

.cities-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cities-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.cities-list-section {
    padding: 5rem 0;
    background: #FAFBFC;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.city-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text);
    font-size: 1.0625rem;
    font-weight: 500;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.city-card:hover {
    border-color: rgba(118, 74, 241, 0.3);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(118, 74, 241, 0.12);
}

.city-card i {
    font-size: 1.25rem;
    color: var(--primary);
}

.cities-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.cities-pagination .pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cities-pagination .page-item {
    margin: 0;
}

.cities-pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.75rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cities-pagination .page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(118, 74, 241, 0.06);
}

.cities-pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.cities-pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 768px) {
    .cities-hero-section {
        padding: 4rem 0;
        min-height: auto;
    }

    .cities-hero-title {
        font-size: 2rem;
    }

    .cities-hero-description {
        font-size: 1.0625rem;
    }

    .cities-list-section {
        padding: 3rem 0;
    }

    .cities-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .city-card {
        padding: 1rem 1.25rem;
    }
}

/* How It Works Section */
.how-it-works-section {
    padding: 5rem 0;
    background: #FAFBFC;
}

.how-it-works-section .section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin: 0 auto;
}

/* Steps flow - горизонтальная цепочка с стрелками */
.steps-flow {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 2.5rem;
}

.step-item {
    flex: 1;
    min-width: 180px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
}

.step-item-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.step-item-number span {
    font-size: 1.5rem;
    font-weight: 800;
}

.step-item-content {
    flex: 1;
}

.step-item-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.step-item-title i {
    font-size: 1.25rem;
    color: var(--primary);
}

.step-item-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    color: var(--border);
    font-size: 1.5rem;
}

@media (max-width: 991px) {
    .step-arrow {
        transform: rotate(90deg);
        width: 100%;
        padding: 0.5rem 0;
    }
}

/* Features Section */
.features-section-new {
    padding: 5rem 0;
    background: white;
}

.features-section-new .section-header {
    margin-bottom: 3.5rem;
}

.features-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 2rem;
}

.feature-card-new {
    padding: 2.5rem 2rem;
    background: #FAFBFC;
    border-radius: 16px;
    text-align: center;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.feature-card-new:hover {
    background: white;
    border-color: var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: white;
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.feature-title-new {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.feature-text-new {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
    position: relative;
}

.cta-card {
    position: relative;
    margin: 0 auto;
    padding: 4rem 3rem;
    text-align: center;
}

.cta-content {
    color: white;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.cta-description {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 1.75rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--primary);
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: var(--primary);
}

.btn-cta-primary i {
    transition: transform 0.25s ease;
}

.btn-cta-primary:hover i {
    transform: translateX(3px);
}

/* About Section */
.about-section-new {
    padding: 5rem 0;
    background: #FAFBFC;
}

.about-content {
    margin: 0 auto;
    text-align: center;
}

.about-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.about-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.about-description:last-child {
    margin-bottom: 0;
}

/* Адаптивность для нового дизайна */
@media (max-width: 991px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title-new {
        font-size: 2.5rem;
    }

    .hero-image-wrapper {
        height: 400px;
    }

    .floating-profile-card {
        width: 140px;
        height: 140px;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .steps-flow {
        flex-direction: column;
        align-items: center;
    }

    .step-item {
        max-width: 100%;
    }

    .features-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2.25rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-card {
        padding: 3rem 2rem;
    }

    .about-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .homepage-hero {
        padding: 4rem 0;
        min-height: auto;
    }

    .hero-title-new {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-actions-new {
        flex-direction: column;
    }

    .btn-hero-main,
    .btn-hero-outline {
        width: 100%;
        justify-content: center;
    }

    .steps-flow {
        flex-direction: column;
    }

    .step-item {
        max-width: 100%;
    }

    .features-grid-new {
        grid-template-columns: 1fr;
    }

    .feature-card-new {
        padding: 1.75rem 1.5rem;
    }

    .cta-card {
        padding: 2rem 1.5rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-description {
        font-size: 1.125rem;
    }
}

/* ============================================
   ГЛАВНАЯ — РЕДИЗАЙН (MATUR HOME)
   Палитра под бренд: фиолет #764AF1 + мягкий розовый акцент
   ============================================ */

.mhome {
    /* Семантика имён сохранена для совместимости разметки.
       Моно-фиолетовая палитра под бренд сайта (#764AF1 + #aa7ffd) с одной cyan-нотой. */
    --m-cream: #FAFBFF;
    --m-cream-deep: #F0E8FF;
    --m-blush: #F5F0FF;
    --m-blush-deep: #E0D2FF;
    --m-rose-50: #F5F0FF;
    --m-rose-300: #C8B0FF;
    --m-rose-500: #764AF1;
    --m-rose-700: #5A35C9;
    --m-burgundy: #3D1A8C;
    --m-gold-300: #DCC8FF;
    --m-gold-400: #B49BFF;
    --m-gold-500: #aa7ffd;
    --m-gold-700: #5A35C9;
    --m-ink: #1A1A2E;
    --m-ink-soft: #4A5568;
    --m-ink-muted: #718096;
    --m-divider: rgba(118, 74, 241, 0.16);
    --m-shadow-soft: 0 18px 48px rgba(118, 74, 241, 0.12);
    --m-shadow-warm: 0 16px 36px rgba(118, 74, 241, 0.18);

    --m-display: 'Cormorant Garamond', 'PT Serif', Georgia, serif;

    position: relative;
    background:
        radial-gradient(1100px 580px at -10% -10%, rgba(170, 127, 253, 0.20), transparent 60%),
        radial-gradient(900px 520px at 110% 8%, rgba(79, 172, 254, 0.14), transparent 55%),
        linear-gradient(180deg, #FFFFFF 0%, #F8F5FF 100%);
    color: var(--m-ink);
    overflow: hidden;
}

.mhome::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(rgba(118, 74, 241, 0.05) 1px, transparent 1px);
    background-size: 28px 28px;
    background-position: 0 0;
    opacity: 0.5;
    z-index: 0;
}

.mhome .container {
    position: relative;
    z-index: 1;
}

.mhome a {
    text-decoration: none;
}

.mhome em {
    font-style: italic;
    color: var(--m-rose-700);
    font-family: var(--m-display);
    font-weight: 600;
}

.mhome-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--m-gold-700);
    margin-bottom: 0.85rem;
}

.mhome-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--m-gold-500));
}

.mhome-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.mhome-section-head--left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 760px;
}

.mhome-section-head--left .mhome-eyebrow::before {
    background: linear-gradient(90deg, var(--m-gold-500), transparent);
}

.mhome-section-head--left .mhome-eyebrow {
    flex-direction: row-reverse;
}

.mhome-section-title {
    font-family: var(--m-display);
    font-weight: 600;
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--m-ink);
    margin: 0 0 0.85rem;
}

.mhome-section-lead {
    margin: 0;
    color: var(--m-ink-soft);
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    line-height: 1.65;
}

.mhome-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(118, 74, 241, 0.24);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    color: var(--m-rose-700);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 14px rgba(118, 74, 241, 0.06);
}

.mhome-pill__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--m-rose-500);
    box-shadow: 0 0 0 3px rgba(118, 74, 241, 0.18);
    animation: mhome-pulse 2s ease-in-out infinite;
}

@keyframes mhome-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(118, 74, 241, 0.18); }
    50% { box-shadow: 0 0 0 6px rgba(118, 74, 241, 0); }
}

.mhome-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.mhome-btn--primary {
    background: linear-gradient(135deg, var(--m-rose-500) 0%, var(--m-rose-700) 100%);
    color: #fff;
    box-shadow: 0 14px 32px rgba(118, 74, 241, 0.35), inset 0 1px 0 rgba(255,255,255,0.18);
}

.mhome-btn--primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(118, 74, 241, 0.42), inset 0 1px 0 rgba(255,255,255,0.18);
}

.mhome-btn--gold {
    background: linear-gradient(135deg, #E0D2FF 0%, var(--m-gold-500) 60%, var(--m-gold-700) 100%);
    color: var(--m-burgundy);
    box-shadow: 0 14px 32px rgba(118, 74, 241, 0.32), inset 0 1px 0 rgba(255,255,255,0.4);
}

.mhome-btn--gold:hover {
    color: var(--m-burgundy);
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(118, 74, 241, 0.42), inset 0 1px 0 rgba(255,255,255,0.4);
}

.mhome-btn--ghost {
    background: rgba(255, 255, 255, 0.6);
    color: var(--m-ink);
    border-color: rgba(118, 74, 241, 0.28);
    backdrop-filter: blur(8px);
}

.mhome-btn--ghost:hover {
    color: var(--m-rose-700);
    background: #fff;
    border-color: var(--m-rose-300);
    transform: translateY(-2px);
}

.mhome-btn--lg {
    padding: 1.1rem 2.1rem;
    font-size: 1.04rem;
}

.mhome-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--m-rose-700);
    font-weight: 600;
    transition: gap 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.mhome-link:hover {
    color: var(--m-burgundy);
    gap: 0.7rem;
}

.mhome-link--lg {
    font-size: 1rem;
    padding: 0.8rem 1.4rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(118, 74, 241, 0.26);
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.mhome-link--lg:hover {
    background: #fff;
    border-color: var(--m-rose-300);
}

.mhome-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--m-gold-500);
    opacity: 0.7;
    margin-bottom: 2.5rem;
}

.mhome-divider svg {
    width: 22px;
    height: 22px;
}

.mhome-divider::before,
.mhome-divider::after {
    content: "";
    flex: 1;
    max-width: 220px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--m-divider), transparent);
    margin: 0 1rem;
}

/* HERO */
.mhome-hero {
    position: relative;
    padding: 5.5rem 0 5rem;
    overflow: hidden;
}

.mhome-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.mhome-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.mhome-hero__glow--rose {
    width: 520px;
    height: 520px;
    top: -120px;
    left: -120px;
    background: radial-gradient(circle, rgba(170, 127, 253, 0.42), transparent 70%);
}

.mhome-hero__glow--gold {
    width: 480px;
    height: 480px;
    top: 80px;
    right: -100px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.32), transparent 70%);
}

.mhome-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: center;
}

.mhome-hero__title {
    font-family: var(--m-display);
    font-weight: 600;
    font-size: clamp(2.6rem, 5.6vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: var(--m-ink);
    margin: 0 0 1.4rem;
}

.mhome-hero__title span {
    display: block;
}

em.mhome-hero__title-em {
    display: block;
    font-style: italic;
    background: linear-gradient(135deg, var(--m-rose-500) 0%, var(--m-rose-700) 50%, var(--m-burgundy) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-family: var(--m-display);
    font-weight: 600;
    position: relative;
    width: fit-content;
}

em.mhome-hero__title-em::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 8px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'><path d='M0 4 Q 25 0 50 4 T 100 4' stroke='%23764AF1' stroke-width='2' fill='none' stroke-linecap='round'/></svg>") no-repeat;
    background-size: 100% 100%;
    opacity: 0.7;
}

.mhome-hero__lead {
    margin: 0 0 2rem;
    color: var(--m-ink-soft);
    font-size: clamp(1.05rem, 1.5vw, 1.18rem);
    line-height: 1.7;
    max-width: 540px;
}

.mhome-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}

.mhome-hero__visual {
    position: relative;
    min-height: 540px;
}

.mhome-hero__ornament-circle {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255,255,255,0.7) 0%, rgba(255,235,210,0.55) 60%, transparent 78%),
        conic-gradient(from 90deg at 50% 50%, var(--m-gold-300), #fff, var(--m-rose-300), #fff, var(--m-gold-300));
    opacity: 0.45;
    filter: blur(2px);
    box-shadow: 0 30px 80px rgba(118, 74, 241, 0.15);
    z-index: 0;
}

.mhome-hero__card {
    position: absolute;
    background: #fff;
    border: 1px solid rgba(118, 74, 241, 0.16);
    border-radius: 22px;
    box-shadow: var(--m-shadow-warm);
    z-index: 1;
}

.mhome-hero__card--profile {
    top: 0;
    left: 0;
    width: 290px;
    padding: 1.1rem;
    display: flex;
    gap: 0.95rem;
    align-items: center;
    transform: rotate(-2deg);
    animation: mhome-float-1 7s ease-in-out infinite;
}

.mhome-hero__card--match {
    top: 38%;
    right: 0;
    padding: 1rem 1.25rem;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    background: linear-gradient(135deg, #fff 0%, #F5F0FF 100%);
    border-color: rgba(118, 74, 241, 0.25);
    transform: rotate(3deg);
    animation: mhome-float-2 8s ease-in-out infinite;
    z-index: 2;
}

.mhome-hero__card--quote {
    bottom: 0;
    left: 6%;
    width: 300px;
    padding: 1.25rem 1.35rem 1.15rem;
    background: linear-gradient(160deg, #F5F0FF 0%, #fff 100%);
    border-color: rgba(118, 74, 241, 0.24);
    transform: rotate(-1.5deg);
    animation: mhome-float-3 9s ease-in-out infinite;
}

.mhome-hero__profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--m-gold-300) 0%, var(--m-gold-500) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--m-display);
    font-weight: 600;
    font-size: 1.6rem;
    box-shadow: 0 6px 14px rgba(118, 74, 241, 0.3);
    flex-shrink: 0;
}

.mhome-hero__profile-name {
    margin: 0 0 2px;
    font-weight: 700;
    color: var(--m-ink);
    font-size: 1rem;
}

.mhome-hero__profile-city {
    margin: 0 0 0.5rem;
    color: var(--m-ink-muted);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.mhome-hero__profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.mhome-hero__profile-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.55rem;
    background: var(--m-cream-deep);
    color: var(--m-rose-700);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
}

.mhome-hero__match-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--m-rose-500), var(--m-rose-700));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 6px 16px rgba(118, 74, 241, 0.45);
    flex-shrink: 0;
}

.mhome-hero__match-title {
    margin: 0 0 2px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--m-rose-700);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mhome-hero__match-sub {
    margin: 0;
    font-family: var(--m-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--m-ink);
}

.mhome-hero__quote-mark {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--m-cream-deep);
    color: var(--m-rose-500);
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
}

.mhome-hero__quote-text {
    margin: 0 0 0.4rem;
    font-family: var(--m-display);
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.35;
    color: var(--m-ink);
}

.mhome-hero__quote-author {
    font-size: 0.78rem;
    color: var(--m-ink-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@keyframes mhome-float-1 {
    0%, 100% { transform: rotate(-2deg) translateY(0); }
    50% { transform: rotate(-2deg) translateY(-8px); }
}
@keyframes mhome-float-2 {
    0%, 100% { transform: rotate(3deg) translateY(0); }
    50% { transform: rotate(3deg) translateY(-10px); }
}
@keyframes mhome-float-3 {
    0%, 100% { transform: rotate(-1.5deg) translateY(0); }
    50% { transform: rotate(-1.5deg) translateY(-6px); }
}

/* VALUES — bento асимметричная раскладка */
.mhome-values {
    position: relative;
    padding: 4.5rem 0 6rem;
}

.mhome-values__bento {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
    min-height: 460px;
}

.mhome-values__card {
    position: relative;
    padding: 2.4rem 2rem 2.2rem;
    background: linear-gradient(180deg, #fff 0%, #FAFBFF 100%);
    border: 1px solid rgba(118, 74, 241, 0.16);
    border-radius: 24px;
    box-shadow: 0 10px 28px rgba(118, 74, 241, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mhome-values__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(118, 74, 241, 0.16);
    border-color: rgba(118, 74, 241, 0.32);
}

.mhome-values__card--lg {
    grid-row: 1 / span 2;
    background: linear-gradient(160deg, #3D1A8C 0%, #5A35C9 60%, #764AF1 100%);
    color: #fff;
    padding: 3rem 2.5rem 2.8rem;
    border-color: rgba(170, 127, 253, 0.4);
    box-shadow: 0 18px 44px rgba(61, 26, 140, 0.4);
}

.mhome-values__card--lg:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 56px rgba(61, 26, 140, 0.5);
    border-color: rgba(170, 127, 253, 0.6);
}

.mhome-values__card-ornament {
    position: absolute;
    top: -24px;
    right: -28px;
    width: 180px;
    height: 180px;
    color: rgba(118, 74, 241, 0.07);
    pointer-events: none;
    transition: transform 0.6s ease, color 0.3s ease;
}

.mhome-values__card-ornament svg {
    width: 100%;
    height: 100%;
    display: block;
}

.mhome-values__card:hover .mhome-values__card-ornament {
    transform: rotate(8deg) scale(1.05);
    color: rgba(118, 74, 241, 0.12);
}

.mhome-values__card--lg .mhome-values__card-ornament {
    width: 320px;
    height: 320px;
    top: auto;
    bottom: -70px;
    right: -70px;
    color: rgba(255, 255, 255, 0.07);
}

.mhome-values__card--lg:hover .mhome-values__card-ornament {
    color: rgba(255, 255, 255, 0.12);
}

.mhome-values__card-num {
    display: inline-flex;
    align-items: center;
    font-family: var(--m-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--m-rose-300);
    letter-spacing: 0.2em;
    margin-bottom: 0.9rem;
    position: relative;
    z-index: 1;
    line-height: 1;
}

.mhome-values__card-num::after {
    content: "";
    display: inline-block;
    margin-left: 0.7rem;
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
    vertical-align: middle;
}

.mhome-values__card--lg .mhome-values__card-num {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.mhome-values__card-title {
    font-family: var(--m-display);
    font-weight: 600;
    font-size: clamp(1.55rem, 2.4vw, 1.95rem);
    line-height: 1.1;
    letter-spacing: -0.005em;
    margin: 0 0 0.85rem;
    color: var(--m-ink);
    position: relative;
    z-index: 1;
}

.mhome-values__card--lg .mhome-values__card-title {
    color: #fff;
    font-size: clamp(2.1rem, 3.5vw, 3.1rem);
    margin-bottom: 1.4rem;
}

.mhome-values__card-text {
    margin: 0;
    color: var(--m-ink-soft);
    font-size: 1rem;
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

.mhome-values__card--lg .mhome-values__card-text {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.06rem;
    max-width: 32ch;
}

/* STEPS */
.mhome-steps {
    position: relative;
    padding: 4rem 0 5.5rem;
}

.mhome-steps__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.mhome-steps__track::before {
    content: "";
    position: absolute;
    top: 64px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--m-gold-400) 30%, var(--m-gold-400) 70%, transparent);
    opacity: 0.5;
}

.mhome-step {
    position: relative;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(118, 74, 241, 0.18);
    border-radius: 22px;
    padding: 2rem 1.7rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 32px rgba(118, 74, 241, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mhome-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(118, 74, 241, 0.14);
}

.mhome-step__number {
    font-family: var(--m-display);
    font-weight: 600;
    font-size: 2.6rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--m-gold-500);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.mhome-step__title {
    font-family: var(--m-display);
    font-weight: 600;
    font-size: 1.4rem;
    margin: 0 0 0.5rem;
    color: var(--m-ink);
}

.mhome-step__text {
    margin: 0;
    color: var(--m-ink-soft);
    font-size: 0.98rem;
    line-height: 1.62;
}

/* CITIES */
.mhome-cities {
    padding: 4rem 0 5.5rem;
}

.mhome-cities .mhome-section-head {
    margin-bottom: 2.25rem;
}

.mhome-cities__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    list-style: none;
    padding: 0;
    margin: 0 0 2.25rem;
}

.mhome-city {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(118, 74, 241, 0.2);
    border-radius: 14px;
    color: var(--m-ink);
    font-weight: 600;
    backdrop-filter: blur(6px);
    transition: all 0.22s ease;
}

.mhome-city:hover {
    color: var(--m-rose-700);
    background: #fff;
    border-color: var(--m-rose-300);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(118, 74, 241, 0.12);
}

.mhome-city__pin {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--m-cream-deep), var(--m-gold-300));
    color: var(--m-rose-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.22s ease;
}

.mhome-city:hover .mhome-city__pin {
    background: linear-gradient(135deg, var(--m-rose-500), var(--m-rose-700));
    color: #fff;
}

.mhome-city__title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.96rem;
}

.mhome-city__arrow {
    color: var(--m-ink-muted);
    font-size: 0.88rem;
    transition: transform 0.22s ease, color 0.22s ease;
}

.mhome-city:hover .mhome-city__arrow {
    color: var(--m-rose-700);
    transform: translate(2px, -2px);
}

.mhome-cities__more {
    display: flex;
    justify-content: center;
}

/* FAQ */
.mhome-faq {
    padding: 4rem 0 5.5rem;
}

.mhome-faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 3.5rem;
    align-items: start;
}

.mhome-faq__head {
    position: sticky;
    top: 6rem;
}

.mhome-faq__head .mhome-link {
    margin-top: 1.3rem;
}

.mhome-faq__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mhome-faq__item {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(118, 74, 241, 0.2);
    border-radius: 18px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(6px);
}

.mhome-faq__item:hover {
    border-color: rgba(118, 74, 241, 0.32);
}

.mhome-faq__item[open] {
    border-color: rgba(118, 74, 241, 0.4);
    box-shadow: 0 12px 28px rgba(118, 74, 241, 0.1);
}

.mhome-faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.15rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--m-display);
    font-weight: 600;
    font-size: 1.18rem;
    color: var(--m-ink);
    transition: color 0.2s ease;
}

.mhome-faq__item summary::-webkit-details-marker {
    display: none;
}

.mhome-faq__item summary i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--m-cream-deep);
    color: var(--m-rose-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
}

.mhome-faq__item[open] summary i {
    transform: rotate(45deg);
    background: var(--m-rose-700);
    color: #fff;
}

.mhome-faq__item[open] summary {
    color: var(--m-rose-700);
}

.mhome-faq__body {
    padding: 0 1.4rem 1.3rem;
    color: var(--m-ink-soft);
    font-size: 1rem;
    line-height: 1.65;
}

/* CTA — финальное действие, светлая editorial-карточка */
.mhome-cta {
    padding: 2rem 0 6rem;
}

.mhome-cta__card {
    position: relative;
    background:
        radial-gradient(720px 460px at 0% 0%, rgba(170, 127, 253, 0.12), transparent 60%),
        radial-gradient(640px 400px at 100% 100%, rgba(79, 172, 254, 0.10), transparent 60%),
        #FFFFFF;
    border: 1px solid rgba(118, 74, 241, 0.18);
    border-radius: 32px;
    box-shadow: 0 24px 64px rgba(118, 74, 241, 0.16);
    overflow: hidden;
    text-align: center;
    padding: 4rem 2rem 4.25rem;
}

.mhome-cta__ornament {
    width: 36px;
    height: 36px;
    margin: 0 auto 1.5rem;
    color: var(--m-rose-300);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mhome-cta__ornament svg {
    width: 100%;
    height: 100%;
}

.mhome-cta__action {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.mhome-cta__action .mhome-eyebrow {
    margin-bottom: 0.85rem;
}

.mhome-cta__title {
    font-family: var(--m-display);
    font-weight: 600;
    font-size: clamp(1.85rem, 3.6vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--m-ink);
    margin: 0 0 1rem;
}

.mhome-cta__title em {
    color: var(--m-rose-500);
    font-family: var(--m-display);
    font-style: italic;
    font-weight: 600;
}

.mhome-cta__lead {
    margin: 0 0 1.85rem;
    color: var(--m-ink-soft);
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    line-height: 1.65;
}

.mhome-cta__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1.4rem;
}

.mhome-cta__bullets li {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.95rem;
    color: var(--m-ink-soft);
    font-weight: 500;
}

.mhome-cta__bullets i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--m-cream-deep);
    color: var(--m-rose-500);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1199px) {
    .mhome-hero__grid {
        gap: 2.5rem;
    }

    .mhome-cities__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .mhome-hero {
        padding: 4rem 0 4.5rem;
    }

    .mhome-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .mhome-hero__visual {
        min-height: 460px;
        max-width: 480px;
        margin: 0 auto;
    }

    .mhome-steps__track {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .mhome-steps__track::before {
        display: none;
    }

    .mhome-faq__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .mhome-faq__head {
        position: static;
    }

    .mhome-values__bento {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        min-height: 0;
    }

    .mhome-values__card--lg {
        grid-row: auto;
        padding: 2.6rem 2rem 2.4rem;
    }

    .mhome-values__card--lg .mhome-values__card-ornament {
        width: 240px;
        height: 240px;
        bottom: -50px;
        right: -50px;
    }

    .mhome-cta__card {
        padding: 3.25rem 1.5rem 3.5rem;
    }
}

@media (max-width: 767px) {
    .mhome-hero {
        padding: 3rem 0 3.5rem;
    }

    .mhome-hero__title {
        font-size: clamp(2.2rem, 9vw, 3rem);
    }

    .mhome-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .mhome-hero__actions .mhome-btn {
        width: 100%;
    }

    .mhome-hero__visual {
        min-height: 440px;
    }

    .mhome-hero__card--profile { width: 240px; }
    .mhome-hero__card--quote { width: 250px; left: 4%; }
    .mhome-hero__card--match { right: 4%; }

    .mhome-cities__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.65rem;
    }

    .mhome-section-head--left .mhome-section-title,
    .mhome-section-head .mhome-section-title {
        font-size: clamp(1.7rem, 7vw, 2.2rem);
    }

    .mhome-faq__item summary {
        font-size: 1.05rem;
        padding: 1rem 1.1rem;
    }

    .mhome-faq__body {
        padding: 0 1.1rem 1.1rem;
    }

    .mhome-cta {
        padding: 1.5rem 0 4rem;
    }

    .mhome-cta__card {
        padding: 2.75rem 1.25rem 3rem;
        border-radius: 24px;
    }

    .mhome-cta__title {
        font-size: clamp(1.55rem, 6.5vw, 2rem);
    }

    .mhome-cta__bullets {
        flex-direction: column;
        align-items: center;
        gap: 0.65rem;
    }

    .mhome-cta__action .mhome-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .mhome-cities__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .mhome-values__card {
        padding: 2rem 1.4rem 1.8rem;
        border-radius: 20px;
    }

    .mhome-values__card--lg {
        padding: 2.4rem 1.6rem 2.2rem;
    }

    .mhome-values__card-ornament {
        width: 140px;
        height: 140px;
        top: -16px;
        right: -20px;
    }

    .mhome-values__card--lg .mhome-values__card-ornament {
        width: 180px;
        height: 180px;
        bottom: -40px;
        right: -40px;
    }

    .mhome-values__card-num {
        font-size: 0.82rem;
    }

    .mhome-values__card--lg .mhome-values__card-num {
        font-size: 0.85rem;
    }

    .mhome-values__card-title {
        font-size: clamp(1.45rem, 6.5vw, 1.7rem);
    }

    .mhome-values__card--lg .mhome-values__card-title {
        font-size: clamp(1.85rem, 8vw, 2.4rem);
    }
}
/* Legal pages (FAQ / Terms / Policy) */
.legal-page {
    background: transparent;
}

.legal-hero {
    background: transparent;
    border: 0;
    padding: 0;
    margin-bottom: 1.5rem;
}

.legal-kicker {
    display: inline-block;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.legal-page h1 {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    line-height: 1.2;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.6rem;
}

.legal-meta {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.legal-lead {
    color: #4b5563;
    margin: 0;
    font-size: 1rem;
}

.legal-section {
    background: transparent;
    border: 0;
    border-top: 1px solid #e5e7eb;
    padding: 1rem 0;
    margin-bottom: 0;
}

.legal-section h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.65rem;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: #111827;
}

.legal-section-number {
    display: inline;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 600;
}

.legal-section p {
    margin: 0;
    color: #374151;
}

.legal-section ul {
    margin: 0.35rem 0 0;
    padding-left: 1.25rem;
}

.legal-section li {
    color: #374151;
    margin-bottom: 0.35rem;
}

.legal-section li:last-child {
    margin-bottom: 0;
}

.legal-section a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-section-last {
    margin-bottom: 0;
}

/* About page */
.about-page {
    background: #FAFBFC;
    padding: 3rem 0 4rem;
}


.about-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.about-kicker {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-hero h1 {
    margin: 0 0 1rem;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
}

.about-hero p {
    margin: 0 auto;
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.about-hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.about-hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--text-secondary);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.about-hero-badges span i {
    color: var(--primary);
    font-size: 1.1rem;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    margin: 0 0 1rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
}

.about-section > p {
    margin: 0;
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.about-feature-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.about-feature-card i {
    display: block;
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-feature-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
}

.about-feature-card p {
    margin: 0;
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.about-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    border-radius: 16px;
    padding: 2rem 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.about-step > span {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(145deg, #f0ebff, #e8e0ff);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.about-step h3 {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
}

.about-step p {
    margin: 0;
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.about-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    border-radius: 20px;
    padding: 4rem 3rem;
    margin-top: 3rem;
    text-align: center;
}

.about-cta h2 {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

.about-cta p {
    margin: 0;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.about-cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.about-cta-actions .btn-primary {
    background: white;
    color: var(--primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
}

.about-cta-actions .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
}

.about-cta-actions .btn-outline-primary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.about-cta-actions .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: white;
}

@media (max-width: 767.98px) {
    .about-page {
        padding: 2rem 0 3rem;
    }

    .about-hero {
        margin-bottom: 3rem;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero p {
        font-size: 1.125rem;
    }

    .about-hero-badges {
        margin-top: 1.5rem;
    }

    .about-section {
        margin-bottom: 2.5rem;
    }

    .about-section h2 {
        font-size: 1.5rem;
    }

    .about-feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-feature-card {
        padding: 2rem;
    }

    .about-step {
        padding: 1.5rem;
    }

    .about-cta {
        padding: 3rem 2rem;
        margin-top: 2rem;
    }

    .about-cta h2 {
        font-size: 1.5rem;
    }

    .about-cta-actions {
        flex-direction: column;
    }

    .about-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
