/* ============================================================
   合肥安堃混凝土有限公司 - 官网 UI v3（现代工业数字风）
   设计语言：深墨蓝 × 琥珀橙渐变 · 玻璃拟态 · 光晕卡片
   ============================================================ */

/* ===== 变量与基础 ===== */
:root {
    --ink-950: #070d17;
    --ink-900: #0a1526;
    --ink-800: #12233a;
    --primary: #16283f;
    --primary-light: #2c4a6e;
    --accent: #f08c2e;
    --accent-bright: #fbb24c;
    --accent-dark: #c96a14;
    --accent-glow: rgba(240, 140, 46, 0.45);
    --cyan: #38bdf8;
    --gray-50: #f6f8fb;
    --gray-100: #eef2f6;
    --gray-200: #dfe5ec;
    --gray-300: #c3ccd8;
    --gray-600: #5a6675;
    --gray-800: #2d3744;
    --white: #ffffff;
    --shadow-sm: 0 2px 12px rgba(10, 21, 38, 0.06);
    --shadow: 0 8px 32px rgba(10, 21, 38, 0.10);
    --shadow-lg: 0 20px 60px rgba(10, 21, 38, 0.16);
    --shadow-accent: 0 10px 32px rgba(240, 140, 46, 0.35);
    --radius: 18px;
    --radius-lg: 26px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --grad-accent: linear-gradient(135deg, #f08c2e 0%, #fbb24c 100%);
    --grad-ink: linear-gradient(160deg, #16283f 0%, #0a1526 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    color: var(--gray-800);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--accent-dark);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(10, 21, 38, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 28px rgba(10, 21, 38, 0.10);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.nav-logo:hover {
    color: var(--accent);
}

.logo-img {
    height: 52px;
    width: auto;
    border-radius: 10px;
    display: block;
    box-shadow: var(--shadow-sm);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2px;
}

.nav-link {
    color: rgba(10, 21, 38, 0.72);
    padding: 9px 15px;
    border-radius: 10px;
    font-size: 0.93rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(240, 140, 46, 0.08);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--ink-950);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: heroZoom 18s ease-in-out infinite alternate;
    will-change: transform;
    /* 调暗背景图，让极光层成为视觉主角 */
    filter: brightness(0.45) saturate(0.85);
}

/* Aurora 极光层：压在背景图之上、粒子之下 */
.hero-aurora {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.08); }
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.hero-3d {
    position: absolute;
    top: 0;
    right: 0;
    width: 46%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    opacity: 0.95;
    perspective: 1000px;
}

/* 纯 CSS 3D 立方体（替代 WebGL，零内存风险，GPU 合成） */
.cube-stage {
    position: absolute;
    top: 50%; left: 50%;
    width: 210px; height: 210px;
    margin: -105px 0 0 -105px;
    transform-style: preserve-3d;
    animation: cubeSpin 20s linear infinite;
}
@keyframes cubeSpin {
    from { transform: rotateX(-20deg) rotateY(0deg); }
    to   { transform: rotateX(-20deg) rotateY(360deg); }
}
.cube {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}
.cube span {
    position: absolute;
    width: 210px; height: 210px;
    border: 1.5px solid rgba(240, 140, 46, 0.55);
    background: rgba(44, 74, 110, 0.10);
    box-shadow: inset 0 0 50px rgba(56, 189, 248, 0.14);
}
.cube span:nth-child(1) { transform: translateZ(105px); }
.cube span:nth-child(2) { transform: rotateY(180deg) translateZ(105px); }
.cube span:nth-child(3) { transform: rotateY(90deg) translateZ(105px); }
.cube span:nth-child(4) { transform: rotateY(-90deg) translateZ(105px); }
.cube span:nth-child(5) { transform: rotateX(90deg) translateZ(105px); }
.cube span:nth-child(6) { transform: rotateX(-90deg) translateZ(105px); }

