/* =========================================================
   FLOWFLAMINGO — HERO REUTILIZABLE DE SERVICIOS
   ========================================================= */

/* Fondo general de las landings */
body:has(.ff-service-hero),
body:has(.ff-service-hero) .site,
body:has(.ff-service-hero) .site-content,
body:has(.ff-service-hero) .ast-container,
body:has(.ff-service-hero) #primary,
body:has(.ff-service-hero) .site-main,
body:has(.ff-service-hero) .entry-content {
	background: #f9f7f1 !important;
}

/* Elimina límites y espacios de Astra */
body:has(.ff-service-hero) .ast-container,
body:has(.ff-service-hero) #primary,
body:has(.ff-service-hero) .site-main,
body:has(.ff-service-hero) .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

/* Elimina espacios automáticos entre bloques */
body .entry-content:has(.ff-service-hero) > * {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

/* Sección completa */
body .ff-service-hero {
	width: 100%;
	margin: 0;
	padding: 0;
	background: #f9f7f1;
	color: #0f1115;
}

/* Contenedor limitado */
body .ff-service-hero__inner {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 152px 40px 64px;
	box-sizing: border-box;
}

/* =========================================================
   KICKER
   ========================================================= */

body .ff-service-hero__kicker {
	display: inline-flex;
	align-items: center;
	margin-bottom: 43.2px;
}

body .ff-service-hero__kicker-line {
	display: block;
	width: 28px;
	height: 1px;
	margin-right: 11.2px;
	flex: none;
	background: #b0361d;
	opacity: 0.7;
}

body .ff-service-hero__kicker-text {
	font-family: "Inter Tight", sans-serif;
	font-size: 12.48px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 1.4976px;
	text-transform: uppercase;
	color: #0f11158c;
}

/* =========================================================
   CONTENIDO PRINCIPAL
   ========================================================= */

body .ff-service-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

/* H1 */
body .ff-service-hero__title {
	margin: 0;
	max-width: 980px;
	font-family: "Inter Tight", sans-serif;
	font-size: 80px;
	font-weight: 500;
	line-height: 1.01;
	letter-spacing: -3.04px;
	color: #0f1115;
}

body .ff-service-hero__accent {
	display: block;
	color: #b0361d;
}

/* =========================================================
   TEXTO INTRODUCTORIO
   ========================================================= */

body .ff-service-hero__information {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	max-width: 680px;
	margin-top: 35.2px;
	padding: 0;
}

body .ff-service-hero__description {
	width: 100%;
	max-width: 680px;
}

body .ff-service-hero__description p {
	margin: 0 0 17.6px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
	color: #0f11159e;
}

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

body .ff-service-hero__description strong {
	font-weight: 500;
	color: #0f1115;
}

/* =========================================================
   BOTÓN
   ========================================================= */

body .ff-service-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 11.2px;
	margin-top: 28.8px;
	padding: 14.4px 25.6px;
	border: 1px solid #0f1115;
	border-radius: 100px;
	background: #0f1115;
	font-family: "Inter Tight", sans-serif;
	font-size: 14.4px;
	font-weight: 500;
	line-height: 1;
	color: #f9f7f1;
	text-decoration: none !important;
	transition:
		color 0.3s ease,
		background 0.3s ease,
		border-color 0.3s ease,
		transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Elimina el subrayado en todos los estados */
body .ff-service-hero__cta:link,
body .ff-service-hero__cta:visited,
body .ff-service-hero__cta:hover,
body .ff-service-hero__cta:focus,
body .ff-service-hero__cta:active {
	text-decoration: none !important;
}

body .ff-service-hero__cta svg {
	width: 17px;
	height: 17px;
	flex: none;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

body .ff-service-hero__cta:hover {
	border-color: #b0361d;
	background: #b0361d;
	color: #f9f7f1;
	transform: translateY(-3px);
}

body .ff-service-hero__cta:hover svg {
	transform: translateX(3px);
}

/* =========================================================
   FRANJA INFERIOR
   ========================================================= */

body .ff-service-hero__footer {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 72px;
	border-top: 1px solid #0f11151f;
	border-bottom: 1px solid #0f11151f;
}

body .ff-service-hero__footer-label {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 67px;
	padding: 0 24px;
	box-sizing: border-box;
	border-right: 1px solid #0f11151f;
	font-family: "Inter Tight", sans-serif;
	font-size: 11.52px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 1.2672px;
	text-transform: uppercase;
	color: #0f11158c;
}

body .ff-service-hero__footer-label:first-child {
	padding-left: 18px;
}

body .ff-service-hero__footer-label:last-child {
	padding-right: 0;
	border-right: 0;
}

/* Punto terracota */
body .ff-service-hero__footer-label::before {
	content: "";
	display: block;
	width: 4px;
	height: 4px;
	margin-right: 10px;
	flex: none;
	border-radius: 50%;
	background: #b0361d;
}

/* =========================================================
   SECCIONES EXCLUSIVAS DE LANDINGS SEO DE SERVICIOS
   ========================================================= */

/* Sistema a pantalla completa */
body .system__section.ff-system-section-services {
	width: 100vw !important;
	max-width: none !important;
	margin-right: calc(50% - 50vw) !important;
	margin-left: calc(50% - 50vw) !important;
	padding-top: 100px !important;
	padding-bottom: 100px !important;
	padding-left: 80px;
	box-sizing: border-box;
}

/* Mantiene transparente el contenido interior */
body .ff-system-section-services > * {
	box-sizing: border-box;
	background-color: transparent;
}

/* Limita los contenedores principales */
body .ff-system-section-services .system__inner,
body .ff-system-section-services .system__container {
	width: 100%;
	max-width: 1400px;
	margin-right: auto;
	margin-left: auto;
	box-sizing: border-box;
}

/* Sección negra a pantalla completa */
body .ff-faq-section.ff-faq-section-services {
	width: 100vw !important;
	max-width: none !important;
	margin-right: calc(50% - 50vw) !important;
	margin-left: calc(50% - 50vw) !important;
	padding: 0;
	box-sizing: border-box;
	background: #0f1115 !important;
	color: #f9f7f1;
}

/* Contenedor interior */
body .ff-faq-section-services .ff-service-faq__inner {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 100px 40px;
	box-sizing: border-box;
	background: transparent;
}

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

body .ff-faq-section-services .ff-service-faq__header {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
	column-gap: 80px;
	align-items: end;
	margin-bottom: 48px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(249, 247, 241, 0.16);
}

/* Etiqueta */
body .ff-faq-section-services .ff-service-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: 500;
	line-height: 1;
	letter-spacing: 1.8432px;
	text-transform: uppercase;
	color: rgba(249, 247, 241, 0.5);
}

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

/* Título */
body .ff-faq-section-services .ff-service-faq__title {
	margin: 0;
	max-width: 760px;
	font-family: "Inter Tight", sans-serif;
	font-size: 48px;
	font-weight: 500;
	line-height: 1.06;
	letter-spacing: -1.728px;
	color: #f9f7f1;
}

body .ff-faq-section-services .ff-service-faq__title span {
	display: block;
	color: #b0361d;
}

/* Introducción */
body .ff-faq-section-services .ff-service-faq__intro {
	margin: 0 0 4px;
	max-width: 440px;
	justify-self: end;
	font-size: 15.2px;
	font-weight: 400;
	line-height: 1.65;
	color: rgba(249, 247, 241, 0.6);
}

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

body .ff-faq-section-services .ff-service-faq__accordion {
	width: 100%;
}

/* Cada elemento */
body .ff-faq-section-services .ff-service-faq__item {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid rgba(249, 247, 241, 0.16);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

/* =========================================================
   PREGUNTAS
   ========================================================= */

body .ff-faq-section-services .ff-service-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 24px 0;
	box-sizing: border-box;
	background: transparent;
	font-family: "Inter Tight", sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.015em;
	text-align: left;
	color: #f9f7f1;
	cursor: pointer;
	list-style: none;
	transition: color 0.3s ease;
}

/* Elimina la flecha nativa */
body
	.ff-faq-section-services
	.ff-service-faq__question::-webkit-details-marker {
	display: none;
}

body .ff-faq-section-services .ff-service-faq__question::marker {
	content: "";
	display: none;
}

/* Número */
body .ff-faq-section-services .ff-service-faq__number {
	width: 40px;
	flex: none;
	font-family: "Inter Tight", sans-serif;
	font-size: 11.52px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 1.3824px;
	color: #b0361d;
}

/* Texto */
body .ff-faq-section-services .ff-service-faq__question-text {
	flex: 1;
	color: inherit;
}

/* =========================================================
   ICONO
   ========================================================= */

body .ff-faq-section-services .ff-service-faq__icon {
	position: relative;
	display: block;
	width: 22px;
	height: 22px;
	flex: none;
	color: rgba(249, 247, 241, 0.65);
	transition:
		color 0.3s ease,
		transform 0.4s ease;
}

body .ff-faq-section-services .ff-service-faq__icon::before,
body .ff-faq-section-services .ff-service-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 ease;
}

