/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0A2540;       /* Deep navy */
  --primary-light: #1a4a7a;
  --accent: #C8102E;        /* Bold red accent */
  --accent-light: #e8193a;
  --yellow: #F5A623;        /* Warm yellow for highlights */
  --bg: #FAFAFA;
  --white: #FFFFFF;
  --text: #1A1A2E;
  --text-light: #5A6474;
  --border: #E2E8F0;
  --shadow: 0 4px 24px rgba(10,37,64,0.08);
  --shadow-lg: 0 8px 40px rgba(10,37,64,0.14);
  --radius: 4px;
  --radius-lg: 8px;
  --container: 1200px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; color: var(--primary); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-light); border-color: var(--accent-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,16,46,0.3); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-white {
  background: var(--white);
  color: var(--accent);
  border-color: var(--white);
}
.btn-white:hover { background: var(--bg); transform: translateY(-2px); }

.btn-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-dark:hover { background: var(--primary-light); border-color: var(--primary-light); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary);
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo { display: flex; align-items: center; gap: 10px; color: var(--white); }
.logo-icon { font-size: 26px; }
.logo-text { font-size: 20px; font-weight: 800; letter-spacing: 1px; }

.main-nav { display: flex; gap: 4px; }
.main-nav a {
  padding: 8px 16px;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--white); background: rgba(255,255,255,0.1); }

