/* =========================================================
   和季康 - 工业杂志风网站设计系统 v3
   Industrial Editorial / Neo-Brutalist Style
   ========================================================= */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

/* --- Design Tokens --- */
:root {
  --ink: #111111;
  --ink-2: #2a2a2a;
  --ink-3: #4a4a4a;
  --ink-light: #888;
  --smoke: #f0eeea;
  --smoke-2: #e8e4dd;
  --smoke-3: #d8d3cb;
  --white: #ffffff;
  --accent: #E8500A;        /* 工业橙红 */
  --accent-hover: #c44008;
  --accent-dim: rgba(232,80,10,.1);
  --accent-2: #1a3a5c;     /* 深海蓝 */
  --accent-3: #1a5c3a;     /* 工业绿 */
  --border: #2a2a2a;
  --border-light: #d8d3cb;
  --radius: 0px;
  --radius-sm: 4px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow: 0 6px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.16);
  --font-display: 'Oswald', 'Arial Black', sans-serif;
  --font-body: 'Noto Sans SC', 'Microsoft YaHei', Arial, sans-serif;
  --header-h: 68px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--accent); color: #fff; }

/* =========================================================
   TYPOGRAPHY — Display Hierarchy
   ========================================================= */
h1,h2,h3,h4 { font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
.display {
  font-family: var(--font-display);
  font-size: clamp(64px, 11vw, 128px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: #fff;
}
.display-2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
}
.h1 { font-size: clamp(40px, 5.5vw, 68px); font-weight: 900; }
.h2 { font-size: clamp(28px, 4vw, 52px); font-weight: 900; }
.h3 { font-size: clamp(22px, 3vw, 32px); font-weight: 900; }
.h4 { font-size: 20px; font-weight: 900; }
.accent { color: var(--accent); }
.white { color: #fff; }
.muted { color: var(--ink-light); }
.text-sm { font-size: 14px; }
.text-base { font-size: 16px; }
.italic { font-style: italic; }
.upper { text-transform: uppercase; }
.font-display { font-family: var(--font-display); }

/* =========================================================
   LAYOUT
   ========================================================= */
.container { width: min(1280px, calc(100% - 40px)); margin: auto; }
.container-sm { width: min(960px, calc(100% - 40px)); margin: auto; }
.container-full { width: 100%; }

.section { padding: 96px 0; position: relative; }
.section.compact { padding: 64px 0; }
.section.tight { padding: 56px 0; }

/* Full-bleed sections */
.section-dark {
  background: var(--ink);
  color: #fff;
}
.section-dark-2 {
  background: var(--ink-2);
  color: #fff;
}
.section-accent {
  background: var(--accent);
  color: #fff;
}
.section-smoke {
  background: var(--smoke);
}
.section-smoke-2 {
  background: var(--smoke-2);
}

/* Thick accent line at top of dark sections */
.accent-bar {
  width: 56px;
  height: 4px;
  background: var(--accent);
  display: block;
  margin-bottom: 20px;
}
.accent-bar-light {
  width: 56px;
  height: 4px;
  background: var(--accent);
  display: block;
  margin-bottom: 20px;
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow.white { color: rgba(255,255,255,.6); }
.eyebrow.white .dot { background: rgba(255,255,255,.5); }
.eyebrow .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 28px;
  border: 2px solid transparent;
  font-weight: 900;
  font-size: 13px;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); }
.btn-dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-light);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: transparent;
  padding-left: 0;
  min-height: auto;
}
.btn-ghost:hover { color: var(--accent-hover); gap: 12px; }

/* =========================================================
   GRIDS
   ========================================================= */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }

/* =========================================================
   TOPBAR
   ========================================================= */
.topbar {
  background: var(--accent);
  color: rgba(255,255,255,.85);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
}
.topbar a { color: #fff; }
.topbar-links { display: flex; gap: 18px; }
.topbar .badge {
  background: rgba(255,255,255,.2);
  padding: 2px 8px;
  border-radius: 2px;
  color: #fff;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--ink);
}
.nav-wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-logo {
  width: 42px;
  height: 42px;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  position: relative;
}
.brand-logo::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1.5px solid rgba(255,255,255,.35);
}
.brand-text { line-height: 1.15; }
.brand-name {
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand-sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-top: 2px;
}
.main-nav {
  display: flex;
  gap: 0;
  align-items: center;
  flex-shrink: 0;
}
.main-nav a {
  padding: 26px 14px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  transition: color 0.15s;
}
.main-nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.main-nav a:hover::before, .main-nav a.active::before { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  padding: 6px 0;
}
.header-phone small { font-size: 10px; color: var(--ink-light); font-weight: 600; }
.header-phone b { font-size: 18px; color: var(--accent); font-weight: 900; font-family: var(--font-display); }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); transition: 0.2s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO — Full bleed industrial image
   ========================================================= */
