:root {
    --switch-ink: #10231a;
    --switch-text: #4a5f56;
    --switch-muted: #6d8178;
    --switch-line: rgba(20, 92, 48, 0.14);
    --switch-line-strong: rgba(20, 92, 48, 0.24);
    --switch-surface: #ffffff;
    --switch-surface-soft: linear-gradient(180deg, #f9fcf8 0%, #eef7ef 100%);
    --switch-accent: #197415;
    --switch-accent-deep: #12590f;
    --switch-shadow: 0 22px 60px rgba(17, 59, 31, 0.12);
    --switch-card-shadow: 0 18px 44px rgba(20, 77, 37, 0.1);
}

.switch-hero {
    position: relative;
    overflow: hidden;
    margin-block-start: 75px;
    padding: 0;
    background: url("../assets/images/products/switch-head.webp") center top / cover no-repeat;
}

.switch-hero__inner {
    position: relative;
    z-index: 1;
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-block: 20px 40px;
}

.switch-hero__copy {
    width: 100%;
    max-width: 760px;
    padding-top: 6px;
    text-align: center;
}

.switch-hero__heading {
    margin: 0 0 10px;
    color: #000000;
    font-family: "Outfit", sans-serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 600;
    line-height: 1.1;
}

.switch-hero__eyebrow {
    margin: 0 0 12px;
    color: var(--switch-accent);
    font-family: "Outfit", sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 400;
    line-height: 1.5;
}

.switch-hero__lead {
    max-width: 750px;
    margin: 0 auto 18px;
    color: #515151;
    font-size: 0.95rem;
    line-height: 1.8;
}

.switch-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    padding: 11px 22px;
    border-radius: 999px;
    background: #197415;
    color: #ffffff;
    font-family: "Mulish", sans-serif;
    font-size: 0.90rem;
    font-weight: 600;
    text-decoration: none;
}

.switch-hero__products {
    width: 100%;
    max-width: 900px;
    margin: 34px auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
    gap: 6px;
    padding-inline: 20px;
}

.switch-hero__product {
    width: 100%;
    max-height: 124px;
    object-fit: contain;
    object-position: center bottom;
    display: block;
    justify-self: center;
    filter: drop-shadow(0 10px 18px rgba(26, 37, 27, 0.12));
}

.switch-hero__product--xl {
    max-width: 255px;
}

.switch-hero__product--tall {
    max-width: 178px;
    max-height: 132px;
}

.switch-hero__product--wide {
    max-width: 208px;
}

.switch-hero__product--compact {
    max-width: 182px;
}

.switch-capabilities {
    position: relative;
    padding-top: 30px;
}

.switch-why {
    padding: 46px 0 22px;
    background: #ffffff;
}

.switch-why__container {
    max-width: 1240px;
}

.switch-why__intro {
    max-width: 1120px;
}

.switch-why__title {
    margin: 0 0 22px;
    color: #343434;
    font-family: "Outfit", sans-serif;
    font-size: clamp(2rem, 2.8vw, 2.8rem);
    font-weight: 500;
    line-height: 1.15;
}

.switch-why__text {
    margin: 0 0 8px;
    color: #343434;
    font-family: "Mulish", sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: -0.01em;
}

.switch-why__text:last-child {
    margin-bottom: 0;
}

.switch-why__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.switch-why-card {
    min-height: 138px;
    padding: 16px 14px 18px;
    border: 1px solid #E9E9E9;
    border-radius: 8px;
    background: #FCFDFC;
    box-shadow: 0 4px 0.8px rgba(0, 0, 0, 0.27);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.switch-why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.switch-why-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #eff8ed;
    color: #6eb36b;
    font-size: 11px;
}

.switch-why-card__title {
    margin: 0 0 8px;
    color: #343434;
    font-family: "Outfit", sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.3;
}

.switch-why-card__desc {
    margin: 0;
    color: #515151;
    font-family: "Mulish", sans-serif;
    font-size: 0.83rem;
    line-height: 1.5;
}

.switch-products {
    margin-top: 42px;
}

.switch-products__heading {
    margin: 0 0 18px;
    color: #1f1f1f;
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.8rem, 2.2vw, 2.25rem);
    font-weight: 500;
}

.switch-products__toggle,
.switch-products__sub-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.switch-products__tabs {
    position: relative;
}

.switch-products__top-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border-radius: 28px 28px 0 0;
    background: #b8b8b8;
}

.switch-products__top-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 14px 18px;
    color: #2f2f2f;
    font-family: "Mulish", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.switch-products__top-tab + .switch-products__top-tab {
    border-left: 1px solid rgba(255, 255, 255, 0.38);
}

#switch-family-dc:checked ~ .switch-products__top-tabs label[for="switch-family-dc"],
#switch-family-enterprise:checked ~ .switch-products__top-tabs label[for="switch-family-enterprise"],
#switch-family-industrial:checked ~ .switch-products__top-tabs label[for="switch-family-industrial"] {
    background: #197415;
    color: #ffffff;
}

.switch-products__panels {
    border: 1px solid #d8d8d8;
    border-top: 0;
    border-radius: 0 0 28px 28px;
    background: #ffffff;
    overflow: hidden;
}

