/*
 * 無限拉面 · FC 招商站 v2.2.0 动效与新板块样式
 * 冷宣纸高级感延续：近白底 / 墨黑字 / 白卡细灰边 / 朱红点缀
 * 动效统一 200-700ms，全部尊重 prefers-reduced-motion
 */

/* ---------- 滚动入场 ---------- */
.fc-js .fc-section-head,
.fc-js .fc-why-item,
.fc-js .fc-story-node,
.fc-js .fc-fin,
.fc-js .fc-sup-row,
.fc-js .fc-case,
.fc-js .fc-dish,
.fc-js .fc-store-card,
.fc-js .fc-region,
.fc-js .fc-faq-item,
.fc-js .fc-step,
.fc-js .fc-stat,
.fc-js .fc-news-card,
.fc-js .fc-video-preview-card,
.fc-js .fc-partner,
.fc-js .fc-testimonial,
.fc-js .fc-social-card,
.fc-js .fc-banner-label,
.fc-js .fc-banner-title,
.fc-js .fc-banner-sub,
.fc-js .fc-banner-cta {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
}
.fc-js .is-revealed {
    opacity: 1 !important;
    transform: none !important;
}
/* 同组元素错峰：用 nth-child 制造节奏 */
.fc-js .fc-why-item:nth-child(2), .fc-js .fc-story-node:nth-child(2), .fc-js .fc-step:nth-child(2), .fc-js .fc-stat:nth-child(2), .fc-js .fc-partner:nth-child(2) { transition-delay: .08s; }
.fc-js .fc-why-item:nth-child(3), .fc-js .fc-story-node:nth-child(3), .fc-js .fc-step:nth-child(3), .fc-js .fc-stat:nth-child(3), .fc-js .fc-partner:nth-child(3) { transition-delay: .16s; }
.fc-js .fc-why-item:nth-child(4), .fc-js .fc-story-node:nth-child(4), .fc-js .fc-step:nth-child(4), .fc-js .fc-stat:nth-child(4), .fc-js .fc-partner:nth-child(4) { transition-delay: .24s; }
.fc-js .fc-why-item:nth-child(n+5), .fc-js .fc-story-node:nth-child(n+5), .fc-js .fc-step:nth-child(n+5), .fc-js .fc-stat:nth-child(n+5), .fc-js .fc-partner:nth-child(n+5) { transition-delay: .3s; }
.fc-js .fc-banner-title { transition-delay: .1s; }
.fc-js .fc-banner-sub { transition-delay: .18s; }
.fc-js .fc-banner-cta { transition-delay: .26s; }

/* ---------- 首屏文案入场 ---------- */
/* v2.3.8 性能：标题（LCP 候选）保持 opacity 可见，只做 transform 位移动画，避免人为推迟 LCP */
@keyframes fc-hero-in {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}
@keyframes fc-hero-in-visible {
    from { transform: translateY(22px); }
    to { transform: none; }
}
.fc-js .fc-hero-left > *,
.fc-js .fc-hero-card {
    opacity: 0;
    animation: fc-hero-in .7s cubic-bezier(.2,.7,.2,1) forwards;
}
/* 主标题与卖点卡：不隐藏内容，仅位移，LCP 元素立即可见 */
.fc-js .fc-hero-title,
.fc-js .fc-hero .fc-kicker,
.fc-js .fc-hero-card { opacity: 1; animation-name: fc-hero-in-visible; }
.fc-js .fc-hero-seal { animation-delay: .05s; }
.fc-js .fc-hero .fc-kicker { animation-delay: .12s; }
.fc-js .fc-hero-title { animation-delay: .2s; }
.fc-js .fc-hero-sub { animation-delay: .28s; }
.fc-js .fc-hero-actions { animation-delay: .36s; }
.fc-js .fc-hero-trust { animation-delay: .44s; }
.fc-js .fc-hero-card { animation-delay: .3s; }

