/* ============================================================
   雅蒂艺术建站 ARTISTIC INC - 重工机械风主样式表
   配色：深灰 + 铁黑 + 暗红 + 金属银灰
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --iron-black: #0d0d0d;
  --dark-iron: #1a1a1a;
  --deep-gray: #2a2a2a;
  --mid-gray: #333333;
  --steel-gray: #4a4a4a;
  --metal-light: #8a8a8a;
  --metal-silver: #b0b0b0;
  --dark-red: #8b0000;
  --rust-red: #a52a2a;
  --bright-red: #b22222;
  --weld-orange: #cc5500;
  --text-primary: #e0e0e0;
  --text-secondary: #a0a0a0;
  --text-muted: #707070;
  --border-metal: #3a3a3a;
  --border-dark: #222222;
  --shadow-heavy: 0 8px 32px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 20px rgba(139,0,0,0.3);
  --font-heading: 'Impact', 'Arial Black', 'Microsoft YaHei', sans-serif;
  --font-body: 'Microsoft YaHei', 'Segoe UI', Arial, sans-serif;
  --font-mono: 'Consolas', 'Courier New', monospace;
  --container-max: 1280px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--iron-black);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; letter-spacing: 0.02em; }
p { margin-bottom: 1em; }
::selection { background: var(--dark-red); color: #fff; }

/* ---------- Utility ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.flex { display: flex; } .flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.wrap { flex-wrap: wrap; }

/* ---------- Industrial Section Base ---------- */
.section { padding: 80px 0; position: relative; }
.section-tight { padding: 48px 0; }
.section-dark { background: var(--iron-black); }
.section-iron { background: var(--dark-iron); }
.section-gray { background: var(--deep-gray); }
.section-red { background: linear-gradient(135deg, var(--dark-red), var(--dark-iron)); }

/* Diagonal industrial divider */
.diagonal-top::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--dark-red) 0, var(--dark-red) 40px, var(--steel-gray) 40px, var(--steel-gray) 80px);
}
.rivet-border {
  border: 2px solid var(--border-metal);
  position: relative;
}
.rivet-border::before, .rivet-border::after {
  content: ''; position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--metal-silver), var(--steel-gray));
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}
.rivet-border::before { top: 6px; left: 6px; }
.rivet-border::after { bottom: 6px; right: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; font-family: var(--font-heading); font-size: 15px;
  letter-spacing: 0.08em; text-transform: uppercase; border: 2px solid transparent;
  cursor: pointer; transition: var(--transition); position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s;
}
.btn:hover::before { left: 100%; }
.btn-primary { background: var(--dark-red); color: #fff; border-color: var(--rust-red); }
.btn-primary:hover { background: var(--rust-red); box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--metal-silver); border-color: var(--steel-gray); }
.btn-outline:hover { border-color: var(--rust-red); color: var(--rust-red); background: rgba(139,0,0,0.1); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-ghost:hover { border-color: var(--rust-red); color: var(--rust-red); }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13,13,13,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark); transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(13,13,13,0.97); box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  border-bottom-color: var(--dark-red);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 4px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text span:first-child { font-family: var(--font-heading); font-size: 20px; color: var(--text-primary); letter-spacing: 0.05em; }
.brand-text small { font-size: 10px; color: var(--rust-red); letter-spacing: 0.15em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block; padding: 24px 16px; font-size: 14px; font-weight: 500;
  color: var(--text-secondary); letter-spacing: 0.03em; position: relative;
}
.main-nav > li > a::after {
  content: ''; position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--rust-red); transition: width 0.3s;
}
.main-nav > li > a:hover, .main-nav > li.active > a { color: var(--text-primary); }
.main-nav > li > a:hover::after, .main-nav > li.active > a::after { width: 24px; }
.main-nav > li.has-sub > a::before {
  content: '▾'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 10px; color: var(--text-muted);
}
.nav-cta {
  margin-left: 12px; padding: 10px 22px !important; background: var(--dark-red);
  color: #fff !important; border: 1px solid var(--rust-red); font-size: 13px !important;
  font-family: var(--font-heading); letter-spacing: 0.08em;
}
.nav-cta:hover { background: var(--rust-red); }
.nav-cta::after { display: none !important; }

