/* ==========================================================================
   QUIMERA - DESIGN SYSTEM & STYLESHEET
   Inspired by Lusion.co - Ultra-Premium Futuristic Interactive Cyber Aesthetic
   ========================================================================== */

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

:root {
  --bg-deep: #06090a;
  --bg-surface: #0a0e10;
  --bg-elevated: #101619;
  --bg-card: rgba(13, 20, 23, 0.76);
  --bg-card-hover: rgba(18, 28, 32, 0.9);

  /* Exact Quimera Logo Palette */
  --accent-teal: #168993;
  --accent-teal-light: #22aab6;
  --accent-cyan: #168993;
  --accent-cyan-bright: #26c6d6;
  --accent-cyan-glow: rgba(22, 137, 147, 0.45);
  --accent-mint: #22aab6;
  --accent-graphite: #4a4c4c;
  --accent-purple: #168993;
  --accent-violet: #0e6b73;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --text-primary: #f8fafc;
  --text-secondary: #9aa8ab;
  --text-muted: #64748b;
  --text-accent: #22aab6;

  --border-subtle: rgba(22, 137, 147, 0.16);
  --border-glow: rgba(22, 137, 147, 0.45);
  --border-violet: rgba(34, 170, 182, 0.35);

  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-fluid: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-fluid);
  --transition-med: 0.4s var(--ease-fluid);
  --transition-slow: 0.8s var(--ease-fluid);
}

/* ==========================================================================
   WHITE THEME / JAPANESE MINIMALIST CONTRAST STYLES
   ========================================================================== */
body[data-zen-white="true"] {
  --bg-deep: #f8f9fa;
  --bg-surface: #ffffff;
  --bg-elevated: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --text-primary: #0a0f1d;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-glow: rgba(22, 137, 147, 0.35);
  background: #f8f9fa;
  color: #0a0f1d;
}

/* Header & Navigation */
body[data-zen-white="true"] #header .header-inner {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

body[data-zen-white="true"] .brand-logo {
  color: #0a0f1d;
}

body[data-zen-white="true"] .header-status {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.12);
  color: #334155;
}

body[data-zen-white="true"] .nav-link {
  color: #334155;
}

body[data-zen-white="true"] .nav-link:hover,
body[data-zen-white="true"] .nav-link.active {
  color: #0a0f1d;
  background: rgba(15, 23, 42, 0.06);
}

body[data-zen-white="true"] .btn-sound {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.12);
  color: #334155;
}

/* Hero Section Elements Outside Cards */
body[data-zen-white="true"] .hero-pill-badge {
  background: rgba(22, 137, 147, 0.08);
  border-color: rgba(22, 137, 147, 0.35);
  color: #0e7490;
  box-shadow: 0 2px 10px rgba(14, 116, 144, 0.06);
}

body[data-zen-white="true"] .hero-title {
  color: #0a0f1d;
}

body[data-zen-white="true"] .hero-title .text-gradient {
  background: linear-gradient(135deg, #0a0f1d 0%, #0e7490 55%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body[data-zen-white="true"] .hero-description {
  color: #334155;
}

body[data-zen-white="true"] .hero-description strong {
  color: #0a0f1d;
}

body[data-zen-white="true"] .btn-secondary {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.15);
  color: #0a0f1d;
}

body[data-zen-white="true"] .btn-secondary:hover {
  background: rgba(15, 23, 42, 0.1);
  border-color: rgba(15, 23, 42, 0.25);
  color: #0a0f1d;
}