/* v2.3.1 | SCROLL 指示：发丝轨道 + 墨点匀速下落渐隐（克制，无弹跳） */
@keyframes fc-scroll-dot {
    0%   { transform: translateY(0);      opacity: 0; }
    18%  { transform: translateY(0);      opacity: 1; }
    72%  { transform: translateY(9px);    opacity: 1; }
    100% { transform: translateY(15px);   opacity: 0; }
}
@keyframes fc-scroll-track-shift {
    0%, 100% { opacity: .55; }
    50%      { opacity: 1; }
}

/* ---------- 时间轴 / 流程线绘制 ---------- */
.fc-story, .fc-steps { position: relative; }
@keyframes fc-line-grow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}
.fc-js .fc-story::before,
.fc-js .fc-steps::before {
    content: ''; position: absolute; left: 9px; top: 6px;
    width: 1px; height: calc(100% - 12px);
    background: var(--fc-line-dark); transform-origin: top;
}
.fc-js .fc-story.is-revealed::before,
.fc-js .fc-steps.is-revealed::before { animation: fc-line-grow .9s ease forwards; }
.fc-story-node .fc-story-dot,
.fc-step .fc-step-num {
    position: relative; z-index: 1;
    transition: border-color .3s, color .3s, background .3s;
}
.fc-js .fc-story-node.is-revealed .fc-story-dot,
.fc-js .fc-step.is-revealed .fc-step-num { border-color: var(--fc-shu); }

