/* Wolw homepage sections, 2026-10-16 */
.home-products,
.home-products * {
    box-sizing: border-box;
}

.home-products {
    clear: both;
    padding: 78px 0 72px;
    color: #111827;
    background: #f2f4f5;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.home-products__inner {
    width: 1100px;
    max-width: calc(100% - 48px);
    margin: 0 auto;
}

.home-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 34px;
}

.home-section-kicker {
    display: block;
    margin-bottom: 8px;
    color: #00a85a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
}

.home-section-heading h2 {
    margin: 0;
    color: #111827;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
}

.home-section-heading p {
    max-width: 440px;
    margin: 0 0 2px;
    color: #667085;
    font-size: 14px;
    line-height: 1.7;
    text-align: right;
}

.home-product-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    overflow-x: auto;
    scrollbar-width: none;
}

.home-product-tabs::-webkit-scrollbar {
    display: none;
}

.home-product-tabs a {
    flex: 0 0 auto;
    min-width: 154px;
    padding: 13px 20px;
    border: 1px solid #e2e6e9;
    border-radius: 3px;
    color: #30343b;
    background: #fff;
    box-shadow: 0 8px 22px rgba(17,24,39,.05);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.home-product-tabs a:hover,
.home-product-tabs a.is-active {
    border-color: #20252b;
    color: #fff;
    background: #20252b;
}

.home-product-tabs a:hover {
    transform: translateY(-2px);
}

.home-product-viewport {
    overflow: hidden;
}

.home-product-track {
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform .42s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}

.home-product-card {
    flex: 0 0 calc((100% - 72px) / 4);
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e1e5e8;
    border-radius: 5px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-product-card:hover {
    border-color: #cbd2d8;
    box-shadow: 0 16px 36px rgba(17,24,39,.1);
    transform: translateY(-4px);
}

.home-product-card > a {
    display: flex;
    min-height: 350px;
    flex-direction: column;
    color: inherit;
}

.home-product-image {
    display: flex;
    height: 235px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 18px;
    background: #fff;
}

.home-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}

.home-product-card:hover .home-product-image img {
    transform: scale(1.035);
}

.home-product-card strong {
    display: block;
    min-height: 65px;
    padding: 18px 20px 8px;
    color: #111827;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
}

.home-product-more {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 0 20px 20px;
    color: #667085;
    font-size: 12px;
}

.home-product-more i {
    color: #00a85a;
    font-size: 16px;
    font-style: normal;
    transition: transform .18s ease;
}

.home-product-card:hover .home-product-more i {
    transform: translateX(4px);
}

.home-product-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.home-product-controls button {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid #aeb6bd;
    border-radius: 3px;
    color: #20252b;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.home-product-controls button:hover:not(:disabled) {
    border-color: #20252b;
    color: #fff;
    background: #20252b;
}

.home-product-controls button:disabled {
    opacity: .35;
    cursor: default;
}

.home-products__all {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 10px;
    margin: 28px auto 0;
    padding: 12px 24px;
    border: 1px solid #20252b;
    border-radius: 3px;
    color: #20252b;
    font-size: 14px;
    font-weight: 600;
    transition: color .18s ease, background-color .18s ease;
}

.home-products__all:hover {
    color: #fff;
    background: #20252b;
}

@media (max-width: 980px) {
    .home-product-card {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (max-width: 680px) {
    .home-products {
        padding: 56px 0 52px;
    }

    .home-products__inner {
        max-width: calc(100% - 32px);
    }

    .home-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .home-section-heading h2 {
        font-size: 28px;
    }

    .home-section-heading p {
        text-align: left;
    }

    .home-product-tabs a {
        min-width: 132px;
    }

    .home-product-card {
        flex-basis: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-product-track,
    .home-product-card,
    .home-product-image img,
    .home-product-tabs a,
    .home-product-more i {
        transition: none;
    }
}

/* v14: centered product and smart-city section introductions. */
.home-products .home-section-heading,
.home-city .home-section-heading {
    display: block;
    max-width: 880px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.home-products .home-section-heading > div,
.home-city .home-section-heading > div {
    width: 100%;
}

.home-products .home-section-heading p,
.home-city .home-section-heading p {
    max-width: 720px;
    margin: 16px auto 0;
    text-align: center;
}

/* v16: real product tabs, powered by the current PbootCMS language area. */
.home-product-tabs button {
    flex: 0 0 auto;
    min-width: 206px;
    padding: 16px 24px;
    border: 0;
    border-radius: 4px;
    color: #30343b;
    background: #fff;
    box-shadow: 0 9px 24px rgba(13, 21, 34, .08);
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.home-product-tabs button:hover,
.home-product-tabs button.is-active {
    color: #fff;
    background: #333;
}

.home-product-tabs button:hover {
    transform: translateY(-2px);
}

.home-product-panel[hidden] {
    display: none;
}

.home-product-panel.is-active {
    animation: wolwProductPanelIn .28s ease both;
}

.home-product-more[aria-hidden="true"] {
    justify-content: flex-end;
    color: #00a85a;
    font-size: 19px;
}

@keyframes wolwProductPanelIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 620px) {
    .home-product-tabs button {
        min-width: 154px;
        padding: 13px 18px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-product-panel.is-active {
        animation: none;
    }
}

@media (max-width: 620px) {
    .home-products .home-section-heading p,
    .home-city .home-section-heading p {
        margin-top: 12px;
    }
}

.home-city,
.home-city * {
    box-sizing: border-box;
}

.home-city {
    clear: both;
    padding: 82px 0 76px;
    color: #fff;
    background: #061426;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.home-city__inner {
    width: 1100px;
    max-width: calc(100% - 48px);
    margin: 0 auto;
}

.home-section-heading--light h2 {
    color: #fff;
}

.home-section-heading--light p {
    color: rgba(255,255,255,.66);
}

.home-city-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-city-card {
    position: relative;
    display: block;
    height: 260px;
    overflow: hidden;
    border-radius: 5px;
    color: #fff;
    background: #132236;
}

.home-city-card__image,
.home-city-card__shade {
    position: absolute;
    inset: 0;
    display: block;
}

.home-city-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.22,.61,.36,1);
}

.home-city-card__shade {
    background: linear-gradient(180deg,rgba(3,12,24,.08) 12%,rgba(3,12,24,.84) 100%);
    transition: background .25s ease;
}

.home-city-card__content {
    position: absolute;
    right: 24px;
    bottom: 22px;
    left: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 7px 16px;
}

.home-city-card__content strong {
    grid-column: 1;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.home-city-card__content span {
    grid-column: 1;
    overflow: hidden;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    line-height: 1.55;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-city-card__content i {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    color: #41d58d;
    font-size: 24px;
    font-style: normal;
    transition: transform .2s ease;
}

.home-city-card:hover {
    color: #fff;
}

.home-city-card:hover .home-city-card__image img {
    transform: scale(1.055);
}

.home-city-card:hover .home-city-card__shade {
    background: linear-gradient(180deg,rgba(3,12,24,.02) 8%,rgba(3,12,24,.9) 100%);
}

.home-city-card:hover .home-city-card__content i {
    transform: translateX(5px);
}

.home-city__all {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 10px;
    margin: 30px auto 0;
    padding: 12px 24px;
    border: 1px solid rgba(255,255,255,.54);
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.home-city__all:hover {
    border-color: #fff;
    color: #061426;
    background: #fff;
}

@media (max-width: 900px) {
    .home-city-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .home-city {
        padding: 58px 0 54px;
    }

    .home-city__inner {
        max-width: calc(100% - 32px);
    }

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

    .home-city-card {
        height: 235px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-city-card__image img,
    .home-city-card__shade,
    .home-city-card__content i {
        transition: none;
    }
}

.home-hardware,
.home-hardware * {
    box-sizing: border-box;
}

.home-hardware {
    clear: both;
    padding: 82px 0 78px;
    color: #111827;
    background: #fff;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.home-hardware__inner {
    width: 1100px;
    max-width: calc(100% - 48px);
    margin: 0 auto;
}

.home-hardware-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.home-hardware-card {
    min-width: 0;
    border-top: 1px solid #dfe4e8;
}

.home-hardware-card__image {
    position: relative;
    display: block;
    height: 250px;
    overflow: hidden;
    background: #eef1f3;
}

.home-hardware-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.22,.61,.36,1);
}

.home-hardware-card__image > span {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 8px 12px;
    color: #fff;
    background: rgba(2,3,41,.82);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
}

.home-hardware-card:hover .home-hardware-card__image img {
    transform: scale(1.045);
}

.home-hardware-card__body {
    padding: 24px 2px 0;
}

.home-hardware-card__body h3 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
}

.home-hardware-card__body h3 a {
    color: #020329;
}

.home-hardware-card__body h3 a:hover {
    color: #00a85a;
}

.home-hardware-card__body p {
    min-height: 52px;
    margin: 0;
    overflow: hidden;
    color: #667085;
    font-size: 13px;
    line-height: 1.75;
}

.home-hardware-card__links {
    display: flex;
    min-height: 30px;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 15px;
}

.home-hardware-card__links a {
    position: relative;
    padding-left: 10px;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.6;
}

.home-hardware-card__links a:before {
    content: "";
    position: absolute;
    top: .65em;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #00a85a;
}

.home-hardware-card__links a:hover {
    color: #00a85a;
}

.home-hardware-card__more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    color: #020329;
    font-size: 13px;
    font-weight: 700;
}

.home-hardware-card__more span {
    color: #00a85a;
    font-size: 18px;
    transition: transform .18s ease;
}

.home-hardware-card__more:hover span {
    transform: translateX(4px);
}

.home-hardware__all {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 10px;
    margin: 42px auto 0;
    padding: 12px 24px;
    border: 1px solid #020329;
    border-radius: 3px;
    color: #020329;
    font-size: 14px;
    font-weight: 600;
    transition: color .18s ease, background-color .18s ease;
}

.home-hardware__all:hover {
    color: #fff;
    background: #020329;
}

@media (max-width: 900px) {
    .home-hardware-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .home-hardware {
        padding: 58px 0 56px;
    }

    .home-hardware__inner {
        max-width: calc(100% - 32px);
    }

    .home-hardware-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .home-hardware-card__image {
        height: 230px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hardware-card__image img,
    .home-hardware-card__more span {
        transition: none;
    }
}

.home-cases,
.home-cases *,
.home-news,
.home-news * {
    box-sizing: border-box;
}

.home-cases {
    clear: both;
    padding: 82px 0 76px;
    color: #111827;
    background: #e5f1fb;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.home-cases__inner,
.home-news__inner {
    width: 1100px;
    max-width: calc(100% - 48px);
    margin: 0 auto;
}

.home-cases-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 250px;
    gap: 20px;
}

.home-case-card {
    position: relative;
    display: grid;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
}

.home-case-card:nth-child(1) {
    grid-column: 1 / span 4;
    grid-row: span 2;
}

.home-case-card:nth-child(2) {
    grid-column: 5 / span 4;
    grid-row: span 2;
}

.home-case-card:nth-child(3),
.home-case-card:nth-child(4) {
    grid-column: 9 / span 4;
    grid-template-columns: 130px minmax(0, 1fr);
}

.home-case-card:nth-child(5) {
    grid-column: 1 / -1;
    grid-template-columns: 36% minmax(0, 1fr);
    grid-auto-rows: 250px;
}

.home-case-card:only-child {
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-columns: 48% minmax(0, 1fr);
    grid-template-rows: 360px;
}

.home-case-card:only-child .home-case-card__body {
    align-self: center;
    padding: 42px;
}

.home-case-card:only-child .home-case-card__body h3 {
    font-size: 24px;
}

.home-case-card:only-child .home-case-card__body p {
    font-size: 13px;
    -webkit-line-clamp: 4;
}

.home-case-card__media {
    display: block;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #d5e2ec;
}

.home-case-card:nth-child(1),
.home-case-card:nth-child(2) {
    grid-template-rows: 58% minmax(0, 1fr);
}

.home-case-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.22,.61,.36,1);
}

.home-case-card:hover .home-case-card__media img {
    transform: scale(1.045);
}

.home-case-card__body {
    min-width: 0;
    padding: 24px;
}

.home-case-card:nth-child(3) .home-case-card__body,
.home-case-card:nth-child(4) .home-case-card__body {
    padding: 20px 18px;
}

.home-case-card__eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #0872bd;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
}

.home-case-card__body h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.home-case-card:nth-child(3) .home-case-card__body h3,
.home-case-card:nth-child(4) .home-case-card__body h3 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 15px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-case-card__body h3 a {
    color: #111827;
}

.home-case-card__body h3 a:hover {
    color: #0872bd;
}

.home-case-card__body p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #667085;
    font-size: 12px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-case-card:nth-child(3) .home-case-card__body p,
.home-case-card:nth-child(4) .home-case-card__body p {
    display: none;
}

.home-case-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 17px;
    color: #0872bd;
    font-size: 12px;
    font-weight: 700;
}

.home-case-card__more span {
    font-size: 17px;
    transition: transform .18s ease;
}

.home-case-card__more:hover span {
    transform: translateX(4px);
}

.home-cases__all,
.home-news__all {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 10px;
    margin: 34px auto 0;
    padding: 12px 24px;
    border: 1px solid #020329;
    border-radius: 3px;
    color: #020329;
    font-size: 14px;
    font-weight: 600;
    transition: color .18s ease, background-color .18s ease;
}

.home-cases__all:hover,
.home-news__all:hover {
    color: #fff;
    background: #020329;
}

.home-news {
    clear: both;
    padding: 82px 0 78px;
    color: #111827;
    background: #f7f7f5;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.home-news-card {
    min-width: 0;
    background: #fff;
}

.home-news-card__media {
    display: block;
    height: 220px;
    overflow: hidden;
    background: #e7eaec;
}

.home-news-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.22,.61,.36,1);
}