/* Dropdown */
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--dark-iron);
  border: 1px solid var(--border-metal); border-top: 2px solid var(--dark-red);
  padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition); box-shadow: var(--shadow-heavy); z-index: 100;
}
.main-nav > li.has-sub:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a {
  display: block; padding: 10px 20px; font-size: 13px; color: var(--text-secondary);
  border-left: 3px solid transparent; transition: var(--transition);
}
.dropdown-menu li a:hover { color: var(--rust-red); background: rgba(139,0,0,0.1); border-left-color: var(--rust-red); padding-left: 24px; }

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 8px; z-index: 1001;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px; background: var(--text-primary);
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
  background: var(--dark-iron); border-left: 2px solid var(--dark-red);
  padding: 90px 20px 30px; z-index: 999; transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.mobile-drawer.open { right: 0; }
.mobile-drawer li a {
  display: block; padding: 14px 16px; font-size: 15px; color: var(--text-secondary);
  border-bottom: 1px solid var(--border-dark);
}
.mobile-drawer li a:hover { color: var(--rust-red); }
.mobile-sub { padding-left: 16px; }
.mobile-sub li a { font-size: 13px; padding: 10px 12px; }
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 998;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.overlay.show { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero-home {
  min-height: 100vh; display: flex; align-items: center; padding-top: 72px;
  background: var(--iron-black); position: relative; overflow: hidden;
}
.hero-home::before {
  content: ''; position: absolute; inset: 0;
  background: url('../images/banner.jpg') center/cover no-repeat; opacity: 0.25;
}
.hero-home::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,13,13,0.9) 0%, rgba(26,26,26,0.7) 50%, rgba(13,13,13,0.95) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 2;
}
.hero-text .eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px;
  background: rgba(139,0,0,0.2); border: 1px solid var(--dark-red);
  font-size: 13px; color: var(--rust-red); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(36px, 5vw, 64px); line-height: 1.15; margin-bottom: 24px;
  color: var(--text-primary);
}
.hero-title .accent { color: var(--rust-red); position: relative; }
.hero-title .accent::after {
  content: ''; position: absolute; bottom: 4px; left: 0; right: 0; height: 4px;
  background: var(--dark-red); z-index: -1;
}
.hero-desc { font-size: 17px; color: var(--text-secondary); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-heading); font-size: 36px; color: var(--rust-red); line-height: 1; }
.hero-stat .lbl { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

.hero-quilt { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.q-cell {
  background: var(--dark-iron); border: 1px solid var(--border-metal); padding: 20px;
  position: relative; overflow: hidden;
}
.q-cell.q1 { grid-column: 1 / -1; padding: 0; }
.q-cell.q1 img { width: 100%; height: 220px; object-fit: cover; }
.q-badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 12px;
  background: var(--dark-red); color: #fff; font-size: 11px; letter-spacing: 0.08em;
}
.q-cell strong { display: block; font-size: 1.1rem; color: var(--metal-silver); }
.q-cell small { color: var(--text-muted); font-size: 12px; }

/* ---------- Section Head ---------- */
.section-head { margin-bottom: 48px; max-width: 700px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px;
  color: var(--rust-red); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px;
}
.section-head .eyebrow::before {
  content: ''; width: 32px; height: 2px; background: var(--dark-red);
}
.section-head h2 { font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 16px; color: var(--text-primary); }
.section-head p { color: var(--text-secondary); font-size: 16px; }

/* ---------- Advantage Grid (4 quadrants) ---------- */
.advantage-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border-metal); border: 1px solid var(--border-metal);
}
.adv-quadrant {
  background: var(--dark-iron); padding: 36px 28px; transition: var(--transition);
  position: relative; overflow: hidden;
}
.adv-quadrant::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--dark-red); transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.adv-quadrant:hover { background: var(--deep-gray); }
.adv-quadrant:hover::before { transform: scaleX(1); }
.adv-quadrant .ico {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(139,0,0,0.15); border: 1px solid var(--dark-red); color: var(--rust-red);
}
.adv-quadrant h3 { font-size: 18px; margin-bottom: 12px; color: var(--text-primary); }
.adv-quadrant p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ---------- Service Patch Grid ---------- */
.patch-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.patch-cell {
  display: block; background: var(--dark-iron); border: 1px solid var(--border-metal);
  padding: 28px 24px; transition: var(--transition); position: relative;
}
.patch-cell::after {
  content: '→'; position: absolute; top: 20px; right: 20px; color: var(--text-muted);
  font-size: 18px; transition: var(--transition);
}
.patch-cell:hover { border-color: var(--rust-red); transform: translateY(-4px); box-shadow: var(--shadow-heavy); }
.patch-cell:hover::after { color: var(--rust-red); right: 16px; }
.patch-cell h4 { font-size: 16px; margin-bottom: 10px; color: var(--text-primary); }
.patch-cell p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ---------- Process Track ---------- */
.process-track {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative;
}
.process-track::before {
  content: ''; position: absolute; top: 30px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--steel-gray) 0, var(--steel-gray) 8px, transparent 8px, transparent 16px);
}
.process-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step-num {
  width: 60px; height: 60px; margin: 0 auto 20px; display: grid; place-items: center;
  background: var(--dark-iron); border: 2px solid var(--dark-red); color: var(--rust-red);
  font-family: var(--font-heading); font-size: 22px; position: relative;
}
.step-num::before {
  content: ''; position: absolute; inset: -6px; border: 1px solid var(--border-metal);
}
.process-step h4 { font-size: 16px; margin-bottom: 8px; color: var(--text-primary); }
.process-step p { font-size: 13px; color: var(--text-secondary); }

