/* ----------------------------------------------------------------------------------------
 * Amo Psicoyoga — Landing de Franquicias
 * Variante del sistema visual de viajes (trip-detail.css): hereda hero, secciones, botones,
 * bandas inmersivas, splits, tiles, paneles, mosaico y barra móvil. Acá solo viven los tokens
 * de la variante y los componentes propios (prefijo fr-). Carga únicamente en /franquicias,
 * después de trip-detail.css, y todo queda bajo .trip-detail--franquicias.
 * ---------------------------------------------------------------------------------------- */

.trip-detail--franquicias {
	--fr-gold-soft: #e3d8b6;
	--fr-green-soft: rgba(7, 62, 49, 0.06);
}

/* ---------- Hero ---------- */

.trip-detail--franquicias .trip-hero {
	min-height: min(92vh, 840px);
}

.trip-detail--franquicias .trip-hero__inner {
	max-width: 860px;
}

.trip-detail--franquicias .trip-hero h1 {
	font-size: clamp(38px, 5.8vw, 80px);
	max-width: 14ch;
}

.trip-detail--franquicias .trip-hero__claim {
	max-width: 34ch;
	font-size: clamp(18px, 2vw, 26px);
}

/* Velo más cerrado a la izquierda: el h1 largo tiene que leerse sobre cualquier foto */
.trip-detail--franquicias .trip-hero__media::after {
	background:
		linear-gradient(
			to right,
			rgba(5, 42, 33, 0.94) 0%,
			rgba(5, 42, 33, 0.84) 40%,
			rgba(5, 42, 33, 0.4) 70%,
			rgba(5, 42, 33, 0.2) 100%
		),
		linear-gradient(
			to top,
			rgba(5, 42, 33, 0.9) 0%,
			rgba(5, 42, 33, 0.55) 35%,
			rgba(7, 62, 49, 0.3) 70%,
			rgba(7, 62, 49, 0.42) 100%
		);
}

/* ---------- Manifiesto: frases cortas, grandes, escalonadas ---------- */

.fr-manifesto {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	display: grid;
	gap: 8px;
}

.fr-manifesto li {
	font-family: var(--tid-display);
	font-size: clamp(21px, 2.2vw, 30px);
	line-height: 1.3;
	color: var(--tid-green);
	text-wrap: balance;
}

.fr-manifesto .fr-manifesto__accent {
	margin-top: 8px;
	font-size: clamp(26px, 3vw, 42px);
	line-height: 1.15;
	color: var(--tid-gold);
}

.trip-detail .fr-vision__closing {
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--tid-line);
	font-size: 17px;
	color: var(--tid-ink);
}

/* En la sección "visión" los pills ocupan todo el ancho de la columna */
.fr-vision .trip-pill-list {
	margin-top: 4px;
}

/* ---------- Frases destacadas y mantra ---------- */

.trip-detail .fr-statement {
	font-family: var(--tid-display);
	font-size: clamp(24px, 2.8vw, 40px);
	line-height: 1.25;
	color: var(--tid-green);
	text-align: center;
	text-wrap: balance;
	max-width: 24ch;
	margin: clamp(40px, 5vw, 72px) auto 0;
}

.trip-detail .fr-statement span {
	color: var(--tid-gold);
}

.trip-detail .fr-statement--small {
	font-size: clamp(20px, 2vw, 28px);
	max-width: 30ch;
	margin-top: clamp(28px, 3vw, 44px);
}

.trip-detail .fr-statement--light {
	color: var(--tid-white);
	margin-top: clamp(32px, 4vw, 56px);
}

.trip-detail .fr-statement__sub {
	font-family: var(--tid-display);
	font-size: clamp(17px, 1.6vw, 22px);
	line-height: 1.5;
	color: var(--tid-muted);
	text-align: center;
	margin: 18px auto 0;
	max-width: 40ch;
}

.fr-mantra {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: clamp(30px, 4vw, 52px) 0 clamp(28px, 3vw, 40px);
	padding: 0;
	border-top: 1px solid var(--tid-line);
	border-bottom: 1px solid var(--tid-line);
}

.fr-mantra li {
	padding: clamp(20px, 2.4vw, 32px) 16px;
	font-family: var(--tid-display);
	font-size: clamp(18px, 1.8vw, 26px);
	line-height: 1.3;
	color: var(--tid-green);
	text-align: center;
	text-wrap: balance;
	border-left: 1px solid var(--tid-line);
}

