*,
*::before,
*::after {
  box-sizing: border-box;
}

	  
	  body {
		font-family: Arial, Helvetica, sans-serif;
	  }
	  
	  :root {
		  	  /* Fondos */

	    --dark-bg: #0f172a;                 /* se mantiene para secciones oscuras */
		--color-accent-cyan: #00f3ff;
		--accent-cyan-light: rgba(0, 243, 255, 0.08);
		--accent-cyan-medium: rgba(0, 243, 255, 0.15);
		--text-primary: #1a1a1a;
		--text-secondary: #3a3a3a;
		--background-white: #ffffff;
		--surface-light: #fafafa;
		--border-light: rgba(0, 0, 0, 0.06);
			  /* Texto */
	    --text-primary: #1a1a1a;
	    --text-secondary: #3a3a3a;
	    --text-on-dark: #e5e7eb;
			  /* Acentos */
	    --accent-primary: #00f3ff;           /* color-accent-cyan */
	    --accent-hover: rgba(0, 243, 255, 0.85);
	    --accent-soft: rgba(0, 243, 255, 0.15);
	    --accent-ultra-soft: rgba(0, 243, 255, 0.08);

	    /* Bordes */
	    --border-soft: rgba(0, 0, 0, 0.06);
	}
	  }

	  /* ================= JUSTIFICACIÓN GLOBAL DE TEXTO ================= */

	  p,
	  .atlas-cookie-text,
	  .section-card p,
	  .team-member p {
		text-align: justify !important;
		text-align-last: left;
		hyphens: auto;
	  }


		/* Splash Screen */
		#splash-screen {
		  position: fixed;
		  inset: 0;
		  background: #000;
		  display: flex;
		  align-items: center;
		  justify-content: center;
		  z-index: 9999;
		  transition: opacity 1s ease;
		  overflow: hidden;
		}

		/* Contenedor */
		.splash-content {
		  display: flex;
		  justify-content: center;
		  align-items: center;
		  animation: splashEnter 1.4s ease forwards;
		  width: 100%;
		  padding: 4vw;
		}

		/* Imagen responsive + halo */
		#splash-screen img {
		  width: 100%;
		  max-width: 520px;
		  height: auto;
		  aspect-ratio: auto;
		  border-radius: 14px;

		  animation: cyanGlow 3.5s ease-in-out infinite alternate;

		  box-shadow:
			0 0 60px rgba(0, 255, 255, 0.25),
			0 0 140px rgba(0, 180, 255, 0.22),
			0 30px 90px rgba(0, 0, 0, 0.95);
		}

		/* Glow animado */
		@keyframes cyanGlow {
		  0% {
			box-shadow:
			  0 0 45px rgba(0, 255, 255, 0.20),
			  0 0 110px rgba(0, 180, 255, 0.16),
			  0 30px 80px rgba(0, 0, 0, 0.95);
		  }
		  100% {
			box-shadow:
			  0 0 75px rgba(0, 255, 255, 0.35),
			  0 0 160px rgba(0, 180, 255, 0.26),
			  0 30px 90px rgba(0, 0, 0, 0.95);
		  }
		}

		/* Entrada */
		@keyframes splashEnter {
		  from {
			opacity: 0;
			transform: scale(0.92);
		  }
		  to {
			opacity: 1;
			transform: scale(1);
		  }
		}

		/*  Ajustes móviles */
		@media (max-width: 768px) {
		  #splash-screen img {
			max-width: 92vw;
			border-radius: 12px;
		  }
		}

		/*  Muy pequeños */
		@media (max-width: 480px) {
		  #splash-screen img {
			max-width: 95vw;
			border-radius: 10px;
		  }
		}



	  /* ================= COOKIE BANNER | ATLAS ================= */

	  .atlas-cookie {
		position: fixed;
		bottom: 24px;
		left: 50%;
		transform: translateX(-50%);
		width: calc(100% - 32px);
		max-width: 1100px;
		background: var(--background-white);
		border: 1px solid var(--accent-cyan-medium);
		border-radius: 20px;
		box-shadow: 0 12px 40px rgba(0, 243, 255, 0.15);
		z-index: 9999;
	  }

	  .atlas-cookie-inner {
		display: flex;
		flex-direction: column;
		gap: 24px;
		padding: 28px 32px;
	  }

	  .atlas-cookie-text {
		color: var(--text-secondary);
		font-size: 0.95rem;
		line-height: 1.6;
	  }

	  .atlas-cookie-text strong {
		color: var(--text-primary);
		font-weight: 600;
	  }

	  .atlas-cookie-text a {
		color: var(--accent-cyan);
		text-decoration: none;
		border-bottom: 1px solid var(--accent-cyan-medium);
		transition: all 0.2s ease;
	  }

	  .atlas-cookie-text a:hover {
		border-bottom-color: var(--color-accent-cyan);
	  }

	  .atlas-cookie-actions {
		display: flex;
		gap: 12px;
		flex-wrap: wrap;
	  }

	  .btn-cookie-primary {
		background: linear-gradient(
		  135deg,
		  var(--color-accent-cyan) 0%,
		  #00c8d4 100%
		);
		color: #001314;
		border: none;
		border-radius: 999px;
		padding: 10px 22px;
		font-size: 0.9rem;
		font-weight: 600;
		cursor: pointer;
		box-shadow: 0 6px 18px rgba(0, 243, 255, 0.35);
		transition: all 0.25s ease;
	  }

	  .btn-cookie-primary:hover {
		transform: translateY(-1px);
		box-shadow: 0 10px 28px rgba(0, 243, 255, 0.45);
	  }

	  .btn-cookie-secondary {
		background: transparent;
		color: var(--text-secondary);
		border: 1px solid var(--border-light);
		border-radius: 999px;
		padding: 10px 22px;
		font-size: 0.9rem;
		cursor: pointer;
		transition: all 0.25s ease;
	  }

	  .btn-cookie-secondary:hover {
		border-color: var(--accent-cyan-medium);
		background: var(--accent-cyan-light);
	  }

	  /* ================= FUENTES ================= */

	  .font-serif-body,
	  .font-serif-display {
		font-family: Arial, Helvetica, sans-serif;
	  }
	  
	  .banner-container {
		width: 100%;
		max-height: 400px;
		overflow: hidden;
		position: relative;
		background: linear-gradient(180deg, rgba(0, 243, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
	  }
	  
	  .banner-image {
		width: 100%;
		height: auto;
		display: block;
		object-fit: cover;
		object-position: center;
	  }
	  
	  .title-container {
		background: linear-gradient(135deg, rgba(0, 243, 255, 0.06) 0%, rgba(0, 243, 255, 0.12) 100%);
		border: 1px solid rgba(0, 243, 255, 0.2);
		border-radius: 16px;
		padding: 48px 40px;
		box-shadow: 0 8px 32px rgba(0, 243, 255, 0.12);
	  }
	  
	  .section-card {
		background: var(--background-white);
		border: 1px solid var(--border-light);
		border-radius: 12px;
		padding: 40px;
		box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
		transition: all 0.3s ease;
	  }
	  
	  .section-card:hover {
		box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
		transform: translateY(-2px);
	  }
	  
    .section-header {
      padding: 28px 32px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: var(--color-surface);
      transition: background 0.2s ease;
      border-bottom: 1px solid transparent;
    }	  
	  
	.section-header:hover {
	  background: rgba(0, 243, 255, 0.04);
	}
	  

	.section-title {
	  font-size: 1.45rem;
	  font-weight: 700;
	  margin: 0;
	  line-height: 1.3;
	}

   .chevron-icon {
      flex-shrink: 0;
      width: 32px;
      height: 32px;
      transition: transform 0.3s ease;
      color: var(--color-primary);
    }
    
    .chevron-icon.rotated {
      transform: rotate(180deg);
    }
	  

 	/* ================= CONTENERDOR COLABSABLE === */

	.section-content {
	  max-height: 0;
	  overflow: hidden;
	  transition: max-height 0.4s ease-out;
	}


	.section-content.expanded {
	  max-height: 10000px;
	}


    /* ================= ENVOLTORIO INTERNO === */

	.section-inner {
	  overflow: hidden;
	  padding: 32px;
	  background: var(--color-background);
	}

    
    .subsection {
      margin-bottom: 28px;
      padding-bottom: 28px;
      border-bottom: 1px solid var(--color-border);
    }
    
    .subsection:last-child {
      border-bottom: none;
      margin-bottom: 0;
      padding-bottom: 0;
    }
    
    .subsection-title {
      font-size: 1.2rem;
      font-weight: 600;
      color: var(--color-text);
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
   
    
    .subitem {
      margin-left: 32px;
      margin-bottom: 12px;
      padding-left: 20px;
      border-left: 3px solid var(--color-accent);
      color: var(--color-text-secondary);
      font-size: 1.05rem;
      line-height: 1.6;
    }
	  
	  
	/* =========================================================
	   SISTEMA DE ÍTEMS INTERACTIVOS
	   Prácticas | Guías | Cuestionarios
	   ========================================================= */


	/* ---------------------------------------------------------
	   VARIABLES SEMÁNTICAS
	   (Un solo punto para cambiar colores o estilos)
	   --------------------------------------------------------- */
	:root {
	  --practice-color: rgb(34, 197, 94);
	  --practice-color-dark: rgb(22, 163, 74);

	  --guide-color: rgb(59, 130, 246);
	  --guide-color-dark: rgb(37, 99, 235);

	  --quiz-color: rgb(168, 85, 247);
	  --quiz-color-dark: rgb(147, 51, 234);

	  --item-radius: 8px;
	  --item-padding: 20px 24px;
	  --item-gap: 16px;
	  --item-transition: all 0.3s ease;
	}


	/* =========================================================
	   BASE COMÚN (estructura compartida)
	   ========================================================= */

	.practice-item,
	.guide-item,
	.quiz-item {
	  margin: 20px 0;
	  padding: var(--item-padding);
	  border-radius: var(--item-radius);

	  display: flex;
	  align-items: center;
	  justify-content: space-between;
	  gap: var(--item-gap);

	  transition: var(--item-transition);
	}


	/* =========================================================
	   PRÁCTICAS (VERDE)
	   ========================================================= */

	.practice-item {
	  background: linear-gradient(
		135deg,
		rgba(34, 197, 94, 0.08),
		rgba(22, 163, 74, 0.08)
	  );
	  border: 2px solid rgba(34, 197, 94, 0.3);
	}

	.practice-item:hover {
	  background: linear-gradient(
		135deg,
		rgba(34, 197, 94, 0.12),
		rgba(22, 163, 74, 0.12)
	  );
	  border-color: rgba(34, 197, 94, 0.5);
	  transform: translateX(4px);
	}


	/* =========================================================
	   GUÍAS (AZUL)
	   ========================================================= */

	.guide-item {
	  background: linear-gradient(
		135deg,
		rgba(59, 130, 246, 0.08),
		rgba(37, 99, 235, 0.08)
	  );
	  border: 2px solid rgba(59, 130, 246, 0.3);
	}

	.guide-item:hover {
	  background: linear-gradient(
		135deg,
		rgba(59, 130, 246, 0.12),
		rgba(37, 99, 235, 0.12)
	  );
	  border-color: rgba(59, 130, 246, 0.5);
	  transform: translateX(4px);
	}


	/* =========================================================
	   QUIZ (MORADO)
	   ========================================================= */

	.quiz-item {
	  background: linear-gradient(
		135deg,
		rgba(168, 85, 247, 0.08),
		rgba(147, 51, 234, 0.08)
	  );
	  border: 2px solid rgba(168, 85, 247, 0.3);
	}

	.quiz-item:hover {
	  background: linear-gradient(
		135deg,
		rgba(168, 85, 247, 0.12),
		rgba(147, 51, 234, 0.12)
	  );
	  border-color: rgba(168, 85, 247, 0.5);
	  transform: translateX(4px);
	}


	/* =========================================================
	   ETIQUETA DEL ÍTEM (ICONO + TEXTO)
	   ========================================================= */

	.item-label {
	  display: flex;
	  align-items: center;
	  gap: 12px;

	  font-weight: 600;
	  font-size: 1.05rem;
	}

	.item-icon {
	  width: 28px;
	  height: 28px;
	  flex-shrink: 0;
	}


	/* =========================================================
	   BOTONES (BASE COMÚN)
	   ========================================================= */

	.btn-link {
	  padding: 10px 24px;
	  border-radius: 6px;

	  font-weight: 600;
	  font-size: 0.95rem;
	  text-decoration: none;

	  display: inline-flex;
	  align-items: center;
	  gap: 8px;

	  flex-shrink: 0;
	  transition: all 0.2s ease;
	  color: #ffffff;
	}


	/* =========================================================
	   BOTONES POR TIPO
	   ========================================================= */

	.btn-practice {
	  background: var(--practice-color);
	}

	.btn-practice:hover {
	  background: var(--practice-color-dark);
	  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
	}

	.btn-guide {
	  background: var(--guide-color);
	}

	.btn-guide:hover {
	  background: var(--guide-color-dark);
	  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
	}

	.btn-quiz {
	  background: var(--quiz-color);
	}

	.btn-quiz:hover {
	  background: var(--quiz-color-dark);
	  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
	}
	
	.btn-link {
	  max-width: 100%;
	  white-space: normal;
	  word-break: break-word;
	  display: inline-flex;
	  align-items: center;
	  gap: 8px;

	  font-size: 0.95rem;
	  font-weight: 600;

	  color: #06b6d4; /* cyan */
	  text-decoration: none;

	  background: none;
	  padding: 0;
	  border: none;

	  flex-shrink: 0;
	  transition: color 0.2s ease;
	}

	.btn-link:hover {
	  color: #0891b2; /* cyan más oscuro */
	}

	.icon-external {
	  width: 16px;
	  height: 16px;
	}

	.btn-link:hover {
	  opacity: 0.85;
	}



	.btn-link:hover {
	  color: #0891b2; /* cyan más oscuro */
	}

	.icon-external {
	  width: 14px;
	  height: 14px;
	  margin-left: 6px;
	  vertical-align: text-top;
	}
	@media (max-width: 640px) {
	  .guide-item {
		flex-direction: column;
	  }

	  .btn-link {
		display: block;
		max-width: 100%;
	  }
	}


	/* =========================================================
	   ACCESIBILIDAD — REDUCCIÓN DE MOVIMIENTO
	   ========================================================= */

	@media (prefers-reduced-motion: reduce) {
	  .practice-item,
	  .guide-item,
	  .quiz-item,
	  .btn-link {
		transition: none;
		transform: none !important;
	  }
	}
	  
	  
	  
	  .accent-card {
		background: linear-gradient(135deg, rgba(0, 243, 255, 0.04) 0%, rgba(0, 243, 255, 0.1) 100%);
		border: 1px solid rgba(0, 243, 255, 0.25);
	  }

	  .participation-item {
		display: flex;
		align-items: flex-start;
		gap: 20px;
		margin-bottom: 28px;
		padding: 20px;
		background: var(--surface-light);
		border-radius: 10px;
		border-left: 3px solid var(--color-accent-cyan);
		transition: all 0.3s ease;
	  }

	  .participation-item:hover {
		background: rgba(0, 243, 255, 0.05);
		transform: translateX(4px);
	  }

	  .participation-item p {
		text-align: justify !important;
		text-align-last: left;
		hyphens: auto;
	  }

	  .icon-wrapper {
		flex-shrink: 0;
		width: 52px;
		height: 52px;
		display: flex;
		align-items: center;
		justify-content: center;
		background: linear-gradient(135deg, rgba(0, 243, 255, 0.12) 0%, rgba(0, 243, 255, 0.2) 100%);
		border-radius: 12px;
		border: 1px solid rgba(0, 243, 255, 0.3);
	  }

    .section-title-wrapper {
      display: flex;
      align-items: center;
      gap: 20px;
      flex: 1;
    }

	  .btn-primary {
		background: var(--color-accent-cyan);
		color: var(--text-primary);
		padding: 18px 48px;
		border-radius: 10px;
		font-weight: 600;
		font-size: 1.15rem;
		transition: all 0.3s ease;
		box-shadow: 0 6px 24px rgba(0, 243, 255, 0.3);
		border: none;
		cursor: pointer;
	  }

	  .btn-primary:hover {
		background: #00d4e0;
		box-shadow: 0 8px 32px rgba(0, 243, 255, 0.45);
		transform: translateY(-2px);
	  }

	  .btn-secondary {
		background: transparent;
		color: var(--text-primary);
		border: 2px solid var(--color-accent-cyan);
		padding: 14px 32px;
		border-radius: 10px;
		font-weight: 600;
		transition: all 0.3s ease;
		cursor: pointer;
	  }

	  .btn-secondary:hover {
		background: rgba(0, 243, 255, 0.1);
		border-color: #00d4e0;
	  }

	  .team-member {
		background: var(--background-white);
		border: 1px solid var(--border-light);
		border-radius: 10px;
		padding: 24px;
		margin-bottom: 16px;
		transition: all 0.3s ease;
	  }

	  .team-member:hover {
		border-color: rgba(0, 243, 255, 0.4);
		box-shadow: 0 4px 20px rgba(0, 243, 255, 0.1);
	  }

	  .team-link {
		color: var(--color-accent-cyan);
		text-decoration: none;
		font-weight: 600;
		transition: all 0.2s ease;
		display: inline-flex;
		align-items: center;
		gap: 6px;
	  }

	  .team-link:hover {
		color: #00d4e0;
		text-decoration: underline;
	  }

	  .team-section {
		margin-bottom: 32px;
	  }

	  .team-section-title {
		font-size: 1.3rem;
		font-weight: 600;
		color: var(--text-primary);
		margin-bottom: 20px;
		padding-bottom: 12px;
		border-bottom: 2px solid rgba(0, 243, 255, 0.3);
	  }

	  .divider-elegant {
		height: 2px;
		background: linear-gradient(90deg, transparent 0%, rgba(0, 243, 255, 0.5) 50%, transparent 100%);
		margin: 56px 0;
	  }

	  .accent-underline {
		position: relative;
		display: inline-block;
		padding-bottom: 8px;
	  }

	  .accent-underline::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 3px;
		background: linear-gradient(90deg, var(--accent-cyan) 0%, rgba(0, 243, 255, 0.3) 100%);
		border-radius: 2px;
	  }
	  
	/* ===============================
	   NÚMERO DE SECCIÓN (UNIFICADO)
	   =============================== */
	.section-number {
	  flex-shrink: 0;
	  width: 52px;
	  height: 52px;

	  display: flex;
	  align-items: center;
	  justify-content: center;

	  font-size: 1.4rem;
	  font-weight: 700;
	  font-family: var(--font-serif-display);

	  color: var(--color-accent-cyan);

	  background: linear-gradient(
		135deg,
		rgba(0, 243, 255, 0.12),
		rgba(0, 243, 255, 0.22)
	  );

	  border-radius: 12px;
	  border: 1px solid rgba(0, 243, 255, 0.35);
	}

	  
	.section-header:hover .section-number {
	  background: rgba(0, 243, 255, 0.25);
	  transform: scale(1.05);
	}


	/* ================= FOOTER ================= */
	.firma-code {
	  font-family: 'Source Sans Pro', monospace;
	  font-size: 0.85rem;
	  padding: 6px 12px;
	  border-radius: 6px;
	  background-color: rgba(6, 182, 212, 0.1);
	  color: var(--accent-primary);
	  white-space: nowrap;
	  overflow: hidden;
	}




	/* ================= MENÚ LATERAL FLOTANTE | ATLAS ================= */

	.menu-toggle {
	  position: fixed;
	  top: 24px;
	  right: 24px;
	  width: 60px;
	  height: 60px;
	  background: var(--accent-cyan, #00f3ff);
	  border-radius: 50%;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  cursor: pointer;
	  z-index: 99999;
	  box-shadow: 0 12px 30px rgba(0,243,255,.45);
	}

	/* 🔒 Color fijo en TODOS los estados */
	.menu-toggle,
	.menu-toggle:hover,
	.menu-toggle:active,
	.menu-toggle:focus {
	  background: var(--accent-cyan, #00f3ff);
	  transform: none;
	}

	.menu-toggle svg {
	  width: 28px;
	  height: 28px;
	  stroke: #001314;
	}

	.menu-float {
	  position: fixed;
	  top: 0;
	  right: -320px;
	  width: 300px;
	  height: 100vh;
	  background: #020617;
	  color: #ffffff;
	  z-index: 99998;
	  transition: right 0.35s ease;
	  overflow-y: auto;
	}

	.menu-float.active {
	  right: 0;
	}

	.menu-header {
	  padding: 20px;
	  font-weight: 700;
	  font-size: 1.1rem;
	  border-bottom: 1px solid rgba(255,255,255,.1);
	}

	.menu-float ul {
	  list-style: none;
	  padding: 12px;
	  margin: 0;
	}

	.menu-float li a {
	  display: block;
	  padding: 12px 16px;
	  color: #e5e7eb;
	  text-decoration: none;
	  border-radius: 8px;
	  font-size: .95rem;
	}

	.menu-float li a:hover {
	  background: rgba(255,255,255,.08);
	}




	/* ======================================================
	   CONTENIDO INTERNO DE SUBSECCIONES
	   (clases usadas en el HTML original)
	   ====================================================== */

	/* Contenedor del contenido de cada subsección */
	.subsection-content {
	  background-color: var(--color-background);
	  border: 1px solid var(--color-border);
	  border-radius: 8px;
	  padding: 2rem;
	  margin-top: 1.2rem;
	}

	/* Texto placeholder cuando aún no hay contenido */
	.subsection-content-placeholder {
	  display: block;
	  font-style: italic;
	  color: var(--color-text-secondary);
	  opacity: 0.7;
	  line-height: 1.8;
	}

	/* ======================================================
	   AJUSTES DE SEGURIDAD PARA <main>
	   ====================================================== */

	main {
	  width: 100%;
	  display: block;
	}

	/* ======================================================
	   MICRO-MEJORA VISUAL (opcional, coherente con tu diseño)
	   ====================================================== */

	.subsection-content:hover {
	  box-shadow: var(--shadow-soft);
	  transition: var(--transition);
	}
