@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   2. DESIGN TOKENS
   ========================================================================== */
:root {
  /* White Primary System */
  --bg-white: #FFFFFF;
  --bg-off: #F7F9FC;
  --bg-subtle: #F2F5FA;
  --bg-glass: rgba(255, 255, 255, 0.92);

  /* Rockstar Night (dark contrast sections) */
  --bg-night: #060911;
  --bg-night-2: #0C1120;
  --bg-night-card: #101827;

  /* Vice City Neon Palette */
  --neon-cyan: #00F0FF;
  --neon-pink: #FF2A85;
  --neon-indigo: #6025F5;
  --neon-gold: #FFB800;
  --neon-blue: #0071E3;

  /* Gradient Definitions */
  --grad-hero: linear-gradient(135deg, #00F0FF 0%, #0071E3 28%, #6025F5 62%, #FF2A85 100%);
  --grad-sunset: linear-gradient(135deg, #FF2A85 0%, #6025F5 45%, #00F0FF 100%);
  --grad-text: linear-gradient(135deg, #0C1120 0%, #0071E3 40%, #FF2A85 75%, #6025F5 100%);
  --grad-gold-pink: linear-gradient(135deg, #FFB800 0%, #FF2A85 100%);
  --grad-night-card: linear-gradient(135deg, rgba(0, 240, 255, 0.08) 0%, rgba(255, 42, 133, 0.06) 100%);

  /* Glow / Shadow */
  --glow-pink: 0 0 40px rgba(255, 42, 133, 0.35), 0 0 80px rgba(255, 42, 133, 0.18);
  --glow-cyan: 0 0 40px rgba(0, 240, 255, 0.35), 0 0 80px rgba(0, 240, 255, 0.18);
  --shadow-card: 0 4px 24px -4px rgba(8, 12, 20, 0.08), 0 1px 4px rgba(8, 12, 20, 0.04);
  --shadow-float: 0 24px 48px -12px rgba(8, 12, 20, 0.12), 0 8px 24px -8px rgba(96, 37, 245, 0.12);
  --shadow-neon-pink: 0 8px 32px rgba(255, 42, 133, 0.3);
  --shadow-neon-cyan: 0 8px 32px rgba(0, 240, 255, 0.3);

  /* Text */
  --text-primary: #080C14;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-dim: #94A3B8;
  --text-night: #E2E8F0;
  --text-night-muted: #64748B;

  /* Borders */
  --border-subtle: rgba(8, 12, 20, 0.07);
  --border-medium: rgba(8, 12, 20, 0.12);
  --border-neon-pink: rgba(255, 42, 133, 0.4);
  --border-neon-cyan: rgba(0, 240, 255, 0.4);
  --border-night: rgba(255, 255, 255, 0.07);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, 'SF Pro Display', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Radius */
  --r-xs: 5px;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-full: 9999px;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   3. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg-white);
  color: var(--text-primary);
}

body {
  overflow-x: hidden;
  background: var(--bg-white);
  position: relative;
}

/* Rockstar subtle noise texture overlay on white sections */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* Ambient Glow Orbs — Vice City Sunset */
.bg-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  will-change: transform;
}

/* Top-right pink/cyan orb */
.glow-orb-1 {
  top: -160px;
  right: -80px;
  width: 780px;
  height: 780px;
  background: radial-gradient(circle,
      rgba(255, 42, 133, 0.18) 0%,
      rgba(0, 240, 255, 0.12) 45%,
      rgba(96, 37, 245, 0.08) 72%,
      transparent 90%);
}

/* Mid-left blue/gold orb */
.glow-orb-2 {
  top: 900px;
  left: -220px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle,
      rgba(0, 113, 227, 0.14) 0%,
      rgba(255, 184, 0, 0.09) 50%,
      transparent 85%);
}

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

ul {
  list-style: none;
}

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

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ==========================================================================
   5. TYPOGRAPHY HELPERS
   ========================================================================== */

/* Gradient text clip */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad-text-sunset {
  background: var(--grad-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Rockstar stroke/outline text — huge decorative numbers & headings */
.text-stroke {
  -webkit-text-stroke: 2px var(--neon-pink);
  color: transparent;
  font-weight: 900;
}

.text-stroke-cyan {
  -webkit-text-stroke: 2px var(--neon-cyan);
  color: transparent;
  font-weight: 900;
}

/* Monospace tag pill */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.775rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.42rem 1.1rem;
  border-radius: var(--r-full);
  border: 1px solid var(--border-neon-pink);
  background: rgba(255, 42, 133, 0.06);
  color: var(--neon-pink);
}

.tag-pill-cyan {
  border-color: var(--border-neon-cyan);
  background: rgba(0, 240, 255, 0.06);
  color: #0099AA;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.8);
    opacity: 0.5;
  }
}

/* Section heading system */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.68;
  max-width: 700px;
  margin-top: 1rem;
}

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.95rem 2rem;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.55s var(--ease-out);
}

