/* ═══════════════════════════════════════════════════════════════
   INNquietus Landing Page - Design System
   Editorial Minimal with Playful Accents
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────
   CSS CUSTOM PROPERTIES (Design Tokens)
   ───────────────────────────────────────────────────────────────── */
:root {
  /* Brand Colors (from 3D puzzle cube logo) */
  --inn-purple: #FF5E00;
  --inn-purple-light: #FF9E00;
  --inn-purple-dark: #cc4a00;
  --inn-orange: #FF5E00;
  --inn-orange-light: #FF9E00;

  /* Light Mode */
  --bg-primary: #FFFFFF;
  --bg-secondary: #FAFAF9;
  --bg-tertiary: #F5F5F4;
  --text-primary: #1A1A2E;
  --text-secondary: #2D2D44;
  --text-muted: #525270;
  --border-color: #E5E5E5;

  /* Gradients - Cambiados a colores sólidos por solicitud */
  --gradient-brand: var(--inn-orange);
  --gradient-hero: radial-gradient(circle at 70% 30%, rgba(255, 94, 0, 0.05) 0%, transparent 70%);

  /* Firm Vibrant Colors (No Gradients) */
  --color-accent-purple: var(--inn-purple);
  --color-accent-orange: var(--inn-orange);
  --bg-accent: var(--inn-purple);

  /* Typography */
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Font Sizes (fluid typography) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-3xl: clamp(2rem, 1.6rem + 2vw, 3rem);
  --text-4xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  --text-5xl: clamp(3rem, 2.5rem + 3vw, 5rem);

  /* Spacing (8px base unit) */
  --space-1: 0.25rem;
  /* 4px */
  --space-2: 0.5rem;
  /* 8px */
  --space-3: 0.75rem;
  /* 12px */
  --space-4: 1rem;
  /* 16px */
  --space-5: 1.25rem;
  /* 20px */
  --space-6: 1.5rem;
  /* 24px */
  --space-8: 2rem;
  /* 32px */
  --space-10: 2.5rem;
  /* 40px */
  --space-12: 3rem;
  /* 48px */
  --space-16: 4rem;
  /* 64px */
  --space-20: 5rem;
  /* 80px */
  --space-24: 6rem;
  /* 96px */
  --space-32: 8rem;
  /* 128px */

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-glow-purple: 0 0 50px rgba(255, 94, 0, 0.5);
  --shadow-glow-orange: 0 0 50px rgba(255, 94, 0, 0.6);

  /* Transitions */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* Z-index scale */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-fixed: 30;
  --z-modal: 50;
  --z-tooltip: 100;
}

/* Dark Mode Variables - Improved contrast with Purple base */
[data-theme="dark"] {
  --bg-primary: #110B19;
  --bg-secondary: #1C122B;
  --bg-tertiary: #27193F;
  --text-primary: #FFFFFF;
  --text-secondary: #D0D0E0;
  --text-muted: #A0A0B8;
  --border-color: #3A3A5A;
  --gradient-hero: transparent;
  --gradient-mesh: none;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
}

/* ─────────────────────────────────────────────────────────────────
   CSS RESET & BASE STYLES
   ───────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ─────────────────────────────────────────────────────────────────
   TYPOGRAPHY
   ───────────────────────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 500;
  /* No negrita */
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

p {
  color: var(--text-secondary);
  max-width: 65ch;
}

a {
  color: var(--inn-purple);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--inn-purple-light);
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--inn-purple);
  outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────────
   LAYOUT UTILITIES
   ───────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-8);
  }
}

.section {
  padding: var(--space-16) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-20) 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: var(--space-24) 0;
  }
}

/* Grid system */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Flexbox utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

/* Text alignment */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

/* ─────────────────────────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 400;
  /* No negrita */
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--inn-purple);
  outline-offset: 2px;
}

/* Primary button with gradient */
.btn-primary {
  background: var(--gradient-brand);
  color: white;
  box-shadow: var(--shadow-md), var(--shadow-glow-purple);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow-purple);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Secondary button (white background with orange border) */