/* ---------- Case Grid ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  display: block; background: var(--dark-iron); border: 1px solid var(--border-metal);
  overflow: hidden; transition: var(--transition);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-heavy); border-color: var(--rust-red); }
.case-img { position: relative; overflow: hidden; height: 220px; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.case-card:hover .case-img img { transform: scale(1.08); }
.case-tag {
  position: absolute; top: 12px; left: 12px; padding: 4px 12px;
  background: var(--dark-red); color: #fff; font-size: 11px; letter-spacing: 0.08em;
}
.case-body { padding: 24px; }
.case-title { font-size: 18px; margin-bottom: 10px; color: var(--text-primary); }
.case-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.6; }
.case-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); padding-top: 12px; border-top: 1px solid var(--border-dark); }

/* ---------- News Grid ---------- */
.news-quilt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  display: block; background: var(--dark-iron); border: 1px solid var(--border-metal);
  overflow: hidden; transition: var(--transition);
}
.news-card:hover { border-color: var(--rust-red); transform: translateY(-4px); }
.news-img { height: 180px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-img img { transform: scale(1.06); }
.news-body { padding: 20px; }
.news-date { font-size: 12px; color: var(--rust-red); margin-bottom: 8px; font-family: var(--font-mono); }
.news-title { font-size: 16px; margin-bottom: 8px; color: var(--text-primary); line-height: 1.4; }
.news-excerpt { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.news-foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); padding-top: 10px; border-top: 1px solid var(--border-dark); }

/* ---------- Stat Band ---------- */
.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border-metal); border: 1px solid var(--dark-red);
}
.stat-item { background: var(--dark-iron); padding: 36px 24px; text-align: center; }
.stat-num { font-family: var(--font-heading); font-size: 42px; color: var(--rust-red); line-height: 1; margin-bottom: 8px; }
.stat-lbl { font-size: 14px; color: var(--text-secondary); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center;
  background: linear-gradient(135deg, var(--dark-red), var(--dark-iron));
  border: 1px solid var(--rust-red); padding: 48px; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; right: -10%; width: 300px; height: 300px;
  border: 1px solid rgba(255,255,255,0.05); border-radius: 50%;
}
.cta-banner h2 { font-size: 28px; color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 0; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: 140px 0 80px; background: var(--iron-black); position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('../images/bg.jpg') center/cover no-repeat; opacity: 0.15;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--dark-red) 0, var(--dark-red) 30px, var(--steel-gray) 30px, var(--steel-gray) 60px);
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--rust-red); }
.breadcrumb .sep { margin: 0 8px; color: var(--text-muted); }
.page-hero h1 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 16px; }
.page-hero p { font-size: 17px; color: var(--text-secondary); max-width: 600px; }