.orbit-ring {
    position: absolute;
    top: 50%; left: 50%;
    width: 360px; height: 360px;
    margin: -180px 0 0 -180px;
    border-radius: 50%;
    border: 1px solid rgba(240, 140, 46, 0.22);
    box-shadow: 0 0 70px rgba(240, 140, 46, 0.08);
    animation: ringSpin 26s linear infinite;
}
.orbit-ring::before {
    content: '';
    position: absolute;
    top: -5px; left: 50%;
    width: 10px; height: 10px;
    margin-left: -5px;
    border-radius: 50%;
    background: var(--accent-bright);
    box-shadow: 0 0 16px var(--accent-bright);
}
@keyframes ringSpin { to { transform: rotate(360deg); } }

.hero-3d .orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.55;
    filter: blur(1px);
    animation: orbFloat 9s ease-in-out infinite;
}
.hero-3d .orb.o1 {
    width: 64px; height: 64px;
    top: 16%; right: 16%;
    background: radial-gradient(circle, rgba(240, 140, 46, 0.6), transparent 70%);
}
.hero-3d .orb.o2 {
    width: 44px; height: 44px;
    bottom: 20%; left: 12%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.6), transparent 70%);
    animation-delay: -3s;
}
@keyframes orbFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-22px); }
}

.hero-overlay {
    position: absolute;
    z-index: 4;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        linear-gradient(90deg, rgba(7, 13, 23, 0.82) 0%, rgba(7, 13, 23, 0.45) 55%, rgba(7, 13, 23, 0.20) 100%),
        linear-gradient(180deg, rgba(7, 13, 23, 0.30) 0%, rgba(7, 13, 23, 0) 40%, rgba(7, 13, 23, 0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 760px;
    padding: 0 24px;
}

.hero-kicker {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-bright);
    background: rgba(240, 140, 46, 0.12);
    border: 1px solid rgba(240, 140, 46, 0.35);
    padding: 7px 18px;
    border-radius: 100px;
    margin-bottom: 26px;
}

.hero-title {
    font-size: clamp(2.1rem, 5.2vw, 3.4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: 3px;
    line-height: 1.25;
    text-shadow: 0 4px 40px rgba(7, 13, 23, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.15rem, 2.6vw, 1.45rem);
    color: var(--accent-bright);
    font-weight: 600;
    margin-bottom: 22px;
    letter-spacing: 6px;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 2;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 仅当 JS 就绪(js-anim)时隐藏 hero 文案，用于入场动画；异常则显示 */
.js-anim .hero-kicker,
.js-anim .hero-title,
.js-anim .hero-subtitle,
.js-anim .hero-desc,
.js-anim .hero-buttons {
    opacity: 0;
}
.js-anim .hero-kicker { transform: translateY(18px); }
.js-anim .hero-title { transform: translateY(24px); }
.js-anim .hero-subtitle { transform: translateY(24px); }
.js-anim .hero-desc { transform: translateY(24px); }
.js-anim .hero-buttons { transform: translateY(24px); }

.btn {
    display: inline-block;
    padding: 15px 38px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--grad-accent);
    color: #1a1006;
    border-color: transparent;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 44px rgba(240, 140, 46, 0.5);
    color: #1a1006;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(6px);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    transform: translateY(-3px);
}

/* 波纹点击效果 */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple-wave {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: rippleAnim 0.7s ease-out forwards;
    pointer-events: none;
}

.btn-primary .ripple-wave {
    background: rgba(255, 255, 255, 0.55);
}

.btn-outline .ripple-wave {
    background: rgba(255, 255, 255, 0.35);
}

@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: scrollFloat 2.2s ease-in-out infinite;
}

.hero-scroll::before {
    content: '向下滚动';
    font-size: 0.72rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
}

.hero-scroll span {
    display: block;
    width: 14px;
    height: 14px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
}

@keyframes scrollFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* ===== 公司数据条带 ===== */
.stats-band {
    position: relative;
    background: var(--grad-ink);
    padding: 54px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.stats-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.06) 50%, transparent 100%),
        radial-gradient(ellipse at 20% 50%, rgba(240, 140, 46, 0.10), transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(56, 189, 248, 0.08), transparent 50%);
    pointer-events: none;
}