.btn:hover::after {
  transform: translateX(100%);
}

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

.btn-primary {
  background: var(--grad-hero);
  color: #FFFFFF;
  box-shadow: 0 4px 24px rgba(255, 42, 133, 0.38);
}

.btn-primary:hover {
  box-shadow: 0 10px 40px rgba(255, 42, 133, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-medium);
  box-shadow: var(--shadow-card);
}

.btn-ghost:hover {
  border-color: var(--neon-pink);
  color: var(--neon-indigo);
  box-shadow: 0 8px 24px rgba(255, 42, 133, 0.15);
}

/* Night section buttons */
.btn-outline-neon {
  background: transparent;
  color: var(--neon-cyan);
  border: 1.5px solid rgba(0, 240, 255, 0.5);
  font-weight: 800;
}

.btn-outline-neon:hover {
  background: rgba(0, 240, 255, 0.08);
  box-shadow: var(--glow-cyan);
}

/* ==========================================================================
   7. HEADER / NAV
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-img {
  height: 50px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  transition: max-width 0.3s var(--ease-out);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--neon-indigo);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lang-btn {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 0.42rem 0.85rem;
  border-radius: var(--r-xs);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, padding 0.3s, font-size 0.3s;
}

.lang-btn:hover {
  border-color: var(--neon-pink);
  color: var(--neon-pink);
}

/* Mobile toggle - Ocultado por completo */
.mobile-nav-toggle {
  display: none !important;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   8. HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 6.5rem 0 5rem;
  overflow: hidden;
}

