/* =========================================================
   FLOWFLAMINGO — HERO DE TESTIMONIOS
   ========================================================= */

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

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

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

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

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

/* =========================================================
   ETIQUETA SUPERIOR
   ========================================================= */

body .ff-testimonials-hero__kicker {
	display: flex;
	align-items: center;
	gap: 6.4px;
	margin-bottom: 43.2px;
	font-family: "Inter Tight", sans-serif;
	font-size: 12.48px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 1.4976px;
	text-transform: uppercase;
}

body .ff-testimonials-hero__number {
	color: #b0361d;
	font-weight: 600;
}

body .ff-testimonials-hero__label {
	color: #0f11158c;
}

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

body .ff-testimonials-hero__content {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.65fr);
	column-gap: 96px;
	align-items: end;
}

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

body .ff-testimonials-hero__title span {
	display: block;
	color: #b0361d;
}

/* Columna lateral */
body .ff-testimonials-hero__side {
	max-width: 450px;
	justify-self: end;
	padding-bottom: 7px;
}

body .ff-testimonials-hero__lead {
	margin: 0 0 22.4px;
	font-size: 17.6px;
	font-weight: 400;
	line-height: 1.65;
	color: #0f11159e;
}

body .ff-testimonials-hero__note {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-family: "Inter Tight", sans-serif;
	font-size: 13.6px;
	font-weight: 500;
	line-height: 1.4;
	color: #0f1115;
}

body .ff-testimonials-hero__note::before {
	content: "";
	display: block;
	width: 22px;
	height: 1px;
	flex: none;
	background: #b0361d;
}

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

body .ff-testimonials-hero__footer {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 48px;
	margin-top: 72px;
	padding-top: 25.6px;
	border-top: 1px solid #0f11151f;
}

/* Cantidad de testimonios */
body .ff-testimonials-hero__stat {
	display: flex;
	align-items: flex-end;
	gap: 15px;
}

body .ff-testimonials-hero__stat-number {
	font-family: "Inter Tight", sans-serif;
	font-size: 47.2px;
	font-weight: 500;
	line-height: 0.84;
	letter-spacing: -1.416px;
	color: #0f1115;
}

body .ff-testimonials-hero__stat-label {
	font-size: 11.52px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 1.3824px;
	text-transform: uppercase;
	color: #0f11158c;
}

/* Mensaje derecho */
body .ff-testimonials-hero__statement {
	display: flex;
	align-items: flex-start;
	gap: 11.2px;
	font-size: 13.6px;
	font-weight: 400;
	line-height: 1.5;
	text-align: right;
	color: #0f11158c;
}

body .ff-testimonials-hero__dot {
	width: 5px;
	height: 5px;
	margin-top: 7px;
	flex: none;
	border-radius: 50%;
	background: #b0361d;
}

/* =========================================================
   FLOWFLAMINGO — GRILLA DE TESTIMONIOS
   Exclusivo para la landing /testimonios/
   ========================================================= */

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

/* Contenedor interior */
body .ff-testimonials-grid-section__inner {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 104px 40px 112px;
	box-sizing: border-box;
	background: #f9f7f1;
}

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

body .ff-testimonials-grid-section__header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-bottom: 56px;
	padding-bottom: 48px;
	border-bottom: 1px solid #0f11151f;
}

/* Título */
body .ff-testimonials-grid-section__title {
	margin: 0;
	max-width: 700px;
	font-family: "Inter Tight", sans-serif;
	font-size: 43.2px;
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -1.4688px;
	color: #0f1115;
}

body .ff-testimonials-grid-section__title span {
	display: block;
	color: #b0361d;
}

/* Introducción */
body .ff-testimonials-grid-section__intro {
	margin: 20.8px 0 0;
	max-width: 480px;
	font-size: 15.2px;
	font-weight: 400;
	line-height: 1.65;
	color: #0f11159e;
}

/* =========================================================
   GRILLA
   ========================================================= */

body .ff-testimonials-grid-section .ff-testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-flow: dense;
	gap: 20.8px;
	width: 100%;
}

/* =========================================================
   CARD GENERAL
   ========================================================= */

body .ff-testimonials-grid-section .ff-testimonial-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 390px;
	margin: 0;
	padding: 31.2px;
	overflow: hidden;
	box-sizing: border-box;
	border: 1px solid #0f111517;
	border-radius: 18px;
	background: #f9f7f1;
	color: #0f1115;
	transition:
		transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Línea superior */
body .ff-testimonials-grid-section .ff-testimonial-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 31.2px;
	width: 42px;
	height: 3px;
	background: #b0361d;
}

/* Hover */
body .ff-testimonials-grid-section .ff-testimonial-card:hover {
	transform: translateY(-6px);
	border-color: #0f11152e;
	box-shadow: 0 28px 55px -36px rgba(15, 17, 21, 0.38);
}

/* =========================================================
   PARTE SUPERIOR
   ========================================================= */

