/* =========================================================
   GRUPO VC2 — dual-brand institutional site
   Two brands (VC2 TI / PRISEC) share one chassis.
   Brand state lives on <html data-brand="vc2|prisec">.
   ========================================================= */

:root {
  /* shared neutrals */
  --bg: #07090d;
  --bg-elev: #0d1118;
  --bg-card: #10151d;
  --line: rgba(255,255,255,0.06);
  --line-strong: rgba(255,255,255,0.12);
  --fg: #e8edf2;
  --fg-dim: #8a94a3;
  --fg-faint: #4a5360;
  --ok: #4ade80;
  --warn: #fbbf24;
  --danger: #ff5a5f;

  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 14px;

  /* brand accents (set per data-brand) */
  --accent: #00B8E6;
  --accent-deep: #0090b8;
  --accent-soft: rgba(0,184,230,0.12);
}
html[data-brand="vc2"] {
  --accent: #00B8E6;
  --accent-deep: #0090b8;
  --accent-soft: rgba(0,184,230,0.14);
}
html[data-brand="prisec"] {
  --accent: #4A8FE0;
  --accent-deep: #2868c4;
  --accent-soft: rgba(74,143,224,0.16);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter Tight', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 500; letter-spacing: -0.01em; }
.display { font-family: 'Space Grotesk', sans-serif; font-weight: 600; letter-spacing: -0.025em; line-height: 1.02; }

.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ============ BACKGROUND TEXTURE ============ */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 70% 0%, black 0%, transparent 65%);
  opacity: 0.7;
  transition: opacity .5s;
}
.bg-glow {
  position: fixed; top: -200px; right: -200px; width: 800px; height: 800px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 60%);
  z-index: 0; pointer-events: none; filter: blur(40px);
  transition: background .6s;
}

::selection { background: var(--accent); color: #001218; }

/* ============ BRAND SWITCHER BAR ============ */
.brand-bar {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(20px) saturate(160%);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.brand-bar .inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px;
  padding-top: 14px; padding-bottom: 14px;
}
.group-mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--fg-dim);
  letter-spacing: 0.18em; text-transform: uppercase;
}
.group-mark::before {
  content: ""; width: 20px; height: 1px; background: var(--fg-dim);
}
.group-mark strong { color: var(--fg); font-weight: 600; letter-spacing: 0.18em; }

.brand-tabs {
  display: inline-flex;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px;
  position: relative;
}
.brand-tabs button {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  color: var(--fg-dim);
  transition: color .25s;
  white-space: nowrap;
}
.brand-tabs button .label { font-weight: 600; letter-spacing: -0.01em; }
.brand-tabs button .sub { font-size: 11px; opacity: 0.7; font-weight: 400; }
.brand-tabs button.active { color: #001218; }
.brand-tabs .tab-indicator {
  position: absolute; top: 4px; bottom: 4px;
  background: var(--accent);
  border-radius: 999px;
  transition: transform .35s cubic-bezier(.5,1.2,.5,1), width .35s cubic-bezier(.5,1.2,.5,1), background .4s;
  z-index: 0;
}

.nav-links {
  justify-self: end;
  display: inline-flex; gap: 28px; list-style: none; padding: 0; margin: 0;
  font-size: 14px; color: var(--fg-dim);
}
.nav-links a:hover { color: var(--fg); }
@media (max-width: 920px) {
  .brand-bar .inner { grid-template-columns: 1fr auto; }
  .group-mark { display: none; }
  .nav-links { display: none; }
}

/* ============ TYPE PRIMITIVES ============ */
.eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--accent); }

.section-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(32px, 4.5vw, 56px); letter-spacing: -0.03em; line-height: 1.04;
  max-width: 22ch; margin: 0 0 20px;
}
.section-title .accent { color: var(--accent); }
.section-lede { color: var(--fg-dim); max-width: 60ch; font-size: 17px; margin: 0; }

.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  margin-bottom: 56px; align-items: end;
}
@media (max-width: 880px) { .section-head { grid-template-columns: 1fr; gap: 24px; } }

