/**
 * Lang Horizon — homepage sections
 */

.gs-home {
	width: 100%;
	overflow-x: clip;
}

/* ==================================================  Hero */

.gs-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 470px;
	padding-block: 56px;
	background: linear-gradient(180deg, #f3f7fd 0%, #ffffff 100%);
	overflow: hidden;
	isolation: isolate;
}

.gs-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.gs-hero__img {
	position: absolute;
	top: 0;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gs-hero__img--city {
	left: 0;
	width: 52%;
	object-position: 52% 72%;
	-webkit-mask-image: linear-gradient(90deg, #000 48%, transparent 100%);
	mask-image: linear-gradient(90deg, #000 48%, transparent 100%);
}

.gs-hero__img--main {
	right: 0;
	width: 62%;
	object-position: 42% 38%;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
}

.gs-hero__album {
	position: absolute;
	inset: 0;
}

/* Photos of the album are stacked on top of each other and cross-faded, so the
   bandeau never shows a gap between two shots. */
.gs-hero__slide {
	opacity: 0;
	transition: opacity 1100ms ease-in-out;
}

.gs-hero__slide.is-active {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.gs-hero__slide {
		transition: none;
	}
}

.gs-hero__veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(96deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.74) 32%, rgba(255, 255, 255, 0.5) 47%, rgba(255, 255, 255, 0.1) 63%, rgba(255, 255, 255, 0) 75%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0) 74%, rgba(255, 255, 255, 0.55) 100%),
		linear-gradient(115deg, rgba(255, 243, 222, 0.5) 0%, rgba(255, 249, 238, 0.24) 45%, rgba(224, 239, 255, 0.3) 100%);
}

.gs-hero__inner {
	position: relative;
	z-index: 1;
}

.gs-hero__content {
	max-width: 560px;
}

.gs-hero__title {
	margin: 0 0 18px;
	font-size: clamp(2.05rem, 1.4rem + 2.1vw, 2.85rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.025em;
	color: #16559f;
	text-wrap: balance;
}

.gs-hero__text {
	margin: 0 0 26px;
	max-width: 470px;
	font-size: 16px;
	line-height: 1.65;
	color: #4d5b73;
}

.gs-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0 0 40px;
}

.gs-hero__trust {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 14px 34px;
	margin: 0;
	padding: 0;
}

.gs-hero__trust li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.gs-hero__trust-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex: none;
	border-radius: 50%;
	background: #fff;
	color: var(--gs-navy-600);
	box-shadow: 0 1px 3px rgba(14, 42, 85, 0.1), 0 4px 12px rgba(14, 42, 85, 0.06);
}

.gs-hero__trust-label {
	display: flex;
	flex-direction: column;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.35;
	color: #3f4d66;
}

/* ==================================================  Services */

.gs-services {
	padding-bottom: calc(var(--gs-section-y) - 14px);
}

.gs-services__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 88px 1fr;
	align-items: stretch;
}

.gs-service-card {
	position: relative;
	padding: 30px 32px 32px;
	border-radius: var(--gs-radius-lg);
}

.gs-service-card--study {
	background: var(--gs-blue-50);
}

.gs-service-card--language {
	background: var(--gs-green-50);
}

.gs-service-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 66px;
	height: 66px;
	border-radius: 50%;
	color: #fff;
	margin-bottom: 18px;
}

.gs-service-card--study .gs-service-card__icon {
	background: var(--gs-blue);
	box-shadow: 0 6px 18px rgba(26, 107, 216, 0.28);
}

.gs-service-card--language .gs-service-card__icon {
	background: var(--gs-green);
	box-shadow: 0 6px 18px rgba(18, 160, 91, 0.26);
}

.gs-service-card--language .gs-service-card__icon .gs-icon {
	transform: rotate(45deg);
}

.gs-service-card__title {
	margin: 0 0 10px;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.25;
}

.gs-service-card--study .gs-service-card__title {
	color: var(--gs-navy-600);
}

.gs-service-card--language .gs-service-card__title {
	color: #0f7a48;
}

.gs-service-card__text {
	margin: 0 0 18px;
	max-width: 340px;
	font-size: 14.5px;
	line-height: 1.6;
	color: #4f5d76;
}

.gs-service-card__list {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.gs-service-card__list li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 14px;
	line-height: 1.45;
	color: #46546c;
}

.gs-service-card__list .gs-icon {
	margin-top: 3px;
	stroke-width: 2.6;
}

.gs-service-card--study .gs-service-card__list .gs-icon {
	color: var(--gs-blue);
}

.gs-service-card--language .gs-service-card__list .gs-icon {
	color: var(--gs-green);
}

.gs-service-card__cta {
	margin: 0;
}

.gs-service-card__cta .gs-btn {
	font-size: 14px;
	padding: 11px 20px;
}

/* Decorative flight path between the two cards */

.gs-services__link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9fbde4;
}

.gs-services__path {
	position: absolute;
	top: 12%;
	bottom: 12%;
	left: -6px;
	right: -6px;
	width: auto;
	height: auto;
	stroke-linecap: round;
}

