body {
	width: 100vw;
	height: 100vh;
	overflow-y: auto;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-blnk);
  background-color: var(--c-thr);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

#preload {
  position: fixed;
  inset: 0;
  background: #000;
  color: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#preload .barra {
  width: 70%;
  height: 6px;
  background: #333;
  margin-bottom: 1rem;
  border-radius: 3px;
  overflow: hidden;
}

#preload .barra .fill {
  height: 100%;
  width: 0%;
  background: #0ff;
  transition: width 0.3s ease;
}

#preload .porcentaje {
  font-family: sans-serif;
  font-size: 1.2rem;
}


header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	transition: all 0.5s ease;
	z-index: 2;
	background-color: var(--c-n);
}

header.compact {
	top: 0;
	height: 10vh;
	z-index: 100;
	background-color: transparent
}

/* Control individual de visibilidad de cada <span> */
header span {
	transition: opacity 0.3s ease, transform 0.3s ease;
}

header.compact span.logo,
header.compact span.cta {
	opacity: 1;
	transform: translateY(0);
}

header.compact span.tagline,
header.compact span.text,
header.compact span.icon-paper-plane {
	opacity: 0;
	transform: translateY(-1rem);
	pointer-events: none;
	height: 0;
	overflow: hidden;
}

main{
	position: relative;
	width: 100%;
	height: 102%;
	z-index: 1;
	background-color: var(--c-wht);
	padding: 0;
	overflow-y: auto;
}
section {
	  display: block;
	  height: auto !important;
	  min-height: 0 !important;
	  max-height: none !important;

}

section.lounchpad {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	padding: 2vw;
	background: #f6f6f6;
}

section.lounchpad article {
	flex: 0 0 auto;
	width: 100%;
	background: #e8eaf6;
	color: #333;
	padding: 0;
	border-radius: 1rem;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
	text-align: center;
	transition: width 0.3s ease;
}

