/* ==================================================
   QUIÉNES SOMOS — ORIGEN
   ================================================== */

.ff-about-origin {
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	box-sizing: border-box;
	background-color: #f9f7f1;
	color: #0f1115;
}

/* Contenido interior */
.ff-about-origin .origin {
	position: relative;
	width: 100%;
	margin: 0 auto;
	padding: 0;
}

/* Etiqueta editorial */
.ff-about-origin .edl {
	display: inline-flex;
	align-items: center;
	gap: 9.6px;
	margin-bottom: 28.8px;
	font-size: 11.84px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 1.4208px;
	text-transform: uppercase;
	color: #0f11158c;
}

/* Número de la etiqueta */
.ff-about-origin .edl__num {
	font-family: 'Inter Tight', sans-serif;
	font-size: 12.8px;
	font-weight: 500;
	letter-spacing: 0.512px;
	color: #b0361d;
}

/* Línea editorial */
.ff-about-origin .edl::after {
	content: "";
	width: 41.6px;
	height: 1px;
	background: currentColor;
	opacity: 0.28;
}

/* Título principal */
.ff-about-origin .org__intro {
	max-width: 16ch;
	margin: 0 0 67.2px !important;
	font-family: 'Inter Tight', sans-serif !important;
	font-size: clamp(32px, 4vw, 57.6px) !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	letter-spacing: -0.042em !important;
	color: #0f1115 !important;
}

/* Líneas del título */
.ff-about-origin .org__intro .mask {
	display: block;
	overflow: hidden;
	padding-bottom: 0.14em;
	margin-bottom: -0.14em;
}

/* Palabra destacada */
.ff-about-origin .org__intro .accent {
	color: #b0361d;
}

/* Diagrama */
.ff-about-origin .org__diagram {
	--org-progress: 0%;

	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	width: 100%;
	border-top: 1px solid #0f1115;
	border-bottom: 1px solid #0f1115;
}

/* Línea de progreso inferior */
.ff-about-origin .org__diagram::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	z-index: 3;
	width: var(--org-progress);
	height: 2px;
	background: #b0361d;
	transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Cada etapa */
