/* ============================================
   福盛昌屋面建材 - 全局样式 v4（全圆角+产品分类版）
   ============================================ */

:root {
  --primary: #2F5D8A;
  --primary-dark: #10243F;
  --primary-soft: #EAF1F8;
  --gold: #C89B3C;
  --title: #111827;
  --text: #4B5563;
  --muted: #6B7280;
  --bg: #F7F8FA;
  --white: #FFFFFF;
  --line: rgba(17, 24, 39, .10);
  --shadow: 0 18px 48px rgba(17, 24, 39, .08);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --ease: cubic-bezier(.25, .46, .45, .94);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; border-radius: var(--radius-sm); }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

/* ========== 滚动揭示动画 ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }
.reveal-delay-6 { transition-delay: .6s; }

.reveal-left {
  opacity: 0; transform: translateX(-60px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(60px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0; transform: scale(.92);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ========== Header ========== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 76px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  color: var(--title);
  border-bottom: 1px solid rgba(17,24,39,.08);
  transition: .4s var(--ease);
}
.header.scrolled {
  height: 64px;
  box-shadow: 0 4px 24px rgba(17,24,39,.1);
}
.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: .4s var(--ease);
}
.header.scrolled .header-inner { height: 64px; }

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--title);
}
.logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  position: relative;
  transition: .3s;
  border-radius: var(--radius-xs);
}
.logo::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.5px solid rgba(200,155,60,.78);
  border-radius: 4px;
}
.brand-text strong { display: block; font-size: 18px; line-height: 1.2; }
.brand-text small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .02em;
}
.nav {
  display: flex;
  gap: 32px;
  font-size: 15px;
  color: #374151;
}
.nav a {
  position: relative;
  transition: .25s;
  padding: 4px 0;
}
.nav a:hover { color: var(--primary); }
.nav a.active { color: var(--primary); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: .3s var(--ease);
}
.nav a:hover::after,
.nav a.active::after { transform: scaleX(1); }

.hotline {
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}
.hotline strong {
  display: block;
  color: var(--primary);
  font-size: 20px;
  letter-spacing: .04em;
  margin-top: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--title);
  margin: 5px 0;
  transition: .3s;
}

/* ========== Hero ========== */
.hero {
  min-height: 760px;
  padding-top: 76px;
  color: var(--title);
  background:
    linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.68) 46%, rgba(255,255,255,.16) 100%),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1800&auto=format&fit=crop") center/cover;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  animation: heroZoom 20s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}
@keyframes heroZoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 150px 0 80px;
  max-width: 820px;
}
.hero-content .eyebrow  { animation: fadeSlideUp .8s var(--ease) .2s both; }
.hero-content h1        { animation: fadeSlideUp .8s var(--ease) .4s both; }
.hero-content p         { animation: fadeSlideUp .8s var(--ease) .6s both; }
.hero-content .hero-actions { animation: fadeSlideUp .8s var(--ease) .8s both; }
.hero-content .stats    { animation: fadeSlideUp .8s var(--ease) 1.0s both; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .16em;
  font-size: 13px;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 48px;
  height: 2px;
  background: var(--gold);
}

h1 {
  margin: 30px 0 24px;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.08;
  letter-spacing: -.05em;
  color: var(--title);
}

.hero p {
  max-width: 680px;
  font-size: 20px;
  line-height: 1.8;
  color: var(--text);
}