.btn-secondary {
  background: white;
  color: #1A1A2E;
  /* Fixed dark color for visibility on white background */
  border: 2px solid var(--inn-orange);
}

.btn-secondary:hover {
  border-color: var(--inn-purple);
  color: var(--inn-purple);
  background: rgba(255, 94, 0, 0.05);
}

/* Ghost button */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--inn-purple);
  background: rgba(255, 94, 0, 0.08);
}

/* Button sizes */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

.btn-lg {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
}

/* Custom Hero Button Styling */
.hero-cta .btn-primary {
  flex-direction: column;
  text-align: center;
  line-height: 1.2;
  padding: var(--space-6) var(--space-12);
}

.btn-line-1 {
  font-size: 0.9em;
  opacity: 0.9;
}

.btn-line-2 {
  font-size: 1.4em;
  font-weight: 700;
  display: block;
  margin-top: 4px;
}

.animated-text {
  animation: pulse-glow 2s infinite;
  display: inline-block;
}

@keyframes pulse-glow {
  0% {
    transform: scale(1);
    text-shadow: 0 0 0px rgba(255, 255, 255, 0);
  }

  50% {
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  }

  100% {
    transform: scale(1);
    text-shadow: 0 0 0px rgba(255, 255, 255, 0);
  }
}

/* ─────────────────────────────────────────────────────────────────
   CARDS
   ───────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--border-color);
  transition: all var(--duration-normal) var(--ease-out);
}

.card:hover {
  border-color: var(--inn-purple);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Glassmorphism card */
.card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .card-glass {
  background: rgba(26, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Pain Cards Accordion */
.pain-card {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.pain-card .pain-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-4);
  transition: transform var(--duration-normal) var(--ease-out);
}

.pain-card:hover .pain-icon,
.pain-card.active .pain-icon {
  transform: scale(1.1);
  color: var(--inn-purple-light);
}

.pain-card .pain-title {
  text-align: center;
  margin-bottom: 0;
  transition: margin-bottom var(--duration-normal) var(--ease-out), color var(--duration-fast) var(--ease-out);
}

.pain-card.active .pain-title {
  margin-bottom: var(--space-4);
  color: var(--inn-purple);
}

.pain-card .pain-description {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-bottom: 0;
  margin-top: 0;
  text-align: center;
  transition: max-height var(--duration-slow) var(--ease-out), opacity var(--duration-normal) var(--ease-out);
}

.pain-card.active .pain-description {
  max-height: 400px;
  /* large enough for content */
  opacity: 1;
}

/* ─────────────────────────────────────────────────────────────────
   NAVIGATION
   ───────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: var(--space-4);
  left: var(--space-4);
  right: var(--space-4);
  z-index: var(--z-fixed);
  padding: var(--space-4) var(--space-6);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--duration-normal) var(--ease-out);
}

[data-theme="dark"] .navbar {
  background: rgba(15, 15, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--text-primary);
}

.navbar-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.navbar-nav {
  display: none;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

@media (min-width: 768px) {
  .navbar-nav {
    display: flex;
  }
}

@media (max-width: 767px) {
  .navbar-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + var(--space-4));
    left: 0;
    right: 0;
    background: var(--bg-primary);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    gap: var(--space-4);
    z-index: 100;
    animation: slideDown var(--duration-normal) var(--ease-out);
  }

  .navbar-nav.active li {
    width: 100%;
    text-align: center;
  }

  .navbar-nav.active a {
    display: block;
    padding: var(--space-3);
    font-size: var(--text-lg);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar-nav a {
  color: var(--text-primary);
  font-weight: 400;
  /* No negrita */
  transition: color var(--duration-fast) var(--ease-out);
}

.navbar-nav a:hover {
  color: var(--inn-purple);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Theme toggle button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-out);
}

.theme-toggle:hover {
  background: rgba(255, 94, 0, 0.1);
  color: var(--inn-purple);
}

.theme-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile menu button */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle.active {
  color: var(--inn-purple);
  background: rgba(255, 94, 0, 0.1);
  transform: rotate(90deg);
}