/* Diagonal cut at bottom of hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--bg-night);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Giant decorative stroke number behind hero */
.hero-bg-number {
  position: absolute;
  top: -80px;
  right: -40px;
  font-family: var(--font-mono);
  font-size: 28rem;
  font-weight: 900;
  -webkit-text-stroke: 1.5px rgba(96, 37, 245, 0.06);
  color: transparent;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 4.25rem;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.06;
  margin: 1.25rem 0 1.4rem;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

/* Stats row */
.hero-stats {
  display: flex;
  gap: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  background: var(--grad-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Terminal Window */
.terminal-wrap {
  position: relative;
  z-index: 1;
}

.terminal {
  background: var(--bg-night);
  border: 1px solid rgba(255, 42, 133, 0.3);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--glow-pink), 0 32px 60px -16px rgba(6, 9, 17, 0.7);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.terminal:hover {
  transform: translateY(-6px) rotate(0.3deg);
  box-shadow: var(--glow-cyan), 0 40px 70px -20px rgba(6, 9, 17, 0.8);
}

/* Scanline overlay on terminal */
.terminal::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(0, 240, 255, 0.012) 2px,
      rgba(0, 240, 255, 0.012) 4px);
}

.terminal-bar {
  background: rgba(255, 255, 255, 0.04);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.t-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-r {
  background: #FF5F56;
}

.dot-y {
  background: #FFBD2E;
}

.dot-g {
  background: #27C93F;
}

.terminal-filename {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748B;
}

.terminal-body {
  padding: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.85;
  color: #CBD5E1;
  min-height: 290px;
  transition: opacity 0.3s ease;
}

.c-comment {
  color: #3B4D6B;
}

.c-key {
  color: #FF7BD7;
  font-weight: 700;
}

.c-fn {
  color: #00F0FF;
  font-weight: 700;
}

.c-str {
  color: #34D399;
}

.c-num {
  color: #FF4757;
}

.c-op {
  color: #94A3B8;
}

/* ==========================================================================
   9. TICKER (NIGHT BAR)
   ========================================================================== */
.ticker-section {
  background: var(--bg-night);
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.ticker-wrap {
  display: inline-flex;
  gap: 4rem;
  animation: marquee 40s linear infinite;
  will-change: transform;
}

.ticker-wrap:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #475569;
  font-weight: 700;
}

.ticker-accent {
  color: var(--neon-pink);
}

/* ==========================================================================
   10. PILLARS SECTION (white bg, diagonal top cut)
   ========================================================================== */
.pillars-section {
  padding: 8rem 0 7rem;
  background: var(--bg-white);
  position: relative;
  z-index: 1;
}

.pillars-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 4rem;
}

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

/* Numbered pillar card — Rockstar bordering style */
.pillar-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border-subtle);
  border-top: 1px solid var(--border-subtle);
  transition: background 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.pillar-card:last-child {
  border-right: none;
}

.pillar-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--grad-hero);
  transition: width 0.4s var(--ease-out);
}

.pillar-card:hover::before {
  width: 100%;
}

.pillar-card:hover {
  background: var(--bg-subtle);
}

/* Giant stroke number — Rockstar decorative */
.pillar-bg-num {
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-family: var(--font-mono);
  font-size: 7rem;
  font-weight: 900;
  -webkit-text-stroke: 1px rgba(96, 37, 245, 0.07);
  color: transparent;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--neon-pink);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.pillar-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.pillar-desc {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   11. SITUATION TABS (white with night panel accent)
   ========================================================================== */
.situation-section {
  padding: 7rem 0;
  background: var(--bg-subtle);
  position: relative;
}

.section-center {
  text-align: center;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 2.75rem 0 2.5rem;
}

.tab-btn {
  padding: 0.85rem 2rem;
  border-radius: var(--r-full);
  font-size: 0.925rem;
  font-weight: 800;
  cursor: pointer;
  background: var(--bg-white);
  color: var(--text-secondary);
  border: 1.5px solid var(--border-subtle);
  transition: all 0.25s var(--ease-out);
  letter-spacing: -0.01em;
}

.tab-btn:hover {
  border-color: var(--border-medium);
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--grad-hero);
  color: #FFF;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(255, 42, 133, 0.42);
}

.tab-panel {
  display: none;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 4rem;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: var(--shadow-float);
  position: relative;
  overflow: hidden;
}

/* Decorative neon corner accent on tab panel */
.tab-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 4px;
  background: var(--grad-hero);
  border-radius: 0 0 4px 0;
}

.tab-panel.active {
  display: block;
  animation: tabReveal 0.45s var(--ease-out);
}

@keyframes tabReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-headline {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin: 1rem 0 1.75rem;
  line-height: 1.2;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.feature-arrow {
  width: 28px;
  height: 28px;
  background: var(--grad-hero);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 0.85rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   12. CLIENT LOGOS (night section)
   ========================================================================== */
.logos-section {
  background: var(--bg-night);
  padding: 5rem 0;
  position: relative;
}

.logos-title {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #3B4D6B;
  margin-bottom: 2.5rem;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
}

.logo-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #475569;
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-sm);
  transition: all 0.25s var(--ease-out);
}

.logo-badge:hover {
  color: var(--neon-cyan);
  border-color: rgba(0, 240, 255, 0.25);
  background: rgba(0, 240, 255, 0.04);
}

