.eha-accordion-wrapper {
	width: 100%;
}

.eha-accordion {
	display: flex;
	align-items: stretch;
	width: 100%;
	height: 400px;
	gap: 16px;
}

.eha-panel {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	display: block;
	overflow: hidden;
	border-radius: 16px;
	text-decoration: none;
	transition: flex-basis 0.5s ease, flex-grow 0.5s ease;
	cursor: pointer;
	background-color: #1a2744;
}

.eha-panel.is-active {
	flex: 0 0 60%;
}

.eha-panel__image {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 0.6s ease;
}

.eha-panel:hover .eha-panel__image {
	transform: scale(1.04);
}

.eha-panel__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(20, 30, 55, 0.72);
	transition: background-color 0.5s ease;
}

.eha-panel__arrow {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 5;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #F2994A;
	color: #FFFFFF;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.eha-panel:not(.is-active) .eha-panel__arrow {
	transform: rotate(180deg);
}

.eha-panel__content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	align-items: center;
	padding: 40px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease 0.15s;
}

.eha-panel.is-active .eha-panel__content {
	opacity: 1;
	visibility: visible;
}

.eha-panel__title {
	position: relative;
	z-index: 2;
	color: #FFFFFF;
	font-weight: 700;
	font-size: 28px;
	line-height: 1.35;
	max-width: 65%;
}

.eha-panel__label {
	position: absolute;
	z-index: 3;
	right: 24px;
	bottom: 32px;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	white-space: nowrap;
	color: #FFFFFF;
	font-weight: 700;
	font-size: 30px;
	letter-spacing: 1px;
	pointer-events: none;
}

.eha-panel:not(.is-active) .eha-panel__label {
	right: 50%;
	transform: translateX(50%) rotate(180deg);
}

.eha-cta-wrapper {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

.eha-cta-button {
	display: inline-block;
	font-weight: 600;
	text-decoration: none;
	border: 2px solid #F2994A;
	color: #F2994A;
	background-color: transparent;
	padding: 14px 32px;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.eha-cta-button:hover {
	background-color: #F2994A;
	color: #FFFFFF;
}

/* Responsive: apila los paneles en móvil */
@media (max-width: 767px) {
	.eha-accordion {
		flex-direction: column;
		height: auto;
	}

	.eha-panel {
		height: 90px;
		flex: none !important;
	}

	.eha-panel.is-active {
		height: 320px;
	}

	.eha-panel__label {
		writing-mode: horizontal-tb;
		transform: none;
		right: auto;
		left: 24px;
		bottom: 20px;
		font-size: 20px;
	}

	.eha-panel:not(.is-active) .eha-panel__label {
		right: auto;
		left: 24px;
		transform: none;
	}

	.eha-panel__title {
		max-width: 100%;
		font-size: 20px;
	}

	.eha-panel__content {
		padding: 20px;
	}
}