.gs-services__plane {
	position: relative;
	display: flex;
	color: var(--gs-blue);
	transform: rotate(-16deg);
}

/* ==================================================  Destinations */

.gs-destinations__grid {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
}

/* ==================================================  Search */

.gs-searchsection {
	padding-block: 12px calc(var(--gs-section-y) - 20px);
}

/* ==================================================  Offers */

.gs-offers__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

/* ==================================================  Why us */

.gs-why {
	background: var(--gs-surface-warm);
}

.gs-why__grid {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 26px;
	margin: 0;
	padding: 0;
}

.gs-value {
	display: flex;
	align-items: flex-start;
	gap: 13px;
}

.gs-value__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: 50%;
	color: #fff;
}

.gs-value__icon--purple {
	background: var(--gs-purple);
	box-shadow: 0 4px 12px rgba(124, 92, 250, 0.3);
}

.gs-value__icon--amber {
	background: var(--gs-amber);
	box-shadow: 0 4px 12px rgba(237, 160, 31, 0.3);
}

.gs-value__icon--green {
	background: #2ba85e;
	box-shadow: 0 4px 12px rgba(43, 168, 94, 0.3);
}

.gs-value__icon--blue {
	background: var(--gs-blue);
	box-shadow: 0 4px 12px rgba(26, 107, 216, 0.3);
}

.gs-value__icon--rose {
	background: var(--gs-rose);
	box-shadow: 0 4px 12px rgba(239, 90, 120, 0.3);
}

.gs-value__body {
	display: block;
}

.gs-value__title {
	margin: 2px 0 6px;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--gs-navy);
}

.gs-value__text {
	display: block;
	font-size: 13px;
	line-height: 1.55;
	color: #5e6c84;
}

/* ==================================================  Process */

.gs-process__list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	counter-reset: gs-step;
}

.gs-step {
	position: relative;
}

.gs-step__marks {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
}

.gs-step__number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex: none;
	border-radius: 50%;
	background: #fff;
	border: 1.5px solid currentColor;
	font-size: 13.5px;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.gs-step__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	flex: none;
	border-radius: 50%;
}

.gs-step--blue {
	color: var(--gs-blue);
}

.gs-step--blue .gs-step__icon {
	background: var(--gs-blue-50);
	color: var(--gs-blue);
}

.gs-step--green {
	color: var(--gs-green);
}

.gs-step--green .gs-step__icon {
	background: var(--gs-green-50);
	color: var(--gs-green);
}

.gs-step--amber {
	color: #d99413;
}

.gs-step--amber .gs-step__icon {
	background: var(--gs-amber-50);
	color: #d99413;
}

.gs-step--purple {
	color: var(--gs-purple);
}

.gs-step--purple .gs-step__icon {
	background: var(--gs-purple-50);
	color: var(--gs-purple);
}

.gs-step--purple .gs-step__icon .gs-icon {
	transform: rotate(45deg);
}

/* Dotted connector with the little node in the middle */

.gs-step__connector {
	position: absolute;
	top: 28px;
	left: 126px;
	right: -48px;
	height: 10px;
	pointer-events: none;
}

.gs-step__connector::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 0;
	right: 0;
	border-top: 2px dashed #cfd9e8;
}

.gs-step__connector::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 10px;
	height: 10px;
	margin-left: -5px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.55;
}

.gs-step__title {
	margin: 0 0 7px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--gs-navy);
}

.gs-step__text {
	margin: 0;
	max-width: 230px;
	font-size: 13px;
	line-height: 1.55;
	color: #5e6c84;
}

/* ==================================================  Testimonials */

.gs-carousel__viewport {
	overflow: hidden;
	padding: 4px;
	margin: -4px;
}

.gs-carousel__track {
	--gs-per-view: 3;
	--gs-carousel-gap: 22px;
	list-style: none;
	display: flex;
	gap: var(--gs-carousel-gap);
	margin: 0;
	padding: 0;
	transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.gs-carousel__item {
	flex: 0 0 calc((100% - (var(--gs-carousel-gap) * (var(--gs-per-view) - 1))) / var(--gs-per-view));
	display: flex;
}

.gs-carousel__item > .gs-testimonial {
	width: 100%;
}

.gs-testimonial {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 18px 20px 16px;
	background: #fff;
	border: 1px solid var(--gs-line);
	border-radius: var(--gs-radius);
	box-shadow: var(--gs-shadow-sm);
}

.gs-testimonial__head {
	display: flex;
	align-items: center;
	gap: 11px;
}

.gs-avatar {
	width: 42px;
	height: 42px;
	flex: none;
	border-radius: 50%;
	object-fit: cover;
	background: var(--gs-blue-50);
}

.gs-testimonial__name {
	display: block;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--gs-navy);
}

.gs-testimonial__place {
	display: block;
	font-size: 12px;
	font-weight: 500;
	color: var(--gs-blue);
}

.gs-testimonial__quote {
	margin: 0;
	padding: 0;
	border: 0;
	flex: 1;
}

.gs-testimonial__quote p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: #5b6980;
	font-style: italic;
}

