/* Encabezado: logo (imagen) a la izquierda, enlaces a la derecha (Personalizador). */
.calera-header {
	width: 100%;
	background: #ffffff;
	box-sizing: border-box;
}

.calera-header__inner {
	width: 100%;
	max-width: none;
	margin: 0 auto;
	padding: 16px clamp(20px, 4vw, 72px);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: clamp(16px, 3vw, 48px);
	box-sizing: border-box;
}

.calera-header__brand {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.calera-header__logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	text-decoration: none;
}

.calera-header__logo-link:hover .calera-header__logo-img,
.calera-header__logo-link:focus-visible .calera-header__logo-img {
	opacity: 0.88;
}

.calera-header__logo-img {
	display: block;
	max-height: 56px;
	width: auto;
	height: auto;
	transition: opacity 0.2s ease;
}

.calera-header__nav {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.calera-header__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(1rem, 2.5vw, 2.5rem);
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: 700;
	font-size: clamp(0.95rem, 1.2vw, 1.125rem);
}

.calera-header__link {
	color: #00974c;
	text-decoration: none;
	padding: 0.25rem 0;
	cursor: pointer;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.calera-header__link:hover,
.calera-header__link:focus-visible {
	color: #007d3f;
	text-decoration: underline;
	text-underline-offset: 4px;
	opacity: 0.92;
}

.calera-header__admin-hint {
	margin: 0;
	font-size: 0.875rem;
	color: #666;
	max-width: 22rem;
	text-align: right;
	line-height: 1.4;
}

.calera-header__admin-hint--brand {
	text-align: left;
	max-width: 18rem;
}

@media (max-width: 768px) {
	.calera-header__inner {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.calera-header__brand {
		justify-content: center;
	}

	.calera-header__nav {
		justify-content: center;
	}

	.calera-header__links {
		justify-content: center;
	}

	.calera-header__admin-hint,
	.calera-header__admin-hint--brand {
		text-align: center;
		max-width: none;
	}
}
