/**
 * Credelio Header 2 — barra logo Plus + enlaces + volver.
 */

.credelio-header-2 {
	width: 100%;
	background: #ffffff;
	box-sizing: border-box;
}

.credelio-header-2__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: clamp(16px, 2.5vw, 32px);
	max-width: min(100%, 1440px);
	margin: 0 auto;
	padding: clamp(14px, 1.8vw, 22px) clamp(16px, 2.8vw, 40px);
	box-sizing: border-box;
}

.credelio-header-2__brand {
	flex-shrink: 0;
	justify-self: start;
}

.credelio-header-2__logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 0;
}

.credelio-header-2__logo,
.elementor .credelio-header-2__logo {
	display: block;
	width: auto;
	height: clamp(36px, 3.8vw, 52px);
	object-fit: contain;
}

.credelio-header-2__actions {
	display: contents;
}

.credelio-header-2__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: clamp(16px, 2.2vw, 32px);
	grid-column: 2;
	justify-self: center;
}

.credelio-header-2__nav-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #1a1a1a;
	font-size: clamp(13px, 1.05vw, 15px);
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

a.credelio-header-2__nav-link:hover {
	color: #005032;
}

.credelio-header-2__nav-icon,
.elementor .credelio-header-2__nav-icon {
	display: block;
	width: 18px;
	height: 18px;
	object-fit: contain;
	flex-shrink: 0;
}

.credelio-header-2__back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 18px;
	border: 1.5px solid #005032;
	border-radius: 999px;
	background: transparent;
	color: #005032;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
	transition: background-color 0.2s ease, color 0.2s ease;
	grid-column: 3;
	justify-self: end;
}

a.credelio-header-2__back:hover {
	background: #e7f5ee;
	color: #005032;
}

.credelio-header-2__back--nolink {
	cursor: default;
}

@media (max-width: 720px) {
	.credelio-header-2__inner {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		padding-left: 12px;
		padding-right: 12px;
	}

	.credelio-header-2__actions {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
		width: 100%;
	}

	.credelio-header-2__nav {
		justify-content: flex-start;
	}

	.credelio-header-2__back {
		width: 100%;
		text-align: center;
	}
}
