/* ===== RESET Y VARIABLES ===== */
:root {
  /* Colores principales */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary: #7e22ce;
  --secondary-dark: #6b21a8;
  --accent: #06b6d4;
  --accent-dark: #0891b2;

  /* Escala de grises */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Colores semánticos */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Tipografía */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /* Espaciado */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Bordes y sombras */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Transiciones */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Fix para navegación con header fijo */
section[id],
#inicio,
#servicios,
#faq,
#sobre-mi,
#contacto,
#testimonios {
  scroll-margin-top: 100px;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: #cbd5e1;
  background-color: #0f172a;
  overflow-x: hidden;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ===== COMPONENTES ===== */

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border: none;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  font-size: var(--font-size-sm);
  text-align: center;
  justify-content: center;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn--secondary {
  background: white;
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #128C7E, #25D366);
}

.btn--large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-base);
}

/* Títulos de sección */
.section__title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-12);
  color: #f8fafc;
  position: relative;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
}

/* Texto con gradiente */
.text--gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #1e293b;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #334155;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
}

.logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: var(--radius);
}

.nav__logo h2 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: var(--space-1);
}

.nav__logo span {
  font-size: var(--font-size-sm);
  color: #94a3b8;
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: var(--space-8);
  align-items: center;
}

.nav__menu a {
  text-decoration: none;
  color: #cbd5e1;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav__menu a:hover {
  color: #60a5fa;
}

.nav__menu a::after {
  content: '';
  position: absolute;
  bottom: -var(--space-1);
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav__menu a:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav__toggle span {
  width: 25px;
  height: 3px;
  background: var(--gray-700);
  margin: 3px 0;
  transition: var(--transition);
  border-radius: var(--radius);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 120px 0 80px;
  background: #0f172a;
  position: relative;
  overflow: hidden;
}

.hero-tech-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background:
    linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)),
    linear-gradient(90deg, rgba(37, 99, 235, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px);
  background-size: 100% 100%, 50px 50px, 50px 50px;
  animation: tech-grid-move 20s linear infinite;
  pointer-events: none;
}

@keyframes tech-grid-move {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }

  100% {
    background-position: 0 0, 50px 50px, 50px 50px;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero__title {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  line-height: 1.1;
  color: #f8fafc;
  margin-bottom: var(--space-6);
}

.hero__description {
  font-size: var(--font-size-lg);
  color: #cbd5e1;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: var(--space-8);
}

.stat {
  text-align: center;
}

.stat__number {
  display: inline;
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--primary);
}

.stat__symbol {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--primary);
}

.stat__label {
  display: block;
  font-size: var(--font-size-sm);
  color: #94a3b8;
  font-weight: 500;
  margin-top: var(--space-1);
}

.hero__visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card {
  position: absolute;
  background: white;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 600;
  color: var(--gray-700);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.floating-card i {
  font-size: var(--font-size-xl);
}

.floating-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-xl);
}

.card--ai {
  top: 20%;
  left: 10%;
  animation: float 3s ease-in-out infinite;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.card--automation {
  top: 50%;
  right: 10%;
  animation: float 3s ease-in-out infinite 1s;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.card--analytics {
  bottom: 20%;
  left: 30%;
  animation: float 3s ease-in-out infinite 2s;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: var(--space-20) 0;
  background: #0f172a;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
}

.service__card {
  background: #1e293b;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid #334155;
  transition: var(--transition);
  text-align: center;
}

.service__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: #60a5fa;
}

.service__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--font-size-3xl);
}

.service__card h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: var(--space-4);
}

.service__card ul {
  list-style: none;
  text-align: left;
}

.service__card li {
  padding: var(--space-2) 0;
  color: #cbd5e1;
  position: relative;
  padding-left: var(--space-4);
}

.service__card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

/* ===== PROJECTS SECTION - VERSIÓN MEJORADA Y PROFESIONAL ===== */
.projects {
  padding: var(--space-20) 0;
  background: #0f172a;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.project__card {
  background: #1e293b;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid #334155;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.project__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-color: #475569;
}