.hero-actions {
  margin-top: 46px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ========== Buttons ========== */
.btn {
  min-width: 150px;
  height: 50px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  font-weight: 800;
  font-size: 15px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.8);
  color: var(--title);
  transition: .3s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: translateX(-101%);
  transition: transform .35s var(--ease);
  z-index: 0;
}
.btn:hover::before { transform: translateX(0); }
.btn span { position: relative; z-index: 1; }
.btn:hover {
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(47,93,138,.25);
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary::before { background: var(--primary-dark); }
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold::before { background: #b08a2e; }

/* ========== Stats Bar ========== */
.stats {
  position: relative;
  z-index: 3;
  margin-top: 70px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(17,24,39,.08);
  backdrop-filter: blur(18px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  padding: 28px 34px;
  border-right: 1px solid rgba(17,24,39,.08);
  text-align: center;
  transition: .35s var(--ease);
  border-radius: var(--radius-sm);
}
.stat:hover {
  background: rgba(47,93,138,.04);
  transform: translateY(-4px);
}
.stat:last-child { border-right: none; }
.stat strong {
  display: block;
  color: var(--primary);
  font-size: 42px;
  line-height: 1;
  letter-spacing: -.03em;
  transition: .3s;
}
.stat:hover strong { color: var(--gold); transform: scale(1.08); }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }

/* ========== Section Head ========== */
section { padding: 110px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 54px;
}
.section-title {
  margin: 12px 0 0;
  font-size: 38px;
  color: var(--title);
  letter-spacing: -.03em;
  line-height: 1.2;
}
.section-desc {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.8;
}

/* ========== Product Grid (首页) ========== */
.product-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}
.product-card {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  background: var(--primary-dark);
  color: #fff;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: .45s var(--ease);
  cursor: pointer;
  border-radius: var(--radius);
}
.product-card.large { grid-row: span 2; min-height: 744px; }
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(16,36,63,.82));
  z-index: 1;
  transition: .4s;
}
.product-card .card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  transition: transform .6s var(--ease), opacity .4s;
  border-radius: 0;
}
.product-card:hover .card-bg { transform: scale(1.08); opacity: .92; }
.product-card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 4px;
  background: var(--gold);
  z-index: 3;
  transition: width .4s var(--ease);
}
.product-card:hover::after { width: 100%; }
.product-card-content { position: relative; z-index: 2; }
.product-card h3 { margin: 0 0 12px; font-size: 24px; transition: .3s; }
.product-card:hover h3 { transform: translateY(-4px); }
.product-card p { margin: 0; color: rgba(255,255,255,.78); line-height: 1.7; font-size: 14px; }

/* ========== Product Center (products.html 分类网格) ========== */
/* ========== Products List (products.php) ========== */
/* ========== Product Detail → 见 product-detail.php 内联样式 ========== */

/* ========== Cases ========== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.case-card {
  border: 1px solid var(--line);
  background: #fff;
  transition: .4s var(--ease);
  overflow: hidden;
  border-radius: var(--radius);
}
.case-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(17,24,39,.12);
  border-color: var(--primary);
}
.case-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .5s var(--ease);
  border-radius: 0;
}
.case-card:hover img { transform: scale(1.06); }
.case-info { padding: 24px; }
.case-info h3 { margin: 0 0 8px; color: var(--title); font-size: 20px; transition: .25s; }
.case-card:hover .case-info h3 { color: var(--primary); }
.case-info p { margin: 0; color: var(--muted); font-size: 14px; }

/* Case filter tabs */
.case-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.case-tab {
  padding: 10px 24px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: .25s var(--ease);
  border-radius: var(--radius-xs);
}
.case-tab:hover,
.case-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47,93,138,.2);
}

/* ========== Advantage (dark bg) ========== */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid rgba(255,255,255,.12);
  border-left: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden;
}
.adv {
  min-height: 210px;
  padding: 30px 24px;
  border-right: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: .35s var(--ease);
  border-radius: var(--radius-sm);
}
.adv:hover {
  background: rgba(200,155,60,.08);
  transform: translateY(-6px);
}
.adv b {
  color: var(--gold);
  font-size: 36px;
  font-weight: 900;
  display: block;
  transition: .3s;
}
.adv:hover b { transform: scale(1.15); }
.adv h3 { margin: 20px 0 10px; font-size: 18px; }
.adv p { margin: 0; color: rgba(255,255,255,.64); line-height: 1.7; font-size: 13px; }