.stats-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 12px 8px;
}

.stat-num-wrap {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stat-num {
    background: linear-gradient(180deg, #ffffff 20%, #ffd9a8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-plus,
.stat-unit {
    font-size: 0.6em;
    color: var(--accent-bright);
    font-weight: 700;
}

.stat-label {
    margin-top: 12px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
}

/* ===== Section 通用 ===== */
.section {
    padding: 104px 0;
    position: relative;
}

.section-gray {
    background: var(--gray-50);
}

.section-dark {
    background: var(--grad-ink);
    color: var(--white);
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 14px;
    position: relative;
    padding: 0 34px;
}

.section-kicker::before,
.section-kicker::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 1.5px;
    background: var(--accent);
    opacity: 0.6;
}

.section-kicker::before { left: 0; }
.section-kicker::after { right: 0; }

.section-kicker-light {
    color: var(--accent-bright);
}

.section-title {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 72px;
    height: 4px;
    background: var(--grad-accent);
    margin: 14px auto 0;
    border-radius: 4px;
}

.section-title-light {
    color: var(--white);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-top: 12px;
}

.section-dark .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== 滚动显现动画（GSAP 控制） ===== */
/* 默认可见，仅当 JS 健康(js-anim)时才隐藏做入场动画；JS 异常则保持可见，绝不白屏 */
.reveal {
    opacity: 1;
    transform: none;
}

.js-anim .reveal {
    opacity: 0;
    transform: translateY(36px);
    will-change: transform, opacity;
}

/* ===== 关于我们 ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-text p {
    font-size: 1.03rem;
    margin-bottom: 20px;
    color: var(--gray-600);
    line-height: 2;
}

.about-text strong {
    color: var(--accent-dark);
    font-weight: 700;
    background: linear-gradient(transparent 62%, rgba(240, 140, 46, 0.22) 62%);
    padding: 0 2px;
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(-1deg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-img-main:hover {
    transform: rotate(0deg) scale(1.01);
}

.about-img-main img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s;
}

.about-img-main:hover img {
    transform: scale(1.05);
}

.about-img-sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.about-img-sub img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.5s, box-shadow 0.5s;
}

.about-img-sub img:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* 轻微 3D 倾斜悬停 */
.tilt-hover {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 宣传片 ===== */
.video-section {
    position: relative;
}

.video-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 120%, rgba(240, 140, 46, 0.16), transparent 60%),
        radial-gradient(ellipse at 15% 0%, rgba(56, 189, 248, 0.08), transparent 55%);
    pointer-events: none;
}

.video-container {
    max-width: 880px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
    position: relative;
}

.video-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.video-player {
    width: 100%;
    display: block;
    background: #000;
}

/* ===== 核心优势（光晕卡片） ===== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.spotlight-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
    border: 1px solid rgba(10, 21, 38, 0.05);
    overflow: hidden;
}

/* 鼠标跟随光晕（Aceternity 风格） */
.spotlight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 140, 46, 0.14), transparent 65%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}

.spotlight-card:hover::before {
    opacity: 1;
}

.spotlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(240, 140, 46, 0.35);
}

.advantage-icon {
    font-size: 2.6rem;
    margin-bottom: 18px;
    display: inline-block;
    width: 76px;
    height: 76px;
    line-height: 76px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(240, 140, 46, 0.12), rgba(251, 178, 76, 0.22));
    box-shadow: inset 0 0 0 1px rgba(240, 140, 46, 0.18);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s;
}

.spotlight-card:hover .advantage-icon {
    transform: translateY(-4px) rotate(-6deg) scale(1.05);
    background: linear-gradient(135deg, rgba(240, 140, 46, 0.18), rgba(251, 178, 76, 0.30));
}