.project__card--featured {
  background: linear-gradient(145deg, #1e293b 0%, #2d3748 100%);
  border: 1px solid #60a5fa;
  box-shadow: 0 4px 16px rgba(96, 165, 250, 0.15);
}

.project__card--featured:hover {
  box-shadow: 0 8px 28px rgba(96, 165, 250, 0.25);
  border-color: #60a5fa;
}

.project__badge {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
}

.project__badge--gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1a1a1a;
}

.project__badge--gold i {
  color: #fbbf24;
}

.project__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-5);
  gap: var(--space-4);
}

.project__header h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: #f8fafc;
  flex: 1;
  line-height: 1.3;
}

.project__status {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.project__status.status--completed {
  background: #10b981;
  color: white;
}

.project__status.status--active {
  background: #22c55e;
  color: white;
}

.project__status.status--development {
  background: #f59e0b;
  color: white;
}

.project__card p {
  color: #cbd5e1;
  margin-bottom: var(--space-6);
  flex: 1;
  line-height: 1.7;
  font-size: var(--font-size-base);
}

.project__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  background: rgba(15, 23, 42, 0.5);
  border-radius: var(--radius);
  border: 1px solid #334155;
}

.metric {
  text-align: center;
  padding: var(--space-2);
}

.metric strong {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: #60a5fa;
  margin-bottom: var(--space-1);
  line-height: 1;
}

.metric span {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.project__tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.tech-tag {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.tech-tag:nth-child(1) {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.3);
}

.tech-tag:nth-child(2) {
  background: rgba(168, 85, 247, 0.1);
  color: #a78bfa;
  border-color: rgba(168, 85, 247, 0.3);
}

.tech-tag:nth-child(3) {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.tech-tag:nth-child(4) {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
}

.tech-tag:nth-child(5) {
  background: rgba(6, 182, 212, 0.1);
  color: #22d3ee;
  border-color: rgba(6, 182, 212, 0.3);
}

.tech-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.project__services {
  margin-bottom: var(--space-6);
  padding: var(--space-5);
  background: rgba(15, 23, 42, 0.3);
  border-radius: var(--radius);
  border-left: 3px solid #60a5fa;
}

.project__services h4 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: var(--space-4);
}

.services-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.services-list li {
  padding: var(--space-2) 0;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  transition: all 0.2s ease;
}

.services-list li:hover {
  color: #e2e8f0;
  padding-left: var(--space-2);
}

.services-list i {
  color: #10b981;
  font-size: var(--font-size-sm);
  min-width: 16px;
}

.project__links {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: auto;
}

.project__links .btn {
  flex: 1;
  min-width: 150px;
  justify-content: center;
  font-weight: 600;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.project__card {
  animation: fadeInUp 0.5s ease-out backwards;
}

.project__card:nth-child(1) {
  animation-delay: 0.1s;
}

.project__card:nth-child(2) {
  animation-delay: 0.15s;
}

.project__card:nth-child(3) {
  animation-delay: 0.2s;
}

.project__card:nth-child(4) {
  animation-delay: 0.25s;
}

.project__card:nth-child(5) {
  animation-delay: 0.3s;
}

/* ===== DEMOS FUNCIONALES SECTION - VERSIÓN MEJORADA ===== */
.demos {
  padding: var(--space-20) 0;
  background: #0f172a;
}

.demos__subtitle {
  text-align: center;
  font-size: var(--font-size-lg);
  color: #cbd5e1;
  max-width: 800px;
  margin: 0 auto var(--space-16);
  line-height: 1.7;
}

.demos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.demo__card {
  background: #1e293b;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid #334155;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.demo__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: #60a5fa;
}

.demo__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 20;
  box-shadow: var(--shadow-lg);
  letter-spacing: 0.5px;
}

.demo__badge--priority {
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  color: white;
  animation: pulse 2s ease-in-out infinite;
}

/* Imagen con overlay mejorado */
.demo__image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.demo__image::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

/* Imágenes reales */
.demo__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  z-index: 1;
}

.demo__image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(37, 99, 235, 0.3) 0%,
      rgba(126, 34, 206, 0.5) 100%);
  opacity: 0.7;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.demo__card:hover .demo__image img {
  transform: scale(1.1);
}

.demo__card:hover .demo__image-overlay {
  opacity: 0.5;
}

