/* ====== 金华悦·百年玺宴 共享样式 V12 ====== */
:root {
    --bailu: #F8F0E7;
    --peach: #EFD8CE;
    --rosegold: #D99271;
    --chestnut: #3F230D;
    --lantern: #D90007;
    --gold: #C9A96E;
    --gold-light: #E8D5A3;
    --dark: #0D0D0D;
    --dark-light: #1A1A1A;
    --white: #FFFFFF;
    --max-width: 1400px;
    --nav-height: 80px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    /* 使用用户本机系统字体栈，避免依赖外部字体 CDN 导致加载失败或域名不可解析。 */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    color: var(--chestnut);
    background: var(--bailu);
    line-height: 1.8;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ====== 导航栏 ====== */
.main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    transition: var(--transition);
    background: transparent;
}

.main-nav.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0,0,0,0.1);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.main-nav.scrolled .nav-logo img,
.inner-page-nav .nav-logo img {
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(16px, 1.8vw, 30px);
    list-style: none;
    white-space: nowrap;
}

.nav-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    letter-spacing: 1px;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
    font-weight: 400;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-nav {
    padding: 10px 22px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    font-size: 0.85rem;
    color: white;
    transition: var(--transition);
    background: transparent;
    cursor: pointer;
}

.btn-nav:hover {
    background: white;
    color: var(--chestnut);
}

.btn-nav-primary {
    background: var(--lantern);
    border-color: var(--lantern);
}

.btn-nav-primary:hover {
    background: #b80006;
    border-color: #b80006;
    color: white;
}

.nav-phone {
    color: white;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* 公共移动菜单展开态：由 js/site.js 管理 aria、遮罩和滚动锁。 */
.site-menu-backdrop[hidden] { display: none; }
.site-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    border: 0;
    background: rgba(0, 0, 0, .55);
}

body.menu-open { overflow: hidden; }

/* 内页导航深色 */
.inner-page-nav {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
}

/* ====== 格莱美同款右侧切换器 ====== */
.grammy-switcher {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 6px;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}

.grammy-switcher.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-50%) translateX(20px);
}

.grammy-switcher-line {
    position: absolute;
    left: 50%;
    top: 18px;
    bottom: 54px;
    width: 1px;
    background: rgba(255,255,255,0.15);
    transform: translateX(-50%);
    z-index: 0;
}

.grammy-switcher-item {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    margin: 6px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grammy-switcher-item::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: all 0.4s ease;
    opacity: 0;
}

.grammy-switcher-item.active {
    color: white;
    font-weight: 700;
}

.grammy-switcher-item.active::before {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.25);
    opacity: 1;
}

.grammy-switcher-item:hover {
    color: white;
}

.grammy-switcher-item:hover::before {
    opacity: 1;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.15);
}

.grammy-switcher-skip {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    padding: 10px 4px 0;
    margin-top: 8px;
    transition: all 0.3s ease;
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 2;
    background: transparent;
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.grammy-switcher-skip:hover {
    color: white;
    letter-spacing: 3px;
}

/* ====== 通用按钮 ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-gold {
    background: var(--gold);
    color: white;
}

.btn-gold:hover {
    background: var(--chestnut);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--chestnut);
}

.btn-dark {
    background: var(--chestnut);
    color: white;
}

.btn-dark:hover {
    background: var(--lantern);
}

/* ====== 页面通用标题系统 ====== */
.page-section {
    padding: 120px 5%;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 72px;
}

.section-title-en {
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--rosegold);
    margin-bottom: 16px;
    font-weight: 500;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--chestnut);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.section-title p {
    font-size: 1.05rem;
    color: var(--rosegold);
    max-width: 700px;
    margin: 0 auto;
}

/* ====== 内页 Hero ====== */
.inner-hero {
    height: 60vh;
    min-height: 480px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--dark);
}

.inner-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.inner-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}

.inner-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 5%;
}

.inner-hero-en {
    font-size: 0.85rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.inner-hero h1 {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 24px;
}

.inner-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* ====== 格莱美风格图文交替区块 ====== */
.gm-showcase {
    position: relative;
    overflow: hidden;
}

.gm-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    align-items: center;
}

.gm-row:nth-child(even) .gm-image {
    order: 2;
}

.gm-image {
    position: relative;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}

.gm-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gm-row:hover .gm-image img {
    transform: scale(1.05);
}

