/*
 * Variaciones de las fichas de escuela y testimonio.
 * El sistema base vive en single-programa.css.
 */

.mosaico-school__hero,
.mosaico-testimony__hero {
	min-height: min(760px, 82vh);
}

.mosaico-school__hero-logo {
	align-items: center;
	background: rgba(255, 255, 255, .94);
	border-radius: 14px;
	display: flex;
	height: 86px;
	justify-content: center;
	margin-bottom: 25px;
	padding: 13px 18px;
	width: 150px;
}

.mosaico-school__hero-logo img {
	max-height: 100%;
	object-fit: contain;
	width: auto;
}

.mosaico-school__stat-strip {
	background: #fff;
	border: 1px solid var(--mosaico-border);
	border-radius: 17px;
	box-shadow: var(--mosaico-shadow);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 74px;
	overflow: hidden;
}

.mosaico-school__stat-strip > div {
	border-right: 1px solid var(--mosaico-border);
	padding: 27px 18px;
	text-align: center;
}

.mosaico-school__stat-strip > div:last-child {
	border-right: 0;
}

.mosaico-school__stat-strip strong,
.mosaico-school__stat-strip span {
	display: block;
}

.mosaico-school__stat-strip strong {
	color: var(--mosaico-primary);
	font-family: "Hanken Grotesk", Inter, sans-serif;
	font-size: clamp(25px, 3vw, 35px);
	line-height: 1;
}

