/* ═══════════════════════════════════════════════
   ZXY Ventures — style.css (v2 clean)
   Paleta única: --bg oscuro + --accent blanco + --purple acento
   ═══════════════════════════════════════════════ */

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

:root {
  /* Dark mode (default) */
  --bg:       #000000;
  --bg2:      #0a0a0a;
  --bg3:      #111111;
  --border:   #1a1a1a;
  --border2:  #333333;

  --text:     #ededed;
  --text2:    #a1a1a1;
  --muted:    #555555;

  --accent:       #ffffff;
  --accent-rgb:   255, 255, 255;
  --accent-hover: #d4d4d4;

  /* Variables para overlays y nav */
  --nav-bg:       rgba(0, 0, 0, 0.85);
  --overlay-rgb:  0, 0, 0;

  /* Tipografía */
  --font-h:   'Oswald', sans-serif;
  --font-b:   'Raleway', sans-serif;

  /* Espaciado */
  --section-pad: 100px;
  --radius:   12px;
  --radius-sm: 8px;
}

[data-theme="light"] {
  --bg:       #ffffff;
  --bg2:      #fafafa;
  --bg3:      #f5f5f5;
  --border:   #e5e5e5;
  --border2:  #d4d4d4;

  --text:     #111111;
  --text2:    #555555;
  --muted:    #888888;

  --accent:       #000000;
  --accent-rgb:   0, 0, 0;
  --accent-hover: #262626;

  --nav-bg:       rgba(255, 255, 255, 0.85);
  --overlay-rgb:  255, 255, 255;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── UTILITIES ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-header { margin-bottom: 64px; max-width: 700px; }
.section-label {
  font-family: var(--font-b);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text2);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.75;
}
.accent-text { color: var(--accent); }

/* ── FADE-IN ANIMATION ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-1 { transition-delay: 0.1s; }
.fade-in-2 { transition-delay: 0.2s; }
.fade-in-3 { transition-delay: 0.3s; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--bg);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-b);
  font-weight: 700;
  font-size: 15px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.15);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--text);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border2);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-secondary:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
  height: 68px;
  display: flex;
  align-items: center;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
}
.nav-logo img { display:block; width:136px; height:26px; }
[data-theme="light"] .nav-logo img { filter: invert(1); }
.nav-logo-text {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--text);
}
.nav-logo span { color: var(--accent); }
/* Lang/theme button visibility in dark nav */
.lang-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 0 10px;
  height: 30px;
  border-radius: 4px;
  cursor: pointer;
}
[data-theme="light"] .lang-toggle { border-color: rgba(0,0,0,0.2); color: rgba(0,0,0,0.7); }
.lang-toggle:hover { border-color: #fff; color: #fff; }
.theme-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
  width: 30px; height: 30px;
  border-radius: 4px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
[data-theme="light"] .theme-toggle { border-color: rgba(0,0,0,0.2); color: rgba(0,0,0,0.7); }
.theme-toggle:hover { border-color: #fff; color: #fff; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  list-style: none;
  flex: 1;
}
.nav-links a {
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav-links a:hover { color: #ffffff; }
[data-theme="light"] .nav-links a { color: rgba(0,0,0,0.75); }
[data-theme="light"] .nav-links a:hover { color: #000000; }
/* Push lang + theme toggles to the right edge */
.nav-links ~ .lang-toggle { margin-left: auto; }
.nav-cta {
  background: var(--accent) !important;
  color: var(--bg) !important;
  padding: 9px 18px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; transform: translateY(-1px); }
.theme-toggle {
  background: none;
  border: none;
  color: var(--text2);
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s;
}
.theme-toggle:hover { color: var(--text); }
.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  outline: none;
}
.nav-hamburger:focus-visible {
  outline: 2px solid var(--accent);
  border-radius: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 99;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--text); }
.mobile-menu .nav-cta { border-bottom: none; text-align: center; padding: 12px 18px !important; }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
  background: url('assets/Pictures/giorgio-parravicini-12IHVEFRacQ-unsplash.webp') center center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--overlay-rgb),0.92) 0%, rgba(var(--overlay-rgb),0.75) 50%, rgba(var(--overlay-rgb),0.88) 100%);
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero-inner { padding: 80px 0 100px; max-width: 780px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--accent-rgb), 0.05);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text2);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.hero-headline {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 44px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── STATS ── */
#stats {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-right: none; border-top: 1px solid var(--border); }
}

/* ── SEPARATOR ── */
.separator {
  height: 300px;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  position: relative;
  overflow: hidden;
}
.separator-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(var(--overlay-rgb),1) 0%,
    rgba(var(--overlay-rgb),0.25) 35%,
    rgba(var(--overlay-rgb),0.25) 65%,
    rgba(var(--overlay-rgb),1) 100%
  );
}

