/* ==========================================================================
   HUMM MAKERS - Landing Page CSS System (Rediseño Estética Pizarra)
   Concepto: Pizarrón de sala de clases + Tecnología Escolar
   ========================================================================== */

/* 1. FUENTES E IMPORTACIONES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&display=swap');

/* 2. VARIABLES DE DISEÑO (PIZARRA + TECNOLOGÍA)
   ========================================================================== */
:root {
  /* Colores Pizarra */
  --board-bg: hsl(165, 22%, 11%);          /* Verde pizarra oscuro base */
  --board-bg-dark: hsl(165, 26%, 8%);      /* Verde pizarra aún más oscuro */
  --board-grid: rgba(255, 255, 255, 0.04); /* Líneas cuadrícula pizarra sutil */
  
  /* Colores Tiza (Chalk Colors) */
  --chalk-white: hsl(0, 0%, 94%);          /* Tiza blanca */
  --chalk-white-dust: rgba(240, 240, 240, 0.6);
  --chalk-celeste: hsl(190, 85%, 70%);     /* Tiza celeste tech */
  --chalk-celeste-light: hsl(190, 90%, 85%);
  --chalk-red: hsl(354, 85%, 65%);         /* Tiza roja Humm */
  --chalk-red-hover: hsl(354, 90%, 58%);
  --chalk-yellow: hsl(48, 90%, 65%);       /* Tiza amarilla alerta/logros */
  --chalk-gray: hsl(165, 10%, 45%);        /* Tiza gastada / texto secundario */

  /* Sombras estilo tiza */
  --chalk-shadow: 0 0 6px rgba(240, 240, 240, 0.15);
  --chalk-shadow-celeste: 0 0 8px rgba(71, 218, 255, 0.3);
  --chalk-shadow-red: 0 0 8px rgba(244, 88, 108, 0.4);

  /* Marcos y radios */
  --board-border: 2px dashed rgba(255, 255, 255, 0.15);
  --board-border-thick: 4px dashed rgba(255, 255, 255, 0.25);
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --font-sans: 'Outfit', sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3. RESET Y GENERALES (ESTILO PIZARRA)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-family: var(--font-sans);
  color: var(--chalk-white);
  /* Textura de pizarra escolar */
  background: radial-gradient(circle at 50% 50%, var(--board-bg) 0%, var(--board-bg-dark) 100%),
              linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
              linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px; /* Textura de cuadrícula suave escolar */
}

body {
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Efecto de borrado de pizarra de fondo */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0),
                    radial-gradient(rgba(255, 255, 255, 0.02) 2px, transparent 0);
  background-size: 80px 80px, 120px 120px;
  background-position: 0 0, 40px 40px;
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--chalk-white);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.3), 0 1px 3px rgba(0, 0, 0, 0.5);
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  position: relative;
}

h3 {
  font-size: 1.45rem;
}

p {
  color: var(--chalk-white-dust);
  font-weight: 400;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* 4. CLASES DE REVELACIÓN OBSERVER
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

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

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* 5. COMPONENTES Y BOTONES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  gap: 0.5rem;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--chalk-red);
  color: var(--chalk-white);
  box-shadow: var(--chalk-shadow-red);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background: var(--chalk-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 15px var(--chalk-red);
}

.btn-secondary {
  background: transparent;
  color: var(--chalk-celeste);
  border: 2px dashed var(--chalk-celeste);
  box-shadow: var(--chalk-shadow-celeste);
}

.btn-secondary:hover {
  background: rgba(71, 218, 255, 0.1);
  transform: translateY(-2px);
  border-style: solid;
  box-shadow: 0 0 15px var(--chalk-celeste);
}

.btn-white {
  background: transparent;
  color: var(--chalk-white);
  border: 2px dashed var(--chalk-white);
  box-shadow: var(--chalk-shadow);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  border-style: solid;
  box-shadow: 0 0 15px var(--chalk-white);
}

/* Badges estilo tiza */
.badge {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  border: 1px dashed var(--chalk-celeste);
  color: var(--chalk-celeste);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  background-color: rgba(71, 218, 255, 0.05);
}

