/* 万工聘官网 - 全局样式 */
:root {
  --brand-orange: #b8894c;
  --brand-blue: #1e3d5c;
  --brand-blue-dark: #12263a;
  --brand-blue-deep: #0a1522;
  --accent-red: #b8894c;
  --text: #1a2430;
  --text-muted: #6a7380;
  --bg: #f4f0ea;
  --bg-white: #fbf8f3;
  --border: rgba(184, 137, 76, 0.18);
  --shadow: 0 16px 48px rgba(12, 24, 38, 0.07);
  --radius: 18px;
  --header-h: 72px;
  --max: 1160px;
  --font: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-display: "Noto Serif SC", "Noto Sans SC", "Songti SC", serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(8, 40, 72, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
}

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

.nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav a.active {
  color: var(--brand-orange);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #fff;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.header-cta {
  display: none;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: clamp(360px, 52vw, 520px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(8, 40, 72, 0.92) 0%, rgba(26, 95, 180, 0.78) 55%, rgba(240, 131, 30, 0.45) 100%),
    radial-gradient(circle at 80% 20%, rgba(240, 131, 30, 0.35), transparent 40%),
    linear-gradient(160deg, #0d3a6e, #1a5fb4);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 64px 0 72px;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  animation: fadeUp 0.7s ease both;
}

.hero-brand img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  max-width: 18em;
  animation: fadeUp 0.7s 0.08s ease both;
}

.hero h1 em {
  font-style: normal;
  color: #ffd089;
}

.hero .lead {
  margin-top: 16px;
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.88);
  max-width: 36em;
  animation: fadeUp 0.7s 0.16s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  animation: fadeUp 0.7s 0.24s ease both;
}

.page-hero {
  min-height: 280px;
  background:
    linear-gradient(115deg, rgba(8, 40, 72, 0.94), rgba(26, 95, 180, 0.82)),
    linear-gradient(160deg, #0d3a6e, #1a5fb4);
}

.page-hero .hero-inner {
  padding: 56px 0 64px;
}

.page-hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--brand-orange);
  margin-bottom: 10px;
  font-weight: 600;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(240, 131, 30, 0.35);
}

.btn-primary:hover {
  background: #e07210;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  border: 1px solid var(--brand-blue);
  color: var(--brand-blue);
  background: #fff;
}

.btn-outline:hover {
  background: var(--brand-blue);
  color: #fff;
}

/* ===== Stats ===== */
.stats {
  margin-top: -36px;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stats-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 22px 12px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: var(--accent-red);
  line-height: 1.2;
}

.stat-label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Sections ===== */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-white);
}

.section-blue {
  background:
    linear-gradient(160deg, #0d3a6e 0%, #1a5fb4 100%);
  color: #fff;
}

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

.section-title h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-title p {
  margin-top: 10px;
  color: var(--text-muted);
  max-width: 40em;
  margin-inline: auto;
}

.section-blue .section-title p {
  color: rgba(255, 255, 255, 0.78);
}

.title-line {
  display: block;
  width: 56px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-blue) 65%, var(--accent-red));
}

