/* ===================================================================
   益合谦电力金具主题 —— 晨雾蓝 · 浅雅商务
   配色：白底 + 浅蓝灰渐变背景块，主蓝 #2E6CA8，深蓝标题 #17324F
   =================================================================== */

:root {
    /* 晨雾蓝色板 */
    --blue-900: #17324f;   /* 标题深蓝 */
    --blue-700: #1e4468;   /* 深色块渐变端 */
    --blue-600: #24568a;   /* hover 加深 */
    --blue-500: #2e6ca8;   /* 主蓝 */
    --blue-400: #4a83bd;   /* 渐变辅助 */
    --blue-100: #d9e6f4;   /* 冰蓝描边 */
    --blue-50:  #eaf1f8;   /* 浅蓝背景 */
    --bg-soft:  #f5f8fc;   /* 渐变浅端 */

    --ink:       #17324f;  /* 标题 */
    --text:      #3c4a5c;  /* 正文 */
    --text-soft: #6b7f95;  /* 次要文字 */

    --white: #ffffff;

    --shadow-sm: 0 6px 18px rgba(23, 50, 79, 0.07);
    --shadow-md: 0 16px 38px rgba(23, 50, 79, 0.1);
    --shadow-lg: 0 24px 60px rgba(23, 50, 79, 0.14);

    --radius: 14px;
    --radius-sm: 10px;

    /* 兼容旧类名 */
    --gray-950: var(--blue-900);
    --gray-700: var(--text);
    --gray-300: var(--blue-100);
    --gray-100: var(--bg-soft);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    background: var(--white);
    overflow-x: clip;
}

h1, h2, h3, h4 {
    color: var(--ink);
    line-height: 1.22;
}

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

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

/* ------------------------------------------------ 通用小元素 */

.eyebrow {
    margin: 0 0 12px;
    color: var(--blue-500);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section {
    padding: 88px 0;
}

.section-tinted {
    background: linear-gradient(180deg, var(--bg-soft) 0%, #eef4fa 100%);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 40px;
    text-align: center;
}

.section-heading h2,
.feature-intro h2,
.split-grid h2,
.export-box h2 {
    margin: 0;
    font-size: clamp(28px, 3.6vw, 40px);
    line-height: 1.2;
}

.section-heading p:last-child,
.feature-intro p,
.split-grid p,
.export-box p {
    color: var(--text-soft);
}

/* ------------------------------------------------ 按钮 */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    box-shadow: 0 10px 24px rgba(46, 108, 168, 0.32);
}

.btn-primary:hover {
    box-shadow: 0 14px 30px rgba(46, 108, 168, 0.42);
}

.btn-ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    color: var(--blue-600);
    border-color: var(--blue-100);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    border-color: transparent;
    box-shadow: 0 12px 26px rgba(46, 108, 168, 0.32);
}

.btn-invert {
    color: var(--blue-600);
    background: var(--white);
    box-shadow: 0 12px 28px rgba(9, 24, 42, 0.28);
}

/* ------------------------------------------------ 顶部信息条 */

.topbar {
    background: linear-gradient(90deg, var(--blue-50), var(--bg-soft));
    border-bottom: 1px solid rgba(217, 230, 244, 0.7);
    font-size: 13px;
    color: #33506f;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 40px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 语言切换器（下拉） */
.lang-switcher {
    position: relative;
    color: #33506f;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

.lang-switcher summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    list-style: none;
    color: #33506f;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(217, 230, 244, 0.9);
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-switcher summary::-webkit-details-marker {
    display: none;
}

.lang-switcher summary:hover {
    color: var(--blue-500);
    border-color: var(--blue-400);
}

.lang-switcher[open] summary {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    border-color: transparent;
}

.lang-chevron {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.lang-switcher[open] .lang-chevron {
    transform: rotate(180deg);
}

.lang-list {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 80;
    display: grid;
    gap: 2px;
    min-width: 130px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--white);
    border: 1px solid rgba(217, 230, 244, 0.9);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.lang-item {
    display: block;
    padding: 7px 12px;
    color: #33506f;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    transition: color 0.15s ease, background 0.15s ease;
}

.lang-item:hover {
    color: var(--blue-500);
    background: var(--blue-50);
}

.lang-item.is-current {
    color: var(--blue-600);
    background: var(--blue-50);
    font-weight: 700;
}

.topbar-tagline {
    margin: 0;
    letter-spacing: 0.02em;
}

.topbar-contacts {
    display: flex;
    gap: 22px;
}

.topbar-contacts a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.topbar-contacts a:hover {
    color: var(--blue-500);
}

.topbar-contacts svg,
.floating-item svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

/* ------------------------------------------------ 主导航 */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(217, 230, 244, 0.8);
    backdrop-filter: blur(14px);
    transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 30px rgba(23, 50, 79, 0.08);
}

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

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--blue-900);
}

