
/* components/_header.css */




.c-header {
	display: flex;
	padding-top: 20px;
	justify-content: space-between;
    align-items: center;
	height: fit-content;
	
}

	.c-solution-template .c-header {
		padding-top: 0;
		height: 80px;
	}
	

	.c-header__logo {
		height: 36px;
		filter: grayscale(100%) brightness(10%) contrast(120%) invert(1);
	}
	@media ( min-width: 1000px ) {
		.c-header__logo {
			height: 55px;
		}
		.c-solution-template .c-header__logo {
			height: 36px;
		}
	}
	

		.c-header__logo:hover,
		.c-header__logo:focus {
			filter: initial;
		}

	.c-menu {
		justify-self: right;
		display: flex;
		justify-content: space-between;
		align-items: center;
		justify-content: flex-end;
		gap: 20px;
	}
	.c-menu a {
		color: black;
	}
	.c-menu a:not(.c-btn):hover {
		opacity: .7;
	}
	.c-menu > * { display: none;
		text-decoration: none;
	}
	.c-menu > *.c-menu__login-icon,
	.c-menu > *.c-menu__menu-icon {
		display: block;
	}


	.c-menu__login-icon:hover{
		filter: invert(0);
	}


	

	.c-menu__login-icon {
		height: 40px;
	}
	@media ( min-width: 500px ) {
		.c-header {
			padding-top: 40px;
		}
		
		.c-menu > *.c-menu__login-button {
			display: block;
		}
		.c-menu > *.c-menu__login-icon {
			display: none;
		}
		
	}
	@media ( min-width: 700px ) {
		.c-menu > *.c-menu__contact {
			display: block;
		}
	}
	@media ( min-width: 800px ) {
		.c-menu > *.c-menu__solutions {
			display: block;
		}
	}
	@media ( min-width: 1150px ) {
		.c-menu > *.c-menu__phone {
			display: block;
		}
	}
	@media ( min-width: 1400px ) {
		.c-menu > * { 
			display: block;
		}
		.c-menu > button.c-menu__menu-icon {
			display: none;
		}
	}

	.c-menu__menu-icon {
		cursor: pointer;
		display: inline-block;
		border: 0;
		padding: 0;
		margin: 0;
		background-color: transparent;
		z-index: 60;
	}



	.js-menu-toggle[aria-expanded=true] + .js-menu-modal{
		display: flex;
		z-index: 50;
		position: fixed;
	}
	.js-menu-toggle[aria-expanded=false] + .js-menu-modal {
		display: none;
		z-index: -1;
		position: absolute;
	}
	.js-menu-toggle[aria-expanded=true] > .js-menu-close,
	.js-menu-toggle[aria-expanded=false] > .js-menu-hamburguer {
		display: flex;
		
	}

	.js-menu-toggle[aria-expanded=true] > .js-menu-close,
	.js-menu-toggle[aria-expanded=false] > .js-menu-hamburguer:hover {
		display: flex;
		filter: invert(0);
	}

	.js-menu-toggle[aria-expanded=false] > .js-menu-close,
	.js-menu-toggle[aria-expanded=true] > .js-menu-hamburguer {
		display:none;
	}
	

	.c-header__nav--open > ul {
		display: flex;
	}
	
	@media ( max-width: 500px ) {
		.c-header__nav__login {
			display: none;
		}
	}
	@media ( max-width: 800px ) {
		.c-header__nav__language {
			display: none;
		}
	}
	@media ( max-width: 1000px ) {
		.c-header__nav__contact {
			display: none;
		}
	}

.header-estatica{
	position: fixed;
	background-color: var(--color-header);
	z-index: 999;
	width: 100%;
	top:0;
}

.header-estatica a {
	color:white;
}

.header-estatica a:hover {
	
	color: #D8DBC1;
}

.header-estatica .c-menu__login-icon {
	filter: invert(1);
}


.header-estatica .c-menu__menu-icon{
	filter: invert(1);
}



.headerFixedId{
	position: fixed;
	background-color:#000;
	color:white;
	z-index: 999;
	width: 100%;
	top: 0;
    left: 0;
	height: 105px;
}

.headerFixed{
	color:white;
	width: 100%;
}

#header1 {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
}


.headerFixedId::after {
	content: ""; /* Pseudo-elemento para el efecto */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0; /* Comienza sin altura */
  background-color: black; /* Color negro que crece */
  animation: rellenarNegro 10s forwards; /* Animación de 3 segundos */
}
  @keyframes rellenarNegro {
	0% {
	  height: 0; /* Sin cubrir */
	}
	100% {
	  height: 100%; /* Cubre todo el contenedor */
	}
  }


/* Estilo de "Soluciones" */
.c-menu__solutions {
    position: relative;
    display: inline-block;
}

.c-menu__solutions:hover {
    cursor: pointer;
}


.c-menu-modal { display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: #cccccc;
	display: flex;
	list-style: none;
	padding: 10vh 0;
	margin: 0;
	z-index: 50;
	overflow: hidden;
	gap: 40px;
	flex-direction: column;
	color: black;
}
	.c-frontpage .c-header .c-menu-modal a {
		color: black;
	}
	.c-menu-modal li {
		margin-inline: auto;
		align-content: space-around;
	}
.c-header__menu-button {
	z-index: 60;
	display: fixed;
	position: relative;
	cursor: pointer;
}
	.c-header__menu-button__close {
		position: fixed;
		right: 40px;
	}

.c-menu__solutions {
	display: none;
}