.gm-text {
    padding: 80px 10%;
    background: var(--bailu);
}

.gm-text-en {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--rosegold);
    margin-bottom: 16px;
}

.gm-text h3 {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--chestnut);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.gm-text-subtitle {
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 28px;
    font-style: italic;
}

.gm-text-desc {
    font-size: 1rem;
    color: var(--chestnut);
    opacity: 0.85;
    line-height: 2;
    margin-bottom: 32px;
}

.gm-text-params {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    margin-bottom: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(63,35,13,0.1);
}

.gm-param {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--chestnut);
    opacity: 0.8;
}

/* ====== 数据网格 ====== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 5%;
}

.stat-item {
    text-align: center;
    padding: 32px 16px;
    border-right: 1px solid rgba(63,35,13,0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--chestnut);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-number span {
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--rosegold);
}

/* ====== 团队卡片 ====== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.team-card {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.team-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--peach), var(--bailu));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.team-card h4 {
    font-size: 1.2rem;
    color: var(--chestnut);
    margin-bottom: 10px;
}

.team-card p {
    font-size: 0.9rem;
    color: var(--rosegold);
    line-height: 1.6;
}

/* ====== 荣誉跑马灯 ====== */
.honors-marquee {
    overflow: hidden;
    padding: 40px 0;
    background: white;
}

.honors-track {
    display: flex;
    animation: marquee 40s linear infinite;
    width: max-content;
}

.honor-item {
    padding: 16px 40px;
    border: 1px solid rgba(63,35,13,0.1);
    border-radius: 50px;
    margin: 0 12px;
    font-size: 0.95rem;
    color: var(--chestnut);
    white-space: nowrap;
    background: var(--bailu);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ====== 发展历程时间线 ====== */
.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(63,35,13,0.15);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-year {
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    order: -1;
    text-align: right;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 3px solid var(--bailu);
    box-shadow: 0 0 0 2px var(--gold);
}

.timeline-year {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--chestnut);
}

.timeline-content h4 {
    font-size: 1.2rem;
    color: var(--chestnut);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--rosegold);
    line-height: 1.8;
}

/* ====== 服务全宽区块 ====== */
.service-full {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.service-full:nth-child(odd) {
    background: var(--bailu);
}

.service-full:nth-child(even) {
    background: var(--peach);
}

.service-full-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-full:nth-child(even) .service-full-inner {
    direction: rtl;
}

.service-full:nth-child(even) .service-text {
    direction: ltr;
}

.service-full:nth-child(even) .service-visual {
    direction: ltr;
}

.service-en {
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--rosegold);
    margin-bottom: 16px;
}

.service-full h3 {
    font-size: 2.6rem;
    color: var(--chestnut);
    margin-bottom: 24px;
    font-weight: 600;
}

.service-full p {
    font-size: 1.05rem;
    color: var(--chestnut);
    opacity: 0.85;
    line-height: 2;
    margin-bottom: 32px;
}

.service-visual {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.service-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ====== 招聘岗位卡片 ====== */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.job-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: var(--transition);
    border: 1px solid rgba(63,35,13,0.06);
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(63,35,13,0.08);
}

.job-title {
    font-size: 1.5rem;
    color: var(--chestnut);
    font-weight: 600;
}

.job-salary {
    font-size: 1.1rem;
    color: var(--lantern);
    font-weight: 600;
}

.job-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.job-meta span {
    font-size: 0.85rem;
    color: var(--rosegold);
    padding: 4px 12px;
    background: var(--bailu);
    border-radius: 20px;
}

.job-section h5 {
    font-size: 0.95rem;
    color: var(--chestnut);
    margin-bottom: 12px;
    font-weight: 600;
}

.job-section ul {
    list-style: none;
    margin-bottom: 24px;
    padding-left: 0;
}

.job-section li {
    font-size: 0.9rem;
    color: var(--chestnut);
    opacity: 0.8;
    padding: 6px 0 6px 18px;
    position: relative;
    line-height: 1.6;
}

.job-section li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 1.2rem;
    line-height: 1;
}

/* ====== 口碑与荣誉 ====== */
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: var(--max-width);
    margin: 0 auto 80px;
}

.review-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: var(--transition);
    display: block;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.review-cover {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--chestnut), var(--rosegold));
    overflow: hidden;
}

.review-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.review-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.review-platform {
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--gold);
}