/* ==========================================================================
   13. SERVICES SECTION (white bg)
   ========================================================================== */
.services-section {
  padding: 8rem 0;
  background: var(--bg-white);
  position: relative;
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Service Card — minimal white with neon hover glow */
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s var(--ease-out);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-md);
  opacity: 0;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.04), rgba(255, 42, 133, 0.04));
  transition: opacity 0.35s;
}

.service-card:hover {
  border-color: rgba(255, 42, 133, 0.35);
  transform: translateY(-7px);
  box-shadow: var(--shadow-float), 0 0 0 1px rgba(255, 42, 133, 0.15);
}

.service-card:hover::after {
  opacity: 1;
}

/* Service number — Rockstar giant stroke decoration */
.svc-num {
  position: absolute;
  top: -20px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 5.5rem;
  font-weight: 900;
  -webkit-text-stroke: 1px rgba(96, 37, 245, 0.06);
  color: transparent;
  line-height: 1;
  pointer-events: none;
}

.svc-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: #0089A0;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.svc-title {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.svc-desc {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.svc-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 0.28rem 0.6rem;
  border-radius: var(--r-xs);
  color: var(--text-muted);
}

.service-card.wide {
  grid-column: span 1;
}

/* ==========================================================================
   14. TECH ECOSYSTEM (night section with diagonal cuts)
   ========================================================================== */
.ecosystem-section {
  background: var(--bg-night);
  padding: 5rem 0;
  position: relative;
  clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%);
  margin: -3px 0;
}

.eco-eyebrow {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #3B4D6B;
  margin-bottom: 2.5rem;
}

.eco-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 3.5rem;
}

.eco-item {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 800;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: color 0.2s;
}

.eco-item:hover {
  color: var(--neon-cyan);
}

/* ==========================================================================
   15. AI AGENTS (white bg with dramatic night banner)
   ========================================================================== */
.ai-section {
  padding: 8rem 0;
  background: var(--bg-white);
  position: relative;
}

.ai-banner {
  background: var(--bg-night);
  border: 1px solid rgba(255, 42, 133, 0.2);
  border-radius: var(--r-lg);
  padding: 4.5rem;
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-pink), 0 40px 80px -20px rgba(6, 9, 17, 0.5);
}

.ai-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.ai-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 3px,
      rgba(0, 240, 255, 0.015) 3px,
      rgba(0, 240, 255, 0.015) 4px);
}

.ai-banner-content {
  position: relative;
  z-index: 1;
}

.ai-banner-title {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #FFFFFF;
  margin: 1rem 0 1.25rem;
}

.ai-banner-desc {
  font-size: 1.1rem;
  color: #64748B;
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: 2.25rem;
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.agent-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 2rem;
  transition: all 0.35s var(--ease-out);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.agent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-hero);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.agent-card:hover::before {
  transform: scaleX(1);
}

.agent-card:hover {
  border-color: rgba(255, 42, 133, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(255, 42, 133, 0.2);
}

.agent-id {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--neon-indigo);
  margin-bottom: 0.65rem;
}

.agent-title {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.agent-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   16. DIFFERENTIATORS (night section)
   ========================================================================== */
.diff-section {
  background: var(--bg-night);
  padding: 8rem 0;
  position: relative;
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  margin: -3px 0;
}

.diff-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.diff-header .section-title {
  color: #FFFFFF;
}

.diff-header .section-desc {
  color: #475569;
  margin: 1rem auto 0;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-md);
  overflow: hidden;
}

.diff-card {
  background: var(--bg-night);
  padding: 2.5rem 2rem;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.diff-card:hover {
  background: var(--bg-night-2);
}

.diff-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--grad-hero);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease-out);
}

.diff-card:hover::before {
  transform: scaleY(1);
}

