/* ==========================================================================
   SPREAD 青岛斯普瑞德国际物流 — 站点主样式
   纯手写现代 CSS（无 Bootstrap / jQuery / 外部字体与 CDN）
   三语页面共用此文件；修改样式只需改这里，三个语言版本同时生效。
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
    /* 品牌色 */
    --c-primary: #0a66d8;
    --c-primary-dark: #084fa8;
    --c-primary-light: #2f93f5;
    --c-accent: #22b8f0;
    --c-ink: #0c2747;          /* 标题深蓝 */
    --c-body: #46586e;         /* 正文蓝灰 */
    --c-muted: #74869c;
    --c-bg: #ffffff;
    --c-bg-soft: #f3f7fc;     /* 浅蓝灰区块底 */
    --c-border: #e2ebf5;
    --c-footer: #071a30;

    /* 渐变 */
    --grad-brand: linear-gradient(135deg, #0a66d8 0%, #22b8f0 100%);
    --grad-hero: linear-gradient(180deg, rgba(7, 26, 48, .78) 0%, rgba(7, 26, 48, .45) 45%, rgba(7, 26, 48, .85) 100%);
    --grad-card: linear-gradient(180deg, rgba(7, 26, 48, 0) 35%, rgba(7, 26, 48, .82) 100%);

    /* 字体 */
    --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
        "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;

    --shadow-sm: 0 2px 10px rgba(12, 39, 71, .06);
    --shadow-md: 0 14px 34px rgba(12, 39, 71, .10);
    --shadow-lg: 0 26px 60px rgba(12, 39, 71, .18);
    --radius: 16px;
    --radius-sm: 10px;
    --nav-h: 72px;
    --maxw: 1200px;
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--c-body);
    background: var(--c-bg);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    /* 中文避头尾：标点不出现在行首/行尾，拉丁单词不从中间断开 */
    line-break: strict;
    word-break: normal;
    overflow-wrap: break-word;
}

h1, h2, h3, h4 {
    color: var(--c-ink);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 .5em;
    letter-spacing: .01em;
    /* 标题按语意均衡换行，避免末行只剩一两个字 */
    text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }

/* 专有名词 / 号码 / 英文词组不换行，避免从中间断开（断句连贯） */
.nb { white-space: nowrap; }
/* 仅窄屏生效的语意换行：宽屏自动连成一行，窄屏在合适的短语处断开 */
.br-m { display: none; }
@media (max-width: 640px) { .br-m { display: inline; } }

/* 仅供屏幕阅读器/搜索引擎识别、视觉隐藏（用于 H1 补充关键词描述） */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%);
    white-space: nowrap; border: 0;
}

a { color: var(--c-primary); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--c-primary-dark); }

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

ul { margin: 0; padding: 0; list-style: none; }

address { font-style: normal; }

:target { scroll-margin-top: calc(var(--nav-h) + 12px); }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding-inline: 24px;
}

section { padding: clamp(64px, 9vw, 104px) 0; }
section:nth-of-type(even) { background: var(--c-bg-soft); }

/* ---------- 通用区块标题 ---------- */
.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--c-primary);
    margin-bottom: 14px;
}
.eyebrow::after {
    content: "";
    display: inline-block;
    width: 26px; height: 2px;
    background: var(--c-accent);
    margin-left: 10px;
    vertical-align: middle;
}

.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.section-head p { color: var(--c-muted); font-size: 17px; margin-bottom: 0; }

.divider {
    width: 56px; height: 4px;
    border: 0; border-radius: 4px;
    background: var(--grad-brand);
    margin: 18px auto 0;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 24px rgba(10, 102, 216, .32); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px rgba(10, 102, 216, .4); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn-outline:hover { color: #fff; background: var(--c-primary); }

/* ==========================================================================
   导航
   ========================================================================== */
.site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: background .3s ease, box-shadow .3s ease;
    background: transparent;
}
.site-nav.scrolled {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 1px 0 var(--c-border), var(--shadow-sm);
}
.nav-inner {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding-inline: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: .04em;
    color: #fff;
}
.brand .brand-mark { width: 30px; height: 30px; flex: none; }
.brand small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .12em; opacity: .8; }
.site-nav.scrolled .brand { color: var(--c-ink); }
/* 纯文字品牌（左上角，无图形 logo） */
.brand-text { gap: 0; white-space: nowrap; font-size: 20px; }
.brand-text > span { margin-left: 8px; font-size: 15px; font-weight: 600; letter-spacing: .03em; opacity: .9; }
@media (max-width: 600px) {
    .brand-text { font-size: 18px; }
    .brand-text > span { font-size: 13.5px; margin-left: 6px; }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-links a.nav-link {
    position: relative;
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, .92);
    border-radius: 8px;
}
.site-nav.scrolled .nav-links a.nav-link { color: var(--c-body); }
.nav-links a.nav-link:hover,
.nav-links a.nav-link.active { color: var(--c-primary-light); }
.site-nav.scrolled .nav-links a.nav-link:hover,
.site-nav.scrolled .nav-links a.nav-link.active { color: var(--c-primary); }
.nav-links a.nav-link.active::after {
    content: "";
    position: absolute; left: 14px; right: 14px; bottom: 2px;
    height: 2px; border-radius: 2px;
    background: var(--c-accent);
}