.fr-mantra li:first-child {
	border-left: 0;
}

.fr-center {
	justify-content: center;
}

/* ---------- 2c. El lujo cambió ---------- */

.fr-luxury__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.fr-luxury__text .trip-quote {
	margin-top: 10px;
}

/* Tiles reutilizados del sistema con otra cantidad de columnas */
.trip-detail .fr-tiles--2 {
	grid-template-columns: repeat(2, 1fr);
	margin-bottom: 22px;
}

.trip-detail .fr-tiles--3 {
	grid-template-columns: repeat(3, 1fr);
	margin: 8px 0 24px;
}

.trip-detail .fr-tiles .trip-experience {
	padding: 22px 12px;
}

.trip-detail .fr-tiles .trip-experience span {
	font-size: 16px;
}

.trip-section--soft .trip-experience,
.trip-section .fr-tiles .trip-experience {
	background: var(--tid-white);
}

/* ---------- 3. Unidades de negocio ---------- */

.fr-units {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(14px, 1.6vw, 22px);
}

.fr-unit {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: clamp(24px, 2.4vw, 32px);
	background: var(--tid-white);
	border: 1px solid var(--tid-line-soft);
	border-radius: var(--tid-radius);
	box-shadow: var(--tid-shadow);
	transition: transform 0.3s ease, border-color 0.3s ease;
}

.fr-unit:hover {
	transform: translateY(-4px);
	border-color: var(--tid-gold);
}

.fr-unit--wide {
	grid-column: span 2;
}

/* La última unidad ocupa toda la fila como tarjeta horizontal: cierra la grilla sin huecos */
.fr-unit--full {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	column-gap: 22px;
	row-gap: 6px;
	align-items: start;
}

.fr-unit--full i {
	grid-row: 1 / span 2;
}

.fr-unit--full h3,
.fr-unit--full p {
	grid-column: 2;
}

.fr-unit i {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--tid-cream);
	color: var(--tid-green);
	font-size: 20px;
}

.fr-unit h3 {
	font-size: clamp(19px, 1.6vw, 22px);
	line-height: 1.3;
}

.trip-detail .fr-unit p {
	font-size: 15px;
	line-height: 1.65;
	margin: 0;
}

.trip-detail .fr-unit__note {
	color: var(--tid-ink);
	font-size: 14.5px;
}

.fr-chips {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 2px 0;
	padding: 0;
}

.fr-chips li {
	padding: 7px 14px;
	border-radius: 100px;
	background: var(--tid-cream);
	border: 1px solid var(--tid-line-soft);
	font-size: 13.5px;
	line-height: 1.3;
	color: var(--tid-green);
}

.fr-model__closing {
	margin-top: clamp(36px, 4vw, 60px);
}

/* ---------- 4. Video flexible ---------- */

.fr-video {
	padding: clamp(48px, 6vw, 88px) 0;
}

.fr-video__frame {
	position: relative;
	width: 100%;
	max-width: 1040px;
	aspect-ratio: 16 / 9;
	margin: 0 auto;
	border-radius: var(--tid-radius);
	overflow: hidden;
	background: var(--tid-green-night);
	box-shadow: 0 24px 60px rgba(3, 26, 20, 0.45);
	isolation: isolate;
}

/* Video vertical: el marco pasa a 9:16 y se angosta; el fondo difuminado llena los costados */
.fr-video__frame.is-vertical {
	aspect-ratio: 9 / 16;
	max-width: 420px;
}

.fr-video__bg {
	position: absolute;
	inset: -6%;
	width: 112%;
	height: 112%;
	object-fit: cover;
	filter: blur(22px) brightness(0.55);
	z-index: 0;
}

.fr-video__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain; /* horizontal llena el 16:9; vertical queda centrado sin deformar */
	z-index: 1;
	background: transparent;
}

.fr-video__poster {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.fr-video__poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s ease;
}

.fr-video__poster::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(5, 42, 33, 0.65), rgba(5, 42, 33, 0.15) 60%);
	transition: background 0.3s ease;
}

.fr-video__poster:hover img,
.fr-video__poster:focus-visible img {
	transform: scale(1.03);
}