.hero {
  position: relative;
  height: 100svh;
  min-height: 580px;
  overflow: hidden;
  background: var(--ink);
}
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(17,17,17,.88) 0%,
    rgba(17,17,17,.60) 45%,
    rgba(17,17,17,.30) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 60px;
}
.hero-overline {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-overline::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--accent);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 110px);
  font-weight: 700;
  color: #fff;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-title-sub {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 32px);
  font-weight: 400;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-title .accent { color: var(--accent); }
.hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 36px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 28px;
  width: fit-content;
}
.hero-stat {
  padding: 0 36px 0 0;
  margin-right: 36px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.hero-stat:last-child { border-right: none; }
.hero-stat b { display: block; font-family: var(--font-display); font-size: 36px; color: #fff; font-weight: 700; line-height: 1; }
.hero-stat span { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 6px; }

/* Hero right panel */
.hero-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 38%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  z-index: 3;
}
.hero-nav-pills {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
}
.hero-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.5);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.hero-pill:hover, .hero-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.hero-pill-num { font-size: 10px; opacity: 0.6; }
.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.4);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-scroll-hint .line {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,.3);
}

/* =========================================================
   MARQUEE / BANNER STRIP
   ========================================================= */
.marquee-strip {
  background: var(--ink);
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-flex;
  gap: 0;
  animation: marquee 20s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  border-right: 1px solid rgba(255,255,255,.1);
}
.marquee-item .dot { color: var(--accent); font-size: 16px; }

/* =========================================================
   SECTION HEADER — Magazine style
   ========================================================= */
.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  padding-bottom: 36px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 0;
}
.section-header.center {
  display: block;
  text-align: left;
  padding-bottom: 36px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 0;
}
.section-header .big-num {
  font-family: var(--font-display);
  font-size: clamp(60px, 10vw, 120px);
  font-weight: 700;
  color: rgba(0,0,0,.06);
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: right;
}
.section-header .big-num.right { text-align: right; }

/* =========================================================
   SERVICE CARDS — Border-box style
   ========================================================= */
.service-card {
  background: var(--white);
  border: 2px solid var(--ink);
  overflow: hidden;
  transition: all 0.25s ease;
  position: relative;
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card-img {
  height: 200px;
  background: var(--smoke);
  overflow: hidden;
  position: relative;
}
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-img .overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,.25);
}
.service-card-num {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  line-height: 1;
  z-index: 2;
}
.service-card-body { padding: 24px; }
.service-card-body h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 10px;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}
.service-card-body p { color: var(--ink-light); font-size: 14px; line-height: 1.7; }
.service-card-body .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag {
  display: inline-flex;
  padding: 3px 10px;
  border: 1px solid var(--border-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-light);
}
.tag-accent {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

/* =========================================================
   PRODUCT FEATURED — Magazine large card
   ========================================================= */
.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  border: 2px solid var(--ink);
  overflow: hidden;
}
.featured-card.reverse { direction: rtl; }
.featured-card.reverse > * { direction: ltr; }
.featured-card-media {
  background: var(--smoke);
  position: relative;
  overflow: hidden;
}
.featured-card-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-card-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,.15);
  z-index: 1;
}
.featured-card-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}
.featured-card-num {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 700;
  color: rgba(0,0,0,.05);
  line-height: 1;
  margin-bottom: -20px;
}
.featured-card-body h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 16px; }
.featured-card-body p { color: var(--ink-light); font-size: 15px; line-height: 1.8; margin-bottom: 24px; }
.featured-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  margin-bottom: 28px;
}
.featured-specs > div {
  background: var(--white);
  padding: 14px 12px;
  text-align: center;
}
.featured-specs b { display: block; font-family: var(--font-display); font-size: 22px; color: var(--accent); }
.featured-specs span { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-light); }

/* =========================================================
   STATS SECTION
   ========================================================= */