.diff-bg-num {
  position: absolute;
  bottom: -25px;
  right: -5px;
  font-family: var(--font-mono);
  font-size: 7rem;
  font-weight: 900;
  -webkit-text-stroke: 1px rgba(96, 37, 245, 0.1);
  color: transparent;
  pointer-events: none;
  line-height: 1;
}

.diff-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--neon-pink);
  margin-bottom: 1rem;
}

.diff-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #E2E8F0;
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.diff-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.62;
}

/* ==========================================================================
   17. QUOTE (white bg)
   ========================================================================== */
.quote-section {
  padding: 7rem 0;
  background: var(--bg-white);
}

.quote-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-mark {
  font-family: var(--font-mono);
  font-size: 10rem;
  font-weight: 900;
  line-height: 0.6;
  -webkit-text-stroke: 2px rgba(255, 42, 133, 0.12);
  color: transparent;
  display: block;
  margin-bottom: 0.5rem;
  user-select: none;
}

.quote-text {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  line-height: 1.38;
  margin-bottom: 2rem;
}

/* ==========================================================================
   18. CONTACT FORM SECTION
   ========================================================================== */
.contact-section {
  padding: 7rem 0;
  background: var(--bg-subtle);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 5rem;
  align-items: start;
}

.contact-info-title {
  font-size: 2.85rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--text-primary);
  margin: 1rem 0 2rem;
}

.contact-form-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 3.25rem;
  box-shadow: var(--shadow-float);
  position: relative;
  overflow: hidden;
}

.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-hero);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

label {
  display: block;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

input,
select,
textarea {
  width: 100%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.93rem;
  transition: all 0.2s var(--ease-out);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  background: var(--bg-white);
  border-color: var(--neon-pink);
  box-shadow: 0 0 0 4px rgba(255, 42, 133, 0.14);
}

.hp-field {
  display: none !important;
}

/* ==========================================================================
   19. FOOTER (night)
   ========================================================================== */
.footer {
  background: var(--bg-night);
  border-top: 1px solid rgba(255, 42, 133, 0.2);
  padding: 5rem 0 2.75rem;
  color: #475569;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.25fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.65;
  max-width: 360px;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 800;
  color: #94A3B8;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.875rem;
  color: #475569;
  transition: color 0.2s;
  font-weight: 600;
}

.footer-link:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

.footer-mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #3B4D6B;
}

/* ==========================================================================
   20. SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.d1 {
  transition-delay: 0.08s;
}

.d2 {
  transition-delay: 0.16s;
}

.d3 {
  transition-delay: 0.24s;
}

.d4 {
  transition-delay: 0.32s;
}

/* ==========================================================================
   21. RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

@media (max-width: 992px) {

  .hero-inner,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-header,
  .pillars-header {
    grid-template-columns: 1fr;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .nav-actions .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }

  .logo-img {
    max-width: 160px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ai-banner {
    padding: 2.75rem 2rem;
  }

  .ai-banner-title {
    font-size: 2.2rem;
  }

  /* Menú desplegable ocultado por completo en celular/tableta */
  .nav-links,
  .nav-links.open {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: none !important;
  }

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

@media (max-width: 640px) {
  .hero {
    padding: 4rem 0 3.5rem;
  }

  .nav-container {
    gap: 0.5rem;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .nav-actions .btn {
    padding: 0.5rem 0.7rem;
    font-size: 0.75rem;
  }

  .lang-btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.7rem;
  }

  .logo-img {
    max-width: 110px;
  }

  .mobile-nav-toggle {
    display: none !important;
    padding: 0.2rem;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .pillars-grid,
  .diff-grid {
    grid-template-columns: 1fr;
  }

  .agents-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .tab-panel,
  .ai-banner,
  .contact-form-wrap {
    padding: 2rem 1.25rem;
  }

  .tabs-nav {
    flex-direction: column;
  }

  .tab-btn {
    width: 100%;
    text-align: center;
  }

  .quote-text {
    font-size: 1.5rem;
  }

  .quote-mark {
    font-size: 6rem;
  }

  .hero-bg-number {
    display: none;
  }
}