/* ---------- 微交互：图片缩放 / 按钮箭头 ---------- */
.fc-dish-img img,
.fc-case-img img,
.fc-store-img img,
.fc-banner-visual img {
    transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.fc-dish:hover .fc-dish-img img,
.fc-case:hover .fc-case-img img,
.fc-store-card:hover .fc-store-img img,
.fc-banner-slide:hover .fc-banner-visual img { transform: scale(1.04); }
.fc-btn .fc-arrow { display: inline-block; transition: transform .25s ease; }
.fc-btn:hover .fc-arrow { transform: translateX(4px); }

/* ---------- 门店状态脉冲点 ---------- */
@keyframes fc-pulse {
    0% { box-shadow: 0 0 0 0 rgba(176,43,46,.45); }
    70% { box-shadow: 0 0 0 10px rgba(176,43,46,0); }
    100% { box-shadow: 0 0 0 0 rgba(176,43,46,0); }
}
.fc-store-card .fc-store-name::before {
    content: ''; display: inline-block; width: 7px; height: 7px;
    border-radius: 50%; background: var(--fc-shu);
    margin-right: 9px; vertical-align: middle;
    animation: fc-pulse 2.2s ease-out infinite;
}
.fc-region.is-hot .fc-region-name::after {
    content: ''; display: inline-block; width: 6px; height: 6px;
    border-radius: 50%; background: var(--fc-shu); margin-left: 8px;
    animation: fc-pulse 2.2s ease-out infinite;
}

/* ---------- 品牌叙事横幅 Banner ---------- */
.fc-banner {
    position: relative; background: var(--fc-white);
    border-bottom: 1px solid var(--fc-line); overflow: hidden;
}
.fc-banner-slides { position: relative; height: 520px; }
.fc-banner-slide {
    position: absolute; inset: 0;
    display: grid; grid-template-columns: 1fr 1fr;
    opacity: 0; visibility: hidden;
    transition: opacity .7s ease, visibility .7s ease;
}
.fc-banner-slide.is-active { opacity: 1; visibility: visible; }
.fc-banner-copy {
    display: flex; flex-direction: column; justify-content: center;
    padding: 60px clamp(32px, 6vw, 96px); background: var(--fc-white);
}
.fc-banner-label {
    font-size: 12px; letter-spacing: .28em; color: var(--fc-shu);
    margin-bottom: 20px; text-transform: uppercase;
}
.fc-banner-title {
    font-family: var(--fc-serif, serif); font-size: clamp(32px, 3.6vw, 52px);
    line-height: 1.25; color: var(--fc-ink); margin: 0 0 20px;
    font-weight: 700; letter-spacing: .02em;
}
.fc-banner-title .fc-accent { color: var(--fc-shu); }
.fc-banner-sub {
    font-size: 15px; line-height: 1.9; color: var(--fc-gray);
    max-width: 420px; margin: 0 0 32px;
}
.fc-banner-cta { display: flex; }
.fc-banner-visual { position: relative; overflow: hidden; background: var(--fc-soft); }
.fc-banner-visual img {
    display: block; width: 100%; height: 100%; object-fit: cover;
}
.fc-banner-visual::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(246,246,244,.28), transparent 40%);
    pointer-events: none;
}
/* v2.3.8：controls 容器接管原 dots 的绝对定位，内部横排不换行 */
.fc-banner-controls {
    position: absolute; left: clamp(32px, 6vw, 96px); bottom: 36px;
    display: flex; align-items: center; gap: 16px; z-index: 2;
}
.fc-banner-dots { display: flex; gap: 10px; }
/* 暂停/播放按钮：白底横幅上用墨色描边 + 墨色图标，与灰圆点协调的单色设计 */
.fc-banner-toggle {
    position: relative; width: 26px; height: 26px; padding: 0; cursor: pointer;
    border: 1px solid var(--fc-line-dark); border-radius: 50%; background: transparent;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.fc-banner-toggle:hover { border-color: var(--fc-shu); }
.fc-banner-toggle-icon { display: block; width: 8px; height: 9px; }
/* 播放态显示「暂停」双竖条；暂停态显示「播放」三角 */
.fc-banner-toggle[data-state="playing"] .fc-banner-toggle-icon {
    border-left: 3px solid var(--fc-ink); border-right: 3px solid var(--fc-ink); height: 9px;
}
.fc-banner-toggle[data-state="paused"] .fc-banner-toggle-icon {
    width: 0; height: 0; border-left: 9px solid var(--fc-ink);
    border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px;
}
.fc-banner-toggle:hover .fc-banner-toggle-icon {
    border-left-color: var(--fc-shu); border-right-color: var(--fc-shu);
}
.fc-banner-toggle[data-state="paused"]:hover .fc-banner-toggle-icon {
    border-left-color: var(--fc-shu); border-right-color: transparent;
}
.fc-banner-toggle::after { content: ''; position: absolute; left: -8px; right: -8px; top: -8px; bottom: -8px; }
.fc-banner-dot {
    position: relative;
    width: 30px; height: 3px; padding: 0; border: 0; cursor: pointer;
    background: var(--fc-line-dark); border-radius: 2px;
    transition: background .3s, width .3s;
}
/* v2.3.3：3px 视觉高度的点击区过小，透明伪元素扩至 30×24 提升触控可用性 */
.fc-banner-dot::after {
    content: ''; position: absolute; left: 0; right: 0; top: -11px; bottom: -11px;
}
.fc-banner-dot.is-active { background: var(--fc-shu); width: 54px; }

/* ---------- 新闻预览 ---------- */
.fc-news-preview-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px; margin-top: 8px;
}
.fc-news-card {
    display: block; text-decoration: none; color: inherit;
    background: var(--fc-white); border: 1px solid var(--fc-line);
    border-radius: 10px; overflow: hidden;
    transition: border-color .25s, transform .25s;
}
.fc-news-card:hover { border-color: var(--fc-shu); transform: translateY(-3px); }
.fc-news-card-date {
    font-size: 12px; letter-spacing: .1em; color: var(--fc-gray-light);
    padding: 22px 24px 0; display: block;
}
.fc-news-card-title {
    font-size: 17px; font-weight: 600; line-height: 1.55; color: var(--fc-ink);
    padding: 12px 24px 10px; margin: 0; display: block;
}
.fc-news-card-excerpt {
    font-size: 13px; line-height: 1.8; color: var(--fc-gray);
    padding: 0 24px 24px; margin: 0; display: block;
}
.fc-news-more-wrap { text-align: center; margin-top: 34px; }

