* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body.home-page {
    color: #24332f;
    background: #fff;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.home-page a {
    color: inherit;
    text-decoration: none;
}

.home-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.home-header {
    position: relative;
    z-index: 20;
    height: 86px;
    background: #fff;
    border-bottom: 1px solid #edf1ee;
}

.home-header__inner {
    display: flex;
    align-items: center;
    height: 100%;
}

.home-brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    max-width: 245px;
}

.home-brand img {
    display: block;
    max-width: 100%;
    max-height: 58px;
    object-fit: contain;
}

.home-nav {
    margin-left: auto;
}

.home-nav__list,
.home-nav__submenu,
.home-footer__nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-nav__list {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.home-nav__item {
    position: relative;
}

.home-nav__item > a,
.home-nav__parent {
    display: block;
    appearance: none;
    -webkit-appearance: none;
    width: auto;
    margin: 0;
    padding: 29px 22px 27px;
    border: 0;
    background: transparent;
    color: #000;
    font-size: 16px;
    font-family: inherit;
    line-height: inherit;
    text-align: left;
    transition: color .2s ease, background-color .2s ease;
    cursor: pointer;
}

.home-nav__item:hover > a,
.home-nav__item:hover > .home-nav__parent,
.home-nav__item.is-active > a,
.home-nav__item.is-active > .home-nav__parent {
    color: #b36d5d;
}

.home-nav__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 150px;
    padding: 8px 0;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    box-shadow: 0 8px 22px rgba(41, 74, 58, .12);
    transform: translateY(5px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.home-nav__item:hover .home-nav__submenu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.home-nav__submenu a {
    display: block;
    padding: 8px 18px;
    color: #52635d;
    white-space: nowrap;
}

.home-nav__submenu a:hover {
    color: #b36d5d;
    background: #f4f8f5;
}

.home-menu-trigger,
.home-menu-close {
    display: none;
}

.home-hero {
    width: 100%;
    overflow: hidden;
    background: #eaf0ec;
}

.home-hero__slides {
    position: relative;
    width: 100%;
    aspect-ratio: 3840 / 1340;
    min-height: 320px;
}

.home-hero__slide {
    position: absolute;
    inset: 0;
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: opacity 1s ease, visibility 1s ease;
}

.home-hero__slide.is-active {
    z-index: 1;
    visibility: visible;
    opacity: 1;
}

.home-hero__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 3s linear;
}

.home-hero__slide.is-active img {
    transform: scale(1.05);
}

.home-section {
    padding: 88px 0 96px;
}

.home-section__heading {
    margin: 0 auto 42px;
    text-align: center;
}

.home-section__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #72a37f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.home-section__heading h1,
.home-intro h2 {
    margin: 0;
    color: #263a34;
    font-weight: 500;
}

.home-section__heading h1 {
    font-size: 32px;
}

.home-products .home-section__heading h1,
.home-qualifications .home-section__heading h1 {
    color: #12151a;
    font-size: 38px;
}

.home-section__heading p {
    margin: 10px 0 0;
    color: #81908a;
    font-size: 15px;
}

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.home-product-card {
    display: block;
    overflow: hidden;
    background: #f3f6f3;
    border-radius: 18px;
}

.home-product-card img {
    display: block;
    width: 100%;
    aspect-ratio: 754 / 714;
    object-fit: cover;
    transition: transform .45s ease;
}

.home-product-card:hover img {
    transform: scale(1.035);
}

.home-qualifications {
    padding: 40px 0 18px;
    background: #fff;
}

.home-qualifications .home-section__heading {
    margin-bottom: 62px;
}

.home-qualifications .home-section__heading h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.25;
}

.home-qualification-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
}

.home-qualification-card {
    min-width: 0;
    margin: 0;
    text-align: center;
}

.home-qualification-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 138px;
    background: #fff;
}

.home-qualification-card__image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 138px;
    object-fit: contain;
}

.home-qualification-card figcaption {
    margin-top: 14px;
    color: #3f574b;
    font-size: 15px;
}

.home-qualification-card p {
    margin: 4px 0 0;
    color: #89968f;
    font-size: 13px;
    line-height: 1.6;
}

.home-qualifications__note {
    margin: 58px 0 0;
    color: #8f9692;
    font-size: 13px;
    line-height: 1.8;
    text-align: right;
}

.home-intro {
    padding: 70px 0;
    background: #f2f7f3;
}

.home-intro__inner {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) 1.2fr;
    gap: 72px;
    align-items: center;
}

.home-intro h2 {
    font-size: 30px;
}

.home-intro p {
    margin: 0;
    color: #5d7068;
    line-height: 2;
}

.home-footer {
    color: #777;
    background: #fff;
}

.home-footer__main {
    display: grid;
    grid-template-columns: 185px minmax(0, 540px) 300px;
    justify-content: space-between;
    gap: 0;
    align-items: start;
    padding: 32px 0 30px;
    border-top: 1px solid #bdbdbd;
}

