/* ============ Header ============ */

.header-wrapper {
	position: fixed;
    top: 0px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 100;
    padding: 2.5rem 2.5rem 0 2.5rem;
}

.main-header {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	justify-content: space-between;
	transition: background 0.4s ease-in-out
}

.main-header.toppage {
	background: transparent;
}

.logo-header {
	display: flex;
}

.wordmark svg path,
.wordmark svg polygon,
.wordmark svg rect {
    transition: fill 0.3s ease;
}

.toppage svg path,
.toppage svg polygon,
.toppage svg rect {
    fill: white;
}

.scrolled svg path,
.scrolled svg polygon,
.scrolled svg rect {
    fill: var(--clr-blackmain);
}

.header-nav {
	display: flex;
    margin-left: auto;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}

.header-nav.mob {
	display: none;
}

.language-login {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.menu-toggle {
    display: none; /* Oculto en desktop */
}

.menu .active {
    opacity: 0.5;
}

/*
.menu .active::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
    margin-top: 4px;
}
*/

.menu .active {
    opacity: 1;
    font-weight: 600;
    text-decoration: underline;
}

/* ============ Footer ============ */

.footer-wrapper {
	width: 100%;
    height: 3.5rem;
    display: flex;
    gap: 10rem;
    padding: 0;
    margin-top: 16rem;
    background: var(--clr-yellow);
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
    color: black;
	font-weight: 500;
    align-items: center;
	text-transform: uppercase;
}

.footer-top {
	width: 100%;
	display: grid;
	grid-template-columns: 4fr 4fr 4fr;
	grid-gap: 1rem;
	padding-top: 1rem;
	border-top: black solid 1px;
}

.logo-footer {
    width: 74px;
    height: 36px;
    fill: currentColor;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.logo-footer.hide {
    display: none;
}

/* Cuando se quite la clase hide, el logo aparecerá con animación */
.logo-footer:not(.hide) {
    opacity: 1;
    transform: translateY(0);
}

body.darkmode .footer-top {
  border-top: white solid 1px;
}

.footer-top .footer-contact:nth-child(1) {
	grid-column: 1;
}

.footer-top .footer-nav:nth-child(2) {
	grid-column: 2 / span 2;
}

.footer-contact {
	grid-column: 1;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: start;
	gap: 1.5rem;
}

.footer-nav {
	grid-column: 2;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

.f-nav-row {
	width: 100%;
	display: grid;
	grid-template-columns: 3fr 3fr;
	grid-gap: 1.5rem;
}

.f-n-row-col {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.footer-bottom {
	width: 100%;
	display: flex;
	gap: 1rem;
	padding: 0 2.5rem;
}

/* ============ @Medias ============ */

@media (max-width: 1080px) {
	
}

@media (max-width: 960px) {
	.menu-list {
		gap: 0;
	}
	.header-wrapper {
        padding: 1.5rem 2rem 0 2rem;
    }
}

@media (max-width: 860px) {
	/*
	.main-header {
		grid-template-columns: 3fr 3fr 3fr;
	} */
}

@media (max-width: 768px) {
	.logo-footer {
		display: none;
	}	
	.main-header {
		grid-template-columns: 3fr 2fr 1fr;
	}
	.main-header.furia-mob {
        display: flex;
        width: unset;
	}
	.header-wrapper {
		padding: 1rem;
	}
	.header-wrapper.spcbtwn-mob {
		justify-content: space-between;
	}
	.menu-list.hidemob {
		display: none !important;
	}
	.menu-list.showmob {
		position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: black;
        padding: 8rem 1rem;
		z-index: -1;
		scroll-snap-type: y mandatory;
        -webkit-overflow-scrolling: touch;
        overflow-y: scroll;
        scrollbar-width: none;
		opacity: 0;
		transform: translateY(10px);
		visibility: hidden;
		transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0.3s;
	}
	
	body.darkmode .menu-list.showmob {
	  	background: #1e1e1e;
	}
	
	.menu-list.showmob.active {
		display: flex;
		opacity: 1;
		transform: translateY(0);
		visibility: visible;
		border-radius: 0;
	}
	
	.menu-toggle {
        display: flex;
		transition: color 0.4s ease-in-out;
		width: 2.5rem;
        height: 2.5rem;
        justify-content: center;
        align-items: start;
    }
	
	.menu-toggle.wdth-auto {
		width: auto;
	}
	
	.menu-toggle.m-size {
		font-size: 1.5rem;
	}

	.footer-top {
		display: flex;
		flex-direction: column;
		grid-gap: 4rem;
	}
	.footer-nav {
		gap: 2rem;
	}
	.f-nav-row {
		grid-gap: 1rem;
	}
	.footer-bottom {
		align-items: start;
		gap: 1rem;
		padding: 0 1rem;
	}
	.footer-wrapper {
		gap: 0;
		margin-top: unset;
		padding: 0;
		height: 3.5rem;
	}
}