/* 基础与排版 */
* { box-sizing: border-box; }
body { font-family: Arial, sans-serif; background:#f4f4f4; margin:0; }
h1, h2, h3 { color:#333; margin:0 0 12px; text-align:left; }
p { color:#555; line-height:1.7; margin:0 0 12px; text-align:left; }
.muted { color:#666; font-size:16px; }
.center { text-align:center; }

.section { padding:48px 16px; background:#fff; }
.section.alt { background:#f7f7f9; }
.container { max-width:1100px; margin:0 auto; padding:0 16px; }
.container.narrow { max-width:1000px; }
.container.wide { max-width:1400px; }
.container.wider { max-width:1600px; }

.site-header { background:#fff; border-bottom:1px solid #eee; }
.header-inner { display:flex; align-items:center; justify-content:space-between; padding:10px 0; }
.logo { width:100px; height:auto; display:block; }
.nav-right { display:flex; align-items:center; gap:18px; }
.nav-right a { color:#333; text-decoration:none; font-size:14px; }
.nav-right a:hover { text-decoration:underline; }

.banner-carousel { position:relative; height:520px; overflow:hidden; }
.banner-carousel .slides { position:relative; height:100%; }
.banner-carousel .slide {
  position:absolute; inset:0; background-size:cover; background-position:center;
  transition:opacity .8s ease; opacity:0;
}
.banner-carousel .banner-content {
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
}
.banner-carousel h2 { color:#fff; font-size:36px; font-weight:700; text-shadow:0 2px 6px rgba(0,0,0,.35); }
.banner-carousel .dots { position:absolute; bottom:12px; left:50%; transform:translateX(-50%); display:flex; gap:8px; }
.banner-carousel .dot { width:10px; height:10px; border-radius:50%; background:#ddd; display:block; }
.banner-carousel .dot.active { background:#fff; }

.media-grid { display:grid; gap:16px; margin-top:16px; }
.media-grid.four { grid-template-columns: repeat(4, 1fr); }
.media-grid figure { margin:0; text-align:center; }
.media-grid img {
  width:100%; height:350px; object-fit:cover; border-radius:8px; display:block;
}
.media-grid figcaption {
  margin-top:8px; color:#111; font-size:15px; text-align:center;
}

.contact .contact-wrap { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.contact .line { line-height:1.8; margin:6px 0; }
.contact-qr { display:flex; align-items:center; }
.qr-box { display:flex; flex-direction:column; align-items:center; justify-content:center; }
.qr-box img { width:220px; height:220px; object-fit:cover; border-radius:6px; }
.qr-note { font-size:14px; color:#666; margin-top:8px; text-align:center; }

footer { background:#333; color:#fff; text-align:center; padding:14px 0; }

@media (max-width: 1280px) {
  .media-grid.four { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
  .media-grid.four { grid-template-columns: repeat(2, 1fr); }
  .media-grid img { height:300px; }
  .banner-carousel { height:420px; }
  .banner-carousel h2 { font-size:28px; }
}
@media (max-width: 768px) {
  .logo { width:84px; }
  .nav-right { gap:12px; }
  .media-grid.four { grid-template-columns: 1fr; }
  .media-grid img { height:260px; }
  .banner-carousel { height:340px; }
  .banner-carousel h2 { font-size:22px; }
  .contact .contact-wrap { flex-direction:column; align-items:flex-start; }
  .qr-box img { width:180px; height:180px; }
}
