.ns-sectors-section {
    position: relative;
    width: 100%;
    background: #00224D;
    color: #ffffff;
    font-family: 'Metropolis', sans-serif;
    padding: clamp(32px, 3.125vw, 120px) clamp(16px, 3.9vw, 160px) clamp(40px, 4.167vw, 160px);
    box-sizing: border-box;
    overflow: hidden;
}

.ns-sectors-inner {
    width: 100%;
    margin: 0 auto;
}

.ns-sectors-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 clamp(0px, 0.85vw, 40px);
    margin-bottom: clamp(24px, 3.125vw, 120px);
}

.ns-sectors-title {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    column-gap: 0.28em;
    white-space: nowrap;
    color: #ffffff;
    font-family: 'Metropolis', sans-serif;
    text-transform: none;
}

.ns-sectors-line {
    display: block;
    overflow: hidden;
    padding: 0 0.04em 0 0.04em;
    margin-left: -0.04em;
}

.ns-sectors-line-inner {
    display: inline-block;
}

.ns-sectors-word {
    display: inline-block;
    white-space: nowrap;
}

.ns-sectors-char {
    display: inline-block;
    will-change: transform, opacity;
}

.ns-sectors-line {
    font-size: clamp(36px, 3.33vw, 140px);
    line-height: 1.24;
    letter-spacing: -0.03125em;
    font-weight: 400;
    -webkit-text-stroke: 2px #000000;
    paint-order: stroke fill;
}

.ns-sectors-line--light {
    font-weight: 400;
}

@media (min-width: 1025px) {
    .ns-sectors-line {
        line-height: 1.08;
    }
}

.ns-sectors-nav {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.04vw, 44px);
}

.ns-sectors-arrow {
    width: clamp(36px, 2.5vw, 96px);
    height: clamp(36px, 2.5vw, 96px);
    display: grid;
    place-items: center;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.ns-sectors-arrow svg {
    width: 60%;
    height: 60%;
}

.ns-sectors-arrow:hover:not(:disabled) {
    opacity: 0.6;
}

.ns-sectors-prev:hover:not(:disabled) {
    transform: translateX(-4px);
}

.ns-sectors-next:hover:not(:disabled) {
    transform: translateX(4px);
}

.ns-sectors-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.ns-sectors-arrow:focus-visible,
.ns-sector-panel:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.ns-sectors-current {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 0.83vw, 36px);
}

.ns-sectors-icon-box {
    position: relative;
    width: clamp(48px, 4.17vw, 160px);
    height: clamp(48px, 4.17vw, 160px);
    border-radius: clamp(10px, 0.833vw, 32px);
    padding: 4px;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.12);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    overflow: hidden;
}

.ns-sectors-icon {
    grid-area: 1 / 1;
    width: clamp(24px, 2.08vw, 80px);
    height: clamp(24px, 2.08vw, 80px);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
}

.ns-sectors-icon.is-active {
    opacity: 1;
    visibility: visible;
}

.ns-sectors-icon svg {
    width: 100%;
    height: 100%;
}

.ns-sectors-names {
    display: grid;
    justify-items: start;
    padding: 0.15em 0;
    clip-path: inset(0 -100vw);
    flex-shrink: 0;
}

.ns-sectors-name {
    grid-area: 1 / 1;
    font-size: clamp(20px, 2.29vw, 88px);
    line-height: 1.27;
    letter-spacing: -0.045em;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
}

.ns-sectors-name.is-active {
    opacity: 1;
    visibility: visible;
}

.ns-sectors-gallery {
    position: relative;
    display: flex;
    gap: clamp(8px, 0.83vw, 32px);
    width: 100%;
    overflow: hidden;
    height: clamp(280px, min(28.28vw, calc(100svh - var(--ns-header-offset, 105px) - 280px)), 1100px);
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.ns-sector-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: calc((100% - 5 * clamp(8px, 0.83vw, 32px)) / 6);
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: clamp(10px, 0.833vw, 32px);
    overflow: hidden;
    background: #0B2F5C;
    cursor: pointer;
    isolation: isolate;
    will-change: transform, width;
    backface-visibility: hidden;
}

.ns-sector-panel.is-active {
    cursor: pointer;
}

.ns-sector-panel img {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transform: translate(-50%, -50%);
    pointer-events: none;
    will-change: transform;
}