/* ─────────────────────────────────────────────────────────────────
   HERO SECTION
   ───────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--space-24);
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 94, 0, 0.1);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--inn-purple);
  margin-bottom: var(--space-6);
}

.hero-title {
  margin-bottom: var(--space-6);
}

.hero-title .highlight {
  color: var(--inn-orange);
}

.hero-tagline {
  font-size: var(--text-2xl);
  font-weight: 400;
  /* No negrita */
  font-family: var(--font-display);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.hero-tagline .accent-purple {
  color: var(--inn-purple);
}

.hero-tagline .accent-orange {
  color: var(--inn-orange);
}

.hero-feature-box {
  background: #FFE600;
  /* Amarillo sólido */
  border-left: 6px solid #FF5E00;
  /* Franja Naranja */
  padding: var(--space-4) var(--space-6);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: var(--space-8);
  max-width: 550px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .hero-feature-box {
  background: #FFE600;
  /* Mismo amarillo sólido en dark mode */
}

.hero-feature-box p {
  color: #000000 !important;
  /* Letras negras sólidas */
  font-weight: 400;
  /* No negrita */
  font-size: var(--text-lg);
  margin-bottom: 0;
  max-width: 100%;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Hero 3D Cube Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-cube {
  width: 300px;
  height: 300px;
  position: relative;
}

@media (min-width: 768px) {
  .hero-cube {
    width: 400px;
    height: 400px;
  }
}

.hero-cube img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(255, 94, 0, 0.3));
}

/* Floating dots decoration */
.hero-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
}

.hero-dot-1 {
  width: 12px;
  height: 12px;
  background: var(--inn-purple);
  top: 20%;
  left: 10%;
}

.hero-dot-2 {
  width: 8px;
  height: 8px;
  background: var(--inn-orange-light);
  top: 60%;
  right: 15%;
}

.hero-dot-3 {
  width: 16px;
  height: 16px;
  background: var(--inn-orange);
  bottom: 20%;
  left: 20%;
}

/* ─────────────────────────────────────────────────────────────────
   SECTION STYLES
   ───────────────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--inn-purple);
  margin-bottom: var(--space-4);
}

.section-title {
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
}

/* Dark section variant */
.section-dark {
  background: var(--bg-secondary);
}

[data-theme="dark"] .section-dark {
  background: var(--bg-tertiary);
}

/* ─────────────────────────────────────────────────────────────────
   PAIN POINTS SECTION
   ───────────────────────────────────────────────────────────────── */
.pain-card {
  text-align: center;
  padding: var(--space-10);
}

.pain-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: rgba(255, 94, 0, 0.1);
  color: var(--inn-purple);
}

.pain-icon svg {
  width: 32px;
  height: 32px;
}

.pain-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.pain-description {
  font-size: var(--text-lg);
  color: var(--text-primary);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────
   DNA TEST SECTION
   ───────────────────────────────────────────────────────────────── */
.test-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.test-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
}

.test-progress {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.test-progress-step {
  flex: 1;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--border-color);
  transition: background var(--duration-normal) var(--ease-out);
}

.test-progress-step.active {
  background: var(--gradient-brand);
}

.test-progress-step.completed {
  background: var(--inn-purple);
}

.test-question {
  display: none;
}

.test-question.active {
  display: block;
}

.test-question-text {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-8);
  text-align: center;
  color: var(--text-primary);
}

.test-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.test-option {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--bg-tertiary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.test-option:hover {
  border-color: var(--inn-purple-light);
  background: rgba(255, 94, 0, 0.15);
}

.test-option.selected {
  border-color: var(--inn-purple);
  background: rgba(255, 94, 0, 0.1);
}

.test-option-marker {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration-fast) var(--ease-out);
}

.test-option.selected .test-option-marker {
  border-color: var(--inn-purple);
  background: var(--inn-purple);
}

.test-option.selected .test-option-marker::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

.test-option-text {
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--text-primary);
}

.test-nav {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-8);
}