.review-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.review-body {
    padding: 24px;
}

.review-quote {
    font-size: 0.95rem;
    color: var(--chestnut);
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 16px;
}

.review-author {
    font-size: 0.85rem;
    color: var(--rosegold);
}

/* ====== 荣誉网格 ====== */
.honors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.honor-card {
    background: white;
    border: 1px solid rgba(63,35,13,0.08);
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    transition: var(--transition);
}

.honor-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.honor-card .icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.honor-card h4 {
    font-size: 1rem;
    color: var(--chestnut);
    line-height: 1.5;
}

/* ====== 页脚 ====== */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 5% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: var(--max-width);
    margin: 0 auto 60px;
}

.footer-brand img {
    height: 56px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    opacity: 0.8;
}

.footer-col h4 {
    font-size: 1rem;
    color: white;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

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

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    font-size: 0.9rem;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col a:hover {
    opacity: 1;
    color: var(--gold);
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ====== 页脚“关注我们”自媒体区 ====== */
.footer-social {
    max-width: var(--max-width);
    margin: 0 auto 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-social h4 {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 24px;
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.footer-social h4::after {
    content: "";
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    border-radius: 2px;
}

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

.social-card {
    position: relative;
    min-width: 0;
}

.social-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 64px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    color: white;
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.social-trigger:hover,
.social-trigger:focus-visible,
.social-card.is-open .social-trigger {
    border-color: var(--gold);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(212,175,55,0.25);
    transform: translateY(-2px);
    outline: none;
}

.social-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    background: rgba(212,175,55,0.14);
    border: 1px solid rgba(212,175,55,0.35);
    transition: background 0.25s ease;
}

.social-card:hover .social-icon { background: rgba(212,175,55,0.26); }
.social-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.social-title { font-size: 14px; font-weight: 500; letter-spacing: 0.5px; }
.social-state { margin-left: auto; color: rgba(255,255,255,0.55); font-size: 11px; white-space: nowrap; }

/* 展开二维码气泡：桌面悬停/聚焦、移动端点击展开 */
.social-popover {
    position: absolute;
    right: 0;
    bottom: calc(100% + 14px);
    z-index: 3;
    width: min(272px, 90vw);
    padding: 20px;
    border-radius: 16px;
    background: #fffaf3;
    color: var(--chestnut);
    box-shadow: 0 18px 48px rgba(0,0,0,0.35);
}

.social-popover::after {
    content: "";
    position: absolute;
    right: 28px;
    bottom: -8px;
    width: 16px;
    height: 16px;
    background: #fffaf3;
    transform: rotate(45deg);
    border-radius: 2px;
}

.social-popover[hidden] { display: none; }
@media (min-width: 769px) {
    .social-card:hover .social-popover,
    .social-card:focus-within .social-popover { display: block; }
}

.social-popover-title { display: block; font-size: 15px; font-weight: 600; }
.social-popover p { margin: 8px 0; font-size: 12px; line-height: 1.7; }
.social-qr {
    display: grid;
    place-items: center;
    width: 148px;
    height: 148px;
    margin: 14px auto;
    border: 1px solid rgba(212,175,55,0.4);
    border-radius: 12px;
    background: white;
    color: var(--rosegold);
    font-size: 12px;
    text-align: center;
}
.social-qr img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.social-go {
    display: block;
    margin-top: 4px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--rosegold));
    color: white;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.social-go:hover { opacity: 0.88; transform: translateY(-1px); }

/* 页脚联系方式：电话链接与“扫码咨询”角标 */
.footer-contact-link {
    color: var(--gold);
    opacity: 0.95;
    transition: opacity 0.2s ease;
}
.footer-contact-link:hover { opacity: 1; text-decoration: underline; }
.footer-contact-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: 999px;
    background: rgba(212,175,55,0.2);
    border: 1px solid rgba(212,175,55,0.45);
    color: var(--gold);
    font-size: 11px;
    vertical-align: 2px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .footer-social { padding-top: 28px; }
    .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .social-popover { left: 0; right: auto; }
    .social-popover::after { left: 28px; right: auto; }
    .social-trigger { min-height: 56px; }
}

/* ====== 动画 ====== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }

/* ====== 响应式 ====== */
@media (max-width: 1200px) {
    .nav-links { gap: 24px; }
    .gm-row { min-height: auto; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .stat-item:nth-child(3n) { border-right: none; }
    .stat-item:nth-child(6n) { border-right: 1px solid rgba(63,35,13,0.1); }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        z-index: 1001;
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
        padding: 20px 5% 28px;
        background: rgba(13, 13, 13, .98);
        box-shadow: 0 12px 30px rgba(0,0,0,.2);
        white-space: normal;
    }
    .main-nav.is-open .nav-links {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }
    .main-nav.is-open .nav-links li { border-bottom: 1px solid rgba(255,255,255,.1); }
    .main-nav.is-open .nav-links a { display: block; padding: 13px 0; }
    .mobile-menu-btn { display: block; position: relative; z-index: 1002; }
    .nav-cta { display: none; }
    .gm-row,
    .service-full-inner { grid-template-columns: 1fr; }
    .gm-row:nth-child(even) .gm-image { order: 0; }
    .gm-image { min-height: 360px; }
    .service-full:nth-child(even) .service-full-inner { direction: ltr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .jobs-grid { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }
    .honors-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline::before { left: 20px; }
    .timeline-item { grid-template-columns: 1fr; padding-left: 50px; }
    .timeline-item:nth-child(even) .timeline-year,
    .timeline-item:nth-child(even) .timeline-content { text-align: left; order: 0; }
    .timeline-dot { left: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border: none; }
    .team-grid { grid-template-columns: 1fr; }
    .honors-grid { grid-template-columns: 1fr; }
    .inner-hero h1 { font-size: 2.2rem; }
    .section-title h2 { font-size: 2rem; }
    .gm-text h3 { font-size: 1.8rem; }
    .service-full h3 { font-size: 1.8rem; }
    .grammy-switcher { right: 12px; padding: 14px 4px; }
    .grammy-switcher-item { width: 30px; height: 30px; font-size: 0.7rem; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ====== 企业微信客服模态框 ====== */
.wecom-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.wecom-modal.show,
.wecom-modal.active {
    display: flex;
    opacity: 1;
}

.wecom-modal-content {
    background: white;
    border-radius: 20px;
    padding: 48px 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.5s ease;
}

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

.wecom-modal-close {
    position: absolute;
    top: 16px; right: 20px;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--chestnut);
    opacity: 0.5;
    transition: var(--transition);
}

.wecom-modal-close:hover {
    opacity: 1;
}

.wecom-modal-icon {
    font-size: 3.6rem;
    margin-bottom: 20px;
}

.wecom-modal h3 {
    font-size: 1.6rem;
    color: var(--chestnut);
    margin-bottom: 16px;
    font-weight: 600;
}

.wecom-modal p {
    font-size: 0.95rem;
    color: var(--chestnut);
    opacity: 0.75;
    line-height: 1.8;
    margin-bottom: 28px;
}

.wecom-modal-qr {
    width: 240px;
    height: 240px;
    margin: 0 auto 20px;
    border-radius: 12px;
    background: var(--bai lu);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--chestnut);
    opacity: 0.5;
    font-size: 0.9rem;
    border: 2px dashed var(--rosegold);
}

/* 导航栏企微按钮 */
.nav-phone {
    background: none;
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.nav-phone:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.7);
}

.main-nav.scrolled .nav-phone {
    border-color: var(--chestnut);
    color: var(--chestnut);
}

.main-nav.scrolled .nav-phone:hover {
    background: var(--chestnut);
    color: white;
}

/* ====== 首页真实案例板块 ====== */
.home-cases {
    padding: 140px 5%;
    background: var(--white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
    max-width: var(--max-width);
    margin: 48px auto 0;
}

.case-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bailu);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
    position: relative;
    text-decoration: none;
    color: inherit;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.case-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.case-info {
    padding: 24px;
}

.case-couple {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--chestnut);
    margin-bottom: 8px;
}

.case-meta {
    font-size: 0.85rem;
    color: var(--chestnut);
    opacity: 0.65;
    margin-bottom: 12px;
}

.case-platform {
    font-size: 0.85rem;
    color: var(--rosegold);
    font-weight: 500;
}

.case-platform-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    color: white;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 2;
    transition: var(--transition);
}

.case-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--denglong-red);
    font-size: 1.2rem;
    z-index: 2;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.case-card:hover .case-play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background: white;
}

.case-card:hover .case-platform-overlay {
    background: rgba(217,0,7,0.85);
}
