:root {
    --green: #5d991c;
    --green-dark: #3f7410;
    --ink: #1c2119;
    --muted: #6d7269;
    --line: #dedfd9;
    --surface: #f5f6f2;
    --white: #ffffff;
    --max-width: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 82px;
}

body {
    min-width: 320px;
    color: var(--ink);
    background: var(--white);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
    line-height: 1.6;
    letter-spacing: 0;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1000;
    padding: 9px 14px;
    color: var(--white);
    background: var(--ink);
    transform: translateY(-150%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 76px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(28, 33, 25, 0.08);
    transition: box-shadow 200ms ease;
}

.site-header.scrolled {
    box-shadow: 0 10px 35px rgba(25, 31, 20, 0.08);
}

.header-inner {
    width: min(calc(100% - 48px), var(--max-width));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--ink);
    text-decoration: none;
}

.brand-logo {
    width: 174px;
    height: auto;
}

.brand-name {
    white-space: nowrap;
    font-family: KaiTi, STKaiti, "Microsoft YaHei", sans-serif;
    font-size: 23px;
    color: #171b15;
}

.site-nav {
    height: 100%;
    display: flex;
    align-items: stretch;
}

.site-nav a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 18px;
    color: #343931;
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
    transition: color 180ms ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 3px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--green-dark);
}

.site-nav a:hover::after,
.site-nav a.active::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
    position: relative;
    height: min(706px, calc(100vh - 122px));
    min-height: 480px;
    overflow: hidden;
    background: #efefec;
}

.hero-track,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 650ms ease, visibility 650ms ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    color: var(--white);
    background: rgba(18, 24, 15, 0.34);
    font-family: Arial, sans-serif;
    font-size: 39px;
    font-weight: 200;
    line-height: 42px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 180ms ease, transform 180ms ease;
}

.hero-arrow:hover {
    background: rgba(31, 45, 20, 0.72);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: max(24px, calc((100% - 1320px) / 2));
}

.hero-next {
    right: max(24px, calc((100% - 1320px) / 2));
}

.hero-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 24px;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    transition: width 180ms ease, border-radius 180ms ease, background 180ms ease;
}

.hero-dots button.active {
    width: 30px;
    border-radius: 6px;
    background: var(--white);
}

.section {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
    padding: 92px 0;
}

.section-heading {
    max-width: 650px;
    margin: 0 auto 45px;
    text-align: center;
}

.eyebrow {
    margin-bottom: 9px;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.section-heading h2,
.about-copy h2 {
    color: #171b15;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 600;
    line-height: 1.22;
}

.section-heading h2 {
    margin-bottom: 13px;
}

.section-heading > p:last-child,
.about-copy > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 16px;
}

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

.product-card {
    min-width: 0;
    border: 1px solid var(--line);
    background: var(--white);
    overflow: hidden;
}

.product-card-wide {
    grid-column: span 2;
}

.product-card a {
    position: relative;
    min-height: 350px;
    display: block;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
}

.product-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 420ms ease;
}

.product-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 42px 24px 20px;
    color: var(--white);
    background: linear-gradient(to bottom, rgba(15, 18, 13, 0), rgba(15, 18, 13, 0.8));
    transform: translateY(10px);
    opacity: 0;
    transition: transform 250ms ease, opacity 250ms ease;
}

.product-meta span {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    letter-spacing: 0.08em;
    opacity: 0.82;
}

.product-meta h3 {
    font-size: 21px;
    font-weight: 600;
}

.product-card:hover img,
.product-card:focus-within img {
    transform: scale(1.035);
}

.product-card:hover .product-meta,
.product-card:focus-within .product-meta {
    transform: translateY(0);
    opacity: 1;
}

.about-section {
    padding: 100px 24px;
    color: var(--white);
    background: #20251d;
}

.about-inner {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: clamp(60px, 9vw, 130px);
    align-items: start;
}

.about-copy .eyebrow {
    color: #91c45e;
}

.about-copy h2 {
    margin-bottom: 24px;
    color: var(--white);
}

.about-copy > p:not(.eyebrow) {
    max-width: 560px;
    color: #c1c6bd;
    line-height: 1.9;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding-bottom: 5px;
    color: var(--white);
    border-bottom: 1px solid #7ea84f;
    text-decoration: none;
    transition: color 180ms ease, gap 180ms ease;
}

.text-link:hover {
    gap: 15px;
    color: #a9d57d;
}

