/* =============================================
   Chengquan Official Website - Global Styles
   GEO-First Design | Alibaba Style
   ============================================= */

:root {
  --orange: #FF6A00;
  --orange-light: #FF8C00;
  --orange-dark: #E55A00;
  --white: #ffffff;
  --gray-100: #f7f7f7;
  --gray-200: #eeeeee;
  --gray-600: #666666;
  --gray-800: #333333;
  --black: #1a1a1a;
  --font: 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --transition: all 0.25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

/* ---- HEADER ---- */
header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-img {
  height: 38px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

nav a:hover, nav a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.header-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 4px;
  border-bottom: none !important;
  font-weight: 600;
}

.header-cta:hover {
  background: var(--orange-light);
  color: var(--white) !important;
  border-bottom: none !important;
}

/* mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, #2a1a00 60%, #3d2200 100%);
  color: var(--white);
  padding: 88px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,106,0,0.18) 0%, transparent 70%);
}

.hero-inner { position: relative; max-width: 860px; margin: 0 auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,106,0,0.15);
  border: 1px solid rgba(255,106,0,0.4);
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--orange);
}
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.4);
  transition: var(--transition);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--orange);
  padding: 32px 24px;
}

.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.stat-item {}

.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-num sup { font-size: 18px; }

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-top: 6px;
}

/* ---- SECTION ---- */
section { padding: 72px 24px; }

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray-600);
  max-width: 600px;
  margin-bottom: 48px;
}

/* ---- IDENTITY BLOCK ---- */
.identity-section { background: var(--gray-100); }

.identity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.identity-text h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--black);
}

.identity-text p {
  color: var(--gray-600);
  font-size: 15px;
  margin-bottom: 16px;
}

.identity-highlight {
  background: var(--white);
  border-left: 4px solid var(--orange);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  font-weight: 600;
  color: var(--black);
  font-size: 15px;
  margin: 20px 0;
}

.identity-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.identity-card-title {
  font-size: 13px;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.fact-list { list-style: none; }

.fact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 14px;
}

.fact-list li:last-child { border-bottom: none; }

.fact-list .icon { color: var(--orange); font-size: 16px; flex-shrink: 0; margin-top: 2px; }

/* ---- SERVICES ---- */
.services-section { background: var(--white); }

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

.service-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-top: 3px solid transparent;
  transition: var(--transition);
}

.service-card:hover {
  border-top-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: var(--white);
}

.service-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.service-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ---- GEO FACTS ---- */
.facts-section { background: var(--black); color: var(--white); }

.facts-section .section-title { color: var(--white); }
.facts-section .section-subtitle { color: rgba(255,255,255,0.6); }

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

.fact-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px;
}

.fact-card-label {
  font-size: 12px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.fact-card-text {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

/* ---- CASE ---- */
.case-section { background: var(--gray-100); }

.case-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.case-quote {
  font-size: 64px;
  color: var(--orange);
  opacity: 0.2;
  position: absolute;
  top: 20px;
  left: 28px;
  line-height: 1;
}

.case-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.timeline-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.timeline-year {
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.timeline-desc {
  font-size: 14px;
  color: var(--gray-600);
  padding-top: 4px;
}

/* ---- CONTACT ---- */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-info p {
  color: var(--gray-600);
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,106,0,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 2px;
}

.contact-item-text a {
  color: var(--orange);
  font-weight: 600;
}

.contact-cta {
  background: var(--gray-100);
  border-radius: 12px;
  padding: 36px;
}

.contact-cta h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-cta p {
  color: var(--gray-600);
  font-size: 14px;
  margin-bottom: 24px;
}

.wechat-box {
  background: var(--white);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  border: 1px solid var(--gray-200);
}

.wechat-box p {
  font-size: 14px;
  color: var(--gray-800);
  font-weight: 600;
  margin-bottom: 4px;
}

.wechat-box span {
  font-size: 13px;
  color: var(--gray-600);
}

/* ---- FOOTER ---- */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo { height: 28px; opacity: 0.7; }

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
}

.footer-links a { color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: var(--orange); }

.footer-copy { font-size: 12px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .identity-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }

  nav ul { display: none; flex-direction: column; gap: 0; }
  nav ul.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--black);
    padding: 12px 24px 20px;
  }
  nav ul.open li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  nav { position: static; }
  header { position: relative; }
}