.brand-logo {
    display: block;
    width: 44px;
    height: 52px;
    object-fit: contain;
    object-position: center;
    flex: 0 0 auto;
}

.site-brand strong,
.site-brand small {
    display: block;
}

.site-brand strong {
    font-size: 17px;
    letter-spacing: -0.01em;
}

.site-brand small {
    color: var(--text-soft);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.primary-nav {
    display: flex;
    align-items: center;
}

.site-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-menu a {
    position: relative;
    display: block;
    padding: 10px 15px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 650;
    border-radius: 8px;
    transition: color 0.2s ease;
}

.site-menu a::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 4px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-menu a:hover,
.site-menu .current-menu-item > a,
.site-menu .current_page_item > a {
    color: var(--blue-500);
}

.site-menu a:hover::after,
.site-menu .current-menu-item > a::after,
.site-menu .current_page_item > a::after {
    opacity: 1;
    transform: scaleX(1);
}

.header-cta {
    min-height: 42px;
    padding: 9px 20px;
    font-size: 14px;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--blue-100);
    background: var(--white);
    border-radius: 8px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--blue-900);
    border-radius: 2px;
}

/* ------------------------------------------------ 首页轮播 */

.hero-carousel {
    position: relative;
    height: clamp(560px, 82vh, 700px);
    overflow: hidden;
    background: var(--blue-700);
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity 0.8s ease, transform 1.4s ease, visibility 0s linear 0.8s;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
    pointer-events: auto;
}

