/* ============================================
   友祥汽车官网 - 主样式表
   Youxiang Auto Official Website - Main CSS
   Design: Inspired by Dongfeng Nissan
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #0d1b2a;
  --primary-light: #1b2838;
  --accent: #c0392b;
  --accent-hover: #e74c3c;
  --gold: #c9a24b;
  --gold-light: #dfbf6b;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-dark: #0a1628;
  --text: #1a1a2e;
  --text-muted: #5a6270;
  --text-light: #8892a4;
  --border: #e1e4e8;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --max-w: 1200px;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* --- Utility --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--primary); color: #fff; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-accent { color: var(--accent); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; }
p { margin-bottom: 14px; color: var(--text-muted); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header p { max-width: 600px; margin: 12px auto 0; }
.section-header::after {
  content: '';
  display: block;
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  margin: 18px auto 0;
  border-radius: 2px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 32px; border-radius: 50px;
  font-weight: 600; font-size: .95rem;
  cursor: pointer; border: none; transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 16px rgba(192,57,43,.3);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(192,57,43,.4); }
.btn-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline-dark {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-dark:hover { background: var(--primary); color: #fff; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(201,162,75,.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(201,162,75,.45); }

/* --- Navigation --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13,27,42,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: all var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.25); }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 70px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.3rem; font-weight: 800; color: #fff;
  letter-spacing: .02em;
}
.nav-logo-icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; font-weight: 900; color: #fff;
}
.nav-links { display: flex; gap: 4px; }
.nav-link {
  color: rgba(255,255,255,.78); padding: 8px 16px;
  border-radius: 8px; font-size: .92rem; font-weight: 500;
  transition: all var(--transition);
  position: relative;
}
.nav-link:hover,
.nav-link.active { color: #fff; background: rgba(255,255,255,.08); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px; background: var(--gold); border-radius: 1px;
}
.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 9px 22px; border-radius: 50px; font-weight: 600;
  font-size: .88rem;
}
.nav-cta:hover { background: var(--accent-hover) !important; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 4px; }

/* --- Hero Section --- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--primary);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .25;
  filter: saturate(.8);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,.92) 0%, rgba(13,27,42,.65) 60%, rgba(192,57,43,.15) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; padding: 120px 24px 80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,162,75,.15); border: 1px solid rgba(201,162,75,.3);
  color: var(--gold-light); padding: 7px 18px; border-radius: 50px;
  font-size: .85rem; font-weight: 600; margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  color: #fff; margin-bottom: 20px;
  line-height: 1.15;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,.72); max-width: 580px;
  margin-bottom: 36px; line-height: 1.65;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 64px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.stat-item { text-align: center; }
.stat-num {
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800;
  color: var(--gold); line-height: 1.1;
}
.stat-label { font-size: .85rem; color: rgba(255,255,255,.55); margin-top: 4px; }

/* --- Brand Cards (车型品牌) --- */
.brands-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.brand-card {
  background: var(--bg); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all var(--transition); border: 1px solid var(--border);
  cursor: pointer;
}
.brand-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.brand-card-img {
  height: 200px; background: var(--bg-alt);
  object-fit: cover; width: 100%;
  transition: transform .5s ease;
}
.brand-card:hover .brand-card-img { transform: scale(1.04); }
.brand-card-body { padding: 24px; }
.brand-tag {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  font-size: .76rem; font-weight: 600; margin-bottom: 10px;
}
.tag-nissan { background: rgba(192,57,43,.1); color: var(--accent); }
.tag-harmony { background: rgba(201,162,75,.12); color: #996515; }
.tag-arcfox { background: rgba(52,152,219,.1); color: #2980b9; }
.tag-ora { background: rgba(155,89,182,.1); color: #8e44ad; }
.brand-name { font-size: 1.25rem; margin-bottom: 8px; }
.brand-desc { font-size: .89rem; color: var(--text-muted); line-height: 1.55; }

/* --- Services Grid --- */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg); border-radius: var(--radius-lg);
  padding: 36px 28px; border: 1px solid var(--border);
  transition: all var(--transition); text-align: left;
}
.service-card:hover {
  border-color: var(--accent); box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(192,57,43,.08), rgba(201,162,75,.08));
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { font-size: .9rem; }

/* --- Stats Bar --- */
.stats-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px; background: var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stat-box {
  background: var(--bg); padding: 36px 24px; text-align: center;
  transition: background var(--transition);
}
.stat-box:hover { background: var(--bg-alt); }
.stat-box .num {
  font-size: 2.2rem; font-weight: 800; color: var(--accent);
  line-height: 1.1;
}
.stat-box .label {
  font-size: .85rem; color: var(--text-muted); margin-top: 6px;
}

/* --- Trust / Credibility --- */
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.trust-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 24px; background: rgba(255,255,255,.06);
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08);
  transition: all var(--transition);
}
.trust-item:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15); }
.trust-icon {
  width: 44px; height: 44px; min-width: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff;
}
.trust-text h4 { font-size: .95rem; color: #fff; margin-bottom: 4px; }
.trust-text p { font-size: .84rem; color: rgba(255,255,255,.58); margin-bottom: 0; }

/* --- Gallery Page Styles --- */
.gallery-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 140px 0 80px; text-align: center; color: #fff;
}
.gallery-hero h1 { margin-bottom: 12px; }
.gallery-hero p { color: rgba(255,255,255,.62); max-width: 520px; margin: 0 auto; }

