/* =========================================================
   苏州诚港管道疏通 - 企业网站样式
   ========================================================= */
:root {
  --blue: #1565c0;
  --blue-dark: #0b3d7d;
  --blue-darker: #072a57;
  --blue-light: #e8f1fb;
  --accent: #ff7a1a;
  --accent-dark: #e86400;
  --text: #22303f;
  --text-light: #5a6b7c;
  --gray-bg: #f4f7fb;
  --border: #e3eaf3;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(21, 101, 192, 0.10);
  --shadow-lg: 0 14px 40px rgba(7, 42, 87, 0.16);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* =========================================================
   顶部导航
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--blue-darker);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; }
.logo-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex: none;
}
.logo-icon svg { width: 22px; height: 22px; }
.logo-text { font-size: 18px; letter-spacing: .5px; white-space: nowrap; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  color: rgba(255,255,255,.85);
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.12); }
.site-nav a.nav-phone {
  color: #fff; background: var(--accent); font-weight: 700;
  margin-left: 6px;
}
.site-nav a.nav-phone:hover { background: var(--accent-dark); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2.5px; background: #fff; border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* =========================================================
   Hero 轮播
   ========================================================= */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  padding-top: 62px;
  overflow: hidden;
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.05);
  transition: opacity 1.2s ease, transform 6s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,42,87,.88) 0%, rgba(11,61,125,.72) 45%, rgba(11,61,125,.25) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  color: #fff;
  padding-top: 20px; padding-bottom: 70px;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 5px 14px; border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.2;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero-sub {
  font-size: clamp(15px, 2.4vw, 20px);
  color: rgba(255,255,255,.92);
  margin-bottom: 18px;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.hero-tags span {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
  font-size: 13px; padding: 5px 13px; border-radius: 20px;
}
.hero-phone-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--accent); color: #fff;
  padding: 13px 26px; border-radius: 14px;
  box-shadow: 0 10px 28px rgba(255,122,26,.4);
  transition: transform .2s, background .2s;
}
.hero-phone-btn:hover { background: var(--accent-dark); transform: translateY(-2px); }
.ph-icon { width: 34px; height: 34px; flex: none; }
.ph-icon svg { width: 34px; height: 34px; }
.ph-text { display: flex; flex-direction: column; line-height: 1.2; }
.ph-text small { font-size: 12px; opacity: .9; }
.ph-text strong { font-size: 22px; letter-spacing: 1px; }

.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 24px; z-index: 3;
  display: flex; justify-content: center; gap: 8px;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.4); cursor: pointer;
  transition: background .2s, width .2s;
}
.hero-dots button.active { background: var(--accent); width: 26px; border-radius: 5px; }

/* =========================================================
   快捷服务条
   ========================================================= */
.quickbar {
  position: relative; z-index: 5;
  margin-top: -38px;
  padding-bottom: 10px;
}
.quickbar-inner {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
}
.quick-item {
  padding: 16px 12px; text-align: center;
  display: flex; flex-direction: column; gap: 2px;
  border-right: 1px solid var(--border);
  transition: background .2s;
}
.quick-item:last-child { border-right: 0; }
.quick-item:hover { background: var(--blue-light); }
.quick-item strong { color: var(--blue-dark); font-size: 15px; }
.quick-item span { color: var(--accent); font-size: 12px; font-weight: 600; }

/* =========================================================
   通用板块
   ========================================================= */
