:root {
    --bg: #F0EADA;
    --text: #1f1f1f;
    --muted: #5a5a5a;
    --card: rgba(255, 255, 255, 0.72);
    --card-strong: rgba(255, 255, 255, 0.92);
    --border: rgba(15, 15, 15, 0.08);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
    --accent: #111827;
    --accent-2: #2b2a28;
    --radius: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

body#home-page main .container {
    padding-left: 110px;
}

body:not(#home-page) main .container {
    padding-left: 110px;
}

@media (max-width: 980px) {
    body#home-page main .container {
        padding-left: 20px;
    }

    body:not(#home-page) main .container {
        padding-left: 20px;
    }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: none;
    background: transparent; /* 完全透明 */
    border-bottom: none;
}

.site-header__inner {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding-left: 20px;   /* 👈 整个品牌块往右 */
}


.brand__logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: transparent;
    border: none;
    transform: translateY(5px);
    object-fit: contain;
}

.brand__logo.logo--small {
    width: 60px;
    height: 60px;
    transform: translateY(5px);
}

.brand__text {
    display: grid;
    gap: 2px;
    transform: translateY(-1px);
}

.brand__cn {
    font-weight: 700;
    letter-spacing: 0.2px;
}

.brand__en {
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.3em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end; /* 导航内部向右对齐 */
    margin-left: auto; /* 整个导航块推到头部右侧 */
}


.nav__link {
    font-size: 16px;              /* 字号调大 */
    font-weight: 600;             /* 更稳的企业感 */
    color: #111827;
    letter-spacing: 0.4px;        /* 微字距 */
    padding: 8px 12px;
    border-radius: 10px;
    transition: opacity 0.2s ease, transform 0.2s ease;
    border: 1px solid transparent;
}

body#home-page .nav__link {
    color: #ffffff;
}

body#home-page.nav--dark .nav__link {
    color: #111827;
}

.nav__link:hover {
    opacity: 0.85;                /* 悬停淡出，比白底好看 */
}


.lang {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--border);
}

.lang__btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 700;
    padding: 4px 6px;
    border-radius: 8px;
    color: var(--muted);
}

.lang__btn[aria-pressed="true"] {
    color: var(--text);
    background: rgba(255, 255, 255, 0.75);
}

.lang__sep {
    color: rgba(0, 0, 0, 0.25);
}

/* Hero */
.hero {
    position: relative;
    padding: 0;
    margin-top: -80px; /* 让首屏背景图片从页面最顶端开始，覆盖导航栏后面的米白色 */
}