/* Frase Destacada de Pizarra */
.highlight-quote {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--chalk-celeste-light);
  text-align: center;
  margin-top: 3.5rem;
  padding: 1.5rem;
  border: var(--board-border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  position: relative;
  text-shadow: var(--chalk-shadow-celeste);
}

/* 6. HEADER Y NAVEGACIÓN
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(18, 30, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px dashed rgba(255, 255, 255, 0.08);
  transition: padding var(--transition-fast), background var(--transition-fast);
  padding: 1.15rem 0;
}

.header.scrolled {
  padding: 0.7rem 0;
  background: rgba(14, 25, 21, 0.95);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 58px;
  width: auto;
  filter: brightness(1.2);
  transition: height var(--transition-fast);
}

.header.scrolled .logo img {
  height: 46px;
}

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

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--chalk-white-dust);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--chalk-red);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--chalk-white);
  text-shadow: var(--chalk-shadow);
}

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

/* Menú móvil hamburguesa */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.burger-menu span {
  width: 100%;
  height: 2px;
  background-color: var(--chalk-white);
  transition: all var(--transition-fast);
}

/* 7. HERO PRINCIPAL
   ========================================================================== */
.hero {
  padding: 9.5rem 0 6rem;
  position: relative;
  overflow: hidden;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.08);
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title-group {
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.4rem;
  color: var(--chalk-celeste);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: inline-block;
  text-shadow: var(--chalk-shadow-celeste);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--chalk-white);
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--chalk-red);
  text-shadow: var(--chalk-shadow-red);
}

.hero-lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--chalk-celeste-light);
  margin-bottom: 1.5rem;
  line-height: 1.45;
  text-shadow: 0 0 1px var(--chalk-celeste);
}

.hero-text {
  font-size: 1.05rem;
  color: var(--chalk-white-dust);
  margin-bottom: 2.5rem;
  max-width: 95%;
}

.hero-btns {
  display: flex;
  gap: 1.25rem;
}

.hero-visual {
  position: relative;
  width: 100%;
}

/* Contenedor del mockup estilo pizarra flotante */
.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: var(--board-border-thick);
  background: var(--board-bg-dark);
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
  transition: transform var(--transition-normal);
  padding: 10px;
}

.hero-image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-5px);
}

.hero-image-wrapper img {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-rocket-decor {
  position: absolute;
  top: 25%;
  right: -30px;
  width: 90px;
  height: 90px;
  pointer-events: none;
  animation: floatRocket 6s ease-in-out infinite;
  z-index: 10;
}

@keyframes floatRocket {
  0% { transform: translateY(0) rotate(0deg); filter: drop-shadow(0 5px 5px rgba(0,0,0,0.4)); }
  50% { transform: translateY(-12px) rotate(4deg); filter: drop-shadow(0 15px 10px rgba(0,0,0,0.6)); }
  100% { transform: translateY(0) rotate(0deg); filter: drop-shadow(0 5px 5px rgba(0,0,0,0.4)); }
}

/* Cohetes flotantes sobre fotos reales */
.photo-rocket-decor {
  position: absolute;
  width: 70px;
  height: 70px;
  z-index: 10;
  pointer-events: none;
  animation: floatRocketPhoto 5s ease-in-out infinite;
}

.photo-rocket-top-right {
  top: 25%;
  right: -30px;
}

.photo-rocket-top-left {
  top: 25%;
  left: -30px;
}

.photo-rocket-bottom-right {
  bottom: -25px;
  right: -25px;
}

.photo-rocket-bottom-left {
  bottom: -25px;
  left: -25px;
}

.photo-rocket-program-left {
  top: 60px;
  left: -25px;
}

.photo-rocket-program-right {
  top: 60px;
  right: -25px;
}

@keyframes floatRocketPhoto {
  0% { transform: translateY(0) rotate(5deg); }
  50% { transform: translateY(-8px) rotate(-2deg); }
  100% { transform: translateY(0) rotate(5deg); }
}

/* Logos integrados en el título de los programas */
.program-title-logo {
  height: 44px !important;
  width: auto !important;
  display: inline-block !important;
  filter: brightness(1.2) drop-shadow(0 4px 6px rgba(0,0,0,0.3)) !important;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.program-card:hover .program-title-logo {
  transform: scale(1.08) rotate(-2deg);
}

/* 8. QUÉ ES HUMM MAKERS
   ========================================================================== */
.what-is {
  padding: 6.5rem 0;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.08);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.what-is-image-wrapper {
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  border: var(--board-border);
  padding: 8px;
  background: rgba(0,0,0,0.2);
}

.what-is-image-wrapper img {
  border-radius: var(--radius-md);
}

.what-is-content h2::after {
  content: '';
  display: block;
  width: 70px;
  height: 3px;
  background-color: var(--chalk-celeste);
  margin-top: 0.75rem;
  box-shadow: var(--chalk-shadow-celeste);
}

.what-is-text {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* Diagrama de Ciclo */
.diagram-container {
  margin-top: 2.25rem;
  border: var(--board-border);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background-color: rgba(0, 0, 0, 0.15);
}

.diagram-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--chalk-celeste);
  margin-bottom: 1.25rem;
  font-weight: 600;
  text-shadow: var(--chalk-shadow-celeste);
}

.diagram-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow-x: auto;
  gap: 0.25rem;
  padding-bottom: 0.5rem;
}