/* ---------- About / Content Layout ---------- */
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }
.content-img { position: relative; }
.content-img img { width: 100%; border: 1px solid var(--border-metal); }
.content-img::before {
  content: ''; position: absolute; top: -16px; left: -16px; right: 16px; bottom: 16px;
  border: 2px solid var(--dark-red); z-index: -1;
}
.content-text h2 { font-size: 32px; margin-bottom: 20px; }
.content-text p { color: var(--text-secondary); margin-bottom: 16px; }
.feature-list { margin-top: 24px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--border-dark); font-size: 15px; color: var(--text-secondary);
}
.feature-list li::before {
  content: ''; flex-shrink: 0; width: 8px; height: 8px; margin-top: 8px;
  background: var(--rust-red); transform: rotate(45deg);
}

/* ---------- Team Grid ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  background: var(--dark-iron); border: 1px solid var(--border-metal); overflow: hidden;
  transition: var(--transition); text-align: center;
}
.team-card:hover { border-color: var(--rust-red); transform: translateY(-4px); }
.team-card img { width: 100%; height: 320px; object-fit: cover; }
.team-info { padding: 20px; }
.team-info h3 { font-size: 18px; margin-bottom: 4px; }
.team-info .role { font-size: 13px; color: var(--rust-red); margin-bottom: 10px; }
.team-info p { font-size: 13px; color: var(--text-secondary); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pricing-card {
  background: var(--dark-iron); border: 1px solid var(--border-metal); padding: 36px 28px;
  display: flex; flex-direction: column; transition: var(--transition); position: relative;
}
.pricing-card.featured { border-color: var(--rust-red); background: linear-gradient(180deg, rgba(139,0,0,0.1), var(--dark-iron)); }
.pricing-card.featured::before {
  content: '推荐'; position: absolute; top: 0; right: 24px; padding: 4px 12px;
  background: var(--dark-red); color: #fff; font-size: 12px;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-heavy); }
.pricing-name { font-size: 20px; margin-bottom: 8px; }
.pricing-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.pricing-price { font-family: var(--font-heading); font-size: 42px; color: var(--rust-red); margin-bottom: 24px; }
.pricing-price small { font-size: 14px; color: var(--text-muted); }
.pricing-features { flex: 1; margin-bottom: 24px; }
.pricing-features li {
  padding: 8px 0; font-size: 14px; color: var(--text-secondary); border-bottom: 1px solid var(--border-dark);
  display: flex; align-items: center; gap: 8px;
}
.pricing-features li::before { content: '✓'; color: var(--rust-red); font-weight: bold; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--dark-iron); border: 1px solid var(--border-metal); margin-bottom: 12px;
  transition: var(--transition);
}
.faq-item.active { border-color: var(--rust-red); }
.faq-q {
  padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; font-weight: 500; color: var(--text-primary);
}
.faq-q::after { content: '+'; font-size: 24px; color: var(--rust-red); transition: transform 0.3s; }
.faq-item.active .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  padding: 0 24px;
}
.faq-item.active .faq-a { max-height: 300px; padding-bottom: 20px; }
.faq-a p { color: var(--text-secondary); font-size: 15px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info-block {
  background: var(--dark-iron); border: 1px solid var(--border-metal); padding: 36px;
}
.contact-info-block h3 { font-size: 22px; margin-bottom: 24px; }
.contact-item {
  display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border-dark);
}
.contact-item .ci-icon {
  width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center;
  background: rgba(139,0,0,0.15); border: 1px solid var(--dark-red); color: var(--rust-red);
}
.contact-item h4 { font-size: 14px; margin-bottom: 4px; color: var(--text-primary); }
.contact-item p { font-size: 14px; color: var(--text-secondary); margin-bottom: 0; }

.contact-form { background: var(--dark-iron); border: 1px solid var(--border-metal); padding: 36px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; letter-spacing: 0.05em; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; background: var(--iron-black); border: 1px solid var(--border-metal);
  color: var(--text-primary); font-family: var(--font-body); font-size: 14px; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--rust-red); box-shadow: 0 0 0 3px rgba(139,0,0,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Article / Show page ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.article-main {
  background: var(--dark-iron); border: 1px solid var(--border-metal); padding: 40px;
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--text-muted);
  padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--border-dark);
}
.article-meta .author { display: flex; align-items: center; gap: 8px; }
.article-meta .avatar {
  width: 28px; height: 28px; border-radius: 50%; background: var(--dark-red); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: bold;
}
.article-body { font-size: 16px; line-height: 1.9; color: var(--text-secondary); }
.article-body img { width: 100%; margin-bottom: 24px; border: 1px solid var(--border-metal); }
.article-body h2, .article-body h3 { color: var(--text-primary); margin: 28px 0 14px; }
.article-body p { margin-bottom: 16px; }
.article-side .side-block {
  background: var(--dark-iron); border: 1px solid var(--border-metal); padding: 24px; margin-bottom: 20px;
}
.side-block h4 {
  font-size: 16px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--dark-red);
  display: flex; align-items: center; gap: 8px;
}
.side-news-item {
  display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-dark);
  transition: var(--transition);
}
.side-news-item:hover { padding-left: 4px; }
.side-news-item:hover .t-title { color: var(--rust-red); }
.side-news-item .thumb { width: 80px; height: 60px; flex-shrink: 0; overflow: hidden; }
.side-news-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.side-news-item .t-title { font-size: 13px; color: var(--text-primary); line-height: 1.4; margin-bottom: 4px; }
.side-news-item .t-date { font-size: 11px; color: var(--text-muted); }

/* ---------- Tags ---------- */
.tag {
  display: inline-block; padding: 4px 12px; font-size: 12px; background: var(--deep-gray);
  border: 1px solid var(--border-metal); color: var(--text-secondary); margin: 4px 4px 4px 0;
}
.tag.warm { background: rgba(139,0,0,0.2); border-color: var(--dark-red); color: var(--rust-red); }

