:root {
    --bg: #edf1f5;
    --surface: #ffffff;
    --surface-soft: #f7f9fc;
    --surface-dark: #123154;
    --surface-dark-soft: #1a416d;
    --text: #1c2b3a;
    --muted: #667788;
    --line: #d6dee8;
    --line-strong: #b8c4d3;
    --brand: #0f3e73;
    --brand-deep: #092949;
    --accent: #b77b34;
    --accent-soft: #f0e1cc;
    --success: #0d7a58;
    --shadow: 0 8px 24px rgba(10, 32, 60, 0.08);
    --radius-lg: 10px;
    --radius-md: 8px;
    --radius-sm: 6px;
    --container: min(1180px, calc(100vw - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Microsoft YaHei UI", "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

.site-topbar {
    background: #0a2743;
    color: rgba(236, 243, 250, 0.88);
    font-size: 0.88rem;
}

.topbar-shell {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 0;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.site-header::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
}

.header-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 84px;
}

.brand-block,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    display: inline-block;
    flex: 0 0 auto;
    width: auto;
    height: 48px;
    border-radius: 6px;
}

.brand-mark .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-copy strong,
.footer-brand strong {
    font-family: Bahnschrift, "Arial Narrow", sans-serif;
    font-size: 1.08rem;
    letter-spacing: 0.06em;
}

.brand-copy small {
    color: var(--muted);
    max-width: 360px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    min-width: 220px;
    padding: 10px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
    display: none;
    z-index: 30;
}

.nav-dropdown a {
    display: block;
    padding: 9px 12px;
    border-bottom: 1px solid #eef2f6;
}

.nav-dropdown a:last-child {
    border-bottom: 0;
}

.nav-dropdown a:hover {
    color: var(--brand);
    background: var(--surface-soft);
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
    display: block;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 80px;
    padding: 0 18px;
    color: #2f4359;
    font-weight: 700;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
}

.preview-banner {
    padding: 14px 0;
    background: #fff3df;
    color: var(--brand-deep);
    border-bottom: 1px solid #ead2ad;
    font-weight: 700;
}

.hero-section,
.page-hero {
    position: relative;
    overflow: hidden;
}

.hero-section {
    background:
        linear-gradient(135deg, rgba(9, 41, 73, 0.96), rgba(15, 62, 115, 0.93)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: auto, 26px 26px, 26px 26px;
}

.page-hero {
    background: linear-gradient(180deg, #dce6f5 0%, #c8d8ed 100%);
    border-bottom: 1px solid rgba(180,195,215,0.6);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 36px;
    align-items: stretch;
    padding: 78px 0 68px;
}

.hero-copy {
    color: #f3f7fc;
}

.hero-copy h1,
.page-hero h1,
.cta-shell h2,
.section-heading h2 {
    margin: 0 0 16px;
    font-family: Bahnschrift, "Arial Narrow", sans-serif;
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 1.08;
    letter-spacing: 0.01em;
}

.page-hero .container {
    padding: 64px 0 38px;
}

.section-intro,
.section-heading p,
.hero-panel p,
.contact-card p,
.html-content p {
    color: var(--muted);
    font-size: 1rem;
}

.page-hero-note {
    max-width: 760px;
    margin-top: 12px;
}

.page-hero-note p {
    margin: 0;
    font-size: 1.04rem;
    line-height: 1.9;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.page-hero .section-intro {
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.hero-copy .section-intro {
    color: rgba(243, 247, 252, 0.82);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--accent);
    font-family: Bahnschrift, "Arial Narrow", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-copy .eyebrow,
.dark-section .eyebrow,
.cta-section .eyebrow {
    color: #f0c892;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-carousel {
    position: relative;
    height: 200px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 260ms ease;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(120deg, rgba(8, 24, 44, 0.76), rgba(15, 62, 115, 0.56));
}

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

.hero-slide-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 18px;
    color: #eef4ff;
    background: linear-gradient(180deg, rgba(8, 16, 30, 0.05), rgba(8, 16, 30, 0.72));
}

.hero-slide-overlay strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.hero-dots {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    gap: 7px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    padding: 0;
}

.hero-dot.active {
    background: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-primary {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

.btn-primary:hover {
    background: var(--brand-deep);
    border-color: var(--brand-deep);
}

.btn-secondary {
    color: var(--text);
    background: #fff;
    border-color: var(--line-strong);
}

.btn-secondary:hover {
    color: var(--brand);
    border-color: var(--brand);
}

.btn-secondary.light {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.32);
}

.hero-panel,
.feature-card,
.product-card,
.timeline-card,
.case-card,
.contact-card,
.category-block,
.detail-card,
.detail-side-card {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 26px;
    border-top: 4px solid var(--accent);
}

.hero-panel-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: baseline;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8edf3;
}

.company-copy {
    color: var(--muted);
}

.company-copy p:first-child {
    margin-top: 0;
}

.hero-panel-top span,
.card-topline small,
.case-card-header small,
.timeline-card small {
    color: var(--muted);
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.hero-card-stack {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.mini-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 16px;
    border: 1px solid #e3e9f0;
    background: var(--surface-soft);
}

.mini-card p {
    margin: 6px 0 0;
}

.mini-icon,
.card-icon,
.timeline-step {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #fff;
    background: var(--brand);
}

.mini-icon {
    position: relative;
    overflow: hidden;
}

.mini-icon::before,
.mini-icon::after {
    content: "";
    position: absolute;
}

.mini-icon-1::before {
    inset: 12px 13px;
    border: 3px solid #fff;
}

.mini-icon-1::after {
    left: 16px;
    right: 16px;
    top: 16px;
    height: 16px;
    border-top: 3px solid rgba(255, 255, 255, 0.72);
    border-bottom: 3px solid rgba(255, 255, 255, 0.72);
}

.mini-icon-2::before {
    left: 14px;
    top: 12px;
    width: 20px;
    height: 24px;
    border: 3px solid #fff;
    transform: skewX(-10deg);
}

.mini-icon-2::after {
    left: 19px;
    top: 18px;
    width: 10px;
    height: 3px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 7px 0 rgba(255, 255, 255, 0.76);
}

.mini-icon-3::before {
    left: 12px;
    top: 14px;
    width: 24px;
    height: 20px;
    border: 3px solid #fff;
}

.mini-icon-3::after {
    left: 17px;
    top: 19px;
    width: 14px;
    height: 10px;
    background:
        linear-gradient(90deg, transparent 42%, rgba(255, 255, 255, 0.76) 42%, rgba(255, 255, 255, 0.76) 58%, transparent 58%),
        linear-gradient(0deg, transparent 42%, rgba(255, 255, 255, 0.76) 42%, rgba(255, 255, 255, 0.76) 58%, transparent 58%);
}

.mini-icon-4::before {
    left: 12px;
    top: 12px;
    width: 10px;
    height: 10px;
    background: #fff;
    box-shadow: 14px 0 0 #fff, 0 14px 0 #fff, 14px 14px 0 #fff;
}

.mini-icon-4::after {
    left: 20px;
    top: 20px;
    width: 8px;
    height: 8px;
    background: var(--brand);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.stats-row.centered {
    margin-top: 0;
}

.stat-card {
    padding: 20px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
}

.stat-card strong {
    display: block;
    font-family: Bahnschrift, "Arial Narrow", sans-serif;
    font-size: 2rem;
    color: var(--brand-deep);
    line-height: 1;
}

.stat-card span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.content-section {
    padding: 38px 0 56px;
}

.section-title-bar {
    position: relative;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--line);
}

.section-title-bar::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 86px;
    height: 2px;
    background: var(--brand);
}

.section-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-left: 4px solid var(--accent);
    background: var(--surface-soft);
    color: var(--brand);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.section-title-bar.light {
    border-bottom-color: rgba(255, 255, 255, 0.16);
}

.section-title-bar.light::after {
    background: var(--accent);
}

.section-title-bar.light .section-kicker {
    background: rgba(255, 255, 255, 0.08);
    color: #f0c892;
}

.summary-section {
    background: #fff;
}

.brief-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 24px;
    align-items: start;
}

.brief-copy {
    padding: 26px 28px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
}

.brief-copy h3 {
    margin-top: 0;
    margin-bottom: 18px;
    padding-left: 12px;
    border-left: 4px solid var(--brand);
    font-size: 1.3rem;
    font-family: Bahnschrift, "Arial Narrow", sans-serif;
}

.metric-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.alt-section {
    background: #f7f9fc;
    border-top: 1px solid #e7edf4;
    border-bottom: 1px solid #e7edf4;
}

.section-heading {
    max-width: 920px;
    margin-bottom: 28px;
}

.section-heading.compact h2 {
    font-size: clamp(1.9rem, 2.8vw, 2.8rem);
}

.section-heading.light,
.dark-section .case-card,
.dark-section .case-card p,
.dark-section .case-card h3,
.dark-section .bullet-list.light-bullets li,
.cta-section,
.cta-section p,
.cta-section h2 {
    color: #eef4ff;
}

.card-grid {
    display: grid;
    gap: 20px;
}

.category-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 3px solid var(--brand);
    box-shadow: 0 10px 24px rgba(10, 32, 60, 0.08);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.category-card:hover {
    border-color: rgba(15, 62, 115, 0.32);
    box-shadow: 0 14px 30px rgba(10, 32, 60, 0.12);
}

.category-card-media {
    aspect-ratio: 16 / 11;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    background: linear-gradient(180deg, #f7f9fc 0%, #e7edf4 100%);
}

.category-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-placeholder {
    display: grid;
    place-items: center;
    padding: 20px;
}

.category-card-placeholder strong {
    font-family: Bahnschrift, "Arial Narrow", sans-serif;
    font-size: 1.45rem;
    color: var(--brand);
    letter-spacing: 0.08em;
}

.category-card-body {
    padding: 22px 22px 24px;
    min-height: 148px;
}

.category-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.category-card-head h3 {
    margin: 0;
    font-size: 1.28rem;
    font-family: Bahnschrift, "Arial Narrow", sans-serif;
}

.category-card-count {
    flex: none;
    padding: 5px 10px;
    border: 1px solid var(--line);
    background: var(--surface-soft);
    color: var(--brand);
    font-size: 0.84rem;
    line-height: 1.2;
}

.category-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--brand);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.category-card-link::after {
    content: ">";
    font-family: Bahnschrift, "Arial Narrow", sans-serif;
}

.feature-card,
.product-card,
.timeline-card,
.case-card {
    padding: 24px;
}

.product-card.detailed {
    min-height: 100%;
}

.product-card-media {
    margin: -24px -24px 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-topline,
.case-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.feature-card h3,
.product-card h3,
.timeline-card h3,
.case-card h3,
.contact-card h2,
.category-head h2 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    font-family: Bahnschrift, "Arial Narrow", sans-serif;
}

.bullet-list,
.footer-contact,
.contact-list,
.spec-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.bullet-list li,
.footer-contact li,
.contact-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    color: var(--muted);
}

.bullet-list li::before,
.footer-contact li::before,
.contact-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 7px;
    height: 7px;
    background: var(--accent);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.category-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px;
}

.filter-chip {
    padding: 8px 14px;
    border: 1px solid var(--line-strong);
    color: var(--muted);
    background: #fff;
}

.filter-chip.active {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

.card-link {
    margin-top: 16px;
}

.tag-row span {
    padding: 6px 10px;
    background: var(--accent-soft);
    color: #845522;
    font-size: 0.9rem;
}

.product-hero {
    padding-bottom: 42px;
}

.product-hero-head {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr);
    gap: 22px;
    align-items: end;
}

.product-hero-copy h1 {
    margin-bottom: 12px;
}

.product-hero-meta {
    margin: 0;
    padding: 18px 20px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: grid;
    gap: 12px;
}

.product-hero-meta li,
.meta-list li {
    display: grid;
    gap: 4px;
}

.product-hero-meta strong,
.meta-list strong {
    font-size: 0.84rem;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.product-hero-meta span,
.meta-list span {
    color: var(--text);
    line-height: 1.7;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

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

.timeline-card {
    padding-top: 28px;
}

.timeline-step {
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
}

.dark-section,
.cta-section {
    background: linear-gradient(180deg, var(--surface-dark) 0%, var(--surface-dark-soft) 100%);
}

.dark-section .section-heading p,
.dark-section .case-card p,
.bullet-list.light-bullets li,
.cta-section p {
    color: rgba(238, 244, 255, 0.78);
}

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

.case-card {
    display: flex;
    flex-direction: column;
}

.case-card p {
    color: var(--muted);
}

.case-card .card-link {
    margin-top: auto;
}

.dark-section .case-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.dark-section .case-card .card-icon {
    background: rgba(255, 255, 255, 0.14);
}

.cta-section {
    padding: 42px 0 56px;
}

.cta-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
}

.category-stack {
    display: grid;
    gap: 24px;
}

.category-block {
    padding: 28px;
}

.category-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
    gap: 26px;
    align-items: stretch;
}

.contact-column {
    display: grid;
    gap: 20px;
}

.contact-card {
    padding: 28px;
    height: 100%;
}

.highlight-card {
    background: #fff;
}

.contact-list strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
}