.section-blue .title-line {
  background: linear-gradient(90deg, #7eb6ff 65%, var(--brand-orange));
}

/* ===== Cards / Grids ===== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(13, 58, 110, 0.12);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e8f1fc, #d6e7fa);
  color: var(--brand-blue);
  font-size: 22px;
  margin-bottom: 14px;
  font-weight: 700;
}

.card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--brand-blue-dark);
}

.card p,
.card li {
  color: var(--text-muted);
  font-size: 14px;
}

.card ul {
  display: grid;
  gap: 6px;
}

.card ul li::before {
  content: "·";
  color: var(--accent-red);
  font-weight: 700;
  margin-right: 6px;
}

.hl {
  color: var(--accent-red);
  font-weight: 700;
}

/* Service overview on home */
.service-tiles .card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.service-tiles .card .more {
  margin-top: auto;
  padding-top: 16px;
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 14px;
}

.service-tiles .card .more span {
  transition: margin-left 0.2s;
}

.service-tiles .card:hover .more span {
  margin-left: 4px;
}

/* Intro block */
.intro-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.intro-block h2 {
  font-size: clamp(22px, 2.8vw, 28px);
  margin-bottom: 14px;
  color: var(--brand-blue-dark);
}

.intro-block p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.intro-visual {
  border-radius: 16px;
  min-height: 260px;
  background:
    linear-gradient(145deg, rgba(26, 95, 180, 0.12), rgba(240, 131, 30, 0.15)),
    radial-gradient(circle at 30% 40%, rgba(26, 95, 180, 0.2), transparent 55%);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  padding: 32px;
  text-align: center;
}

.intro-visual strong {
  display: block;
  font-size: 36px;
  color: var(--brand-blue);
  line-height: 1.2;
}

.intro-visual span {
  color: var(--text-muted);
  font-size: 14px;
}

/* Process steps */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.process-step {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
}

.process-step .num {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}

.process-step h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.process-step p {
  font-size: 12px;
  color: var(--text-muted);
}

.process-list {
  display: grid;
  gap: 0;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.process-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px dashed var(--border);
  align-items: start;
}

.process-list li:last-child {
  border-bottom: none;
}

.process-list .num {
  font-size: 28px;
  font-weight: 800;
  color: rgba(26, 95, 180, 0.25);
  line-height: 1;
}

.process-list h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.process-list p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Benefit numbered */
.benefit-list {
  display: grid;
  gap: 14px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  align-items: start;
}

.benefit-item .num {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 14px;
}

table.data-table th,
table.data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

table.data-table th {
  background: var(--brand-blue-dark);
  color: #fff;
  font-weight: 600;
}

table.data-table tr:nth-child(even) td {
  background: #f8fafc;
}

table.data-table tr:hover td {
  background: #eef5ff;
}

.industry-block {
  margin-bottom: 28px;
}

.industry-block .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--brand-blue), #2d7ad6);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px 8px 0 0;
  font-weight: 600;
}

.industry-block .subs {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.85;
}

/* Talent categories */
.talent-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.talent-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.talent-box h4 {
  color: var(--brand-blue);
  margin-bottom: 10px;
  font-size: 15px;
}

.talent-box ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.talent-box li {
  background: #f0f5fb;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.talent-center {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-blue), #2d7ad6);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(26, 95, 180, 0.35);
}

.talent-center.alt {
  background: linear-gradient(145deg, var(--accent-red), #ff4d5a);
}

/* Diagram triangle */
.relation {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.relation-node {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 14px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--brand-blue);
}

.relation-node h4 {
  margin: 8px 0;
  color: var(--brand-blue-dark);
}

.relation-node p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Cases */
.case-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.case-thumb {
  background: linear-gradient(145deg, #d6e7fa, #fde6c8);
  min-height: 120px;
  display: grid;
  place-items: center;
  font-size: 36px;
  color: var(--brand-blue);
}

.case-body {
  padding: 18px 18px 18px 0;
}

.case-body h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--brand-blue-dark);
}

.case-body p {
  font-size: 14px;
  color: var(--text-muted);
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  font-size: 13px;
}

.case-meta span {
  background: #f0f5fb;
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--brand-blue);
  font-weight: 600;
}

/* Tabs for 外包 */
.tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeUp 0.35s ease both;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.info-table th,
.info-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: top;
}