.section { padding: 70px 0; }
.section-blue {
  background: linear-gradient(135deg, var(--blue-darker), var(--blue-dark));
  color: #fff;
}
.section-gray { background: var(--gray-bg); }
.section-head { text-align: center; margin-bottom: 44px; }
.eyebrow {
  color: var(--accent); font-weight: 700; font-size: 13px;
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px;
}
.section-head h2 {
  font-size: clamp(24px, 3.6vw, 34px);
  color: var(--blue-darker);
  margin-bottom: 10px;
}
.section-blue .section-head h2 { color: #fff; }
.section-blue .eyebrow { color: #ffb066; }
.section-sub { color: var(--text-light); font-size: 15px; }
.section-blue .section-sub { color: rgba(255,255,255,.75); }

/* =========================================================
   服务项目
   ========================================================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 17px; color: var(--blue-darker); margin-bottom: 8px; }
.service-card p { font-size: 13.5px; color: var(--text-light); flex: 1; }
.price-tag {
  display: inline-block;
  margin-top: 14px;
  background: #fff3e6; color: var(--accent-dark);
  font-size: 12.5px; font-weight: 700;
  padding: 4px 10px; border-radius: 6px;
  align-self: flex-start;
}
.price-note { text-align: center; font-size: 12.5px; color: var(--text-light); margin-top: 22px; }

/* =========================================================
   服务承诺
   ========================================================= */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.promise-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: background .25s, transform .25s;
}
.promise-card:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.promise-check {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.promise-check svg { width: 18px; height: 18px; }
.promise-card h3 { font-size: 16px; margin-bottom: 6px; }
.promise-card p { font-size: 13px; color: rgba(255,255,255,.72); }

/* =========================================================
   实拍图墙
   ========================================================= */
.gallery {
  columns: 3;
  column-gap: 12px;
}
.g-item {
  display: block;
  margin-bottom: 12px;
  border-radius: 10px;
  overflow: hidden;
  break-inside: avoid;
}
.g-item img {
  width: 100%;
  border-radius: 10px;
  transition: transform .4s ease;
}
.g-item:hover img { transform: scale(1.04); }

/* =========================================================
   服务流程
   ========================================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.process-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  position: relative;
}
.process-step .step-num {
  display: inline-block;
  font-size: 13px; font-weight: 800;
  color: var(--accent);
  background: #fff3e6;
  padding: 3px 10px; border-radius: 20px;
  margin-bottom: 12px;
}
.process-step h3 { font-size: 16px; color: var(--blue-darker); margin-bottom: 6px; }
.process-step p { font-size: 12.5px; color: var(--text-light); }

/* =========================================================
   服务区域
   ========================================================= */
.area-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.area-tags span {
  background: var(--blue-light); color: var(--blue-dark);
  font-size: 14px; font-weight: 600;
  padding: 8px 18px; border-radius: 24px;
  border: 1px solid var(--border);
}

/* =========================================================
   常见问题
   ========================================================= */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-size: 15px; font-weight: 600; color: var(--blue-darker);
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px; color: var(--accent);
  font-weight: 700; transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { background: var(--blue-light); }
.faq-item p {
  padding: 4px 20px 18px;
  font-size: 14px; color: var(--text-light);
}

/* =========================================================
   关于我们
   ========================================================= */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: center;
}
.about-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}
.about-text .eyebrow { margin-bottom: 10px; }
.about-text h2 {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--blue-darker);
  margin-bottom: 16px;
}
.about-text p { font-size: 14.5px; color: var(--text-light); margin-bottom: 14px; }
.about-list { list-style: none; margin: 16px 0 24px; }
.about-list li { font-size: 14px; color: var(--text); padding: 5px 0; }
.btn-about {
  display: inline-block;
  background: var(--accent); color: #fff;
  font-weight: 700;
  padding: 12px 26px; border-radius: 12px;
  transition: background .2s, transform .2s;
}
.btn-about:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* =========================================================
   联系我们
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}
.contact-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
}
.contact-card h3 { font-size: 15px; margin-bottom: 8px; }
.contact-card p { font-size: 17px; font-weight: 700; }
.contact-card a { color: #fff; }
.contact-cta {
  display: block; text-align: center;
  background: var(--accent); color: #fff;
  font-size: 17px; font-weight: 700;
  padding: 16px; border-radius: 14px;
  transition: background .2s, transform .2s;
}
.contact-cta:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* =========================================================
   页脚
   ========================================================= */
.site-footer { background: var(--blue-darker); color: rgba(255,255,255,.8); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 24px;
  padding-top: 44px; padding-bottom: 30px;
}
.footer-brand h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.footer-brand p { font-size: 13px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,.7); }
.footer-links a:hover { color: #fff; }
.footer-phone { text-align: right; }
.footer-phone a { color: #ffb066; font-weight: 700; font-size: 15px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 16px 0;
}
.footer-bottom .container {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px;
  font-size: 12.5px; text-align: center;
}
.footer-bottom a { color: rgba(255,255,255,.8); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .gongan-placeholder span { color: rgba(255,255,255,.45); }

/* =========================================================
   移动端底部电话条
   ========================================================= */
.mobile-call {
  position: fixed;
  left: 0; right: 0; bottom: 0; z-index: 99;
  background: var(--accent); color: #fff;
  display: none; align-items: center; justify-content: center; gap: 8px;
  font-size: 17px; font-weight: 700;
  padding: 14px;
}

/* =========================================================
   灯箱
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.92);
  display: none; align-items: center; justify-content: center;
  padding: 30px;
}
.lightbox.show { display: flex; }
.lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 18px; right: 26px;
  background: none; border: 0; color: #fff;
  font-size: 42px; cursor: pointer; line-height: 1;
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 992px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { columns: 2; }
  .about-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-phone { text-align: center; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 62px; left: 0; right: 0;
    background: var(--blue-darker);
    flex-direction: column; align-items: stretch;
    padding: 10px 20px 18px;
    display: none;
    box-shadow: 0 16px 30px rgba(0,0,0,.3);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 8px; font-size: 15px; }
  .site-nav a.nav-phone { margin: 6px 0 0; text-align: center; }

  .hero { min-height: 86vh; }
  .hero-phone-btn { width: 100%; justify-content: center; }
  .quickbar { margin-top: -30px; }
  .quickbar-inner { grid-template-columns: repeat(2, 1fr); }
  .quick-item:nth-child(3) { border-right: 0; }
  .quick-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 52px 0; }
  .mobile-call { display: flex; }
  body { padding-bottom: 54px; }
}

@media (max-width: 480px) {
  .service-grid { grid-template-columns: 1fr; }
  .gallery { columns: 2; column-gap: 8px; }
  .g-item { margin-bottom: 8px; }
  .hero h1 { font-size: 28px; }
  .logo-text { font-size: 15px; }
}