.advantage-card h3 {
    font-size: 1.18rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.advantage-card p {
    color: var(--gray-600);
    font-size: 0.94rem;
    line-height: 1.8;
}

/* ===== 业务范围 ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s, border-color 0.4s;
    cursor: default;
    overflow: hidden;
}

/* 顶部渐变光条 */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--grad-accent);
    opacity: 0;
    transform: scaleX(0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(240, 140, 46, 0.4);
}

.service-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
    left: 0;
    right: 0;
}

.service-icon {
    font-size: 2.1rem;
    margin-bottom: 14px;
    display: inline-block;
    width: 64px;
    height: 64px;
    line-height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f6f8fb, #eef2f6);
    box-shadow: inset 0 0 0 1px rgba(10, 21, 38, 0.06);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-4deg);
    background: linear-gradient(135deg, rgba(240, 140, 46, 0.16), rgba(251, 178, 76, 0.26));
}

.service-card h3 {
    font-size: 1.02rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.service-card p {
    font-size: 0.86rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== 服务团队 ===== */
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.team-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 36px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
    align-items: center;
    border: 1px solid rgba(10, 21, 38, 0.05);
}

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

.team-card-reverse {
    grid-template-columns: 1fr 240px;
}

.team-card-reverse .team-photo {
    order: 2;
}

.team-photo {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.team-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10, 21, 38, 0.25));
    pointer-events: none;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.team-card:hover .team-photo img {
    transform: scale(1.06);
}

.team-info {
    padding: 26px 26px 26px 0;
}

.team-card-reverse .team-info {
    padding: 26px 0 26px 26px;
    text-align: right;
}

.team-info h3 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 6px;
    font-weight: 800;
}

.team-role {
    font-size: 0.86rem;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 14px;
    padding: 4px 16px;
    background: linear-gradient(135deg, rgba(240, 140, 46, 0.12), rgba(251, 178, 76, 0.2));
    border-radius: 100px;
    display: inline-block;
    border: 1px solid rgba(240, 140, 46, 0.2);
}

.team-desc {
    font-size: 0.94rem;
    color: var(--gray-600);
    line-height: 1.9;
}

.team-phone {
    margin-top: 16px;
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--primary);
}

.team-phone a {
    color: var(--accent-dark);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px dashed rgba(240, 140, 46, 0.5);
}

.team-phone a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* ===== 公司相册（瀑布流照片墙） ===== */
.gallery-section {
    position: relative;
}

.gallery-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 85% 10%, rgba(56, 189, 248, 0.09), transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(240, 140, 46, 0.10), transparent 55%);
    pointer-events: none;
}

.gallery-grid.masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: start;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    position: relative;
    aspect-ratio: var(--r, 4/3);
    break-inside: avoid;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.75);
}

.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 34px 18px 16px;
    background: linear-gradient(180deg, transparent, rgba(7, 13, 23, 0.85));
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-caption span {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 2px;
    display: block;
    text-align: left;
}

.gallery-item::after {
    content: '＋';
    position: absolute;
    top: 14px;
    right: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0;
    transform: rotate(45deg) scale(0.6);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover::after {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Lightbox overlay */
.gallery-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5, 9, 16, 0.93);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-direction: column;
    gap: 16px;
}

.gallery-overlay.active {
    display: flex;
}

.gallery-overlay img {
    max-width: 90vw;
    max-height: 78vh;
    border-radius: 12px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
    animation: lightboxIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lightboxIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.gallery-overlay .gallery-overlay-caption {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    letter-spacing: 2px;
}

.gallery-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 2.4rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
    line-height: 1;
}

.gallery-close:hover {
    color: var(--accent-bright);
    transform: rotate(90deg) scale(1.15);
}

/* ===== 企业资质（渐变边框） ===== */
.cert-card {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 52px 44px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
}

.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(10, 21, 38, 0.18);
}

/* 渐变描边 */
.gradient-border {
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(240, 140, 46, 0.55), rgba(251, 178, 76, 0.25) 40%, rgba(56, 189, 248, 0.25) 100%) border-box;
    border: 2px solid transparent;
}