/* ── NOSOTROS / EQUIPO ── */
.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.equipo-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color 0.3s, transform 0.3s;
}
.equipo-card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
}
.equipo-card-os {
  border-color: rgba(var(--accent-rgb), 0.1);
}
.equipo-card-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.equipo-avatar-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border2);
  flex-shrink: 0;
}
.equipo-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.equipo-avatar-os {
  background: rgba(var(--accent-rgb), 0.07);
  border-color: rgba(var(--accent-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}
.equipo-avatar-os span {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
}
.equipo-name {
  font-family: var(--font-h);
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}
.equipo-role {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.equipo-bio {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}
.equipo-links { display: flex; gap: 10px; flex-wrap: wrap; }
.equipo-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, color 0.2s;
}
.equipo-link:hover {
  border-color: var(--border2);
  color: var(--accent);
}

/* ── AGENT OS ── */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}
.agent-card {
  background: rgba(var(--accent-rgb), 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: border-color 0.3s, transform 0.2s, background 0.2s;
}
.agent-card:hover {
  border-color: var(--border2);
  background: rgba(var(--accent-rgb), 0.05);
  transform: translateY(-3px);
}
.agent-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border2);
  margin-bottom: 14px;
  flex-shrink: 0;
}
.agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.agent-name {
  font-family: var(--font-h);
  font-size: 19px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}
.agent-role {
  font-size: 11px;
  color: var(--text2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}
.agent-spec {
  font-size: 13px;
  color: var(--muted);
}
.agente-quote {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 28px 32px;
  max-width: 720px;
}
.agente-quote p {
  font-family: var(--font-h);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text);
}
.agente-quote strong { color: var(--accent); font-weight: 600; }

/* ── VENTURES ── */
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.venture-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.venture-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.venture-card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.venture-card:hover::before { opacity: 1; }
.venture-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.venture-sector {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.badge-live {
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
}
.badge-dev {
  background: rgba(var(--accent-rgb), 0.06);
  color: var(--text2);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
}
.badge-building {
  background: rgba(var(--accent-rgb), 0.04);
  color: var(--muted);
  border: 1px solid var(--border);
}
.venture-name {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 4px;
}
.venture-tagline {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.venture-block { margin-bottom: 14px; }
.venture-block-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.venture-block p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.venture-block-solution .venture-block-label { color: var(--text2); }
.venture-block-solution p { color: var(--text); }
.venture-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.venture-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.venture-link:hover { gap: 8px; }
.venture-lab-note {
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
}

/* ── RESEARCH ── */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.research-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}
.research-card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
}
.research-icon {
  width: 48px;
  height: 48px;
  background: rgba(var(--accent-rgb), 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.research-title {
  font-family: var(--font-h);
  font-size: 21px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}
.research-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}
.research-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
  align-self: flex-start;
}
.research-link:hover { gap: 8px; }
.ext-icon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 3px;
  flex-shrink: 0;
  position: relative;
  top: -1px;
}
.research-no-link {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

/* ── CONTACTO ── */
.contacto-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.contacto-inner .section-sub { margin: 0 auto 40px; }
.contact-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand .nav-logo {
  font-size: 22px;
  margin-bottom: 14px;
  display: block;
}
.footer-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.footer-tagline strong { color: var(--text2); }
.footer-links h4 {
  font-family: var(--font-h);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-copy span { color: var(--text2); }
.footer-copy a { color: var(--text2); transition: color 0.2s; }
.footer-copy a:hover { color: var(--accent); }
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-eyebrow::before {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(var(--accent-rgb), 0.3); }

::selection { background: rgba(var(--accent-rgb), 0.12); color: var(--text); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  :root { --section-pad: 72px; }
  .hero-inner { padding: 60px 0 80px; }
  .section-header { margin-bottom: 44px; }
  .agent-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .separator { height: 180px; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary { text-align: center; justify-content: center; }
}

/* ── PIPELINE ── */
.pipeline-stages {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.pipeline-stage {
  flex: 1;
  min-width: 120px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.2s;
}
.pipeline-stage-active {
  border-color: var(--border2);
  background: rgba(var(--accent-rgb), 0.04);
}
.pipeline-stage-label {
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}
.pipeline-stage-sub {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pipeline-arrow {
  font-size: 18px;
  color: var(--border2);
  flex-shrink: 0;
}
.pipeline-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.pipeline-cta p {
  font-size: 15px;
  color: var(--muted);
}
@media (max-width: 640px) {
  .pipeline-arrow { display: none; }
  .pipeline-stage { min-width: 100px; }
}

/* ── Lang toggle ── */
.lang-toggle {
  background: none;
  border: none;
  color: var(--text2);
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  padding: 0 6px;
  height: 36px;
  cursor: pointer;
  transition: color .2s;
  flex-shrink: 0;
}
.lang-toggle:hover { color: var(--text); }
.lang-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ════════════════════════════════
   FOOTER — ft- prefix (isolated from nav)
   ════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 80px;
}
.ft-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}
.ft-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ft-logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.ft-logo-img { display: block; width: 104px; height: 20px; }
[data-theme="light"] .ft-logo-img { filter: invert(1); }
.ft-tagline { font-size: 12px; color: var(--muted); line-height: 1.6; }
.ft-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.ft-link {
  font-family: var(--font-b);
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
}
.ft-link:hover { color: var(--text); }
.ft-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.ft-copy { font-size: 12px; color: var(--muted); }
.ft-copy em { font-style: italic; }
.ft-email { color: var(--text2); text-decoration: none; transition: color 0.2s; }
.ft-email:hover { color: var(--accent); }
@media (max-width: 640px) {
  .ft-inner { flex-direction: column; }
  .ft-nav { gap: 16px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Alicia / BaW Venture Operator badge ── */
.agent-card-baw {
  border: 1px solid rgba(251, 191, 36, 0.25);
  background: rgba(251, 191, 36, 0.04);
}
.agent-badge-baw {
  margin-top: 8px;
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 4px;
  padding: 2px 8px;
}