.gallery-filters {
  display: flex; justify-content: center; gap: 10px;
  flex-wrap: wrap; margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 26px; border-radius: 50px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text-muted);
  font-size: .9rem; font-weight: 500; cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active {
  background: var(--accent); color: #fff; border-color: var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  padding-bottom: 80px;
}
.gallery-item {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer;
  background: var(--bg-alt);
  animation: fadeInUp .5s ease forwards;
  opacity: 0;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 50%);
  opacity: 0; transition: opacity var(--transition);
  display: flex; align-items: flex-end; padding: 20px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-caption { color: #fff; font-size: .9rem; font-weight: 500; }
.gallery-item-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.8);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.2); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem;
  opacity: 0; transition: all var(--transition);
}
.gallery-item:hover .gallery-item-icon { opacity: 1; transform: translate(-50%,-50%) scale(1); }

/* Video item in gallery */
.gallery-video {
  position: relative;
}
.gallery-video-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(192,57,43,.85); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; z-index: 2;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(192,57,43,.4);
}
.gallery-video:hover .gallery-video-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--accent);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.92); backdrop-filter: blur(12px);
  display: none; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s ease;
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox-content {
  max-width: 90vw; max-height: 90vh;
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative;
}
.lightbox-content img, .lightbox-content video {
  max-width: 90vw; max-height: 85vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute; top: -44px; right: 0;
  background: none; border: none; color: #fff;
  font-size: 1.8rem; cursor: pointer; padding: 8px;
  opacity: .7; transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: none;
  color: #fff; font-size: 1.6rem; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: -68px; }
.lightbox-next { right: -68px; }
.lightbox-counter {
  position: absolute; bottom: -36px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.55); font-size: .88rem;
}