.cert-icon {
    font-size: 3.2rem;
    margin-bottom: 18px;
    display: inline-block;
    width: 88px;
    height: 88px;
    line-height: 88px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(240, 140, 46, 0.14), rgba(251, 178, 76, 0.26));
    box-shadow: inset 0 0 0 1px rgba(240, 140, 46, 0.2);
}

.cert-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 14px;
    font-weight: 800;
}

.cert-card p {
    color: var(--gray-600);
    font-size: 0.97rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.cert-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cert {
    display: inline-block;
    padding: 13px 34px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-cert-view {
    background: var(--grad-accent);
    color: #1a1006;
    box-shadow: var(--shadow-accent);
}

.btn-cert-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(240, 140, 46, 0.45);
    color: #1a1006;
}

.btn-cert-download {
    background: var(--primary);
    color: var(--white);
}

.btn-cert-download:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== 联系我们 ===== */
#contact {
    position: relative;
    padding: 104px 0;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    filter: saturate(0.9);
}

.contact-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.82) 60%, rgba(246, 248, 251, 0.9) 100%);
    backdrop-filter: blur(2px);
}

#contact > .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 44px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px 26px;
}

/* 玻璃卡片 */
.glass-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}

.glass-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(240, 140, 46, 0.35);
}

.contact-icon {
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(240, 140, 46, 0.14), rgba(251, 178, 76, 0.26));
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(240, 140, 46, 0.18);
}

.contact-text h3 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 4px;
    font-weight: 700;
}

.contact-text p {
    color: var(--gray-600);
    font-size: 1rem;
}

.contact-text a {
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255, 255, 255, 0.85);
    min-height: 360px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--ink-950);
    color: rgba(255, 255, 255, 0.66);
    padding: 64px 0 26px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-accent);
    opacity: 0.7;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 14px;
    font-weight: 700;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.9;
    max-width: 380px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 18px;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-bright);
    padding-left: 6px;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-contact a {
    color: var(--accent-bright);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 22px;
    text-align: center;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
    .hero-3d {
        width: 38%;
        opacity: 0.65;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid.masonry {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .hero-3d {
        width: 32%;
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 44px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 90px 32px 32px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -20px 0 60px rgba(10, 21, 38, 0.15);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.05rem;
        padding: 13px 16px;
    }

    .hero {
        min-height: 560px;
    }

    .hero-3d {
        display: none;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(7, 13, 23, 0.75) 0%, rgba(7, 13, 23, 0.45) 60%, rgba(7, 13, 23, 0.7) 100%);
    }

    .section {
        padding: 72px 0;
    }

    #contact {
        padding: 72px 0;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

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

    .gallery-grid.masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .team-card,
    .team-card-reverse {
        grid-template-columns: 1fr;
    }

    .team-card-reverse .team-photo {
        order: -1;
    }

    .team-photo {
        height: auto;
        max-height: 380px;
        background: var(--gray-200);
        border-radius: 0;
    }

    .team-photo img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        max-height: 380px;
    }

    .team-info,
    .team-card-reverse .team-info {
        padding: 22px;
        text-align: left;
    }

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

    .contact-map {
        min-height: 0;
    }

    .contact-map iframe {
        height: 340px;
        min-height: 0;
    }

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

    .section-header {
        margin-bottom: 44px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

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

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

    .gallery-grid.masonry {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stats-band {
        padding: 44px 0;
    }

    .cert-card {
        padding: 36px 22px;
    }

    .cert-actions {
        flex-direction: column;
    }

    .btn-cert {
        width: 100%;
        text-align: center;
    }

    .contact-item {
        padding: 20px 18px;
    }
}

/* ===== 无障碍：减弱动效 ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== 兜底：JS/库加载失败时内容仍可见 ===== */
.no-anim .reveal {
    opacity: 1;
    transform: none;
}

.no-anim .hero-kicker,
.no-anim .hero-title,
.no-anim .hero-subtitle,
.no-anim .hero-desc,
.no-anim .hero-buttons {
    opacity: 1;
    transform: none;
}