.info-table th {
  width: 120px;
  background: #f0f5fb;
  color: var(--brand-blue-dark);
  font-weight: 600;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.contact-box {
  background: linear-gradient(160deg, var(--brand-blue-dark), var(--brand-blue));
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-box h3 {
  margin-bottom: 16px;
  font-size: 20px;
}

.contact-box a {
  color: #ffd089;
}

.contact-box p {
  margin-bottom: 10px;
  font-size: 14px;
  opacity: 0.95;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.partner-item {
  background: #fff;
  border-radius: 10px;
  padding: 22px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--brand-blue-dark);
  font-size: 14px;
}

.honor-grid .card {
  text-align: center;
}

.honor-grid .card-icon {
  margin-inline: auto;
}

.cert-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 36px;
}

.cert-nav a {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--brand-blue-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.cert-nav a:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.cert-group {
  margin-bottom: 40px;
}

.cert-group:last-child {
  margin-bottom: 0;
}

.cert-group > h3 {
  font-size: 20px;
  color: var(--brand-blue-dark);
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--brand-orange);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.cert-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.cert-card a {
  display: block;
}

.cert-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  object-position: center;
  background: #f7f3ed;
  padding: 12px 12px 0;
}

.cert-card .cert-meta {
  padding: 16px 18px 18px;
}

.cert-card h3 {
  font-size: 15px;
  color: var(--brand-blue-dark);
  margin-bottom: 6px;
}

.cert-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.region-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.region-card h3 {
  color: var(--brand-blue-dark);
  margin-bottom: 12px;
  font-size: 17px;
}

.region-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.region-card a {
  color: var(--brand-blue);
  font-weight: 600;
}

.address-list p {
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 28, 51, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(960px, 100%);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

/* 原始资料长图 */
.material-page {
  background: #eef2f7;
  padding: 28px 0 8px;
}

.material-stack {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px 28px;
}

.material-stack figure {
  margin: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.material-stack img {
  width: 100%;
  height: auto;
  display: block;
}

.material-note {
  max-width: 900px;
  margin: 0 auto 16px;
  padding: 0 16px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.material-tabs {
  max-width: 900px;
  margin: 0 auto 16px;
  padding: 0 16px;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.material-panel {
  display: none;
}

.material-panel.active {
  display: block;
}

/* CTA bar */
.cta-bar {
  background: var(--brand-blue-deep);
  color: #fff;
  padding: 36px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-inner h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.cta-inner p {
  opacity: 0.85;
  font-size: 14px;
}

.cta-phone {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-orange);
  letter-spacing: 0.02em;
}

/* Footer */
.site-footer {
  background: #061c33;
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0 24px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.65fr 1.45fr;
  gap: 20px;
  margin-bottom: 32px;
}

.footer-brand img {
  height: 36px;
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 28em;
  line-height: 1.7;
}

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

.footer-col a {
  display: block;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col p {
  margin: 0 0 8px;
  line-height: 1.6;
}

.footer-col p a {
  display: inline;
  padding: 0;
}

.footer-col:last-child {
  margin-left: -20px;
}

.footer-col:last-child p {
  white-space: nowrap;
}

.footer-col a:hover {
  color: var(--brand-orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
}

/* Pain points */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pain-item {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.pain-item h4 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--brand-blue-dark);
}

.pain-item p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Industry photos grid */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.industry-tile {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.industry-tile .pic {
  height: 110px;
  display: grid;
  place-items: center;
  font-size: 32px;
  background: linear-gradient(145deg, #e8f1fc, #fde9d4);
}

.industry-tile h4 {
  padding: 12px;
  font-size: 14px;
}

/* Flow four streams */
.flow-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.flow-4 .card h3 {
  font-size: 16px;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: fadeUp 0.6s ease both;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(8, 40, 72, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 2px;
    display: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-item:nth-child(3) {
    border-right: none;
  }

  .stat-item:nth-child(n + 4) {
    border-top: 1px solid var(--border);
  }

  .grid-4,
  .pain-grid,
  .industry-grid,
  .flow-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .partner-grid,
  .cert-grid,
  .region-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-block,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-col:last-child {
    margin-left: 0;
  }

  .footer-col:last-child p {
    white-space: normal;
  }

  .talent-row {
    grid-template-columns: 1fr;
  }

  .talent-center {
    margin: 0 auto;
  }

  .case-card {
    grid-template-columns: 1fr;
  }

  .case-body {
    padding: 0 18px 18px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  .logo img {
    height: 32px;
  }

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

  .stat-item {
    border-right: 1px solid var(--border);
  }

  .stat-item:nth-child(even) {
    border-right: none;
  }

  .stat-item:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .pain-grid,
  .industry-grid,
  .flow-4,
  .partner-grid,
  .cert-grid,
  .region-grid,
  .relation {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .cta-phone {
    font-size: 22px;
  }

  .process-list li {
    grid-template-columns: 48px 1fr;
    padding: 14px 16px;
  }
}