/* Ícono fallback para demos sin imagen */
.demo__image i {
  font-size: 5rem;
  color: white;
  opacity: 0.9;
  z-index: 1;
}

/* Contenido organizado */
.demo__content {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1;
}

/* Título con mejor alineación */
.demo__content h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Descripción */
.demo__description {
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
  font-size: var(--font-size-sm);
  flex: 1;
}

/* Features en grid ordenado */
.demo__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-2);
  margin: 0;
}

.demo__feature {
  background: rgba(96, 165, 250, 0.1);
  color: #60a5fa;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(96, 165, 250, 0.2);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.2s ease;
}

.demo__feature:hover {
  background: rgba(96, 165, 250, 0.15);
  transform: translateY(-1px);
}

/* Precio organizado */
.demo__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  padding: var(--space-4) 0;
  border-top: 1px solid #334155;
}

.demo__price-label {
  color: #94a3b8;
  font-size: var(--font-size-sm);
}

.demo__price-value {
  color: #60a5fa;
  font-size: var(--font-size-2xl);
  font-weight: 700;
}

/* Botones balanceados */
.demo__buttons {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-3);
  margin-top: auto;
}

.demo__buttons .btn {
  justify-content: center;
  font-size: var(--font-size-sm);
  padding: var(--space-3) var(--space-4);
  font-weight: 600;
}

/* CTA final */
.demos__cta {
  background: linear-gradient(135deg, #1e293b, #334155);
  border: 2px solid #60a5fa;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
}

.demos__cta-text {
  color: #f8fafc;
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

/* Animaciones */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: var(--space-20) 0;
  background: #0f172a;
}

.about__content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.about__text p {
  font-size: var(--font-size-lg);
  color: #cbd5e1;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.feature i {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--font-size-xl);
  flex-shrink: 0;
}

.feature h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: var(--space-1);
}

.feature p {
  font-size: var(--font-size-base);
  color: #94a3b8;
  margin: 0;
}

.about__cta {
  margin-top: var(--space-8);
}

.certification__card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.certification__card i {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-4);
}

.certification__card h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.certification__card ul {
  list-style: none;
  text-align: left;
}

.certification__card li {
  padding: var(--space-2) 0;
  position: relative;
  padding-left: var(--space-4);
}

.certification__card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: white;
  font-weight: bold;
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: var(--space-20) 0;
  background: #1e293b;
}

.contact__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.contact__method {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
}

.contact__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--font-size-xl);
  flex-shrink: 0;
}

.contact__details h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: var(--space-2);
}

.contact__details p {
  color: #94a3b8;
  margin-bottom: var(--space-4);
}

.contact__message h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #1e293b;
  margin-bottom: var(--space-4);
}

.message-box {
  background: white;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.message-box p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.benefit {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--gray-600);
}

.benefit i {
  color: var(--success);
  width: 20px;
}

/* ===== FOOTER ===== */
.footer {
  background: #0f172a;
  color: #f8fafc;
  padding: var(--space-12) 0 var(--space-8);
  border-top: 1px solid #334155;
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  margin-bottom: var(--space-8);
}

.footer__brand h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: #f8fafc;
}

.footer__brand p {
  color: #cbd5e1;
  margin-bottom: var(--space-6);
  font-size: var(--font-size-base);
}

.footer__social {
  display: flex;
  gap: var(--space-4);
}

.footer__social a {
  width: 40px;
  height: 40px;
  background: #334155;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f8fafc;
  text-decoration: none;
  transition: var(--transition);
}

.footer__social a:hover {
  background: #60a5fa;
  transform: translateY(-2px);
}

.footer__quote blockquote {
  font-size: var(--font-size-lg);
  font-style: italic;
  color: #cbd5e1;
  margin-bottom: var(--space-4);
  line-height: 1.6;
  border-left: 4px solid #60a5fa;
  padding-left: var(--space-4);
}

.footer__quote p {
  color: #94a3b8;
  text-align: right;
  font-weight: 500;
}

.footer__bottom {
  border-top: 1px solid #334155;
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  color: #94a3b8;
  font-size: var(--font-size-sm);
}