.switch-products__panel {
    display: none;
    padding: 22px 24px 28px;
}

#switch-family-dc:checked ~ .switch-products__panels .switch-products__panel--dc,
#switch-family-enterprise:checked ~ .switch-products__panels .switch-products__panel--enterprise,
#switch-family-industrial:checked ~ .switch-products__panels .switch-products__panel--industrial {
    display: block;
}

.switch-products__intro-grid {
    display: grid;
    grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    margin-bottom: 26px;
}

.switch-products__media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.switch-products__media img {
    max-width: 100%;
    max-height: 170px;
    object-fit: contain;
}

.switch-products__intro-copy h3 {
    margin: 0 0 12px;
    color: #202020;
    font-family: "Outfit", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.switch-products__intro-copy p {
    margin: 0;
    color: #515151;
    font-family: "Mulish", sans-serif;
    font-size: 0.96rem;
    line-height: 1.8;
}

.switch-products__sub-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.switch-products__sub-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 150px;
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #b9b9b9;
    color: #2f2f2f;
    font-family: "Mulish", sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.switch-products__sub-tab i {
    font-size: 0.75rem;
}

#dc-core:checked ~ .switch-products__sub-tabs label[for="dc-core"],
#dc-aggregation:checked ~ .switch-products__sub-tabs label[for="dc-aggregation"],
#dc-access:checked ~ .switch-products__sub-tabs label[for="dc-access"],
#enterprise-core:checked ~ .switch-products__sub-tabs label[for="enterprise-core"],
#enterprise-aggregation:checked ~ .switch-products__sub-tabs label[for="enterprise-aggregation"],
#enterprise-access:checked ~ .switch-products__sub-tabs label[for="enterprise-access"],
#industrial-core:checked ~ .switch-products__sub-tabs label[for="industrial-core"],
#industrial-aggregation:checked ~ .switch-products__sub-tabs label[for="industrial-aggregation"],
#industrial-access:checked ~ .switch-products__sub-tabs label[for="industrial-access"] {
    border-color: #5aac56;
    background: #ffffff;
    color: #197415;
}

.switch-products__sub-panels {
    min-height: 220px;
}

.switch-products__sub-panel {
    display: none;
}

#dc-core:checked ~ .switch-products__sub-panels .switch-products__sub-panel--dc-core,
#dc-aggregation:checked ~ .switch-products__sub-panels .switch-products__sub-panel--dc-aggregation,
#dc-access:checked ~ .switch-products__sub-panels .switch-products__sub-panel--dc-access,
#enterprise-core:checked ~ .switch-products__sub-panels .switch-products__sub-panel--enterprise-core,
#enterprise-aggregation:checked ~ .switch-products__sub-panels .switch-products__sub-panel--enterprise-aggregation,
#enterprise-access:checked ~ .switch-products__sub-panels .switch-products__sub-panel--enterprise-access,
#industrial-core:checked ~ .switch-products__sub-panels .switch-products__sub-panel--industrial-core,
#industrial-aggregation:checked ~ .switch-products__sub-panels .switch-products__sub-panel--industrial-aggregation,
#industrial-access:checked ~ .switch-products__sub-panels .switch-products__sub-panel--industrial-access {
    display: block;
}

.switch-products__sub-panel h4 {
    margin: 0 0 16px;
    color: #1f1f1f;
    font-family: "Outfit", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
}

.switch-products__sub-panel ul {
    margin: 0 0 20px;
    padding-left: 18px;
}

.switch-products__sub-panel li {
    color: #515151;
    font-family: "Mulish", sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
}

.switch-products__sub-panel li + li {
    margin-top: 6px;
}

.switch-products__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 126px;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 6px;
    background: #52a847;
    color: #ffffff;
    font-family: "Mulish", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.switch-datasheet-strip {
    margin-top: 34px;
}

.switch-datasheet-strip__title {
    margin: 0 0 16px;
    color: #1f1f1f;
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.45rem, 2vw, 1.8rem);
    font-weight: 500;
}

.switch-datasheet-strip__viewport {
    position: relative;
    overflow: hidden;
    padding: 4px 0;
    min-height: 156px;
}

.switch-datasheet-strip__track {
    --switch-datasheet-card-width: 160px;
    --switch-datasheet-gap: 18px;
    display: flex;
    align-items: stretch;
    gap: var(--switch-datasheet-gap);
    width: max-content;
    will-change: transform;
}

.switch-datasheet-card {
    box-sizing: border-box;
    flex: 0 0 var(--switch-datasheet-card-width);
    width: var(--switch-datasheet-card-width);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 148px;
    padding: 12px 14px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 22px;
    background: #fdfefd;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.switch-datasheet-card:hover {
    transform: translateY(-4px);
    border-color: #cfe4cd;
    box-shadow: 0 14px 24px rgba(20, 77, 37, 0.12);
}

.switch-datasheet-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 84px;
    margin-bottom: 10px;
}

.switch-datasheet-card__media img {
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
}

.switch-datasheet-card__name {
    color: #3a3a3a;
    font-family: "Mulish", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    word-break: break-word;
}


