/* 青岛城钰服饰有限公司 - 内销官网 v1.0 */

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

:root {
  --brand: #1F4ED8;
  --brand-dark: #1A3FB0;
  --brand-light: #E8EFFE;
  --text: #222;
  --text-light: #666;
  --bg: #fff;
  --bg-gray: #f5f7fa;
  --border: #e5e7eb;
  --max-w: 1200px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--brand-dark);
}

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

/* ========== HEADER ========== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  height: 48px;
  width: auto;
}

.brand-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.brand-name small {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  font-weight: 400;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  gap: 8px;
  list-style: none;
}

.main-nav a {
  color: var(--text);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover {
  background: var(--brand-light);
  color: var(--brand);
}

.main-nav a.active {
  background: var(--brand);
  color: #fff;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, #1F4ED8 0%, #2c5ee0 100%);
  color: #fff;
  padding: 80px 24px 100px;
  text-align: center;
}

.hero h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero p {
  font-size: 18px;
  opacity: 0.92;
  max-width: 720px;
  margin: 0 auto 32px;
}

.hero-quote {
  display: inline-block;
  font-size: 15px;
  padding: 12px 32px;
  background: rgba(255,255,255,0.15);
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.3);
}

/* ========== CONTAINER ========== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 24px;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 30px;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title p {
  color: var(--text-light);
  font-size: 16px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--brand);
  margin: 20px auto 0;
}

/* ========== FEATURES ========== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-gray);
  padding: 32px 24px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(31,78,216,0.1);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  color: var(--text-light);
  font-size: 14px;
}

/* ========== ABOUT ========== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-intro img {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.about-intro h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--brand);
}

.about-intro p {
  color: var(--text);
  margin-bottom: 14px;
  font-size: 15px;
}

/* 关于我们顶部主视觉图 */
.about-hero-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: block;
  position: relative;
  z-index: 1;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.stat-card {
  background: var(--brand-light);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
}

.stat-card .num {
  font-size: 32px;
  font-weight: 700;
  color: var(--brand);
  display: block;
  line-height: 1;
}

.stat-card .label {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 8px;
  display: block;
}

/* ========== PRODUCTS ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-gray);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.product-card .icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.product-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text);
}

.product-card p {
  color: var(--text-light);
  font-size: 14px;
}

/* ========== FACTORY GALLERY ========== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-gray);
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  font-size: 14px;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info {
  list-style: none;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info li:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info h4 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--text);
}

.contact-info p {
  color: var(--text-light);
  font-size: 14px;
}

.map-placeholder {
  background: var(--brand-light);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  color: var(--brand);
  text-align: center;
  min-height: 320px;
}

.map-placeholder .icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.map-placeholder p {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 8px;
}

/* ========== 微信二维码卡片 ========== */
.qr-card {
  background: var(--brand-light);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
  min-height: 320px;
  box-sizing: border-box;
}

.qr-image {
  width: 240px;
  max-width: 100%;
  height: auto;
  display: block;
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(31, 78, 216, 0.12);
}

.qr-caption {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand);
  margin-top: 20px;
}

.qr-sub {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 8px;
}

/* ========== CTA ========== */
.cta {
  background: var(--brand);
  color: #fff;
  padding: 56px 24px;
  text-align: center;
}

.cta h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.cta p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 32px;
  background: #fff;
  color: var(--brand);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid #fff;
  transition: all 0.2s;
}

.btn:hover {
  background: transparent;
  color: #fff;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #1A3FB0;
  color: #d8d8d8;
  padding: 40px 24px 16px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 16px;
}

.footer-col p,
.footer-col a {
  color: #d8d8d8;
  font-size: 14px;
  line-height: 1.8;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  text-align: center;
  font-size: 13px;
  color: #b8b8b8;
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-bottom p {
  margin: 4px 0;
}

.footer-bottom a {
  color: #d8d8d8;
}

.beian {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 8px;
}

.beian img {
  height: 16px;
  width: auto;
  display: inline-block;
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  .hero {
    padding: 56px 20px 64px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .container {
    padding: 48px 20px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .about-intro,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px;
  }

  .main-nav a {
    padding: 6px 12px;
    font-size: 14px;
  }

  .brand-logo {
    height: 40px;
  }
}