.fr-video__play {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 1;
	display: grid;
	place-items: center;
	width: clamp(68px, 8vw, 92px);
	height: clamp(68px, 8vw, 92px);
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: var(--tid-gold);
	color: var(--tid-green);
	font-size: clamp(20px, 2.4vw, 28px);
	box-shadow: 0 0 0 12px rgba(207, 195, 161, 0.28);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fr-video__play i {
	margin-left: 4px;
}

.fr-video__poster:hover .fr-video__play,
.fr-video__poster:focus-visible .fr-video__play {
	transform: translate(-50%, -50%) scale(1.06);
	box-shadow: 0 0 0 18px rgba(207, 195, 161, 0.22);
}

.fr-video__frame.is-playing .fr-video__poster {
	display: none;
}

/* ---------- 5. Experiencia ---------- */

.trip-detail .fr-experience__identity {
	font-family: var(--tid-display);
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.35;
	color: var(--tid-green);
	margin-bottom: 12px;
}

/* ---------- 5b. Galería ---------- */

.fr-gallery {
	padding-top: clamp(36px, 4vw, 56px);
}

.fr-gallery__eyebrow {
	text-align: center;
	margin-bottom: 22px;
}

.fr-gallery .trip-mosaic__cell a {
	position: absolute;
	inset: 0;
	display: block;
}

/* ---------- 6. Diversificación ---------- */

.fr-income__list {
	justify-content: center;
	max-width: 900px;
	margin: 0 auto;
}

.trip-detail .fr-income__list li {
	font-size: 15px;
	padding: 11px 20px;
}

/* ---------- 7. No empezás desde cero ---------- */

.fr-access__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.fr-access .trip-immersive__inner {
	max-width: 560px;
}

.trip-detail .fr-access .trip-lead {
	margin-top: 8px;
}

.fr-access__panel {
	text-shadow: none;
}

.trip-detail .fr-access__panel .trip-panel__list li {
	font-size: 15px;
}

.trip-detail .fr-access__note {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--tid-line-soft);
	font-size: 15px;
	color: var(--tid-ink);
}

/* ---------- 8. Dos formas de abrir tu AMO ---------- */

.fr-offers__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(18px, 2.4vw, 32px);
}

.fr-offer {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: clamp(30px, 3.4vw, 48px);
	background: var(--tid-white);
	border: 1px solid var(--tid-line-soft);
	border-radius: var(--tid-radius);
	box-shadow: var(--tid-shadow);
	overflow: hidden;
	transition: transform 0.3s ease;
}

.fr-offer:hover {
	transform: translateY(-4px);
}

.fr-offer i {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--tid-cream);
	color: var(--tid-green);
	font-size: 24px;
	margin-bottom: 6px;
}

.fr-offer h3 {
	font-size: clamp(24px, 2.4vw, 34px);
	line-height: 1.2;
}

.trip-detail .fr-offer p {
	font-size: 16px;
	margin: 0;
}

.fr-offer--green {
	background: var(--tid-green);
	border-color: var(--tid-green);
	color: var(--tid-white);
}

.fr-offer--green i {
	background: rgba(255, 255, 255, 0.1);
	color: var(--tid-gold-light);
}

.trip-detail .fr-offer--green h3 {
	color: var(--tid-white);
}

.trip-detail .fr-offer--green p {
	color: rgba(255, 255, 255, 0.84);
}

/* ---------- 9. Perfil ---------- */

.fr-profile__grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.trip-detail .fr-profile__label {
	font-family: var(--tid-display);
	font-size: 20px;
	color: var(--tid-green);
	margin-top: 6px;
}

.fr-profile__list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin: 0;
	padding: 0;
}

.fr-profile__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	background: var(--tid-white);
	border: 1px solid var(--tid-line-soft);
	border-radius: var(--tid-radius-sm);
	transition: border-color 0.3s ease, transform 0.3s ease;
}

.fr-profile__item:hover {
	border-color: var(--tid-gold);
	transform: translateY(-3px);
}

.fr-profile__item i {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--tid-cream);
	color: var(--tid-green);
	font-size: 17px;
}

.fr-profile__item span {
	font-family: var(--tid-display);
	font-size: 17px;
	line-height: 1.3;
	color: var(--tid-green);
}

.fr-profile__closing {
	max-width: 760px;
	margin: clamp(32px, 4vw, 56px) auto 0;
	text-align: center;
}

.fr-profile__closing .trip-quote {
	text-align: left;
}