.home-news-card:hover .home-news-card__media img {
    transform: scale(1.045);
}

.home-news-card__body {
    padding: 24px 24px 26px;
}

.home-news-card__body time {
    display: block;
    margin-bottom: 12px;
    color: #7b8490;
    font-size: 11px;
    letter-spacing: .05em;
}

.home-news-card__body h3 {
    min-height: 54px;
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}

.home-news-card__body h3 a {
    color: #111827;
}

.home-news-card__body h3 a:hover {
    color: #00a85a;
}

.home-news-card__body p {
    display: -webkit-box;
    min-height: 63px;
    margin: 0;
    overflow: hidden;
    color: #667085;
    font-size: 12px;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-news-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #020329;
    font-size: 12px;
    font-weight: 700;
}

.home-news-card__more span {
    color: #00a85a;
    font-size: 17px;
    transition: transform .18s ease;
}

.home-news-card__more:hover span {
    transform: translateX(4px);
}

@media (max-width: 920px) {
    .home-cases-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: auto;
    }

    .home-case-card,
    .home-case-card:nth-child(1),
    .home-case-card:nth-child(2),
    .home-case-card:nth-child(3),
    .home-case-card:nth-child(4),
    .home-case-card:nth-child(5) {
        grid-column: auto;
        grid-row: auto;
        grid-template-columns: 1fr;
        grid-template-rows: 210px auto;
    }

    .home-case-card:nth-child(3) .home-case-card__body p,
    .home-case-card:nth-child(4) .home-case-card__body p {
        display: -webkit-box;
    }

    .home-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .home-cases,
    .home-news {
        padding: 58px 0 56px;
    }

    .home-cases__inner,
    .home-news__inner {
        max-width: calc(100% - 32px);
    }

    .home-cases-grid,
    .home-news-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-case-card__media img,
    .home-case-card__more span,
    .home-news-card__media img,
    .home-news-card__more span {
        transition: none;
    }
}