.footer__bottom p {
  color: #94a3b8;
  font-size: var(--font-size-sm);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: var(--radius);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/* ===== DEMOS - IMÁGENES REALES ===== */
.demo__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.demo__image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(37, 99, 235, 0.3) 0%,
      rgba(243, 243, 243, 0.5) 100%);
  opacity: 0.7;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.demo__card:hover .demo__image img {
  transform: scale(1.1);
}

.demo__card:hover .demo__image-overlay {
  opacity: 0.5;
}

/* Asegurar que el badge esté encima */
.demo__badge {
  z-index: 20;
}

/* ===== BADGES MEJORADOS - MÁXIMO CONTRASTE ===== */
.demo__badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-lg);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 10;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.6),
    0 4px 10px rgba(0, 0, 0, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

/* Badge NUEVO - Rojo con texto BLANCO visible */
.demo__badge--nuevo {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  animation: pulse 2s ease-in-out infinite;
}

/* Badge PRÓXIMAMENTE - Azul con texto BLANCO FUERTE */
.demo__badge--proximamente {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.9),
    0 0 10px rgba(0, 0, 0, 0.5);
}

/* Animación pulse mejorada */
@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 8px 20px rgba(0, 0, 0, 0.6),
      0 4px 10px rgba(0, 0, 0, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow:
      0 12px 30px rgba(220, 38, 38, 0.5),
      0 6px 15px rgba(0, 0, 0, 0.5);
  }
}

/* CORRECCIÓN: Botones demos sin cortes */
.demo__buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
}

.demo__buttons .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.75rem;
  padding: 0.75rem 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  min-width: 0;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo__buttons .btn i {
  font-size: 0.85rem;
  margin-right: 0.35rem;
}

/* Ajustes responsive */
@media (max-width: 768px) {
  .demo__buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .demo__buttons .btn {
    width: 100%;
  }
}

/* Mejorar features tags */
.demo__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.demo__feature {
  background: rgba(37, 99, 235, 0.1);
  color: #3b82f6;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

/* ===== DEMOS PREMIUM - ESTILOS ADICIONALES ===== */

/* Breadcrumb - VERSIÓN MEJORADA */
.breadcrumb {
  padding: var(--space-4) 0;
  background: rgba(30, 41, 59, 0.9);
  border-bottom: 2px solid #60a5fa;
  margin-bottom: var(--space-6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumb__item a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: var(--font-size-base);
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumb__item a:hover {
  color: #60a5fa;
}

.breadcrumb__item--active {
  color: #60a5fa;
  font-weight: 700;
  font-size: var(--font-size-base);
}

.breadcrumb__separator {
  color: #60a5fa;
  font-size: 0.85rem;
}

/* Logo clickeable */
.logo-container {
  text-decoration: none;
  cursor: pointer;
}

/* Link activo en navegación */
.nav__menu a.active {
  color: #60a5fa;
}

.nav__menu a.active::after {
  width: 100%;
}

/* Demos Grid - 4 columnas forzado */
.demos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

/* Cards de demos mejoradas */
.demo__card {
  background: #1e293b;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid #334155;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Demo ACTIVO - Glow effect */
.demo__card--active {
  border: 2px solid #60a5fa;
  box-shadow: 0 4px 20px rgba(96, 165, 250, 0.3),
    0 0 40px rgba(96, 165, 250, 0.1);
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.3),
      0 0 40px rgba(96, 165, 250, 0.1);
  }

  50% {
    box-shadow: 0 8px 30px rgba(96, 165, 250, 0.4),
      0 0 60px rgba(96, 165, 250, 0.15);
  }
}

.demo__card--active:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(96, 165, 250, 0.4),
    0 0 80px rgba(96, 165, 250, 0.2);
}

/* Demo PRÓXIMO - Overlay */
.demo__card--coming-soon {
  position: relative;
}

.demo__coming-soon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(3px);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.demo__card--coming-soon:hover .demo__coming-soon-overlay {
  opacity: 1;
}

.coming-soon-content {
  text-align: center;
  color: #60a5fa;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.coming-soon-content i {
  font-size: 3rem;
  animation: float 2s ease-in-out infinite;
}

.demo__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-color: #475569;
}

/* Badges mejorados */
.demo__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6),
    0 4px 10px rgba(0, 0, 0, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.demo__badge--nuevo {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  animation: badgePulse 2s ease-in-out infinite;
}

.demo__badge--proximamente {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9),
    0 0 10px rgba(0, 0, 0, 0.5);
}

