.nml-services {
    padding: 80px 0;
    background: var(--color-bg);
}

/* ── Header ── */
.nml-services__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    margin-bottom: 48px;
}

.nml-services__heading {
    margin: 0;
    font-size: 48px;
    line-height: 56px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.nml-services__heading span {
    color: var(--color-text-accent);
}

/* ── Slider wrap ── */
.nml-services__slider-wrap {
    position: relative;
}

.nml-services__swiper {
    overflow: hidden;
}

/* ── Slide / Card ── */
.nml-services__slide {
    height: auto;
    padding-bottom: 6px;
}

.nml-services__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-bg);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0px 2px 4px 0px #4C83F33D;
    padding: 20px;
}

.nml-services__card-media {
    width: 100%;
    height: auto;
    overflow: hidden;
    flex-shrink: 0;
    object-fit: contain;
}

.nml-services__card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.nml-services__card-body {
    display: flex;
    flex-direction: column;
    padding: 16px 0 0 0;
    flex: 1;
}

.nml-services__card-title {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    color: var(--color-text-primary);
}

.nml-services__card-text {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--color-text-secondary);
    flex: 1;
}

.nml-services__card-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 24px;
}

.nml-services__price {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: var(--color-accent);
    white-space: nowrap;
}

/* ── Nav row: prev | bullets | next ── */
.nml-services__nav-row {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

/* ── Nav arrows ── */
.nml-services__nav {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #889CF1;
    background: #F5F6FA;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #889CF1;
    transition: border-color 0.18s, box-shadow 0.18s;
    flex-shrink: 0;
}

.nml-services__nav:hover {
    border-color: var(--color-primary-border);
    box-shadow: 0 2px 10px rgba(22, 47, 111, 0.10);
}

.nml-services__nav.swiper-button-disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ── Pagination dots ── */
.nml-services__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.nml-services__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 100px;
    background: var(--color-line);
    opacity: 1;
    transition: background 0.18s, width 0.18s;
    cursor: pointer;
    margin: 0 !important;
}

.nml-services__pagination .swiper-pagination-bullet-active {
    background: var(--color-primary);
    width: 32px;
    border-radius: 100px;
}

.nml-services .nml-services__card .btn-primary-black{
    background: #162F6F;
    padding: 10px 16px;
    border: 1px solid var(--color-primary);
    border-radius: 8px;
}

.nml-services .nml-services__card .btn-primary-black:hover{
    background: #0F204D;
    border: 1px solid #040F2D;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .nml-services__heading {
        font-size: 40px;
        line-height: 48px;
    }
}

@media (max-width: 768px) {
    .nml-services {
        padding: 40px 0;
    }

    .nml-services__header {
        margin-bottom: 32px;
    }

    .nml-services__heading {
        font-size: 32px;
        line-height: 40px;
    }

    .nml-services__nav-row {
        margin-top: 24px;
    }

    .nml-services__card-body {
        padding: 12px 0 0 0;
    }

    .nml-services__card-footer{
        padding-top: 20px;
    }

    .nml-services__card-footer {
        flex-direction: column;
    }

    .nml-services .nml-services__card .btn-primary-black{
        width: 100%;
    }

    .nml-services__nav {
        width: 44px;
        height: 44px;
    }
}
