/* ============================================================
   八卦绯闻爆料 · 影视传媒 — 全站样式
   现代简洁 · 红色热点主题 · 响应式
   ============================================================ */

:root {
  --primary: #e11d48;        /* 主色：吃瓜红 */
  --primary-dark: #be123c;
  --primary-light: #fff1f2;
  --accent: #f59e0b;         /* 强调色：热搜金 */
  --ink: #1c1917;
  --ink-soft: #57534e;
  --bg: #ffffff;
  --bg-soft: #fafaf9;
  --border: #e7e5e4;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(28, 25, 23, .08);
  --shadow-lg: 0 16px 48px rgba(28, 25, 23, .14);
  --container: 1160px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head .kicker {
  display: inline-block; color: var(--primary); font-weight: 700;
  font-size: 14px; letter-spacing: 4px; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.3; }
.section-head p { color: var(--ink-soft); margin-top: 12px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer; transition: all .25s ease; font-family: inherit;
}
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(225, 29, 72, .35); }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }

/* ---------- 页眉 ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
.header.is-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; }
.logo__mark {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: grid; place-items: center; font-size: 20px;
}
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-soft); letter-spacing: 2px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink-soft); position: relative; padding: 6px 0; }
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; border-radius: 3px; background: var(--primary);
}

.header__cta { display: inline-flex; }

/* 移动端菜单 */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: none; background: none;
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(120deg, rgba(120, 12, 40, .88), rgba(28, 25, 23, .82)),
    url("https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}
.hero__inner { padding: 120px 0 140px; text-align: center; max-width: 820px; margin: 0 auto; }
.hero__tag {
  display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  padding: 6px 18px; border-radius: 999px; font-size: 14px; margin-bottom: 22px; letter-spacing: 2px;
}
.hero h1 { font-size: clamp(32px, 6vw, 56px); line-height: 1.25; font-weight: 900; }
.hero h1 em { font-style: normal; color: #fbbf24; }
.hero p { margin: 20px auto 34px; font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,.85); max-width: 620px; }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- 信任背书条 ---------- */
.trustbar { background: var(--ink); color: #fff; padding: 18px 0; }
.trustbar .container { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; align-items: center; }
.trustbar span { font-size: 14px; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 8px; }
.trustbar b { color: #fbbf24; }

/* ---------- 卡片通用 ---------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 26px; transition: all .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-size: 26px; background: var(--primary-light); margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }

/* ---------- 数字统计 ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stats b { display: block; font-size: clamp(28px, 4vw, 42px); color: var(--primary); font-weight: 900; }
.stats span { color: var(--ink-soft); font-size: 15px; }

/* ---------- 服务预览 ---------- */
.service-item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px dashed var(--border); }
.service-item:last-child { border-bottom: none; }
.service-item .icon { font-size: 30px; flex-shrink: 0; }
.service-item h4 { font-size: 17px; margin-bottom: 4px; }
.service-item p { color: var(--ink-soft); font-size: 14px; }

.about-preview img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- 评价 ---------- */
.quote-card { position: relative; }
.quote-card::before {
  content: "“"; position: absolute; top: 6px; right: 22px; font-size: 80px;
  color: var(--primary-light); font-family: serif; line-height: 1;
}
.quote-card .stars { color: var(--accent); margin-bottom: 14px; letter-spacing: 3px; }
.quote-card .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote-card .who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote-card .who b { display: block; font-size: 15px; }
.quote-card .who span { font-size: 13px; color: var(--ink-soft); }

/* ---------- 页面 Hero（内页横幅） ---------- */
.page-hero {
  color: #fff; text-align: center; padding: 90px 0;
  background:
    linear-gradient(120deg, rgba(120,12,40,.9), rgba(28,25,23,.85)),
    url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}
.page-hero h1 { font-size: clamp(30px, 5vw, 46px); }
.page-hero p { margin-top: 14px; color: rgba(255,255,255,.85); max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- 时间线 / 流程 ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; padding: 30px 20px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--primary); color: #fff; font-weight: 900; font-size: 20px;
  display: grid; place-items: center;
}
.step h4 { margin-bottom: 6px; font-size: 17px; }
.step p { font-size: 14px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; background: #fff; }
.faq-item summary {
  cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; color: var(--primary); transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--ink-soft); font-size: 15px; }

/* ---------- 列表页筛选 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filter-btn {
  padding: 9px 22px; border-radius: 999px; border: 1.5px solid var(--border);
  background: #fff; cursor: pointer; font-size: 14px; font-weight: 600;
  color: var(--ink-soft); transition: all .2s; font-family: inherit;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.listing-card {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--border); transition: all .3s ease; display: flex; flex-direction: column;
}
.listing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.listing-card.hide { display: none; }
.listing-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.listing-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.listing-card:hover .listing-card__img img { transform: scale(1.06); }
.badge {
  position: absolute; top: 14px; left: 14px; background: var(--primary); color: #fff;
  font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px;
}
.badge--gold { background: var(--accent); }
.listing-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.listing-card__body h3 { font-size: 18px; margin-bottom: 8px; }
.listing-card__body p { color: var(--ink-soft); font-size: 14px; flex: 1; }
.listing-card__meta { margin-top: 16px; display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); }
.listing-card__meta b { color: var(--primary); }

/* ---------- 联系页 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.form-group label em { color: var(--primary); font-style: normal; }
.form-group input, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: inherit; transition: border .2s; background: var(--bg-soft);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 12px; }
.form-success {
  display: none; background: #ecfdf5; border: 1px solid #6ee7b7; color: #047857;
  padding: 14px 18px; border-radius: 10px; margin-top: 16px; font-size: 14px; font-weight: 600;
}

.info-list li { display: flex; gap: 14px; margin-bottom: 22px; }
.info-list .icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--primary-light);
  display: grid; place-items: center; font-size: 20px; flex-shrink: 0;
}
.info-list b { display: block; font-size: 15px; }
.info-list span { color: var(--ink-soft); font-size: 14px; }

.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 28px; }
.map-box iframe { width: 100%; height: 260px; border: 0; display: block; }

.social-row { display: flex; gap: 12px; margin-top: 8px; }
.social-row a {
  width: 46px; height: 46px; border-radius: 50%; background: var(--bg-soft);
  border: 1px solid var(--border); display: grid; place-items: center; font-size: 20px; transition: all .25s;
}
.social-row a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }

/* ---------- CTA 大块 ---------- */
.cta-band {
  color: #fff; text-align: center; padding: 84px 0;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 60%, #f43f5e);
}
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); }
.cta-band p { margin: 14px auto 30px; max-width: 560px; color: rgba(255,255,255,.9); }
.cta-band .btn { background: #fff; color: var(--primary); }
.cta-band .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.25); }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a:hover { color: #fbbf24; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer .social-row a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.footer .social-row a:hover { background: var(--primary); border-color: var(--primary); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px;
}
.footer__bottom a { color: #fbbf24; }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none; font-size: 20px; cursor: pointer;
  opacity: 0; pointer-events: none; transition: all .3s; box-shadow: var(--shadow-lg); z-index: 99;
}
.back-top.show { opacity: 1; pointer-events: auto; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: all .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 960px) {
  .grid-3, .steps, .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .contact-wrap { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .grid-3, .steps, .listing-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__inner { padding: 90px 0 100px; }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column;
    gap: 0; padding: 12px 24px 24px; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg); transform: translateY(-130%); transition: transform .35s ease; z-index: 98;
  }
  .nav.open { transform: none; }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--bg-soft); font-size: 16px; }
  .nav .nav-cta-mobile { display: block; margin-top: 16px; text-align: center; }
  .header__cta { display: none; }
}
