/**
 * FAQ · accordion + imagen CTA.
 */

.hec-faq {
	padding: clamp(3.5rem, 7vh, 5.5rem) 0;
	background: #fff;
	color: #111;
	overflow-x: clip;
}

.hec-faq__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 clamp(1.25rem, 3vw, 2.5rem);
	min-width: 0;
	box-sizing: border-box;
}

.hec-faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
	min-width: 0;
	width: 100%;
}

.hec-faq__list-wrap,
.hec-faq__aside {
	min-width: 0;
	max-width: 100%;
}

.hec-faq__list {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	min-width: 0;
}

.hec-faq__item {
	border: 1px solid #e6e6e6;
	background: #fff;
	transition: border-color 0.25s ease;
	min-width: 0;
	max-width: 100%;
}

.hec-faq__item.is-open {
	border-color: var(--hec-accent, #c9a227);
}

.hec-faq__trigger {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	max-width: 100%;
	margin: 0 !important;
	padding: 1.15rem 1.25rem !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: #111 !important;
	text-transform: none !important;
	letter-spacing: normal;
	box-sizing: border-box;
}

.hec-faq__trigger:hover,
.hec-faq__trigger:focus,
.hec-faq__trigger:focus-visible {
	background: transparent !important;
	color: #111 !important;
	outline: none !important;
	box-shadow: none !important;
}

.hec-faq__q {
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
	min-width: 0;
	flex: 1 1 auto;
	font-family: var(--hec-font-heading, var(--hec-font));
	font-size: clamp(0.98rem, 1.4vw, 1.5rem);
	font-weight: 400;
	line-height: 1.35;
}

.hec-faq__question {
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.hec-faq__num {
	flex-shrink: 0;
}

.hec-faq__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	border: 1px solid #d0d0d0;
	border-radius: 50%;
	color: #333;
	transition: transform 0.3s ease, border-color 0.25s ease, color 0.25s ease;
}

.hec-faq__item.is-open .hec-faq__icon {
	transform: rotate(90deg);
	border-color: var(--hec-accent, #c9a227);
	color: var(--hec-accent, #c9a227);
}

.hec-faq__panel {
	padding: 0 1.25rem 1.25rem;
	min-width: 0;
}

.hec-faq__panel[hidden] {
	display: none;
}

.hec-faq__answer {
	margin: 0;
	padding-right: 2.5rem;
	font-size: 18px;
	line-height: 1.7;
	color: #6b6b6b;
	font-weight: 400;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.hec-faq__aside {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.hec-faq__subtitle {
	margin: 0 0 0.65rem;
	color: var(--hec-section-subtitle, var(--hec-accent, #e07a2f));
	font-size: 0.92rem;
	font-weight: 600;
}

.hec-faq__title {
	margin: 0;
	font-family: var(--hec-font-heading, var(--hec-font));
	font-size: clamp(1.85rem, 3.2vw, 2.65rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: #111;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.hec-faq__media {
	position: relative;
	overflow: hidden;
	background: #1a1a1a;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.hec-faq__media > img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

.hec-faq__media-placeholder {
	width: 100%;
	aspect-ratio: 4 / 5;
	background: linear-gradient(145deg, #3a3a3a, #1a1a1a);
}

.hec-faq__cta {
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.1rem 1.15rem;
	background: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
	max-width: calc(100% - 2rem);
	box-sizing: border-box;
	min-width: 0;
}

.hec-faq__cta-copy {
	min-width: 0;
	flex: 1 1 auto;
}

.hec-faq__cta-title {
	margin: 0 0 0.25rem;
	font-family: var(--hec-font-heading, var(--hec-font));
	font-size: clamp(1.05rem, 4vw, 1.5rem);
	font-weight: 700;
	color: #111;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.hec-faq__cta-text {
	margin: 0;
	font-size: clamp(0.9rem, 3.2vw, 1rem);
	line-height: 1.45;
	color: #666;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.hec-faq__cta .hec-btn--faq,
.hec-faq__cta .hec-btn.hec-btn--accent {
	flex-shrink: 0;
	white-space: nowrap;
	padding: 0.85rem 1.25rem;
	font-size: 16px;
	max-width: 100%;
	box-sizing: border-box;
}

@media (max-width: 980px) {
	.hec-faq__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.hec-faq__aside {
		order: -1;
		width: 100%;
	}

	.hec-faq__title {
		max-width: 23ch;
	}

	.hec-faq__media {
		aspect-ratio: 4 / 5;
	}

	.hec-faq__media > img {
		height: 100%;
		object-fit: cover;
	}
}

@media (max-width: 640px) {
	.hec-faq__trigger {
		padding: 1rem !important;
		gap: 0.75rem;
	}

	.hec-faq__panel {
		padding: 0 1rem 1rem;
	}

	.hec-faq__cta {
		flex-direction: column;
		align-items: stretch;
		left: 0.75rem;
		right: 0.75rem;
		bottom: 0.75rem;
		padding: 1rem;
		max-width: calc(100% - 1.5rem);
		gap: 0.85rem;
	}

	.hec-faq__cta .hec-btn--faq,
	.hec-faq__cta .hec-btn.hec-btn--accent {
		width: 100%;
		justify-content: center;
		white-space: normal;
	}

	.hec-faq__answer {
		padding-right: 0;
		font-size: 16px;
	}
}
