/* =========================================================
   云企科技官网 · 大型科技企业风格
   参考政企科技门户：宽版面、深空主视觉、克制强调色
   ========================================================= */

:root {
  /* Brand blues aligned to logo mark #0090D8 / #0a6db0 / #1ab6e8 */
  --ink: #0b1220;
  --ink-2: #1a2332;
  --muted: #5b677a;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --bg-muted: #e8f1f8;
  --canvas: #06101f;
  --canvas-2: #0b1a30;
  --canvas-3: #142744;
  --accent: #0a6db0;
  --accent-2: #0090d8;
  --accent-3: #1ab6e8;
  --accent-soft: rgba(0, 144, 216, 0.12);
  --glow: rgba(26, 182, 232, 0.24);
  --max: 1280px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 20px 50px -28px rgba(6, 16, 31, 0.35);
  --shadow-sm: 0 10px 28px -18px rgba(6, 16, 31, 0.25);
  --font: "IBM Plex Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; letter-spacing: -0.025em; }
p { margin: 0; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 8px 12px; z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

.container { width: min(100% - 48px, var(--max)); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -24px rgba(6,16,31,.45);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 40px; height: 40px; object-fit: contain;
  border-radius: 10px; background: transparent;
  display: block; flex-shrink: 0;
}
.footer-logo {
  width: 40px; height: 40px; object-fit: contain;
  border-radius: 10px; background: transparent;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 18px; font-weight: 700; }
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: .12em; font-family: var(--mono); }

.site-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-link {
  padding: 9px 12px; font-size: 14px; color: var(--muted); border-radius: 10px;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--ink); background: var(--bg-soft); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; padding: 10px; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; border-color: transparent;
  box-shadow: 0 10px 24px -12px rgba(10, 109, 176, .55);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--accent-2), var(--accent-3)); }
.btn-ghost {
  background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.22);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
.btn-outline {
  background: #fff; color: var(--ink); border-color: var(--line);
}
.btn-outline:hover { background: var(--bg-soft); border-color: var(--line-strong); }
.btn-lg { padding: 15px 28px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 78% 12%, var(--glow), transparent 58%),
    radial-gradient(700px 420px at 12% 80%, rgba(0, 144, 216, .18), transparent 55%),
    linear-gradient(165deg, #040b16 0%, #0a1830 48%, #071222 100%);
  color: #dbe7f5;
  overflow: hidden;
  min-height: min(94vh, 820px);
  display: flex; align-items: center;
}
.hero-photo {
  background-image:
    linear-gradient(105deg, rgba(4,11,22,.88) 0%, rgba(4,11,22,.72) 42%, rgba(4,11,22,.45) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 72%);
  pointer-events: none;
  animation: gridDrift 36s linear infinite;
}
.hero::after {
  content: "";
  position: absolute; right: -8%; top: 10%;
  width: min(46vw, 560px); height: min(46vw, 560px);
  border-radius: 50%;
  border: 1px solid rgba(26, 182, 232, .18);
  box-shadow: inset 0 0 80px rgba(0, 144, 216, .10);
  pointer-events: none;
  animation: pulseRing 8s ease-in-out infinite;
}
@keyframes gridDrift {
  from { transform: translateY(0); }
  to { transform: translateY(72px); }
}
@keyframes pulseRing {
  0%, 100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.04); opacity: 1; }
}
.hero-inner {
  position: relative; z-index: 1;
  padding: 110px 0 96px;
  max-width: 820px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  color: var(--accent-3); margin-bottom: 26px;
  opacity: 0; animation: rise .7s ease .1s forwards;
}
.hero-kicker::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2); box-shadow: 0 0 0 5px rgba(0, 144, 216, .2);
}
.hero h1 {
  font-size: clamp(42px, 7vw, 72px);
  color: #fff; margin-bottom: 22px; font-weight: 700;
  opacity: 0; animation: rise .7s ease .2s forwards;
}
.hero-lead {
  font-size: clamp(17px, 2.3vw, 21px); color: #93a4bb;
  max-width: 620px; margin-bottom: 36px; line-height: 1.7;
  opacity: 0; animation: rise .7s ease .32s forwards;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  opacity: 0; animation: rise .7s ease .42s forwards;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px; margin-top: 64px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); overflow: hidden;
  opacity: 0; animation: rise .7s ease .55s forwards;
}
.hero-stats div {
  background: rgba(8,20,38,.78); padding: 24px 16px; text-align: center;
}
.hero-stats strong {
  display: block; font-size: 30px; color: #fff; font-variant-numeric: tabular-nums;
}
.hero-stats span { font-size: 13px; color: #8ea0b8; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Sections ---------- */
.section { padding: 108px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark {
  background:
    radial-gradient(800px 300px at 20% 0%, rgba(0, 144, 216, .18), transparent 55%),
    var(--canvas);
  color: #e6edf3;
}
.section-head {
  max-width: 760px; margin-bottom: 48px;
}
.section-head .eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 14px;
}
.section-dark .section-head .eyebrow { color: var(--accent-3); }
.section-head h2 { font-size: clamp(30px, 4.2vw, 42px); margin-bottom: 18px; line-height: 1.35; }
.section-head p { color: var(--muted); font-size: 17px; line-height: 1.85; }
.section-dark .section-head p { color: #8b9cb3; }

.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature-item {
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; transition: border-color .2s ease, transform .25s ease, box-shadow .25s ease;
  position: relative; overflow: hidden;
}
.feature-item::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: linear-gradient(180deg, var(--accent), transparent);
  opacity: 0; transition: opacity .2s ease;
}
.feature-item:hover {
  border-color: #9ec9e8; transform: translateY(-4px); box-shadow: var(--shadow);
}
.feature-item:hover::before { opacity: 1; }
.feature-item .icon-box {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--accent-soft); color: var(--accent); border: 1px solid #b7d7ef;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
}
.feature-item h3 { font-size: 20px; margin-bottom: 10px; }
.feature-item p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.feature-item ul { display: grid; gap: 7px; }
.feature-item li {
  position: relative; padding-left: 14px; font-size: 14px; color: #445064;
}
.feature-item li::before {
  content: ""; position: absolute; left: 0; top: .7em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2);
}