.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 28px; cursor: pointer; padding: 4px 8px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--primary);
  padding: 12px 0;
}
.mobile-nav a {
  padding: 12px 24px;
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav a.active { color: var(--yellow); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(200,16,46,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(245,166,35,0.1) 0%, transparent 50%),
    linear-gradient(135deg, #0A2540 0%, #0d3055 50%, #0A2540 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(245,166,35,0.15);
  color: var(--yellow);
  border: 1px solid rgba(245,166,35,0.3);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 52px;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 600px;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat { text-align: left; }
.stat-num {
  font-size: 40px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  display: inline;
}
.stat-unit { font-size: 28px; font-weight: 900; color: var(--yellow); }
.stat-label {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  margin-top: 6px;
  letter-spacing: 1px;
}

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  background: rgba(200,16,46,0.08);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-header h2 { font-size: 36px; margin-bottom: 12px; }
.section-header p { font-size: 17px; color: var(--text-light); }
.section-cta { text-align: center; margin-top: 48px; }

/* ===== Services Preview ===== */
.services-preview { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card.featured { background: var(--primary); color: var(--white); border-color: var(--primary); }
.service-card.featured::before { background: var(--yellow); }
.service-card.featured h3 { color: var(--white); }
.service-card.featured p { color: rgba(255,255,255,0.75); }

.service-icon { font-size: 40px; margin-bottom: 16px; }
.service-card h3 { font-size: 20px; margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--text-light); margin-bottom: 20px; line-height: 1.8; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tags li {
  background: rgba(10,37,64,0.06);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.service-card.featured .service-tags li { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9); }

/* ===== Why Us ===== */
.why-us { background: var(--bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.feature-num {
  display: inline-block;
  font-size: 42px;
  font-weight: 900;
  color: rgba(10,37,64,0.06);
  line-height: 1;
  margin-bottom: 12px;
}
.feature-item h3 { font-size: 18px; margin-bottom: 10px; }
.feature-item p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* ===== Products Showcase ===== */
.products-showcase { background: var(--white); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.product-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  background: var(--bg);
  border: 1px solid var(--border);
}

.product-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-item:hover img {
  transform: scale(1.08);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,37,64,0.85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-item:hover .product-overlay {
  opacity: 1;
}

.product-overlay span {
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

/* ===== Industries ===== */
.industries { background: var(--primary); color: var(--white); }
.industries .section-header h2 { color: var(--white); }
.industries .section-header p { color: rgba(255,255,255,0.6); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}
.industry-item:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); border-color: var(--yellow); }
.industry-icon { font-size: 36px; }
.industry-item span:last-child { font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.85); }

/* ===== Process ===== */
.process-section { background: var(--white); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.step-num {
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(200,16,46,0.3);
}
.step-content h4 { font-size: 16px; margin-bottom: 8px; }
.step-content p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #a00d24 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { font-size: 36px; color: var(--white); margin-bottom: 12px; }
.cta-banner p { font-size: 18px; opacity: 0.85; margin-bottom: 32px; }

/* ===== Footer ===== */
.site-footer { background: var(--primary); color: rgba(255,255,255,0.7); padding: 64px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 { color: var(--white); font-size: 16px; margin-bottom: 16px; }
.footer-col p { font-size: 14px; line-height: 1.8; margin-bottom: 8px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--yellow); }
.contact-list li { font-size: 14px; line-height: 2; color: rgba(255,255,255,0.7); }
.footer-icp { font-size: 12px !important; color: rgba(255,255,255,0.35) !important; margin-top: 12px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ===== About Page ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { font-size: 42px; color: var(--white); margin-bottom: 10px; }
.page-hero p { font-size: 18px; opacity: 0.7; }

.about-content { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 { font-size: 30px; margin-bottom: 20px; }
.about-text p { font-size: 15px; color: var(--text-light); margin-bottom: 16px; line-height: 2; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.about-stat {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border);
}
.about-stat .num { font-size: 36px; font-weight: 900; color: var(--accent); }
.about-stat .label { font-size: 13px; color: var(--text-light); margin-top: 4px; }
.about-image {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-lg);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: rgba(255,255,255,0.3);
}

.honor-section { background: var(--bg); }
.honor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.honor-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
}
.honor-item .icon { font-size: 36px; margin-bottom: 12px; }
.honor-item h4 { font-size: 15px; margin-bottom: 8px; }
.honor-item p { font-size: 13px; color: var(--text-light); }

/* ===== Services Page ===== */
.services-full { background: var(--white); }
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:nth-child(even) .service-detail-image { order: -1; }
.service-detail:last-child { border-bottom: none; }
.service-detail-info h2 { font-size: 28px; margin-bottom: 16px; }
.service-detail-info p { font-size: 15px; color: var(--text-light); margin-bottom: 24px; line-height: 2; }
.service-detail-info .params {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.param-item {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
}
.param-item .key { font-size: 12px; color: var(--text-light); }
.param-item .val { font-size: 16px; font-weight: 700; color: var(--primary); }
.service-detail-image {
  background: linear-gradient(135deg, #1a4a7a, #0A2540);
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  color: rgba(255,255,255,0.25);
}

/* ===== Cases Page ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: rgba(255,255,255,0.2);
}
.case-body { padding: 24px; }
.case-body h3 { font-size: 18px; margin-bottom: 8px; }
.case-body p { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.case-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.case-meta span { font-size: 12px; background: var(--bg); color: var(--text-light); padding: 3px 10px; border-radius: 20px; }

/* ===== Contact Page ===== */
.contact-wrapper { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
}
.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  color: var(--white);
}
.contact-info-card h2 { font-size: 28px; color: var(--white); margin-bottom: 8px; }
.contact-info-card > p { font-size: 14px; opacity: 0.6; margin-bottom: 36px; }
.info-item { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }
.info-item .icon { font-size: 24px; flex-shrink: 0; width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.info-item .label { font-size: 12px; opacity: 0.5; margin-bottom: 4px; }
.info-item .value { font-size: 16px; font-weight: 600; }

.contact-form-wrapper { padding: 48px 0; }
.contact-form-wrapper h2 { font-size: 28px; margin-bottom: 8px; }
.contact-form-wrapper > p { font-size: 14px; color: var(--text-light); margin-bottom: 32px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-full { grid-column: 1 / -1; }

.form-group { margin-bottom: 0; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit { margin-top: 24px; }
.form-submit .btn { width: 100%; justify-content: center; font-size: 16px; padding: 14px; }

.map-section { background: var(--bg); }
.map-section iframe { width: 100%; height: 400px; border: 0; border-radius: var(--radius-lg); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .service-detail-image { order: 0; }
  .about-image { height: 280px; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 36px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .stat-num { font-size: 32px; }
  .section { padding: 64px 0; }
  .section-header h2 { font-size: 28px; }
  .services-grid, .features-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .about-stat .num { font-size: 28px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
}