@keyframes badgePulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6),
      0 4px 10px rgba(0, 0, 0, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.5),
      0 6px 15px rgba(0, 0, 0, 0.5);
  }
}

/* Imagen con wrapper */
.demo__image-wrapper {
  position: relative;
  overflow: hidden;
}

.demo__image {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.demo__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.demo__image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(37, 99, 235, 0.3) 0%,
      rgba(126, 34, 206, 0.4) 100%);
  opacity: 0.7;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.demo__card:hover .demo__image img {
  transform: scale(1.1);
}

.demo__card:hover .demo__image-overlay {
  opacity: 0.5;
}

/* Contenido */
.demo__content {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1;
}

.demo__content h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  line-height: 1.3;
}

/* Meta info (tiempo + sector) */
.demo__meta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.demo__meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8rem;
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.demo__meta-item i {
  color: #60a5fa;
}

/* Descripción */
.demo__description {
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
  font-size: 0.9rem;
  flex: 1;
}

/* Features */
.demo__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.demo__feature {
  background: rgba(96, 165, 250, 0.1);
  color: #60a5fa;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(96, 165, 250, 0.2);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.demo__feature:hover {
  background: rgba(96, 165, 250, 0.15);
  transform: translateY(-1px);
}

/* Tech Stack */
.demo__tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-3) 0;
  border-top: 1px solid #334155;
  border-bottom: 1px solid #334155;
}

.tech-badge {
  background: rgba(168, 85, 247, 0.1);
  color: #a78bfa;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid rgba(168, 85, 247, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Stats (contador de interesados) */
.demo__stats {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.demo__stat {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: #94a3b8;
  font-size: 0.85rem;
}

.demo__stat i {
  color: #60a5fa;
}

.interested-count {
  font-weight: 700;
  color: #60a5fa;
}

/* Botones */
.demo__buttons {
  display: flex;
  gap: var(--space-3);
  margin-top: auto;
}

.demo__buttons .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.85rem;
  padding: var(--space-3) var(--space-4);
  font-weight: 600;
}

.demo__btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  position: relative;
  overflow: hidden;
}

.demo__btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: left 0.5s;
}

.demo__btn-primary:hover::before {
  left: 100%;
}

.demo__btn-notify:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* CTA Final mejorado */
.demos__cta {
  background: linear-gradient(135deg, #1e293b, #334155);
  border: 2px solid #60a5fa;
  border-radius: var(--radius-lg);
  padding: var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.demos__cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
      rgba(96, 165, 250, 0.1) 0%,
      transparent 70%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

.cta__icon {
  font-size: 3rem;
  color: #fbbf24;
  margin-bottom: var(--space-4);
  animation: float 3s ease-in-out infinite;
}

.cta__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.cta__text {
  color: #cbd5e1;
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-6);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(5px);
}

.modal__content {
  position: relative;
  background: #1e293b;
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid #334155;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

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

.modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: var(--font-size-xl);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.modal__close:hover {
  background: rgba(148, 163, 184, 0.1);
  color: #f8fafc;
}

.modal__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  font-size: 2rem;
  color: white;
}

.modal__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: #f8fafc;
  text-align: center;
  margin-bottom: var(--space-3);
}

.modal__subtitle {
  color: #94a3b8;
  text-align: center;
  margin-bottom: var(--space-8);
}

.notify-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  color: #cbd5e1;
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.form-group input {
  padding: var(--space-3);
  border-radius: var(--radius);
  border: 1px solid #334155;
  background: #0f172a;
  color: #f8fafc;
  font-size: var(--font-size-base);
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.form-group input::placeholder {
  color: #475569;
}

.btn--block {
  width: 100%;
}

.success-message {
  text-align: center;
  padding: var(--space-6);
  background: rgba(34, 197, 94, 0.1);
  border-radius: var(--radius);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.success-message i {
  font-size: 3rem;
  color: #22c55e;
  margin-bottom: var(--space-4);
  display: block;
}

.success-message p {
  color: #f8fafc;
  font-size: var(--font-size-lg);
  margin: 0;
}

/* Footer simplificado */
.footer--simple {
  padding: var(--space-10) 0 var(--space-6);
}

.footer__simple-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-8);
  border-bottom: 1px solid #334155;
  margin-bottom: var(--space-6);
}

