﻿/**
 * Header Althus — pastilla flotante sobre el contenido (overlay).
 */

.elementor-location-header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	background: transparent !important;
	pointer-events: none;
}

.elementor-location-header .elementor-element,
.elementor-location-header .elementor-widget-container {
	background: transparent !important;
}

.elementor-widget-althus-header {
	pointer-events: none;
}

.elementor-widget-althus-header .althus-header {
	pointer-events: auto;
}

.althus-header {
	--althus-header-bar-light: #ffffff;
	--althus-header-bar-muted: rgba(220, 220, 220, 0.92);
	--althus-header-text: #0a0a0a;
	--althus-header-text-hover: #333333;
	width: 100%;
	box-sizing: border-box;
	font-family: var(--althus-font-family);
	position: relative;
	z-index: 100;
	background: transparent;
}

.althus-header *,
.althus-header *::before,
.althus-header *::after {
	box-sizing: inherit;
}

.althus-header__wrap {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: clamp(0.85rem, 1.8vw, 1.35rem) clamp(0.75rem, 1.5vw, 1.25rem) 0;
}

.althus-header__pill {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(16px, 3vw, 48px);
	width: 100%;
	max-width: none;
	margin: 0;
	min-height: 56px;
	padding: clamp(12px, 2vw, 18px) clamp(20px, 3vw, 36px);
	border-radius: 999px;
	background-color: var(--althus-header-bar-light);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
	pointer-events: auto;
}

.althus-header--bar-muted .althus-header__pill {
	background-color: var(--althus-header-bar-muted);
}

.althus-header__brand {
	flex: 0 0 auto;
}

.althus-header__logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 1;
}

.althus-header__logo-text {
	color: var(--althus-header-text);
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	font-weight: 600;
	letter-spacing: -0.02em;
}

.althus-header__logo-img {
	display: block;
	max-height: clamp(1.75rem, 3.2vw, 2.5rem);
	width: auto;
	height: auto;
}

.althus-header__nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: flex-end;
	min-width: 0;
}

.althus-header__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(0.75rem, 2vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.althus-header__item {
	margin: 0;
	padding: 0;
}

.althus-header__link {
	color: var(--althus-header-text);
	font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
	font-weight: 400;
	line-height: 1.3;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.althus-header__link:hover,
.althus-header__link:focus-visible {
	color: var(--althus-header-text-hover);
}

.althus-header__link--active {
	font-weight: 700;
}

.althus-header__hint {
	margin: 0;
	padding: 0 0.5rem;
	color: #64748b;
	font-size: 0.8125rem;
}

@media (max-width: 767px) {
	.althus-header__pill {
		flex-direction: column;
		align-items: stretch;
		border-radius: 24px;
	}

	.althus-header__nav {
		justify-content: center;
	}

	.althus-header__links {
		justify-content: center;
	}
}
