/* ==========================================================================
   九参堂企业官网 · 样式表
   配色：深海蓝 #0a3d62 / 雅金 #c9a96e / 纯白底
   字体：思源宋体（标题）+ 思源黑体（正文）
   ========================================================================== */

/* ---------- 变量 ---------- */
:root {
    --c-primary: #b01c2e;
    --c-primary-dark: #851828;
    --c-primary-light: #d44a5e;
    --c-gold: #c9a96e;
    --c-gold-light: #d4b886;
    --c-gold-dark: #b08d4e;
    --c-text: #2d3436;
    --c-text-light: #636e72;
    --c-text-muted: #95a5a6;
    --c-bg: #ffffff;
    --c-bg-alt: #faf7f7;
    --c-border: #e8e0e0;
    --c-white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(176, 28, 46, 0.06);
    --shadow-md: 0 8px 30px rgba(176, 28, 46, 0.10);
    --shadow-lg: 0 20px 60px rgba(176, 28, 46, 0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --serif: 'Noto Serif SC', 'Songti SC', serif;
    --sans: 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --max-width: 1400px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo-img {
    height: 46px;
    width: auto;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

body {
    font-family: var(--sans);
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

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

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   顶部页眉
   ========================================================================== */
.top-bar {
    background: var(--c-primary-dark);
    height: 60px;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    border-bottom: 1px solid rgba(201,169,110,0.3);
}

.top-bar-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 24px 0 0;
}

.top-bar-tel {
    color: var(--c-gold-light);
    text-decoration: none;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 2px;
    transition: color 0.25s;
    padding-right: 24px;
}

.top-bar-tel:hover {
    color: #f0d890;
}

/* ==========================================================================
   导航栏
   ========================================================================== */
.navbar {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 导航菜单 */.nav-menu {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-link {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    position: relative;
    padding: 4px 0;
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--c-text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--c-gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--c-gold);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--c-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 20px;
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--c-white);
    transition: var(--transition);
    border-radius: 2px;
}

.navbar.scrolled .nav-toggle span {
    background: var(--c-primary);
}

.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;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    /* 红→深墨渐变：上部亮红，中部快速过渡到深色，底部近墨 */
    background: linear-gradient(180deg, #b01c2e 0%, #9a1a2c 18%, #6e1220 42%, #3d0a12 70%, #1a0508 100%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        /* 左上角金色大光斑 */
        radial-gradient(circle at 18% 12%, rgba(201, 169, 110, 0.28) 0%, transparent 55%),
        /* 右侧偏上的环境光 */
        radial-gradient(circle at 82% 35%, rgba(176, 28, 46, 0.5) 0%, transparent 45%),
        /* 底部深墨加深 */
        radial-gradient(circle at 50% 95%, rgba(10, 2, 4, 0.8) 0%, transparent 60%),
        /* 中间柔和补光 */
        radial-gradient(circle at 55% 50%, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280'%3E%3Cg fill='none' stroke='%23c9a96e' stroke-width='1' stroke-opacity='0.18'%3E%3Cpath d='M40 120 Q40 95 60 95 Q80 95 80 115 Q80 135 60 135'/%3E%3Cpath d='M100 70 Q100 50 118 50 Q136 50 136 66 Q136 82 120 82'/%3E%3Cpath d='M170 150 Q170 130 188 130 Q206 130 206 146 Q206 162 188 162'/%3E%3Cpath d='M30 190 Q30 172 48 172 Q66 172 66 188'/%3E%3Cpath d='M220 50 Q220 34 236 34 Q252 34 252 48'/%3E%3Cpath d='M150 200 Q150 180 168 180 Q186 180 186 198 Q186 216 168 216'/%3E%3Cpath d='M80 240 Q80 225 96 225 Q112 225 112 238'/%3E%3Cpath d='M200 170 Q200 154 214 154 Q228 154 228 166'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* 底部叠加深色渐变，增加纵深 */
    background: linear-gradient(180deg, transparent 35%, rgba(10, 2, 4, 0.55) 80%, rgba(10, 2, 4, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    animation: heroFadeIn 1.2s ease-out;
}

/* Hero Logo */
.hero-logo-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 28px;
}

.hero-logo {
    display: block;
    width: 400px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(201, 169, 110, 0.25);
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.hero-logo:hover {
    transform: scale(1.04);
}

.hero-logo-glow {
    position: absolute;
    inset: -10px;
    border-radius: 18px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    z-index: 1;
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from { opacity: 0.6; transform: scale(1); }
    to { opacity: 1; transform: scale(1.05); }
}

@media (max-width: 640px) {
    .hero-logo {
        width: 300px;
        border-radius: 10px;
    }
    .hero-logo-wrap {
        margin-bottom: 24px;
    }
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 6px;
    color: var(--c-gold-light);
    margin-bottom: 24px;
    font-weight: 300;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: 4px;
}

.title-divider {
    color: var(--c-gold);
    margin: 0 8px;
}

.hero-desc {
    font-size: 17px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 38px;
    font-size: 15px;
    font-family: var(--sans);
    font-weight: 500;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--c-gold);
    color: #fff;
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.35);
}

.btn-primary:hover {
    background: var(--c-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 110, 0.45);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    border-color: var(--c-gold);
    color: var(--c-gold);
    background: rgba(201, 169, 110, 0.1);
}

.btn-full {
    width: 100%;
}

/* 滚动提示 */
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--c-gold), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% { transform: scaleY(1); transform-origin: top; }
    50% { transform: scaleY(0.4); transform-origin: top; }
}

/* ==========================================================================
   数据条
   ========================================================================== */
.stats-bar {
    background: linear-gradient(180deg, #2a0710 0%, #1a0508 50%, #0d0204 100%);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(201, 169, 110, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 85% 50%, rgba(201, 169, 110, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 50% 20%, rgba(176, 28, 46, 0.3) 0%, transparent 50%);
}

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

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(201, 169, 110, 0.4), transparent);
}

.stat-num {
    font-family: var(--serif);
    font-size: 48px;
    font-weight: 700;
    color: var(--c-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 1px;
}

/* ==========================================================================
   通用 Section 头
   ========================================================================== */
section {
    padding: 100px 0;
}

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

.section-en {
    display: block;
    font-size: 13px;
    letter-spacing: 4px;
    color: var(--c-gold);
    font-weight: 500;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.section-line {
    width: 50px;
    height: 3px;
    background: var(--c-gold);
    margin: 0 auto;
    border-radius: 2px;
}

.section-desc {
    margin-top: 20px;
    font-size: 15px;
    color: var(--c-text-muted);
    font-weight: 300;
}

/* ==========================================================================
   关于我们
   ========================================================================== */
.about {
    background: var(--c-bg);
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image {
    position: relative;
}

.img-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.img-frame::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid var(--c-gold);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}

.img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.img-placeholder svg {
    width: 100%;
    height: 100%;
}

.about-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-badge {
    position: absolute;
    bottom: -20px;
    right: -10px;
    background: var(--c-primary);
    color: #fff;
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.img-badge strong {
    display: block;
    font-family: var(--serif);
    font-size: 22px;
    color: var(--c-gold);
}

.img-badge span {
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0.9;
}

.about-text h3 {
    font-family: var(--serif);
    font-size: 28px;
    color: var(--c-primary);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.about-text p {
    color: var(--c-text-light);
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 2;
    text-align: justify;
}

.about-points {
    list-style: none;
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.about-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--c-text);
}

.check-icon {
    width: 22px;
    height: 22px;
    background: var(--c-gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* 企业理念卡片 */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    background: var(--c-bg-alt);
    transition: var(--transition);
    border: 1px solid transparent;
}

.value-card:hover {
    background: #fff;
    border-color: var(--c-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.value-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--c-gold);
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-card h4 {
    font-family: var(--serif);
    font-size: 19px;
    color: var(--c-primary);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 13.5px;
    color: var(--c-text-light);
    line-height: 1.8;
}

/* ==========================================================================
   产品服务
   ========================================================================== */
.products {
    background: var(--c-bg-alt);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.product-img {
    position: relative;
    overflow: hidden;
}

.product-bg {
    width: 100%;
    aspect-ratio: 3 / 2;
    transition: transform 0.6s ease;
    position: relative;
    overflow: hidden;
}

.product-bg svg {
    width: 100%;
    height: 100%;
}

.product-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-slider img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.product-slider img.active {
    opacity: 1;
}

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

.product-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(201, 169, 110, 0.95);
    color: #fff;
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

.product-info {
    padding: 30px;
    flex: 1;
}

.product-info h3 {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--c-primary);
    margin-bottom: 12px;
}

.product-info > p {
    color: var(--c-text-light);
    font-size: 14.5px;
    margin-bottom: 18px;
    line-height: 1.9;
}

.product-features {
    list-style: none;
    border-top: 1px solid var(--c-border);
    padding-top: 16px;
}

.product-features li {
    font-size: 13.5px;
    color: var(--c-text-light);
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-gold);
}

/* 工艺流程 */
.process-section {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-sm);
}

.process-title {
    text-align: center;
    font-family: var(--serif);
    font-size: 24px;
    color: var(--c-primary);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.process-step {
    text-align: center;
    flex-shrink: 0;
}

.step-num {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--c-gold);
    margin-bottom: 6px;
}

.step-name {
    font-size: 14px;
    color: var(--c-text);
    font-weight: 500;
}

.process-arrow {
    color: var(--c-border);
    font-size: 20px;
    margin: 0 4px;
    align-self: flex-start;
    margin-top: 10px;
}

/* ==========================================================================
   联系我们
   ========================================================================== */
.contact {
    background: var(--c-bg);
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

.contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--c-primary);
    color: var(--c-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-detail h4 {
    font-family: var(--serif);
    font-size: 17px;
    color: var(--c-primary);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 14.5px;
    color: var(--c-text-light);
}

/* 表单 */
.contact-form-wrap {
    background: var(--c-bg-alt);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-sm);
}

.form-title {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--c-primary);
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 14px;
    color: var(--c-text-muted);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13.5px;
    color: var(--c-text);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group label span {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--c-border);
    border-radius: 6px;
    font-size: 14.5px;
    font-family: var(--sans);
    color: var(--c-text);
    background: #fff;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--c-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
}

.form-success.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 小程序码 */
.qrcode-box {
    text-align: center;
}

.qrcode-img-wrap {
    width: 220px;
    height: 220px;
    margin: 24px auto;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qrcode-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.qrcode-hint {
    font-size: 13px;
    color: var(--c-text-muted);
    margin-bottom: 20px;
}

.qrcode-divider {
    width: 40px;
    height: 2px;
    background: var(--c-gold);
    margin: 0 auto 20px;
    border-radius: 1px;
}

/* ==========================================================================
   荣誉资质
   ========================================================================== */
.certifications {
    background: var(--c-bg);
}

.cert-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    transition: var(--transition);
}

.cert-item:hover {
    transform: translateY(-6px);
}

.cert-img-wrap {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    padding: 10px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-border);
    transition: var(--transition);
}

.cert-item:hover .cert-img-wrap {
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 169, 110, 0.4);
}

.cert-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.cert-name {
    font-size: 13px;
    color: var(--c-text-light);
    letter-spacing: 1px;
    font-weight: 500;
    max-width: 120px;
    line-height: 1.5;
}

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
    background: var(--c-primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    max-width: 320px;
}

.footer-links h5 {
    font-family: var(--serif);
    color: #fff;
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-links a,
.footer-links p {
    display: block;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--c-gold);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   底部页眉（与顶部对称）
   ========================================================================== */
.bottom-bar {
    background: var(--c-primary-dark);
    height: 60px;
    border-top: 1px solid rgba(201, 169, 110, 0.3);
}

.bottom-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    gap: 12px;
}

.bottom-bar-text {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    letter-spacing: 1px;
}

.bottom-bar-divider {
    color: rgba(201, 169, 110, 0.4);
    font-size: 12px;
}

.bottom-bar-tel {
    color: var(--c-gold-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 2px;
    transition: color 0.25s;
}

.bottom-bar-tel:hover {
    color: #f0d890;
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--c-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--c-gold);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

/* ==========================================================================
   滚动动画
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 968px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

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

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

@media (max-width: 768px) {
    .top-bar {
        height: 36px;
    }
    .top-bar-tel {
        font-size: 14px;
    }
    .navbar {
        top: 36px;
    }

    section {
        padding: 70px 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }

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

    .nav-link {
        color: var(--c-text);
        font-size: 18px;
    }

    .nav-toggle {
        display: flex;
    }

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

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .stat-num {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

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

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

    .about-points {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 30px 24px;
    }

    .process-flow {
        flex-direction: column;
        gap: 16px;
    }

    .process-arrow {
        transform: rotate(90deg);
        margin: 0;
    }

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

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

    .btn {
        width: 100%;
        max-width: 260px;
    }

    .img-badge {
        right: 10px;
        bottom: -15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .logo-text strong {
        font-size: 17px;
    }

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

    .stat-item::after {
        display: none !important;
    }
}