.diagram-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 65px;
}

.step-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: transparent;
  border: 2px dashed var(--chalk-celeste);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--chalk-celeste);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--chalk-shadow-celeste);
  transition: all var(--transition-fast);
}

.diagram-step:hover .step-icon-circle {
  background-color: var(--chalk-celeste);
  color: var(--board-bg-dark);
  border-style: solid;
  transform: scale(1.1) rotate(5deg);
}

.step-label {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
  color: var(--chalk-white);
}

.diagram-arrow {
  color: var(--chalk-gray);
  font-size: 1.1rem;
  font-weight: bold;
}

/* 9. PROPÓSITO DEL PROGRAMA
   ========================================================================== */
.purpose {
  padding: 6.5rem 0;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.08);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 70px;
  height: 3px;
  background-color: var(--chalk-red);
  margin: 0.75rem auto 0;
  box-shadow: var(--chalk-shadow-red);
}

.section-header p {
  font-size: 1.15rem;
  margin-top: 1rem;
}

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

/* Tarjetas Misión */
.mission-card {
  background: rgba(0, 0, 0, 0.15);
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: var(--board-border);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.mission-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--chalk-celeste);
  box-shadow: var(--chalk-shadow-celeste);
}

.mission-card-red:hover {
  border-color: var(--chalk-red);
  box-shadow: var(--chalk-shadow-red);
}

.mission-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1.25rem;
  color: var(--chalk-celeste);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.mission-card-red .mission-icon {
  color: var(--chalk-red);
}

.mission-card:hover .mission-icon {
  transform: scale(1.1) rotate(4deg);
}

.mission-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.mission-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* 10. METODOLOGÍA
   ========================================================================== */
.methodology {
  padding: 6.5rem 0 3rem;
}

/* 11. RUTA MAKER COMPACTA (5 FASES EN DIBUJO DE PIZARRA)
   ========================================================================== */
.route-section {
  padding: 6.5rem 0;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.08);
  position: relative;
}

.route-timeline-compact {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 4rem;
  position: relative;
}

/* Línea de conexión horizontal en desktop */
.route-timeline-compact::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 2px;
  border-top: 2px dashed var(--chalk-gray);
  z-index: 1;
}

.route-step-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 0.5rem;
}

.route-node-compact {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background-color: var(--board-bg-dark);
  border: 3px dashed var(--chalk-celeste);
  color: var(--chalk-celeste);
  font-weight: 700;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--chalk-shadow-celeste);
  transition: all var(--transition-normal);
}

.route-step-compact:nth-child(even) .route-node-compact {
  border-color: var(--chalk-red);
  color: var(--chalk-red);
  box-shadow: var(--chalk-shadow-red);
}