/* 语言切换 */
.lang-switch { display: inline-flex; gap: 2px; margin-left: 10px; padding: 4px; background: rgba(255,255,255,.14); border-radius: 999px; }
.site-nav.scrolled .lang-switch { background: #eef4fb; }
.lang-switch a {
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    color: rgba(255,255,255,.85);
}
.site-nav.scrolled .lang-switch a { color: var(--c-muted); }
.lang-switch a:hover { color: #fff; background: rgba(255,255,255,.18); }
.site-nav.scrolled .lang-switch a:hover { color: var(--c-primary); background: #fff; }
.lang-switch a[aria-current="true"] { background: #fff; color: var(--c-primary); }
.site-nav.scrolled .lang-switch a[aria-current="true"] { background: var(--c-primary); color: #fff; }

/* 移动端汉堡 */
.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border: 0; background: transparent; cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.site-nav.scrolled .nav-toggle span { background: var(--c-ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   首屏 Hero
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: #0a2240 url("../img/header.jpg") center / cover no-repeat fixed;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background: var(--grad-hero);
}
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 880px; margin: auto; padding: calc(var(--nav-h) + clamp(8px, 3vh, 40px)) 24px clamp(8px, 2vh, 20px); }
.hero-logo { width: min(231px, 26vh); height: auto; margin: 0 auto clamp(14px, 2.6vh, 30px); filter: drop-shadow(0 6px 18px rgba(0,0,0,.3)); }
.hero h1 {
    color: #fff;
    font-size: min(58px, 7.6vw);
    font-weight: 800;
    line-height: 1.24;
    letter-spacing: .06em;
    margin-bottom: clamp(10px, 2vh, 22px);
    text-shadow: 0 3px 20px rgba(0,0,0,.25);
    white-space: nowrap;            /* slogan 始终单行，不换行 */
}
/* 英/日 slogan 按各自字数单独配字号，保证手机端也能一行放下 */
.hero h1:lang(en) { font-size: min(52px, 6.2vw); letter-spacing: .01em; }
.hero h1:lang(ja) { font-size: min(54px, 7.0vw); letter-spacing: .04em; }
.hero .lead {
    font-size: clamp(15px, 1.6vw, 19px);
    line-height: 1.9;
    color: rgba(255,255,255,.9);
    max-width: 720px;
    margin: 0 auto clamp(14px, 3vh, 38px);
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
    position: static; margin: 0 auto clamp(14px, 2.4vh, 24px);
    z-index: 2; color: rgba(255,255,255,.8); font-size: 12px; letter-spacing: .2em;
    display: grid; justify-items: center; gap: 6px;
}
.hero-scroll svg { width: 22px; height: 22px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(7px);} }

/* ==========================================================================
   关于我们
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}
.about-text h2 { font-size: clamp(26px, 3.2vw, 34px); }
.about-text .lead { font-size: 17px; color: var(--c-ink); font-weight: 500; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin-top: 26px; }
.about-point { display: flex; gap: 12px; }
.about-point svg { width: 24px; height: 24px; flex: none; color: var(--c-primary); margin-top: 2px; }
.about-point h4 { font-size: 16px; margin-bottom: 4px; }
.about-point p { font-size: 14px; color: var(--c-muted); margin: 0; line-height: 1.6; }

.about-media { position: relative; }
.about-media img {
    width: 100%;
    aspect-ratio: 4 / 3.2;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.about-badge {
    position: absolute;
    left: -18px; bottom: -22px;
    background: var(--grad-brand);
    color: #fff;
    padding: 20px 26px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}
.about-badge strong { display: block; font-size: 26px; font-weight: 800; line-height: 1.1; }
.about-badge span { font-size: 13px; opacity: .92; }

/* ==========================================================================
   服务项目
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.service-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-media img { transform: scale(1.07); }
.service-media::after { content: ""; position: absolute; inset: 0; background: var(--grad-card); }
.service-icon {
    position: absolute; top: 16px; left: 16px; z-index: 2;
    width: 46px; height: 46px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.92);
    border-radius: 12px;
    color: var(--c-primary);
    box-shadow: var(--shadow-sm);
}
.service-icon svg { width: 24px; height: 24px; }
.service-media h3 {
    position: absolute; left: 18px; bottom: 14px; z-index: 2;
    color: #fff; font-size: 20px; margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.service-body { padding: 22px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.service-body p { font-size: 14.5px; color: var(--c-body); margin-bottom: 12px; }
.service-body p:last-of-type { margin-bottom: 0; }
.service-body .muted { color: var(--c-muted); font-size: 13.5px; }

.more-services {
    margin-top: 40px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}
.more-services .chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 18px;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-ink);
    box-shadow: var(--shadow-sm);
}
.more-services .chip svg { width: 16px; height: 16px; color: var(--c-primary); }

/* ==========================================================================
   优势条带
   ========================================================================== */
.advantages {
    background:
        linear-gradient(135deg, rgba(8, 40, 84, .95), rgba(10, 102, 216, .9)),
        #0a2850;
    color: #fff;
}
.advantages .section-head h2,
.advantages .eyebrow { color: #fff; }
.advantages .eyebrow { color: var(--c-accent); }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.adv-item { text-align: center; }
.adv-ico {
    width: 64px; height: 64px;
    margin: 0 auto 16px;
    display: grid; place-items: center;
    border-radius: 16px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
}
.adv-ico svg { width: 30px; height: 30px; }
.adv-item h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.adv-item p { color: rgba(255,255,255,.82); font-size: 14.5px; margin: 0; }

/* ==========================================================================
   合作伙伴
   ========================================================================== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: center;
}
.partner {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    padding: 14px;
    display: grid;
    place-items: center;
    min-height: 104px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.partner img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   联系我们
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: stretch;
}
.contact-info h2 { font-size: clamp(26px, 3.2vw, 34px); }
.contact-list { margin-top: 26px; display: grid; gap: 18px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-ico {
    flex: none;
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: #eaf3fe;
    color: var(--c-primary);
}
.contact-ico svg { width: 22px; height: 22px; }
.contact-row h4 { font-size: 14px; color: var(--c-muted); font-weight: 600; margin-bottom: 2px; }
.contact-row p, .contact-row a { font-size: 16.5px; color: var(--c-ink); font-weight: 600; margin: 0; }
.contact-row a:hover { color: var(--c-primary); }

.contact-card {
    background: var(--grad-brand);
    color: #fff;
    border-radius: var(--radius);
    padding: clamp(30px, 4vw, 44px);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-card h3 { color: #fff; font-size: 24px; }
.contact-card p { color: rgba(255,255,255,.92); }
.contact-card .btn-primary { background: #fff; color: var(--c-primary); box-shadow: none; align-self: flex-start; }
.contact-card .btn-primary:hover { background: #f2f7ff; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
    background: var(--c-footer);
    color: rgba(255,255,255,.72);
    padding: 64px 0 0;
    font-size: 14.5px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr .8fr 1.05fr;
    gap: 36px;
    padding-bottom: 44px;
}
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 15px; letter-spacing: .08em; margin-bottom: 18px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.footer-nav li { margin-bottom: 10px; }
.footer-lanes { list-style: none; margin: 0; padding: 0; }
.footer-lanes li { margin-bottom: 10px; line-height: 1.55; color: rgba(255,255,255,.72); }
.footer-lanes li span { display: inline-block; min-width: 64px; color: #fff; font-weight: 600; margin-right: 6px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 22px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,.55);
}
.footer-bottom .beian a { color: rgba(255,255,255,.55); }
.footer-bottom .beian { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.to-top {
    position: fixed; right: 24px; bottom: 24px;
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden;
    transform: translateY(12px);
    transition: .3s;
    z-index: 900;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 22px; height: 22px; }
.to-top:hover { background: var(--c-primary-dark); color: #fff; }

/* ==========================================================================
   滚动入场动画
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .adv-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .about-media { max-width: 560px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 991px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: var(--nav-h); right: 0;
        z-index: 901; /* 必须高于遮罩(.nav-overlay z-index:900)，否则遮罩盖住菜单导致手机端点不动 */
        width: min(300px, 82vw);
        height: calc(100vh - var(--nav-h));
        height: calc(100dvh - var(--nav-h));
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 22px;
        background: #fff;
        box-shadow: -10px 0 40px rgba(0,0,0,.12);
        transform: translateX(105%);
        transition: transform .32s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a.nav-link { color: var(--c-ink); font-size: 16px; padding: 12px 14px; }
    .nav-links a.nav-link.active::after { display: none; }
    .lang-switch { margin: 14px 0 0; align-self: flex-start; background: #eef4fb; }
    .lang-switch a { color: var(--c-muted); }
    .nav-overlay {
        position: fixed; inset: var(--nav-h) 0 0 0;
        background: rgba(7,26,48,.4);
        opacity: 0; visibility: hidden; transition: .3s; z-index: 900;
    }
    .nav-overlay.show { opacity: 1; visibility: visible; }
}

@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
    .adv-grid { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .about-points { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-badge { left: 12px; bottom: -18px; padding: 14px 18px; }
    .hero { background-attachment: scroll; }
    .btn { width: 100%; justify-content: center; }
    .hero-actions { gap: 12px; }
    .hero-actions .btn { flex: 1 1 0; min-width: 132px; width: auto; padding-inline: 14px; }
}

/* 矮屏笔记本：压缩首屏纵向节奏，确保 SCROLL 在第一屏可见 */
@media (max-height: 820px) {
    .hero-logo { width: min(200px, 22vh); margin-bottom: 12px; }
    .hero h1 { margin-bottom: 10px; }
    .hero .lead { margin-bottom: 14px; line-height: 1.65; }
    .hero-inner { padding-top: calc(var(--nav-h) + 10px); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