body .ff-testimonials-grid-section .ff-testimonial-card__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
	margin-bottom: 43.2px;
}

/* Número */
body .ff-testimonials-grid-section .ff-testimonial-card__number {
	font-family: "Inter Tight", sans-serif;
	font-size: 11.52px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 1.3824px;
	color: #b0361d;
}

/* Comilla */
body .ff-testimonials-grid-section .ff-testimonial-card__mark {
	height: 35px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 53px;
	font-weight: 400;
	line-height: 0.8;
	color: #b0361d;
	opacity: 0.4;
}

/* =========================================================
   TEXTO DEL TESTIMONIO
   ========================================================= */

body .ff-testimonials-grid-section .ff-testimonial-card__quote {
	margin: 0 0 48px;
	padding: 0;
	border: 0;
	font-family: "Inter Tight", sans-serif;
	font-size: 22.4px;
	font-weight: 500;
	line-height: 1.36;
	letter-spacing: -0.448px;
	color: inherit;
}

/* =========================================================
   AUTOR
   ========================================================= */

body .ff-testimonials-grid-section .ff-testimonial-card__author {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: auto;
	padding-top: 20.8px;
	border-top: 1px solid #0f11151f;
}

body .ff-testimonials-grid-section .ff-testimonial-card__name {
	font-family: "Inter Tight", sans-serif;
	font-size: 14.4px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.144px;
	color: inherit;
}

body .ff-testimonials-grid-section .ff-testimonial-card__role {
	font-size: 12.8px;
	font-weight: 400;
	line-height: 1.45;
	color: #0f11158c;
}

/* =========================================================
   CARD ANCHA
   ========================================================= */

body .ff-testimonials-grid-section .ff-testimonial-card--wide {
	grid-column: span 2;
	min-height: 390px;
	padding: 35.2px 38.4px;
}

body .ff-testimonials-grid-section .ff-testimonial-card--wide::before {
	left: 38.4px;
	width: 52px;
}

body
	.ff-testimonials-grid-section
	.ff-testimonial-card--wide
	.ff-testimonial-card__quote {
	max-width: 720px;
	font-size: 29.6px;
	line-height: 1.27;
	letter-spacing: -0.7408px;
}

/* =========================================================
   CARD TERRACOTA
   ========================================================= */

body .ff-testimonials-grid-section .ff-testimonial-card--accent {
	border-color: #b0361d;
	background: #b0361d;
	color: #f9f7f1;
}

body .ff-testimonials-grid-section .ff-testimonial-card--accent::before {
	background: #f9f7f1;
	opacity: 0.7;
}

body
	.ff-testimonials-grid-section
	.ff-testimonial-card--accent
	.ff-testimonial-card__number,
body
	.ff-testimonials-grid-section
	.ff-testimonial-card--accent
	.ff-testimonial-card__mark {
	color: #f9f7f1;
}

body
	.ff-testimonials-grid-section
	.ff-testimonial-card--accent
	.ff-testimonial-card__mark {
	opacity: 0.45;
}

body
	.ff-testimonials-grid-section
	.ff-testimonial-card--accent
	.ff-testimonial-card__author {
	border-top-color: rgba(249, 247, 241, 0.22);
}

body
	.ff-testimonials-grid-section
	.ff-testimonial-card--accent
	.ff-testimonial-card__role {
	color: rgba(249, 247, 241, 0.64);
}

/* =========================================================
   CARD OSCURA
   ========================================================= */

body .ff-testimonials-grid-section .ff-testimonial-card--dark {
	border-color: #0f1115;
	background: #0f1115;
	color: #f9f7f1;
}

body .ff-testimonials-grid-section .ff-testimonial-card--dark::before {
	background: #b0361d;
}

body
	.ff-testimonials-grid-section
	.ff-testimonial-card--dark
	.ff-testimonial-card__number {
	color: #b0361d;
}

body
	.ff-testimonials-grid-section
	.ff-testimonial-card--dark
	.ff-testimonial-card__mark {
	color: #f9f7f1;
	opacity: 0.26;
}

body
	.ff-testimonials-grid-section
	.ff-testimonial-card--dark
	.ff-testimonial-card__author {
	border-top-color: rgba(249, 247, 241, 0.18);
}

body
	.ff-testimonials-grid-section
	.ff-testimonial-card--dark
	.ff-testimonial-card__role {
	color: rgba(249, 247, 241, 0.58);
}

/* =========================================================
   ÚLTIMA CARD
   ========================================================= */

body .ff-testimonials-grid-section .ff-testimonial-card--final {
	background: #f1ecdc;
}

/* =========================================================
   NEUTRALIZACIÓN DE ESTILOS DEL TEMA
   ========================================================= */

body .ff-testimonials-grid-section article,
body .ff-testimonials-grid-section blockquote {
	box-shadow: none;
}

body .ff-testimonials-grid-section blockquote::before,
body .ff-testimonials-grid-section blockquote::after {
	content: none;
}