/* Stats Ticker Outside Cards */
body[data-zen-white="true"] .hero-stats-ticker {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

body[data-zen-white="true"] .stat-number {
  color: #0a0f1d;
}

body[data-zen-white="true"] .stat-desc {
  color: #475569;
}

/* Section Headings & Subheadings Across the Entire Page */
body[data-zen-white="true"] .section-tag {
  color: #0e7490;
}

body[data-zen-white="true"] .section-tag::before {
  color: #94a3b8;
}

body[data-zen-white="true"] .section-heading {
  color: #0a0f1d;
}

body[data-zen-white="true"] .section-subheading {
  color: #475569;
}

/* Inside Cards */
body[data-zen-white="true"] .telemetry-card,
body[data-zen-white="true"] .scenario-picker,
body[data-zen-white="true"] .sim-hud-card,
body[data-zen-white="true"] .telemetry-stream-panel,
body[data-zen-white="true"] .pillar-card,
body[data-zen-white="true"] .threat-response-card,
body[data-zen-white="true"] .architecture-terminal,
body[data-zen-white="true"] .case-study-card,
body[data-zen-white="true"] .faq-item,
body[data-zen-white="true"] .whatsapp-popover {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(16px);
}

body[data-zen-white="true"] .faq-question {
  color: #0a0f1d;
}

body[data-zen-white="true"] .faq-answer-inner {
  color: #475569;
  border-top-color: rgba(15, 23, 42, 0.08);
}

body[data-zen-white="true"] .faq-answer-inner strong {
  color: #0a0f1d;
}

body[data-zen-white="true"] .faq-icon {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.1);
  color: #0e7490;
}

body[data-zen-white="true"] .lang-switch-btn {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.12);
  color: #475569;
}

body[data-zen-white="true"] .lang-switch-btn:hover {
  background: rgba(15, 23, 42, 0.08);
  color: #0a0f1d;
}


body[data-zen-white="true"] .pillar-title,
body[data-zen-white="true"] .hud-title {
  color: #0a0f1d;
}

body[data-zen-white="true"] .pillar-tagline {
  color: #0e7490;
}

body[data-zen-white="true"] .pillar-desc {
  color: #475569;
}

body[data-zen-white="true"] .pillar-feature-item {
  color: #334155;
}

body[data-zen-white="true"] .pillar-feature-item strong {
  color: #0a0f1d;
}

body[data-zen-white="true"] .mode-pill-btn {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.1);
  color: #334155;
}

body[data-zen-white="true"] .mode-pill-btn:hover {
  background: rgba(15, 23, 42, 0.08);
  color: #0a0f1d;
}

body[data-zen-white="true"] .mode-pill-btn.active {
  background: rgba(22, 137, 147, 0.12);
  border-color: #0e7490;
  color: #0e7490;
  box-shadow: 0 0 20px rgba(14, 116, 144, 0.15);
}

body[data-zen-white="true"] .cyber-grid-overlay {
  opacity: 0.08;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}

body[data-zen-white="true"] .ambient-glow {
  opacity: 0.1;
}

body[data-zen-white="true"] .custom-cursor {
  background: #0f172a;
}

body[data-zen-white="true"] .custom-cursor-follower {
  border-color: rgba(15, 23, 42, 0.35);
}


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

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

body {
  position: relative;
  min-height: 100vh;
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  cursor: default;
}

/* 3D Canvas Background */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.42;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ambient-glow-1 {
  top: -10vw;
  right: -5vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.3) 0%, rgba(14, 116, 144, 0.15) 50%, transparent 70%);
}

.ambient-glow-2 {
  bottom: 10vh;
  left: -10vw;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.22) 0%, rgba(0, 245, 212, 0.1) 60%, transparent 75%);
}

/* Transiciones Dinámicas según el Pilar */
body[data-pillar-theme="software"] .ambient-glow-1 {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(99, 102, 241, 0.2) 50%, transparent 70%);
}
body[data-pillar-theme="software"] .ambient-glow-2 {
  background: radial-gradient(circle, rgba(129, 140, 248, 0.28) 0%, rgba(56, 189, 248, 0.12) 60%, transparent 75%);
}

body[data-pillar-theme="support"] .ambient-glow-1 {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, rgba(5, 150, 105, 0.2) 50%, transparent 70%);
}
body[data-pillar-theme="support"] .ambient-glow-2 {
  background: radial-gradient(circle, rgba(52, 211, 153, 0.26) 0%, rgba(16, 185, 129, 0.12) 60%, transparent 75%);
}