/* ========== Process ========== */
.process-line {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 44px rgba(17,24,39,.04);
  border-radius: var(--radius);
  overflow: hidden;
}
.step {
  padding: 34px 24px;
  border-right: 1px solid var(--line);
  transition: .35s var(--ease);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.step::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0;
  background: var(--primary);
  transition: height .35s var(--ease);
  z-index: 0;
}
.step:hover::before { height: 4px; }
.step:last-child { border-right: none; }
.step span { color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.step h3 { margin: 14px 0 8px; color: var(--title); font-size: 17px; position: relative; z-index: 1; }
.step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; position: relative; z-index: 1; }
.step:hover h3 { color: var(--primary); }

/* ========== News (list style) ========== */
.news-list { padding: 110px 0; }
.news-item {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  padding: 32px 24px;
  border-bottom: 1px solid var(--line);
  transition: .35s var(--ease);
  cursor: pointer;
  border-radius: var(--radius);
}
.news-item:first-child { border-top: 1px solid var(--line); }
.news-item:hover {
  background: var(--bg);
  box-shadow: 0 8px 30px rgba(17,24,39,.06);
  transform: translateX(8px);
}
.news-thumb {
  height: 200px;
  background: var(--primary-dark);
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-sm);
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  transition: transform .5s var(--ease), opacity .4s;
  border-radius: 0;
}
.news-item:hover .news-thumb img { transform: scale(1.06); opacity: 1; }
.news-thumb::after {
  content: "查看详情 →";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(47,93,138,.72);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  opacity: 0;
  transition: opacity .35s var(--ease);
  border-radius: var(--radius-sm);
}
.news-item:hover .news-thumb::after { opacity: 1; }

.news-body { display: flex; flex-direction: column; justify-content: center; }
.news-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.news-body h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--title);
  line-height: 1.3;
  transition: .25s;
}
.news-item:hover h3 { color: var(--primary); }
.news-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-body .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: .3s var(--ease);
}
.news-body .read-more:hover { gap: 14px; }

/* News sidebar */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
}
.news-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}
.sidebar-block {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  margin-bottom: 24px;
  transition: .3s;
  border-radius: var(--radius);
}
.sidebar-block:hover {
  box-shadow: 0 8px 30px rgba(17,24,39,.06);
}
.sidebar-block h4 {
  margin: 0 0 18px;
  font-size: 17px;
  color: var(--title);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold);
}
.sidebar-categories li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  transition: .2s;
}
.sidebar-categories li:hover { padding-left: 8px; }
.sidebar-categories li:last-child { border-bottom: none; }
.sidebar-categories a:hover { color: var(--primary); }
.sidebar-categories .count { color: var(--muted); font-size: 13px; }

.sidebar-posts li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
  transition: .2s;
}
.sidebar-posts li:hover { padding-left: 8px; }
.sidebar-posts li:last-child { border-bottom: none; }
.sidebar-posts a:hover { color: var(--primary); }
.sidebar-posts .post-date { font-size: 12px; color: var(--muted); display: block; margin-top: 4px; }

/* Pagination */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
}
.pagination a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  font-size: 14px;
  transition: .25s var(--ease);
  border-radius: var(--radius-xs);
}
.pagination a:hover,
.pagination a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(47,93,138,.2);
}

/* ========== About & Factory ========== */
.about-intro { padding: 110px 0; }
.about-layout,
.factory-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: center;
}
.about-img {
  height: 560px;
  background: var(--primary-dark);
  position: relative;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: .4s var(--ease);
  border-radius: var(--radius);
}
.about-img:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(17,24,39,.15);
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .88;
  transition: transform .6s var(--ease);
  border-radius: 0;
}
.about-img:hover img { transform: scale(1.04); }
.about-img::after {
  content: "FACTORY";
  position: absolute;
  right: -36px;
  bottom: 36px;
  writing-mode: vertical-rl;
  color: rgba(47,93,138,.18);
  font-size: 70px;
  font-weight: 900;
  letter-spacing: .08em;
}
.about-text .eyebrow { margin-bottom: 8px; }
.about-text h2 { margin: 12px 0 20px; font-size: 36px; color: var(--title); letter-spacing: -.02em; }
.about-text p { color: var(--muted); line-height: 1.9; }