.hero__media {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    border-radius: 0;
    overflow: hidden;
    margin: 0;
    max-width: 100%;
    outline: none;
    cursor: pointer;
    box-shadow: none;
    border: none;
    background-image: url("../assets/background1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__video,
.hero__fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__video {
    object-fit: cover;
}

.hero__fallback {
    background-image: var(--hero-image, url("assets/hero-1.jpg"));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(1.05) contrast(1.03);
    display: none;
}

.hero--fallback .hero__fallback {
    display: block;
}

.hero--fallback .hero__video {
    display: none;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: transparent; /* 去掉黑色遮罩 */
}

.hero__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    color: #fff;
    padding-top: 72vh; /* 贴近首屏底部上一点点 */
    padding-left: 80px;   /* 👈 核心：整块文字向右移 */
}

.hero__title {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.1;
    font-weight: 800;
    text-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    letter-spacing: 0.6px;
    max-width: 18ch;
}

.hero__subtitle {
    margin-top: 14px;
    font-size: clamp(14px, 1.4vw, 18px);
    color: rgba(255, 255, 255, 0.9);
    max-width: 56ch;
}

.hero__hint {
    margin-top: 12px;
    display: block;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
}

/* Home bottom image */
.home-bottom {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

.home-bottom__img {
    width: 100%;
    height: auto;
    display: block;
}

.home-bottom__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 22px;
    color: #111;
}

.home-bottom__title {
    font-size: clamp(28px, 2.8vw, 44px);
    font-weight: 900;
    letter-spacing: 0.4px;
    color: #686868;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.75);
    max-width: 30ch;
}

.home-bottom__subtitle {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 800;
    color: #686868;
}

.home-bottom__cta {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 26px;
    border-radius: 14px;
    border: 1.5px solid rgba(17, 17, 17, 0.45);
    color: #111;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(2px);
}

.home-bottom__cta:hover {
    background: rgba(255, 255, 255, 0.32);
}

.exhi-grid {
    margin-top: 160px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.exhi-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 18px;
    border: 1px solid transparent;
    background: transparent;
    padding: 14px;
    height: 100%;
}

.exhi-item__card {
    margin-top: auto;
}


.exhi-item__img {
    width: 48%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.exhi-item__card {
    background: rgba(255, 255, 255, 0.22);
    border: 2px solid transparent;
    color: #111;
    border-radius: 18px;
    padding: 18px 18px;
    min-height: 110px;
    display: grid;
    align-items: center;
    justify-items: center;
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.2px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
}

.exhi-item__title {
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 6px;
}

.exhi-item__desc {
    color: rgba(17, 17, 17, 0.72);
    font-size: 14px;
    font-weight: 600;
    max-width: 22ch;
}

@media (max-width: 980px) {
    .exhi-grid {
        grid-template-columns: 1fr;
    }

    .exhi-item__img {
        width: 86%;
    }

    .exhi-item__card {
        min-height: unset;
    }
}

.map-container {
    margin-top: 22px;
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
    height: 360px;
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.biz-contact {
    margin-top: 28px;
}

.qr-code-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.qr-code-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: grid;
    justify-items: center;
    gap: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.qr-code-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border);
}

.qr-code-caption {
    font-weight: 800;
    color: var(--accent-2);
}

@media (max-width: 980px) {
    .map-container {
        height: 260px;
    }

    .qr-code-grid {
        grid-template-columns: 1fr;
    }
}

.products-hero {
    position: relative;
    padding: 0;
    margin-top: -80px;
}

.products-hero__media {
    height: 520px;
    background: url("assets/background2.png") center / cover no-repeat;
    border-radius: 0;
}

body:not(#home-page) .products-hero__media {
    background-image: url("../assets/background2.png");
}

.products-hero__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.products-hero__intro {
    max-width: 820px;
    padding: 20px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(3px);
}

.products-hero__lead {
    display: grid;
    gap: 10px;
    font-weight: 800;
    color: rgba(17, 17, 17, 0.82);
    line-height: 1.35;
}

.products-hero__lead--big {
    display: block;
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 900;
}

.products-hero__lead--small {
    display: block;
    margin-top: 4px;
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 700;
    color: rgba(17, 17, 17, 0.72);
    line-height: 1.6;
}

.product-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

.product-row {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    grid-template-columns: minmax(260px, 44%) 1fr;
    gap: 40px;
    align-items: center;
}

.product-card__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 26px;
    border: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.10);
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.product-card__body {
    padding: 0;
}

.product-card__title {
    font-size: 18px;
    font-weight: 900;
    line-height: 1.3;
}

.product-card__list {
    margin-top: 12px;
    padding-left: 18px;
    color: var(--muted);
    font-weight: 700;
}

.product-card__list li + li {
    margin-top: 6px;
}

@media (max-width: 980px) {
    .products-hero__media {
        height: 420px;
    }

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

    .product-card__img {
        max-width: 520px;
        justify-self: center;
    }
}

.about-stack {
    margin-top: 22px;
    display: grid;
    gap: 26px;
}

.about-block {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 40px;
    align-items: start;
}

.about-block--with-media {
    min-height: 320px;
}

.about-block__media {
    height: 320px;
    border-radius: 26px;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.10);
}

.about-block__title {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 10px;
}

.about-block__text {
    color: rgba(17, 17, 17, 0.72);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
    white-space: pre-line;
}

.about-block--nowrap .about-block__text {
    white-space: nowrap;
}

.about-block--brand .about-block__media {
    background-size: 50% auto !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.about-block--culture .about-block__title {
    display: none;
}

.tech-hero {
    position: relative;
    padding: 0;
    margin-top: -80px;
}

.tech-hero__media {
    height: 420px;
    background: url("../assets/background4.png") center / cover no-repeat;
}

body#home-page .tech-hero__media {
    background-image: url("assets/background4.png");
}

.tech-hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-hero__content {
    text-align: center;
}