body[data-pillar-theme="nexus"] .ambient-glow-1 {
  background: radial-gradient(circle, rgba(192, 132, 252, 0.35) 0%, rgba(244, 63, 94, 0.2) 50%, transparent 70%);
}
body[data-pillar-theme="nexus"] .ambient-glow-2 {
  background: radial-gradient(circle, rgba(251, 113, 133, 0.28) 0%, rgba(192, 132, 252, 0.14) 60%, transparent 75%);
}

/* Scanline / Grid overlay */
.cyber-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 90%);
}

/* Custom Interactive Cursor (desktop only) */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s, transform 0.05s ease-out;
  mix-blend-mode: difference;
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 245, 212, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s var(--ease-fluid), width 0.25s, height 0.25s, border-color 0.25s;
}

.cursor-hover .custom-cursor {
  width: 24px;
  height: 24px;
  background: rgba(0, 245, 212, 0.85);
  filter: drop-shadow(0 0 12px var(--accent-cyan));
}

.cursor-hover .custom-cursor-follower {
  width: 60px;
  height: 60px;
  border-color: rgba(0, 245, 212, 0.7);
  background: rgba(0, 245, 212, 0.05);
}

/* Layout container */
.app-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.section-wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   HEADER NAVIGATION (Lusion Minimal Glassmorphism Style)
   ========================================================================== */
#header {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(94%, 1280px);
  z-index: 1000;
  transition: all var(--transition-med);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1.75rem;
  background: rgba(8, 12, 14, 0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(22, 137, 147, 0.15);
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand-emblem {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(22, 137, 147, 0.25) 0%, rgba(34, 170, 182, 0.35) 100%);
  border: 1px solid rgba(22, 137, 147, 0.6);
  box-shadow: 0 0 22px rgba(22, 137, 147, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-logo:hover .brand-emblem {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 0 28px rgba(34, 170, 182, 0.7);
}

.brand-logo-img {
  height: 62px;
  max-width: 360px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast), filter var(--transition-fast);
  filter: drop-shadow(0 3px 16px rgba(22, 137, 147, 0.35));
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
  filter: drop-shadow(0 6px 26px rgba(34, 170, 182, 0.75));
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-name-main {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-name-sub {
  font-size: 0.55rem;
  font-family: var(--font-mono);
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

/* Header Status Badge */
.header-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Sound Button (Lusion homage) */
.btn-sound {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-sound:hover {
  background: rgba(0, 245, 212, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 245, 212, 0.25);
}

#sound-canvas {
  width: 20px;
  height: 16px;
  pointer-events: none;
}

/* CTA Pill Button */
.btn-pill-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  color: #050608;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.btn-pill-primary:hover {
  background: var(--accent-cyan);
  box-shadow: 0 0 25px rgba(0, 245, 212, 0.6);
  transform: translateY(-1px);
}

.btn-pill-primary .btn-arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.btn-pill-primary:hover .btn-arrow {
  transform: translateX(4px);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
}

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

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 245, 212, 0.07);
  border: 1px solid rgba(0, 245, 212, 0.3);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  margin-bottom: 1.8rem;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.75rem;
  color: #ffffff;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #ffffff 10%, var(--accent-cyan) 60%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-glow {
  box-shadow: 0 0 35px rgba(0, 245, 212, 0.3);
}

/* 3D Visual Controller HUD on Hero */
.hero-3d-hud {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hud-card {
  background: rgba(14, 18, 28, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.75rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-fast), transform var(--transition-med);
}

.hud-card:hover {
  border-color: rgba(0, 245, 212, 0.4);
  transform: translateY(-3px);
}

.hud-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 245, 212, 0.5), transparent);
}

.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.hud-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hud-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* 3D Interactive Modes Switcher */
.scene-modes-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 1rem;
}