.about-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.detail-item {
  background: var(--bg);
  padding: 28px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 16px 40px rgba(17,24,39,.06);
  transition: .35s var(--ease);
  border-radius: var(--radius);
}
.detail-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(17,24,39,.1);
  border-left-width: 8px;
}
.detail-item h4 { margin: 0 0 10px; color: var(--title); font-size: 18px; }
.detail-item p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; }

/* Numbers counter */
.numbers { padding: 90px 0; background: var(--primary-dark); color: #fff; text-align: center; }
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.number-item {
  transition: .35s var(--ease);
  cursor: default;
  border-radius: var(--radius);
  padding: 20px;
}
.number-item:hover { transform: translateY(-8px); }
.number-item b {
  display: block;
  font-size: 52px;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -.03em;
  transition: .3s;
}
.number-item:hover b { transform: scale(1.1); }
.number-item span { display: block; margin-top: 12px; color: rgba(255,255,255,.68); font-size: 15px; }

/* ========== Page Hero (inner pages) ========== */
.page-hero {
  padding-top: 76px;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 400px;
  height: 400px;
  border: 80px solid rgba(200,155,60,.08);
  border-radius: 50%;
}
.page-hero .container { position: relative; z-index: 2; padding: 80px 0; }
.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -.03em;
  line-height: 1.15;
  animation: fadeSlideUp .7s var(--ease) .2s both;
  color: #fff;
}
.page-hero p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 18px;
  max-width: 640px;
  animation: fadeSlideUp .7s var(--ease) .4s both;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-bottom: 24px;
  animation: fadeSlideUp .7s var(--ease) both;
}
.breadcrumb a:hover { color: var(--gold); }

/* ========== Contact ========== */
.contact-section { padding: 110px 0; }
.contact-box {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: center;
  padding: 56px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: .4s var(--ease);
  border-radius: var(--radius);
}
.contact-box:hover {
  box-shadow: 0 20px 60px rgba(17,24,39,.08);
}
.contact-text .eyebrow { margin-bottom: 8px; }
.contact-text h2 { margin: 12px 0 20px; font-size: 38px; color: var(--title); letter-spacing: -.03em; line-height: 1.15; }
.contact-text p { color: var(--muted); line-height: 1.8; }

.contact-info {
  background: #fff;
  padding: 34px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(17,24,39,.05);
  transition: .35s var(--ease);
  border-radius: var(--radius);
}
.contact-info:hover {
  box-shadow: 0 20px 50px rgba(17,24,39,.1);
  transform: translateY(-4px);
}
.contact-info div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
  transition: .2s;
}
.contact-info div:hover { padding-left: 8px; }
.contact-info div:last-child { border-bottom: none; }
.contact-info strong { color: var(--title); margin-right: 8px; }