/* ---------- Split / prose ---------- */
.split {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start;
}
.intro-copy .eyebrow { margin-bottom: 14px; }
.intro-copy h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.4;
  margin-bottom: 22px;
}
.prose { max-width: 680px; }
.prose p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
  margin: 0;
}
.prose p + p { margin-top: 18px; }
.prose .lead {
  font-size: 18px;
  line-height: 1.9;
  color: var(--ink);
  margin-bottom: 6px;
}
.prose h3 {
  font-size: 18px;
  margin: 28px 0 12px;
  line-height: 1.45;
  color: var(--ink);
}
.about-prose {
  max-width: 920px;
}
.about-prose p {
  font-size: 16px;
  line-height: 2;
  color: #3a4556;
}
.about-blocks {
  display: grid;
  gap: 22px;
  margin-top: 8px;
}
.about-block {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.about-block h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.4;
}
.about-block p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}
.check-list { display: grid; gap: 12px; margin-top: 22px; }
.check-list li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  font-size: 14px;
}
.check-list li::before {
  content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0;
}

/* ---------- Solutions / cases ---------- */
.sol-grid, .case-grid, .insight-grid, .product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.case-grid-3 { grid-template-columns: repeat(3, 1fr); }
.sol-card, .case-card, .insight-card, .product-card-light {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden;
  transition: border-color .2s ease, box-shadow .25s ease, transform .25s ease;
}
.sol-card:hover, .case-card:hover, .insight-card:hover, .product-card-light:hover {
  border-color: #9ec9e8; box-shadow: var(--shadow); transform: translateY(-3px);
}
.sol-card { padding: 30px; }
.sol-card .num {
  font-family: var(--mono); font-size: 12px; color: var(--accent); margin-bottom: 12px;
}
.sol-card h3 { font-size: 22px; margin-bottom: 10px; }
.sol-card p { color: var(--muted); font-size: 15px; }

