/* -----------------------------------------------------------
   FAQ page (Figma nodes 554:10771 closed / 560:2964 expanded)
----------------------------------------------------------- */
.faq-hero {
	background: var(--c-cream);
	padding: 64px 0 24px;
	text-align: center;
}

.faq-hero h1 {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 56px;
	line-height: 64px;
	color: #134635;
	margin: 0 0 16px;
}

.faq-hero p {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 18px;
	line-height: 32px;
	color: #89a08e;
	max-width: 700px;
	margin: 0 auto;
}

.faq-list-section {
	background: var(--c-cream);
	padding: 40px 0 96px;
}

.faq-list {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.faq-item {
	background: #fff;
	border: 1px solid #ede7d0;
	border-radius: 16px;
	overflow: hidden;
}

.faq-item__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 24px;
	background: none;
	border: none;
	text-align: left;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 18px;
	line-height: 27px;
	color: #134635;
}

.faq-item__icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	transition: transform 0.25s ease;
}

/* Optional teaser line (e.g. "Medium / Large Breed Adults:") that stays
   visible in the collapsed state, above the expand/collapse answer. */
.faq-item__question:has(+ .faq-item__preview) {
	padding-bottom: 0;
}

.faq-item__preview {
	margin: 0;
	padding: 0 24px 24px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 18px;
	line-height: 27px;
	color: #134635;
}

.faq-item.is-open .faq-item__icon {
	transform: rotate(180deg);
}

.faq-item__answer-wrap {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.3s ease;
}

.faq-item.is-open .faq-item__answer-wrap {
	grid-template-rows: 1fr;
}

/* min-height:0 + overflow:hidden let this row genuinely collapse to 0 under
   grid-template-rows: 0fr; the visible padding lives on the inner
   .faq-item__answer-content instead — padding on this element itself would
   keep contributing to its height even at 0fr, leaking a sliver of the
   answer through in the collapsed state. */
.faq-item__answer {
	min-height: 0;
	overflow: hidden;
}

.faq-item__answer-content {
	padding: 0 24px 24px;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 18px;
	line-height: 32px;
	color: #626262;
}

.faq-item__answer-content p,
.faq-item__answer-content ul {
	margin: 0 0 12px;
}

.faq-item__answer-content p:last-child,
.faq-item__answer-content ul:last-child {
	margin-bottom: 0;
}

.faq-item__answer-content strong {
	color: #134635;
}

.faq-item__answer-content a {
	color: #134635;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.faq-item__answer-content ul {
	padding-left: 20px;
}

.faq-item__answer-content li {
	margin-bottom: 4px;
}

.faq-item__answer-content li:last-child {
	margin-bottom: 0;
}

@media (max-width: 640px) {
	.faq-hero {
		padding: 48px 0 16px;
	}

	.faq-hero h1 {
		font-size: 36px;
		line-height: 42px;
	}

	.faq-hero p {
		font-size: 16px;
		line-height: 26px;
	}

	.faq-item__question {
		padding: 18px;
		font-size: 16px;
	}

	.faq-item__preview {
		padding: 0 18px 18px;
		font-size: 16px;
	}

	.faq-item__answer-content {
		padding: 0 18px 18px;
		font-size: 15px;
		line-height: 24px;
	}
}