/* --- About Page --- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.about-img-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
  position: sticky; top: 94px;
}
.about-img-wrap img { width: 100%; }
.about-text h2 { margin-bottom: 20px; }
.about-text h3 { color: var(--accent); margin-top: 28px; margin-bottom: 12px; font-size: 1.1rem; }
.credential-list { margin-top: 24px; }
.credential-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.credential-check {
  width: 24px; height: 24px; min-width: 24px; border-radius: 50%;
  background: rgba(46,204,113,.12); color: #27ae60;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
}
.founder-section {
  display: grid; grid-template-columns: 220px 1fr; gap: 36px;
  align-items: start; margin-top: 56px;
  padding-top: 48px; border-top: 1px solid var(--border);
}
.founder-avatar {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); aspect-ratio: 3 / 4;
}
.founder-avatar img { width: 100%; height: 100%; }
.founder-monogram {
  width: 100%; height: 100%; min-height: 260px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; font-weight: 800; color: #fff;
  background: linear-gradient(145deg, var(--navy) 0%, #1c3a5e 58%, var(--accent) 100%);
  letter-spacing: .12em;
}
.founder-info h3 { font-size: 1.3rem; margin-bottom: 8px; }
.founder-info .role {
  color: var(--gold); font-weight: 600; font-size: .95rem;
  margin-bottom: 16px; display: inline-block;
  padding: 4px 14px; background: rgba(201,162,75,.1); border-radius: 50px;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
.contact-info-card {
  background: var(--bg); border-radius: var(--radius-lg);
  padding: 40px; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.info-row {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 28px;
}
.info-icon {
  width: 46px; height: 46px; min-width: 46px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(192,57,43,.08), rgba(201,162,75,.08));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.info-label { font-size: .82rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.info-value { font-size: 1.05rem; font-weight: 600; color: var(--text); }
.map-placeholder {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-alt); height: 400px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 1rem;
  border: 2px dashed var(--border);
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark); color: rgba(255,255,255,.55);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px;
  margin-bottom: 48px;
}
.footer-brand { color: #fff; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.45); line-height: 1.7; }
.footer-col h4 {
  color: #fff; font-size: .95rem; margin-bottom: 20px;
  position: relative; padding-bottom: 12px;
}
.footer-col h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 24px; height: 2px; background: var(--gold); border-radius: 1px;
}
.footer-col a {
  display: block; font-size: .87rem; color: rgba(255,255,255,.5);
  padding: 6px 0; transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 24px; text-align: center;
  font-size: .82rem; color: rgba(255,255,255,.33);
}

/* --- Page Header (subpages) --- */
.page-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 130px 0 70px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(192,57,43,.12) 0%, transparent 70%);
}
.page-header h1 { margin-bottom: 12px; position: relative; z-index: 1; }
.page-header p { color: rgba(255,255,255,.58); position: relative; z-index: 1; max-width: 550px; margin: 0 auto; }
.breadcrumb {
  display: flex; justify-content: center; gap: 8px;
  font-size: .85rem; color: rgba(255,255,255,.4); margin-top: 20px;
  position: relative; z-index: 1;
}
.breadcrumb a { color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,.3); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .founder-section { grid-template-columns: 160px 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--primary); flex-direction: column; padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 56px 0; }
  .brands-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .founder-section { grid-template-columns: 1fr; text-align: center; }
  .founder-avatar { max-width: 180px; margin: 0 auto; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

/* --- Animations --- */
.fade-in { animation: fadeIn .6s ease forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.slide-up { animation: slideUp .6s ease forwards; }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* --- FAQ Section (GEO 内容厚度 + 可访问折叠) --- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 24px;
  font-weight: 600; font-size: 1.02rem; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--accent); font-size: 1.4rem; font-weight: 400;
  transition: transform var(--transition); line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding: 0 24px 20px; color: var(--text-muted); line-height: 1.75; margin: 0; }

/* --- Accessibility: 键盘焦点可视化 --- */
a:focus-visible, button:focus-visible,
.filter-btn:focus-visible, summary:focus-visible, .nav-toggle:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px;
}

/* --- CLS 防护：给无固定高度的实拍图加宽高比 --- */
.about-img-wrap img { aspect-ratio: 4 / 3; object-fit: cover; }