.stats-section {
  background: var(--ink);
  color: #fff;
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.stat-item {
  padding: 40px 32px;
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.4s ease;
}
.stat-item:hover::before { width: 100%; }
.stat-item b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-item .val-accent { color: var(--accent); }
.stat-item span { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-top: 8px; }
.stat-item p { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 10px; line-height: 1.6; }

/* =========================================================
   PROCESS — Horizontal numbered steps
   ========================================================= */
.process-section {
  padding: 96px 0;
  background: var(--smoke);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 44px;
  right: 44px;
  height: 2px;
  background: var(--border-light);
  z-index: 0;
}
.process-step {
  padding: 0 20px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.process-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  border: 3px solid var(--smoke);
  box-shadow: 0 0 0 2px var(--accent);
}
.process-step h3 { font-size: 18px; margin-bottom: 10px; }
.process-step p { font-size: 13px; color: var(--ink-light); line-height: 1.65; }

/* =========================================================
   CASES / PROJECTS GRID
   ========================================================= */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.case-card {
  background: var(--white);
  border: 2px solid var(--ink);
  overflow: hidden;
  transition: all 0.25s ease;
}
.case-card:hover { box-shadow: var(--shadow-lg); }
.case-card-media {
  height: 240px;
  background: var(--smoke);
  overflow: hidden;
  position: relative;
}
.case-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.case-card:hover .case-card-media img { transform: scale(1.06); }
.case-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
}
.case-card-body { padding: 22px; }
.case-card-body h3 { font-size: 20px; font-weight: 900; margin-bottom: 8px; }
.case-card-body p { color: var(--ink-light); font-size: 13px; line-height: 1.65; margin-bottom: 14px; }
.case-card-result {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.case-result-item {
  padding: 10px;
  background: var(--smoke);
  text-align: center;
  border: 1px solid var(--smoke-3);
}
.case-result-item b { display: block; font-family: var(--font-display); font-size: 18px; color: var(--accent); }
.case-result-item span { font-size: 10px; color: var(--ink-light); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

/* =========================================================
   INDUSTRY BANNER
   ========================================================= */
.industry-banner {
  background: var(--accent);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.industry-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(0,0,0,.06) 20px,
      rgba(0,0,0,.06) 21px
    );
}
.industry-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: relative;
  z-index: 1;
}
.industry-item {
  padding: 32px 24px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  text-align: center;
  transition: all 0.2s;
}
.industry-item:hover { background: rgba(255,255,255,.18); transform: translateY(-3px); }
.industry-item-icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}
.industry-item h3 { font-size: 18px; font-weight: 900; color: #fff; margin-bottom: 6px; }
.industry-item p { font-size: 13px; color: rgba(255,255,255,.7); }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 80px 0;
  border-top: 3px solid var(--accent);
}
.cta-band-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.cta-phone {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  color: var(--accent);
  display: block;
  letter-spacing: -0.02em;
  line-height: 1;
}
.cta-phone-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 6px; }

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.faq-list { display: grid; gap: 0; }
.faq-item {
  border: 2px solid var(--ink);
  border-bottom: none;
  background: var(--white);
}
.faq-item:last-child { border-bottom: 2px solid var(--ink); }
.faq-item.open { border-color: var(--accent); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 900;
  font-size: 16px;
  gap: 16px;
  user-select: none;
  transition: background 0.15s;
}
.faq-question:hover { background: var(--smoke); }
.faq-item.open .faq-question { background: var(--accent-dim); color: var(--accent); }
.faq-icon {
  width: 28px;
  height: 28px;
  border: 2px solid currentColor;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.2s;
}
.faq-item.open .faq-icon { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--ink-light); font-size: 15px; line-height: 1.8; border-top: 1px solid var(--smoke-3); padding-top: 18px; }

/* =========================================================
   TABLE
   ========================================================= */
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 18px; border: 1px solid var(--border-light); text-align: left; font-size: 14px; }
th { background: var(--ink); color: #fff; font-weight: 900; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
td { color: var(--ink-light); }
tr:nth-child(even) td { background: var(--smoke); }
tr:hover td { background: var(--accent-dim); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  border: 2px solid var(--ink);
}
.contact-info {
  background: var(--ink);
  color: #fff;
  padding: 48px 40px;
}
.contact-info h2 { color: #fff; margin-bottom: 32px; font-size: clamp(24px, 3vw, 36px); }
.contact-lines { display: grid; gap: 0; }
.contact-line {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.contact-line:last-child { border-bottom: none; }
.contact-line-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-line h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.contact-line p { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.5; }
.contact-line a { color: var(--accent); font-weight: 700; }
.contact-form { background: var(--white); padding: 48px 40px; }
.contact-form h3 { font-size: 24px; margin-bottom: 24px; }
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-light); margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border-light);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--accent); }
.form input::placeholder, .form textarea::placeholder { color: var(--smoke-3); }