/* ============ BUTTONS ============ */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.btn-primary { background: var(--accent); color: #001218; font-weight: 600; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -12px var(--accent); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ============ BRAND ZONES (fade swap) ============ */
.brand-zone { display: none; }
.brand-zone.active { display: block; }

/* ============ HERO ============ */
section.hero { position: relative; padding-top: clamp(56px, 9vw, 110px); padding-bottom: clamp(64px, 10vw, 130px); z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--fg-dim); margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; background: var(--ok); border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 25%, transparent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 25%, transparent); }
  50%     { box-shadow: 0 0 0 8px color-mix(in srgb, var(--ok) 0%, transparent); }
}
.hero h1 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(44px, 7vw, 100px); line-height: 0.98; letter-spacing: -0.035em;
  margin: 0 0 28px;
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .crossed { position: relative; display: inline-block; }
.hero h1 .crossed::after {
  content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: 6px;
  background: var(--accent); transform: rotate(-2deg);
  box-shadow: 0 0 32px var(--accent);
}
.hero p.lede {
  font-size: clamp(17px, 1.4vw, 21px); color: var(--fg-dim); max-width: 56ch;
  margin: 0 0 40px; font-weight: 300;
}
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 64px; align-items: end; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* logos */
.brand-lockup { display: inline-flex; align-items: center; gap: 18px; margin-bottom: 32px; flex-wrap: wrap; }
.brand-logo { display: block; }
.brand-logo-vc2 { height: 86px; width: auto; }
.brand-logo-prisec { height: 130px; width: auto; }
@media (max-width: 540px) {
  .brand-logo-vc2 { height: 64px; }
  .brand-logo-prisec { height: 96px; }
}
.brand-lockup .logo-vc2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px;
  letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 6px;
}
.brand-lockup .logo-vc2 .v { color: var(--fg); }
.brand-lockup .logo-vc2 .c2 {
  background: linear-gradient(180deg, #b8e9ff, #00B8E6 55%, #0090b8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 800;
}
.brand-lockup .logo-vc2 .ti-pill {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--fg); color: var(--bg); border-radius: 999px;
  padding: 3px 10px; font-size: 13px; font-weight: 700;
}
.brand-lockup .logo-prisec {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px;
  letter-spacing: 0.02em;
}
.brand-lockup .logo-prisec .icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: #0a0e14; border: 1.5px solid var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
}
.brand-lockup .logo-prisec .icon::before {
  content: ""; width: 12px; height: 14px;
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 25%, 100% 70%, 50% 100%, 0 70%, 0 25%);
}
.brand-lockup .tagline {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--fg-dim); letter-spacing: 0.15em; text-transform: uppercase;
  padding-left: 14px; border-left: 1px solid var(--line-strong);
}