/* ---------- 视频入口 ---------- */
.fc-video-preview-card {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
    background: var(--fc-white); border: 1px solid var(--fc-line);
    border-radius: 12px; overflow: hidden;
}
.fc-video-preview-copy {
    padding: clamp(32px, 5vw, 64px); display: flex;
    flex-direction: column; justify-content: center;
}
.fc-video-preview-copy > .fc-label { margin-bottom: 18px; }
.fc-video-preview-lead {
    font-family: var(--fc-serif, serif); font-size: clamp(22px, 2.6vw, 32px);
    line-height: 1.6; color: var(--fc-ink); margin: 0 0 14px; font-weight: 700;
}
.fc-video-preview-sub { color: var(--fc-gray); line-height: 1.9; font-size: 14px; margin: 0 0 28px; }
.fc-video-preview-visual {
    position: relative; min-height: 320px; overflow: hidden;
    background: var(--fc-ink); display: flex; align-items: center; justify-content: center;
}
.fc-video-preview-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.fc-video-play {
    position: absolute; width: 72px; height: 72px; border-radius: 50%;
    background: var(--fc-shu); color: #fff; display: flex;
    align-items: center; justify-content: center; font-size: 22px;
    text-decoration: none; transition: transform .25s;
}
.fc-video-play:hover { transform: scale(1.08); }