.ns-sector-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 20, 50, 0.3);
    opacity: calc(1 - var(--act, 0));
    transition: background-color 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.ns-sector-panel:hover::after {
    background: rgba(0, 20, 50, 0.08);
}

@media (max-width: 1024px) {
    .ns-sectors-section {
        padding: 64px 32px 56px;
    }

    .ns-sectors-inner {
        display: flex;
        flex-direction: column;
    }

    .ns-sectors-head {
        display: contents;
    }

    .ns-sectors-title {
        order: 1;
        margin-bottom: 28px;
    }

    .ns-sectors-line {
        font-size: 64px;
        letter-spacing: -2px;
    }

    .ns-sectors-gallery {
        order: 2;
        gap: 10px;
        height: 48vw;
    }

    .ns-sector-panel {
        border-radius: 12px;
    }

    .ns-sectors-nav {
        order: 3;
        justify-content: center;
        gap: 16px;
        margin-top: 28px;
    }

    .ns-sectors-arrow {
        width: 44px;
        height: 44px;
    }

    .ns-sectors-current {
        gap: 14px;
    }

    .ns-sectors-icon-box {
        width: 80px;
        height: 80px;
        border-radius: 16px;
    }

    .ns-sectors-icon {
        width: 58%;
        height: 58%;
    }

    .ns-sectors-name {
        font-size: 44px;
        line-height: 56px;
        letter-spacing: -2px;
    }
}

@media (min-width: 600px) and (max-width: 991px) {
    .ns-sectors-section {
        padding: 48px 40px 60px;
    }

    .ns-sectors-title {
        flex-direction: row;
        flex-wrap: nowrap;
        column-gap: 0.28em;
        margin-bottom: 24px;
    }

    .ns-sectors-line {
        font-size: 32px;
        letter-spacing: -0.03125em;
    }

    .ns-sectors-gallery {
        gap: 12px;
        height: calc((100vw - 80px) * 0.56);
    }

    .ns-sector-panel {
        border-radius: 10px;
    }

    .ns-sectors-nav {
        gap: 12px;
        margin-top: 28px;
    }

    .ns-sectors-current {
        gap: 12px;
    }

    .ns-sectors-icon-box {
        width: 64px;
        height: 64px;
        border-radius: 14px;
    }

    .ns-sectors-icon {
        width: 32px;
        height: 32px;
    }

    .ns-sectors-name {
        font-size: 26px;
        line-height: 1.27;
        letter-spacing: -1px;
    }
}

@media (max-width: 599px) {
    .ns-sectors-section {
        padding: 40px 24px 36px;
    }

    .ns-sectors-title {
        flex-direction: row;
        flex-wrap: nowrap;
        column-gap: 0.28em;
        margin-bottom: 20px;
    }

    .ns-sectors-line {
        font-size: 24px;
        letter-spacing: -0.03125em;
    }

    .ns-sectors-gallery {
        gap: 8px;
        height: calc(100svh - var(--ns-header-offset, 80px) - 180px);
        min-height: calc((100vw - 48px) * 1.2);
    }

    .ns-sector-panel {
        border-radius: 8px;
    }

    .ns-sectors-nav {
        gap: 16px;
        margin-top: 23px;
    }

    .ns-sectors-arrow {
        width: 36px;
        height: 36px;
    }

    .ns-sectors-current {
        gap: 12px;
    }

    .ns-sectors-icon-box {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .ns-sectors-icon {
        width: 24px;
        height: 24px;
    }

    .ns-sectors-name {
        font-size: 15px;
        line-height: 1.2;
        letter-spacing: 0;
    }
}

.hm-word {
    display: inline-block;
    overflow: hidden;
    padding-bottom: 0.18em;
    margin-bottom: -0.18em;
    vertical-align: bottom;
}

.hm-word-inner {
    display: inline-block;
    will-change: transform;
}

@media (min-width: 1025px) {
    .ns-sectors-section {
        padding-top: clamp(40px, 4.17vw, 160px);
        padding-bottom: clamp(40px, 4.17vw, 160px);
    }
}

@media (min-width: 600px) {
    .ns-sectors-section {
        display: flex;
        flex-direction: column;
        height: calc(100svh - var(--ns-header-offset, 105px));
    }

    .ns-sectors-inner {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .ns-sectors-gallery {
        flex: 1 1 0;
        height: auto;
        min-height: 200px;
    }
}

@media (max-width: 599px) {
    .ns-sectors-section {
        min-height: calc(100svh - var(--ns-header-offset, 80px));
    }
}