body .ff-faq-section-services .ff-service-faq__icon::before {
	width: 17px;
	height: 1.5px;
}

body .ff-faq-section-services .ff-service-faq__icon::after {
	width: 1.5px;
	height: 17px;
}

/* Hover */
body .ff-faq-section-services .ff-service-faq__question:hover {
	color: #b0361d;
}

body
	.ff-faq-section-services
	.ff-service-faq__question:hover
	.ff-service-faq__icon {
	color: #b0361d;
}

/* =========================================================
   RESPUESTAS
   ========================================================= */

body .ff-faq-section-services .ff-service-faq__answer {
	max-width: 780px;
	max-height: 0;
	margin: 0 0 0 56px;
	padding: 0 48px 0 0;
	overflow: hidden;
	box-sizing: border-box;
	font-size: 15.2px;
	font-weight: 400;
	line-height: 1.65;
	color: #f9f7f199;
	opacity: 0;
	transition:
		max-height 0.4s ease,
		padding 0.4s ease,
		opacity 0.3s ease;
}

body .ff-faq-section-services .ff-service-faq__answer p {
	margin: 0 0 14.4px;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
}

body .ff-faq-section-services .ff-service-faq__answer p:last-child {
	margin-bottom: 0;
}

/* Respuesta abierta */
body
	.ff-faq-section-services
	.ff-service-faq__item[open]
	.ff-service-faq__answer {
	max-height: 420px;
	padding-top: 2px;
	padding-bottom: 28.8px;
	opacity: 1;
}

/* Estado abierto */
body
	.ff-faq-section-services
	.ff-service-faq__item[open]
	.ff-service-faq__question {
	color: #f9f7f1;
}

/* Convierte el signo + en — */
body
	.ff-faq-section-services
	.ff-service-faq__item[open]
	.ff-service-faq__icon {
	color: #b0361d;
	transform: rotate(180deg);
}

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

/* Foco accesible */
body
	.ff-faq-section-services
	.ff-service-faq__question:focus-visible {
	outline: 1px solid #b0361d;
	outline-offset: 6px;
}