.footer__brand-simple h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: var(--space-2);
}

.footer__brand-simple p {
  color: #94a3b8;
  font-size: var(--font-size-sm);
}

.footer__links-simple {
  display: flex;
  gap: var(--space-6);
}

.footer__link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: #cbd5e1;
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: var(--transition);
}

.footer__link:hover {
  color: #60a5fa;
}

.footer__link i {
  font-size: var(--font-size-base);
}

/* Teaser de Proyectos en Index (5 tarjetas) */
.projects__subtitle {
  text-align: center;
  color: var(--gray-400);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.projects__teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.teaser__card {
  background: var(--gray-800);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  position: relative;
}

.teaser__card:hover {
  transform: translateY(-10px);
}

.teaser__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 2;
}

.teaser__badge--completado {
  background: #22c55e;
  color: white;
}

.teaser__badge--activo {
  background: #3b82f6;
  color: white;
}

.teaser__badge--desarrollo {
  background: #f59e0b;
  color: white;
}

.teaser__image img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.teaser__content {
  padding: 1.2rem;
  text-align: center;
}

.teaser__content h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.teaser__content p {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.teaser__metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: #60a5fa;
  font-weight: bold;
}

.btn--small {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.projects__cta-teaser {
  text-align: center;
  margin-top: 2rem;
}

/* FAQ Acordeón - Estilos completos */
.faq__item {
  background: var(--gray-800);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
}

.faq__question {
  padding: 1.5rem;
  background: var(--gray-700);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
  user-select: none;
}

.faq__question:hover {
  background: var(--gray-600);
}

.faq__question h4 {
  color: white;
  font-size: 1.1rem;
  margin: 0;
}

.faq__question i {
  color: var(--primary);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq__item.active .faq__question i {
  transform: rotate(180deg);
}

.faq__answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item.active .faq__answer {
  padding: 1.5rem;
  max-height: 500px;
  /* Ajusta si tienes respuestas muy largas */
}

.faq__answer p {
  color: var(--gray-300);
  margin: 0;
}

.faq__answer a {
  color: var(--primary);
  text-decoration: underline;
}

/* CTA de la FAQ */
.faq__cta {
  text-align: center;
  margin-top: 3rem;
}

.faq__cta p {
  color: var(--gray-400);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* ===== BOTÓN FLOTANTE DE WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-float__btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float__tooltip {
  background: #1e293b;
  color: #f8fafc;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float__btn {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }

  .whatsapp-float__tooltip {
    display: none;
  }
}

/* ===== CTA URGENCIA ===== */
.hero__urgency {
  margin-top: 1.5rem;
  color: #cbd5e1;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__urgency i {
  color: #f59e0b;
  animation: pulse-fire 2s infinite;
}

@keyframes pulse-fire {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  z-index: 10001;
  transition: width 0.1s;
}

/* ===== TECH STACK CAROUSEL ===== */
.tech-stack-section {
  background: #0f172a;
  padding: 2.5rem 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
}

.tech-stack-section::before,
.tech-stack-section::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.tech-stack-section::before {
  left: 0;
  background: linear-gradient(to right, #0f172a, transparent);
}

.tech-stack-section::after {
  right: 0;
  background: linear-gradient(to left, #0f172a, transparent);
}

.tech-track {
  display: flex;
  width: calc(200px * 16);
  animation: scroll 40s linear infinite;
}

.tech-track:hover {
  animation-play-state: paused;
}

.slide {
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-size: 1.1rem;
  color: #94a3b8;
  font-weight: 500;
  transition: color 0.3s;
}

.slide:hover {
  color: white;
}

.slide i {
  font-size: 1.5rem;
  color: #60a5fa;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-200px * 8));
  }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 37px;
  width: 45px;
  height: 45px;
  background: #1e293b;
  border: 1px solid #334155;
  color: #cbd5e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 9990;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-3px);
  border-color: #3b82f6;
}

@media (max-width: 768px) {
  .back-to-top {
    right: 27px;
    bottom: 85px;
    width: 40px;
    height: 40px;
  }
}