.business-list {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.business-list > div {
    position: relative;
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.business-list span {
    grid-row: 1 / 3;
    color: #82b653;
    font-size: 13px;
    font-weight: 700;
}

.business-list h3 {
    margin-bottom: 3px;
    font-size: 21px;
    font-weight: 600;
}

.business-list p {
    color: #aeb4aa;
    font-size: 14px;
}

.news-section {
    padding-top: 88px;
    padding-bottom: 100px;
}

.section-heading-left {
    margin-left: 0;
    text-align: left;
}

.news-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
}

.news-row article {
    min-width: 0;
    padding: 34px 34px 8px 0;
}

.news-row article + article {
    padding-left: 34px;
    border-left: 1px solid var(--line);
}

.news-tag {
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 700;
}

.news-row h3 {
    margin: 10px 0 10px;
    font-size: 20px;
    font-weight: 600;
}

.news-row p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.site-footer {
    color: #d9ddd5;
    background: #171b15;
}

.footer-main {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
    padding: 64px 0 52px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: clamp(36px, 7vw, 90px);
}

.footer-brand img {
    width: 206px;
    margin-bottom: 18px;
}

.footer-brand p,
.subscribe > p {
    color: #8f978b;
    font-size: 14px;
}

.contact-list {
    font-style: normal;
}

.contact-list p {
    margin-bottom: 11px;
    color: #c4c9c0;
    font-size: 14px;
}

.contact-list span {
    display: inline-block;
    width: 48px;
    color: #7e8779;
}

.contact-list a {
    color: inherit;
    text-decoration: none;
}

.contact-list a:hover {
    color: #a9d57d;
}

.subscribe h2 {
    margin-bottom: 4px;
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
}

.subscribe-form {
    height: 44px;
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr auto;
}

.subscribe-form input {
    min-width: 0;
    padding: 0 14px;
    color: var(--white);
    border: 1px solid #41473e;
    border-right: 0;
    border-radius: 4px 0 0 4px;
    outline: none;
    background: #21261f;
}

.subscribe-form input:focus {
    border-color: #80b44e;
}

.subscribe-form button {
    min-width: 76px;
    padding: 0 18px;
    color: var(--white);
    border: 0;
    border-radius: 0 4px 4px 0;
    background: var(--green);
    cursor: pointer;
    transition: background 180ms ease;
}

.subscribe-form button:hover {
    background: var(--green-dark);
}

.form-message {
    min-height: 22px;
    margin-top: 8px;
    color: #a9d57d !important;
}

.footer-bottom {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #30352e;
    color: #7e8779;
    font-size: 13px;
}

@media (hover: none) {
    .product-meta {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 1080px) {
    .brand-logo {
        width: 150px;
    }

    .brand-name {
        font-size: 20px;
    }

    .site-nav a {
        padding: 0 11px;
        font-size: 15px;
    }

    .site-nav a::after {
        left: 11px;
        right: 11px;
    }

    .hero {
        min-height: 440px;
    }
}

@media (max-width: 860px) {
    .site-header {
        height: 68px;
    }

    .header-inner {
        width: min(calc(100% - 32px), var(--max-width));
    }

    .brand {
        gap: 12px;
    }

    .brand-logo {
        width: 132px;
    }

    .brand-name {
        font-size: 18px;
    }

    .menu-toggle {
        display: block;
        flex: 0 0 44px;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .site-nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        height: auto;
        padding: 8px 16px 18px;
        display: grid;
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid var(--line);
        box-shadow: 0 20px 28px rgba(24, 32, 18, 0.1);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    }

    .site-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .site-nav a {
        min-height: 46px;
        padding: 0 12px;
    }

    .site-nav a::after {
        left: 12px;
        right: auto;
        width: 34px;
        height: 2px;
    }

    .hero {
        height: min(610px, calc(100vh - 108px));
        min-height: 400px;
    }

    .hero-arrow {
        width: 42px;
        height: 42px;
        font-size: 34px;
        line-height: 37px;
    }

    .hero-prev {
        left: 16px;
    }

    .hero-next {
        right: 16px;
    }

    .section {
        width: min(calc(100% - 32px), var(--max-width));
        padding: 72px 0;
    }

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

    .product-card-wide {
        grid-column: span 2;
    }

    .about-section {
        padding: 76px 16px;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .news-row {
        grid-template-columns: 1fr;
    }

    .news-row article {
        padding: 28px 0;
    }

    .news-row article + article {
        padding-left: 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .subscribe {
        grid-column: 1 / -1;
        max-width: 520px;
    }
}

@media (max-width: 560px) {
    .brand-logo {
        width: 118px;
    }

    .brand-name {
        max-width: 140px;
        white-space: normal;
        font-size: 15px;
        line-height: 1.25;
    }

    .hero {
        height: 53vw;
        min-height: 310px;
        max-height: 440px;
    }

    .hero-slide img {
        object-position: center;
    }

    .hero-arrow {
        width: 38px;
        height: 38px;
        font-size: 30px;
        line-height: 33px;
    }

    .hero-dots {
        bottom: 16px;
    }

    .section {
        padding: 58px 0;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading > p:last-child {
        font-size: 14px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-card-wide {
        grid-column: auto;
    }

    .product-card a {
        min-height: 290px;
    }

    .product-card img {
        height: 290px;
    }

    .about-section {
        padding: 62px 16px;
    }

    .about-copy h2 br {
        display: none;
    }

    .business-list > div {
        grid-template-columns: 42px 1fr;
        column-gap: 12px;
    }

    .footer-main {
        width: min(calc(100% - 32px), var(--max-width));
        padding: 52px 0 38px;
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .subscribe {
        grid-column: auto;
    }

    .footer-bottom {
        width: min(calc(100% - 32px), var(--max-width));
        flex-direction: column;
        gap: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
