/* =====================================================================
   HRI FAQ — "Frequently Asked Questions" + answers.   v1.0

   Figma frame 2359 × 1066 (file "13"); desktop sizes are Figma px × --u
   (--u = 100vw / 2359, capped at 1px). Inter Light, line boxes 1.21em:
     heading 36 (top 134.1) ▸24.9 subtitle 20 ▸60.8 questions 20 / 70%,
     rows 24.2 tall + 21.8 apart (46 pitch), columns at x 243 / 919 /
     1595 (676 wide); plus 15px, 16px after the text, #000 50%.
     Bottom space 156px keeps the last row clear of the navigation.
   Answers open below their question (grid rows 0fr → 1fr) and stay in
   the HTML when closed (read by search engines, hidden from keyboards
   via visibility).
   ===================================================================== */

.hri-faq {
	--u: min(calc(100vw / 2359), 1px);
	--hri-faq-bg: #fff6ea;
	--hri-faq-ink: #000000;
	--hri-faq-q: rgba(0, 0, 0, 0.7);
	--hri-faq-ease: cubic-bezier(0.19, 1, 0.22, 1);

	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	margin: 0;
	padding: calc(134.1 * var(--u)) 0 calc(156 * var(--u));
	background: var(--hri-faq-bg);
	color: var(--hri-faq-ink);
	font-family: "HRI Inter", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-weight: 300;
	letter-spacing: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	box-sizing: border-box;
}

.hri-faq *,
.hri-faq *::before,
.hri-faq *::after {
	box-sizing: border-box;
}

.hri-faq__slot {
	position: relative;
}

.hri-faq__mover {
	transform-origin: 50% 0;
}

/* ---------------------------------------------------------------------
   Heading
   --------------------------------------------------------------------- */
.hri-faq__head {
	text-align: center;
	padding: 0 24px;
}

.hri-faq .hri-faq__title {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: max(20px, calc(36 * var(--u)));
	font-weight: 300;
	line-height: 1.21;
	letter-spacing: 0;
	text-transform: none;
	color: var(--hri-faq-ink);
}

.hri-faq__slot--sub {
	margin-top: calc(24.9 * var(--u));
}

.hri-faq .hri-faq__sub {
	margin: 0;
	padding: 0;
	font-size: max(12px, calc(20 * var(--u)));
	font-weight: 300;
	line-height: 1.21;
	color: var(--hri-faq-ink);
}

/* ---------------------------------------------------------------------
   Questions
   --------------------------------------------------------------------- */
.hri-faq__grid {
	display: grid;
	grid-template-columns: repeat(3, calc(676 * var(--u)));
	align-items: start;
	margin-top: calc(60.8 * var(--u));
	padding-left: calc(243 * var(--u));
}

.hri-faq__col {
	min-width: 0;
	padding-right: calc(40 * var(--u));
}

.hri-faq__item + .hri-faq__item {
	margin-top: calc(21.8 * var(--u));
}

.hri-faq .hri-faq__q {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: max(12px, calc(20 * var(--u)));
	font-weight: 300;
	line-height: 1.21;
	letter-spacing: 0;
	text-transform: none;
}

.hri-faq .hri-faq__btn {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	font-family: inherit;
	font-size: 1em;
	font-weight: 300;
	line-height: inherit;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	white-space: normal;
	color: var(--hri-faq-q);
	cursor: pointer;
	transition: color 0.35s ease;
	-webkit-tap-highlight-color: transparent;
}

.hri-faq .hri-faq__btn:hover,
.hri-faq .hri-faq__btn:focus,
.hri-faq .hri-faq__btn[aria-expanded="true"] {
	background: none;
	color: var(--hri-faq-ink);
}

.hri-faq .hri-faq__btn:focus {
	outline: none;
}