.mode-pill-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.mode-pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.mode-pill-btn.active {
  background: rgba(0, 245, 212, 0.12);
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.25);
}

.mode-pill-btn.active .mode-icon {
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 8px var(--accent-cyan));
}

.mode-icon {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

/* Realtime Telemetry Bar */
.telemetry-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

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

.telemetry-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.telemetry-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 0.2rem;
}

.telemetry-val.secure {
  color: var(--accent-emerald);
}

/* Hero Stats Ticker */
.hero-stats-ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2.2rem 2.5rem;
  background: rgba(10, 13, 20, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  margin-top: 2rem;
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.stat-number .accent {
  color: var(--accent-cyan);
}

.stat-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: 0.35rem;
}

/* ==========================================================================
   SECTION COMMON HEADERS
   ========================================================================== */
.section-padding {
  padding: 8rem 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '//';
  color: var(--text-muted);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.section-subheading {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 650px;
}

/* ==========================================================================
   THE 3 PILLARS - CARDS SHOWCASE (Quimera Core Strengths)
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.75rem 2.25rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: all var(--transition-med);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 245, 212, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 245, 212, 0.1);
}

.pillar-card.pillar-security:hover {
  border-color: rgba(0, 245, 212, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 245, 212, 0.2);
}

.pillar-card.pillar-software:hover {
  border-color: rgba(157, 78, 221, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(157, 78, 221, 0.2);
}

.pillar-card.pillar-support:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(16, 185, 129, 0.2);
}

.pillar-card-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  transition: opacity var(--transition-med);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pillar-badge {
  font-size: 0.68rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 245, 212, 0.2);
}

.pillar-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
  color: var(--accent-cyan);
  transition: all var(--transition-fast);
}

.pillar-card:hover .pillar-icon-box {
  transform: scale(1.1);
  background: rgba(0, 245, 212, 0.12);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 25px rgba(0, 245, 212, 0.3);
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.pillar-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.pillar-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.pillar-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pillar-feature-item svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--accent-cyan);
}

.pillar-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.pillar-cta-link:hover {
  color: var(--accent-cyan);
  gap: 0.8rem;
}

/* ==========================================================================
   LIVE CYBER DEFENSE SIMULATOR (Interactive Core Attraction)
   ========================================================================== */
.simulator-wrapper {
  margin-top: 4rem;
  background: rgba(8, 10, 16, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  overflow: hidden;
  backdrop-filter: blur(24px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.sim-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background: rgba(14, 17, 26, 0.8);
  border-bottom: 1px solid var(--border-subtle);
}

.sim-window-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.sim-dot.red { background: #ff5f56; }
.sim-dot.yellow { background: #ffbd2e; }
.sim-dot.green { background: #27c93f; }

.sim-bar-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sim-status-active {
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.sim-body {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  min-height: 480px;
}

/* Simulator Left: Control Panel */
.sim-controls-pane {
  padding: 2.25rem;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-intro {
  margin-bottom: 1.75rem;
}

.sim-intro h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.sim-intro p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.attack-triggers {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.attack-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  text-align: left;
}

.attack-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.attack-btn.active {
  background: rgba(0, 245, 212, 0.1);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.2);
}

.attack-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.attack-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
}

.attack-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.attack-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.sim-telemetry-box {
  margin-top: 1.75rem;
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
}

.sim-defense-gauge {
  margin-top: 0.6rem;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.sim-defense-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-emerald));
  border-radius: 9999px;
  transition: width 0.4s ease;
  box-shadow: 0 0 12px var(--accent-cyan);
}

/* Simulator Right: Live Terminal */
.sim-terminal-pane {
  padding: 2rem;
  background: #040507;
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.terminal-stream {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
  max-height: 380px;
  padding-right: 0.5rem;
}

.terminal-stream::-webkit-scrollbar {
  width: 4px;
}
.terminal-stream::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.log-entry {
  font-size: 0.78rem;
  line-height: 1.5;
  opacity: 0;
  animation: log-appear 0.3s forwards ease;
}

@keyframes log-appear {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.log-time {
  color: var(--text-muted);
  margin-right: 0.5rem;
}

.log-type-alert {
  color: #f43f5e;
  font-weight: 600;
}

.log-type-intercept {
  color: #f59e0b;
  font-weight: 600;
}

.log-type-neutralized {
  color: var(--accent-cyan);
  font-weight: 600;
}

.log-type-hash {
  color: #94a3b8;
  font-size: 0.72rem;
}

.log-type-success {
  color: var(--accent-emerald);
  font-weight: 600;
}

/* ==========================================================================
   INTERACTIVE SOLUTION & READINESS CALCULATOR
   ========================================================================== */
.calculator-box {
  margin-top: 4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 3.5rem;
  backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  position: relative;
  overflow: hidden;
}

.calc-step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calc-pills-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.calc-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0.55rem 1.15rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.calc-pill.selected {
  background: rgba(0, 245, 212, 0.15);
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 245, 212, 0.25);
}

.calc-result-card {
  background: rgba(5, 7, 12, 0.85);
  border: 1px solid rgba(0, 245, 212, 0.3);
  border-radius: 20px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  position: relative;
}

.calc-score-display {
  text-align: center;
  margin: 1.5rem 0;
}

.calc-score-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: -0.02em;
  text-shadow: 0 0 30px rgba(0, 245, 212, 0.5);
}

.calc-score-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.calc-recommendation-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.calc-recommendation-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.calc-recommendation-list li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* ==========================================================================
   THE QUIMERA CONCEPT (Identity & Fusion)
   ========================================================================== */
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 4rem;
}

.concept-visual-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 50%, rgba(157, 78, 221, 0.12), rgba(0, 245, 212, 0.05), transparent 70%);
  padding: 3rem;
  text-align: center;
}

.concept-svg-graphic {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  filter: drop-shadow(0 0 35px rgba(0, 245, 212, 0.3));
}

.concept-traits {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.trait-item {
  display: flex;
  gap: 1.25rem;
}

.trait-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.trait-content h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #fff;
}

.trait-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   COMPLIANCE & ENTERPRISE TRUST
   ========================================================================== */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2.5rem 3rem;
  background: rgba(14, 18, 26, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  margin-top: 4rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  opacity: 0.75;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.trust-badge:hover {
  opacity: 1;
  color: var(--accent-cyan);
}

/* ==========================================================================
   CONTACT DRAWER / MODAL & INCIDENT PROTOCOL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 6, 0.85);
  backdrop-filter: blur(20px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-med);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: min(100%, 640px);
  background: var(--bg-surface);
  border: 1px solid rgba(0, 245, 212, 0.4);
  border-radius: 28px;
  padding: 3rem;
  position: relative;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 245, 212, 0.15);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-med);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(244, 63, 94, 0.2);
  border-color: #f43f5e;
  color: #fff;
}

.modal-header {
  margin-bottom: 2rem;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.modal-header p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.form-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-cyan);
  background: rgba(0, 245, 212, 0.04);
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-submit-btn {
  margin-top: 0.75rem;
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  justify-content: center;
}

/* ==========================================================================
   LANGUAGE SWITCHER (HEADER) - PUNTO 5
   ========================================================================== */
.lang-switch-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0.35rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.lang-switch-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(22, 137, 147, 0.4);
  color: #fff;
}

.lang-text {
  transition: color var(--transition-fast);
}

.lang-text.active {
  color: var(--accent-cyan);
  font-weight: 700;
}

.lang-divider {
  opacity: 0.3;
}

/* ==========================================================================
   FAQ ACCORDION SECTION - PUNTO 3
   ========================================================================== */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: rgba(13, 20, 23, 0.76);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(16px);
}