.contact-list span {
    display: block;
}

.contact-list a {
    display: block;
    color: var(--brand);
    text-decoration: none;
}

.contact-list a:hover {
    color: var(--brand-deep);
    text-decoration: underline;
}

.map-note {
    margin-top: 18px;
    padding: 16px 18px;
    background: var(--surface-soft);
    border-left: 4px solid var(--brand);
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line-strong);
    padding: 14px 16px;
    background: #fff;
    color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand);
}

.submit-btn {
    margin-top: 4px;
    justify-self: start;
}

.error-text {
    color: #b3403b;
    font-size: 0.88rem;
}

.success-banner {
    margin: 0 0 18px;
    padding: 14px 16px;
    color: var(--success);
    background: #edf8f3;
    border: 1px solid #cde8dc;
}

.site-footer {
    padding: 48px 0 22px;
    background: #fff;
    border-top: 3px solid var(--brand);
}

.page-hero-plain {
    background: linear-gradient(180deg, #dce6f5 0%, #c8d8ed 100%);
}

.article-shell {
    max-width: 980px;
}

.paper-article {
    border-top: 4px solid var(--brand);
}

.article-content p {
    margin: 0 0 18px;
    text-indent: 2em;
    font-size: 1.02rem;
    line-height: 1.95;
    color: #344556;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 24px;
}

.footer-grid h3 {
    margin: 0 0 14px;
    font-family: Bahnschrift, "Arial Narrow", sans-serif;
}

.footer-brand p,
.footer-html,
.footer-links a,
.footer-bottom {
    color: var(--muted);
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.78fr);
    gap: 24px;
}

