/**
 * Главная nd54.ru — hero, CTA, collapsible map (только публичный сайт).
 */

.nd54-landing-hero {
    position: relative;
    z-index: 2;
    margin: 0 auto 1.75rem;
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem);
    max-width: 920px;
    text-align: center;
    color: #fff;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(15, 52, 120, 0.55) 0%, rgba(34, 121, 189, 0.35) 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.nd54-landing-hero__eyebrow {
    display: inline-block;
    margin-bottom: 0.65rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.95);
}

.nd54-landing-hero__title {
    margin: 0 0 0.75rem;
    font-family: var(--nd54-font-display, 'Manrope', system-ui, sans-serif);
    font-size: clamp(1.65rem, 4.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.nd54-landing-hero__lead {
    margin: 0 auto 1.35rem;
    max-width: 38rem;
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

.nd54-landing-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    align-items: center;
}

.nd54-landing-hero__actions .nd54-btn {
    min-height: 44px;
    min-width: min(100%, 220px);
}

.nd54-landing-hero__note {
    margin: 1rem 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.78);
}

/* Карта — всегда на виду под hero */
.nd54-map-section {
    position: relative;
    z-index: 2;
    margin: 0 auto 1.75rem;
    max-width: 980px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.16);
    overflow: hidden;
}

.nd54-map-section__title {
    margin: 0;
    padding: 0.85rem 1.15rem;
    font-family: var(--nd54-font-display, 'Manrope', system-ui, sans-serif);
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    font-weight: 700;
    color: #fff;
    text-align: center;
    background: rgba(15, 52, 120, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.nd54-map-section__title i {
    margin-right: 0.35rem;
    opacity: 0.9;
}

.nd54-map-section__canvas {
    margin-top: 0;
    padding: 0.75rem 0.75rem 1rem;
}

.nd54-map-section .top-header {
    margin-top: 0;
}

/* Миссия — короче на первом экране */
.section.about-me .section-heading.hero-fade-in h2 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.section.about-me .section-heading.hero-fade-in > span {
    display: block;
    max-width: 42rem;
    margin: 0 auto;
    font-size: 0.98rem;
    line-height: 1.55;
}

@media (min-width: 992px) {
    .nd54-map-section__canvas {
        padding: 1rem 1rem 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .nd54-landing-hero {
        border-radius: 16px;
        text-align: left;
    }

    .nd54-landing-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
}
