/* ===========================
   Our History – Nomad Move
   =========================== */

.nm-history-page {
    background: #ffffff;
    color: var(--dark);
}

/* HERO */

.nm-history-page .history-hero {
    padding: 110px 0 60px;
    background:
        radial-gradient(circle at top left, rgba(98,208,201,0.12), transparent 55%),
        radial-gradient(circle at bottom right, rgba(232,220,196,0.25), transparent 55%);
    position: relative;
}

.nm-history-page .history-hero-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.nm-history-page .history-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(98,208,201,0.15);
    color: var(--dark);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.nm-history-page .history-hero h1 {
    margin: 0 0 10px;
    font-size: 36px;
    line-height: 1.15;
    color: var(--dark);
}

.nm-history-page .history-hero-subtitle {
    margin: 0 auto;
    max-width: 640px;
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.9;
}

/* тонкая полоска под hero, как акцент */
.nm-history-page .history-hero::after {
    content: "";
    display: block;
    width: min(860px, 70vw);
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(to right, #f6a623, #f6a623);
    margin: 28px auto 0;
    opacity: 0.95;
}

/* MAIN CONTENT */

.nm-history-page .history-content {
    padding: 40px 0 80px;
}

.nm-history-page .history-section {
    margin-bottom: 32px;
}

.nm-history-page .history-section-header {
    max-width: 720px;
    margin-bottom: 10px;
}

.nm-history-page .history-section-title {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.nm-history-page .history-section-body p {
    margin: 6px 0;
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.95;
}

/* двухколоночный блок для списка услуг */

.nm-history-page .history-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
    gap: 24px;
    align-items: flex-start;
    margin-top: 8px;
}

.nm-history-page .history-col-text p {
    margin: 6px 0;
    font-size: 15px;
    line-height: 1.7;
}

.nm-history-page .history-col-list {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
    padding: 16px 18px 18px;
}

/* список услуг */

.nm-history-page .history-bullet-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.nm-history-page .history-bullet-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 4px;
    line-height: 1.7;
}

/* бирюзовые точки как на qa-card */
.nm-history-page .history-bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    transform: translateY(-50%);
}

.nm-history-page .history-section-foot {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.95;
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .nm-history-page .history-hero {
        padding: 90px 0 44px;
    }

    .nm-history-page .history-hero h1 {
        font-size: 32px;
    }

    .nm-history-page .history-two-col {
        grid-template-columns: 1fr;
    }

    .nm-history-page .history-col-list {
        padding: 14px 16px 16px;
    }
}

@media (max-width: 768px) {
    .nm-history-page .history-hero {
        padding: 80px 0 32px;
    }

    .nm-history-page .history-section-title {
        font-size: 20px;
    }

    .nm-history-page .history-section-body p {
        font-size: 14px;
    }

    .nm-history-page .history-bullet-list {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .nm-history-page .history-hero h1 {
        font-size: 28px;
    }

    .nm-history-page .history-hero-subtitle {
        font-size: 14px;
    }
}