/* ---------- Timeline (History) ---------- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px;
  background: repeating-linear-gradient(180deg, var(--dark-red) 0, var(--dark-red) 20px, transparent 20px, transparent 40px);
}
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item::before {
  content: ''; position: absolute; left: -34px; top: 4px; width: 14px; height: 14px;
  background: var(--dark-iron); border: 3px solid var(--rust-red); border-radius: 50%;
}
.timeline-year { font-family: var(--font-heading); font-size: 24px; color: var(--rust-red); margin-bottom: 8px; }
.timeline-item h4 { font-size: 17px; margin-bottom: 8px; }
.timeline-item p { font-size: 14px; color: var(--text-secondary); }

/* ---------- Partners ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.partner-card {
  background: var(--dark-iron); border: 1px solid var(--border-metal); padding: 24px;
  display: grid; place-items: center; text-align: center; transition: var(--transition);
  min-height: 100px;
}
.partner-card:hover { border-color: var(--rust-red); background: var(--deep-gray); }
.partner-card span { font-size: 14px; color: var(--text-secondary); font-weight: 500; }

/* ---------- Solution Cards ---------- */
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution-card {
  background: var(--dark-iron); border: 1px solid var(--border-metal); padding: 32px 28px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.solution-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
  background: var(--dark-red); transform: scaleX(0); transition: transform 0.4s;
}
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-heavy); }
.solution-card:hover::before { transform: scaleX(1); }
.solution-card .sol-num {
  font-family: var(--font-heading); font-size: 48px; color: var(--border-metal); line-height: 1;
  margin-bottom: 16px;
}
.solution-card h3 { font-size: 20px; margin-bottom: 12px; }
.solution-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
.solution-card .sol-link { font-size: 13px; color: var(--rust-red); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Service Detail Layout ---------- */
.service-detail-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 60px;
}
.service-detail-hero img { width: 100%; border: 1px solid var(--border-metal); }
.svc-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
.svc-feature {
  background: var(--dark-iron); border: 1px solid var(--border-metal); padding: 24px;
  transition: var(--transition);
}
.svc-feature:hover { border-color: var(--rust-red); }
.svc-feature h4 { font-size: 16px; margin-bottom: 8px; color: var(--rust-red); }
.svc-feature p { font-size: 13px; color: var(--text-secondary); }

