/* ---------------------------------------
   Hangzhou Linping Chenchen Enterprise Management Consulting Studio
   Shared Styles
   --------------------------------------- */

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

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: #2D3436;
  background-color: #F8F7F5;
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

ul, ol {
  list-style: none;
}

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

/* ---------------------------------------
   Layout
   --------------------------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

main {
  flex: 1;
}

/* ---------------------------------------
   Header / Navigation
   --------------------------------------- */
.site-header {
  background-color: #fff;
  border-bottom: 1px solid #E8E6E3;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.site-logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: #2C5F4E;
  letter-spacing: 0.5px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9375rem;
  color: #2D3436;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #2C5F4E;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #2C5F4E;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #2D3436;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ---------------------------------------
   Hero Section
   --------------------------------------- */
.hero {
  padding: 80px 0 60px;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-text {
  flex: 1;
  max-width: 520px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2C5F4E;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #636E72;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

.hero-graphic {
  flex-shrink: 0;
  width: 320px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-graphic-inner {
  width: 100%;
  height: 100%;
  border: 2px solid #E8E6E3;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background-color: #fff;
}

.graphic-icon {
  width: 64px;
  height: 64px;
  border: 2px solid #2C5F4E;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.graphic-icon svg {
  width: 32px;
  height: 32px;
  stroke: #2C5F4E;
  fill: none;
  stroke-width: 1.5;
}

.graphic-label {
  font-size: 0.8125rem;
  color: #636E72;
  letter-spacing: 1px;
}

/* ---------------------------------------
   Section Common
   --------------------------------------- */
.section {
  padding: 60px 0;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2D3436;
  margin-bottom: 12px;
}

.section-divider {
  width: 48px;
  height: 3px;
  background-color: #2C5F4E;
  margin-bottom: 40px;
}

/* ---------------------------------------
   Service Cards
   --------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background-color: #fff;
  border: 1px solid #E8E6E3;
  border-radius: 4px;
  padding: 32px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2C5F4E;
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: 0.9375rem;
  color: #636E72;
  line-height: 1.8;
}

/* ---------------------------------------
   Positioning Statement
   --------------------------------------- */
.positioning {
  padding: 48px 0;
  border-top: 1px solid #E8E6E3;
  text-align: center;
}

.positioning-text {
  font-size: 1.0625rem;
  color: #636E72;
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
}

/* ---------------------------------------
   Service Page - Detail List
   --------------------------------------- */
.service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-detail-item {
  background-color: #fff;
  border: 1px solid #E8E6E3;
  border-radius: 4px;
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detail-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.service-detail-index {
  font-size: 0.8125rem;
  color: #B8965A;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.service-detail-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2D3436;
  margin-bottom: 12px;
}

.service-detail-desc {
  font-size: 0.9375rem;
  color: #636E72;
  line-height: 1.8;
}

/* ---------------------------------------
   About Page
   --------------------------------------- */
.about-intro {
  background-color: #fff;
  border: 1px solid #E8E6E3;
  border-radius: 4px;
  padding: 40px 32px;
  margin-bottom: 40px;
}

.about-intro-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2C5F4E;
  margin-bottom: 16px;
}

.about-intro-text {
  font-size: 1rem;
  color: #2D3436;
  line-height: 2;
}

.contact-section {
  background-color: #fff;
  border: 1px solid #E8E6E3;
  border-radius: 4px;
  padding: 40px 32px;
}

.contact-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2C5F4E;
  margin-bottom: 20px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.contact-label {
  font-size: 0.9375rem;
  color: #636E72;
  flex-shrink: 0;
  min-width: 80px;
}

.contact-value {
  font-size: 0.9375rem;
  color: #2D3436;
}

/* ---------------------------------------
   Footer
   --------------------------------------- */
.site-footer {
  background-color: #fff;
  border-top: 1px solid #E8E6E3;
  padding: 32px 0;
  margin-top: auto;
}

.footer-inner {
  text-align: center;
}

.footer-company {
  font-size: 0.875rem;
  color: #2D3436;
  margin-bottom: 8px;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: #636E72;
  margin-bottom: 6px;
}

.footer-icp {
  font-size: 0.8125rem;
  color: #636E72;
}

.footer-icp a {
  color: #636E72;
  transition: color 0.3s ease;
}

.footer-icp a:hover {
  color: #2C5F4E;
}

/* ---------------------------------------
   Responsive
   --------------------------------------- */
@media (max-width: 768px) {
  .header-inner {
    height: 60px;
  }

  .site-logo {
    font-size: 1rem;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #fff;
    border-bottom: 1px solid #E8E6E3;
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }

  .site-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero-inner {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-graphic {
    width: 100%;
    max-width: 280px;
    height: 200px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .about-intro,
  .contact-section {
    padding: 24px 20px;
  }

  .contact-item {
    flex-direction: column;
    gap: 4px;
  }

  .contact-label {
    min-width: auto;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-graphic {
    width: 260px;
    height: 200px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