/* Test Results */
.test-result {
  display: none;
  text-align: center;
}

.test-result.active {
  display: block;
}

.test-result-icon {
  width: auto;
  height: auto;
  margin: 0 auto var(--space-6);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.test-result-icon svg {
  width: 48px;
  height: 48px;
  color: white;
}

.test-result-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.test-result-description {
  font-size: var(--text-lg);
  max-width: 500px;
  margin: 0 auto var(--space-8);
}

/* Mascotas del Test */
.test-mascot {
  width: 140px;
  height: auto;
  margin: 0 auto 1.5rem auto;
  display: block;
}

.animated-mascot {
  animation: floatMascot 4s ease-in-out infinite;
  filter: drop-shadow(0 15px 15px rgba(255, 94, 0, 0.3));
}

@keyframes floatMascot {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px) rotate(2deg);
  }

  100% {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .test-mascot {
    width: 100px;
    margin-bottom: 1rem;
  }
}

/* ─────────────────────────────────────────────────────────────────
   VALUE PROPOSITION SECTION
   ───────────────────────────────────────────────────────────────── */
.value-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .value-content {
    grid-template-columns: 1fr 1fr;
  }
}

.value-statement {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.3;
}

.value-statement .emphasis {
  color: var(--inn-purple);
}

.value-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.value-point {
  display: flex;
  gap: var(--space-4);
}

.value-point-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.value-point-content h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.value-point-content p {
  font-size: var(--text-base);
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────────────────────────
   SERVICES / BENTO GRID
   ───────────────────────────────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  gap: 0;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  /* Row 1: 2 items */
  .bento-item:nth-child(1),
  .bento-item:nth-child(2) {
    grid-column: span 3;
  }

  /* Row 2: 3 items */
  .bento-item:nth-child(3),
  .bento-item:nth-child(4),
  .bento-item:nth-child(5) {
    grid-column: span 2;
  }
}

.bento-item {
  padding: var(--space-10);
  background: var(--bg-secondary);
  border-bottom: 2px solid var(--border-color);
  border-right: 2px solid var(--border-color);
  transition: all var(--duration-normal) var(--ease-spring);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.bento-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--inn-orange);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  z-index: -1;
}

.bento-item:hover {
  transform: scale(1.02);
  z-index: 10;
  box-shadow: 0 0 40px rgba(255, 94, 0, 0.5);
  /* Brillo fosforescente */
  border-color: var(--inn-orange);
}

.bento-item:hover .bento-title,
.bento-item:hover .bento-description {
  color: white;
}

.bento-item:hover::after {
  opacity: 1;
}

.bento-item:hover .bento-icon {
  background: rgba(255, 255, 255, 0.3);
  color: white;
}