.faq-item:hover {
  border-color: rgba(22, 137, 147, 0.4);
  transform: translateY(-1px);
}

.faq-item.active {
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(22, 137, 147, 0.15);
  background: rgba(18, 28, 32, 0.9);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 1.75rem;
  background: transparent;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  outline: none;
}

.faq-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.25rem 0.6rem;
  background: rgba(22, 137, 147, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(22, 137, 147, 0.3);
  border-radius: 6px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.faq-title {
  flex: 1;
}

.faq-icon {
  font-size: 1.4rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s var(--ease-fluid), background 0.2s;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: rgba(22, 137, 147, 0.2);
  border-color: var(--accent-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  opacity: 1;
}

.faq-answer-inner {
  padding: 0 1.75rem 1.75rem 1.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 0.25rem;
  padding-top: 1.25rem;
}

.faq-answer-inner p {
  margin-bottom: 0.85rem;
}

.faq-answer-inner p:last-child {
  margin-bottom: 0;
}

.faq-answer-inner strong {
  color: #fff;
}

.faq-answer-inner em {
  color: var(--accent-cyan-bright);
  font-style: normal;
}

/* ==========================================================================
   WHATSAPP BUSINESS DIRECT SOC WIDGET - PUNTO 5
   ========================================================================== */
.whatsapp-floating-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.whatsapp-trigger-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: transform 0.25s var(--ease-fluid), box-shadow 0.25s;
  outline: none;
}

.whatsapp-trigger-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6), 0 0 30px rgba(37, 211, 102, 0.4);
}