/* op-card */
.op-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-card), color-mix(in srgb, var(--bg-card) 80%, transparent));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 24px;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.04);
}
.op-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px dashed var(--line-strong); margin-bottom: 18px;
}
.op-head .title { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--fg-dim); }
.op-head .live { display: inline-flex; align-items: center; gap: 6px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ok); }
.op-head .live .blink { width: 6px; height: 6px; background: var(--ok); border-radius: 50%; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.op-row {
  display: grid; grid-template-columns: 1fr auto; gap: 12px;
  padding: 10px 0; font-family: 'JetBrains Mono', monospace; font-size: 12.5px;
  border-bottom: 1px solid var(--line);
}
.op-row:last-of-type { border-bottom: 0; }
.op-row .label { color: var(--fg-dim); }
.op-row .val { color: var(--fg); }
.op-row .val.ok { color: var(--ok); }
.op-row .val.warn { color: var(--warn); }
.op-row .val.accent { color: var(--accent); }
.op-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.op-stat .n { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.op-stat .n .plus { color: var(--accent); }
.op-stat .l { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.08em; }

/* ============ TICKER ============ */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  overflow: hidden; padding: 14px 0; position: relative; z-index: 1;
}
.ticker-track {
  display: flex; gap: 56px; animation: scroll 50s linear infinite;
  width: max-content;
  font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--fg-dim);
}
.ticker-item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.ticker-item .tag { color: var(--accent); }
.ticker-item.alert .tag { color: var(--danger); }
.ticker-item.ok .tag { color: var(--ok); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ SECTION SCAFFOLD ============ */
section.block { position: relative; padding-top: clamp(64px, 9vw, 110px); padding-bottom: clamp(64px, 9vw, 110px); z-index: 1; }

/* ============ SERVICES GRID ============ */
.svc-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.svc-card {
  background: var(--bg-elev); padding: 32px;
  grid-column: span 2;
  transition: background .2s;
  position: relative;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.svc-card.wide { grid-column: span 3; }
.svc-card:hover { background: var(--bg-card); }
.svc-card:hover .svc-num { color: var(--accent); }
.svc-num {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--fg-faint); margin-bottom: 18px; transition: color .2s;
}
.svc-card h3 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 22px; letter-spacing: -0.02em; line-height: 1.15;
  margin: 0 0 12px;
}
.svc-card p { color: var(--fg-dim); font-size: 14.5px; margin: 0; line-height: 1.55; }
.svc-card .arrow {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 24px; color: var(--fg-dim);
  transition: background .2s, color .2s, border-color .2s;
}
.svc-card:hover .arrow { background: var(--accent); color: #001218; border-color: var(--accent); }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } .svc-card, .svc-card.wide { grid-column: span 1; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

/* ============ VENDOR STACK (chips) ============ */
.vendor-wall {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.vendor-chip {
  background: var(--bg-elev);
  padding: 22px 24px;
  display: flex; align-items: center; gap: 14px;
  transition: background .2s;
}
.vendor-chip:hover { background: var(--bg-card); }
.vendor-chip .num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--fg-faint); }
.vendor-chip .name {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 17px;
  letter-spacing: -0.01em;
}
.vendor-chip.featured .name { color: var(--accent); }

/* ============ DEEPDIVE (kaspersky / modular) ============ */
.deepdive {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px;
  background: linear-gradient(135deg, var(--bg-elev), var(--bg-card));
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(32px, 5vw, 64px);
  position: relative; overflow: hidden;
}
.deepdive::before {
  content: ""; position: absolute; top: 0; right: 0; width: 50%; height: 100%;
  background:
    radial-gradient(circle at 70% 30%, var(--accent-soft), transparent 60%),
    linear-gradient(180deg, transparent, transparent 24px, var(--line) 24px, var(--line) 25px),
    linear-gradient(90deg, transparent, transparent 24px, var(--line) 24px, var(--line) 25px);
  background-size: cover, 25px 25px, 25px 25px;
  pointer-events: none; opacity: 0.6;
  mask-image: linear-gradient(90deg, transparent, black);
}
@media (max-width: 980px) { .deepdive { grid-template-columns: 1fr; gap: 32px; } }
.deepdive-left, .deepdive-right { position: relative; z-index: 1; }
.deepdive-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--accent); padding: 6px 12px;
  border: 1px solid var(--accent); border-radius: 999px;
  margin-bottom: 24px;
}
.deepdive-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(28px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -0.025em;
  margin: 0 0 20px;
}
.deepdive-body { color: var(--fg-dim); font-size: 16px; max-width: 50ch; }
.deepdive-features { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.deepdive-features li {
  display: grid; grid-template-columns: 24px 1fr; gap: 14px;
  font-size: 15px; align-items: start;
}
.deepdive-features li .check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
}
.deepdive-right { display: grid; grid-template-rows: auto 1fr; gap: 20px; }

.threat-map {
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 20px;
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px;
  color: var(--fg-dim);
}
.threat-map .head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-strong);
}
.threat-map .head .title { color: var(--fg); font-weight: 600; }
.threat-map .head .live { color: var(--ok); }
.threat-line {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 14px;
  padding: 6px 0; align-items: center;
}
.threat-line .when { color: var(--fg-faint); }
.threat-line .what { color: var(--fg); }
.threat-line .where { color: var(--accent); }
.threat-line.bad .what::before { content: "✕"; color: var(--danger); margin-right: 8px; }
.threat-line.ok .what::before { content: "✓"; color: var(--ok); margin-right: 8px; }