.bento-item:hover .bento-icon img {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

/* Specific items with firm accent backgrounds if preferred, or just very vibrant on hover */
.bento-item:nth-child(2) {
  border-right: none;
}

.bento-item:nth-child(odd) {
  border-left: 1px solid var(--border-color);
}


/* Border logic for a clean unified block on Desktop (2 top, 3 bottom) */
@media (min-width: 1024px) {

  /* Reset previous rules if any */
  .bento-item {
    border-right: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
  }

  /* Vertical borders: Remove from last item of each row */
  .bento-item:nth-child(2),
  .bento-item:nth-child(5) {
    border-right: none;
  }

  /* Horizontal borders: Remove from all items in the last row */
  .bento-item:nth-child(3),
  .bento-item:nth-child(4),
  .bento-item:nth-child(5) {
    border-bottom: none;
  }
}

/* Border logic for Tablet (2 columns) */
@media (min-width: 768px) and (max-width: 1023px) {
  .bento-item:nth-child(2n) {
    border-right: none;
  }

  .bento-item:nth-child(5) {
    border-bottom: none;
    border-right: none;
  }
}

.bento-icon {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-icon.purple {
  background: rgba(255, 94, 0, 0.25);
  color: var(--inn-orange);
}

.bento-icon.orange {
  background: rgba(255, 94, 0, 0.25);
  color: var(--inn-orange);
}

.bento-icon svg {
  width: 28px;
  height: 28px;
}

.bento-icon img {
  width: 130%;
  height: auto;
  object-fit: contain;
  margin-top: -25px;
  z-index: 2;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
  transition: all var(--duration-normal) var(--ease-spring);
  animation: bento-float 4s ease-in-out infinite;
}

.bento-item:nth-child(2) .bento-icon img {
  animation-delay: 0.7s;
}

.bento-item:nth-child(3) .bento-icon img {
  animation-delay: 1.4s;
}

.bento-item:nth-child(4) .bento-icon img {
  animation-delay: 2.1s;
}

.bento-item:nth-child(5) .bento-icon img {
  animation-delay: 2.8s;
}

.bento-item:hover .bento-icon img {
  transform: scale(1.2) translateY(-10px) rotate(5deg);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
}

@keyframes bento-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.bento-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.bento-description {
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────────────────────────
   TESTIMONIALS
   ───────────────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

.testimonial-quote {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.testimonial-info h5 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.testimonial-info p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────────────────────────
   HOW IT WORKS (STEPS)
   ───────────────────────────────────────────────────────────────── */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  position: relative;
}

@media (min-width: 768px) {
  .steps-container {
    flex-direction: row;
    gap: var(--space-8);
  }

  .steps-container::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
  }
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  transition: all var(--duration-normal) var(--ease-out);
}

.step:hover .step-number {
  background: var(--gradient-brand);
  border-color: transparent;
  color: white;
  transform: scale(1.1);
}

.step-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.step-description {
  font-size: var(--text-base);
  color: var(--text-muted);
  max-width: 280px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────────────────────────────
   FAQ ACCORDION
   ───────────────────────────────────────────────────────────────── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: var(--space-5) var(--space-6);
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--duration-fast) var(--ease-out);
}

.faq-question:hover {
  color: var(--inn-purple);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-out);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────────
   FINAL CTA SECTION
   ───────────────────────────────────────────────────────────────── */
.cta-section {
  background: var(--inn-orange);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-20) 0;
  background-size: 200% 200%;
  animation: ctaBgGradient 10s ease infinite;
}

@keyframes ctaBgGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: white;
  margin-bottom: var(--space-6);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-xl);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

.cta-section .btn-primary {
  background: white;
  color: var(--inn-orange);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  animation: btnPulseCta 2s infinite;
  display: inline-flex;
  margin: var(--space-4) 0;
}

.cta-section .btn-primary:hover {
  background: var(--bg-primary);
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}

@keyframes btnPulseCta {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.cta-tagline {
  font-weight: 700;
  display: block;
  margin-bottom: var(--space-2);
}

.cta-subtext {
  font-size: 0.9em;
  opacity: 0.9;
  display: block;
}

/* ─────────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-secondary);
  padding: var(--space-12) 0 var(--space-8);
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.footer-logo img {
  width: 32px;
  height: 32px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.footer-links h6 {
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  color: var(--text-muted);
  font-size: var(--text-sm);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-links a:hover {
  color: var(--inn-purple);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-color);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.footer-social {
  display: flex;
  gap: var(--space-4);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer-social a:hover {
  background: var(--inn-purple);
  color: white;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

/* ─────────────────────────────────────────────────────────────────
   ANIMATIONS - Content always visible by default
   ───────────────────────────────────────────────────────────────── */
/* All content visible by default - no hidden states */
.reveal,
.reveal>*,
.stagger-children,
.stagger-children>* {
  opacity: 1 !important;
  transform: translateY(0) !important;
  visibility: visible !important;
}

/* GSAP will apply inline styles which override these when animating */

/* Floating animation for hero cube */
@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.float {
  animation: float 6s ease-in-out infinite;
}

/* Pulse glow */
@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 94, 0, 0.4);
  }

  50% {
    box-shadow: 0 0 40px rgba(255, 94, 0, 0.6);
  }
}

.pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* ─────────────────────────────────────────────────────────────────
   UTILITIES
   ───────────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }
}