/* Map area - 横图 */
.map-section { padding: 0 0 110px; }
.map-container {
  width: 100%;
  height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 44px rgba(17,24,39,.06);
  transition: .4s var(--ease);
}
.map-container:hover {
  box-shadow: 0 20px 56px rgba(17,24,39,.1);
  transform: translateY(-4px);
}
.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* ========== Footer ========== */
.footer {
  background: var(--title);
  color: rgba(255,255,255,.58);
  padding: 48px 0 26px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-text {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.footer-brand small { color: rgba(255,255,255,.4); font-size: 11px; }
.footer-brand p { margin: 16px 0 0; color: rgba(255,255,255,.45); line-height: 1.8; font-size: 13px; }
.footer h4 {
  color: #fff;
  font-size: 15px;
  margin: 0 0 20px;
  letter-spacing: .04em;
}
.footer-links li { padding: 6px 0; transition: .2s; }
.footer-links li:hover { padding-left: 6px; }
.footer-links a { color: rgba(255,255,255,.5); font-size: 13px; transition: .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li {
  padding: 6px 0;
  color: rgba(255,255,255,.5);
  font-size: 13px;
}
.footer-bottom {
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}

/* ========== 浮动CTA按钮 ========== */
.float-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeSlideUp .6s var(--ease) 1.5s both;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  cursor: pointer;
  transition: .3s var(--ease);
  border: none;
}
.float-btn:hover { transform: scale(1.12); }
.float-btn.phone { background: var(--primary); }
.float-btn.wechat { background: #07C160; }
.float-btn.top { background: var(--gold); font-size: 18px; }

/* ========== Responsive ========== */

/* 移动端导航打开状态 */
.nav.nav-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 76px; left: 0; right: 0;
  background: #fff;
  padding: 16px 24px 24px;
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  z-index: 99;
}
.nav.nav-open a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.nav.nav-open a:last-child { border-bottom: none; }

@media (max-width: 960px) {
  .nav, .hotline { display: none; }
  .nav-toggle { display: block; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 1px solid rgba(17,24,39,.08); border-bottom: 1px solid rgba(17,24,39,.08); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:last-child,
  .stat:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card.large { min-height: 420px; grid-row: auto; grid-column: span 2; }
  .about-layout,
  .factory-layout { grid-template-columns: 1fr; }
  .about-img { height: 360px; }
  .case-grid,
  .product-grid-page { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .adv-grid { grid-template-columns: repeat(3, 1fr); border: none; }
  .adv { border: 1px solid rgba(255,255,255,.12); }
  .process-line { grid-template-columns: repeat(3, 1fr); }
  .contact-box { grid-template-columns: 1fr; padding: 40px; }
  .news-layout { grid-template-columns: 1fr; }
  .news-sidebar { position: static; }
  .news-item { grid-template-columns: 1fr; }
  .news-thumb { height: 220px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { display: block; }
  .section-desc { margin-top: 16px; }
  .section-title { font-size: 30px; }
  .page-hero { min-height: auto; }
  .page-hero .container { padding: 100px 0 60px; }
  .page-hero h1 { font-size: 36px; }
  .about-img::after { display: none; }
  .hero { min-height: auto; }
  .hero-content { padding: 130px 0 50px; }
  .float-cta { bottom: 20px; right: 20px; }
  .about-details { grid-template-columns: 1fr; }
  .detail-item { padding: 22px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, 1280px); }
  section { padding: 60px 0; }
  .stats { grid-template-columns: 1fr; margin-top: 36px; }
  .stat { padding: 24px; border-right: none; border-bottom: 1px solid rgba(17,24,39,.08); }
  .stat:last-child { border-bottom: none; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card.large { grid-column: span 1; min-height: 340px; }
  .case-grid,
  .product-grid-page { grid-template-columns: 1fr; gap: 16px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .adv { min-height: auto; padding: 24px 18px; }
  .process-line { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { display: grid; }
  .hero p { font-size: 16px; }
  .btn { width: 100%; min-width: auto; }
  .contact-box { padding: 28px; }
  .contact-text h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero .container { padding: 80px 0 50px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero p { font-size: 15px; }
  .about-img { height: 280px; }
  .about-text h2 { font-size: 28px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .number-item b { font-size: 38px; }
  .map-container { height: 240px; }
  .header { height: 64px; }
  .header-inner { height: 64px; }
  .nav.nav-open { top: 64px; }
  .logo { width: 36px; height: 36px; font-size: 17px; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { font-size: 10px; }
  .float-btn { width: 46px; height: 46px; font-size: 18px; }
}