/* ---------- Case Detail ---------- */
.case-detail-header { margin-bottom: 40px; }
.case-detail-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-metal);
  border: 1px solid var(--border-metal); margin: 32px 0;
}
.case-detail-meta > div { background: var(--dark-iron); padding: 20px; text-align: center; }
.case-detail-meta .label { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.case-detail-meta .value { font-size: 16px; color: var(--text-primary); font-weight: 500; }
.case-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0; }
.case-gallery img { width: 100%; border: 1px solid var(--border-metal); }

/* ---------- Sitemap ---------- */
.sitemap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.sitemap-col h3 {
  font-size: 16px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--dark-red);
  color: var(--rust-red);
}
.sitemap-col ul li { padding: 6px 0; }
.sitemap-col ul li a { font-size: 14px; color: var(--text-secondary); }
.sitemap-col ul li a:hover { color: var(--rust-red); padding-left: 4px; }

/* ---------- 404 ---------- */
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px; }
.error-code { font-family: var(--font-heading); font-size: clamp(80px, 15vw, 180px); color: var(--dark-red); line-height: 1; text-shadow: 0 0 40px rgba(139,0,0,0.4); }
.error-text { font-size: 24px; color: var(--text-primary); margin: 20px 0; }
.error-desc { font-size: 16px; color: var(--text-secondary); max-width: 500px; margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--iron-black); border-top: 3px solid var(--dark-red); padding-top: 60px;
  position: relative;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: repeating-linear-gradient(90deg, var(--rust-red) 0, var(--rust-red) 20px, transparent 20px, transparent 40px);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 32px; padding-bottom: 40px;
}
.footer-col h4 {
  font-size: 15px; margin-bottom: 20px; color: var(--text-primary); padding-bottom: 10px;
  border-bottom: 1px solid var(--border-dark); position: relative;
}
.footer-col h4::after {
  content: ''; position: absolute; bottom: -1px; left: 0; width: 32px; height: 2px; background: var(--dark-red);
}
.footer-col ul li { padding: 6px 0; }
.footer-col ul li a { font-size: 13px; color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--rust-red); padding-left: 4px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--dark-iron); border: 1px solid var(--border-metal); color: var(--text-muted);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--dark-red); border-color: var(--rust-red); color: #fff; }
.footer-contact li {
  display: flex; gap: 10px; padding: 8px 0; font-size: 13px; color: var(--text-muted); line-height: 1.5;
}
.footer-contact .ic { flex-shrink: 0; color: var(--rust-red); margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid var(--border-dark); padding: 24px 0; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); margin-bottom: 0; }
.footer-icp a { font-size: 12px; color: var(--text-muted); }
.footer-icp a:hover { color: var(--rust-red); }

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px;
  background: var(--dark-red); color: #fff; display: grid; place-items: center;
  border: 1px solid var(--rust-red); opacity: 0; visibility: hidden; transition: var(--transition);
  z-index: 900; cursor: pointer;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--rust-red); box-shadow: var(--shadow-glow); }

/* ---------- Reveal Animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Text link ---------- */
.txt-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--rust-red);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.txt-link:hover { border-bottom-color: var(--rust-red); gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-quilt { max-width: 600px; }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .patch-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .process-track::before { display: none; }
  .case-grid, .news-quilt { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .contact-grid, .content-grid, .service-detail-hero { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .case-detail-meta { grid-template-columns: repeat(2, 1fr); }
  .case-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .advantage-grid { grid-template-columns: 1fr; }
  .patch-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .case-grid, .news-quilt, .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .solution-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .svc-feature-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero-stat .num { font-size: 28px; }
  .page-hero { padding: 120px 0 56px; }
  .article-main { padding: 24px; }
  .contact-form, .contact-info-block { padding: 24px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .case-detail-meta { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