.mosaico-school__stat-strip span {
	color: var(--mosaico-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .05em;
	line-height: 1.35;
	margin-top: 8px;
	text-transform: uppercase;
}

.mosaico-school__zone {
	background: var(--mosaico-soft);
	border-left: 4px solid var(--mosaico-primary-bright);
	border-radius: 0 12px 12px 0;
	margin-top: 30px;
	padding: 24px 27px;
}

.mosaico-school__zone h3 {
	font-size: 20px;
	margin-bottom: 8px;
}

.mosaico-school__zone p:last-child {
	margin-bottom: 0;
}

.mosaico-school__gallery {
	display: grid;
	gap: 10px;
	grid-template-columns: 1.45fr repeat(2, minmax(0, .75fr));
	grid-template-rows: repeat(2, 155px);
	margin-top: 35px;
}

.mosaico-school__gallery button {
	appearance: none;
	background: var(--mosaico-dark);
	border: 0;
	border-radius: 11px;
	cursor: zoom-in;
	overflow: hidden;
	padding: 0;
	min-width: 0;
}

.mosaico-school__gallery button:first-child {
	grid-row: 1 / 3;
}

.mosaico-school__gallery img {
	height: 100%;
	object-fit: cover;
	transition: transform .65s cubic-bezier(.2, .8, .2, 1), filter .4s ease;
	width: 100%;
}

.mosaico-school__gallery button:hover img {
	filter: brightness(1.04);
	transform: scale(1.055);
}

.mosaico-school__feature-grid {
	display: grid;
	gap: 21px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mosaico-school__feature-card {
	background: #fff;
	border: 1px solid var(--mosaico-border);
	border-radius: 15px;
	overflow: hidden;
	transition: border-color .4s ease, box-shadow .4s ease, transform .4s cubic-bezier(.2, .8, .2, 1);
}

.mosaico-school__feature-card:hover {
	border-color: rgba(6, 179, 227, .45);
	box-shadow: var(--mosaico-shadow);
	transform: translateY(-6px);
}

.mosaico-school__feature-card > img {
	aspect-ratio: 16 / 8.5;
	object-fit: cover;
	transition: transform .7s cubic-bezier(.2, .8, .2, 1);
	width: 100%;
}

.mosaico-school__feature-card:hover > img {
	transform: scale(1.045);
}

.mosaico-school__feature-card > div {
	padding: 23px;
}

.mosaico-school__feature-card h3 {
	margin-bottom: 7px;
}

.mosaico-school__feature-card p {
	color: var(--mosaico-muted);
	font-size: 14px;
	line-height: 1.55;
	margin-bottom: 0;
}

.mosaico-school__quality-grid {
	border-top: 1px solid var(--mosaico-border);
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 35px;
	padding-top: 30px;
}

.mosaico-school__quality-grid article {
	align-items: center;
	background: #fff;
	border: 1px solid var(--mosaico-border);
	border-radius: 11px;
	display: flex;
	gap: 14px;
	padding: 16px;
}

.mosaico-school__quality-grid article > div,
.mosaico-related-card,
.mosaico-testimony__school-card > div {
	min-width: 0;
}

.mosaico-school__quality-grid img {
	height: 52px;
	object-fit: contain;
	width: 52px;
}

.mosaico-school__quality-grid strong {
	display: block;
	font-size: 13px;
}

.mosaico-school__quality-grid p {
	color: var(--mosaico-muted);
	font-size: 11px;
	line-height: 1.4;
	margin: 3px 0 0;
}

.mosaico-school__map {
	background: var(--mosaico-dark);
	border-radius: 18px;
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(260px, .65fr);
	margin-bottom: 30px;
	min-height: 360px;
	overflow: hidden;
}

.mosaico-school__map iframe {
	border: 0;
	height: 100%;
	min-height: 360px;
	width: 100%;
}

.mosaico-school__map > div {
	align-self: center;
	color: #fff;
	padding: 32px;
}

.mosaico-school__map h3 {
	color: #fff;
	font-size: 23px;
	line-height: 1.35;
	margin: 18px 0;
}

.mosaico-school__map a {
	color: #8bdfff;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.mosaico-school__map a:hover {
	color: #fff;
}

.mosaico-school__travel-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
}

.mosaico-school__travel-grid > div {
	background: var(--mosaico-soft);
	border: 1px solid var(--mosaico-border);
	border-radius: 10px;
	padding: 17px;
}

.mosaico-school__travel-grid dt {
	color: var(--mosaico-primary);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.mosaico-school__travel-grid dd {
	color: #3d4b52;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	margin: 5px 0 0;
}

.mosaico-related-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mosaico-related-card {
	background: #fff;
	border: 1px solid var(--mosaico-border);
	border-radius: 16px;
	overflow: hidden;
	transition: border-color .4s ease, box-shadow .4s ease, transform .4s cubic-bezier(.2, .8, .2, 1);
}

.mosaico-related-card:hover {
	border-color: rgba(6, 179, 227, .45);
	box-shadow: var(--mosaico-shadow);
	transform: translateY(-6px);
}

.mosaico-related-card__image {
	background: var(--mosaico-soft);
	display: block;
	overflow: hidden;
}

.mosaico-related-card__image img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform .7s cubic-bezier(.2, .8, .2, 1);
	width: 100%;
}

.mosaico-related-card:hover .mosaico-related-card__image img {
	transform: scale(1.05);
}

.mosaico-related-card > div {
	padding: 24px;
}

.mosaico-related-card h3 {
	font-size: 21px;
	margin-bottom: 10px;
}

.mosaico-related-card h3 a {
	color: var(--mosaico-ink);
	text-decoration: none;
}

.mosaico-related-card h3 a:hover {
	color: var(--mosaico-primary);
}

.mosaico-related-card p {
	color: var(--mosaico-muted);
	font-size: 13px;
	line-height: 1.5;
}

.mosaico-related-card__footer {
	align-items: center;
	border-top: 1px solid var(--mosaico-border);
	display: flex;
	gap: 15px;
	justify-content: space-between;
	margin-top: 20px;
	padding-top: 17px;
}

.mosaico-related-card__footer > * {
	min-width: 0;
}

.mosaico-related-card__footer strong {
	color: var(--mosaico-primary);
	font-size: 15px;
}

.mosaico-related-card__footer a {
	color: var(--mosaico-teal);
	font-size: 11px;
	font-weight: 800;
	text-decoration: none;
}

.mosaico-school__media,
.mosaico-testimony__video {
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	margin-bottom: 30px;
	overflow: hidden;
}

.mosaico-school__media iframe,
.mosaico-school__media video,
.mosaico-testimony__video iframe,
.mosaico-testimony__video video {
	height: 100%;
	width: 100%;
}

.mosaico-testimonial--linked {
	color: inherit;
	display: block;
	text-decoration: none;
	transition: border-color .4s ease, box-shadow .4s ease, transform .4s cubic-bezier(.2, .8, .2, 1);
}

.mosaico-testimonial--linked:hover {
	border-color: rgba(6, 179, 227, .45);
	box-shadow: var(--mosaico-shadow);
	transform: translateY(-5px);
}

.mosaico-school__summary {
	text-align: center;
}

.mosaico-school__summary-logo {
	height: 86px;
	margin: 0 auto 20px;
	object-fit: contain;
	width: 150px;
}

.mosaico-school__summary h2 {
	font-size: 25px;
	margin-bottom: 6px;
}

.mosaico-school__summary-location {
	color: var(--mosaico-muted);
	font-size: 13px;
	margin-bottom: 0;
}

/* Testimonio */

.mosaico-testimony__hero {
	min-height: min(700px, 78vh);
}

.mosaico-testimony__hero .mosaico-program__hero-copy {
	max-width: 760px;
}

.mosaico-testimony__hero h1 {
	font-size: clamp(47px, 6vw, 72px);
}

.mosaico-testimony__rating,
.mosaico-testimony__profile-rating {
	color: #ffd45c;
	font-size: 18px;
	letter-spacing: 4px;
	margin-bottom: 16px;
}

.mosaico-testimony__lead-quote {
	background: #fff;
	border: 1px solid var(--mosaico-border) !important;
	border-left: 1px solid var(--mosaico-border) !important;
	border-radius: 18px;
	box-shadow: var(--mosaico-shadow);
	margin: 0 0 74px;
	overflow: hidden;
	padding: 39px 42px 35px;
	position: relative;
}

.mosaico-program blockquote.mosaico-testimony__lead-quote::before,
.mosaico-program blockquote.mosaico-testimony__lead-quote::after {
	content: none !important;
	display: none !important;
}

.mosaico-testimony__lead-quote > span {
	color: var(--mosaico-primary-bright);
	font-family: Georgia, serif;
	font-size: 95px;
	left: 25px;
	line-height: 1;
	opacity: .2;
	position: absolute;
	top: 10px;
}

.mosaico-testimony__lead-quote p {
	color: #2e3b41;
	font-family: "Hanken Grotesk", Inter, sans-serif;
	font-size: clamp(22px, 3vw, 31px);
	font-style: italic;
	line-height: 1.5;
	margin: 0;
	position: relative;
	z-index: 1;
}

.mosaico-testimony__story {
	font-size: 18px;
	line-height: 1.8;
}

.mosaico-related-card--wide {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: minmax(250px, .9fr) minmax(0, 1.1fr);
}

.mosaico-related-card--wide .mosaico-related-card__image img {
	height: 100%;
	min-height: 360px;
}

.mosaico-related-card--wide > div {
	align-self: center;
	padding: 36px;
}

.mosaico-related-card--wide .mosaico-button {
	margin-top: 25px;
}

.mosaico-testimony__school-card {
	background: var(--mosaico-dark);
	border-radius: 18px;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
	overflow: hidden;
}

.mosaico-testimony__school-card > img {
	height: 100%;
	min-height: 390px;
	object-fit: cover;
	width: 100%;
}

.mosaico-testimony__school-card > div {
	align-self: center;
	color: #fff;
	padding: 38px;
}

.mosaico-testimony__school-card h3 {
	color: #fff;
	font-size: 31px;
	margin-bottom: 13px;
}

.mosaico-testimony__school-card p {
	color: rgba(255, 255, 255, .67);
	font-size: 14px;
}

.mosaico-testimony__school-card strong {
	display: block;
	font-size: 12px;
	margin: 20px 0;
}

.mosaico-testimony__school-card .mosaico-button--primary:hover {
	background: var(--mosaico-dark);
	color: #fff;
}

.mosaico-testimony__image {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 14px;
	cursor: zoom-in;
	display: block;
	overflow: hidden;
	padding: 0;
	width: 100%;
}

.mosaico-testimony__image img {
	max-height: 650px;
	object-fit: cover;
	transition: transform .7s cubic-bezier(.2, .8, .2, 1);
	width: 100%;
}

.mosaico-testimony__image:hover img {
	transform: scale(1.025);
}

.mosaico-testimony__profile {
	text-align: center;
}

.mosaico-testimony__avatar {
	border: 5px solid #fff;
	border-radius: 50%;
	box-shadow: 0 10px 30px rgba(20, 43, 53, .16);
	height: 118px;
	margin: -78px auto 20px;
	object-fit: cover;
	width: 118px;
}

.mosaico-testimony__profile h2 {
	font-size: 27px;
	margin-bottom: 6px;
}

.mosaico-testimony__profile > p {
	color: var(--mosaico-muted);
	font-size: 13px;
}

.mosaico-testimony__profile .mosaico-overview {
	text-align: left;
}

.mosaico-testimony__sidebar-school h2 {
	font-size: 23px;
	margin-bottom: 15px;
}

.mosaico-testimony__sidebar-school > a {
	color: var(--mosaico-primary);
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

@media (max-width: 1050px) {
	.mosaico-school__stat-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mosaico-school__stat-strip > div:nth-child(2) {
		border-right: 0;
	}

	.mosaico-school__stat-strip > div:nth-child(-n+2) {
		border-bottom: 1px solid var(--mosaico-border);
	}

	.mosaico-school__map {
		grid-template-columns: minmax(0, 1.2fr) minmax(235px, .8fr);
	}

	.mosaico-related-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 820px) {
	.mosaico-school__hero,
	.mosaico-testimony__hero {
		min-height: 650px;
	}

	.mosaico-school__feature-grid,
	.mosaico-school__quality-grid {
		grid-template-columns: 1fr;
	}

	.mosaico-school__map,
	.mosaico-testimony__school-card,
	.mosaico-related-card--wide {
		grid-template-columns: 1fr;
	}

	.mosaico-school__map iframe {
		min-height: 300px;
	}

	.mosaico-testimony__school-card > img,
	.mosaico-related-card--wide .mosaico-related-card__image img {
		min-height: 280px;
	}

	.mosaico-testimony__avatar {
		margin-top: 0;
	}
}

@media (max-width: 560px) {
	.mosaico-school__hero-logo {
		height: 72px;
		width: 125px;
	}

	.mosaico-school__stat-strip {
		grid-template-columns: 1fr 1fr;
	}

	.mosaico-school__stat-strip > div {
		padding: 20px 10px;
	}

	.mosaico-school__stat-strip strong {
		font-size: clamp(21px, 8vw, 28px);
		overflow-wrap: anywhere;
	}

	.mosaico-school__gallery {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 210px 120px 120px;
	}

	.mosaico-school__gallery button:first-child {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.mosaico-school__travel-grid {
		grid-template-columns: 1fr;
	}

	.mosaico-school__map > div,
	.mosaico-testimony__school-card > div,
	.mosaico-related-card--wide > div {
		padding: 25px;
	}

	.mosaico-testimony__lead-quote {
		padding: 30px 24px;
	}

	.mosaico-testimony__lead-quote p {
		font-size: 21px;
	}

	.mosaico-testimony__hero h1 {
		font-size: clamp(34px, 10.5vw, 42px);
	}

	.mosaico-related-card__footer {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}
}