/* ============ RANGER BOARD (Hacker Rangers) ============ */
.ranger-board {
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 20px;
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px;
  color: var(--fg-dim);
}
.ranger-board .head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-strong);
}
.ranger-board .head .title { color: var(--fg); font-weight: 600; }
.ranger-board .head .season { color: var(--accent); }
.ranger-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 14px; align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.ranger-row:last-of-type { border-bottom: 0; }
.ranger-row .rank {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg-elev); color: var(--fg-dim);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
  border: 1px solid var(--line-strong);
}
.ranger-row.gold .rank { background: var(--accent); color: #001218; border-color: var(--accent); }
.ranger-row.silver .rank { background: #c0c8d0; color: #07090d; border-color: #c0c8d0; }
.ranger-row.bronze .rank { background: #b07a3a; color: #fff; border-color: #b07a3a; }
.ranger-row .name { color: var(--fg); }
.ranger-row .name .badge-row {
  display: inline-flex; gap: 4px; margin-left: 8px; vertical-align: middle;
}
.ranger-row .name .b {
  display: inline-block; width: 14px; height: 14px; border-radius: 3px;
  background: var(--accent-soft); border: 1px solid var(--accent);
  position: relative;
}
.ranger-row .name .b.empty { background: transparent; border-color: var(--line-strong); }
.ranger-row .pts {
  font-weight: 600; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.ranger-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin-top: 16px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: 8px; overflow: hidden;
}
.ranger-stats .cell {
  background: var(--bg-elev);
  padding: 12px 14px;
  text-align: center;
}
.ranger-stats .cell .n {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 22px; letter-spacing: -0.02em; color: var(--fg);
  line-height: 1;
}
.ranger-stats .cell .n .u { color: var(--accent); font-size: 0.6em; }
.ranger-stats .cell .l {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--fg-dim); margin-top: 6px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.modules-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.module {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color .2s, transform .2s;
  display: flex; flex-direction: column; gap: 14px;
}
.module:hover { border-color: var(--accent); transform: translateY(-2px); }
.module .badge {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 14px;
}
.module h4 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 18px; letter-spacing: -0.01em; margin: 0;
}
.module p { color: var(--fg-dim); font-size: 14px; margin: 0; line-height: 1.55; }
@media (max-width: 900px) { .modules-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .modules-grid { grid-template-columns: 1fr; } }

/* ============ CERTIFICATIONS (PRISEC) ============ */
.cert-band {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 64px);
}
@media (max-width: 980px) { .cert-band { grid-template-columns: 1fr; gap: 32px; } }
.cert-stats { display: flex; flex-direction: column; gap: 28px; }
.cert-stats .big {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(56px, 7vw, 96px); letter-spacing: -0.04em; line-height: 0.95;
}
.cert-stats .big .unit { color: var(--accent); font-size: 0.45em; margin-left: 6px; vertical-align: 0.5em; }
.cert-stats .label { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.1em; }

.cert-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
@media (max-width: 720px) { .cert-list { grid-template-columns: 1fr; } }
.cert-item {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  padding: 10px 0; border-bottom: 1px dashed var(--line);
  font-size: 14px; align-items: start;
}
.cert-item .bullet { color: var(--accent); font-family: 'JetBrains Mono', monospace; font-size: 12px; padding-top: 2px; }
.cert-item .text { color: var(--fg); }
.cert-item .text .org { color: var(--fg-dim); font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; margin-right: 8px; }

/* ============ WHY / STATS BAR ============ */
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.why-stat { background: var(--bg-elev); padding: 36px 28px; display: flex; flex-direction: column; gap: 10px; }
.why-stat .big {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.04em; line-height: 1; color: var(--fg);
}
.why-stat .big .unit { color: var(--accent); font-size: 0.55em; margin-left: 4px; }
.why-stat .label { color: var(--fg-dim); font-size: 14.5px; }
@media (max-width: 880px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ STEPS ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }
.step { padding-top: 24px; border-top: 1px solid var(--line-strong); position: relative; }
.step .n { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--accent); margin-bottom: 12px; }
.step h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; margin: 0 0 10px; }
.step p { color: var(--fg-dim); font-size: 14.5px; margin: 0; }

