/* ===== 云暖·肆芳 — logo 动效 & 辅助增强 ===== */
.brand-logo { display: inline-flex; align-items: center; }
.logo-img { width: 168px; height: auto; display: block; }

/* logo 入场：云飘 + 整体淡入上浮 */
.brand-logo .logo-img { animation: logoRise .9s var(--ease) both; }
.brand-logo .logo-img .cloud,
.brand-logo .logo-img [stroke="#C4683A"] { transform-origin: 24px 16px; animation: cloudFloat 5.5s ease-in-out infinite; }
@keyframes logoRise { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes cloudFloat { 0%,100% { transform: translateX(0); } 50% { transform: translateX(3px); } }

/* 悬停：暖阳呼吸 + 整体微放大 */
.brand-logo:hover .logo-img { transform: scale(1.03); transition: transform .3s var(--ease); }
.brand-logo:hover .logo-img circle[fill="#C49B45"] { animation: sunPulse 1.4s ease-in-out infinite; }
@keyframes sunPulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

/* 页脚深色底的 logo：用 CSS 滤镜做暖色版（无需额外图片） */
.f-brand .logo-img { filter: brightness(0) invert(1); opacity: .92; }

/* 图片懒加载占位 */
img[data-src] { background: var(--paper-3); min-height: 1px; }
img.is-loaded { animation: imgIn .6s var(--ease) both; }
@keyframes imgIn { from { opacity: 0; } to { opacity: 1; } }

/* 关键图预加载提示（hero 已在 CSS 里预加载，此处无需重复） */
@media (prefers-reduced-motion: reduce) {
  .brand-logo .logo-img, .brand-logo .logo-img [stroke="#C4683A"],
  .brand-logo:hover .logo-img circle[fill="#C49B45"], img.is-loaded { animation: none !important; }
}

/* ===== 客服浮动按钮 ===== */
.fab { position: fixed; right: 18px; bottom: 22px; z-index: 200; font-family: var(--sans); }
.fab-btn { width: 52px; height: 52px; border-radius: 50%; background: var(--sunset); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(196,104,58,.4);
  transition: transform .3s var(--ease), background .3s var(--ease); }
.fab-btn:hover { transform: scale(1.06); background: #b25a30; }
.fab.is-open .fab-btn { background: var(--moss-deep); }
.fab-panel { position: absolute; right: 0; bottom: 66px; display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(8px) scale(.96); transform-origin: bottom right; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease); }
.fab.is-open .fab-panel { opacity: 1; transform: none; pointer-events: auto; }
.fab-item { display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--line);
  padding: 11px 16px 11px 13px; border-radius: 100px; text-decoration: none; color: var(--ink);
  box-shadow: 0 6px 22px rgba(43,42,38,.16); cursor: pointer; text-align: left; min-width: 198px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.fab-item:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(43,42,38,.22); }
.fab-ic { font-size: 19px; line-height: 1; }
.fab-item b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.fab-item small { display: block; font-size: 11.5px; color: var(--ink-mute); line-height: 1.4; }
.fab-call .fab-ic { color: var(--sunset); }
.fab-wx .fab-ic { color: var(--moss-deep); }
@media (max-width: 520px) { .fab { right: 12px; bottom: 16px; } }