.hri-faq .hri-faq__btn:focus-visible .hri-faq__q-text {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

/* Plus, inline after the last word (wraps with it). */
.hri-faq__icon {
	display: inline-block;
	width: calc(15 * var(--u));
	height: calc(15 * var(--u));
	min-width: 10px;
	min-height: 10px;
	margin-left: calc(16 * var(--u));
	vertical-align: calc(-0.5 * var(--u));
	opacity: 0.5;
	transition: opacity 0.35s ease, transform 0.6s var(--hri-faq-ease);
}

.hri-faq__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.hri-faq__icon path {
	fill: none;
	stroke: var(--hri-faq-ink);
	stroke-width: 2.5;
	stroke-linecap: round;
}

.hri-faq__btn:hover .hri-faq__icon {
	opacity: 0.8;
}

.hri-faq__btn[aria-expanded="true"] .hri-faq__icon {
	opacity: 0.8;
	transform: rotate(45deg);
}

/* ---------------------------------------------------------------------
   Answers
   --------------------------------------------------------------------- */
.hri-faq__a {
	display: grid;
	grid-template-rows: 0fr;
	visibility: hidden;
	transition:
		grid-template-rows 0.6s var(--hri-faq-ease),
		visibility 0s linear 0.6s;
}

.hri-faq__a-inner {
	min-height: 0;
	overflow: hidden;
}

.hri-faq__a-text {
	max-width: calc(600 * var(--u));
	padding: calc(14 * var(--u)) 0 calc(8 * var(--u));
	font-size: max(12px, calc(18 * var(--u)));
	font-weight: 300;
	line-height: 1.5;
	color: rgba(0, 0, 0, 0.6);
	opacity: 0;
	transform: translate3d(0, 10px, 0);
	transition: opacity 0.35s ease, transform 0.6s var(--hri-faq-ease);
}

.hri-faq__a-text > :first-child { margin-top: 0; }
.hri-faq__a-text > :last-child { margin-bottom: 0; }

.hri-faq .hri-faq__a-text p,
.hri-faq .hri-faq__a-text ul,
.hri-faq .hri-faq__a-text ol {
	margin: 0 0 0.7em;
	padding: 0;
	font: inherit;
	color: inherit;
}

.hri-faq .hri-faq__a-text ul,
.hri-faq .hri-faq__a-text ol {
	padding-left: 1.2em;
}

.hri-faq .hri-faq__a-text a {
	color: var(--hri-faq-ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.hri-faq .hri-faq__a-text strong,
.hri-faq .hri-faq__a-text b {
	font-weight: 400;
	color: rgba(0, 0, 0, 0.8);
}

.hri-faq__item.is-open .hri-faq__a {
	grid-template-rows: 1fr;
	visibility: visible;
	transition:
		grid-template-rows 0.7s var(--hri-faq-ease),
		visibility 0s linear 0s;
}

.hri-faq__item.is-open .hri-faq__a-text {
	opacity: 1;
	transform: none;
	transition: opacity 0.5s ease 0.12s, transform 0.8s var(--hri-faq-ease) 0.08s;
}

/* Answers when JS is off (or in the editor's first paint): show all. */
.hri-faq:not(.is-ready) .hri-faq__a {
	grid-template-rows: 1fr;
	visibility: visible;
}

.hri-faq:not(.is-ready) .hri-faq__a-text {
	opacity: 1;
	transform: none;
}

.hri-faq__empty {
	margin: calc(60 * var(--u)) auto 0;
	padding: 18px 22px;
	max-width: 560px;
	border: 1px dashed rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	font-size: 15px;
	text-align: center;
	color: rgba(0, 0, 0, 0.6);
}

/* ---------------------------------------------------------------------
   Tablets and phones: one list, questions with the plus on the right
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.hri-faq {
		--u: 1px;
		padding: 88px 48px 150px;
	}

	.hri-faq .hri-faq__title { font-size: 30px; line-height: 1.2; }
	.hri-faq__slot--sub { margin-top: 12px; }
	.hri-faq .hri-faq__sub { font-size: 16px; line-height: 1.4; }

	.hri-faq__grid {
		display: block;
		max-width: 760px;
		margin: 44px auto 0;
		padding: 0;
	}

	.hri-faq__col {
		padding: 0;
	}

	.hri-faq__item,
	.hri-faq__item + .hri-faq__item {
		margin: 0;
		border-top: 1px solid rgba(0, 0, 0, 0.1);
	}

	.hri-faq__col:last-child .hri-faq__item:last-child {
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	}

	.hri-faq .hri-faq__btn {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 20px;
		width: 100%;
		padding: 17px 0;
		line-height: 1.35;
		color: rgba(0, 0, 0, 0.78);
	}

	.hri-faq .hri-faq__q { font-size: 17px; line-height: 1.35; }

	.hri-faq__icon {
		flex: none;
		width: 14px;
		height: 14px;
		margin: 0;
	}

	.hri-faq__a-text {
		max-width: none;
		padding: 0 34px 20px 0;
		font-size: 16px;
		line-height: 1.55;
	}
}

@media (max-width: 767px) {
	.hri-faq {
		padding: 64px 24px 132px; /* room for the navigation's plus */
	}

	.hri-faq .hri-faq__title { font-size: 26px; }
	.hri-faq .hri-faq__sub { font-size: 15px; text-wrap: balance; }
	.hri-faq__grid { margin-top: 32px; }
	.hri-faq .hri-faq__q { font-size: 16px; }
	.hri-faq .hri-faq__btn { padding: 15px 0; gap: 16px; }
	.hri-faq__icon { width: 13px; height: 13px; }
	.hri-faq__a-text { padding: 0 28px 18px 0; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
	.hri-faq__a,
	.hri-faq__a-text,
	.hri-faq__icon {
		transition: none !important;
	}
}

/* ---------------------------------------------------------------------
   Full-bleed: undo Elementor container width / padding around the widget
   --------------------------------------------------------------------- */
.e-con:has(> .elementor-widget-hri-faq),
.e-con:has(> .e-con-inner > .elementor-widget-hri-faq) {
	--content-width: 100% !important;
	width: 100% !important;
	max-width: none !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 0 !important;
	border: 0 !important;
}

.e-con:has(> .e-con-inner > .elementor-widget-hri-faq) > .e-con-inner {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 0 !important;
}

.elementor-widget-hri-faq,
.elementor-widget-hri-faq > .elementor-widget-container {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}