.ff-about-origin .org__node {
	position: relative;
	padding: 48px 32px;
	border-right: 1px solid #0f11151f;
	transition:
		background 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.ff-about-origin .org__node:last-child {
	border-right: 0;
}

/* Estado activo */
.ff-about-origin .org__node.active {
	background: rgba(176, 54, 29, 0.1);
	box-shadow: inset 0 2px 0 #b0361d;
}

/* Número de cada etapa */
.ff-about-origin .org__num {
	display: flex;
	align-items: center;
	gap: 9.6px;
	margin-bottom: 32px;
	font-family: 'Inter Tight', sans-serif;
	font-size: 12.8px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 1.024px;
	color: #0f111559;
	transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Línea posterior al número */
.ff-about-origin .org__num::after {
	content: "";
	height: 1px;
	flex: 1;
	background: #0f11151f;
	transition:
		background 0.5s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ff-about-origin .org__node.active .org__num {
	color: #b0361d;
}

.ff-about-origin .org__node.active .org__num::after {
	background: #b0361d;
	opacity: 0.5;
}

/* Punto */
.ff-about-origin .org__dot {
	width: 8px;
	height: 8px;
	flex: none;
	border-radius: 50%;
	background: #0f1115;
	opacity: 0.3;
	transition:
		background 0.5s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ff-about-origin .org__node.active .org__dot {
	background: #b0361d;
	opacity: 1;
	transform: scale(1.4);
}

/* Nombre de la etapa */
.ff-about-origin .org__phase {
	margin: 0 0 16px !important;
	font-family: 'Inter Tight', sans-serif !important;
	font-size: clamp(20.8px, 2vw, 26.4px) !important;
	font-weight: 500 !important;
	line-height: 1.14 !important;
	letter-spacing: -0.03em !important;
	color: #0f1115 !important;
	transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ff-about-origin .org__node.active .org__phase {
	color: #b0361d !important;
}

/* Descripción */
.ff-about-origin .org__desc {
	max-width: 38ch;
	margin: 0;
	font-size: clamp(15.36px, 1.15vw, 16.8px);
	font-weight: 400;
	line-height: 1.6;
	color: #0f11158c;
}

/* Flechas entre etapas */
.ff-about-origin .org__arrow {
	position: absolute;
	top: 50%;
	right: -7px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	background: #f9f7f1;
	color: #0f1115;
	font-size: 12px;
	transform: translateY(-50%);
	transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ff-about-origin .org__node.active .org__arrow {
	color: #b0361d;
}

.ff-about-origin .org__node:last-child .org__arrow {
	display: none;
}

/* ==================================================
   QUIÉNES SOMOS — DIRECCIÓN Y EQUIPO
   ================================================== */

.ff-about-direction {
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: 112px 40px;
	box-sizing: border-box;
	background-color: #ece5d3;
	color: #0f1115;
}

/* Contenido interior */
.ff-about-direction .direction {
	position: relative;
	width: 100%;
	margin: 0 auto;
	padding: 0;
}

/* Etiquetas editoriales */
.ff-about-direction .edl {
	display: inline-flex;
	align-items: center;
	gap: 9.6px;
	margin-bottom: 28.8px;
	font-size: 11.84px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 1.4208px;
	text-transform: uppercase;
	color: #0f11158c;
}

.ff-about-direction .edl__num {
	font-family: 'Inter Tight', sans-serif;
	font-size: 12.8px;
	font-weight: 500;
	letter-spacing: 0.512px;
	color: #b0361d;
}

.ff-about-direction .edl::after {
	content: "";
	width: 41.6px;
	height: 1px;
	background: currentColor;
	opacity: 0.28;
}

/* ==================================================
   DIRECCIÓN
   ================================================== */

.ff-about-direction .dir {
	display: grid;
	grid-template-columns: 0.78fr 1.22fr;
	align-items: center;
	gap: clamp(40px, 5vw, 88px);
}

/* Fotografía */
.ff-about-direction .dir__photo {
	position: relative;
	aspect-ratio: 4 / 5;
	margin: 0;
	overflow: hidden;
	border-radius: 18px;
	background: #ece5d3;
	box-shadow: 0 38px 90px -42px rgba(15, 17, 21, 0.5);
}

/* Imagen */
.ff-about-direction .dir__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.ff-about-direction .dir__photo:hover img {
	transform: scale(1.03);
}

/* Degradado inferior */
.ff-about-direction .dir__photo::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 44%;
	pointer-events: none;
	background:
		linear-gradient(
			to top,
			rgba(15, 17, 21, 0.58),
			transparent
		);
}

/* Nombre y cargo */
.ff-about-direction .dir__tag {
	position: absolute;
	right: 20.8px;
	bottom: 20px;
	left: 20.8px;
	z-index: 1;
	margin: 0;
	font-family: 'Inter Tight', sans-serif;
	letter-spacing: -0.24px;
	color: #f9f7f1;
}

/* Línea terracota */
.ff-about-direction .dir__tag::before {
	content: "";
	display: block;
	width: 34px;
	height: 2px;
	margin-bottom: 12px;
	background: #dc4829;
}

.ff-about-direction .dir__tag strong {
	display: block;
	font-size: 16.8px;
	font-weight: 600;
	line-height: 1.25;
}

.ff-about-direction .dir__tag span {
	display: block;
	margin-top: 2.4px;
	font-size: 13.12px;
	font-weight: 400;
	color: rgba(249, 247, 241, 0.82);
}

/* Título */
.ff-about-direction .dir__title {
	max-width: 18ch;
	margin: 0 0 32px !important;
	font-family: 'Inter Tight', sans-serif !important;
	font-size: clamp(32px, 4vw, 57.6px) !important;
	font-weight: 500 !important;
	line-height: 1.04 !important;
	letter-spacing: -0.042em !important;
	color: #0f1115 !important;
}

/* Líneas del título */
.ff-about-direction .dir__title .mask {
	display: block;
	overflow: hidden;
	padding-bottom: 0.14em;
	margin-bottom: -0.14em;
}

.ff-about-direction .dir__title .accent {
	color: #b0361d;
}

/* Cuerpo del texto */
.ff-about-direction .dir__body {
	padding-bottom: 8px;
}

.ff-about-direction .dir__body p {
	max-width: 800px;
	margin: 0;
	font-size: clamp(16.32px, 1.25vw, 18.4px);
	font-weight: 400;
	line-height: 1.64;
	text-align: justify;
	text-justify: inter-word;
	hyphens: auto;
	color: rgba(15, 17, 21, 0.84);
}

.ff-about-direction .dir__body p + p {
	margin-top: 18.4px;
}

.ff-about-direction .dir__body strong {
	font-weight: 600;
	color: #0f1115;
}

/* ==================================================
   EQUIPO
   ================================================== */

.ff-about-direction .team {
	margin-top: 88px;
	padding-top: 48px;
	border-top: 1px solid #0f111538;
}

/* Título del equipo */
.ff-about-direction .team__t {
	max-width: 800px;
	margin: 0 0 17.6px !important;
	font-family: 'Inter Tight', sans-serif !important;
	font-size: 57 !important;
	font-weight: 500 !important;
	line-height: 1.12 !important;
	letter-spacing: -0.035em !important;
	color: #0f1115 !important;
}

/* Textos introductorios */
.ff-about-direction .team__x {
	max-width: 62ch;
	margin: 0;
	font-size: 16.32px;
	font-weight: 400;
	line-height: 1.62;
	color: #0f11158c;
}

.ff-about-direction .team__x + .team__x {
	margin-top: 12.8px;
}

.ff-about-direction .team__x--hi {
	color: #0f1115;
	font-weight: 500;
}

/* Lista de responsabilidades */
.ff-about-direction .team__grid {
	margin-top: 44.8px;
	border-top: 1px solid #0f1115;
}

/* Cada fila */
.ff-about-direction .team__row {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns:
		51.2px
		minmax(0, 0.95fr)
		minmax(0, 1.05fr);
	align-items: baseline;
	column-gap: 48px;
	row-gap: 8px;
	padding: 30.4px 19.2px 30.4px 0;
	border-bottom: 1px solid #0f11151f;
}

/* Número editorial */
.ff-about-direction .team__row::before {
	content: attr(data-folio);
	padding-top: 6.4px;
	font-family: 'Inter Tight', sans-serif;
	font-size: 12.48px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 1.248px;
	color: #b0361d;
}

/* Barrido de fondo */
.ff-about-direction .team__row::after {
	content: "";
	position: absolute;
	inset: 0 -19.2px;
	z-index: -1;
	background: rgba(176, 54, 29, 0.1);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ff-about-direction .team__row:hover::after {
	transform: scaleX(1);
}

/* Nombre del área */
.ff-about-direction .team__row strong {
	font-family: 'Inter Tight', sans-serif;
	font-size: clamp(18.4px, 1.7vw, 22.4px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: #0f1115;
	transition: color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ff-about-direction .team__row:hover strong {
	color: #b0361d;
}

/* Descripción del área */
.ff-about-direction .team__row > span {
	max-width: 44ch;
	font-size: 15.84px;
	font-weight: 400;
	line-height: 1.58;
	color: #0f11158c;
}

/* ==================================================
   CTA
   ================================================== */

.ff-about-direction .dir__cta {
	margin-top: 48px;
}

.ff-about-direction .btn--primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9.6px;
	min-height: 48px;
	padding: 13.6px 25.6px;
	border-radius: 100px;
	background: #0f1115;
	color: #f9f7f1 !important;
	font-family: 'Inter Tight', sans-serif;
	font-size: 15.68px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none !important;
	transition:
		background 0.22s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.ff-about-direction .btn--primary svg {
	width: 14px;
	height: 14px;
	flex: none;
	transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.ff-about-direction .btn--primary:hover {
	background: #b0361d;
	transform: translateY(-2px);
	box-shadow: 0 12px 36px -14px rgba(176, 54, 29, 0.5);
}

.ff-about-direction .btn--primary:hover svg {
	transform: translateX(3px);
}