/* ---------- 10. Negocio local ---------- */

.fr-local .trip-reason {
	align-items: center;
	text-align: center;
}

.fr-local .trip-reason h4 {
	font-size: 19px;
}

.fr-local__closing {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.trip-detail .fr-local__closing p + p {
	margin-top: 0;
}

.trip-detail .fr-local__closing .fr-statement {
	margin-bottom: 20px;
}

/* ---------- 11. Proceso 01–06 ---------- */

.fr-process__grid {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(18px, 2.2vw, 30px);
	margin: 0;
	padding: 0;
	counter-reset: fr-step;
}

.fr-process__step {
	position: relative;
	padding: clamp(26px, 2.8vw, 36px) clamp(22px, 2.4vw, 30px) clamp(26px, 2.8vw, 36px);
	background: var(--tid-white);
	border: 1px solid var(--tid-line-soft);
	border-top: 3px solid var(--tid-gold);
	border-radius: 0 0 var(--tid-radius) var(--tid-radius);
	box-shadow: var(--tid-shadow);
}

.fr-process__num {
	display: block;
	font-family: var(--tid-display);
	font-size: clamp(44px, 4.6vw, 64px);
	line-height: 1;
	color: var(--tid-gold);
	margin-bottom: 14px;
	font-variant-numeric: tabular-nums;
}

.fr-process__step h3 {
	font-size: clamp(20px, 1.8vw, 24px);
	line-height: 1.3;
	margin-bottom: 12px;
}

.trip-detail .fr-process__step p {
	font-size: 15px;
	margin-bottom: 10px;
}

.trip-detail .fr-process__step p:last-child {
	margin-bottom: 0;
}

/* ---------- 12. Cierre ---------- */

.trip-detail .fr-cta .trip-cta__note {
	font-family: var(--tid-display);
	font-size: clamp(18px, 1.8vw, 24px);
	color: var(--fr-gold-soft);
}

/* ---------- Responsive ---------- */

@media only screen and (max-width: 1199px) {
	.fr-units {
		grid-template-columns: repeat(2, 1fr);
	}

	.fr-process__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media only screen and (max-width: 991px) {
	.fr-luxury__grid,
	.fr-access__grid,
	.fr-profile__grid {
		grid-template-columns: 1fr;
	}

	.fr-mantra {
		grid-template-columns: repeat(2, 1fr);
	}

	.fr-mantra li:nth-child(odd) {
		border-left: 0;
	}

	.fr-mantra li:nth-child(n + 3) {
		border-top: 1px solid var(--tid-line);
	}

	.fr-access .trip-immersive__inner {
		max-width: none;
	}
}

@media only screen and (max-width: 767px) {
	.trip-detail--franquicias .trip-hero h1 {
		max-width: none;
	}

	.fr-units,
	.fr-offers__grid,
	.fr-profile__list,
	.fr-process__grid {
		grid-template-columns: 1fr;
	}

	.fr-unit--wide,
	.fr-unit--full {
		grid-column: auto;
	}

	.fr-unit--full {
		display: flex;
	}

	.fr-unit--full h3,
	.fr-unit--full p {
		grid-column: auto;
	}

	.trip-detail .fr-tiles--3 {
		grid-template-columns: repeat(3, 1fr);
		gap: 8px;
	}

	.trip-detail .fr-tiles .trip-experience {
		padding: 16px 8px;
	}

	.trip-detail .fr-tiles .trip-experience span {
		font-size: 13.5px;
	}

	.trip-detail .fr-access__panel .trip-panel__list {
		grid-template-columns: 1fr;
	}

	.fr-video__frame {
		border-radius: var(--tid-radius-sm);
	}

	.trip-detail .fr-income__list li {
		font-size: 14px;
		padding: 9px 16px;
	}
}

@media only screen and (max-width: 380px) {
	.fr-mantra {
		grid-template-columns: 1fr;
	}

	.fr-mantra li {
		border-left: 0;
		border-top: 1px solid var(--tid-line);
	}

	.fr-mantra li:first-child {
		border-top: 0;
	}

	.trip-detail .fr-tiles--3 {
		grid-template-columns: repeat(2, 1fr);
	}

	.trip-detail .fr-tiles--2 {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fr-unit:hover,
	.fr-offer:hover,
	.fr-profile__item:hover {
		transform: none;
	}
}