.route-step-compact:hover .route-node-compact {
  transform: scale(1.1) rotate(8deg);
  border-style: solid;
  background-color: var(--chalk-celeste);
  color: var(--board-bg-dark);
}

.route-step-compact:nth-child(even):hover .route-node-compact {
  background-color: var(--chalk-red);
  color: var(--board-bg-dark);
}

.route-content-compact {
  border: 1px dashed rgba(255,255,255,0.08);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.1);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.route-step-compact:hover .route-content-compact {
  border-color: var(--chalk-celeste);
  background: rgba(255,255,255,0.01);
  transform: translateY(-5px);
}

.route-step-compact:nth-child(even):hover .route-content-compact {
  border-color: var(--chalk-red);
}

.route-content-compact h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--chalk-white);
}

.route-content-compact p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--chalk-white-dust);
}

/* 12. HABILIDADES PARA EL FUTURO
   ========================================================================== */
.skills-section {
  padding: 6.5rem 0;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.08);
}

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

.skill-card {
  background: rgba(0, 0, 0, 0.15);
  border: var(--board-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skill-card:hover {
  background: rgba(255, 255, 255, 0.02);
  transform: translateY(-5px);
  border-color: var(--chalk-celeste);
  box-shadow: var(--chalk-shadow-celeste);
}

.skill-icon-wrapper {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--chalk-celeste);
  transition: transform var(--transition-fast);
}

.skill-card:hover .skill-icon-wrapper {
  transform: scale(1.15) rotate(-3deg);
}

.skill-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--chalk-white);
}

/* 13. TECNOLOGÍA PARA RESOLVER DESAFÍOS
   ========================================================================== */
.challenges-section {
  padding: 6.5rem 0;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.08);
}

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.challenge-card {
  background: rgba(0, 0, 0, 0.15);
  border: var(--board-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.challenge-card:hover {
  background: rgba(255, 255, 255, 0.02);
  transform: translateY(-5px);
  border-color: var(--chalk-red);
  box-shadow: var(--chalk-shadow-red);
}

.challenge-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.75rem;
  color: var(--chalk-red);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.challenge-card:hover .challenge-icon {
  transform: scale(1.15) rotate(5deg);
}

.challenge-card span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--chalk-white);
}

/* 14. EXPERIENCIAS Y RESULTADOS
   ========================================================================== */
.results-section {
  padding: 6.5rem 0;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.08);
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.result-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-md);
  border: var(--board-border);
  border-left: 4px solid var(--chalk-celeste);
  transition: all var(--transition-fast);
}

.result-item:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--chalk-celeste);
}

.result-icon {
  color: var(--chalk-yellow);
  font-size: 1.25rem;
  margin-top: 0.1rem;
}

.result-item p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--chalk-white);
}

/* 15. PROGRAMAS DESTACADOS
   ========================================================================== */
.programs-section {
  padding: 6.5rem 0;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.08);
}

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

.program-card {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  border: var(--board-border);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.program-card:hover {
  transform: translateY(-8px);
  border-color: var(--chalk-celeste);
  box-shadow: var(--chalk-shadow-celeste);
}

.program-image {
  height: 240px;
  overflow: hidden;
  position: relative;
  border-bottom: var(--board-border);
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.program-card:hover .program-image img {
  transform: scale(1.05);
}

.program-content {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--chalk-white);
}

.program-content p {
  font-size: 0.95rem;
  color: var(--chalk-white-dust);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* 16. PARA QUIÉNES ESTÁ DISEÑADO
   ========================================================================== */
.designed-for {
  padding: 6.5rem 0;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.08);
}

.designed-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
}

.designed-list-wrapper h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--chalk-celeste-light);
}

.designed-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.designed-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.designed-item-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  border: 1.5px dashed var(--chalk-celeste);
  color: var(--chalk-celeste);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: var(--chalk-shadow-celeste);
}

.designed-item span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--chalk-white);
}

/* 17. POR QUÉ TRABAJAR CON HUMM
   ========================================================================== */
.why-humm {
  padding: 6.5rem 0;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.08);
}

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

