/* ============================================================
   東莞市五之星国際貿易 - 官网样式（现代 CSS）
   参考 paipai：flex+gap / grid / 无前缀；企业色：深蓝#0A2540 + 橙#E07B00
   断点：768px / 480px
   ============================================================ */

/* ============= 基础 ============= */
* { margin: 0; padding: 0; box-sizing: border-box; }

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, main, summary { display: block; }

/* SVG 图标（Lucide 24×24 线条风格，统一 viewBox + stroke 描边）
   .icon 是所有 svg.use 引用的统一尺寸基准，各场景通过 class 覆盖
   symbol 已内置 stroke-width=2/linecap=round/linejoin=round，这里仅设尺寸与对齐 */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    flex-shrink: 0;
    vertical-align: middle;
}
/* flex 容器中的 .icon 自动居中（about-icon/business-icon/product-icon/brand-logo/info-list） */
.about-icon, .business-icon, .product-icon, .brand-logo,
.info-list li { align-items: center; }
.about-icon .icon, .business-icon .icon, .product-icon .icon,
.brand-logo .icon, .info-list li > .icon,
.hero-feature .icon, .top-contact-item .icon,
.footer-contact .icon, .lang-globe, .lang-caret, .lang-check,
.search-icon { display: inline-block; vertical-align: middle; }

html { text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
    /* 日文/默认：Mac 用 Hiragino；Windows 用 Yu Gothic Medium（'Yu Gothic' 400 会命中 Light 细字面，Medium 必须放前面） */
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', 'Yu Gothic', 'Meiryo', Arial, sans-serif;
    color: #2D3748; line-height: 1.7; background: #FFFFFF;
    font-size: 1rem; overflow-x: hidden;
}

/* 中文版：中文字体优先，避免日文字体抢先渲染汉字导致同段粗细/字形混杂（html lang 由 i18n.js 切换） */
body:lang(zh-CN) {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', Arial, sans-serif;
}

/* 表单控件/按钮统一继承页面字体，避免系统默认字体混排 */
button, input, select, textarea { font-family: inherit; }