.gs-testimonial .gs-stars {
	justify-content: flex-end;
}

.gs-carousel__dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 7px;
	margin-top: 24px;
}

.gs-carousel__dot {
	display: block;
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: var(--gs-radius-pill);
	background: #cfd9e8;
	transition: width 0.25s ease, background-color 0.25s ease;
}

button.gs-carousel__dot {
	cursor: pointer;
}

.gs-carousel__dot.is-active {
	width: 22px;
	background: var(--gs-blue);
}

.gs-carousel__dot:focus-visible {
	outline: 2px solid var(--gs-blue);
	outline-offset: 3px;
}

/* ==================================================  Tablet */

@media (max-width: 1180px) {
	.gs-destinations__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.gs-why__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 30px 26px;
	}

	.gs-step__connector {
		left: 118px;
		right: -30px;
	}
}

@media (max-width: 1024px) {
	.gs-hero {
		min-height: 420px;
	}

	.gs-hero__img--city {
		width: 40%;
	}

	.gs-hero__img--main {
		width: 68%;
	}

	.gs-hero__veil {
		background:
			linear-gradient(96deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.92) 46%, rgba(255, 255, 255, 0.66) 64%, rgba(255, 255, 255, 0.16) 82%, rgba(255, 255, 255, 0) 94%),
			linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 20%),
			linear-gradient(115deg, rgba(255, 246, 232, 0.4) 0%, rgba(226, 240, 255, 0.24) 100%);
	}

	.gs-hero__content {
		max-width: 620px;
	}

	.gs-hero__trust {
		gap: 14px 22px;
	}

	.gs-services__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}

	.gs-services__link {
		display: none;
	}

	.gs-service-card__text {
		max-width: none;
	}

	.gs-offers__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gs-process__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 34px 24px;
	}

	.gs-step:nth-child(2n) .gs-step__connector {
		display: none;
	}

	.gs-carousel__track {
		--gs-per-view: 2;
	}

}

/* ==================================================  Mobile */

@media (max-width: 720px) {
	.gs-hero {
		min-height: 0;
		padding-block: 40px 44px;
		background: linear-gradient(180deg, #eef4fd 0%, #ffffff 62%);
	}

	.gs-hero__img--city {
		display: none;
	}

	.gs-hero__img--main {
		width: 100%;
		height: 62%;
		top: auto;
		bottom: 0;
		-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 42%);
		mask-image: linear-gradient(180deg, transparent 0%, #000 42%);
		opacity: 0.28;
	}

	.gs-hero__veil {
		background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.72) 60%, rgba(255, 255, 255, 0.9) 100%);
	}

	.gs-hero__content {
		max-width: none;
	}

	.gs-hero__actions {
		margin-bottom: 30px;
	}

	.gs-hero__actions .gs-btn {
		flex: 1 1 100%;
	}

	.gs-hero__trust {
		gap: 12px;
		flex-direction: column;
	}

	.gs-service-card {
		padding: 24px 20px 26px;
	}

	.gs-service-card__cta .gs-btn {
		width: 100%;
	}

	.gs-destinations__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.gs-offers__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.gs-why__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}

	.gs-process__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.gs-step__connector {
		display: none !important;
	}

	.gs-step__marks {
		margin-bottom: 14px;
	}

	.gs-step__text {
		max-width: none;
	}

	.gs-carousel__track {
		--gs-per-view: 1;
	}

}

@media (prefers-reduced-motion: reduce) {
	.gs-carousel__track {
		transition: none;
	}
}

/* ---------------------------------------------------------------- spotlight
   The destination the agency leads with. Deliberately quieter than the hero:
   it sits mid-page and must not compete with it. */
.gs-spotlight__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 44px;
	align-items: center;
}

.gs-spotlight__media {
	border-radius: var(--gs-radius-md);
	overflow: hidden;
	box-shadow: var(--gs-shadow);
	aspect-ratio: 4 / 3;
	background: var(--gs-surface-soft);
}

.gs-spotlight__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gs-spotlight__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 12px;
	padding: 5px 13px 5px 6px;
	border-radius: 999px;
	background: var(--gs-surface-soft);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--gs-blue);
}

.gs-spotlight__eyebrow .gs-flag {
	width: 24px;
	height: 16px;
	border-radius: 3px;
}

.gs-spotlight__title {
	margin: 0 0 14px;
	font-size: clamp(28px, 3.4vw, 40px);
	line-height: 1.12;
	color: var(--gs-navy);
}

.gs-spotlight__text {
	margin: 0 0 24px;
	color: var(--gs-ink-soft);
	line-height: 1.75;
	max-width: 56ch;
}

.gs-spotlight__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 34px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.gs-spotlight__stats li {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.gs-spotlight__stats strong {
	font-size: 30px;
	line-height: 1;
	color: var(--gs-blue);
}

.gs-spotlight__stats span {
	font-size: 13.5px;
	color: var(--gs-ink-soft);
}

.gs-spotlight__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

@media (max-width: 900px) {
	.gs-spotlight__inner {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.gs-spotlight__media {
		aspect-ratio: 16 / 9;
	}
}
