/* ===================================
   VARIABLES - Colores GAMMA
=================================== */
:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-surface: #111111;
  --bg-elevated: #181818;
  --accent: #FFD700;
  --accent-hover: #ffe44d;
  --accent-soft: rgba(255, 215, 0, 0.10);
  --accent-border: rgba(255, 215, 0, 0.25);
  --green: #3fb950;
  --green-soft: rgba(63, 185, 80, 0.15);
  --red: #f85149;
  --red-soft: rgba(248, 81, 73, 0.12);
  --text-primary: #ffffff;
  --text-secondary: #999999;
  --text-muted: #666666;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(255, 215, 0, 0.06);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   RESET
=================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================
   NAVBAR
=================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-brand-text {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, var(--accent), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   HERO
=================================== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 215, 0, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 80% 40% at 80% 20%, rgba(63, 185, 80, 0.04) 0%, transparent 50%),
    var(--bg-primary);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: heroPulse 8s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  0% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===================================
   BUTTONS
=================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 2px 12px rgba(255, 215, 0, 0.2);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 215, 0, 0.35);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ===================================
   SECTION HEADERS
=================================== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ===================================
   MISION & VISION
=================================== */
.mv-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
}

.mv-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.mv-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.mv-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.mv-card:hover::before {
  opacity: 1;
}

.mv-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  color: var(--accent);
  margin-bottom: 20px;
}

.mv-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 10px;
}

.mv-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.mv-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===================================
   PROPUESTA DE VALOR
=================================== */
.propuesta-section {
  padding: 100px 0;
  background: var(--bg-primary);
}

.propuesta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.propuesta-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.propuesta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.propuesta-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.propuesta-card:hover::before {
  opacity: 1;
}

.propuesta-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  color: var(--accent);
  margin-bottom: 20px;
}

.propuesta-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.propuesta-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===================================
   PROBLEMAS QUE RESOLVEMOS
=================================== */
.problemas-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
}

.problemas-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.problemas-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.problemas-content .section-tag {
  margin-bottom: 20px;
}

.problemas-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.problemas-content > p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.problemas-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problema-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: all var(--transition);
}

.problema-item:hover {
  border-color: rgba(248, 81, 73, 0.3);
  background: var(--bg-elevated);
}

.problema-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-soft);
  border-radius: var(--radius-sm);
  color: var(--red);
}

.problema-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.problema-item p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ===================================
   BENEFICIOS
=================================== */
.beneficios-section {
  padding: 100px 0;
  background: var(--bg-primary);
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.beneficio-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.beneficio-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.beneficio-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.1;
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}

.beneficio-check {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-soft);
  border-radius: var(--radius-sm);
  color: var(--green);
  margin-bottom: 20px;
}

.beneficio-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.beneficio-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===================================
   CTA SECTION
=================================== */
.cta-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.cta-box {
  text-align: center;
  padding: 64px 40px;
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-secondary));
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 215, 0, 0.04) 0%, transparent 50%);
  animation: ctaGlow 6s ease-in-out infinite alternate;
}

@keyframes ctaGlow {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 1; }
}

.cta-box h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  position: relative;
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 32px;
  position: relative;
}

.cta-box .btn {
  position: relative;
}

/* ===================================
   FOOTER
=================================== */
.footer {
  background: var(--bg-primary);
  padding: 60px 0 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-brand span {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  color: var(--text-primary);
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ===================================
   SCROLL REVEAL
=================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.mv-card.reveal:nth-child(1) { transition-delay: 0s; }
.mv-card.reveal:nth-child(2) { transition-delay: 0.15s; }

.propuesta-card.reveal:nth-child(1) { transition-delay: 0s; }
.propuesta-card.reveal:nth-child(2) { transition-delay: 0.08s; }
.propuesta-card.reveal:nth-child(3) { transition-delay: 0.16s; }
.propuesta-card.reveal:nth-child(4) { transition-delay: 0.24s; }
.propuesta-card.reveal:nth-child(5) { transition-delay: 0.32s; }

.problema-item.reveal:nth-child(1) { transition-delay: 0s; }
.problema-item.reveal:nth-child(2) { transition-delay: 0.08s; }
.problema-item.reveal:nth-child(3) { transition-delay: 0.16s; }
.problema-item.reveal:nth-child(4) { transition-delay: 0.24s; }
.problema-item.reveal:nth-child(5) { transition-delay: 0.32s; }

.beneficio-card.reveal:nth-child(1) { transition-delay: 0s; }
.beneficio-card.reveal:nth-child(2) { transition-delay: 0.08s; }
.beneficio-card.reveal:nth-child(3) { transition-delay: 0.16s; }
.beneficio-card.reveal:nth-child(4) { transition-delay: 0.24s; }
.beneficio-card.reveal:nth-child(5) { transition-delay: 0.32s; }

/* ===================================
   RESPONSIVE - TABLET (max-width: 1024px)
=================================== */
@media (max-width: 1024px) {
  .propuesta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .beneficios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .problemas-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* ===================================
   RESPONSIVE - MOBILE (max-width: 768px)
=================================== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  /* Sections */
  .mv-section,
  .propuesta-section,
  .problemas-section,
  .beneficios-section,
  .cta-section {
    padding: 64px 0;
  }

  .mv-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .propuesta-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .problemas-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .beneficios-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

/* ===================================
   RESPONSIVE - SMALL MOBILE (max-width: 480px)
=================================== */
@media (max-width: 480px) {
  .hero {
    padding: 90px 16px 48px;
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .hero p {
    font-size: 0.88rem;
  }

  .hero-badge {
    font-size: 0.75rem;
  }

  .mv-card {
    padding: 28px 24px;
  }

  .propuesta-card {
    padding: 24px 20px;
  }

  .beneficio-card {
    padding: 28px 24px;
  }

  .problema-item {
    padding: 16px 18px;
  }
}
