/**
 * Página de preguntas frecuentes.
 */

.ht-faq-page {
	padding-bottom: 0;
}

.ht-faq-hero {
	position: relative;
	overflow: hidden;
	background: #ede5d8;
}

.ht-faq-hero::after {
	content: "";
	position: absolute;
	top: 0;
	right: -28px;
	bottom: 0;
	width: min(41vw, 690px);
	background: url("../images/faq/hero-squid.png") right top / contain no-repeat;
	opacity: 0.95;
	pointer-events: none;
}

.ht-faq-hero__inner {
	position: relative;
	z-index: 1;
	min-height: 352px;
	display: flex;
	align-items: center;
	padding: 74px 0 72px;
}

.ht-faq-hero__title {
	margin: 0;
	font-family: var(--ht-font-ui);
	font-size: clamp(3.35rem, 3rem + 1.2vw, 4.65rem);
	font-weight: 600;
	letter-spacing: -0.1em;
	line-height: 0.92;
	color: #4d4137;
	text-wrap: balance;
}

.ht-faq-content {
	padding: 64px 0 92px;
}

.ht-faq-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	align-items: start;
}

.ht-faq-grid__column {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.ht-faq-card {
	background: var(--ht-white);
	border: 1px solid rgba(222, 214, 200, 0.86);
	border-radius: 30px;
	padding: 28px 30px 24px;
	box-shadow: 0 6px 14px rgba(174, 164, 149, 0.13);
}

.ht-faq-card__header {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.ht-faq-card__icon {
	flex: 0 0 auto;
	width: 72px;
	height: 40px;
	border-radius: 999px;
	background: #c8a15f;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: inset 0 -2px 0 rgba(123, 89, 35, 0.14);
}

.ht-faq-card__icon img {
	width: 46px;
	height: auto;
	filter: brightness(0) invert(1);
	transform: translateX(1px);
}

.ht-faq-card__title {
	flex: 1;
	margin: 0;
	font-family: var(--ht-font-ui);
	font-size: clamp(1.8rem, 1.65rem + 0.36vw, 2.15rem);
	font-weight: 600;
	letter-spacing: -0.08em;
	line-height: 0.98;
	color: #4d4137;
	text-wrap: balance;
}

.ht-accordion__trigger {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	width: 100%;
	padding: 3px 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	text-align: left;
	cursor: pointer;
}

.ht-accordion__trigger::after {
	content: "+";
	flex: 0 0 auto;
	font-size: 1.3rem;
	font-weight: 500;
	line-height: 0.9;
	transform: translateY(2px);
}

.ht-accordion__trigger[aria-expanded="true"]::after {
	content: "−";
}

.ht-faq-card__divider {
	height: 1px;
	margin: 16px 0 14px;
	background: #e9e0d3;
}

.ht-faq-card__answer {
	font-size: 1rem;
	line-height: 1.42;
	color: #7f766e;
}

.ht-faq-card__panel[hidden] {
	display: none;
}

.ht-faq-card__answer > *:first-child {
	margin-top: 0;
}

.ht-faq-card__answer > *:last-child {
	margin-bottom: 0;
}

@media (max-width: 1100px) {
	.ht-faq-hero__inner {
		min-height: 300px;
	}

	.ht-faq-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 800px) {
	.ht-faq-hero::after {
		width: 58vw;
		opacity: 0.52;
	}

	.ht-faq-hero__inner {
		min-height: 240px;
		padding: 40px 0 44px;
	}

	.ht-faq-content {
		padding: 38px 0 68px;
	}

	.ht-faq-card {
		padding: 22px 22px 20px;
		border-radius: 26px;
	}

	.ht-faq-card__title {
		font-size: 1.75rem;
	}

	.ht-faq-card__answer {
		font-size: 1rem;
	}
}