/* ---------- 合作品牌墙 ---------- */
.fc-partners-grid {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px; margin-top: 8px;
}
.fc-partner {
    background: var(--fc-white); border: 1px solid var(--fc-line);
    border-radius: 10px; min-height: 108px; padding: 18px;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: border-color .25s, filter .25s;
}
.fc-partner:hover { border-color: var(--fc-shu); }
.fc-partner img { max-width: 100%; max-height: 58px; object-fit: contain; }
.fc-partner-name {
    font-size: 15px; font-weight: 600; color: var(--fc-ink-2, #3d3d3d);
    letter-spacing: .04em; text-align: center;
}

/* ---------- 客户口碑 ---------- */
.fc-testimonials-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px; margin-top: 8px;
}
.fc-testimonial {
    background: var(--fc-white); border: 1px solid var(--fc-line);
    border-radius: 10px; padding: 30px 26px; display: flex;
    flex-direction: column; gap: 16px;
}
.fc-testimonial-quote {
    font-family: var(--fc-serif, serif); font-size: 42px; line-height: 1;
    color: var(--fc-shu); opacity: .35;
}
.fc-testimonial-text {
    font-size: 14px; line-height: 1.9; color: var(--fc-ink-2, #3d3d3d);
    margin: 0; flex: 1;
}
.fc-testimonial-author {
    font-size: 13px; color: var(--fc-gray); border-top: 1px solid var(--fc-line);
    padding-top: 16px;
}
.fc-testimonial-author strong { color: var(--fc-ink); font-weight: 600; }
.fc-testimonial.is-extra { display: none; }

/* ---------- 关注我们（社媒区）v2.3.1 · 单色克制 ---------- */
.fc-social { background: var(--fc-white, #fff); }
.fc-social-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0; margin-top: 8px;
    border-top: 1px solid var(--fc-line);
}
.fc-social-card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
    padding: 26px 24px 22px; background: transparent;
    border: 0; border-bottom: 1px solid var(--fc-line);
    border-right: 1px solid var(--fc-line);
    text-decoration: none; color: var(--fc-ink);
    transition: background-color .25s ease, color .25s ease;
}
.fc-social-card:hover { background: var(--fc-paper, #f6f6f4); }
.fc-social-card-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 0; color: var(--fc-ink-2);
    background: transparent;
    transition: color .25s ease;
}
.fc-social-card-icon svg { width: 24px; height: 24px; display: block; }
.fc-social-card:hover .fc-social-card-icon { color: var(--fc-shu); }
.fc-social-card-name { font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.fc-social-card-btn {
    font-size: 12px; color: var(--fc-gray); margin-top: 2px;
    display: inline-flex; align-items: center; gap: 4px;
    transition: color .25s ease;
}
.fc-social-card-btn span { transition: transform .25s ease; }
.fc-social-card:hover .fc-social-card-btn { color: var(--fc-shu); }
.fc-social-card:hover .fc-social-card-btn span { transform: translateX(3px); }
.fc-social-card:focus-visible { outline: 2px solid var(--fc-shu); outline-offset: -2px; }

/* ---------- Hero 视频背景 ---------- */
.fc-hero-video {
    position: absolute; inset: -10% 0 auto; width: 100%; height: 120%;
    object-fit: cover; z-index: 0; pointer-events: none;
}
/* 视频层之上依次是遮罩、内容、底栏 */
.fc-hero-hasvideo .fc-hero-overlay { z-index: 1; }
.fc-hero-hasvideo .fc-hero-inner,
.fc-hero-hasvideo .fc-hero-foot { z-index: 2; }
.fc-hero-hasvideo .fc-hero-overlay {
    background: linear-gradient(100deg, rgba(246,246,244,.96), rgba(246,246,244,.80));
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
    .fc-news-preview-grid, .fc-testimonials-grid { grid-template-columns: 1fr; }
    .fc-partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .fc-banner-slides { height: auto; min-height: 460px; }
    .fc-banner-slide { position: relative; grid-template-columns: 1fr; }
    .fc-banner-slide:not(.is-active) { display: none; }
    .fc-banner-copy { padding: 48px 28px 72px; }
    .fc-banner-visual { min-height: 240px; }
    .fc-banner-controls { left: 28px; bottom: 24px; }
    .fc-video-preview-card { grid-template-columns: 1fr; }
    .fc-video-preview-visual { min-height: 240px; }
}
@media (max-width: 600px) {
    .fc-partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fc-social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fc-social-card { padding: 20px 16px 18px; gap: 10px; }
    .fc-social-card-icon { width: 28px; height: 28px; }
    .fc-social-card-icon svg { width: 20px; height: 20px; }
    .fc-social-card-name { font-size: 14px; }
}

/* ---------- 无障碍：减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
    .fc-js .fc-section-head,
    .fc-js .fc-why-item,
    .fc-js .fc-story-node,
    .fc-js .fc-fin,
    .fc-js .fc-sup-row,
    .fc-js .fc-case,
    .fc-js .fc-dish,
    .fc-js .fc-store-card,
    .fc-js .fc-region,
    .fc-js .fc-faq-item,
    .fc-js .fc-step,
    .fc-js .fc-stat,
    .fc-js .fc-news-card,
    .fc-js .fc-video-preview-card,
    .fc-js .fc-partner,
    .fc-js .fc-testimonial,
    .fc-js .fc-social-card,
    .fc-js .fc-banner-label,
    .fc-js .fc-banner-title,
    .fc-js .fc-banner-sub,
    .fc-js .fc-banner-cta,
    .fc-js .fc-hero-left > *,
    .fc-js .fc-hero-card {
        opacity: 1 !important; transform: none !important; animation: none !important;
    }
    .fc-hero-foot-line, .fc-store-card .fc-store-name::before,
    .fc-region.is-hot .fc-region-name::after { animation: none !important; }
    .fc-hero-scroll-track, .fc-hero-scroll-dot { animation: none !important; opacity: 1 !important; }
    .fc-hero-scroll-dot { display: none !important; }
    .fc-js .fc-story::before, .fc-js .fc-steps::before { animation: none !important; transform: none !important; }
    .fc-dish-img img, .fc-case-img img, .fc-store-img img, .fc-banner-visual img { transition: none !important; }
}
