:root {
  --blue: #17538d;
  --blue-dark: #0b3159;
  --blue-ink: #071e35;
  --orange: #ff7100;
  --text: #17202a;
  --muted: #64707c;
  --line: #dfe5ea;
  --surface: #f4f7f9;
  --white: #fff;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--white); font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.7; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 760px; }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(11,49,89,.09); backdrop-filter: blur(12px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { width: 238px; height: 54px; display: flex; align-items: center; flex: 0 0 auto; }
.brand-crop { width: 100%; display: flex; align-items: center; }
.brand-crop img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: stretch; gap: 24px; font-size: 15px; white-space: nowrap; }
.main-nav a { position: relative; padding: 27px 0 24px; color: #2d3944; }
.main-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 17px; height: 2px; background: var(--blue); transition: .2s ease; }
.main-nav a:hover::after, .main-nav a.active::after { left: 0; right: 0; }
.main-nav a.active { color: var(--blue); font-weight: 600; }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 8px 12px; }

.hero-carousel { position: relative; height: clamp(240px, 42vw, 680px); overflow: hidden; background: var(--blue-ink); }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .55s ease; }
.hero-slide.active { z-index: 1; opacity: 1; pointer-events: auto; }
.hero-slide img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hero-arrow { position: absolute; z-index: 3; top: 50%; width: 46px; height: 58px; display: grid; place-items: center; border: 0; border-radius: 4px; padding: 0 0 5px; color: #fff; background: rgba(5,24,41,.48); font-size: 42px; line-height: 1; transform: translateY(-50%); cursor: pointer; transition: background .2s ease; }
.hero-arrow:hover, .hero-arrow:focus-visible { background: rgba(5,24,41,.78); }
.hero-prev { left: 22px; }
.hero-next { right: 22px; }
.hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 18px; display: flex; gap: 10px; transform: translateX(-50%); }
.hero-dot { width: 10px; height: 10px; border: 1px solid rgba(255,255,255,.9); border-radius: 50%; padding: 0; background: rgba(5,24,41,.35); box-shadow: 0 1px 5px rgba(0,0,0,.35); cursor: pointer; }
.hero-dot.active { background: #fff; transform: scale(1.18); }
.eyebrow { margin: 0 0 14px; color: #9ed1ff; font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.dark { color: var(--blue); }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 4px; padding: 10px 22px; font-weight: 700; cursor: pointer; }
.button.primary { color: #fff; background: var(--orange); }
.button.ghost { color: #fff; border-color: rgba(255,255,255,.35); }

.section { padding: 88px 0; }
.section.muted { background: var(--surface); }
.two-column { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 86px; align-items: start; }
.section h1, .section h2 { margin: 0; color: var(--blue-ink); line-height: 1.2; }
.section h2 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.03em; }
.prose { color: #45515d; }
.prose p:first-child { margin-top: 0; }
.lead { font-size: 17px; }
.text-link { color: var(--blue); font-weight: 700; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(7,30,53,.09); }
.product-image { aspect-ratio: 4/3; display: grid; place-items: center; background: #fff; color: var(--blue); font-size: 42px; font-weight: 900; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-body { padding: 18px 20px 22px; }
.product-body span { color: var(--blue); font-size: 13px; }
.product-body h3 { min-height: 3.2em; margin: 5px 0 0; font-size: 17px; line-height: 1.6; }
.empty-state { grid-column: 1 / -1; padding: 48px; text-align: center; color: var(--muted); border: 1px dashed #bdc9d2; background: #fff; }

.page-hero { min-height: 300px; display: grid; align-items: end; padding: 70px 0 54px; color: #fff; background: linear-gradient(120deg, var(--blue-ink), var(--blue)); }
.page-hero p { margin: 0 0 4px; color: #9ed1ff; font-size: 13px; font-weight: 700; letter-spacing: .18em; }
.page-hero h1 { margin: 0; font-size: clamp(44px, 6vw, 70px); line-height: 1.15; }
.image-hero { min-height: 300px; background-position: center; background-size: cover; }
.simple-hero { position: relative; overflow: hidden; }
.simple-hero::after { content: "MH"; position: absolute; right: 8vw; bottom: -58px; color: rgba(255,255,255,.05); font-size: 210px; font-weight: 900; line-height: 1; }
.products-hero { background: linear-gradient(105deg, #071e35 0%, #104879 67%, #2874ae 100%); }

.catalog-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 44px; align-items: start; }
.filter-panel { position: sticky; top: 104px; border-top: 4px solid var(--blue); background: var(--surface); padding: 22px 18px; }
.filter-panel h2 { margin: 0 0 14px; font-size: 21px; }
.filter-panel a { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 10px 2px; color: #45515d; font-size: 14px; }
.filter-panel a span { color: #8a949d; }
.filter-panel a.active { color: var(--blue); font-weight: 700; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.catalog-heading h2 { font-size: 36px; }
.catalog-heading > span { color: var(--muted); font-size: 14px; }
.catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.pagination a { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); }
.pagination a.active { color: #fff; border-color: var(--blue); background: var(--blue); }

.back-link { display: inline-block; margin-bottom: 28px; color: var(--blue); font-weight: 700; }
.product-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.detail-image { aspect-ratio: 4/3; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); background: #fff; color: var(--blue); font-size: 80px; font-weight: 900; }
.detail-image img { width: 100%; height: 100%; object-fit: contain; }
.product-intro h1 { font-size: clamp(34px, 4vw, 52px); }
.brand-tag { display: inline-block; margin-top: 18px; border-left: 3px solid var(--orange); padding: 4px 10px; color: var(--blue); background: var(--surface); }
.detail-summary { margin: 24px 0 30px; color: #4c5863; font-size: 17px; }
.detail-content { max-width: 900px; margin: 76px auto 0; border-top: 1px solid var(--line); padding-top: 40px; }
.detail-content h2 { font-size: 30px; }
.rich-text { color: #3f4b56; }
.rich-text h1, .rich-text h2, .rich-text h3 { color: var(--blue-ink); line-height: 1.35; }
.rich-text h2 { margin-top: 42px; font-size: 26px; }
.rich-text h3 { margin-top: 28px; font-size: 20px; }
.rich-text img { height: auto; margin: 26px auto; }
.rich-text table { width: 100%; border-collapse: collapse; }
.rich-text td, .rich-text th { border: 1px solid var(--line); padding: 10px; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 280px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px; }
.service-card > span, .application-card > span { color: var(--orange); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.service-card h2 { margin-top: 34px; font-size: 24px; }
.service-card p { color: var(--muted); }
.service-card a { margin-top: auto; padding-top: 12px; color: var(--blue); font-weight: 700; }
.ate-section { scroll-margin-top: 78px; }
.ate-heading { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 70px; align-items: end; margin-bottom: 42px; }
.ate-heading > p { max-width: 680px; margin: 0; color: #4c5965; font-size: 17px; }
.ate-showcase { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); overflow: hidden; color: #fff; background: var(--blue-ink); box-shadow: 0 24px 60px rgba(7,30,53,.12); }
.ate-video-frame { min-width: 0; display: grid; place-items: center; background: #061728; }
.ate-video-frame video { width: 100%; height: 100%; min-height: 360px; display: block; object-fit: contain; }
.ate-function-panel { padding: 44px 38px; }
.ate-label { color: #8fc9f7; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.ate-function-panel h3 { margin: 8px 0 24px; font-size: 27px; line-height: 1.35; }
.ate-function-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ate-function-list li { position: relative; padding-left: 20px; color: rgba(255,255,255,.78); }
.ate-function-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.ate-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.ate-feature-grid article { min-height: 210px; border: 1px solid var(--line); background: #fff; padding: 28px; }
.ate-feature-grid span { color: var(--orange); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.ate-feature-grid h3 { margin: 26px 0 10px; color: var(--blue-ink); font-size: 22px; }
.ate-feature-grid p { margin: 0; color: var(--muted); }
.ate-compatibility { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 54px 0 88px; border: 1px solid #cbd7e1; background: #eaf1f6; }
.ate-compatibility > div { display: flex; flex-direction: column; gap: 8px; border-right: 1px solid #cbd7e1; padding: 24px 26px; }
.ate-compatibility > div:last-child { border-right: 0; }
.ate-compatibility span { color: var(--blue); font-size: 13px; font-weight: 800; }
.ate-compatibility strong { color: var(--blue-ink); font-size: 15px; line-height: 1.7; }
.ate-gallery-heading > span { color: var(--muted); font-size: 14px; }
.ate-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ate-gallery figure { overflow: hidden; margin: 0; border: 1px solid var(--line); background: #fff; }
.ate-gallery a { display: block; overflow: hidden; background: #fff; }
.ate-gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; transition: transform .25s ease; }
.ate-gallery a:hover img { transform: scale(1.015); }
.ate-gallery figcaption { border-top: 1px solid var(--line); padding: 13px 16px; color: #4a5661; font-size: 14px; }
.ate-materials { margin-top: 22px; border: 1px solid var(--line); background: #fff; }
.ate-materials summary { padding: 16px 20px; color: var(--blue); font-weight: 700; cursor: pointer; }
.ate-materials[open] summary { border-bottom: 1px solid var(--line); }
.ate-materials .ate-gallery { padding: 22px; }
.ate-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 54px; padding: 32px 38px; color: #fff; background: var(--blue); }
.ate-cta strong { font-size: 23px; }
.ate-cta p { margin: 4px 0 0; color: rgba(255,255,255,.72); }
.ate-cta .button { flex: 0 0 auto; }
.stats-band { color: #fff; background: var(--blue-ink); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stats-grid > div { display: flex; flex-direction: column; align-items: center; border-right: 1px solid rgba(255,255,255,.15); }
.stats-grid > div:last-child { border-right: 0; }
.stats-grid strong { font-size: 52px; }
.stats-grid span { color: rgba(255,255,255,.62); }
.application-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.application-card { min-height: 220px; padding: 28px; color: #fff; background: linear-gradient(145deg, #0b3159, #17538d); }
.application-card:nth-child(even) { background: linear-gradient(145deg, #172b3d, #2f4a60); }
.application-card h3 { margin: 40px 0 10px; font-size: 24px; }
.application-card p { margin: 0; color: rgba(255,255,255,.7); }
.article-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 68px; align-items: start; }
.article-layout aside { position: sticky; top: 106px; }
.article-layout aside img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.article-layout aside p { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.news-copy h1 { margin: 0 0 30px; font-size: clamp(34px, 4vw, 50px); }
.job-card { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; border-left: 5px solid var(--blue); background: #fff; padding: 48px; }
.job-card h2 { margin-bottom: 16px; }
.job-card h3 { color: var(--blue-ink); font-size: 20px; }
.job-card li { margin-bottom: 10px; color: #45515d; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.contact-info h2, .message-panel h2 { margin-bottom: 30px; font-size: 34px; }
.contact-info dl { margin: 0; }
.contact-info dl > div { display: grid; grid-template-columns: 70px 1fr; gap: 14px; border-top: 1px solid var(--line); padding: 12px 0; }
.contact-info dt { color: var(--muted); }
.contact-info dd { margin: 0; }
.map-link { display: inline-block; margin-top: 20px; color: var(--blue); font-weight: 700; }
.wechat-card { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.wechat-card img { width: 112px; height: 112px; object-fit: contain; border: 1px solid var(--line); }
.wechat-card p { margin: 2px 0 0; color: var(--muted); }
.message-panel { border: 1px solid var(--line); padding: 38px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid label { display: flex; flex-direction: column; gap: 7px; color: #34414c; font-weight: 600; }
.form-grid label span { color: #c44230; }
.form-grid input, .form-grid textarea, .form-grid select { width: 100%; border: 1px solid #cbd3d9; border-radius: 3px; background: #fff; padding: 11px 12px; color: var(--text); }
.form-grid textarea { resize: vertical; }
.form-grid input:focus, .form-grid textarea:focus { outline: 2px solid rgba(23,83,141,.18); border-color: var(--blue); }
.form-grid .full { grid-column: 1 / -1; }
.honeypot { position: absolute !important; left: -9999px; }
.notice { margin: 0 0 20px; border: 1px solid; padding: 12px 14px; }
.notice.success { color: #25633b; border-color: #abd3b8; background: #eff9f2; }
.notice.error { color: #8a2d23; border-color: #e4b0a9; background: #fff4f2; }

.admin-body { min-height: 100vh; background: #f3f6f8; }
.admin-header { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 32px; color: #fff; background: var(--blue-ink); }
.admin-logo { font-size: 20px; font-weight: 800; }
.admin-logo span { color: #8ebbe1; font-size: 13px; font-weight: 500; }
.admin-header nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.admin-header form { margin: 0; }
.admin-header button { border: 0; color: #fff; background: transparent; cursor: pointer; }
.admin-main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 80px; }
.admin-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.admin-page-heading p { margin: 0; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .15em; }
.admin-page-heading h1 { margin: 3px 0 0; font-size: 36px; }
.button.secondary { color: var(--blue); border-color: #aebdca; background: #fff; }
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-cards a { display: flex; flex-direction: column; border-top: 4px solid var(--blue); background: #fff; padding: 28px; box-shadow: 0 8px 24px rgba(7,30,53,.05); }
.stat-cards strong { color: var(--blue-ink); font-size: 42px; line-height: 1.2; }
.stat-cards span { color: var(--muted); }
.admin-shortcuts { margin-top: 34px; background: #fff; padding: 28px; }
.admin-shortcuts h2 { margin-top: 0; }
.admin-shortcuts .button { margin-right: 10px; }
.admin-table-wrap { overflow: auto; background: #fff; box-shadow: 0 8px 24px rgba(7,30,53,.05); }
.admin-table { width: 100%; min-width: 780px; border-collapse: collapse; }
.admin-table th, .admin-table td { border-bottom: 1px solid var(--line); padding: 14px 16px; text-align: left; vertical-align: middle; }
.admin-table th { color: #54616c; background: #f9fafb; font-size: 13px; }
.table-product { display: flex; align-items: center; gap: 13px; max-width: 440px; }
.table-product > div { width: 62px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; color: var(--blue); background: var(--surface); font-weight: 800; }
.table-product img { width: 100%; height: 100%; object-fit: contain; }
.table-product strong { font-size: 14px; }
.status { display: inline-block; border-radius: 999px; padding: 3px 9px; font-size: 12px; }
.status.online { color: #23663a; background: #e8f6ec; }
.status.offline { color: #6d7378; background: #eceff1; }
.table-actions { display: flex; align-items: center; gap: 11px; white-space: nowrap; }
.table-actions form { margin: 0; }
.table-actions a, .table-actions button { border: 0; padding: 0; color: var(--blue); background: transparent; font-size: 13px; cursor: pointer; }
.table-actions .danger { color: #b53c2f; }
.admin-form { background: #fff; padding: 32px; box-shadow: 0 8px 24px rgba(7,30,53,.05); }
.admin-home-products-intro { margin-bottom: 24px; padding: 20px 24px; border-left: 4px solid var(--blue); background: #fff; color: #43515e; line-height: 1.7; }
.admin-home-products-intro p { margin: 0; }
.admin-home-products-intro p + p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.admin-home-products-form { background: #fff; padding: 28px; box-shadow: 0 8px 24px rgba(7,30,53,.05); }
.admin-home-products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.admin-home-product-slot { min-width: 0; border: 1px solid var(--line); padding: 16px; }
.admin-home-product-slot.featured { border-color: #7ba8cc; background: #f2f7fb; }
.admin-home-product-preview { height: 150px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 14px; background: #f5f8fa; color: var(--muted); }
.admin-home-product-preview img { display: block; width: 100%; height: 150px; object-fit: contain; }
.admin-home-product-slot label { display: block; margin-bottom: 8px; color: var(--blue-ink); }
.admin-home-product-slot select { width: 100%; padding: 10px; border: 1px solid #cbd3d9; background: #fff; color: var(--text); }
.admin-home-product-slot > a { display: inline-block; margin-top: 10px; color: var(--blue); font-size: 13px; }
.admin-home-products-actions { margin-top: 24px; }
.admin-form small { color: var(--muted); font-weight: 400; }
.checkbox-label { align-self: end; flex-direction: row !important; align-items: center; padding-bottom: 12px; }
.checkbox-label input { width: auto; }
.existing-images h3 { margin: 0 0 12px; }
.existing-images > div { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.existing-images label { overflow: hidden; border: 1px solid var(--line); padding: 8px; }
.existing-images img { width: 100%; aspect-ratio: 4/3; object-fit: contain; }
.existing-images label span { color: #b53c2f; font-size: 13px; }
.message-list { display: grid; gap: 16px; }
.message-list article { background: #fff; padding: 24px; box-shadow: 0 6px 18px rgba(7,30,53,.05); }
.message-meta { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.message-meta strong, .message-meta span { display: block; }
.message-meta span, .message-meta time, .message-list small { color: var(--muted); font-size: 13px; }
.message-list article > p { white-space: pre-wrap; }
.danger-link { margin-top: 14px; border: 0; padding: 0; color: #b53c2f; background: transparent; cursor: pointer; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 28px; background: linear-gradient(145deg, #071e35, #17538d); }
.login-card { width: min(420px, 100%); display: flex; flex-direction: column; gap: 16px; background: #fff; padding: 42px; box-shadow: 0 24px 60px rgba(0,0,0,.2); }
.login-mark { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--orange); font-weight: 900; }
.login-card h1 { margin: 0; }
.login-card > p { margin: -10px 0 4px; color: var(--muted); }
.login-card label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.login-card input { border: 1px solid #cbd3d9; padding: 11px 12px; }
.login-card > a { color: var(--blue); text-align: center; font-size: 14px; }

.site-footer { color: rgba(255,255,255,.74); background: #081c2e; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.25fr 110px; gap: 56px; align-items: center; padding-block: 54px; }
.footer-brand { color: #fff; font-size: 21px; font-weight: 700; }
.site-footer p { margin: 8px 0 0; }
.site-footer strong { color: #fff; }
.qr-link img { width: 104px; height: 104px; object-fit: contain; border: 5px solid #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 20px; text-align: center; font-size: 13px; color: rgba(255,255,255,.45); }

@media (max-width: 1080px) {
  .main-nav { gap: 14px; font-size: 14px; }
  .brand { width: 200px; }
}

@media (max-width: 860px) {
  :root { --shell: min(100% - 28px, 680px); }
  .header-inner { min-height: 68px; }
  .brand { width: 190px; height: 50px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; display: none; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; padding: 10px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 28px rgba(7,30,53,.08); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 4px; }
  .main-nav a::after { display: none; }
  .two-column { grid-template-columns: 1fr; gap: 30px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 110px; gap: 30px; }
  .footer-grid > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; display: flex; overflow-x: auto; gap: 8px; border-top-width: 3px; padding: 14px; }
  .filter-panel h2 { display: none; }
  .filter-panel a { flex: 0 0 auto; border: 1px solid var(--line); padding: 7px 10px; background: #fff; }
  .filter-panel a span { margin-left: 6px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-intro, .contact-grid, .article-layout, .job-card { grid-template-columns: 1fr; gap: 38px; }
  .article-layout aside { position: static; max-width: 480px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ate-heading { grid-template-columns: 1fr; gap: 18px; }
  .ate-showcase { grid-template-columns: 1fr; }
  .ate-video-frame video { min-height: 0; }
  .ate-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ate-compatibility { grid-template-columns: 1fr; }
  .ate-compatibility > div { border-right: 0; border-bottom: 1px solid #cbd7e1; }
  .ate-compatibility > div:last-child { border-bottom: 0; }
  .application-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-header { align-items: flex-start; flex-direction: column; padding: 18px 22px; }
  .admin-header nav { width: 100%; flex-wrap: wrap; gap: 14px 20px; }
  .stat-cards { grid-template-columns: 1fr; }
  .admin-home-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .existing-images > div { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
  .hero-carousel { height: clamp(240px, 62vw, 360px); }
  .hero-arrow { width: 38px; height: 48px; font-size: 34px; }
  .hero-prev { left: 10px; }
  .hero-next { right: 10px; }
  .hero-dots { bottom: 10px; gap: 8px; }
  .section { padding: 64px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .qr-link { width: 110px; }
  .page-hero { min-height: 240px; padding-bottom: 40px; }
  .catalog-heading { align-items: start; flex-direction: column; }
  .catalog-grid, .service-grid, .application-grid, .stats-grid { grid-template-columns: 1fr; }
  .ate-feature-grid, .ate-gallery { grid-template-columns: 1fr; }
  .ate-function-panel { padding: 32px 24px; }
  .ate-compatibility { margin-bottom: 64px; }
  .ate-cta { align-items: stretch; flex-direction: column; padding: 28px 24px; }
  .stats-grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); padding: 24px 0; }
  .stats-grid > div:last-child { border-bottom: 0; }
  .product-intro { gap: 26px; }
  .message-panel, .job-card, .admin-form, .login-card { padding: 24px; }
  .admin-home-products-form { padding: 20px; }
  .admin-home-products-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid label, .form-grid .full { grid-column: 1; }
  .existing-images > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .message-meta { flex-direction: column; gap: 8px; }
}

/* 甲方初版反馈：统一标题、首页结构与子页栏目 */
:root { --shell: min(1240px, calc(100% - 40px)); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
[hidden] { display: none !important; }
.section { padding-block: 76px; }
.section h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: 0; }
.page-hero { min-height: 270px; }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 54px); }
.filter-panel h2 { font-size: 21px; }
.catalog-heading h2 { font-size: 30px; }
.detail-content h2 { font-size: 28px; }
.contact-info h2, .message-panel h2 { font-size: 30px; }
.hero-carousel { width: min(100%, 1800px); height: clamp(320px, 37.5vw, 680px); margin-inline: auto; }
.hero-stage { background: radial-gradient(circle at 50% 15%, #245989 0, #123b65 46%, #092544 100%); }
.hero-slide img { object-position: center; }
.hero-slide:nth-child(2) img { object-position: center top; }
.hero-slide:nth-child(n+3) img { object-position: center 25%; }
@media (max-width: 768px) {
  .hero-carousel { height: auto; aspect-ratio: 16 / 9; }
  .hero-slide img { object-position: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

.center-heading { margin: 0 auto 44px; text-align: center; }
.center-heading h2 { margin: 0; color: var(--blue-ink); font-size: clamp(28px, 3vw, 38px); font-weight: 700; }
.center-heading p { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 8px 0 0; color: #7c8994; font-size: 13px; letter-spacing: .13em; }
.center-heading p::before, .center-heading p::after { content: ""; width: 58px; height: 1px; background: #d8e0e7; }
.center-heading.light h2 { color: #fff; }
.center-heading.light p { color: rgba(255,255,255,.74); }
.center-heading.light p::before, .center-heading.light p::after { background: rgba(255,255,255,.34); }

.about-preview { background: #eaf1f6; }
.company-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 0; align-items: stretch; }
.company-copy { padding: 46px 50px; color: #fff; background: #102f51; }
.company-copy .eyebrow.dark { color: #9cc7e9; }
.company-copy h2 { margin: 0 0 24px; color: #fff; font-size: clamp(28px, 3vw, 36px); }
.company-copy p:not(.eyebrow) { margin: 0 0 16px; color: rgba(255,255,255,.82); line-height: 1.9; }
.company-copy .text-link { display: inline-block; margin-top: 12px; color: #fff; border-bottom: 1px solid #8dc4e9; }
.company-photo { width: 100%; height: 100%; min-height: 500px; object-fit: cover; object-position: center; }

.home-services, .services-overview { color: #fff; background: linear-gradient(120deg, #173c68 0%, #315f90 52%, #16365e 100%); }
.home-services { padding-block: 60px; }
.home-services .center-heading { margin-bottom: 36px; }
.home-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-service-tile { min-height: 205px; border-right: 1px solid rgba(255,255,255,.3); border-bottom: 1px solid rgba(255,255,255,.3); padding: 34px 30px; color: #fff; transition: background .2s ease; }
.home-service-tile:nth-child(3n) { border-right: 0; }
.home-service-tile:nth-last-child(-n+3) { border-bottom: 0; }
.home-service-tile:hover, .home-service-tile:focus-visible { background: rgba(255,255,255,.1); }
.service-tile-heading { display: flex; align-items: center; gap: 18px; }
.service-icon { width: 46px; height: 46px; flex: 0 0 46px; color: #fff; }
.home-service-tile h3 { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.35; }
.home-service-tile p { max-width: 340px; margin: 20px 0 0; color: rgba(255,255,255,.88); font-size: 15px; line-height: 1.7; }

.home-products { background: #edf3f7; }
.featured-product { display: grid; grid-template-columns: 1fr 1fr; min-height: 360px; border: 1px solid var(--line); background: #fff; }
.featured-product-image { display: grid; place-items: center; min-width: 0; padding: 18px; background: #f7f9fa; }
.featured-product-image img { width: 100%; max-height: 340px; object-fit: contain; }
.featured-product-copy { display: flex; flex-direction: column; justify-content: center; padding: 42px 50px; }
.featured-product-copy > span { color: var(--blue); font-size: 14px; }
.featured-product-copy h3 { margin: 9px 0 16px; color: var(--blue-ink); font-size: clamp(22px, 2.5vw, 31px); line-height: 1.4; }
.featured-product-copy p { display: -webkit-box; overflow: hidden; margin: 0 0 28px; color: var(--muted); -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.featured-product-copy strong { align-self: flex-start; padding: 9px 22px; color: #fff; background: #245372; font-size: 14px; }
.home-product-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.home-product-strip a { min-width: 0; border: 1px solid var(--line); padding: 12px; text-align: center; background: #fff; }
.home-product-strip img { width: 100%; height: 125px; object-fit: contain; }
.home-product-strip span { display: block; overflow: hidden; margin-top: 8px; color: #334352; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.section-more { margin-top: 26px; text-align: right; }

.home-news { background: #102d4c; }
.news-home-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; }
.news-home-visual { display: grid; align-items: center; background: #f4f6f8; }
.news-home-visual img { width: 100%; height: auto; object-fit: contain; }
.news-home-content { min-width: 0; background: #f4f6f8; }
.tabs-strip { background: #f3f5f7; }
.tabs-bar { display: flex; align-items: stretch; gap: 0; }
.tabs-bar button { flex: 0 0 auto; min-width: 136px; border: 0; border-radius: 0; padding: 20px 27px; color: #364653; background: transparent; font-size: 16px; cursor: pointer; }
.tabs-bar button[aria-selected="true"] { color: #fff; background: #245372; font-weight: 700; }
.tabs-bar button:hover:not([aria-selected="true"]), .tabs-bar button:focus-visible:not([aria-selected="true"]) { background: #e5ebef; }
.tabs-bar > a { align-self: center; margin-left: auto; padding: 0 24px; color: #5c6a75; font-size: 14px; }
.news-preview-panel { padding: 30px 36px; }
.news-preview-panel h3 { margin: 0 0 18px; color: var(--blue-ink); font-size: 22px; line-height: 1.4; }
.news-preview-panel p { margin: 0 0 14px; color: #53616d; }
.news-preview-panel .text-link { display: inline-block; margin-top: 10px; }
.tab-panel { min-width: 0; }

.product-banner { width: 100%; overflow: hidden; background: #0b345f; }
.product-banner img { width: min(100%, 1268px); height: auto; max-height: none; margin-inline: auto; object-fit: contain; }
.about-hero { background-image: linear-gradient(90deg,rgba(6,24,40,.78),rgba(6,24,40,.25)),url('/assets/client/home/company-building.jpg'); }
.about-profile, .application-feature, .news-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.about-profile > img, .application-feature > img, .news-feature > img { width: 100%; height: 400px; object-fit: cover; }
.about-profile .prose { font-size: 16px; line-height: 1.95; }
.about-profile .prose p { margin: 0 0 17px; }
.culture-mission { display: grid; grid-template-columns: .65fr 1.35fr; gap: 50px; align-items: center; padding: 42px 48px; color: #fff; background: #102f51; }
.culture-mission h3, .culture-values h3 { margin: 0 0 12px; font-size: 26px; line-height: 1.4; }
.culture-mission > p { margin: 0; color: rgba(255,255,255,.85); font-size: 17px; line-height: 1.9; }
.culture-values { margin-top: 24px; }
.culture-values-content > p { margin: 0 0 10px; color: #fff; font-size: 18px; font-weight: 600; }
.culture-values dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.culture-values dl > div { border-top: 1px solid rgba(255,255,255,.25); padding: 18px 0; background: transparent; }
.culture-values dt { margin-bottom: 6px; color: #fff; font-size: 18px; }
.culture-values dd { margin: 0; color: rgba(255,255,255,.78); }
.contact-map-section { padding-top: 0; }
.contact-map-section .center-heading { margin-bottom: 28px; }
.contact-map-frame { overflow: hidden; border: 1px solid var(--line); background: #e8eef2; }
.contact-map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }
.contact-map-caption { margin: 15px 0 0; color: #53616d; font-size: 14px; }
.contact-map-caption a { color: var(--blue); font-weight: 700; }
.news-feature > .news-feature-image { height: auto; object-fit: contain; }
.scroll-tabs { overflow-x: auto; }
.scroll-tabs button { min-width: 125px; }
.application-copy p:not(.eyebrow), .news-feature-copy p { color: #46535e; font-size: 16px; line-height: 1.9; }
.application-copy .text-link { display: inline-block; margin-top: 15px; }
.news-feature-copy h3 { margin: 0 0 24px; color: var(--blue-ink); font-size: 25px; line-height: 1.4; }
.news-feature-copy p { margin: 0 0 18px; }

.service-feature-list { border-top: 1px solid rgba(255,255,255,.25); }
.service-feature { scroll-margin-top: 95px; display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.25); padding: 52px 0; }
.service-feature:nth-child(even) .service-media { order: 2; }
.service-media { height: 390px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 7px; overflow: hidden; }
.service-media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.service-media.image-count-3 img:first-child { grid-column: 1 / -1; }
.service-media.image-count-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-media.image-count-1 { display: block; }
.service-feature-copy h2 { margin: 8px 0 22px; color: #fff; font-size: clamp(26px, 2.8vw, 34px); }
.service-index { color: #aad8f5; font-size: 15px; letter-spacing: .16em; }
.service-feature-copy p { margin: 0 0 16px; color: rgba(255,255,255,.86); line-height: 1.9; }
.service-points { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; }
.service-points li { border: 1px solid rgba(255,255,255,.45); padding: 5px 11px; color: #fff; font-size: 13px; }

.footer-columns { display: grid; grid-template-columns: .8fr 1fr .8fr .9fr 1.55fr 110px; gap: 28px; align-items: start; padding: 56px 0 65px; }
.footer-column { display: flex; flex-direction: column; gap: 8px; }
.footer-column h2 { margin: 0 0 14px; color: #fff; font-size: 16px; font-weight: 600; }
.footer-column > a, .footer-contact p { margin: 0; color: rgba(255,255,255,.67); font-size: 13px; line-height: 1.7; }
.footer-column a:hover { color: #fff; }
.footer-contact { gap: 10px; }
.footer-qr { text-align: center; }
.footer-qr img { width: 108px; height: 108px; object-fit: contain; border: 5px solid #fff; }
.footer-qr span { display: block; margin-top: 8px; color: rgba(255,255,255,.68); font-size: 12px; }

@media (max-width: 960px) {
  .company-copy { padding: 34px; }
  .company-photo { min-height: 440px; }
  .footer-columns { grid-template-columns: repeat(3, 1fr); }
  .footer-contact { grid-column: span 2; }
  .service-feature { gap: 26px; }
  .culture-values dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .section { padding-block: 60px; }
  .company-intro, .featured-product, .news-home-layout, .about-profile, .application-feature, .news-feature, .service-feature, .culture-mission { grid-template-columns: 1fr; }
  .company-photo { height: auto; min-height: 0; max-height: 420px; }
  .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-service-tile { min-height: 195px; border-right: 1px solid rgba(255,255,255,.3); border-bottom: 1px solid rgba(255,255,255,.3); padding: 26px 22px; }
  .home-service-tile:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.3); }
  .home-service-tile:nth-child(even) { border-right: 0; }
  .home-service-tile:nth-last-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.3); }
  .home-service-tile:nth-last-child(-n+2) { border-bottom: 0; }
  .service-tile-heading { gap: 12px; }
  .service-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .home-service-tile h3 { font-size: 18px; }
  .featured-product-copy { padding: 26px; }
  .home-product-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .news-home-visual img { max-height: 320px; }
  .tabs-bar { overflow-x: auto; }
  .tabs-bar button { min-width: 120px; padding: 16px 18px; }
  .about-profile > img, .application-feature > img, .news-feature > img { height: auto; max-height: 400px; }
  .culture-mission { gap: 12px; padding: 30px; }
  .service-feature:nth-child(even) .service-media { order: 0; }
  .service-feature { padding-block: 36px; }
  .service-media { height: 320px; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  :root { --shell: calc(100% - 28px); }
  .company-copy { padding: 30px 24px; }
  .hero-carousel { height: auto; }
  .home-service-grid { grid-template-columns: 1fr; }
  .home-service-tile { min-height: 0; border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.3) !important; padding: 24px 12px; }
  .home-service-tile:last-child { border-bottom: 0 !important; }
  .home-product-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-product-strip img { height: 105px; }
  .product-banner img { height: auto; }
  .news-preview-panel { padding: 24px; }
  .culture-values dl { grid-template-columns: 1fr; }
  .contact-map-frame iframe { height: 320px; }
  .footer-columns { gap: 28px 20px; }
}