/* ============ CLIENTS (shared) ============ */
.clients-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.clients-head {
  display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center;
  padding-top: 56px; padding-bottom: 32px;
}
@media (max-width: 880px) { .clients-head { grid-template-columns: 1fr; gap: 18px; } }
.client-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.client-cell {
  background: var(--bg);
  padding: 24px 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 15px; letter-spacing: -0.01em;
  color: var(--fg-dim);
  text-align: center;
  min-height: 90px;
  transition: color .2s, background .2s;
}
.client-cell:hover { color: var(--accent); background: var(--bg-elev); }
@media (max-width: 1100px) { .client-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ MAP STRIP ============ */
.brasil-strip {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center;
  padding-top: 64px; padding-bottom: 64px;
}
@media (max-width: 880px) { .brasil-strip { grid-template-columns: 1fr; gap: 32px; } }
.brasil-svg { width: 100%; max-width: 360px; height: auto; }
.brasil-svg .state { fill: var(--bg-elev); stroke: var(--line-strong); stroke-width: 1; transition: fill .2s; }
.brasil-svg .state.on { fill: var(--accent); }
.brasil-strip .stats-list { display: flex; flex-direction: column; gap: 20px; }
.brasil-strip .stat-row {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: baseline;
  padding-bottom: 16px; border-bottom: 1px dashed var(--line);
}
.brasil-strip .stat-row .n {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; color: var(--fg);
  min-width: 4ch;
}
.brasil-strip .stat-row .n .unit { color: var(--accent); font-size: 0.55em; margin-left: 4px; }
.brasil-strip .stat-row .l { color: var(--fg-dim); font-size: 15px; }

/* ============ CTA ============ */
.cta-final {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 80px);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, var(--accent-soft), transparent 40%),
    radial-gradient(circle at 80% 50%, var(--accent-soft), transparent 40%);
  pointer-events: none;
}
.cta-final > * { position: relative; z-index: 1; }
.cta-final h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(32px, 4.5vw, 56px); letter-spacing: -0.03em; line-height: 1.04;
  margin: 0 0 16px; max-width: 22ch; margin-inline: auto;
}
.cta-final h2 .accent { color: var(--accent); }
.cta-final p { color: var(--fg-dim); max-width: 56ch; margin: 0 auto 36px; font-size: 17px; }
.cta-final .ctas { justify-content: center; display: flex; flex-wrap: wrap; gap: 14px; }

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--line);
  padding-top: 56px; padding-bottom: 32px;
  margin-top: 60px;
  position: relative; z-index: 1;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-col h5 {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.1em;
  margin: 0 0 16px; font-weight: 500;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: 8px; font-size: 14px; color: var(--fg-dim); }
.foot-col li a:hover { color: var(--accent); }
.foot-brands { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; }
.foot-brand .dot { width: 8px; height: 8px; border-radius: 50%; }
.foot-brand.vc2 .dot { background: #00B8E6; }
.foot-brand.prisec .dot { background: #4A8FE0; }
.foot-tag { color: var(--fg-dim); max-width: 36ch; font-size: 14px; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--fg-faint);
}

/* ============ TWEAKS PANEL ============ */
#tweaks-panel {
  position: fixed; bottom: 20px; right: 20px; z-index: 100;
  width: 300px; background: var(--bg-card);
  border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 18px; font-size: 13px;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.5);
  display: none;
}
#tweaks-panel.open { display: block; }
#tweaks-panel h4 {
  margin: 0 0 14px; font-family: 'Space Grotesk'; font-size: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
#tweaks-panel h4 button { color: var(--fg-dim); font-size: 18px; padding: 0; }
.tw-row { margin-bottom: 14px; }
.tw-row label { display: block; color: var(--fg-dim); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; font-family: 'JetBrains Mono', monospace; }
.tw-seg { display: flex; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
.tw-seg button { flex: 1; padding: 6px 10px; font-size: 12px; border-radius: 6px; color: var(--fg-dim); }
.tw-seg button.active { background: var(--accent); color: #001218; font-weight: 600; }
