html,
body {
    overflow-x: hidden;
}

.ns-home-page {
    overflow-x: clip;
}

.ns-home-products-section {
    overflow: hidden;
}

.ns-home-products-slider {
    overflow: hidden;
    width: 100%;
}

.ns-home-products-slider .swiper-wrapper {
    align-items: stretch;
}

.ns-home-products-slider .swiper-slide {
    min-width: 0;
}

.ns-home-page {
    --ns-container: 1240px;
    --ns-bg: #f5f7f8;
    --ns-surface: #ffffff;
    --ns-dark: #101820;
    --ns-dark-2: #1f2933;
    --ns-text: #263241;
    --ns-muted: #6b7280;
    --ns-line: rgba(16, 24, 32, .09);
    --ns-accent: #00a046;
    --ns-accent-2: #21c063;
    --ns-accent-dark: #008a3d;
    --ns-accent-soft: rgba(0, 160, 70, .09);
    --ns-radius-xl: 28px;
    --ns-radius-lg: 22px;
    --ns-shadow-card: 0 12px 36px rgba(15, 23, 42, .07);
    --ns-shadow-hover: 0 22px 58px rgba(15, 23, 42, .12), 0 10px 26px rgba(0, 160, 70, .06);
    background: radial-gradient(circle at 8% 0%, rgba(0, 160, 70, .06), transparent 30%), radial-gradient(circle at 92% 4%, rgba(117, 128, 134, .08), transparent 26%), linear-gradient(180deg, #ffffff 0%, #f5f7f8 42%, #eef1f4 100%);
    color: var(--ns-text);
}

.ns-home-page *,
.ns-home-page *::before,
.ns-home-page *::after {
    box-sizing: border-box;
}

.ns-home-hero {
    padding: 34px 0 30px;
}

.ns-home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 20px;
    align-items: stretch;
}

.ns-home-hero__content,
.ns-home-hero__card,
.ns-home-category-card,
.ns-home-service-card,
.ns-home-contact__panel {
    border-radius: var(--ns-radius-xl);
    border: 1px solid var(--ns-line);
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--ns-shadow-card);
}

.ns-home-hero__content {
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 5vw, 54px);
}

.ns-home-hero__content::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(0, 160, 70, .06);
    pointer-events: none;
}

.ns-home-hero h1 {
    position: relative;
    z-index: 2;
    max-width: 830px;
    margin: 0 0 18px;
    color: var(--ns-dark);
    font-size: clamp(44px, 6vw, 82px);
    line-height: .93;
    letter-spacing: -.065em;
}

.ns-home-lead {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 0 24px;
    color: var(--ns-muted);
    font-size: 18px;
    line-height: 1.8;
}

.ns-home-search {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    max-width: 760px;
    margin: 0 0 22px;
    padding: 8px;
    border-radius: 18px;
    border: 1px solid rgba(16, 24, 32, .08);
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

.ns-home-search input {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ns-dark);
    font-size: 15px;
    font-weight: 750;
}

.ns-home-search button {
    min-height: 50px;
    padding: 0 22px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ns-accent), var(--ns-accent-2));
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease;
}

.ns-home-search button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 160, 70, .22);
}

.ns-home-actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.ns-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.ns-home-btn:hover {
    transform: translateY(-3px);
}

.ns-home-btn--accent {
    background: linear-gradient(135deg, var(--ns-accent), var(--ns-accent-2));
    color: #fff;
    box-shadow: 0 18px 42px rgba(0, 160, 70, .22);
}

.ns-home-btn--dark {
    background: var(--ns-dark);
    color: #fff;
}

.ns-home-hero__card {
    padding: 32px;
    background: radial-gradient(circle at top right, rgba(0, 160, 70, .24), transparent 40%), linear-gradient(145deg, #101820 0%, #1f2933 100%);
    color: #fff;
}

.ns-home-hero__card span,
.ns-home-contact__panel span,
.ns-home-section-head span,
.ns-home-slider-head span {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--ns-accent-dark);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ns-home-hero__card > span {
    color: #6ee7a8;
}

.ns-home-hero__card strong {
    display: block;
    margin-bottom: 16px;
    color: #fff;
    font-size: 34px;
    line-height: 1.04;
    letter-spacing: -.04em;
}

.ns-home-hero__card p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .74);
    line-height: 1.75;
}

.ns-home-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ns-home-hero__stats div {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
}

.ns-home-hero__stats strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 18px;
}