.case-card .media {
  position: relative; background: linear-gradient(160deg, #0b1a30, #12304a);
  min-height: 180px; display: grid; place-items: center; overflow: hidden;
}
.case-card .media img {
  width: 100%; height: 220px; object-fit: cover; object-position: center;
  background: #0b1a30;
  transition: transform .55s ease;
}
.case-card:hover .media img { transform: scale(1.05); }
.photo-panel {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  min-height: 280px;
}
.photo-panel img {
  width: 100%; height: 100%; min-height: 320px; object-fit: cover;
}
.feature-photo { padding-top: 0; overflow: hidden; }
.feature-thumb {
  margin: 0 -28px 18px; height: 140px; overflow: hidden;
}
.feature-thumb img {
  width: 100%; height: 140px; object-fit: cover;
  transition: transform .5s ease;
}
.feature-item:hover .feature-thumb img { transform: scale(1.06); }
.sol-card-photo { padding-top: 0; overflow: hidden; }
.sol-thumb {
  margin: 0 -30px 18px; height: 150px; overflow: hidden;
}
.sol-thumb img {
  width: 100%; height: 150px; object-fit: cover;
  transition: transform .5s ease;
}
.sol-card:hover .sol-thumb img { transform: scale(1.05); }
.mini-list { display: grid; gap: 8px; margin-top: 12px; }
.mini-list li { font-size: 13px; color: var(--muted); padding-left: 14px; position: relative; }
.mini-list li::before { content: "·"; position: absolute; left: 2px; color: var(--accent); }
.mini-list a { font-size: 13px; color: var(--muted); }
.mini-list a:hover { color: var(--accent); }
.cert-grid-sm {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}
.cert-grid-sm img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cert-grid-sm a:hover img {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.cert-item { margin: 0; text-align: center; }
.cert-grid-sm .cert-caption {
  font-size: 11px; margin-top: 6px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 1100px) {
  .cert-grid-sm { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 720px) {
  .cert-grid-sm { grid-template-columns: repeat(4, 1fr); }
  .cert-grid-sm img { height: 88px; }
}
.case-card .media .badge {
  position: absolute; left: 14px; top: 14px;
  font-size: 11px; font-family: var(--mono); color: #e8f4fc;
  background: rgba(6,16,31,.55); border: 1px solid rgba(255,255,255,.14);
  padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(6px);
}
.case-card .body { padding: 20px 22px 24px; }
.case-card .tag {
  display: inline-block; font-size: 11px; font-family: var(--mono);
  color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 999px;
  margin-bottom: 10px;
}
.case-card h3 { font-size: 18px; margin-bottom: 8px; }
.case-card p { font-size: 14px; color: var(--muted); }
.case-card .meta {
  margin-top: 12px; font-size: 12px; color: #7a8799; font-family: var(--mono);
}

.insight-card .body { padding: 24px; }
.insight-card .meta {
  font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 10px;
}
.insight-card h3 { font-size: 19px; margin-bottom: 8px; }
.insight-card p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.insight-card .more { color: var(--accent); font-size: 13px; font-weight: 600; }

/* ---------- Product lines ---------- */
.product-grid-dark {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.product-card {
  padding: 32px; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20,39,68,.9), rgba(11,26,48,.95));
}
.product-card h3 { font-size: 22px; margin-bottom: 10px; color: #fff; }
.product-card p { color: #8b9cb3; font-size: 15px; margin-bottom: 18px; }
.product-card ul { display: grid; gap: 9px; }
.product-card li {
  font-size: 14px; color: #c9d7e8; padding-left: 14px; position: relative;
}
.product-card li a { color: #c9d7e8; }
.product-card li a:hover { color: var(--accent-3); }
.product-card li::before {
  content: "›"; position: absolute; left: 0; color: var(--accent-3);
}

/* ---------- Page hero (inner) ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(700px 280px at 85% 0%, rgba(0, 144, 216, .12), transparent 60%),
    linear-gradient(180deg, #f4f8fc, #ffffff);
  border-bottom: 1px solid var(--line);
  padding: 88px 0 64px;
}
.page-hero .eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  color: var(--accent); margin-bottom: 14px;
}
.page-hero h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 14px; }
.page-hero p { max-width: 680px; color: var(--muted); font-size: 17px; }
.page-hero .breadcrumb {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  font-size: 13px; color: var(--muted); margin-bottom: 18px;
}
.page-hero .breadcrumb a { color: var(--accent); }
.page-hero .breadcrumb span { opacity: .55; }
.page-hero-photo {
  color: #e8eef7;
  border-bottom: 0;
  background-image:
    linear-gradient(105deg, rgba(4,11,22,.90) 0%, rgba(4,11,22,.78) 48%, rgba(4,11,22,.55) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}
.page-hero-photo h1 { color: #fff; }
.page-hero-photo p { color: #b7c5d8; }
.page-hero-photo .breadcrumb,
.page-hero-photo .breadcrumb a { color: #9eb0c7; }
.page-hero-photo .breadcrumb a:hover { color: #d7ecfa; }
.case-grid-2 { grid-template-columns: repeat(2, 1fr); }
.case-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) {
  .case-grid-2, .case-grid-3 { grid-template-columns: 1fr; }
}

/* ---------- About ---------- */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0;
}
.stat-box {
  padding: 22px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center;
}
.stat-box strong { display: block; font-size: 32px; color: var(--accent); }
.stat-box span { font-size: 13px; color: var(--muted); }

.cert-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.cert-thumb { margin: 0; text-align: center; }
.cert-thumb img {
  width: 100%; height: 220px; object-fit: cover; object-position: top;
  border-radius: 14px; border: 1px solid var(--line); background: #fff;
}
.cert-thumb figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (max-width: 800px) {
  .cert-row { grid-template-columns: 1fr; }
}
.cert-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.cert-grid a, .cert-grid figure {
  margin: 0; display: block;
}
.cert-grid img {
  width: 100%; height: 240px; object-fit: cover; object-position: top;
  border-radius: 14px; border: 1px solid var(--line); background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cert-grid a:hover img { transform: translateY(-3px); box-shadow: var(--shadow); }
.cert-caption {
  margin-top: 8px; font-size: 12px; color: var(--muted); text-align: center;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.contact-card {
  padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
}
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.contact-list { display: grid; gap: 12px; }
.contact-list a, .contact-list span {
  display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg-soft); font-size: 15px;
}
.contact-list strong { display: block; font-size: 12px; color: var(--muted); font-weight: 500; margin-bottom: 2px; }

/* ---------- Article ---------- */
.article {
  max-width: 760px; margin: 0 auto; padding: 48px 0 80px;
}
.article .meta { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.article h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 20px; }
.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}
.article h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.35;
  margin: 12px 0 18px;
}
.article-summary {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
  margin: 0 0 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.article-body,
.article-content { font-size: 16.5px; color: #333; line-height: 1.95; }
.article-body h2,
.article-content h2 { font-size: 22px; margin: 36px 0 14px; line-height: 1.4; }
.article-body p + p,
.article-content p + p { margin-top: 16px; }
.article-body ul,
.article-content ul { margin: 14px 0; padding-left: 22px; list-style: disc; }
.article-body li,
.article-content li { margin: 8px 0; line-height: 1.8; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: 80px 0; text-align: center;
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(0, 144, 216, .28), transparent 60%),
    linear-gradient(180deg, #071222, #040b16);
  color: #e6edf3; border-top: 1px solid rgba(255,255,255,.06);
}
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); color: #fff; margin-bottom: 14px; }
.cta-band p { color: #8b9cb3; margin-bottom: 28px; font-size: 16px; }
.cta-band .actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: #040b16; color: #8b9cb3; padding: 64px 0 28px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr .8fr .8fr 1fr; gap: 32px; margin-bottom: 40px;
}
.footer-brand-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.footer-brand strong { display: block; color: #e6edf3; font-size: 15px; }
.footer-brand p { font-size: 13px; margin-top: 4px; }
.footer-desc { font-size: 13px; max-width: 380px; }
.site-footer h3 {
  color: #e6edf3; font-size: 13px; margin-bottom: 14px; letter-spacing: .04em;
}
.footer-links { display: grid; gap: 9px; }
.footer-links a { font-size: 13px; color: #8b9cb3; }
.footer-links a:hover { color: #e6edf3; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.06); font-size: 12px;
}
.footer-bottom a:hover { color: #e6edf3; }

.back-top {
  position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 12px;
  background: var(--canvas); color: #fff; border: 1px solid var(--canvas-3);
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
  z-index: 50;
}
.back-top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4,11,22,.86); display: none;
  align-items: center; justify-content: center; padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(920px, 100%); max-height: 90vh; border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.lightbox-close {
  position: absolute; right: 24px; top: 20px; color: #fff; font-size: 28px;
  background: transparent; border: 0; cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .case-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .cert-grid-sm { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
  .feature-grid, .product-grid, .product-grid-dark, .sol-grid, .case-grid, .case-grid-3,
  .insight-grid, .contact-grid, .split, .cert-grid, .cert-grid-sm {
    grid-template-columns: 1fr 1fr;
  }
  .hero-stats, .stat-row, .footer-grid { grid-template-columns: 1fr 1fr; }
  .case-card .media img { height: 240px; }
  .cert-grid img { height: 280px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; flex-direction: column; align-items: stretch;
  }
  .site-nav.is-open { display: flex; }
  .header-cta { width: 100%; justify-content: center; margin-top: 8px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 72px 0; }
  .hero-inner { padding: 84px 0 72px; }
  .stat-row, .footer-grid, .hero-stats { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
}