.wa-icon-svg {
  transition: transform 0.2s ease;
}

.whatsapp-trigger-btn:hover .wa-icon-svg {
  transform: scale(1.1);
}

.wa-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: wa-pulse 2.2s infinite ease-out;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  60% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.whatsapp-btn-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  background: #f43f5e;
  border: 2px solid #06090a;
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* WhatsApp Popover Card */
.whatsapp-popover {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 340px;
  background: rgba(13, 20, 23, 0.94);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(37, 211, 102, 0.15);
  backdrop-filter: blur(24px) saturate(180%);
  overflow: hidden;
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}

.whatsapp-popover.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whatsapp-popover-header {
  padding: 1.15rem 1.25rem;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.12) 0%, rgba(18, 140, 126, 0.05) 100%);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.whatsapp-popover-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(22, 137, 147, 0.2);
  border: 1px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.wa-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25d366;
  border: 2px solid #06090a;
  box-shadow: 0 0 8px #25d366;
}

.whatsapp-popover-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.whatsapp-popover-sub {
  font-size: 0.75rem;
  color: #25d366;
  font-family: var(--font-mono);
  margin-top: 0.15rem;
}

.whatsapp-popover-close {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem;
  transition: color 0.2s;
}

.whatsapp-popover-close:hover {
  color: #fff;
}

.whatsapp-popover-body {
  padding: 1.25rem;
}

.wa-bubble {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.wa-bubble strong {
  color: #fff;
}

.wa-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.wa-action-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.wa-action-btn:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.4);
  color: #25d366;
  transform: translateX(3px);
}

.wa-action-btn.wa-emergency {
  border-color: rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.08);
}

.wa-action-btn.wa-emergency:hover {
  background: rgba(244, 63, 94, 0.2);
  color: #fb7185;
}

@media (max-width: 768px) {
  .whatsapp-floating-widget {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .whatsapp-popover {
    width: calc(100vw - 2.5rem);
    right: 0;
  }
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
#footer {
  padding: 6rem 0 3rem;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(20px);
}

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

.footer-brand p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 1.25rem 0 1.75rem;
  max-width: 340px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  color: #fff;
}

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

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-clock {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .sim-body {
    grid-template-columns: 1fr;
  }
  .calculator-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
  }
  .concept-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .hero-stats-ticker {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .brand-logo-img {
    height: 44px;
    max-width: 210px;
  }
  .header-inner {
    padding: 0.45rem 1rem;
  }
  .nav-links, .header-status {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .hero-stats-ticker {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
}