/* --- Map (高德 JS API + 降级导航) --- */
.map-container {
  width: 100%; height: 480px;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: #eef1f5;
}
.map-fallback {
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  padding: 28px; text-align: center;
  background: linear-gradient(135deg, #eef1f5, #f0f2f5);
}
.map-fallback-icon { font-size: 2.6rem; }
.map-fallback-title { font-weight: 700; font-size: 1.1rem; color: var(--text); }
.map-fallback-addr { color: var(--text-muted); font-size: .9rem; max-width: 330px; }
.map-fallback-btns { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.map-fallback-tip { font-size: .76rem; color: var(--text-light); margin-top: 6px; }
@media (max-width: 768px) {
  .map-container { height: 360px; }
}

/* ========== 新闻中心样式 ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: var(--bg); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
}

.news-card-img-wrap {
  position: relative; width: 100%; aspect-ratio: 16 / 10;
  overflow: hidden; background: #eef1f5;
}
.news-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-card-img-wrap img { transform: scale(1.05); }

.news-card-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: #fff;
  font-size: .75rem; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
  letter-spacing: .03em;
}

.news-card-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }

.news-card-date {
  font-size: .8rem; color: var(--text-light);
  margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
}
.news-card-date::before { content: "📅"; font-size: .85rem; }

.news-card-title {
  font-size: 1.1rem; font-weight: 700; color: var(--text);
  line-height: 1.45; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.news-card-excerpt {
  font-size: .9rem; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 16px;
  flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.news-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-size: .88rem; font-weight: 600;
  text-decoration: none; transition: gap .2s ease;
}
.news-card-link:hover { gap: 10px; }
.news-card-link::after { content: "→"; font-size: 1rem; }

/* --- 新闻详情页 --- */
.article-hero {
  width: 100%; max-height: 520px; object-fit: cover;
  border-radius: var(--radius-lg); margin-bottom: 32px;
}
.article-meta {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap; margin-bottom: 24px;
  padding-bottom: 18px; border-bottom: 1px solid var(--border);
  font-size: .85rem; color: var(--text-light);
}
.article-meta span { display: flex; align-items: center; gap: 5px; }

.article-body {
  font-size: 1.02rem; line-height: 1.9; color: var(--text);
}
.article-body h2 {
  font-size: 1.35rem; font-weight: 700; color: var(--text);
  margin: 36px 0 16px; padding-left: 16px;
  border-left: 4px solid var(--accent);
}
.article-body h3 {
  font-size: 1.15rem; font-weight: 600; margin: 28px 0 12px; color: var(--text);
}
.article-body p { margin-bottom: 16px; }
.article-body strong { color: var(--accent); }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 16px; }
.article-body li { margin-bottom: 8px; }

.article-figure {
  margin: 28px 0; text-align: center;
}
.article-figure img {
  max-width: 100%; border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.article-figure figcaption {
  margin-top: 10px; font-size: .84rem; color: var(--text-light);
  font-style: italic;
}

.article-data-highlight {
  background: linear-gradient(135deg, #f8f9fb, #eef1f5);
  border-radius: var(--radius); padding: 24px 28px;
  margin: 28px 0; border-left: 4px solid var(--accent);
}
.article-data-highlight h4 {
  font-size: 1rem; color: var(--accent); margin-bottom: 14px;
}
.article-data-highlight ul { list-style: none; padding-left: 0; }
.article-data-highlight li {
  padding: 6px 0; display: flex; justify-content: space-between;
  border-bottom: 1px dashed var(--border); font-size: .95rem;
}
.article-data-highlight li:last-child { border-bottom: none; }
.article-data-highlight li strong { color: var(--text); font-weight: 700; }

.article-share {
  display: flex; gap: 12px; margin-top: 40px;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.article-share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 25px;
  font-size: .84rem; font-weight: 600; text-decoration: none;
  transition: opacity .2s ease;
}
.article-share-btn:hover { opacity: .8; }
.share-wechat { background: #07c160; color: #fff; }
.share-moments { background: #07c160; color: #fff; }
.share-copy { background: var(--text-muted); color: #fff; }

.article-related {
  margin-top: 48px; padding-top: 32px; border-top: 2px solid var(--border);
}
.article-related h3 { margin-bottom: 20px; }
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }
.related-item {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: transform .2s ease;
}
.related-item:hover { transform: translateY(-3px); }
.related-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.related-item-body { padding: 12px 14px; }
.related-item-title {
  font-size: .88rem; font-weight: 600; color: var(--text);
  line-height: 1.4; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* 首页新闻快捷入口 */
.home-news-section { padding: 64px 0; background: var(--bg-alt); }
.home-news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 768px) { .home-news-grid { grid-template-columns: 1fr; } }
.home-news-card {
  background: var(--bg); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease;
}
.home-news-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.09); }
.home-news-card-img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
}
.home-news-card-body { padding: 18px 20px 20px; }
.home-news-card-date {
  font-size: .76rem; color: var(--text-light); margin-bottom: 6px;
}
.home-news-card-title {
  font-size: .98rem; font-weight: 700; color: var(--text);
  line-height: 1.4; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