a { color: #0A2540; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #E07B00; }
ul { list-style: none; }
img { max-width: 100%; height: auto; border: 0; }

.container { width: 96%; max-width: 1140px; margin: 0 auto; padding: 0 0.75rem; }

/* ============= 顶部条（固定，叠在 navbar 之上） ============= */
.top-bar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1002;
    background: #0A2540; color: #FFFFFF;
    font-size: 0.75rem; padding: 0.375rem 0; line-height: 1.4;
}
.top-bar-inner { display: flex; align-items: center; justify-content: flex-end; }
.top-bar-right { display: flex; align-items: center; }
.top-contact-item { display: inline-flex; align-items: center; color: #FFFFFF; white-space: nowrap; }
.top-contact-item a { color: inherit; text-decoration: none; }
.top-contact-item a:hover { color: #FFB36B; }
.top-contact-item .icon { margin-right: 0.375rem; color: #FFB36B; }
.top-bar-sep { display: inline-block; width: 1px; height: 12px; background: rgba(255,255,255,0.3); margin: 0 0.875rem; }
.top-bar-sep-lang { margin-left: 1rem; margin-right: 0.25rem; }
.top-contact-email { display: inline-flex; }

/* ============= 语言下拉 ============= */
.lang-dropdown { position: relative; display: inline-block; }
.lang-toggle {
    display: inline-flex; align-items: center;
    background: transparent; border: 1px solid rgba(255,255,255,0.35); color: #FFFFFF;
    padding: 0.25rem 0.625rem; border-radius: 22px; cursor: pointer;
    font-size: 0.75rem; font-weight: 600; line-height: 1.2;
    transition: background 0.25s ease, border-color 0.25s ease;
}
.lang-toggle:hover, .lang-toggle.open { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.6); }
.lang-globe { margin-right: 0.375rem; color: #FFB36B; }
.lang-current-code { vertical-align: middle; }
.lang-caret { margin-left: 0.375rem; font-size: 0.625rem; transition: transform 0.3s ease; }
.lang-toggle.open .lang-caret { transform: rotate(180deg); }
.lang-menu {
    position: absolute; top: 100%; right: 0; margin-top: 0.5rem;
    background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 0.625rem;
    box-shadow: 0 8px 24px rgba(10,37,64,0.12);
    min-width: 10rem; padding: 0.375rem;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: all 0.25s ease; z-index: 200;
}
.lang-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.625rem 0.875rem; border-radius: 0.375rem; cursor: pointer;
    color: #2D3748; font-size: 0.875rem;
    transition: background 0.2s ease, color 0.2s ease;
}
.lang-option:hover { background: rgba(224,123,0,0.08); color: #0A2540; }
.lang-option.active { color: #E07B00; background: rgba(224,123,0,0.05); }
.lang-label { display: inline-block; }
.lang-check { color: #E07B00; font-size: 0.75rem; margin-left: 0.75rem; opacity: 0; }
.lang-option.active .lang-check { opacity: 1; }

/* ============= 导航（固定，位于 top-bar 下方） ============= */
.navbar {
    position: fixed; top: 1.875rem; left: 0; width: 100%; z-index: 1001;
    background: #FFFFFF; border-bottom: 1px solid #E2E8F0;
    box-shadow: 0 2px 12px rgba(10,37,64,0.06);
    padding: 0.875rem 0;
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 1rem; }
.navbar-brand { display: inline-flex; align-items: center; text-decoration: none; color: #0A2540; flex-shrink: 1; min-width: 0; }
.brand-logo {
    display: inline-block; width: 2.75rem; height: 2.75rem; object-fit: contain;
    margin-right: 0.75rem; border-radius: 0.625rem;
}
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name { font-size: 1.25rem; font-weight: 700; color: #0A2540; white-space: nowrap; }
.brand-sub { font-size: 0.625rem; color: #718096; letter-spacing: 1px; margin-top: 2px; white-space: nowrap; }

/* 汉堡按钮：桌面隐藏，移动显示（无边框轻量风，展开时动画变 X） */
.navbar-toggler {
    display: none; flex-direction: column; align-items: center; justify-content: center;
    width: 2.5rem; height: 2.5rem; padding: 0;
    background: transparent; border: none; border-radius: 0.5rem;
    cursor: pointer; margin-left: auto;
    transition: background-color 0.2s ease;
}
.navbar-toggler:hover, .navbar-toggler:active { background: #F1F5F9; }
.navbar-toggler-icon, .navbar-toggler-icon::before, .navbar-toggler-icon::after {
    display: block; width: 22px; height: 2px; background: #0A2540; border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}
.navbar-toggler-icon { position: relative; }
.navbar-toggler-icon::before, .navbar-toggler-icon::after { content: ''; position: absolute; left: 0; }
.navbar-toggler-icon::before { top: -7px; }
.navbar-toggler-icon::after { top: 7px; }
/* 展开（aria-expanded=true）：三线过渡为 X */
.navbar-toggler[aria-expanded="true"] { background: #F1F5F9; }
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon { background: transparent; }
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before { top: 0; transform: rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after { top: 0; transform: rotate(-45deg); }

.navbar-collapse { flex: 1 1 auto; display: block; min-width: 0; overflow: hidden; }
.navbar-cta-wrap { flex: 0 0 auto; text-align: right; }
.nav-cta-btn { display: inline-block; padding: 0.5625rem 1.375rem; font-size: 0.875rem; font-weight: 600; border-radius: 22px; white-space: nowrap; }
.navbar-nav { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 1.25rem; margin: 0; padding: 0; }
.nav-item { display: block; }
.nav-link {
    display: inline-block; padding: 0.5rem 0.5rem; color: #2D3748;
    font-weight: 500; font-size: 0.9375rem; border-radius: 6px;
    transition: color 0.3s ease, background 0.3s ease; white-space: nowrap;
}
.nav-link:hover { color: #E07B00; background: #F5F7FA; }
.nav-link.active-nav { color: #E07B00; }

/* ============= Hero ============= */
.hero {
    position: relative; color: #FFFFFF;
    background: #0A2540 url('../img/hero-bg.jpg') center/cover no-repeat;
    /* top-bar(30px) + navbar(72px) 高度，避免被 fixed 遮挡 */
    margin-top: 6.5rem;
    min-height: 600px; padding: 5rem 0 6.25rem;
    text-align: left; overflow: hidden;
}
/* 深色渐变叠加在背景图上，保证文字可读性 */
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,37,64,0.94) 0%, rgba(31,58,95,0.82) 55%, rgba(44,79,124,0.66) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-block; background: rgba(224,123,0,0.15); color: #FFB36B;
    border: 1px solid rgba(224,123,0,0.3); padding: 0.375rem 1rem; border-radius: 22px;
    font-size: 0.8125rem; font-weight: 600; margin-bottom: 1.25rem; letter-spacing: 0.5px;
}
.hero-title { font-size: 2.75rem; font-weight: 700; line-height: 1.25; margin-bottom: 1.25rem; color: #FFFFFF; }
.text-accent { color: #FFB36B; }
.hero-subtitle { font-size: 1.0625rem; color: rgba(255,255,255,0.88); max-width: 640px; margin-bottom: 2rem; line-height: 1.6; }
.hero-features { display: flex; flex-wrap: wrap; gap: 1.75rem; margin-bottom: 2rem; }
.hero-feature { display: inline-flex; align-items: center; font-size: 0.9375rem; color: rgba(255,255,255,0.95); }
.hero-feature .icon { color: #FFB36B; font-size: 1.125rem; margin-right: 0.625rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.5rem; }

/* ============= 按钮 ============= */
.btn {
    display: inline-block; font-weight: 600; line-height: 1.5; text-align: center;
    text-decoration: none; vertical-align: middle; cursor: pointer;
    border: 2px solid transparent; padding: 0.75rem 1.75rem;
    font-size: 0.9375rem; border-radius: 8px; transition: all 0.3s ease;
}
.btn-primary-c { background: #E07B00; color: #FFFFFF; border-color: #E07B00; }
.btn-primary-c:hover { background: #c26800; border-color: #c26800; color: #FFFFFF; transform: translateY(-2px); }
.btn-outline-c { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,0.6); }
.btn-outline-c:hover { background: #FFFFFF; color: #0A2540; border-color: #FFFFFF; transform: translateY(-2px); }
.btn-submit { width: 100%; padding: 0.875rem 1.875rem; font-size: 1rem; }
.btn[disabled] { opacity: 0.65; cursor: not-allowed; transform: none !important; }

/* ============= 通用 Section ============= */
.section { padding: 5rem 0; }
.bg-light-c { background: #F7FAFC; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3.5rem; padding: 0 0.75rem; }
.section-tag { display: inline-block; color: #E07B00; font-size: 0.8125rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 0.75rem; text-transform: uppercase; }
.section-title { font-size: 2rem; font-weight: 700; color: #0A2540; margin-bottom: 1.125rem; line-height: 1.3; }
.section-desc { font-size: 1rem; color: #718096; line-height: 1.7; }
/* 会社概要：対応分野・取扱製品簡介两行 */
.about-brief { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.brief-line { display: flex; align-items: flex-start; justify-content: center; gap: 0.5rem; color: #718096; font-size: 0.9375rem; line-height: 1.6; }
.brief-line .icon { width: 1.125rem; height: 1.125rem; flex-shrink: 0; margin-top: 0.2rem; color: #E8930C; }

/* ============= 会社概要 ============= */
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.875rem; margin-bottom: 3rem; }

/* ============= 会社概要：优势卡 + 流程条 ============= */
.about-adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2.25rem; }
.adv-card {
    background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 1rem; padding: 1.5rem 1.375rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.adv-card:hover { border-color: #E07B00; box-shadow: 0 12px 32px rgba(10,37,64,0.1); transform: translateY(-3px); }
.adv-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.875rem; height: 2.875rem; background: rgba(224,123,0,0.1); color: #E07B00;
    border-radius: 0.75rem; font-size: 1.25rem; margin-bottom: 0.875rem;
}
.adv-card h3 { font-size: 1.0625rem; color: #0A2540; font-weight: 700; margin-bottom: 0.5rem; }
.adv-card p { color: #718096; font-size: 0.875rem; line-height: 1.65; margin: 0; }

/* 合作流程条：编号圆点 + 箭头连接 */
.about-flow {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
    gap: 0.625rem; background: #F7FAFC; border: 1px dashed #CBD5E0;
    border-radius: 1rem; padding: 1.25rem 1.5rem; margin-bottom: 2.25rem;
}
.flow-step { display: inline-flex; align-items: center; gap: 0.5rem; }
.flow-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.625rem; height: 1.625rem; border-radius: 50%;
    background: #0A2540; color: #FFFFFF; font-size: 0.8125rem; font-weight: 700; flex-shrink: 0;
}
.flow-label { font-size: 0.9375rem; font-weight: 600; color: #0A2540; white-space: nowrap; }
.flow-arrow {
    position: relative; flex: 1 1 18px; min-width: 18px; height: 2px;
    background: #CBD5E0; margin: 0 0.25rem;
}
.flow-arrow::after {
    content: ''; position: absolute; right: 0; top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 0.4375rem; height: 0.4375rem;
    border: solid #CBD5E0; border-width: 0 2px 2px 0;
}
.about-card {
    background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 1rem;
    padding: 2.25rem; transition: all 0.3s ease;
}
.about-card:hover { border-color: #E07B00; box-shadow: 0 12px 32px rgba(10,37,64,0.1); }
.about-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 4rem; height: 4rem; background: rgba(10,37,64,0.08); color: #0A2540;
    border-radius: 1rem; font-size: 1.625rem; margin-bottom: 1.25rem;
}
.about-card h3 { font-size: 1.375rem; color: #0A2540; margin-bottom: 0.75rem; font-weight: 700; }
.about-card p { color: #2D3748; line-height: 1.7; }

/* 统计区 */
.about-stats {
    background: #0A2540; color: #FFFFFF; padding: 2.5rem 1.5rem;
    border-radius: 1.25rem; text-align: center;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem;
}
.stat-item { flex: 1 1 140px; padding: 0 0.5rem; }
.stat-num { font-size: 2.5rem; font-weight: 700; color: #FFB36B; line-height: 1.1; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.85); }

/* ============= 事業内容 ============= */
.business-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.business-card {
    background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 1.25rem;
    padding: 1.75rem 1.5rem; position: relative; overflow: hidden; transition: box-shadow 0.3s ease;
}
.business-card:hover { box-shadow: 0 16px 40px rgba(10,37,64,0.12); }
.business-num { position: absolute; top: 1.25rem; right: 1.5rem; font-size: 3rem; font-weight: 700; color: rgba(10,37,64,0.06); line-height: 1; }
.business-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 3.5rem; height: 3.5rem; background: rgba(224,123,0,0.1); color: #E07B00;
    border-radius: 1rem; font-size: 1.5rem; margin-bottom: 1.125rem;
}
.business-card h3 { font-size: 1.25rem; color: #0A2540; margin-bottom: 0.625rem; font-weight: 700; }
.business-card p { color: #2D3748; line-height: 1.7; margin-bottom: 0; font-size: 0.9375rem; }

/* ============= 代理产品（图片卡） ============= */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product-card {
    background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 1.25rem;
    overflow: hidden; position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover { border-color: #E07B00; box-shadow: 0 16px 40px rgba(10,37,64,0.12); transform: translateY(-4px); }
.product-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, #E07B00, #1F3A5F);
    transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; z-index: 2;
}
.product-card:hover::before { transform: scaleX(1); }
/* 图片区（padding-bottom 撑 4:3 比例，兼容不支持 aspect-ratio 的旧内核） */
.product-img { position: relative; height: 0; padding-bottom: 75%; overflow: hidden; background: #F5F7FA; }
.product-img img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; transition: transform 0.4s ease;
}
.product-card:hover .product-img img { transform: scale(1.05); }
/* 文本区 */
.product-body { padding: 1.5rem; }
.product-card h3 { font-size: 1.1875rem; color: #0A2540; margin-bottom: 0.625rem; font-weight: 700; }
.product-card p { color: #718096; font-size: 0.875rem; line-height: 1.65; margin: 0; }
/* 产品区尾部引导：其它需求 → 联系表单 */
.products-more { text-align: center; margin-top: 2rem; color: #718096; font-size: 0.9375rem; }
.products-more-link { color: #E07B00; font-weight: 600; text-decoration: none; margin-left: 0.375rem; transition: color 0.2s ease; }
.products-more-link:hover { color: #c26800; text-decoration: underline; }
/* 表单必填项星号（红色） */
.form-label .required { color: #DC2626; margin-left: 0.25rem; font-weight: 700; }

/* ============= お問い合わせ ============= */
.contact-grid { display: grid; grid-template-columns: 58% 38%; gap: 4%; margin-bottom: 0; }
.contact-form-wrap { margin-bottom: 2rem; }
.contact-form { background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 1rem; padding: 2rem; }
.form-row { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 1rem; }
.form-col { flex: 1 1 0; min-width: 0; margin-bottom: 1rem; }
.form-col-full { flex: 1 1 100%; }
.form-label { display: block; margin-bottom: 0.375rem; font-weight: 600; color: #2D3748; font-size: 0.875rem; }
.form-control { display: block; width: 100%; padding: 0.625rem 0.875rem; border: 1px solid #E2E8F0; border-radius: 8px; font-size: 0.9375rem; color: #2D3748; background: #FFFFFF; font-family: inherit; appearance: none; transition: border-color 0.3s ease; }
.form-control:focus { outline: 0; border-color: #E07B00; box-shadow: 0 0 0 3px rgba(224,123,0,0.25); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-note { background: rgba(224,123,0,0.1); color: #c26800; padding: 0.875rem 1.125rem; border-radius: 8px; margin-top: 1rem; font-size: 0.875rem; font-weight: 600; }
.contact-info { background: #0A2540; color: #FFFFFF; border-radius: 1rem; padding: 2.25rem; }
.contact-info h3 { font-size: 1.375rem; color: #FFFFFF; margin-bottom: 1.5rem; font-weight: 700; }
.info-list { padding-left: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.info-list li { display: flex; align-items: flex-start; }
.info-list li > .icon { color: #FFB36B; font-size: 1rem; margin-right: 0.875rem; margin-top: 0.25rem; flex-shrink: 0; }
/* 深色卡片内的电话/邮箱链接保持可读 */
.info-list a { color: #FFFFFF; text-decoration: none; border-bottom: 1px solid rgba(255,179,107,0.5); transition: color 0.2s ease, border-color 0.2s ease; }
.info-list a:hover { color: #FFB36B; border-color: #FFB36B; }
.info-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.5px; }

/* ============= Footer ============= */
.footer { background: #0A2540; color: rgba(255,255,255,0.7); padding: 3.75rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 40% 26% 26%; gap: 4%; margin-bottom: 2rem; }
.footer-col { margin-bottom: 2rem; }
.footer-brand { display: flex; align-items: center; margin-bottom: 1.125rem; }
.footer-brand .brand-logo { width: 2.5rem; height: 2.5rem; font-size: 2.05rem; margin-right: 0.75rem; }
.footer-brand-text { display: inline-flex; flex-direction: column; line-height: 1.2; }
.footer-brand-name { font-size: 1.125rem; font-weight: 700; color: #FFFFFF; }
.footer-brand-sub { font-size: 0.5625rem; color: rgba(255,255,255,0.5); letter-spacing: 0.5px; margin-top: 2px; }
.footer-desc { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.7); max-width: 360px; }
.footer h4 { color: #FFFFFF; font-size: 1.0625rem; font-weight: 700; margin-bottom: 1.125rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { color: rgba(255,255,255,0.7); font-size: 0.875rem; text-decoration: none; transition: color 0.3s ease; }
.footer-nav a:hover { color: #FFB36B; }
.footer-contact { font-size: 0.875rem; line-height: 2; color: rgba(255,255,255,0.7); }
.footer-contact a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s ease; }
.footer-contact a:hover { color: #FFB36B; }
.footer-contact .icon { margin-right: 0.5rem; color: #FFB36B; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem; text-align: center; font-size: 0.8125rem; color: rgba(255,255,255,0.5); }
.footer-icp { display: block; margin-top: 0.5rem; }
.footer-icp a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s ease; }
.footer-icp a:hover { color: rgba(255,255,255,0.8); text-decoration: underline; }

/* ============= 响应式 - 中屏 1024px ============= */
@media (max-width: 1024px) {
    /* 全称较长：中屏缩小品牌名、隐藏英文副标题，防导航挤压 */
    .brand-name { font-size: 1.0625rem; }
    .brand-sub { display: none; }
    .brief-line { justify-content: flex-start; }
    .hero-title { font-size: 2.375rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .contact-form-wrap { margin-bottom: 1.5rem; }
    .business-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
    .about-adv-grid { grid-template-columns: repeat(2, 1fr); }
    .business-card { padding: 2rem 1.75rem; }
    .business-card h3 { font-size: 1.375rem; }
}

/* ============= 响应式 - 移动端 768px ============= */
@media (max-width: 768px) {
    /* top-bar 固定高度收缩，navbar 紧贴其下 */
    .top-bar { padding: 0.25rem 0; }
    .navbar { top: 1.625rem; }

    /* 邮箱隐藏，分隔符收紧 */
    .top-contact-email, .top-bar-sep:not(.top-bar-sep-lang) { display: none; }
    .top-bar-sep { margin: 0 0.5rem; }
    .top-bar-inner { justify-content: center; }

    /* 汉堡按钮显示 */
    .navbar-toggler { display: flex; }
    /* CTA 按钮容器在 navbar 右侧保留显示 */
    .navbar-cta-wrap { margin-left: auto; margin-right: 0.5rem; }
    .nav-cta-btn { padding: 0.5rem 1rem; font-size: 0.8125rem; }

    /* input 字号 ≥16px 防止 iOS Safari 聚焦自动缩放页面 */
    .form-control, textarea.form-control {
        font-size: 16px;
    }

    /* 折叠菜单默认隐藏，.show 时下拉 */
    .navbar-collapse {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: #FFFFFF; border-top: 1px solid #E2E8F0;
        box-shadow: 0 12px 24px rgba(10,37,64,0.1);
        padding: 1rem; max-height: 70vh; overflow-y: auto;
    }
    .navbar-collapse.show { display: block; }
    .navbar-nav { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-item { width: 100%; }
    .nav-link { display: block; padding: 0.625rem 0.875rem; width: 100%; border-radius: 6px; }

    /* Hero */
    .hero { margin-top: 5.25rem; min-height: 500px; padding: 3.75rem 0 5rem; }
    .hero-title { font-size: 2rem; }
    .hero-features { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .hero-cta { flex-direction: column; align-items: stretch; gap: 0.75rem; }
    .hero-cta .btn { width: 100%; text-align: center; }

    /* Section */
    .section { padding: 3.75rem 0; }
    .section-title { font-size: 1.75rem; }
    .section-head { margin-bottom: 2.25rem; }

    /* 卡片压缩内边距 */
    .about-card, .business-card, .contact-form, .contact-info { padding: 1.5rem; }
    .product-body { padding: 1.25rem; }

    /* 网格全部 1 列 */
    .about-grid, .about-adv-grid, .business-grid, .products-grid, .contact-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .contact-form-wrap { margin-bottom: 1.5rem; }

    /* 流程条改竖排：箭头转为向下 */
    .about-flow { flex-direction: column; align-items: stretch; }
    .flow-arrow { width: 2px; height: 0.875rem; min-width: 0; margin: 0.125rem 0 0.125rem 0.75rem; flex: none; }
    .flow-arrow::after {
        right: auto; left: 50%; top: auto; bottom: -0.125rem;
        transform: translateX(-50%) rotate(45deg);
    }

    /* 统计改 2 列 */
    .about-stats { display: grid; grid-template-columns: repeat(2, 1fr); }
    .stat-item { flex: 1 1 calc(50% - 0.625rem); }
    .stat-num { font-size: 2rem; }
    .business-num { font-size: 2.5rem; }

    /* footer 单列 */
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============= 响应式 - 小屏 480px ============= */
@media (max-width: 480px) {
    .container { padding: 0 0.5rem; }
    .top-contact-item { font-size: 0.6875rem; }
    /* 电话号码保持可见（可点击拨打），仅收紧分隔符间距 */
    .top-bar-sep { margin: 0 0.375rem; }
    .top-bar-inner { justify-content: space-between; }
    /* 品牌名缩小并允许省略号截断，防止挤压汉堡按钮溢出 */
    .brand-name { font-size: 0.9375rem; max-width: 52vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .brand-sub { display: none; }
    .brand-logo { width: 2.25rem; height: 2.25rem; font-size: 1.85rem; margin-right: 0.5rem; }
    /* CTA 按钮在折叠菜单中已有入口，小屏隐藏以保住汉堡按钮空间 */
    .navbar-cta-wrap { display: none; }
    .hero { min-height: 420px; padding: 2.5rem 0 3.125rem; }
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 0.9375rem; }
    .section-title { font-size: 1.8rem; }
    .about-stats { padding: 1.5rem 0.75rem; }
    .btn { padding: 0.625rem 1.5rem; font-size: 0.875rem; }
}
