/* ===== Hero Services Block ===== */

.nml-hs {
    font-family: inherit;
    background-color: var(--color-primary);
    background-position: bottom center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 100px 0 80px;
    overflow-x: clip;
}

.nml-hs__hero {
    margin-bottom: 48px;
    text-align: center;
    position: relative;
}

.nml-hs__hero-inner {
    max-width: 1044px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nml-hs__heading {
    color: var(--color-text-white);
    margin: 0;
    font-size: 56px;
    line-height: 64px;
    font-weight: 700;
    margin-bottom: 20px;
}

.nml-hs__subhead {
    display: flex;
    align-items: center;
    max-width: 748px;
    margin: 0 0 32px;
    font-size: 18px;
    line-height: 26px;
    font-weight: 500;
    text-align: center;
    color: var(--color-text-white);
}

/* ── Buttons row ── */
.nml-hs__btns {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.nml-hs__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 12px 40px;
    background: #FFFFFF;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.nml-hs__btn-secondary:hover {
    background: #FFFFFF80;
}

.nml-hs__ratings {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 32px;
}

.nml-hs__rating-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nml-hs__rating-icon--container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--color-bg);
    box-shadow: 0px 2px 2px 0px #00000014;
    border-radius: 4px;
}

.nml-hs__rating-icon {
    width: 16px;
    height: 16px;
}

.nml-hs__rating-text {
    display: flex;
    flex-direction: column;
}

.nml-hs__rating-label {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #FFFFFF;
}

.nml-hs__rating-sublabel {
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    text-align: left;
    color: #FFFFFF;
}

.nml-hs__slider-wrap {
    position: relative;
}

.nml-hs__slider {
    width: 100%;
    max-width: var(--container-max, 1208px);
    margin-inline: auto;
    padding: 0;
    overflow: visible; /* let peek slides show beyond the container */
}

.nml-hs__slider .swiper-wrapper {
    align-items: stretch;
}

.nml-hs__slide {
    height: auto;
}

.nml-hs__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
    background: #fff;
    border: 1px solid #eef0fd;
    box-shadow: 0 1px 2px 0 #4C83F333;
    border-radius: 8px;
    transition: all 0.3s;
    height: 100%;
    text-decoration: none;
}

.nml-hs__card:hover {
    border: 1px solid #d5dafa;
    box-shadow: 0 2px 4px rgba(76, 131, 243, 0.24);
}

.nml-hs__card-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.nml-hs__card-preview img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
}

.nml-hs__card-preview-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8eaf6 0%, #dde1f0 100%);
}

.nml-hs__card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nml-hs__card-title {
    margin: 0;
    font-family: 'Fixel Text', sans-serif;
    font-size: 18px;
    line-height: 144%;
    font-weight: 700;
    color: #0B101F;
}

.nml-hs__card-price {
    margin: 0;
    font-family: 'Fixel Text', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #303D60;
}

.nml-hs__nav {
    grid-template-columns: 48px 1fr 48px;
    display: grid;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 32px;
}

.nml-hs__nav-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px;
    gap: 10px;
    width: 48px;
    height: 48px;
    background: #F5F6FA;
    border: 1px solid #889CF1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.nml-hs__nav-btn svg path {
    stroke: #889CF1;
    transition: all 0.3s;
}

.nml-hs__nav-btn:hover {
    border: 1px solid #3868e3;
}

.nml-hs__nav-btn:hover svg path {
    stroke: #3868e3;
}

/* Pagination — same look as .nml-vreviews__pagination.
   Keep Swiper's own positioning off: no `swiper-pagination` class in the markup,
   and no dynamicBullets (it clips bullets inside a flex container). */
.nml-hs__dots {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transform: none;
}

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

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

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

    .nml-hs__hero {
        margin-bottom: 40px;
    }

    .nml-hs__hero-inner {
        padding: 0;
    }

    .nml-hs__heading {
        font-size: 40px;
        line-height: 48px;
        margin-bottom: 16px;
    }

    .nml-hs__subhead {
        margin: 0 0 24px;
        font-size: 16px;
        line-height: 24px;
    }

    .nml-hs__btns {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .nml-hs__btns .btn-primary-black,
    .nml-hs__btn-secondary {
        width: 100%;
        height: 44px;
        font-size: 14px;
        line-height: 20px;
    }

    .nml-hs__ratings {
        gap: 12px 32px;
    }

    .nml-hs__slider {
        padding: 0 20px;
    }

    .nml-hs__nav {
        padding-top: 24px;
    }

    .nml-hs__nav-btn {
        width: 44px;
        height: 44px;
    }
}