.ns-home-hero__stats span {
    color: rgba(255, 255, 255, .68);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.ns-home-categories,
.ns-home-products-section,
.ns-home-services,
.ns-home-contact {
    padding: 24px 0;
}

.ns-home-section-head {
    max-width: 820px;
    margin-bottom: 22px;
}

.ns-home-section-head h2,
.ns-home-slider-head h2,
.ns-home-contact__panel h2 {
    margin: 0 0 12px;
    color: var(--ns-dark);
    font-size: clamp(34px, 4vw, 54px);
    line-height: .98;
    letter-spacing: -.05em;
}

.ns-home-section-head p,
.ns-home-slider-head p,
.ns-home-contact__panel p {
    margin: 0;
    color: var(--ns-muted);
    line-height: 1.75;
}

.ns-home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ns-home-category-card {
    display: grid;
    gap: 10px;
    min-height: 150px;
    padding: 24px;
    text-decoration: none;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.ns-home-category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 160, 70, .22);
    box-shadow: var(--ns-shadow-hover);
}

.ns-home-category-card span {
    color: var(--ns-accent-dark);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.ns-home-category-card strong {
    color: var(--ns-dark);
    font-size: 24px;
    line-height: 1.1;
}

.ns-home-category-card small {
    color: var(--ns-muted);
    font-size: 14px;
    font-weight: 800;
}

.ns-home-slider-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.ns-home-slider-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ns-home-slider-actions a,
.ns-home-swiper-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 15px;
    border: 0;
    border-radius: 14px;
    background: #fff;
    color: var(--ns-dark);
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    cursor: pointer;
    transition: transform .22s ease, background .22s ease, color .22s ease;
}

.ns-home-swiper-btn {
    width: 44px;
    padding: 0;
}

.ns-home-slider-actions a:hover,
.ns-home-swiper-btn:hover {
    transform: translateY(-2px);
    background: var(--ns-dark);
    color: #fff;
}

.ns-home-products-slider {
    overflow: hidden;
    width: 100%;
}

.ns-home-products-slider .swiper-slide {
    height: auto;
}

.ns-home-products-slider .ns-product-card {
    height: 100%;
}

.ns-home-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ns-home-service-card {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 26px;
    text-decoration: none;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.ns-home-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 160, 70, .22);
    box-shadow: var(--ns-shadow-hover);
}

.ns-home-service-card span {
    margin-bottom: 16px;
    color: var(--ns-accent-dark);
    font-size: 12px;
    font-weight: 950;
}

.ns-home-service-card strong {
    margin-bottom: 12px;
    color: var(--ns-dark);
    font-size: 24px;
    line-height: 1.1;
}

.ns-home-service-card p {
    margin: 0;
    color: var(--ns-muted);
    line-height: 1.7;
}

.ns-home-service-card--dark {
    background: radial-gradient(circle at top right, rgba(0, 160, 70, .24), transparent 40%), linear-gradient(145deg, #101820, #1f2933);
    color: #fff;
}

.ns-home-service-card--dark span {
    color: #6ee7a8;
}

.ns-home-service-card--dark strong {
    color: #fff;
}

.ns-home-service-card--dark p {
    color: rgba(255, 255, 255, .72);
}

.ns-home-service-card--accent {
    background: radial-gradient(circle at top right, rgba(0, 160, 70, .08), transparent 40%), #fff;
}

.ns-home-contact {
    padding-bottom: 76px;
}

.ns-home-contact__panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px;
}

.ns-home-contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 1080px) {
    .ns-home-hero__grid,
    .ns-home-category-grid,
    .ns-home-services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ns-home-slider-head,
    .ns-home-contact__panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    .ns-home-hero {
        padding: 24px 0;
    }

    .ns-home-hero__grid,
    .ns-home-category-grid,
    .ns-home-services-grid {
        grid-template-columns: 1fr;
    }

    .ns-home-hero__content,
    .ns-home-hero__card,
    .ns-home-category-card,
    .ns-home-service-card,
    .ns-home-contact__panel {
        border-radius: 22px;
    }

    .ns-home-hero__content,
    .ns-home-hero__card,
    .ns-home-contact__panel {
        padding: 24px;
    }

    .ns-home-hero h1 {
        font-size: 42px;
    }

    .ns-home-lead {
        font-size: 16px;
    }

    .ns-home-search {
        grid-template-columns: 1fr;
    }

    .ns-home-search button {
        width: 100%;
    }

    .ns-home-hero__stats {
        grid-template-columns: 1fr;
    }

    .ns-home-slider-actions {
        flex-wrap: wrap;
    }
}
.ns-home-products-section .ns-container {
    overflow: hidden;
}