.why-card {
  background: rgba(0, 0, 0, 0.15);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-md);
  border: var(--board-border);
  transition: all var(--transition-normal);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.02);
  transform: translateY(-5px);
  border-color: var(--chalk-celeste);
  box-shadow: var(--chalk-shadow-celeste);
}

.why-icon-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color var(--transition-fast);
  font-family: monospace;
}

.why-card:hover .why-icon-number {
  color: var(--chalk-celeste);
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* 18. LLAMADO A LA ACCIÓN (CTA FINAL)
   ========================================================================== */
.cta-final {
  padding: 7.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.08);
}

.cta-final-container {
  max-width: 800px;
  margin: 0 auto;
  border: var(--board-border-thick);
  padding: 4rem 3rem;
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.cta-final h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-final p {
  color: var(--chalk-white-dust);
  font-size: 1.15rem;
  margin-bottom: 3rem;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* 18.5 DATOS DE CONTACTO
   ========================================================================== */
.contact-details {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px dashed var(--chalk-celeste);
  color: var(--chalk-celeste);
  background-color: rgba(255, 255, 255, 0.02);
  transition: transform var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
}

.contact-item-icon svg {
  display: block;
}

.contact-item:hover .contact-item-icon {
  transform: scale(1.1) rotate(-4deg);
  border-color: var(--chalk-white);
  color: var(--chalk-white);
  background-color: rgba(255, 255, 255, 0.08);
}

.contact-item-text {
  font-family: var(--font-chalk), var(--font-primary), sans-serif;
  font-size: 1.15rem;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.contact-item:hover .contact-item-text {
  color: var(--chalk-white) !important;
}

/* 19. PIE DE PÁGINA (Footer simple sin formulario visible)
   ========================================================================== */
.footer {
  padding: 5rem 0 3rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo img {
  height: 150px;
  width: auto;
  filter: brightness(1.2);
}

.footer-quote {
  font-style: italic;
  color: var(--chalk-white-dust);
  font-size: 0.95rem;
  max-width: 450px;
  text-align: right;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 3.5rem;
  font-size: 0.85rem;
  color: var(--chalk-gray);
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
}

/* 20. DECORACIÓN DEL COHETE SCROLL (PIZARRA INTERACTIVO)
   ========================================================================== */
.global-rocket-container {
  position: fixed;
  right: 2.5rem;
  bottom: 2.5rem;
  width: 54px;
  height: 54px;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(80px) scale(0.8);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.global-rocket-container.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scroll-rocket {
  width: 100%;
  height: 100%;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  background: var(--board-bg-dark);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border: 2px dashed var(--chalk-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: var(--chalk-red);
}

.scroll-rocket::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--chalk-red);
  border-radius: var(--radius-full);
  transform: translateX(-50%) scale(0);
  transition: transform var(--transition-fast);
  box-shadow: var(--chalk-shadow-red);
}

.scroll-rocket:hover {
  transform: translateY(-8px);
  border-color: var(--chalk-red);
  border-style: solid;
  box-shadow: var(--chalk-shadow-red);
}

.scroll-rocket:hover::after {
  transform: translateX(-50%) scale(1);
  animation: rocketEngine 0.15s ease-in-out infinite alternate;
}

@keyframes rocketEngine {
  from { transform: translateX(-50%) scale(1) translateY(0); }
  to { transform: translateX(-50%) scale(1.15) translateY(2px); }
}

/* ==========================================================================
   21. POP-UP MODAL (FORMULARIO DE CONTACTO EMERGENTE)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 20, 16, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 1.5rem;
}

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

.modal-box {
  background: radial-gradient(circle at 50% 50%, var(--board-bg) 0%, var(--board-bg-dark) 100%);
  border: var(--board-border-thick);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  padding: 2.5rem;
  box-shadow: 0 30px 70px rgba(0,0,0,0.8), var(--chalk-shadow);
  position: relative;
  transform: scale(0.85) translateY(20px);
  transition: transform var(--transition-normal);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

/* Botón cerrar modal */
.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 1.5px dashed var(--chalk-white-dust);
  background: transparent;
  color: var(--chalk-white-dust);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  border-style: solid;
  border-color: var(--chalk-red);
  color: var(--chalk-red);
  transform: rotate(90deg);
}

.modal-title-group {
  margin-bottom: 1.5rem;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
  padding-bottom: 1rem;
}

.modal-title-group h2 {
  font-size: 1.75rem;
  color: var(--chalk-celeste);
  text-shadow: var(--chalk-shadow-celeste);
}

.modal-title-group p {
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Campos de Formulario en Modal */
.contact-form {
  display: flex;
  flex-direction: column;
}

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

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--chalk-celeste-light);
}

.form-input {
  font-family: var(--font-sans);
  padding: 0.75rem 0.95rem;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1.5px dashed var(--chalk-white-dust);
  background-color: rgba(0, 0, 0, 0.2);
  color: var(--chalk-white);
  transition: all var(--transition-fast);
  width: 100%;
}

.form-input:focus {
  outline: none;
  background-color: rgba(255,255,255,0.02);
  border-style: solid;
  border-color: var(--chalk-celeste);
  box-shadow: 0 0 10px rgba(71, 218, 255, 0.2);
}

/* Estilo para los selects dentro del fondo oscuro */
select.form-input {
  background-color: var(--board-bg-dark);
}

select.form-input option {
  background-color: var(--board-bg-dark);
  color: var(--chalk-white);
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

/* Validación */
.form-input.is-invalid {
  border-color: var(--chalk-red);
  border-style: solid;
  background-color: rgba(244, 88, 108, 0.05);
}

.invalid-feedback {
  font-size: 0.75rem;
  color: var(--chalk-red);
  font-weight: 600;
  margin-top: 0.2rem;
  display: none;
}

.form-input.is-invalid + .invalid-feedback {
  display: block;
}

.form-submit-btn {
  width: 100%;
  margin-top: 1rem;
}

.form-status {
  margin-top: 1.25rem;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-align: center;
  display: none;
  font-size: 0.9rem;
}

.form-status.success {
  display: block;
  background-color: rgba(76, 175, 80, 0.1);
  color: hsl(120, 75%, 70%);
  border: 1.5px dashed hsl(120, 75%, 70%);
}

.form-status.error {
  display: block;
  background-color: rgba(244, 88, 108, 0.1);
  color: var(--chalk-red);
  border: 1.5px dashed var(--chalk-red);
}


/* ==========================================================================
   22. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* TABLET (Menor a 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-image-wrapper {
    transform: none;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-image-wrapper:hover {
    transform: translateY(-5px);
  }

  .section-grid, .designed-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Ruta Maker compacta a 3 y 2 columnas */
  .route-timeline-compact {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1rem;
  }
  
  .route-timeline-compact::before {
    display: none; /* Quitamos la línea guía horizontal */
  }

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

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

  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-quote {
    text-align: center;
    max-width: 100%;
  }
}

/* SMARTPHONE (Menor a 768px) */
@media (max-width: 768px) {
  h2 {
    font-size: 1.8rem;
  }

  .header {
    padding: 0.9rem 0;
  }

  .burger-menu {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    height: calc(100vh - 68px);
    background: var(--board-bg-dark);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    z-index: 999;
    border-top: 1px dashed rgba(255,255,255,0.08);
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .nav-cta .btn {
    width: 80%;
  }

  /* Burger en cruz */
  .burger-menu.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger-menu.open span:nth-child(2) {
    opacity: 0;
  }
  .burger-menu.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Hero */
  .hero-title {
    font-size: 2.35rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
  }

  /* Ruta Maker compacta en vertical */
  .route-timeline-compact {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .route-step-compact {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .route-node-compact {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    font-size: 1.15rem;
  }
  
  .route-content-compact {
    width: 100%;
  }

  /* Tarjetas y Rejillas */
  .purpose-grid, .skills-grid, .programs-grid {
    grid-template-columns: 1fr;
  }

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

  .modal-box {
    padding: 1.5rem;
  }

  .cta-final h2 {
    font-size: 1.85rem;
  }

  .cta-final p {
    font-size: 1rem;
  }

  .cta-btns {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-btns .btn {
    width: 100%;
  }

  .global-rocket-container {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}
