/* Shared header, navigation and footer styles */

header {
	margin: 0;
	padding: 1.5rem 0;
	background-color: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid var(--border-light);
	position: sticky;
	top: 0;
	z-index: 300;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
	backdrop-filter: blur(6px);
}

header.header-hidden {
	transform: translateY(-100%);
	box-shadow: none;
}

.navbar {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1rem 3rem;
	position: relative;
	width: 100%;
	background: transparent;
	top: 0;
	z-index: 100;
	min-height: 80px;
}

.logo-navbar-link {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	position: absolute;
	left: 3rem;
}

.logo-navbar-link:hover {
	opacity: 0.8;
	transition: opacity 0.3s ease;
}

.logo-navbar {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.logo-navbar img {
	width: 110px;
	height: 110px;
	object-fit: contain;
}

.logo-navbar h1 {
	font-size: 2rem;
	margin: 0;
	font-family: var(--h1-fontfamily);
	color: var(--color-oscuro);
	font-weight: 500;
	letter-spacing: 0.08em;
}

.nav-links {
	padding: 0;
	display: flex;
	gap: 3rem;
	justify-content: center;
	list-style: none;
	margin: 0;
}

.nav-links a {
	text-decoration: none;
	color: var(--secondary-color);
	transition: color 0.3s ease;
	font-size: 0.8rem;
	letter-spacing: 1.2px;
	font-weight: 500;
	position: relative;
}

.nav-links a::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 1px;
	background-color: var(--color-fucsia);
	transition: width 0.3s ease;
}

.nav-links a:hover {
	color: var(--color-fucsia);
}

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

.nav-item {
	position: relative;
}

.nav-item.dropdown > .nav-link::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 1px;
	background-color: var(--color-fucsia);
	transition: width 0.3s ease;
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	list-style: none;
	padding: 1rem 0;
	margin: 0.8rem 0 0;
	background-color: var(--white-color);
	border: 1px solid var(--border-light);
	min-width: 280px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 1000;
	box-shadow: var(--shadow-dropdown);
}

.nav-item:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown-menu li {
	margin: 0;
}

.dropdown-menu a {
	display: block;
	padding: 1.2rem 2rem;
	color: var(--secondary-color);
	text-decoration: none;
	font-size: 0.95rem;
	letter-spacing: 0.8px;
	font-weight: 400;
	transition: all 0.3s ease;
	position: relative;
	border-bottom: 1px solid var(--border-lighter);
}

.dropdown-menu a:last-child {
	border-bottom: none;
}

.dropdown-menu a:hover {
	background-color: var(--color-crema);
	color: var(--color-fucsia);
	padding-left: 2.5rem;
}

.footer {
	background: linear-gradient(135deg, var(--brand-overlay-30-soft) 0%, var(--white-color) 100%);
	border-top: 2px solid var(--border-light);
	padding: 5rem 3rem 2rem;
}

.footer-header {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 4rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid var(--border-light);
}

.footer-header-content {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.footer-logo {
	width: 140px;
	height: 140px;
	object-fit: contain;
}

.footer-header-text h2 {
	font-family: var(--h2-fontfamily);
	font-size: 1.7rem;
	color: var(--color-oscuro);
	margin: 0;
	font-weight: 500;
	letter-spacing: 0.08em;
}

.footer-header-text p {
	color: var(--color-fucsia);
	font-size: 0.9rem;
	margin: 0.3rem 0 0;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem;
	max-width: 1200px;
	margin: 0 auto 3rem;
}

.footer-section {
	text-align: center;
}

.footer-section h3 {
	font-family: var(--h3-fontfamily);
	font-size: 1.8rem;
	color: var(--color-oscuro);
	margin: 0 0 1.8rem;
	font-weight: 500;
	letter-spacing: -0.01em;
}

.footer-section h4 {
	font-family: var(--h4-fontfamily);
	font-size: 0.9rem;
	color: var(--color-fucsia);
	margin: 0 0 1.5rem;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	font-weight: 500;
}

.footer-section p {
	color: var(--text-light);
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 0.5rem 0;
}

.footer-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-section ul li {
	margin: 0.8rem 0;
}

.footer-section ul li a,
.footer-section p a {
	color: var(--text-light);
	text-decoration: none;
	font-size: 0.95rem;
	transition: all 0.3s ease;
}

.footer-section ul li a:hover {
	color: var(--color-fucsia);
}

.footer-section p a {
	color: var(--color-fucsia);
}

.footer-section p a:hover {
	opacity: 0.8;
	text-decoration: underline;
}

.social-links {
	display: flex;
	gap: 1.5rem;
	justify-content: center;
}

.social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background-color: transparent;
	border: 1px solid var(--color-fucsia);
	border-radius: 0;
	color: var(--color-fucsia);
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
}

.social-icon svg {
	width: 20px;
	height: 20px;
}

.social-icon:hover {
	background-color: var(--color-fucsia);
	color: var(--white-color);
	border-color: var(--color-fucsia);
	box-shadow: 0 3px 10px var(--brand-overlay-15);
}

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid var(--border-light);
	color: var(--text-light);
	font-size: 0.85rem;
}

.developer-credit {
	margin-top: 1rem;
	color: var(--text-muted);
	font-size: 0.8rem;
	font-style: italic;
}