.switch-capabilities::before {
    content: "";
    position: absolute;
    inset: 40px 0 0;
    background:
        radial-gradient(circle at top left, rgba(69, 169, 76, 0.1), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f6fbf6 100%);
    pointer-events: none;
}

.switch-capabilities .dc-capabilities__container {
    position: relative;
    z-index: 1;
}

.switch-capabilities__intro {
    max-width: 760px;
    margin: 0 auto 34px;
    padding: 0 18px;
    text-align: center;
}

.switch-capabilities__badge {
    margin-bottom: 18px;
}

.switch-capabilities__title {
    margin-bottom: 16px;
    color: var(--switch-ink);
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.08;
}

.switch-capabilities__description {
    max-width: 62ch;
    margin: 0 auto;
    color: var(--switch-text);
    font-size: 1.02rem;
    line-height: 1.8;
}

.switch-capabilities__grid {
    gap: 24px;
}

.switch-capability-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px 24px 24px;
    border: 1px solid var(--switch-line);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 251, 245, 0.96));
    box-shadow: var(--switch-card-shadow);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    overflow: hidden;
}

.switch-capability-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    width: calc(100% - 48px);
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #197415 0%, #55b348 100%);
    opacity: 0.88;
}

.switch-capability-card:hover {
    transform: translateY(-8px);
    border-color: var(--switch-line-strong);
    box-shadow: 0 24px 52px rgba(20, 77, 37, 0.16);
}

.switch-capability-card .dc-capability-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 20px;
    border-radius: 20px;
    background: var(--switch-surface-soft);
    box-shadow: inset 0 0 0 1px rgba(25, 116, 21, 0.08);
}

.switch-capability-card .dc-capability-card__icon img {
    max-width: 34px;
}

.switch-capability-card h3 {
    margin-bottom: 12px;
    color: var(--switch-ink);
    font-family: "Outfit", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
}

.switch-capability-card .sol-p {
    margin-bottom: 18px;
    color: var(--switch-text);
    line-height: 1.75;
}

.switch-capability-card .products-list {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.switch-capability-card .products-list li {
    position: relative;
    padding-left: 18px;
    color: var(--switch-muted);
    line-height: 1.7;
}

.switch-capability-card .products-list li + li {
    margin-top: 8px;
}

.switch-capability-card .products-list li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(180deg, #197415 0%, #67bf54 100%);
    box-shadow: 0 0 0 4px rgba(25, 116, 21, 0.08);
}

.switch-capability-card .auto--explore {
    margin-top: auto;
    align-self: flex-start;
    border-radius: 999px;
    background: linear-gradient(135deg, #197415 0%, #2b8c2a 100%);
    box-shadow: 0 14px 28px rgba(25, 116, 21, 0.18);
}

.switch-capability-card .auto--explore:hover {
    background: linear-gradient(135deg, #12590f 0%, #197415 100%);
}

@media (max-width: 991px) {
    .switch-hero {
        background-position: center center;
    }

    .switch-hero__inner {
        min-height: 310px;
        padding-block: 20px 34px;
    }

    .switch-hero__products {
        grid-template-columns: repeat(4, minmax(110px, 1fr));
        gap: 6px;
        margin-top: 26px;
        padding-inline: 20px;
    }

    .switch-hero__product {
        max-height: 104px;
    }
}

@media (max-width: 767px) {
    .switch-hero {
        background-position: 58% center;
    }

    .switch-hero__inner {
        min-height: 255px;
        padding-block: 18px 28px;
    }

    .switch-hero__copy {
        padding-top: 2px;
    }

    .switch-hero__lead {
        font-size: 0.78rem;
        line-height: 1.65;
        padding: 0 8px;
    }

    .switch-hero__cta {
        min-width: 102px;
        padding: 10px 18px;
    }

    .switch-hero__products {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 10px;
        margin-top: 22px;
        max-width: 360px;
        padding-inline: 20px;
    }

    .switch-hero__product,
    .switch-hero__product--tall {
        max-height: 88px;
    }

    .switch-hero__desc,
    .switch-capabilities__description,
    .switch-capability-card .sol-p,
    .switch-capability-card .products-list li {
        line-height: 1.65;
    }

    .switch-capability-card {
        padding: 24px 20px 22px;
        border-radius: 22px;
    }

    .switch-capability-card::before {
        left: 20px;
        width: calc(100% - 40px);
    }

    .switch-products__top-tabs {
        grid-template-columns: 1fr;
        border-radius: 20px 20px 0 0;
    }

    .switch-products__top-tab + .switch-products__top-tab {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.35);
    }

    .switch-products__panel {
        padding: 20px 18px 24px;
    }

    .switch-products__intro-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 22px;
    }

    .switch-products__intro-copy h3 {
        font-size: 1.1rem;
    }

    .switch-products__sub-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .switch-products__sub-tab {
        width: 100%;
        justify-content: space-between;
    }

    .switch-datasheet-strip__viewport {
        overflow-x: auto;
        padding-bottom: 6px;
        min-height: 0;
    }

    .switch-datasheet-strip__track {
        width: max-content;
    }
}