/* The legacy theme forces a 1440px minimum page width. Keep that desktop
   behavior, but release it on phones so the new homepage can truly reflow. */
@media (max-width: 720px) {
    html,
    body {
        width: 100%;
        min-width: 0 !important;
        overflow-x: hidden;
    }

    .header .min-main {
        display: flex;
        width: 100%;
        max-width: 100%;
        align-items: center;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .header_left {
        display: none;
    }

    .header_right.language-switcher {
        display: flex;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .header_right.language-switcher::-webkit-scrollbar,
    .nav_ul::-webkit-scrollbar {
        display: none;
    }

    .nav > .min-wrap {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .nav .logo {
        width: 120px;
        height: auto;
        margin-left: 0;
    }

    .nav .logo img {
        max-width: 100%;
        height: auto;
    }

    .nav_ul {
        min-width: 0;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .nav_ul > li {
        flex: 0 0 auto;
        padding: 0 9px;
    }

    .nav_ul > li > a {
        font-size: 13px;
    }
}

/* Reference-faithful homepage art direction, based on the approved Word mockups. */
:root {
    --wolw-ink: #050b35;
    --wolw-blue: #0b71c8;
    --wolw-sky: #dceeff;
    --wolw-mist: #f2f3f4;
    --wolw-line: #d8dce2;
}

.home-products__inner,
.home-city__inner,
.home-hardware__inner,
.home-cases__inner,
.home-news__inner {
    width: 1280px;
    max-width: calc(100% - 64px);
}

.home-section-heading {
    margin-bottom: 38px;
}

.home-section-kicker {
    color: var(--wolw-blue);
    font-size: 13px;
}

.home-section-heading h2 {
    color: #06090d;
    font-size: 42px;
    letter-spacing: -.02em;
}

.home-section-heading p {
    max-width: 520px;
    color: #525b68;
    font-size: 16px;
}

/* Product carousel: broad tabs and four large catalogue panels. */
.home-products {
    padding: 82px 0 68px;
    background: #f0f1f2;
}

.home-product-tabs {
    gap: 18px;
    margin-bottom: 42px;
}

.home-product-tabs a {
    min-width: 206px;
    padding: 16px 24px;
    border: 0;
    border-radius: 4px;
    box-shadow: 0 9px 24px rgba(13, 21, 34, .08);
    font-size: 16px;
}

.home-product-tabs a:hover,
.home-product-tabs a.is-active {
    color: #fff;
    background: #333;
}

.home-product-track {
    gap: 26px;
}

.home-product-card {
    flex-basis: calc((100% - 78px) / 4);
    border: 0;
    border-radius: 7px;
    box-shadow: 0 0 0 1px rgba(13, 21, 34, .04);
}

.home-product-card > a {
    min-height: 390px;
}

.home-product-image {
    height: 275px;
    padding: 22px;
}

.home-product-card strong {
    min-height: 78px;
    padding: 24px 24px 10px;
    font-size: 18px;
    line-height: 1.45;
}

.home-product-more {
    display: none;
}

.home-product-controls {
    margin-top: 26px;
}

.home-product-controls button {
    width: 38px;
    height: 38px;
    border-color: #777f87;
    background: transparent;
}

.home-products__all {
    margin-top: 28px;
    padding: 11px 28px;
    border-color: #666d74;
    border-radius: 4px;
    font-size: 15px;
}

/* Digital city: the reference uses an editorial 3 x 2 image wall on pale gray. */
.home-city {
    padding: 86px 0 92px;
    color: #111;
    background: #f1f2f3;
}

.home-city .home-section-heading {
    display: block;
    margin-bottom: 42px;
}

.home-city .home-section-kicker {
    display: none;
}

.home-city .home-section-heading h2 {
    color: #050505;
    font-size: 40px;
}

.home-city .home-section-heading p {
    max-width: none;
    margin-top: 12px;
    color: #5c6571;
    text-align: left;
}

.home-city-grid {
    gap: 16px;
}

.home-city-card {
    height: 330px;
    border-radius: 10px;
    background-color: #465365;
    background-position: center;
    background-size: cover;
}

.home-city-card:nth-child(1),
.home-city-card:nth-child(4) {
    background-image: url('/static/images/wolw-digital-factory-hero-2026.png');
}

.home-city-card:nth-child(2),
.home-city-card:nth-child(5) {
    background-image: url('/static/images/wolw-smart-city-hero-2026.png');
}

.home-city-card:nth-child(3),
.home-city-card:nth-child(6) {
    background-image: linear-gradient(135deg, #345a72, #07172c);
}

.home-city-card__image img[src="/static/images/slt.png"] {
    opacity: 0;
}

.home-city-card:nth-child(n+3) .home-city-card__image img {
    opacity: 1;
}

.home-city-card:nth-child(3) .home-city-card__image img,
.home-city-card:nth-child(5) .home-city-card__image img {
    content: url('/static/images/wolw-smart-city-hero-2026.png');
}

.home-city-card:nth-child(4) .home-city-card__image img,
.home-city-card:nth-child(6) .home-city-card__image img {
    content: url('/static/images/wolw-digital-factory-hero-2026.png');
}

.home-city-card__shade {
    background: linear-gradient(180deg, rgba(2, 9, 18, .03) 22%, rgba(2, 9, 18, .78) 100%);
}

.home-city-card__content {
    right: 26px;
    bottom: 24px;
    left: 26px;
}

.home-city-card__content strong {
    font-size: 19px;
}

.home-city-card__content span {
    display: none;
}

.home-city-card__content i {
    display: none;
}

.home-city__all {
    margin-top: 34px;
    border-color: #111827;
    color: #111827;
}

.home-city__all:hover {
    color: #fff;
    background: #111827;
}

/* Hardware: one visual story panel plus clearly separate secondary category tiles. */
.home-hardware {
    padding: 94px 0 92px;
    background: #fff;
}

.home-hardware .home-section-heading {
    display: block;
    margin-bottom: 54px;
    text-align: center;
}

.home-hardware .home-section-kicker {
    display: block;
    margin-bottom: 12px;
}

.home-hardware .home-section-heading p {
    margin: 16px auto 0;
    text-align: center;
}

.home-hardware-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 2.5fr);
    gap: 44px;
}

.home-hardware-feature {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    padding: 48px 42px 44px;
    border-radius: 12px;
    color: #071326;
    background: linear-gradient(145deg, #e6f4ff 0%, #bdddf7 100%);
}

.home-hardware-feature__mesh {
    position: absolute;
    top: -75px;
    right: -145px;
    width: 430px;
    height: 310px;
    opacity: .8;
    background-image: radial-gradient(circle, #2385d7 1.6px, transparent 1.8px);
    background-size: 12px 12px;
    transform: rotate(-14deg) skewX(-8deg);
    -webkit-mask-image: linear-gradient(135deg, transparent 4%, #000 42%, transparent 94%);
    mask-image: linear-gradient(135deg, transparent 4%, #000 42%, transparent 94%);
}

.home-hardware-feature > *:not(.home-hardware-feature__mesh) {
    position: relative;
    z-index: 1;
}

.home-hardware-feature > strong {
    display: block;
    margin-bottom: 28px;
    color: #176da9;
    font-size: 14px;
    letter-spacing: .05em;
}

.home-hardware-feature h3 {
    margin: 0 0 26px;
    font-size: 31px;
    line-height: 1.35;
}

.home-hardware-feature p {
    max-width: 360px;
    margin: 0;
    font-size: 16px;
    line-height: 1.85;
}

.home-hardware-feature a {
    position: absolute !important;
    right: 42px;
    bottom: 42px;
    left: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 15px 22px;
    border-radius: 30px;
    color: #fff;
    background: #226fa9;
    font-size: 16px;
    font-weight: 700;
}

.home-hardware-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: stretch;
    gap: 24px;
}

.home-hardware-card {
    min-height: 223px;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: #f5f5f5;
}

.home-hardware-card__image {
    display: none;
}

.home-hardware-card__body {
    position: relative;
    min-height: 223px;
    padding: 34px 30px;
    background: linear-gradient(120deg, #f5f5f5 0%, #f5f5f5 72%, #ececec 72%);
}

.home-hardware-card__body:after {
    content: "";
    position: absolute;
    right: -22px;
    bottom: -30px;
    width: 116px;
    height: 116px;
    border: 5px solid rgba(29, 125, 190, .08);
    border-radius: 28px;
    transform: rotate(45deg);
}

.home-hardware-card__body h3 {
    margin: 0 0 17px;
    font-size: 19px;
    line-height: 1.45;
}

.home-hardware-card__body h3 a span {
    margin-left: 8px;
    color: #1686d9;
    font-size: 23px;
}

.home-hardware-card__body p {
    min-height: 0;
    color: #525b68;
    font-size: 13px;
}

.home-hardware-card__links {
    position: relative;
    z-index: 1;
    margin-top: 18px;
}

.home-hardware-card__more {
    display: none;
}

.home-hardware__all {
    margin-top: 44px;
}

/* Customer stories: pale-blue magazine mosaic, not a standard card row. */
.home-cases {
    padding: 88px 0 86px;
    background: #deefff;
}

.home-cases .home-section-heading {
    display: block;
    margin-bottom: 48px;
    text-align: center;
}

.home-cases .home-section-kicker {
    display: none;
}

.home-cases .home-section-heading p {
    margin: 14px auto 0;
    text-align: center;
}

.home-cases-grid {
    grid-auto-rows: 275px;
    gap: 26px;
}

.home-case-card {
    border-radius: 12px;
    box-shadow: none;
}

.home-case-card__media {
    position: relative;
    background-color: #acd3f1;
}

.home-case-card__media:before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: url('/static/images/wolw-digital-factory-hero-2026.png') center / cover no-repeat;
}

.home-case-card__media img[src="/static/images/slt.png"] {
    opacity: 0;
}

.home-case-card__media img[src="/static/images/nopic.png"] {
    content: url('/static/images/wolw-digital-factory-hero-2026.png');
    opacity: 1;
}

.home-case-card:only-child {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    grid-template-rows: 450px;
}

.home-cases-grid:has(> .home-case-card:only-child) {
    grid-template-rows: 450px;
}

.home-case-card:only-child .home-case-card__body {
    display: flex;
    align-self: stretch;
    flex-direction: column;
    justify-content: center;
    padding: 54px;
    background: #aed3ef;
}

.home-case-card:only-child .home-case-card__body h3 {
    font-size: 30px;
    line-height: 1.45;
}

.home-case-card:only-child .home-case-card__body p {
    font-size: 15px;
    line-height: 1.8;
}

.home-case-card__eyebrow,
.home-case-card__more {
    color: #0b71c8;
}

/* News: airy store-like intro followed by three image-led stories. */
.home-news {
    padding: 90px 0 94px;
    background: #f7f7f4;
}

.home-news .home-section-heading {
    display: block;
    max-width: 790px;
    margin-bottom: 48px;
}

.home-news .home-section-kicker {
    color: var(--wolw-ink);
    font-size: 15px;
    letter-spacing: .04em;
}

.home-news .home-section-heading h2 {
    color: var(--wolw-ink);
    font-size: 45px;
}

.home-news .home-section-heading p {
    max-width: 760px;
    margin-top: 20px;
    color: #222a42;
    text-align: left;
}

.home-news-grid {
    gap: 38px;
}

.home-news-card {
    background: transparent;
}

.home-news-card__media {
    position: relative;
    height: 310px;
    background-color: #cfdce5;
}

.home-news-card__media:before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.home-news-card:nth-child(1) .home-news-card__media:before {
    background-image: url('/static/images/wolw-smart-city-hero-2026.png');
}

.home-news-card:nth-child(2) .home-news-card__media:before {
    background-image: url('/static/images/wolw-digital-factory-hero-2026.png');
}

.home-news-card:nth-child(3) .home-news-card__media:before {
    background-image: linear-gradient(135deg, #e8c936, #6fb5dc 55%, #273c63);
}

.home-news-card__media img[src="/static/images/slt.png"] {
    opacity: 0;
}

.home-news-card__media img {
    position: relative;
    z-index: 1;
    opacity: 1;
}

.home-news-card:nth-child(1) .home-news-card__media img {
    content: url('/static/images/wolw-smart-city-hero-2026.png');
}

.home-news-card:nth-child(2) .home-news-card__media img {
    content: url('/static/images/wolw-digital-factory-hero-2026.png');
}

.home-news-card:nth-child(3) .home-news-card__media img {
    content: url('/static/images/wolw-smart-city-hero-2026.png');
}

.home-city-card__image img,
.home-case-card__media img,
.home-news-card__media img {
    content: normal !important;
}

.home-news-card__body {
    padding: 28px 0 0;
}

.home-news-card__body time {
    color: #596176;
    font-size: 13px;
}

.home-news-card__body h3 {
    min-height: 66px;
    font-size: 23px;
    line-height: 1.45;
}

.home-news-card__body p {
    min-height: 76px;
    color: #596176;
    font-size: 14px;
    line-height: 1.8;
}

.home-news-card__more {
    color: var(--wolw-ink);
    font-size: 14px;
}

.home-news__all {
    margin-top: 48px;
}

@media (max-width: 1100px) {
    .home-hardware-layout {
        grid-template-columns: 1fr;
    }

    .home-hardware-feature {
        min-height: 370px;
    }
}

@media (max-width: 900px) {
    .home-products__inner,
    .home-city__inner,
    .home-hardware__inner,
    .home-cases__inner,
    .home-news__inner {
        max-width: calc(100% - 40px);
    }

    .home-product-card {
        flex-basis: calc((100% - 24px) / 2);
    }

    .home-city-grid,
    .home-hardware-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-case-card:only-child {
        grid-template-columns: 1fr;
        grid-template-rows: 300px auto;
    }
}

@media (max-width: 620px) {
    .home-products__inner,
    .home-city__inner,
    .home-hardware__inner,
    .home-cases__inner,
    .home-news__inner {
        max-width: calc(100% - 32px);
    }

    .home-section-heading h2,
    .home-city .home-section-heading h2,
    .home-news .home-section-heading h2 {
        font-size: 31px;
    }

    .home-product-tabs a {
        min-width: 150px;
        padding: 13px 18px;
        font-size: 14px;
    }

    .home-product-card {
        flex-basis: 100%;
    }

    .home-product-card > a {
        min-height: 360px;
    }

    .home-city-grid,
    .home-hardware-grid {
        grid-template-columns: 1fr;
    }

    .home-city-card {
        height: 270px;
    }

    .home-hardware-feature {
        min-height: 430px;
        padding: 36px 28px;
    }

    .home-hardware-feature h3 {
        font-size: 27px;
    }

    .home-hardware-feature a {
        right: 28px;
        bottom: 28px;
        left: 28px;
    }

    .home-case-card:only-child {
        grid-template-rows: 250px auto;
    }

    .home-cases-grid:has(> .home-case-card:only-child) {
        grid-template-rows: 419px;
    }

    .home-case-card:only-child .home-case-card__body {
        padding: 32px 26px;
    }

    .home-case-card:only-child .home-case-card__body h3 {
        font-size: 23px;
    }

    .home-news-card__media {
        height: 250px;
    }
}

/* v13: five-story case mosaic and continuously updating news carousel. */
.home-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(300px, auto);
    gap: 24px;
}

.home-case-card,
.home-case-card:nth-child(1),
.home-case-card:nth-child(2),
.home-case-card:nth-child(3),
.home-case-card:nth-child(4),
.home-case-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 230px auto;
}

.home-cases-grid:has(> .home-case-card:nth-child(5)) {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(2, 250px);
    grid-auto-rows: 250px;
}

.home-cases-grid:has(> .home-case-card:nth-child(5)) > .home-case-card:nth-child(1) {
    grid-column: 1 / span 4;
    grid-row: 1 / span 2;
    grid-template-rows: minmax(0, 1fr) 54%;
}

.home-cases-grid:has(> .home-case-card:nth-child(5)) > .home-case-card:nth-child(1) .home-case-card__media {
    grid-row: 2;
}

.home-cases-grid:has(> .home-case-card:nth-child(5)) > .home-case-card:nth-child(1) .home-case-card__body {
    grid-row: 1;
}

.home-cases-grid:has(> .home-case-card:nth-child(5)) > .home-case-card:nth-child(2) {
    grid-column: 5 / span 4;
    grid-row: 1 / span 2;
    grid-template-rows: 52% minmax(0, 1fr);
}

.home-cases-grid:has(> .home-case-card:nth-child(5)) > .home-case-card:nth-child(3) {
    grid-column: 9 / span 2;
    grid-row: 1;
    grid-template-rows: 1fr;
}

.home-cases-grid:has(> .home-case-card:nth-child(5)) > .home-case-card:nth-child(4) {
    grid-column: 11 / span 2;
    grid-row: 1;
    grid-template-rows: 1fr;
}

.home-cases-grid:has(> .home-case-card:nth-child(5)) > .home-case-card:nth-child(5) {
    grid-column: 9 / span 4;
    grid-row: 2;
    grid-template-rows: 1fr;
}

.home-cases-grid:has(> .home-case-card:nth-child(5)) > .home-case-card:nth-child(3) .home-case-card__media,
.home-cases-grid:has(> .home-case-card:nth-child(5)) > .home-case-card:nth-child(4) .home-case-card__media,
.home-cases-grid:has(> .home-case-card:nth-child(5)) > .home-case-card:nth-child(5) .home-case-card__media {
    display: none;
}

.home-cases-grid:has(> .home-case-card:nth-child(5)) > .home-case-card:nth-child(3) .home-case-card__body,
.home-cases-grid:has(> .home-case-card:nth-child(5)) > .home-case-card:nth-child(4) .home-case-card__body,
.home-cases-grid:has(> .home-case-card:nth-child(5)) > .home-case-card:nth-child(5) .home-case-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 26px;
}

.home-cases-grid:has(> .home-case-card:nth-child(5)) > .home-case-card:nth-child(3) .home-case-card__body h3,
.home-cases-grid:has(> .home-case-card:nth-child(5)) > .home-case-card:nth-child(4) .home-case-card__body h3 {
    font-size: 16px;
}

.home-cases-grid:has(> .home-case-card:nth-child(5)) > .home-case-card:nth-child(5) .home-case-card__body h3 {
    font-size: 18px;
}

.home-cases-grid:has(> .home-case-card:nth-child(5)) > .home-case-card:nth-child(5) .home-case-card__body p {
    display: -webkit-box;
}

.home-news .home-section-heading {
    max-width: 900px;
    margin-right: auto;
    margin-bottom: 54px;
    margin-left: auto;
    text-align: center;
}

.home-news .home-section-heading p {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.home-news-viewport {
    overflow: hidden;
}

.home-news-grid {
    display: flex;
    grid-template-columns: none;
    gap: 38px;
    margin: 0;
    transition: transform .55s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.home-news-card {
    flex: 0 0 calc((100% - 76px) / 3);
}

.home-news-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 44px;
}

.home-news-controls > button {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--wolw-ink);
    background: transparent;
    font: 30px/1 Arial, sans-serif;
    cursor: pointer;
}

.home-news-controls > button:disabled {
    opacity: .3;
    cursor: default;
}

.home-news-dots {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #e4e4df;
}

.home-news-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--wolw-ink);
    cursor: pointer;
    transition: width .25s ease, background-color .25s ease;
}

.home-news-dots button.is-active {
    width: 36px;
    background: #070838;
}

.home-news__all {
    margin-top: 30px;
}

@media (max-width: 920px) {
    .home-news-card {
        flex-basis: calc((100% - 24px) / 2);
    }

    .home-news-grid {
        gap: 24px;
    }

    .home-cases-grid:has(> .home-case-card:nth-child(5)) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        grid-auto-rows: auto;
    }

    .home-cases-grid:has(> .home-case-card:nth-child(5)) > .home-case-card:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
        grid-template-columns: 1fr;
        grid-template-rows: 220px auto;
    }

    .home-cases-grid:has(> .home-case-card:nth-child(5)) > .home-case-card:nth-child(n) .home-case-card__media {
        display: block;
        grid-row: auto;
    }

    .home-cases-grid:has(> .home-case-card:nth-child(5)) > .home-case-card:nth-child(n) .home-case-card__body {
        display: block;
        grid-row: auto;
        padding: 24px;
    }
}

@media (max-width: 620px) {
    .home-news .home-section-heading {
        margin-bottom: 36px;
    }

    .home-news-card {
        flex-basis: 100%;
    }

    .home-news-grid {
        gap: 18px;
    }

    .home-news-controls {
        gap: 9px;
        margin-top: 30px;
    }

    .home-news-dots {
        max-width: calc(100% - 82px);
        gap: 9px;
        overflow-x: auto;
    }

    .home-cases-grid,
    .home-cases-grid:has(> .home-case-card:nth-child(5)) {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-news-grid,
    .home-news-dots button {
        transition: none;
    }
}

/* v15: final cascade lock for centered factory and city introductions. */
.home-products .home-section-heading,
.home-city .home-section-heading {
    display: block;
    max-width: 880px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.home-products .home-section-heading > div,
.home-city .home-section-heading > div {
    width: 100%;
}

.home-products .home-section-heading p,
.home-city .home-section-heading p {
    max-width: 720px;
    margin: 16px auto 0;
    text-align: center;
}