.tech-hero__title {
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.tech-stack {
    margin-top: 22px;
    display: grid;
    gap: 26px;
}

.tech-block {
    display: grid;
    grid-template-columns: minmax(260px, 42%) 1fr;
    gap: 40px;
    align-items: start;
}

.tech-block__media {
    height: 320px;
    border-radius: 26px;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.10);
}

.tech-block__title {
    font-size: 22px;
    font-weight: 900;
    line-height: 1.25;
}

.tech-block__text {
    margin-top: 10px;
    color: rgba(17, 17, 17, 0.72);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
}

.tech-block__list {
    margin-top: 12px;
    padding-left: 18px;
    color: rgba(17, 17, 17, 0.72);
    font-weight: 700;
    line-height: 1.7;
}

.tech-block__list li + li {
    margin-top: 8px;
}

.tech-summary {
    margin-top: 18px;
    font-weight: 900;
    color: rgba(17, 17, 17, 0.78);
}

@media (max-width: 980px) {
    .about-block {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-block__media {
        height: 240px;
    }

    .tech-hero__media {
        height: 320px;
    }

    .tech-block {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tech-block__media {
        height: 240px;
    }
}

/* Sections */
.section {
    padding: 56px 0;
}

.section__title {
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: 0.2px;
}

.section__lead {
    color: var(--muted);
    font-size: 16px;
    max-width: 78ch;
    margin-bottom: 18px;
}

.icon-row {
    margin-top: 18px;
    margin-bottom: 36px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.icon-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.icon-card__img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.12));
}

.icon-card__text {
    font-weight: 700;
    color: var(--accent-2);
}

.cards {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cards.cards--media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

@media (max-width: 980px) {
    .cards.cards--media {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.card {
    background: var(--card-strong);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    padding: 22px 22px 18px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.card.card--media {
    padding: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 28px;
}

.card.card--media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.62) 100%);
}

.card--media-agri {
    background-image: url("../assets/part-agri.png");
}

.card--media-company {
    background-image: url("../assets/part-company.png");
}

.card__overlay {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 22px 22px 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.cards.cards--media .card__title,
.cards.cards--media .card__desc {
    color: #fff;
}

.cards.cards--media .card__title {
    font-size: clamp(34px, 3.6vw, 54px);
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.cards.cards--media .card__desc {
    opacity: 0.9;
    font-size: 16px;
    max-width: 36ch;
}

.card__title {
    font-size: 18px;
    font-weight: 800;
}

.card__desc {
    margin-top: 10px;
    color: var(--muted);
}

.card__cta {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cards.cards--media .card__cta {
    margin-top: 28px;
    align-self: flex-start;
    height: 64px;
    padding: 0 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    backdrop-filter: blur(2px);
}

.cards.cards--media .card__cta:hover {
    transform: translateY(-1px);
    opacity: 0.95;
    background: rgba(255, 255, 255, 0.16);
}

.card__cta:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

/* Contact */
.contact-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
}

.contact-item__k {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 800;
    letter-spacing: 0.08em;
}

.contact-item__v {
    margin-top: 8px;
    color: var(--text);
    word-break: break-word;
}

.contact-item a.contact-item__v {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

/* Footer */
.site-footer {
    padding: 28px 0 34px;
    border-top: 1px solid var(--border);
    background: rgba(240, 234, 218, 0.66);
}

.site-footer__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.footer-left {
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.footer-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex: 0 0 auto;
}

.footer-meta {
    display: grid;
    gap: 6px;
    color: var(--muted);
}

.footer-company {
    color: var(--text);
    font-weight: 800;
}

.footer-line a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-sep {
    margin: 0 8px;
    color: rgba(0, 0, 0, 0.25);
}

.footer-right {
    text-align: right;
    color: var(--muted);
    display: grid;
    gap: 6px;
}

.footer-copy {
    color: rgba(0, 0, 0, 0.7);
    font-weight: 800;
}

/* Responsive */
@media (max-width: 980px) {
    .brand {
        min-width: unset;
    }
    .hero__content {
        margin-top: -200px;
    }
    .icon-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cards {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .site-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-right {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .nav {
        gap: 8px;
        justify-content: flex-start;
    }
    .hero__media {
        min-height: 420px;
    }
    .hero__content {
        margin-top: -190px;
    }
}
