/* ============================================================
   华达（深圳）拍卖有限公司 官网 - 自定义样式
   设计系统：阿里资产红渐变（#C8202A → #E4332C → #F0553A）+ 暖白
   ============================================================ */

:root {
  --brand-950: #3A070A;
  --brand-900: #6E0E12;
  --brand-800: #A3121B;
  --brand-700: #C8202A;
  --brand-600: #E4332C;
  --brand-500: #F0553A;
  --brand-100: #FDE8E2;
  --brand-50: #FEF4F2;
  --ink: #1F2329;
  --paper: #FAF8F7;
  --muted: #6B7280;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

.font-serif-sc {
  font-family: "Noto Serif SC", "Songti SC", serif;
}

/* ---------- 品牌渐变 ---------- */
.brand-gradient {
  background: linear-gradient(100deg, var(--brand-700) 0%, var(--brand-600) 45%, var(--brand-500) 100%);
}

/* ---------- Header（白底吸顶） ---------- */
#site-header {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  transition: box-shadow .3s ease;
}
#site-header.header-scrolled {
  box-shadow: 0 2px 20px rgba(110, 14, 18, .12);
}

.nav-link {
  position: relative;
  padding: 6px 2px;
  color: var(--ink);
  transition: color .25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-700), var(--brand-500));
  transition: width .25s ease;
}
.nav-link:hover {
  color: var(--brand-700);
}
.nav-link:hover::after {
  width: 100%;
}

/* 移动端抽屉 */
#mobile-drawer {
  transform: translateX(100%);
  transition: transform .3s ease;
}
#mobile-drawer.open {
  transform: translateX(0);
}

/* ---------- Hero ---------- */
.hero-bg {
  background-size: cover;
  background-position: center;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero-overlay {
  background: linear-gradient(105deg, rgba(110, 14, 18, .95) 0%, rgba(200, 32, 42, .82) 45%, rgba(240, 85, 58, .38) 100%);
}

/* ---------- 滚动公告 ---------- */
@keyframes noticeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.notice-track {
  display: inline-flex;
  white-space: nowrap;
  animation: noticeScroll 40s linear infinite;
}
.notice-track:hover {
  animation-play-state: paused;
}

/* ---------- 滚动进场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 卡片 ---------- */
.card-lift {
  transition: transform .3s ease, box-shadow .3s ease;
}
.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(163, 18, 27, .14);
}

.brand-line {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-700), var(--brand-500));
  border-radius: 2px;
}

/* ---------- 流程节点 ---------- */
.flow-step:hover .flow-num {
  background: linear-gradient(100deg, var(--brand-700), var(--brand-500));
  color: #fff;
  border-color: transparent;
}
.flow-num {
  transition: all .3s ease;
}

/* ---------- 案例 ---------- */
.case-btn-hover:hover {
  background: linear-gradient(100deg, var(--brand-700), var(--brand-500));
  color: #fff;
  border-color: transparent;
}
.case-img {
  transition: transform .5s ease;
}
.case-card:hover .case-img {
  transform: scale(1.06);
}
.case-badge {
  backdrop-filter: blur(4px);
}

/* ---------- VS 对比 ---------- */
.vs-highlight {
  background: linear-gradient(160deg, rgba(228, 51, 44, .08), rgba(240, 85, 58, .02));
  border: 1px solid rgba(228, 51, 44, .35);
}

/* ---------- 新闻 Tab ---------- */
.tab-active {
  color: var(--brand-700);
  border-bottom: 3px solid var(--brand-600);
}

/* ---------- 表单 ---------- */
.form-input {
  width: 100%;
  border: 1px solid #E5DDD9;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(228, 51, 44, .15);
}

/* ---------- 悬浮咨询 ---------- */
#float-consult {
  transition: transform .25s ease, box-shadow .25s ease;
}
#float-consult:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(228, 51, 44, .45);
}

/* ---------- Footer ---------- */
.footer-link {
  color: rgba(255, 255, 255, .6);
  transition: color .25s ease;
}
.footer-link:hover {
  color: #FFC9B8;
}

/* ---------- 移动端底部栏 ---------- */
#mobile-bottombar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
}

@media (max-width: 768px) {
  .hero-bg {
    animation: none;
  }
}

/* ---------- 全域流量生态：媒体墙 ---------- */
.media-badge {
  background: #fff;
  border: 1px solid #F1ECE9;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(31, 35, 41, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.media-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(200, 32, 42, 0.10);
  border-color: #FDE8E2;
}
