*{margin:0;padding:0;box-sizing:border-box;font-family:"PingFang SC","Microsoft YaHei",sans-serif}
body{background:#f7f8fa;color:#222;line-height:1.8}
a{text-decoration:none;color:inherit}
.container{max-width:1100px;margin:0 auto;padding:0 15px}

.header{background:#fff;box-shadow:0 2px 12px rgba(0,0,0,0.06);position:sticky;top:0;z-index:100;transition:all 0.3s ease;}
.header.scrolled { background: rgba(255, 255, 255, 0.98); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.header-inner{display:flex;justify-content:space-between;align-items:center;height:70px}
.logo{display:flex;align-items:center;gap:15px;font-size:24px;font-weight:700;color:#b70000}
.logo img{width:50px;height:auto;display:block}
.logo span{font-weight:bold}

/* 顶部导航大区下拉 */
.nav{display:flex;gap:24px;flex-wrap:wrap;align-items:center;position:relative}
.nav a{font-size:15px;color:#333;font-weight:500;transition:color 0.2s ease;white-space:nowrap}
.nav a:hover{color:#b70000}

.city-dropdown{
  position:absolute;top:100%;left:0;right:0;background:#fff;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);border-radius:8px;padding:12px 16px;
  display:none;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px;z-index:99
}
.city-dropdown.show{display:grid}
.city-dropdown a{padding:6px 4px;text-align:center}

.banner { position: relative; width: 100%; height: 380px; overflow: hidden; }
.banner-item {
  width: 100%; height: 100%;
  background: linear-gradient(120deg,#b70000,#7c0000);
  background-image: url('/style/picture/banner.jpg');
  background-size: cover; 
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}
.banner-item::before{
  content:'';
  position:absolute;left:0;top:0;width:100%;height:100%;
  background:linear-gradient(to right,rgba(0,0,0,0.65),rgba(0,0,0,0.2));
  z-index:1;
}
.banner-inner { 
  position: relative; 
  z-index: 2;
}
.banner-inner h1{
  font-size:36px;
  font-weight:700;
  margin-bottom:16px;
  color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,0.8);
  letter-spacing:1px;
}
.banner-inner p{
  font-size:17px;
  color:#fff;
  opacity:1;
  max-width:650px;
  line-height:1.7;
  text-shadow:0 1px 6px rgba(0,0,0,0.7);
}
.banner-dots { display: none; }

.section{padding:55px 0;background:#fff;border-radius:12px;margin:30px 0;box-shadow:0 2px 10px rgba(0,0,0,0.04)}
.title{text-align:center;font-size:26px;font-weight:600;margin-bottom:40px;color:#222}

/* ========== 覆盖城市卡片：边框已恢复紫红色 ========== */
.city-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}
.city {
  background: #ffffff;
  padding: 20px 12px;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid #b70000; /* 原版紫红色边框 */
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  cursor: pointer;
}
.city:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(183, 0, 0, 0.1);
  background: #fff9f9;
  color: #b70000;
  border-color: #b70000;
}
/* =================================================== */

.service-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}
.service-item{padding:25px 20px;background:#fdfdfd;border:1px solid #f1f1f1;border-radius:12px;text-align:center;transition:all 0.3s ease;}
.service-item:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); border-color: #ffd6d6; }
.service-item h3{margin-bottom:8px;font-size:18px;color:#333;}
.service-item p{color:#666;font-size:14px;}
.service-icon { font-size: 36px; color: #b70000; margin-bottom: 15px; opacity: 0.8; transition: opacity 0.3s ease; }
.service-item:hover .service-icon { opacity: 1; }

.env-box {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.env-slide {
  display: flex;
  width: max-content;
  animation: envScroll 20s linear infinite;
}
.env-img {
  width: 290px;
  height: 190px;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
@keyframes envScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.contact{background:#fff;padding:40px 0;border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,0.04)}
.contact-inner{display:flex;justify-content:center;gap:40px;flex-wrap:wrap;text-align:center}
.contact-item .icon{width:50px;height:50px;background:#f1f1f1;border-radius:50%;margin:0 auto 10px;display:grid;place-items:center;overflow:hidden;}
.icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

.article{padding:6px;background:#f9f9f9;border-radius:10px;margin-bottom:10px}
.article h3{font-size:17px;margin-bottom:5px}
.footer{background:#222;color:#fff;padding:40px 0;text-align:center}

.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.modal.show {
  display: flex;
}
.modal-box {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.modal-box img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
}
.modal-box .close {
  position: absolute;
  top: 12px; right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #666;
}

.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #b70000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(183, 0, 0, 0.4);
    z-index: 99;
    transition: all 0.3s ease;
    cursor: pointer;
}
.floating-btn:hover { transform: scale(1.1); background: #d40000; }