/* 三张 slide 的柔渐变背景（径向光晕 + 线性渐变，避免纯色感） */
.hero-slide--powerline {
    background:
        radial-gradient(90% 120% at 88% 12%, rgba(122, 178, 232, 0.4) 0%, rgba(122, 178, 232, 0) 55%),
        radial-gradient(60% 80% at 8% 95%, rgba(74, 131, 189, 0.35) 0%, rgba(74, 131, 189, 0) 60%),
        linear-gradient(115deg, #1b3a5e 0%, #27538a 58%, #2e6ca8 100%);
}

.hero-slide--oem {
    background:
        radial-gradient(85% 110% at 12% 8%, rgba(122, 178, 232, 0.32) 0%, rgba(122, 178, 232, 0) 55%),
        radial-gradient(70% 90% at 92% 90%, rgba(46, 108, 168, 0.55) 0%, rgba(46, 108, 168, 0) 62%),
        linear-gradient(115deg, #1e4468 0%, #2e6ca8 100%);
}

.hero-slide--export {
    background:
        radial-gradient(80% 100% at 90% 85%, rgba(122, 178, 232, 0.35) 0%, rgba(122, 178, 232, 0) 58%),
        linear-gradient(115deg, #17324f 0%, #245582 62%, #2e6ca8 100%);
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 660px;
}

.hero-copy h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(34px, 4.8vw, 58px);
    line-height: 1.1;
    letter-spacing: -0.015em;
}

.hero-copy .eyebrow {
    color: #a8c8e8;
}

.hero-subtitle {
    max-width: 560px;
    margin: 22px 0 0;
    color: #d5e3f2;
    font-size: clamp(16px, 1.6vw, 19px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

/* 右侧装饰线稿 */
.hero-art {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(46%, 620px);
    color: rgba(255, 255, 255, 0.34);
    pointer-events: none;
}

.hero-art svg {
    width: 100%;
    height: 100%;
    -webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 34%);
    mask-image: linear-gradient(100deg, transparent 0%, #000 34%);
}

.hero-slide--oem .hero-art,
.hero-slide--export .hero-art {
    color: rgba(255, 255, 255, 0.3);
}

/* 箭头 */
.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: scale(1.06);
}

.hero-arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-arrow--prev { left: 26px; }
.hero-arrow--next { right: 26px; }

/* 圆点指示器（桌面端上移，给下方悬浮数据条让位） */
.hero-dots {
    position: absolute;
    bottom: 96px;
    left: 50%;
    z-index: 3;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    background: rgba(255, 255, 255, 0.42);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot.is-active {
    width: 26px;
    background: var(--white);
}

/* ------------------------------------------------ 数据条 */

.stats-band {
    position: relative;
    z-index: 5;
    margin-top: -64px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 30px 12px;
    background: var(--white);
    border: 1px solid rgba(217, 230, 244, 0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.stat {
    display: grid;
    gap: 2px;
    justify-items: center;
    padding: 8px 18px;
    text-align: center;
}

.stat + .stat {
    border-left: 1px solid rgba(217, 230, 244, 0.9);
}

.stat strong {
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, var(--blue-500), var(--blue-900));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--blue-500);
}

.stat > span:last-child {
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 600;
}

/* ------------------------------------------------ 产品品类 Tab + 网格 */

.product-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
}

.product-tab {
    padding: 10px 18px;
    color: var(--blue-600);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    background: var(--white);
    border: 1px solid var(--blue-100);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.product-tab:hover {
    color: var(--white);
    background: var(--blue-400);
    border-color: var(--blue-400);
}

.product-tab.is-active {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(46, 108, 168, 0.3);
}

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

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(217, 230, 244, 0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(46, 108, 168, 0.35);
    box-shadow: var(--shadow-md);
}

.product-card.is-hidden {
    display: none;
}

.product-image {
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #f2f7fc 0%, #e4edf6 100%);
}

.product-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
    padding: 20px 22px 22px;
}

.product-body h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.3;
}

.product-body p {
    margin: 0;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.65;
}

.product-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
    color: var(--blue-500);
    font-size: 14px;
    font-weight: 700;
}

.product-more span {
    transition: transform 0.25s ease;
}

.product-more:hover span {
    transform: translateX(4px);
}

.center-action {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

/* ------------------------------------------------ 工厂实力 */

.feature-grid,
.split-grid,
.about-grid,
.contact-grid,
.export-box {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 52px;
    align-items: center;
}

/* About 左栏后台正文排版 */
.about-intro h2 {
    margin: 0 0 16px;
    font-size: 26px;
}

.about-intro p {
    margin: 0 0 14px;
}

.feature-list {
    display: grid;
    gap: 16px;
}

.feature-item {
    display: flex;
    gap: 18px;
    padding: 24px 26px;
    background: var(--white);
    border: 1px solid rgba(217, 230, 244, 0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    color: var(--blue-500);
    background: linear-gradient(135deg, var(--blue-50), #e0ecf7);
    border-radius: 13px;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-item h3 {
    margin: 0 0 4px;
    font-size: 17px;
}

.feature-item p {
    margin: 0;
    color: var(--text-soft);
    font-size: 14.5px;
}

/* ------------------------------------------------ 质检 + 应用场景 */

.quality-side {
    display: grid;
    gap: 22px;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.check-list p {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
    min-height: 64px;
    padding: 14px 16px 14px 46px;
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 700;
    background: var(--white);
    border: 1px solid rgba(217, 230, 244, 0.9);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.check-list p::before {
    content: "✓";
    position: absolute;
    left: 15px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    color: var(--white);
    font-size: 12px;
    background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
    border-radius: 50%;
}

.application-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.application-chips span {
    padding: 9px 16px;
    color: var(--blue-600);
    font-size: 13.5px;
    font-weight: 700;
    background: var(--blue-50);
    border: 1px solid rgba(217, 230, 244, 0.9);
    border-radius: 999px;
}

/* ------------------------------------------------ 新闻动态 */

.section-heading--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    max-width: none;
    margin-bottom: 34px;
    text-align: left;
}

.section-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 6px;
    color: var(--blue-500);
    font-weight: 700;
    white-space: nowrap;
}

.section-more span {
    transition: transform 0.25s ease;
}

.section-more:hover span {
    transform: translateX(4px);
}

.news-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 24px;
    align-items: stretch;
}

.news-featured {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(217, 230, 244, 0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-featured:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.news-featured-image {
    position: relative;
    display: block;
    min-height: 280px;
    background:
        radial-gradient(120% 130% at 15% 0%, rgba(122, 178, 232, 0.5) 0%, rgba(122, 178, 232, 0) 55%),
        linear-gradient(135deg, #27538a 0%, #2e6ca8 55%, #4a83bd 100%);
}

.news-featured-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-featured--placeholder .news-featured-image {
    display: grid;
    place-items: center;
}

.news-featured--placeholder .news-featured-image svg {
    width: 72px;
    height: 72px;
    fill: none;
    stroke: rgba(255, 255, 255, 0.85);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.news-date-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: grid;
    justify-items: center;
    gap: 1px;
    padding: 10px 14px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.news-date-badge strong {
    color: var(--blue-500);
    font-size: 24px;
    line-height: 1;
}

.news-date-badge small {
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 700;
}

.news-featured-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 24px 26px 26px;
}

.news-featured-body h3 {
    margin: 0;
    font-size: 21px;
    line-height: 1.35;
}

.news-featured-body h3 a {
    transition: color 0.2s ease;
}

.news-featured-body h3 a:hover {
    color: var(--blue-500);
}

.news-featured-body p {
    margin: 0;
    color: var(--text-soft);
    font-size: 14.5px;
}

.news-meta {
    margin-top: auto;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
}

.news-list {
    display: grid;
    gap: 14px;
    align-content: start;
}

.news-item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    background: var(--white);
    border: 1px solid rgba(217, 230, 244, 0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.news-item:hover {
    transform: translateY(-3px);
    border-color: rgba(46, 108, 168, 0.35);
    box-shadow: var(--shadow-md);
}

.news-date {
    display: grid;
    justify-items: center;
    gap: 1px;
    padding: 10px 6px;
    background: var(--blue-50);
    border-radius: 10px;
}

.news-date strong {
    color: var(--blue-500);
    font-size: 26px;
    line-height: 1;
}

.news-date small {
    color: var(--text-soft);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.news-item-text {
    display: grid;
    gap: 3px;
}

.news-item-text strong {
    color: var(--ink);
    font-size: 15.5px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.news-item:hover .news-item-text strong {
    color: var(--blue-500);
}

.news-item-text small {
    color: var(--text-soft);
    font-size: 13.5px;
    line-height: 1.55;
}

/* ------------------------------------------------ CTA 横条 */

.export-box {
    padding: 46px 52px;
    color: var(--white);
    background:
        radial-gradient(90% 160% at 90% 10%, rgba(122, 178, 232, 0.35) 0%, rgba(122, 178, 232, 0) 55%),
        linear-gradient(115deg, var(--blue-900) 0%, var(--blue-700) 48%, #2a6496 100%);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
}

.export-box h2,
.export-box p {
    color: var(--white);
}

.export-box .eyebrow {
    color: #a8c8e8;
}

.export-box .btn {
    justify-self: center;
}

/* ------------------------------------------------ 子页头 */

.page-hero {
    position: relative;
    padding: 84px 0 76px;
    background:
        radial-gradient(70% 120% at 90% 0%, rgba(74, 131, 189, 0.16) 0%, rgba(74, 131, 189, 0) 55%),
        linear-gradient(180deg, #e7f0f8 0%, #f8fbfe 100%);
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -140px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(46, 108, 168, 0.12) 0%, rgba(46, 108, 168, 0) 70%);
    border-radius: 50%;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(32px, 4.4vw, 48px);
}

.page-hero p:not(.eyebrow) {
    max-width: 720px;
    margin: 16px 0 0;
    color: var(--text-soft);
    font-size: 18px;
}

.compact-hero {
    padding: 62px 0 56px;
}

/* ------------------------------------------------ 产品页 */

.products-intro {
    margin-bottom: 40px;
}

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

.product-detail-card {
    display: flex;
    flex-direction: column;
    padding: 20px 22px 26px;
    background: var(--white);
    border: 1px solid rgba(217, 230, 244, 0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

/* 图片圆角内嵌，与卡片边缘留出填充 */
.product-detail-image {
    display: block;
    margin: 0 0 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #f2f7fc 0%, #e4edf6 100%);
    border: 1px solid rgba(217, 230, 244, 0.9);
    border-radius: var(--radius-sm);
}

.product-detail-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.product-detail-card h2 {
    margin: 4px 0 10px;
    font-size: 22px;
}

.product-detail-card > p {
    margin: 0 0 14px;
    color: var(--text-soft);
    font-size: 14.5px;
}

.application-note {
    margin: 0 0 18px;
    padding: 14px 16px;
    color: var(--text);
    font-size: 14px;
    background: var(--blue-50);
    border-radius: var(--radius-sm);
}

.application-note strong {
    color: var(--blue-600);
}

.model-group {
    margin: 0 0 22px;
}

.model-group h3 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.model-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.model-list li {
    padding: 7px 12px;
    color: var(--blue-600);
    font-size: 13.5px;
    font-weight: 650;
    line-height: 1.35;
    background: var(--blue-50);
    border: 1px solid rgba(217, 230, 244, 0.9);
    border-radius: 8px;
}

.model-image-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
}

.model-image-list li {
    min-height: 80px;
    padding: 8px;
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.model-image-list li:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.model-image-list img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border: 1px solid rgba(217, 230, 244, 0.9);
    border-radius: 8px;
}

.model-image-list span {
    color: var(--ink);
    font-weight: 650;
    overflow-wrap: anywhere;
}

.compact-model-list {
    margin: 16px 0 22px;
}

.compact-note {
    margin: 16px 0 0;
    font-size: 14px;
}

.product-detail-card .btn {
    width: fit-content;
    margin-top: auto;
}

/* 型号缩略图整体可点击（链接到产品详情页） */
.model-link {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    color: inherit;
}

.model-link:hover span {
    color: var(--blue-500);
}

/* ------------------------------------------------ 产品详情单页 */

.single-product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: start;
}

.single-product-image {
    overflow: hidden;
    background: linear-gradient(135deg, #f2f7fc 0%, #e4edf6 100%);
    border: 1px solid rgba(217, 230, 244, 0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.single-product-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: 22px;
}

.single-product-body {
    display: grid;
    gap: 22px;
}

.single-product-desc {
    color: var(--text);
    font-size: 15.5px;
}

.single-product-desc h2,
.single-product-desc h3 {
    margin: 18px 0 8px;
}

.single-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ------------------------------------------------ 关于 / 联系 / 表单 */

.about-card,
.contact-form-box,
.contact-info-box,
.values-grid > div,
.article-card {
    padding: 30px;
    background: var(--white);
    border: 1px solid rgba(217, 230, 244, 0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

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

.values-grid > div {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.values-grid > div:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.about-card ul,
.site-footer ul {
    padding-left: 20px;
}

.about-card ul li,
.values-grid p,
.about-grid p,
.contact-grid p {
    color: var(--text-soft);
}

.about-card h3,
.contact-info-box h2,
.contact-form-box h2,
.values-grid h3 {
    margin-top: 0;
}

.contact-grid {
    align-items: start;
}

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

.static-form label {
    display: grid;
    gap: 6px;
    color: var(--ink);
    font-weight: 700;
    font-size: 14.5px;
}

.static-form input,
.static-form textarea {
    width: 100%;
    padding: 13px 15px;
    font: inherit;
    color: var(--ink);
    background: #fbfdfe;
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.static-form input:focus,
.static-form textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(46, 108, 168, 0.14);
}

.form-intro {
    margin-bottom: 18px;
    color: var(--text-soft);
}

.contact-form-box .wpcf7 {
    margin-top: 18px;
}

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

.contact-form-box .wpcf7 label {
    display: grid;
    gap: 6px;
    color: var(--ink);
    font-weight: 700;
    font-size: 14.5px;
}

.contact-form-box .wpcf7 input:not([type="submit"]),
.contact-form-box .wpcf7 textarea {
    width: 100%;
    padding: 13px 15px;
    font: inherit;
    color: var(--ink);
    background: #fbfdfe;
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-sm);
}

.contact-form-box .wpcf7 textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-box .wpcf7 input:not([type="submit"]):focus,
.contact-form-box .wpcf7 textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(46, 108, 168, 0.14);
}

.contact-form-box .wpcf7 input[type="submit"] {
    width: 100%;
    padding: 15px 22px;
    color: var(--white);
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-form-box .wpcf7 input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(46, 108, 168, 0.35);
}

.contact-form-box .wpcf7-not-valid-tip {
    font-size: 13px;
    font-weight: 600;
}

.form-placeholder,
.quote-note {
    padding: 16px;
    color: var(--text);
    background: var(--blue-50);
    border-radius: var(--radius-sm);
}

.quote-note h3 {
    margin-top: 0;
}

/* ------------------------------------------------ 后台正文渲染（About / Contact 等） */

.page-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 44px 48px;
    background: var(--white);
    border: 1px solid rgba(217, 230, 244, 0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.page-content h2 {
    margin: 0 0 14px;
    font-size: 26px;
}

.page-content h3 {
    margin: 26px 0 10px;
    font-size: 19px;
}

.page-content h2 + h3,
.page-content p + h3 {
    margin-top: 26px;
}

.page-content p {
    margin: 0 0 14px;
    color: var(--text);
}

.page-content ul,
.page-content ol {
    margin: 0 0 16px;
    padding-left: 22px;
    color: var(--text);
}

.page-content li {
    margin-bottom: 6px;
}

.page-content a {
    color: var(--blue-500);
    font-weight: 600;
}

.page-content a:hover {
    text-decoration: underline;
}

.contact-info-content {
    color: var(--text);
    font-size: 15px;
}

.contact-info-content p {
    margin: 0 0 10px;
}

.contact-info-content h3 {
    margin: 18px 0 8px;
}

/* ------------------------------------------------ 新闻列表页 */

.content-area {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.article-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.article-card h2 {
    margin: 0;
    font-size: 19px;
}

.article-card h2 a {
    color: var(--ink);
    transition: color 0.2s ease;
}

.article-card h2 a:hover {
    color: var(--blue-500);
}

.article-card .entry-summary {
    color: var(--text-soft);
    font-size: 14.5px;
}

.article-card time,
.article-card .posted-on {
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 700;
}

/* ------------------------------------------------ 页脚 */

.site-footer {
    margin-top: 40px;
    color: #c3d5e8;
    background:
        radial-gradient(70% 100% at 100% 0%, rgba(74, 131, 189, 0.25) 0%, rgba(74, 131, 189, 0) 55%),
        linear-gradient(160deg, var(--blue-900) 0%, var(--blue-700) 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.95fr 0.8fr 1.1fr;
    gap: 40px;
    padding: 62px 0 40px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
}

.footer-logo-row img {
    width: 36px;
    height: 42px;
    object-fit: contain;
}

.footer-logo-row strong {
    color: var(--white);
    font-size: 17px;
}

.footer-brand p {
    margin: 0 0 10px;
    font-size: 14.5px;
}

.footer-note {
    color: #8fa9c4;
    font-size: 13.5px;
}

.site-footer h3 {
    margin: 4px 0 16px;
    color: var(--white);
    font-size: 15px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-footer ul {
    display: grid;
    gap: 9px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer ul a {
    color: #c3d5e8;
    font-size: 14.5px;
    transition: color 0.2s ease;
}

.site-footer ul a:hover {
    color: var(--white);
}

.footer-more {
    font-weight: 700;
}

.footer-contact li {
    font-size: 14.5px;
}

.footer-cta {
    margin-top: 16px;
    min-height: 42px;
    padding: 9px 20px;
    font-size: 14px;
}

.footer-bottom {
    padding: 20px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;
    color: #8fa9c4;
    font-size: 13.5px;
}

/* ------------------------------------------------ 悬浮工具条 */

.floating-bar {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 70;
    display: grid;
    gap: 10px;
}

.floating-item {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    color: var(--blue-600);
    background: var(--white);
    border: 1px solid rgba(217, 230, 244, 0.9);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.floating-item:hover {
    transform: translateY(-3px);
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    box-shadow: 0 14px 30px rgba(46, 108, 168, 0.4);
}

.floating-item svg {
    width: 22px;
    height: 22px;
}

.floating-item span {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ------------------------------------------------ 滚动入场动画（仅 JS 可用时） */

html.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* 网格子项轻微错峰 */
html.js .stats-grid .reveal:nth-child(2),
html.js .feature-list .reveal:nth-child(2) { transition-delay: 0.08s; }
html.js .stats-grid .reveal:nth-child(3),
html.js .feature-list .reveal:nth-child(3) { transition-delay: 0.16s; }
html.js .stats-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    html.js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-slide,
    .product-card:hover .product-image img,
    .product-image img {
        transition: none;
    }
}

/* ------------------------------------------------ 响应式：≤1080px */

@media (max-width: 1080px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr;
    }

    .topbar-tagline {
        display: none;
    }

    .topbar-inner {
        justify-content: center;
    }

    .lang-item {
        font-size: 12px;
        padding: 3px 10px;
    }
}

/* ------------------------------------------------ 响应式：≤920px */

@media (max-width: 920px) {
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 24px;
        left: 24px;
        display: none;
        padding: 12px;
        background: var(--white);
        border: 1px solid var(--blue-100);
        border-radius: var(--radius);
        box-shadow: var(--shadow-md);
    }

    .primary-nav.is-open {
        display: block;
    }

    .site-menu {
        display: grid;
        gap: 4px;
    }

    .site-menu a::after {
        display: none;
    }

    .hero-carousel {
        height: auto;
        min-height: 0;
    }

    /* 移动端改为文档流布局：slides 容器不再绝对定位，避免高度塌陷 */
    .hero-slides {
        position: relative;
        inset: auto;
    }

    .hero-slide {
        position: relative;
        display: none;
        min-height: 520px;
    }

    .hero-slide.is-active {
        display: flex;
    }

    .hero-art {
        width: 62%;
        opacity: 0.55;
    }

    .hero-copy {
        padding: 72px 0;
    }

    .hero-dots {
        bottom: 18px;
    }

    .stats-band {
        margin-top: 0;
        padding-top: 18px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 18px;
    }

    .stat + .stat {
        border-left: 0;
    }

    .stat:nth-child(even) {
        border-left: 1px solid rgba(217, 230, 244, 0.9);
    }

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

    .product-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .product-tabs::-webkit-scrollbar {
        display: none;
    }

    .feature-grid,
    .split-grid,
    .about-grid,
    .contact-grid,
    .export-box {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .check-list {
        grid-template-columns: 1fr;
    }

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

    .section-heading--split {
        flex-direction: column;
        align-items: flex-start;
    }

    .products-page-grid,
    .values-grid,
    .content-area {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .export-box {
        padding: 38px 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* ------------------------------------------------ 响应式：≤620px */

@media (max-width: 620px) {
    .container {
        width: min(100% - 32px, 1180px);
    }

    .section {
        padding: 60px 0;
    }

    .header-inner {
        min-height: 68px;
    }

    .site-brand strong {
        font-size: 15px;
    }

    .brand-logo {
        width: 38px;
        height: 44px;
    }

    .hero-slide {
        min-height: 470px;
    }

    .hero-copy {
        padding: 58px 0 64px;
    }

    .hero-copy h2 {
        font-size: 31px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

    .hero-arrow {
        display: none;
    }

    .product-grid,
    .products-page-grid,
    .values-grid,
    .content-area,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .export-box .btn {
        width: 100%;
    }

    .export-box {
        padding: 32px 24px;
    }

    .news-featured-image {
        min-height: 220px;
    }

    .floating-bar {
        right: 14px;
        bottom: 14px;
    }

    .floating-item {
        width: 46px;
        height: 46px;
    }

    .model-image-list {
        grid-template-columns: 1fr;
    }

    .single-product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