/* =========================================================
   PAGE HERO
   ========================================================= */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 80px 0;
  border-bottom: 3px solid var(--accent);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(255,255,255,.02) 30px, rgba(255,255,255,.02) 31px);
}
.page-hero .big-num {
  position: absolute;
  right: -20px;
  top: -20px;
  font-family: var(--font-display);
  font-size: 200px;
  font-weight: 700;
  color: rgba(255,255,255,.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}
.page-hero .breadcrumb { display: flex; gap: 8px; color: rgba(255,255,255,.4); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.page-hero .breadcrumb a { color: var(--accent); }
.page-hero h1 { font-size: clamp(36px, 5vw, 64px); color: #fff; }
.page-hero p { color: rgba(255,255,255,.55); font-size: 16px; margin-top: 14px; max-width: 600px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  padding: 64px 0 28px;
  border-top: 2px solid var(--accent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 28px;
}
.footer .brand-name { color: #fff; font-size: 16px; }
.footer .brand-sub { color: rgba(255,255,255,.35); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 3px; }
.footer p, .footer a { color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.7; }
.footer a:hover { color: var(--accent); }
.footer h3 { color: #fff; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,.3); }

/* =========================================================
   MAP
   ========================================================= */
.map-block {
  height: 360px;
  background: var(--smoke-2);
  border: 2px solid var(--border-light);
  display: grid;
  place-items: center;
  position: relative;
}
.map-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.map-block span {
  position: relative;
  padding: 14px 28px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================================================
   COMPARE CARDS
   ========================================================= */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.compare-card {
  background: var(--white);
  border: 2px solid var(--ink);
  padding: 40px;
  transition: all 0.25s;
}
.compare-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); }
.compare-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--smoke-3);
}
.compare-card-header .icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.compare-card h3 { font-size: 24px; font-weight: 900; }
.compare-card .sub { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-light); }
.compare-card p { color: var(--ink-light); font-size: 14px; line-height: 1.75; margin-bottom: 20px; }
.compare-list { display: grid; gap: 10px; }
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-light);
  padding: 8px 0;
  border-bottom: 1px solid var(--smoke-3);
}
.compare-list li:last-child { border-bottom: none; }
.compare-list li .check {
  width: 20px;
  height: 20px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* =========================================================
   BACK TO TOP
   ========================================================= */
.backtop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  border: none;
  display: none;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  z-index: 900;
  transition: all 0.2s;
}
.backtop.show { display: grid; }
.backtop:hover { background: var(--accent-hover); transform: translateY(-3px); }

/* =========================================================
   REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   DIVIDER
   ========================================================= */
.hr { border: none; border-top: 2px solid var(--ink); margin: 0; }
.hr-light { border: none; border-top: 1px solid var(--border-light); margin: 0; }

/* =========================================================
   DETAIL PROSE (inner pages)
   ========================================================= */
.prose-card {
  background: var(--white);
  border: 2px solid var(--ink);
  padding: 48px;
  margin-bottom: 2px;
}
.prose-card h2 { font-size: clamp(24px, 3vw, 36px); margin: 28px 0 14px; }
.prose-card h2:first-child { margin-top: 0; }
.prose-card h3 { font-size: 20px; margin: 20px 0 10px; }
.prose-card p { color: var(--ink-light); font-size: 15px; line-height: 1.85; margin-bottom: 14px; }
.prose-card ul { list-style: disc; padding-left: 22px; color: var(--ink-light); margin-bottom: 14px; }
.prose-card ul li { font-size: 15px; margin-bottom: 6px; }

/* =========================================================
   TABS (inner pages)
   ========================================================= */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--ink); margin-bottom: 0; }
.tab-btn {
  padding: 14px 24px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--ink-light);
  position: relative;
  transition: color 0.15s;
}
.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--accent); }
.tab-btn.active::after { transform: scaleX(1); }

/* =========================================================
   SIDEBAR NAV (inner pages)
   ========================================================= */
.side-nav-card {
  border: 2px solid var(--ink);
  overflow: hidden;
  background: var(--white);
}
.side-nav-card h3 {
  padding: 16px 20px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.side-nav-card a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--smoke-3);
  transition: all 0.15s;
  color: var(--ink-light);
}
.side-nav-card a:last-child { border-bottom: none; }
.side-nav-card a:hover, .side-nav-card a.active {
  background: var(--accent-dim);
  color: var(--accent);
  padding-left: 24px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .topbar { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .header-phone { display: none; }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: #fff;
    border-bottom: 2px solid var(--ink);
    flex-direction: column;
    align-items: stretch;
    display: none;
    z-index: 999;
  }
  .main-nav.active { display: flex; }
  .main-nav a { padding: 14px 20px; border-bottom: 1px solid var(--smoke-3); }
  .main-nav a::before { display: none; }
  .hero-right { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-card { grid-template-columns: 1fr; }
  .featured-card.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .industry-items { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid::before { display: none; }
  .compare-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .container { width: min(100% - 32px, 1280px); }
  .section { padding: 72px 0; }
  .section-header { grid-template-columns: 1fr; gap: 12px; }
  .section-header .big-num { display: none; }
  .featured-specs { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 24px, 1280px); }
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-stat { border-right: none; padding: 0; margin: 0; }
  .featured-specs { grid-template-columns: repeat(3, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .industry-items { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .featured-card-body { padding: 28px; }
  .contact-info, .contact-form { padding: 28px 22px; }
  .prose-card { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