.home-footer__brand {
    grid-column: 1;
    align-self: center;
    text-align: center;
}

.home-footer__logo {
    display: inline-block;
    max-width: 150px;
}

.home-footer__logo img {
    display: block;
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
}

.home-footer__disclaimer {
    grid-column: 2;
    color: #969696;
    font-size: 14px;
    line-height: 1.85;
}

.home-footer__contact {
    grid-column: 3;
    min-width: 0;
}

.home-footer__qrs {
    display: flex;
    justify-content: flex-end;
    gap: 34px;
}

.home-footer__qr {
    width: 108px;
    margin: 0;
    color: #555;
    font-size: 13px;
    text-align: center;
}

.home-footer__qr img {
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto 7px;
    object-fit: contain;
}

.home-footer__hotline {
    display: grid;
    grid-template-columns: 30px 58px minmax(0, 1fr);
    column-gap: 5px;
    align-items: center;
    margin-top: 28px;
    color: #777;
}

.home-footer__hotline-icon {
    display: block;
    width: 30px;
    height: 30px;
    color: #999;
    object-fit: contain;
    stroke-width: 1.8;
}

.home-footer__hotline-label {
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
}

.home-footer__hotline-label::first-line {
    font-size: 14px;
}

.home-footer__hotline a {
    color: #777;
    font-size: 32px;
    line-height: 1.1;
    white-space: nowrap;
}

.home-footer__hotline p {
    grid-column: 2 / -1;
    margin: 6px 0 0;
    color: #999;
    font-size: 14px;
    text-align: right;
}

.home-footer__bottom .home-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px 12px;
    padding: 22px 0 26px;
    color: #888;
    border-top: 1px solid #bdbdbd;
    font-size: 15px;
}

.home-footer__bottom a:hover {
    color: #222;
}

@media (max-width: 960px) {
    .home-qualification-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-footer__main {
        grid-template-columns: 130px minmax(0, 1fr) 230px;
        justify-content: normal;
        gap: 28px;
    }

    .home-footer__qrs {
        gap: 14px;
    }

    .home-footer__qr {
        width: 96px;
    }

    .home-footer__qr img {
        width: 90px;
        height: 90px;
    }

    .home-footer__hotline {
        grid-template-columns: 26px 58px minmax(0, 1fr);
    }

    .home-footer__hotline a {
        font-size: 25px;
    }
}

