.faq-home-section {
	background: #fbf9f6;
	isolation: isolate;
	min-height: clamp(42rem, 50vw, 48rem);
	overflow: hidden;
	position: relative;
}

.faq-home-section::before {
	background: #f5eee5;
	clip-path: polygon(0 0, 62% 0, 54% 100%, 0 100%);
	content: "";
	inset: 0;
	position: absolute;
	z-index: -1;
}

.faq-home-section::after {
	background: linear-gradient(90deg, rgba(251, 249, 246, 0.08), rgba(169, 132, 83, 0.12));
	content: "";
	inset: 0;
	position: absolute;
	z-index: -1;
}

.faq-home-section.service-parent-faq {
	background: #f3eee9;
}

.faq-home-section.service-parent-faq::before {
	background: #fbf9f6;
}

.faq-home-section.service-parent-faq::after {
	background: transparent;
}

.faq-home-section.service-parent-faq h2 {
	max-width: 30ch;
}

.faq-home-section.service-parent-faq .faq-home-section__cta-card h3 {
	max-width: 30ch;
}

.faq-home-section__inner {
	align-items: start;
	display: grid;
	gap: clamp(2.6rem, 5vw, 5.2rem);
	grid-template-columns: minmax(22rem, 0.95fr) minmax(29rem, 0.86fr);
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size);
	min-height: inherit;
	padding: clamp(4.4rem, 7vw, 7.1rem) var(--michelangelo-container-padding);
	position: relative;
	width: 100%;
}

.faq-home-section__content {
	max-width: 44rem;
}

.faq-home-section__eyebrow {
	color: #a98453;
	font-size: 0.78rem;
	font-weight: 850;
	letter-spacing: 0.16em;
	line-height: 1;
	margin: 0 0 1.05rem;
	text-transform: uppercase;
}

.faq-home-section h2 {
	font-size: var(--michelangelo-section-title-size);
	line-height: var(--michelangelo-section-title-line-height);
	margin: 0;
	max-width: 23ch;
}

.faq-home-section h2::after {
	background: var(--michelangelo-title-rule-color);
	content: "";
	display: block;
	height: var(--michelangelo-title-rule-height);
	margin-block-start: 1.05rem;
	width: var(--michelangelo-title-rule-width);
}

.faq-home-section__items {
	display: grid;
	margin-block-start: clamp(2rem, 3.3vw, 3rem);
}

.faq-home-section__item {
	border-bottom: 1px solid rgba(132, 104, 70, 0.27);
	color: #2d2925;
}

.faq-home-section__item summary {
	align-items: center;
	cursor: pointer;
	display: grid;
	font-size: 1rem;
	font-weight: 650;
	gap: 1rem;
	grid-template-columns: minmax(0, 1fr) auto;
	list-style: none;
	min-height: 3.86rem;
	padding: 0.65rem 0.8rem 0.65rem 0;
	transition: color 180ms ease, padding-inline-start 180ms ease;
}

.faq-home-section__item summary::-webkit-details-marker {
	display: none;
}

.faq-home-section__item summary::after {
	color: #a98453;
	content: "+";
	font-size: 1.35rem;
	font-weight: 400;
	line-height: 1;
	transition: transform 180ms ease;
}

.faq-home-section__item[open] summary,
.faq-home-section__item summary:hover,
.faq-home-section__item summary:focus-visible {
	color: #8f6a3d;
	padding-inline-start: 0.18rem;
}

.faq-home-section__item[open] summary::after {
	content: "-";
	transform: rotate(180deg);
}

.faq-home-section__item p {
	color: #625750;
	font-size: 0.95rem;
	line-height: 1.62;
	margin: -0.2rem 2.4rem 1.2rem 0;
	max-width: 34rem;
}