/* Colores armónicos */
section.lounchpad article.uno     { background: #e8eaf6; }
section.lounchpad article.dos     { background: #f3e5f5; }
section.lounchpad article.tres    { background: #e0f2f1; }
section.lounchpad article.cuatro  { background: #fff3e0; }

.lounchpad article {
	position: relative;
	overflow: hidden;
	padding: 0;
	cursor: pointer;
}

.lounchpad .img-wrapper {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.lounchpad .img-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.6s ease;
}

.lounchpad h2 {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.8);
	opacity: 0.1;
	color: #fff;
	font-size: 2rem;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
	transition: opacity 0.4s ease, transform 0.4s ease;
	pointer-events: none;
	z-index: 2;
}

.lounchpad article:hover .img-wrapper img {
	transform: scale(1.05);
}

.lounchpad article:hover h2 {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}


	 .basic_nav {
	   display: flex;
	   flex-direction: row; 
	   gap: 1rem;
	   align-items: center;
	   justify-content: center;
	 }
	 
	 .basic_nav a {
	   position: relative;
	   font-size: 1rem;
	   text-decoration: none;
	   color: #000;
	 }
	 
	 .basic_nav a:hover {
	  cursor: pointer;
	   color: #666;
	 }
	 
	 .basic_nav a:not(:last-child)::after {
	   content: "\e902"; 
	   font-family: 'IcoMoon';
	   margin-left: 0.5rem;
	   margin-right: 0.5rem;
	   color: #666;
	 }
	 
	 section.trigger{
		 height: 25%;
		 background: #ccc;
	 }
footer {
	   position: fixed;
	   bottom: -10%;
	   left: 0;
	   width: 100%;
	   opacity: 0;
	   z-index: 50;
	   transition: all 0.4s ease;
	   background: #02f;
	 }
	 footer.active {
	   bottom: 0;
	   opacity: 1;
	 }
	
.main_footer {
	   display: grid;
	   width: 100%;
	   padding: 2rem;
	   background: #111;
	   color: #fff;
	   gap: 2rem;
	   box-sizing: border-box;
	   grid-auto-flow: column;
	   grid-auto-columns: 1fr;
	 }
	 

nav.menu {
	position: fixed;
	top: 10%;
	left: 0;
	width: 25%;
	height: 80%;
	background: #222;
	color: #fff;
	z-index: 110;
	padding: 2rem;
	box-sizing: border-box;
	transform: translateX(-99%); 
	transition: transform 0.8s ease;
}

nav.menu.opened {
 transform: translateX(0); 

}

.openmenu,
.closemenu {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 120;
	cursor: pointer;
	color: #fff;
	background: #000;
	padding: 0.5rem 1rem;
	border-radius: 0.25rem;
	user-select: none;
}

.closemenu {
	display: none;
}

nav.menu ul ul {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	padding-left: 1rem;
}

nav.menu li {
	cursor: pointer;
	user-select: none;
	margin-bottom: 0.5rem;
}

nav.menu li {
	position: relative;
	padding-right: 1.5rem;
	text-align: right;
}

nav.menu li::after {
	content: '\e901';
	font-family: 'icomoon';
	position: absolute;
	right: 0; 
	top: 0.2rem;
	font-size: 1rem;
	transform: rotate(0deg);
	transition: transform 0.3s ease;
}

/* Rotar ícono solo si el submenu está abierto */
nav.menu li.has-submenu.open::after {
	transform: rotate(90deg);
}


nav.menu li {
	position: relative;
}

/* icono girado 90° solo si el <li> tiene submenú */
nav.menu li:has(> ul)::after {
	transform: rotate(90deg);
}

/* icono girado 180° si el submenú está visible */
nav.menu li:has(> ul.visible)::after {
	transform: rotate(180deg);
}

nav.menu .closemenu{
	background: none;
}

 .popup {
   display: none;
   position: fixed;
   top: 5%;
   left: 50%;
   transform: translateX(-50%);
   max-width: 600px;
   width: 90%;
   max-height: 80vh;
   overflow: auto;
   padding: 2rem;
   background-color: #fff;
   border: 1px solid #ccc;
   z-index: 1000;
   opacity: 0;
   pointer-events: none;
   transition: opacity 0.4s ease, transform 0.4s ease;
 }
 
 .popup.activo {
   display: block;
   opacity: 1;
   pointer-events: auto;
 }
 
 .popup-nav {
   display: flex;
   flex-wrap: wrap;
   gap: 1rem;
   margin-bottom: 1.5rem;
 }
 
 .open-popup,
 .close-popup {
   cursor: pointer;
   text-decoration: underline;
   color: #0077cc;
   font-weight: bold;
 }
 
 /* Oculta dinámicamente desde JS */
 .popup-nav a[aria-current="true"] {
   display: none;
 }
 
 .acordeon {
   position: relative;
   width: 100%;
   max-width: 800px;
   margin: 0 auto;
   padding: 1rem;
   border: 1px solid #ccc;
   border-radius: 8px;
   background: #f8f8f8;
   font-family: sans-serif;
 }
 
 .acordeon h2,
 .acordeon h3 {
   margin: 0 0 0.5rem 0;
   font-weight: 600;
 }
 
 .acordeon p {
   margin: 0 0 1rem 0;
   line-height: 1.5;
   transition: opacity 0.3s ease;
 }
 
 .acordeon .extended {
   max-height: 0;
   overflow: hidden;
   opacity: 0;
   transition: max-height 0.4s ease, opacity 0.4s ease;
 }
 
 .acordeon.open .extended {
   max-height: 500px; /* suficiente para mostrar el contenido */
   opacity: 1;
 }
 
 .acordeon .vermas {
   display: inline-block;
   font-size: 0.9rem;
   color: #0073e6;
   cursor: pointer;
   text-decoration: underline;
   user-select: none;
   transition: color 0.2s ease;
 }
 
 .acordeon .vermas:hover {
   color: #005bb5;
 }

.popup-nav-container a{
	color: #f00;
	margin-right: 3rem;
}



















