/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #333; line-height: 1.6; background: #fff;
}
a { text-decoration: none; color: inherit; transition: color .25s; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== Header / Navbar ========== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0,0,0,.06); transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.1); }
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px; font-size: 18px;
  font-weight: 700; color: #1a3c6e; white-space: nowrap;
}
.nav-logo .logo-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: linear-gradient(135deg, #1a3c6e, #2e6bc6);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; font-weight: 800;
}
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 8px 18px; border-radius: 8px; font-size: 15px;
  font-weight: 500; color: #555; transition: all .25s;
}
.nav-links a:hover, .nav-links a.active {
  color: #1a3c6e; background: #f0f4fa;
}
.nav-phone {
  display: flex; align-items: center; gap: 6px;
  font-size: 15px; color: #1a3c6e; font-weight: 600;
}
.nav-phone svg { width: 18px; height: 18px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #333; border-radius: 2px; transition: .3s; }

/* ========== Hero Banner ========== */
.hero {
  position: relative; min-height: 560px; display: flex; align-items: center;
  background: linear-gradient(135deg, #0f2b52 0%, #1a4a8a 50%, #2e6bc6 100%);
  overflow: hidden; margin-top: 72px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; padding: 80px 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 24px; padding: 6px 18px; margin-bottom: 24px;
  font-size: 13px; color: rgba(255,255,255,.9);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #52c41a; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.hero h1 {
  font-size: 44px; font-weight: 800; color: #fff; line-height: 1.3;
  margin-bottom: 20px; letter-spacing: -0.5px;
}
.hero h1 span { color: #64b5f6; }
.hero p {
  font-size: 18px; color: rgba(255,255,255,.75); max-width: 600px;
  line-height: 1.8; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 10px; font-size: 15px;
  font-weight: 600; cursor: pointer; border: none; transition: all .3s;
}
.btn-primary {
  background: linear-gradient(135deg, #2e6bc6, #1a4a8a);
  color: #fff; box-shadow: 0 4px 20px rgba(46,107,198,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(46,107,198,.5); }
.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,.1); }
.hero-stats {
  display: flex; gap: 48px; margin-top: 56px; padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat .num {
  font-size: 36px; font-weight: 800; color: #fff;
  font-variant-numeric: tabular-nums;
}
.hero-stat .num span { color: #64b5f6; font-size: 20px; }
.hero-stat .label { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 4px; }

/* ========== Section Common ========== */
.section { padding: 80px 0; }
.section-alt { background: #f7f9fc; }
.section-header {
  text-align: center; margin-bottom: 56px;
}
.section-header .tag {
  display: inline-block; padding: 4px 16px; border-radius: 20px;
  background: #eef3fb; color: #1a3c6e; font-size: 13px; font-weight: 600;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: 34px; font-weight: 800; color: #1a1a2e;
  margin-bottom: 12px; letter-spacing: -0.3px;
}
.section-header p { font-size: 16px; color: #888; max-width: 560px; margin: 0 auto; }

/* ========== Service Cards ========== */
.service-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff; border-radius: 16px; padding: 36px 28px;
  border: 1px solid #eef0f5; transition: all .35s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #1a3c6e, #2e6bc6); transform: scaleX(0);
  transform-origin: left; transition: transform .35s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, #eef3fb, #dce7f7);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 26px;
}
.service-card h3 { font-size: 19px; font-weight: 700; color: #1a1a2e; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: #777; line-height: 1.7; }

/* ========== About Section ========== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-image {
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, #1a3c6e, #2e6bc6);
  padding: 48px 36px; color: #fff; min-height: 380px;
  display: flex; flex-direction: column; justify-content: center;
}
.about-image .big-text { font-size: 72px; font-weight: 900; opacity: .15; line-height: 1; margin-bottom: 24px; }
.about-image .highlight { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.about-image .sub { font-size: 15px; opacity: .7; }
.about-content h3 { font-size: 26px; font-weight: 700; color: #1a1a2e; margin-bottom: 16px; }
.about-content p { font-size: 15px; color: #666; line-height: 1.9; margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.about-feat {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: #f7f9fc; border-radius: 10px; font-size: 14px; font-weight: 500; color: #333;
}
.about-feat .check {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #52c41a, #73d13d);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px;
}

/* ========== Advantage Section ========== */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-card {
  text-align: center; padding: 40px 24px; border-radius: 16px;
  background: #fff; border: 1px solid #eef0f5; transition: all .3s;
}
.adv-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.06); }
.adv-num {
  font-size: 48px; font-weight: 900;
  background: linear-gradient(135deg, #1a3c6e, #2e6bc6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 12px;
}
.adv-card h4 { font-size: 17px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.adv-card p { font-size: 13px; color: #999; line-height: 1.6; }

/* ========== Contact Section ========== */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
.contact-info h3 { font-size: 26px; font-weight: 700; color: #1a1a2e; margin-bottom: 24px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px;
}
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, #eef3fb, #dce7f7);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.contact-item .label { font-size: 13px; color: #999; margin-bottom: 4px; }
.contact-item .value { font-size: 15px; font-weight: 600; color: #333; }
.contact-form {
  background: #f7f9fc; border-radius: 20px; padding: 36px;
}
.contact-form h3 { font-size: 22px; font-weight: 700; color: #1a1a2e; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid #e0e4ea;
  border-radius: 10px; font-size: 14px; color: #333;
  background: #fff; transition: border-color .25s; outline: none;
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { border-color: #2e6bc6; }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%; padding: 14px; border: none; border-radius: 10px;
  background: linear-gradient(135deg, #1a3c6e, #2e6bc6);
  color: #fff; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all .3s;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(46,107,198,.35); }

/* ========== Footer ========== */
.site-footer {
  background: #0f1c32; color: rgba(255,255,255,.7); padding: 56px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .name { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.8; }
.footer-col h4 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: #64b5f6; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; font-size: 13px; color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #64b5f6; }

/* ========== Page Banner (Sub Pages) ========== */
.page-banner {
  margin-top: 72px; padding: 64px 0;
  background: linear-gradient(135deg, #0f2b52, #1a4a8a);
  text-align: center; color: #fff;
}
.page-banner h1 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.page-banner .breadcrumb { font-size: 14px; color: rgba(255,255,255,.6); }
.page-banner .breadcrumb a { color: rgba(255,255,255,.8); }

/* ========== About Detail Page ========== */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 11px; top: 0; bottom: 0;
  width: 2px; background: #e0e4ea;
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before {
  content: ''; position: absolute; left: -32px; top: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid #2e6bc6;
}
.timeline-item .year { font-size: 14px; font-weight: 700; color: #2e6bc6; margin-bottom: 4px; }
.timeline-item p { font-size: 14px; color: #666; }

/* ========== Service Detail Cards ========== */
.service-detail-card {
  display: grid; grid-template-columns: auto 1fr; gap: 28px;
  padding: 32px; background: #fff; border-radius: 16px;
  border: 1px solid #eef0f5; margin-bottom: 24px; transition: all .3s;
}
.service-detail-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.06); }
.service-detail-num {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, #1a3c6e, #2e6bc6);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; font-weight: 800;
}
.service-detail-card h3 { font-size: 18px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.service-detail-card p { font-size: 14px; color: #777; line-height: 1.8; }

/* ========== Map Placeholder ========== */
.map-placeholder {
  width: 100%; height: 320px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #e8edf5, #dce3ed);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; color: #999;
}
.map-placeholder .pin { font-size: 48px; }

/* ========== Animations ========== */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .hero h1 { font-size: 34px; }
  .hero-stats { gap: 32px; }
  .about-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: #fff;
    padding: 16px 24px; box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  .hero { min-height: 440px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-stat .num { font-size: 28px; }
  .section { padding: 56px 0; }
  .section-header h2 { font-size: 26px; }
  .adv-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