.faq-home-section__item p a {
	color: #a98453;
	font-weight: 760;
	text-decoration-color: rgba(169, 132, 83, 0.42);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.faq-home-section__item p a:hover,
.faq-home-section__item p a:focus-visible {
	color: #8c6637;
	text-decoration-color: currentColor;
}

.faq-home-section__cta-card {
	align-self: start;
	background-color: #efe8d8;
	background-image: url("/wp-content/themes/michelangelo-theme/assets/images/ui/sandstone-premium.webp");
	background-size: 512px 512px;
	box-shadow: 0 24px 58px rgba(40, 30, 22, 0.16);
	color: #2c2723;
	margin-block-start: clamp(0.2rem, 1vw, 0.9rem);
	margin-inline-start: auto;
	max-width: 38rem;
	padding: clamp(2.3rem, 3.45vw, 3.35rem) clamp(2.05rem, 3.1vw, 3rem);
	width: min(100%, 38rem);
}

.faq-home-section__cta-icon {
	color: #a98453;
	display: block;
	font-size: 2.75rem;
	line-height: 1;
	margin-block-end: 1.35rem;
}

.faq-home-section__cta-icon-image {
	height: 3.05rem;
	object-fit: contain;
	width: 3.05rem;
}

.faq-home-section__cta-card h3 {
	font-size: clamp(1.78rem, 2.35vw, 2.4rem);
	line-height: 1.08;
	margin: 0;
	max-width: 20ch;
}

.faq-home-section__cta-card h3::after {
	background: var(--michelangelo-title-rule-color);
	content: "";
	display: block;
	height: var(--michelangelo-title-rule-height);
	margin-block: 1.05rem 1.2rem;
	width: var(--michelangelo-title-rule-width);
}

.faq-home-section__cta-card p {
	color: #3d342e;
	font-size: 1rem;
	line-height: 1.65;
	margin: 0;
	max-width: 27rem;
}

.faq-home-section__actions {
	display: grid;
	gap: 0.85rem;
	grid-template-columns: repeat(2, minmax(11.8rem, 1fr));
	margin-block-start: 1.55rem;
}

.faq-home-section__button {
	align-items: center;
	border: 1px solid var(--michelangelo-button-outline-border);
	border-radius: 0;
	color: var(--michelangelo-button-outline-color);
	display: inline-flex;
	font-size: 0.88rem;
	font-weight: 800;
	gap: 0.85rem;
	justify-content: space-between;
	min-height: 3.05rem;
	padding: 0 1rem;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
	white-space: nowrap;
}

.faq-home-section__button--primary {
	background: var(--michelangelo-button-bg);
	border-color: var(--michelangelo-button-bg);
	color: #fff;
}

.faq-home-section__button--outline {
	background: rgba(251, 249, 246, 0.52);
}

.faq-home-section__button--whatsapp {
	background-color: #efe8d8;
	background-image: url("/wp-content/themes/michelangelo-theme/assets/images/ui/sandstone-premium.webp");
	background-size: 512px 512px;
	border-color: rgba(132, 104, 70, 0.32);
	color: #302a25;
	gap: 0.72rem;
	justify-content: flex-start;
	padding-inline: 1.05rem 1.2rem;
	text-align: left;
}

.faq-home-section__button--outline .material-symbols-outlined {
	font-size: 1.2rem;
}

.faq-home-section__whatsapp-icon {
	background: #9b7335;
	display: block;
	flex: 0 0 auto;
	height: 1.18rem;
	mask: url("../images/ui/whatsapp-icon-white-transparent.png") center / contain no-repeat;
	-webkit-mask: url("../images/ui/whatsapp-icon-white-transparent.png") center / contain no-repeat;
	width: 1.18rem;
}

.faq-home-section__button:hover,
.faq-home-section__button:focus-visible {
	background: rgba(155, 115, 53, 0.08);
	border-color: var(--michelangelo-button-outline-border);
	color: var(--michelangelo-button-hover-bg);
	transform: translateY(-1px);
}

.faq-home-section__button--primary:hover,
.faq-home-section__button--primary:focus-visible {
	background: var(--michelangelo-button-hover-bg);
	border-color: var(--michelangelo-button-hover-bg);
	color: #fff;
}

@media (max-width: 1100px) {
	.faq-home-section {
		min-height: 0;
	}

	.faq-home-section::before {
		clip-path: none;
		inset-inline-end: 24%;
	}

	.faq-home-section.service-parent-faq::before {
		clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
		inset-inline-end: 20%;
	}

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

	.faq-home-section__content {
		max-width: 45rem;
	}

	.faq-home-section__cta-card {
		margin-inline: 0;
		width: min(100%, 38rem);
	}
}

@media (max-width: 700px) {
	.faq-home-section::before {
		inset: 0;
	}

	.faq-home-section.service-parent-faq::before {
		clip-path: polygon(0 0, 100% 0, 100% 34%, 0 48%);
	}

	.faq-home-section__inner {
		gap: 2rem;
		padding-block: 4.2rem;
	}

	.faq-home-section h2,
	.faq-home-section.service-parent-faq h2 {
		font-size: var(--michelangelo-section-title-size-mobile);
		max-width: 100%;
	}

	.faq-home-section.service-parent-faq .faq-home-section__cta-card h3 {
		max-width: 100%;
	}

	.faq-home-section__item summary {
		font-size: 0.96rem;
		min-height: 3.7rem;
	}

	.faq-home-section__item p {
		margin-inline-end: 0;
	}

	.faq-home-section__cta-card {
		padding: 2.1rem 1.35rem 1.45rem;
	}

	.faq-home-section__cta-icon {
		font-size: 2.65rem;
		margin-block-end: 1.1rem;
	}

	.faq-home-section__cta-icon-image {
		height: 2.85rem;
		width: 2.85rem;
	}

	.faq-home-section__actions {
		gap: 0.65rem;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.faq-home-section__button,
	.faq-home-section__button--primary,
	.faq-home-section__actions .faq-home-section__button {
		font-size: 0.82rem;
		gap: 0.55rem;
		grid-column: auto;
		grid-row: auto;
		justify-self: stretch;
		min-height: 2.9rem;
		padding-inline: 0.72rem;
	}

	.faq-home-section__button--whatsapp {
		gap: 0.55rem;
		padding-inline: 0.72rem;
	}

	.faq-home-section.service-parent-faq,
	.faq-home-section.service-child-faq {
		background: #fdf9f2;
		background-image: none;
	}

	.faq-home-section.service-parent-faq::before,
	.faq-home-section.service-child-faq::before {
		background: #fdf9f2;
		clip-path: none;
		inset: 0;
	}

	.faq-home-section.service-parent-faq::after,
	.faq-home-section.service-child-faq::after {
		background: transparent;
		background-image: none;
	}

	.faq-home-section.service-parent-faq .faq-home-section__cta-card,
	.faq-home-section.service-child-faq .faq-home-section__cta-card,
	.faq-home-section.service-parent-faq .faq-home-section__button--whatsapp,
	.faq-home-section.service-child-faq .faq-home-section__button--whatsapp {
		background-color: #fdf9f2;
		background-image: none;
	}
}