.detail-card,
.detail-side-card {
    padding: 24px;
}

.detail-side-stack {
    display: grid;
    gap: 18px;
    align-self: start;
    position: sticky;
    top: 104px;
}

.detail-card.full {
    grid-column: 1 / -1;
}

.detail-card h2,
.detail-side-card h3 {
    margin-top: 0;
}

.detail-card-section + .detail-card-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.detail-section-heading {
    margin-bottom: 20px;
}

.detail-side-card h3 {
    margin-bottom: 18px;
}

.meta-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

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

.product-gallery-item {
    margin: 0;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 12px;
}

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

.gallery-card {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.gallery-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.gallery-card figcaption {
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #555;
    text-align: center;
    border-top: 1px solid var(--line);
}

/* 产品图表 — 单列大图 */
.chart-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.chart-card {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.chart-card img {
    width: 100%;
    height: auto;
    display: block;
}

.chart-card figcaption {
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #555;
    text-align: center;
    border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
    .chart-grid {
        gap: 14px;
    }
}

@media (max-width: 1040px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.product-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.product-model-list {
    display: grid;
    gap: 24px;
}

.product-model-card {
    display: grid;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
}

.product-model-title {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.product-model-title > span {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #fff;
    background: var(--brand);
    font-weight: 800;
    font-family: Bahnschrift, "Arial Narrow", sans-serif;
}

.product-model-title h3 {
    margin: 0 0 4px;
    font-size: 1.25rem;
}

.product-model-title p {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.product-model-body {
    display: grid;
    grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.product-model-body.model-body-full {
    grid-template-columns: 1fr;
}

.product-model-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.product-model-images.model-images-col {
    grid-template-columns: 1fr;
}

.product-model-images figure {
    margin: 0;
    padding: 10px;
    border: 1px solid var(--line);
    background: #fff;
}

.product-model-images img {
    width: 100%;
    height: auto;
    display: block;
}

/* 图片保护：禁止拖拽、选择 */
img {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.product-model-content {
    color: #344556;
}

.product-model-content p {
    margin: 0 0 12px;
    line-height: 1.85;
}

.product-model-content ul,
.product-model-content ol {
    margin: 0 0 14px;
    padding-left: 20px;
}

.product-model-content li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.spec-list li {
    display: grid;
    grid-template-columns: minmax(88px, 108px) minmax(0, 1fr);
    gap: 10px 14px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--line-strong);
}

.spec-list li strong {
    color: var(--muted);
}

.spec-list li span {
    color: #334154;
    line-height: 1.8;
    word-break: break-word;
}

.product-rich-content {
    color: #344556;
}

.product-rich-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: var(--radius);
}

.product-rich-content p {
    margin: 0 0 16px;
    text-indent: 0;
    line-height: 1.9;
}

.product-rich-content h3 {
    margin: 28px 0 14px;
    padding-left: 12px;
    border-left: 4px solid var(--brand);
    font-size: 1.12rem;
    line-height: 1.45;
    color: var(--text);
}

.product-rich-content ul,
.product-rich-content ol {
    margin: 0 0 18px;
    padding-left: 20px;
}

.product-rich-content li {
    margin-bottom: 10px;
    line-height: 1.85;
    color: #344556;
}

.product-rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 18px;
    font-size: 0.95rem;
    background: #fff;
}

.product-rich-content table th,
.product-rich-content table td {
    padding: 10px 12px;
    border: 1px solid var(--line);
    vertical-align: top;
}

.product-rich-content .inline-index {
    display: inline-block;
    margin-top: 10px;
    font-weight: 700;
    color: var(--brand);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    margin-bottom: 14px;
}

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

.empty-hint {
    margin-top: 24px;
    color: var(--muted);
}

@media (max-width: 1040px) {
    .hero-grid,
    .contact-layout,
    .footer-grid,
    .cta-shell,
    .brief-shell {
        grid-template-columns: 1fr;
    }

    .category-card-grid,
    .three-col,
    .case-grid,
    .timeline-grid,
    .timeline-grid-wide,
    .metric-board,
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .product-model-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    :root {
        --container: min(100vw - 28px, 100%);
    }

    .site-header {
        position: relative;
    }

    .header-shell {
        min-height: 72px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0;
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

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

    .site-nav .nav-dropdown {
        position: static;
        display: block;
        min-width: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
        padding: 0 0 0 14px;
    }

    .site-nav .nav-item,
    .site-nav .nav-item-dropdown {
        width: 100%;
    }

    .site-nav.open {
        display: flex;
    }

    .hero-grid,
    .brief-shell,
    .contact-layout,
    .footer-grid,
    .cta-shell,
    .detail-layout {
        gap: 18px;
    }

    .stats-row,
    .category-card-grid,
    .three-col,
    .case-grid,
    .timeline-grid,
    .timeline-grid-wide,
    .metric-board {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .page-hero h1,
    .cta-shell h2,
    .section-heading h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .category-head {
        flex-direction: column;
    }

    .detail-layout,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .product-hero-head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .product-hero-meta {
        display: none;
    }

    .detail-side-stack {
        position: static;
    }

    .topbar-shell {
        flex-direction: column;
        gap: 4px;
    }

    .cta-shell {
        padding: 24px;
    }

    .hero-grid {
        padding: 42px 0 38px;
    }

    .page-hero .container {
        padding: 42px 0 24px;
    }

    .content-section {
        padding: 28px 0 38px;
    }

    .hero-panel,
    .feature-card,
    .product-card,
    .timeline-card,
    .case-card,
    .contact-card,
    .category-block,
    .detail-card,
    .detail-side-card,
    .brief-copy,
    .stat-card {
        padding: 18px;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn,
    .submit-btn {
        width: 100%;
    }

    .brand-copy small {
        max-width: 220px;
    }

    .product-card-media {
        margin: -18px -18px 16px;
    }

    .product-gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --container: min(100vw - 20px, 100%);
    }

    .site-topbar {
        font-size: 0.8rem;
    }

    .topbar-shell {
        padding: 6px 0;
    }

    .brand-mark {
        height: 40px;
    }

    .brand-copy strong,
    .footer-brand strong {
        font-size: 0.96rem;
        letter-spacing: 0.03em;
    }

    .brand-copy small {
        max-width: 180px;
        font-size: 0.78rem;
    }

    .hero-copy h1,
    .page-hero h1,
    .cta-shell h2,
    .section-heading h2 {
        font-size: clamp(1.7rem, 8vw, 2.3rem);
    }

    .hero-carousel {
        height: 160px;
    }

    .hero-slide-overlay {
        padding: 12px;
    }

    .hero-panel-top,
    .category-head,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .mini-card {
        grid-template-columns: 1fr;
    }

    .mini-icon,
    .card-icon,
    .timeline-step {
        width: 42px;
        height: 42px;
    }

    .filter-chip,
    .tag-row span {
        font-size: 0.86rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px 14px;
    }

    .spec-list li {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .article-content p {
        text-indent: 0;
        font-size: 0.98rem;
        line-height: 1.85;
    }
}

@media (max-width: 480px) {
    .header-shell {
        gap: 12px;
        min-height: 66px;
    }

    .brand-block,
    .footer-brand {
        gap: 10px;
    }

    .site-nav a {
        padding: 11px 14px;
        font-size: 0.95rem;
    }

    .hero-grid {
        padding: 34px 0 30px;
    }

    .page-hero .container {
        padding: 34px 0 22px;
    }

    .section-kicker {
        font-size: 0.76rem;
        padding: 3px 8px;
    }

    .hero-panel,
    .feature-card,
    .product-card,
    .timeline-card,
    .case-card,
    .contact-card,
    .category-block,
    .detail-card,
    .detail-side-card,
    .brief-copy,
    .stat-card,
    .cta-shell {
        padding: 16px;
    }

    .btn {
        min-height: 42px;
        padding: 0 16px;
    }

    .hero-dots {
        right: 8px;
        bottom: 8px;
    }

    .product-card-media {
        margin: -16px -16px 14px;
    }
}

/* 2026 responsive standard refresh: unified B2B industrial homepage/page UI */
:root {
    --bg: #f3f6fa;
    --surface: #ffffff;
    --surface-soft: #f6f9fd;
    --surface-dark: #08243f;
    --surface-dark-soft: #103b63;
    --text: #16283b;
    --muted: #637388;
    --line: #dbe4ee;
    --line-strong: #b9c7d8;
    --brand: #0a5ea8;
    --brand-deep: #07355f;
    --accent: #e19a36;
    --accent-soft: #fff2df;
    --success: #0b7d5a;
    --shadow: 0 18px 42px rgba(10, 35, 66, 0.10);
    --shadow-soft: 0 10px 28px rgba(10, 35, 66, 0.07);
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --container: min(1200px, calc(100vw - 48px));
}

body {
    font-family: "Microsoft YaHei UI", "PingFang SC", "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at 8% -8%, rgba(90, 140, 200, 0.16), transparent 30vw),
        radial-gradient(circle at 92% 102%, rgba(100, 150, 210, 0.12), transparent 26vw),
        linear-gradient(180deg, #d3e1f2 0%, #c8d8ed 30%, #bdcfe7 70%, #b3c6e1 100%);
    color: var(--text);
}

.site-topbar {
    background: #061b31;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
}

.topbar-shell { padding: 7px 0; opacity: 0.92; }

.site-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(194, 208, 224, 0.72);
    box-shadow: 0 8px 28px rgba(8, 31, 56, 0.06);
    backdrop-filter: blur(16px);
}

.site-header::before {
    height: 3px;
    background: linear-gradient(90deg, var(--brand-deep), var(--brand) 42%, var(--accent));
}

.header-shell { min-height: 78px; }

.brand-mark {
    height: 46px;
    border-radius: 13px;
    box-shadow: 0 12px 24px rgba(10, 94, 168, 0.22);
}

.brand-copy strong,
.footer-brand strong {
    font-family: "Microsoft YaHei UI", "Segoe UI", sans-serif;
    font-size: 1.12rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.brand-copy small { font-size: 0.82rem; color: #6f7d8c; }

.site-nav { gap: 4px; }
.site-nav a {
    min-height: 54px;
    margin: 0 2px;
    padding: 0 15px;
    border-radius: 999px;
    color: #24394f;
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}
.site-nav a:hover,
.site-nav a.active {
    color: var(--brand);
    background: rgba(10, 94, 168, 0.08);
}
.nav-dropdown {
    top: calc(100% + 12px);
    border: 1px solid rgba(192, 206, 222, 0.86);
    border-radius: 16px;
    box-shadow: 0 22px 46px rgba(8, 31, 56, 0.15);
    overflow: hidden;
}
.nav-dropdown a { border-radius: 10px; min-height: 0; }

.hero-section {
    isolation: isolate;
    background:
        radial-gradient(circle at 74% 28%, rgba(225, 154, 54, 0.30), transparent 18vw),
        radial-gradient(circle at 90% 86%, rgba(66, 153, 225, 0.22), transparent 25vw),
        linear-gradient(135deg, #061c33 0%, #0a3d68 48%, #0d5d98 100%);
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.72) 58%, transparent 100%);
}
.hero-section.has-bg-img::before { opacity: 0.22; }
.hero-section.has-bg-img::after { opacity: 0.18; }
.hero-section::after {
    content: "";
    position: absolute;
    right: max(24px, calc((100vw - 1200px) / 2));
    bottom: 36px;
    width: min(32vw, 390px);
    aspect-ratio: 1.28;
    z-index: -1;
    border-radius: 30px;
    background:
        radial-gradient(circle at 22% 18%, rgba(255,255,255,0.24), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03)),
        linear-gradient(145deg, rgba(116,168,214,0.24), rgba(9,67,118,0.36));
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow:
        0 22px 56px rgba(3, 16, 33, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.14);
    backdrop-filter: blur(6px);
    transform: rotate(-4deg);
    opacity: 0.72;
}
.hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(350px, 0.76fr);
    gap: clamp(28px, 5vw, 70px);
    padding: clamp(72px, 8vw, 116px) 0 clamp(62px, 7vw, 96px);
    align-items: center;
}
.hero-copy { max-width: 760px; }
.hero-copy h1,
.page-hero h1,
.cta-shell h2,
.section-heading h2 {
    font-family: "Microsoft YaHei UI", "Segoe UI", sans-serif;
    font-weight: 900;
    letter-spacing: -0.035em;
}
.hero-copy h1 {
    margin-bottom: 20px;
    font-size: clamp(2.55rem, 5vw, 5.25rem);
    line-height: 1.04;
    text-wrap: balance;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.35);
}
.hero-copy .section-intro {
    max-width: 660px;
    color: #ffffff;
    font-size: clamp(1.02rem, 1.28vw, 1.18rem);
    line-height: 1.9;
    font-weight: 600;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
}
.eyebrow { display: none; }
.hero-actions { gap: 14px; margin-top: 32px; }
.btn {
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 900;
    box-shadow: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #f4b35c);
    border-color: transparent;
    color: #102033;
    box-shadow: 0 14px 30px rgba(225,154,54,0.25);
}
.btn-primary:hover { background: linear-gradient(135deg, #f0a84a, #ffd08b); color: #061b31; }
.btn-secondary {
    background: #fff;
    border-color: rgba(185,199,216,0.9);
    color: var(--brand-deep);
}
.btn-secondary.light {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.26);
    color: #fff;
    backdrop-filter: blur(10px);
}
.btn-secondary.light {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.26);
    color: #fff;
    backdrop-filter: blur(10px);
    box-shadow: none;
}
.btn-secondary.light:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.hero-panel,
.feature-card,
.product-card,
.timeline-card,
.case-card,
.contact-card,
.category-block,
.detail-card,
.detail-side-card,
.brief-copy,
.stat-card,
.product-model-card,
.product-gallery-item,
.product-hero-meta {
    border: 1px solid rgba(197, 210, 226, 0.82);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}
.hero-panel {
    padding: clamp(24px, 3vw, 34px);
    border-top: 0;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 28px 70px rgba(0,0,0,0.22);
}
.hero-panel-top {
    border-bottom-color: rgba(217,226,236,0.9);
}
.hero-panel-top strong { color: var(--brand-deep); font-size: 1.2rem; }
.mini-card {
    border: 1px solid rgba(215,225,237,0.96);
    border-radius: 15px;
    background: linear-gradient(180deg, #fff, #f7faff);
}
.mini-icon,
.card-icon,
.timeline-step {
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), var(--brand-deep));
    box-shadow: 0 12px 22px rgba(10,94,168,0.18);
}

.content-section { padding: clamp(48px, 6vw, 82px) 0; }
.summary-section { background: rgba(255,255,255,0.72); }
.alt-section {
    background:
        radial-gradient(circle at 20% 50%, rgba(10,94,168,0.04), transparent 40vw),
        radial-gradient(circle at 85% 30%, rgba(183,123,52,0.04), transparent 36vw),
        linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%);
}
.section-heading { margin-bottom: 34px; }
.section-title-bar {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(196,210,226,0.86);
}
.section-title-bar::after {
    width: 120px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
}
.section-kicker {
    margin-bottom: 12px;
    border-left: 0;
    border-radius: 999px;
    background: rgba(10, 94, 168, 0.08);
    color: var(--brand);
    font-size: 0.78rem;
}
.section-heading h2 { color: var(--brand-deep); line-height: 1.16; }
.section-heading p { max-width: 760px; font-size: 1.02rem; line-height: 1.9; }

.brief-shell { gap: 28px; }
.brief-copy { padding: clamp(24px, 3vw, 34px); }
.metric-board { gap: 18px; }
.stat-card {
    position: relative;
    overflow: hidden;
    padding: 26px;
    background: linear-gradient(180deg, #fff, #f7fbff);
}
.stat-card::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -44px;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: rgba(10,94,168,0.08);
}
.stat-card strong { color: var(--brand); font-size: 2.25rem; }

.card-grid,
.case-grid,
.timeline-grid,
.product-model-list { gap: 24px; }
.category-card,
.product-card,
.case-card,
.timeline-card {
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.category-card {
    border-top: 0;
    border-radius: var(--radius-lg);
    border-color: rgba(197, 210, 226, 0.82);
    box-shadow: var(--shadow-soft);
}
.category-card:hover,
.product-card:hover,
.case-card:hover,
.timeline-card:hover {
    transform: translateY(-4px);
    border-color: rgba(10,94,168,0.26);
    box-shadow: var(--shadow);
}
.category-card-media,
.product-card-media {
    background:
        radial-gradient(circle at 24% 22%, rgba(225,154,54,0.20), transparent 32%),
        linear-gradient(135deg, #eef5fc, #dce9f6);
}
.category-card-body { padding: 22px; min-height: 134px; }
.category-card-head h3,
.product-card h3,
.case-card h3,
.timeline-card h3,
.contact-card h2,
.category-head h2 { color: var(--brand-deep); font-weight: 900; }
.category-card-count,
.tag-row span,
.filter-chip {
    border-radius: 999px;
}
.category-card-link::after { content: "→"; }
.product-card,
.case-card,
.timeline-card { padding: 26px; }
.product-card-media { border-radius: 16px 16px 0 0; }
.tag-row span { background: var(--accent-soft); color: #89531b; font-weight: 800; }
.filter-chip { padding: 9px 16px; background: #fff; font-weight: 800; }
.filter-chip.active { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); }

.dark-section,
.cta-section {
    background:
        radial-gradient(circle at 88% 16%, rgba(225,154,54,0.25), transparent 24vw),
        linear-gradient(135deg, var(--surface-dark), var(--surface-dark-soft));
}
.dark-section .case-card { border-radius: var(--radius-lg); backdrop-filter: blur(12px); }
.cta-shell {
    border-radius: 26px;
    background: rgba(255,255,255,0.07);
    box-shadow: 0 22px 56px rgba(0,0,0,0.16);
}

.page-hero,
.page-hero-plain {
    background:
        radial-gradient(circle at 82% 20%, rgba(80, 130, 200, 0.18), transparent 24vw),
        linear-gradient(180deg, #dce6f5 0%, #c8d8ed 40%, #bdcfe7 100%);
}
.page-hero .container { padding: clamp(54px, 6vw, 86px) 0 clamp(30px, 4vw, 48px); }
.page-hero h1 { color: var(--brand-deep); font-size: clamp(2.3rem, 4vw, 4.4rem); text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3); }
.page-hero .eyebrow { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4); }
.back-link {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--brand);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    text-decoration: none;
    transition: all 0.2s;
}
.back-link:hover { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 6px 28px rgba(15,62,115,0.28); }
.page-hero .section-intro,
.page-hero-note { max-width: 820px; }
.detail-layout { gap: 28px; }
.detail-card,
.detail-side-card,
.contact-card,
.category-block { background: rgba(255,255,255,0.94); }
.detail-card,
.detail-side-card,
.contact-card,
.category-block { background: rgba(255,255,255,0.94); }
.detail-card { padding: clamp(24px, 3vw, 36px); }
.detail-side-card { padding: 24px; }
.product-hero-meta { border-top: 3px solid var(--accent); }
.product-model-card { padding: 24px; }
.product-model-title > span { border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); }
.product-model-images figure,
.product-gallery-item { border-radius: 16px; }
.contact-layout { gap: 28px; }
.contact-list li::before,
.bullet-list li::before,
.footer-contact li::before { border-radius: 50%; }
.contact-form input,
.contact-form textarea {
    border-radius: 14px;
    border-color: rgba(185,199,216,0.9);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}
.contact-form input:focus,
.contact-form textarea:focus { box-shadow: 0 0 0 4px rgba(10,94,168,0.10); }

.site-footer {
    background: #071d33;
    border-top: 0;
    color: #eef5ff;
}
.footer-brand p,
.footer-html,
.footer-links a,
.footer-bottom { color: rgba(238,245,255,0.72); }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top-color: rgba(255,255,255,0.12); }

.empty-hint {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px dashed var(--line-strong);
    text-align: center;
}

/* Visual QA fixes: keep company mini cards aligned, upright, and inside the panel. */
.hero-panel {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: visible;
}

.hero-card-stack {
    gap: 20px;
}

.mini-card {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    min-width: 0;
    max-width: 100%;
    padding: 24px 28px;
    border-radius: 24px;
    box-sizing: border-box;
    overflow: hidden;
}

.mini-card > div:not(.mini-icon) {
    min-width: 0;
}

.mini-card strong {
    display: block;
    margin: 0 0 10px;
    color: #061f3c;
    font-size: clamp(1.18rem, 1.35vw, 1.42rem);
    line-height: 1.25;
    font-weight: 900;
    word-break: normal;
    overflow-wrap: break-word;
}

.mini-card p {
    margin: 0;
    color: #5c7088;
    font-size: clamp(1rem, 1.16vw, 1.16rem);
    line-height: 1.68;
    word-break: normal;
    overflow-wrap: break-word;
    white-space: normal;
}

.mini-icon[class*="mini-icon-"] {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    font-size: 0;
    line-height: 0;
    flex: 0 0 72px;
}

.mini-icon-1::before {
    inset: 18px 22px 17px;
    border: 3px solid #fff;
}

.mini-icon-1::after {
    left: 25px;
    right: 25px;
    top: 25px;
    height: 18px;
    border-top: 3px solid rgba(255, 255, 255, 0.72);
    border-bottom: 3px solid rgba(255, 255, 255, 0.72);
}

.mini-icon-2::before {
    left: 22px;
    top: 18px;
    width: 26px;
    height: 36px;
    border: 3px solid #fff;
    transform: none;
}

.mini-icon-2::after {
    left: 29px;
    top: 28px;
    width: 16px;
    height: 3px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 9px 0 rgba(255, 255, 255, 0.76);
}

.mini-icon-3::before {
    left: 18px;
    top: 20px;
    width: 36px;
    height: 30px;
    border: 3px solid #fff;
}

.mini-icon-3::after {
    left: 28px;
    top: 28px;
    width: 16px;
    height: 16px;
    background:
        linear-gradient(90deg, transparent 42%, rgba(255, 255, 255, 0.84) 42%, rgba(255, 255, 255, 0.84) 58%, transparent 58%),
        linear-gradient(0deg, transparent 42%, rgba(255, 255, 255, 0.84) 42%, rgba(255, 255, 255, 0.84) 58%, transparent 58%);
}

.site-footer .footer-grid {
    grid-template-columns: minmax(260px, 0.9fr) minmax(140px, 0.45fr) minmax(520px, 1.65fr);
    align-items: start;
}

.site-footer .footer-html,
.site-footer .footer-html p {
    max-width: none;
    font-size: clamp(1rem, 1.55vw, 1.16rem);
    line-height: 1.85;
    word-break: keep-all;
    overflow-wrap: normal;
}

.site-footer .footer-html p {
    margin: 0 0 12px;
}

@media (max-width: 980px) {
    .site-footer .footer-grid {
        grid-template-columns: minmax(0, 1fr) minmax(160px, 0.45fr);
    }

    .site-footer .footer-grid > div:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .mini-card {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 16px;
        padding: 20px;
        border-radius: 20px;
    }

    .mini-icon[class*="mini-icon-"] {
        width: 58px;
        height: 58px;
        border-radius: 18px;
        flex-basis: 58px;
    }

    .mini-card strong,
    .mini-card p,
    .site-footer .footer-html,
    .site-footer .footer-html p {
        word-break: normal;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 1040px) {
    :root { --container: min(100vw - 36px, 100%); }
    

.hero-section::after { opacity: 0.34; width: 46vw; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-panel { max-width: 760px; }
    .site-nav a { padding: 0 11px; }
}

@media (max-width: 820px) {
    .site-topbar { display: none; }
    .header-shell { min-height: 70px; }
    .menu-toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #fff;
    }
    .site-nav {
        top: 74px;
        left: 18px;
        right: 18px;
        width: auto;
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: 0 20px 44px rgba(8,31,56,0.16);
        overflow: hidden;
    }
    .site-nav a {
        width: 100%;
        min-height: 46px;
        margin: 0;
        border-radius: 0;
    }
    

.hero-section::after { display: none; }
    .hero-grid { padding: 52px 0 48px; }
    .hero-copy h1 { font-size: clamp(2.15rem, 9vw, 3.8rem); }
    .hero-panel-top { align-items: flex-start; }
    .category-card-grid,
    .three-col,
    .case-grid,
    .timeline-grid,
    .timeline-grid-wide,
    .metric-board,
    .news-grid { grid-template-columns: 1fr; }
    .cta-shell { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
    :root { --container: min(100vw - 24px, 100%); }
    .brand-mark { height: 38px; border-radius: 12px; }
    .brand-copy small { display: none; }
    .hero-copy h1,
    .page-hero h1,
    .cta-shell h2,
    .section-heading h2 { letter-spacing: -0.025em; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .btn { width: 100%; min-height: 46px; }
    .hero-panel,
    .feature-card,
    .product-card,
    .timeline-card,
    .case-card,
    .contact-card,
    .category-block,
    .detail-card,
    .detail-side-card,
    .brief-copy,
    .stat-card,
    .product-model-card { border-radius: 16px; }
    .content-section { padding: 38px 0; }
    .page-hero .container { padding: 42px 0 26px; }
    .section-title-bar::after { width: 86px; }
    .footer-grid { gap: 30px; }
}

/* Refresh fixes: robust media placeholders and dark-section heading contrast */
.dark-section .section-heading h2,
.dark-section .section-title-bar h2,
.dark-section .section-heading p,
.cta-section h2,
.cta-section p {
    color: #eef6ff;
}
.dark-section .section-kicker,
.cta-section .section-kicker {
    background: rgba(255,255,255,0.10);
    color: #f5b24f;
}
.category-card-media.media-fallback,
.product-card-media.media-fallback {
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
}
.category-card-media.media-fallback strong,
.product-card-media.media-fallback strong {
    color: var(--brand);
    font-size: clamp(1.18rem, 2vw, 1.7rem);
    line-height: 1.25;
    font-weight: 900;
}
.product-card-media.media-fallback {
    margin: -26px -26px 18px;
}
@media (max-width: 820px) {
    .product-card-media.media-fallback { margin: -18px -18px 16px; }
}
@media (max-width: 480px) {
    .product-card-media.media-fallback { margin: -16px -16px 14px; }
}

/* Product media fit fix: show complete product photos instead of cropping or over-stretching */
.category-card-media,
.product-card-media {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.96), rgba(245, 249, 253, 0.92) 46%, rgba(227, 238, 249, 0.86) 100%),
        linear-gradient(135deg, #f8fbff, #e7f0f9);
}

.category-card-media img,
.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 12px;
}

.product-card-media img {
    padding: 14px 18px;
}

.category-card-media img {
    padding: 10px 14px;
}

.product-gallery-item,
.product-model-images figure {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 45%, #fff 0%, #fff 42%, #f5f8fc 100%);
}

.product-gallery-item img,
.product-model-images img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: min(68vh, 720px);
    object-fit: contain;
    object-position: center;
}

.product-model-images figure {
    min-height: 280px;
    max-height: min(72vh, 760px);
    overflow: hidden;
}

.product-model-body {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
}

@media (max-width: 820px) {
    .category-card-media img,
    .product-card-media img {
        padding: 10px;
    }

    .product-model-images figure {
        min-height: 220px;
        max-height: 62vh;
    }

    .product-gallery-item img,
    .product-model-images img {
        max-height: 58vh;
    }
}

/* Product thumbnails: dynamic canvas by real image orientation, never crop */
.category-card-media,
.product-card-media {
    height: auto !important;
    min-height: 0;
    overflow: hidden;
}

.category-card-media.media-landscape,
.product-card-media.media-landscape {
    aspect-ratio: 16 / 9 !important;
}

.category-card-media.media-square,
.product-card-media.media-square {
    aspect-ratio: 1 / 1 !important;
}

.category-card-media.media-portrait,
.product-card-media.media-portrait {
    aspect-ratio: 4 / 5 !important;
}

.category-card-media img,
.product-card-media img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: calc(100% - 28px) !important;
    max-height: calc(100% - 28px) !important;
    object-fit: contain !important;
    object-position: center center !important;
    padding: 0 !important;
    margin: auto !important;
}

.product-card-media.media-portrait img,
.category-card-media.media-portrait img {
    max-width: calc(100% - 36px) !important;
    max-height: calc(100% - 24px) !important;
}

.product-card-media.media-landscape img,
.category-card-media.media-landscape img {
    max-width: calc(100% - 24px) !important;
    max-height: calc(100% - 36px) !important;
}

@media (min-width: 821px) {
    .three-col .product-card-media.media-portrait {
        aspect-ratio: 3 / 4 !important;
    }
}

@media (max-width: 640px) {
    .category-card-media.media-portrait,
    .product-card-media.media-portrait {
        aspect-ratio: 4 / 5 !important;
    }

    .category-card-media img,
    .product-card-media img {
        max-width: calc(100% - 20px) !important;
        max-height: calc(100% - 20px) !important;
    }
}

/* Final thumbnail rule: one simple contain strategy for every uploaded product image */
.category-card-media,
.product-card-media {
    display: block !important;
    overflow: hidden !important;
    background: #f4f8fc !important;
}

.category-card-media {
    aspect-ratio: 16 / 11 !important;
}

.product-card-media {
    aspect-ratio: 16 / 10 !important;
}

.category-card-media img,
.product-card-media img,
.category-card-media.media-landscape img,
.category-card-media.media-portrait img,
.category-card-media.media-square img,
.product-card-media.media-landscape img,
.product-card-media.media-portrait img,
.product-card-media.media-square img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
}

/* Nav dropdown hover bridge: keep menu open while moving from nav item to panel */
@media (min-width: 821px) {
    .nav-item-dropdown::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 14px;
        z-index: 29;
        background: transparent;
    }

    .nav-item-dropdown .nav-dropdown {
        top: calc(100% + 10px);
    }
}
