/* =========================================================
   FLOWFLAMINGO — PREGUNTAS FRECUENTES
   ========================================================= */

body:has(.ff-faq),
body:has(.ff-faq) .site,
body:has(.ff-faq) .site-content,
body:has(.ff-faq) .ast-container,
body:has(.ff-faq) #primary,
body:has(.ff-faq) .site-main,
body:has(.ff-faq) .entry-content {
	background: #f9f7f1 !important;
}

/* Elimina espacios automáticos de Gutenberg */
body .entry-content:has(.ff-faq) {
	margin: 0;
	padding: 0;
}

body .entry-content:has(.ff-faq) > * {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

/* Contenedor principal */
body .ff-faq {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 152px 40px 112px;
	box-sizing: border-box;
	color: #0f1115;
	background: transparent;
}

/* =========================================================
   CABECERA
   ========================================================= */

body .ff-faq__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 0.65fr);
	column-gap: 80px;
	align-items: end;
	padding-bottom: 64px;
	border-bottom: 1px solid #0f11151f;
}

/* Etiqueta */
body .ff-faq__kicker {
	grid-column: 1 / -1;
	display: inline-flex;
	align-items: center;
	gap: 11.2px;
	margin-bottom: 35.2px;
	font-family: "Inter Tight", sans-serif;
	font-size: 11.52px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 1.8432px;
	text-transform: uppercase;
	color: #0f11158c;
}

body .ff-faq__kicker::before {
	content: "";
	display: block;
	width: 28px;
	height: 1px;
	flex: none;
	background: #b0361d;
	opacity: 0.8;
}

/* Título */
body .ff-faq__title {
	margin: 0;
	max-width: 780px;
	font-family: "Inter Tight", sans-serif;
	font-size: 72px;
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -2.736px;
	color: #0f1115;
}

body .ff-faq__title span {
	color: #b0361d;
}

/* =========================================================
   ACORDEÓN
   ========================================================= */

body .ff-faq__accordion {
	width: 100%;
}

body .ff-faq__item {
	margin: 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid #0f11151f;
	background: transparent;
}

/* Pregunta */
body .ff-faq__question {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) 32px;
	gap: 24px;
	align-items: center;
	width: 100%;
	padding: 31.2px 0;
	box-sizing: border-box;
	cursor: pointer;
	list-style: none;
	color: #0f1115;
	transition:
		color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
		padding-left 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

body .ff-faq__question::-webkit-details-marker {
	display: none;
}

body .ff-faq__question::marker {
	content: "";
}

/* Número */
body .ff-faq__number {
	font-family: "Inter Tight", sans-serif;
	font-size: 12.8px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.256px;
	color: #b0361d;
}

/* Texto de la pregunta */
body .ff-faq__question-text {
	font-family: "Inter Tight", sans-serif;
	font-size: 23.2px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.464px;
	color: inherit;
}

/* Icono + */
body .ff-faq__icon {
	position: relative;
	display: block;
	width: 24px;
	height: 24px;
	justify-self: end;
	color: #0f11159e;
	transition:
		color 0.3s ease,
		transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

body .ff-faq__icon::before,
body .ff-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition:
		opacity 0.3s ease,
		transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

body .ff-faq__icon::before {
	width: 18px;
	height: 1.5px;
}

body .ff-faq__icon::after {
	width: 1.5px;
	height: 18px;
}

/* Hover */
body .ff-faq__question:hover {
	color: #b0361d;
	padding-left: 8px;
}

body .ff-faq__question:hover .ff-faq__icon {
	color: #b0361d;
}

/* Pregunta abierta */
body .ff-faq__item[open] .ff-faq__question,
body .ff-faq__item[open] .ff-faq__question-text {
	color: #0f1115;
}

body .ff-faq__item[open] .ff-faq__icon {
	color: #b0361d;
	transform: rotate(180deg);
}

body .ff-faq__item[open] .ff-faq__icon::after {
	opacity: 0;
	transform: translate(-50%, -50%) rotate(90deg);
}

/* Respuesta */
body .ff-faq__answer {
	margin-left: 80px;
	padding: 0 48px 35.2px 0;
	box-sizing: border-box;
}

body .ff-faq__answer p {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	color: #0f11159e;
}

body .ff-faq__answer p:last-child {
	margin-bottom: 0;
}

/* Enlaces */
body .ff-faq__answer a {
	color: #0f1115;
	font-weight: 500;
	text-decoration-line: underline;
	text-decoration-color: #b0361dbf;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	transition:
		color 0.25s ease,
		text-decoration-color 0.25s ease;
}

body .ff-faq__answer a:hover {
	color: #b0361d;
	text-decoration-color: #b0361d;
}

/* Accesibilidad */
body .ff-faq__question:focus-visible {
	outline: 1px solid #b0361d;
	outline-offset: 8px;
	border-radius: 4px;
}

/* Neutraliza estilos externos */
body .ff-faq details,
body .ff-faq summary {
	background: transparent;
	border-radius: 0;
	box-shadow: none;
}