@media (max-width: 768px) {
    .home-container {
        width: min(100% - 32px, 560px);
    }

    .home-header {
        height: 68px;
    }

    .home-brand {
        max-width: 185px;
    }

    .home-brand img {
        max-height: 46px;
    }

    .home-menu-trigger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        margin-left: auto;
        padding: 8px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .home-menu-trigger span {
        display: block;
        width: 25px;
        height: 2px;
        background: #b36d5d;
    }

    .home-nav {
        position: fixed;
        inset: 0;
        z-index: 30;
        margin: 0;
        padding: 76px 30px 30px;
        visibility: hidden;
        opacity: 0;
        background: #b36d5d;
        transform: translateX(100%);
        transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    }

    body.home-menu-open {
        overflow: hidden;
    }

    body.home-menu-open .home-nav {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }

    .home-menu-close {
        position: absolute;
        top: 20px;
        right: 22px;
        display: block;
        width: 38px;
        height: 38px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .home-menu-close::before,
    .home-menu-close::after {
        position: absolute;
        top: 18px;
        left: 7px;
        width: 25px;
        height: 2px;
        background: #fff;
        content: "";
        transform: rotate(45deg);
    }

    .home-menu-close::after {
        transform: rotate(-45deg);
    }

    .home-nav__list {
        display: block;
    }

    .home-nav__item > a,
    .home-nav__parent {
        padding: 13px 4px;
        color: #fff;
        border-bottom: 1px solid rgba(255, 255, 255, .15);
        font-size: 18px;
        line-height: 1.6;
    }

    .home-nav__item:hover > a,
    .home-nav__item:hover > .home-nav__parent,
    .home-nav__item.is-active > a,
    .home-nav__item.is-active > .home-nav__parent {
        color: #d4f0dc;
    }

    .home-nav__submenu {
        position: static;
        display: none;
        padding: 0 0 7px 18px;
        visibility: visible;
        opacity: 1;
        background: transparent;
        box-shadow: none;
        transform: none;
    }

    .home-nav__item.is-open > .home-nav__submenu {
        display: block;
    }

    .home-nav__submenu a {
        padding: 7px 4px;
        color: #b7d2bf;
        font-size: 15px;
    }

    .home-hero__slides {
        aspect-ratio: 1.85 / 1;
        min-height: 0;
    }

    .home-hero__slide img {
        object-position: center center;
    }

    .home-section {
        padding: 20px 0 20px;
    }

    .home-section__heading {
        margin-bottom: 28px;
    }

    .home-section__heading h1 {
        font-size: 27px;
    }

    .home-products .home-section__heading h1,
    .home-qualifications .home-section__heading h1 {
        color: #727171;
        font-size: 28px;
    }

    .home-section__heading p {
        font-size: 14px;
    }

    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .home-qualification-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
    }

    .home-qualifications {
        padding: 42px 0 18px;
    }

    .home-qualifications .home-section__heading {
        margin-bottom: 38px;
    }

    .home-qualifications .home-section__heading h1 {
        font-size: 28px;
    }

    .home-qualifications__note {
        margin-top: 38px;
        font-size: 12px;
        text-align: center;
    }

    .home-qualification-card__image {
        height: 100px;
    }

    .home-qualification-card__image img {
        max-height: 100px;
    }

    .home-qualification-card:nth-child(6) {
        display: none;
    }

    .home-intro {
        padding: 50px 0;
    }

    .home-intro__inner {
        display: block;
    }

    .home-intro h2 {
        margin-bottom: 18px;
        font-size: 25px;
    }

    .home-intro p {
        font-size: 14px;
        line-height: 1.85;
    }

    .home-footer__main {
        display: flex;
        flex-direction: column;
        gap: 28px;
        align-items: stretch;
        padding: 38px 0 30px;
        border-top: 1px solid #bdbdbd;
    }

    .home-footer__logo {
        max-width: 130px;
    }

    .home-footer__brand {
        display: none;
    }

    .home-footer__disclaimer {
        display: none;
        font-size: 13px;
        line-height: 1.8;
    }

    .home-footer__qrs {
        justify-content: center;
        gap: 34px;
    }

    .home-footer__hotline {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: none;
        margin: 24px auto 0;
    }

    .home-footer__hotline-icon {
        width: 26px;
        height: 26px;
    }

    .home-footer__hotline a {
        font-size: 28px;
    }

    .home-footer__hotline p {
        width: 100%;
        grid-column: auto;
        display: none;
    }

    .home-footer__bottom .home-container {
        display: flex;
        padding: 18px 0 22px;
        font-size: 13px;
        line-height: 1.7;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .home-container {
        width: calc(100% - 24px);
    }

    .home-brand {
        max-width: 160px;
    }

    .home-product-grid {
        grid-template-columns: 1fr;
    }

    .home-qualification-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-qualification-card__image {
        height: 82px;
    }

    .home-qualification-card__image img {
        max-height: 82px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__slide img {
        transition: none;
        transform: scale(1);
    }
}

body.secondary-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #24332f;
    background: #fff;
}

.secondary-header {
    position: relative;
    z-index: 20;
    height: 56px;
    background: #222;
}

.secondary-header__inner {
    display: flex;
    align-items: center;
    height: 100%;
}

.secondary-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 80px;
    height: 100%;
}

.secondary-brand img {
    display: block;
    width: auto;
    max-width: 56px;
    max-height: 48px;
    object-fit: contain;
}

.secondary-nav {
    flex: 1;
    margin-left: 34px;
}

.secondary-nav .home-nav__list {
    justify-content: space-between;
    gap: 0;
    width: 100%;
}

.secondary-nav .home-nav__item {
    flex: 1 1 auto;
    text-align: center;
}

.secondary-nav .home-nav__item > a {
    display: block;
    height: 56px;
    padding: 0 18px;
    color: #fff;
    font-size: 16px;
    line-height: 56px;
    white-space: nowrap;
}

.secondary-nav .home-nav__item > .home-nav__parent {
    display: block;
    width: 100%;
    height: 56px;
    padding: 0 18px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    text-align: center;
    line-height: 56px;
    white-space: nowrap;
    cursor: pointer;
}

.secondary-nav .home-nav__item:hover > a,
.secondary-nav .home-nav__item:hover > .home-nav__parent,
.secondary-nav .home-nav__item.is-active > a,
.secondary-nav .home-nav__item.is-active > .home-nav__parent {
    color: #fff;
    background: #2b2b2b;
}

.secondary-nav .home-nav__submenu li.is-active > a {
    color: #b36d5d;
    background: #f4f8f5;
}

.secondary-nav .home-nav__submenu {
    text-align: left;
}

.secondary-main {
    flex: 1;
}

@media (max-width: 768px) {
    .secondary-header {
        height: 68px;
    }

    .secondary-brand {
        flex-basis: auto;
        justify-content: flex-start;
    }

    .secondary-brand img {
        max-width: 60px;
        max-height: 52px;
    }

    .secondary-menu-trigger span {
        background: #fff;
    }

    .secondary-nav {
        flex: none;
        margin-left: 0;
    }

    .secondary-nav .home-nav__list {
        width: auto;
    }

    .secondary-nav .home-nav__item {
        text-align: left;
    }

    .secondary-nav .home-nav__item > a,
    .secondary-nav .home-nav__item > .home-nav__parent {
        height: auto;
        padding: 13px 4px;
        line-height: 1.6;
    }
}
