.page-contact {
	padding-top: clamp(76px, 10vw, 96px);
}

.page-contact .ct-main {
	background: #fff;
	padding-bottom: 48px;
}

/* ---------- Hero ---------- */
.ct-hero {
	position: relative;
	margin: 0;
	color: #fff;
	background: #01032c;
	overflow: hidden;

}

.ct-hero__img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.ct-hero__shade {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 110% 85% at 50% 30%, rgba(0, 12, 32, 0) 0%, rgba(0, 10, 28, 0.35) 100%), linear-gradient(180deg, rgba(2, 12, 34, 0.38) 0%, rgba(2, 14, 38, 0.58) 52%, rgba(1, 8, 28, 0.78) 100%);
	pointer-events: none;
}

.ct-hero__inner {
	position: absolute;
	inset: 0;
	z-index: 1;
	padding: clamp(32px, 5vw, 56px) 0 clamp(36px, 5vw, 64px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: #fff;
	text-align: left;
}

.ct-hero__crumb {
	margin: 0 0 12px;
	font-size: var(--lp-fs-sm);
	line-height: 1.5;
	color: rgba(255, 255, 255, .82);
	opacity: 1;
}

.ct-hero__crumb a {
	color: rgba(255, 255, 255, .9);
	text-decoration: none;
}

.ct-hero__crumb a:hover {
	text-decoration: underline;
}

.ct-hero__title {
	margin: 0 0 12px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.2;
	font-weight: 800;
}

.ct-hero__lead {
	margin: 0;
	max-width: 62ch;
	color: rgba(255, 255, 255, .88);
	font-size: clamp(15px, 1.35vw, 18px);
	line-height: 1.65;
}

.ct-hero__actions {
	margin-top: 20px;
	display: flex;
	gap: 12px;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-items: center;
}

.ct-hero__title {
	font-weight: 900;
}

@media (max-width: 640px) {
	.ct-hero__inner {
		text-align: center;
	}

	.ct-hero__actions {
		justify-content: center;
	}

	.ct-hero__lead {
		margin-left: auto;
		margin-right: auto;
	}
}

.ct-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	padding: clamp(8px, 1.2vw, 12px) clamp(16px, 2.6vw, 32px);
	font-size: clamp(14px, 1.1vw, 18px);
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .12s ease;
}

.ct-btn--primary {
	background: #fff;
	color: #0b5fff;
}

.ct-btn--primary:hover {
	background: rgba(255, 255, 255, .92);
	transform: translateY(-1px);
}

.ct-btn--ghost {
	border: 2px solid rgba(255, 255, 255, .9);
	color: #fff;
	background: transparent;
}

.ct-btn--ghost:hover {
	background: #fff;
	color: #0b5fff;
}

/* ---------- Section headings ---------- */
.ct-section-head {
	text-align: center;
	margin-bottom: 0;
}

.ct-section-title {
	margin: 0 0 var(--lp-title-bar-gap);
	font-size: var(--lp-fs-h2);
	font-weight: 700;
	line-height: 1.25;
	color: #1f2937;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* ---------- Info cards ---------- */
.ct-info-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--lp-gap);
}

@media (min-width: 768px) {
	.ct-info-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.ct-info-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.ct-info-card {
	background: #fff;
	border-radius: 12px;
	border: 1px solid rgba(2, 6, 23, .08);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
	padding: clamp(16px, 2.2vw, 24px);
	text-align: center;
	transform: translateY(0);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ct-info-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(0, 0, 0, .08);
	border-color: rgba(11, 95, 255, .22);
}

.ct-info-card__icon {
	width: 44px;
	height: 44px;
	margin: 0 auto 12px;
	border-radius: 9999px;
	display: grid;
	place-items: center;
	background: rgba(11, 95, 255, .10);
	color: #0b5fff;
	font-size: 18px;
}

.ct-info-card__title {
	margin: 0 0 8px;
	font-size: clamp(16px, 1.25vw, 20px);
	font-weight: 700;
	color: #0f172a;
	line-height: 1.35;
	text-transform: uppercase;
}

.ct-info-card__text {
	margin: 0;
	color: #475569;
	line-height: 1.65;
	font-size: var(--lp-fs-md);
	word-break: break-word;
}

a.ct-info-card__text {
	color: inherit;
	text-decoration: none;
}

a.ct-info-card__text:hover {
	color: #0b5fff;
	text-decoration: none;
}

a.ct-info-card__text:visited {
	color: inherit;
}

a.ct-info-card__text:focus-visible {
	outline: 2px solid rgba(11, 95, 255, .55);
	outline-offset: 3px;
	border-radius: 6px;
}

.ct-info-card__link {
	color: inherit;
	text-decoration: none;
	word-break: break-all;
}

.ct-info-card__link:visited {
	color: inherit;
}

.ct-info-card__link:hover {
	text-decoration: none;
	color: #0b5fff;
}

/* ---------- Form + map ---------- */
.ct-form-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--lp-gap);
	align-items: start;
}

@media (min-width: 1024px) {

	/* Desktop: form on left, map on right */
	.ct-form-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: stretch;
	}
}

.ct-form-card,
.ct-map-card {
	background: #fff;
	border-radius: 16px;
	border: 1px solid rgba(2, 6, 23, .08);
	box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
	overflow: hidden;
}

.ct-form-card {
	padding: clamp(16px, 2.2vw, 24px);
}

.ct-map-card {
	padding: 0;
}

.ct-map-card {
	height: 100%;
	display: flex;
}

.ct-map__frame {
	flex: 1;
	min-height: 0;
}

.ct-form2 {
	display: grid;
	gap: 14px;
}

.ct-form2__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.ct-form2__row--single {
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.ct-form2__row {
		grid-template-columns: 1fr 1fr;
	}

	.ct-form2__row--single {
		grid-template-columns: 1fr;
	}
}

.ct-field {
	border: 1px solid rgba(2, 6, 23, .10);
	border-radius: 12px;
	padding: 10px 12px;
	background: #fff;
	transition: box-shadow .15s ease, border-color .15s ease;
}

.ct-field:focus-within {
	border-color: rgba(11, 95, 255, .55);
	box-shadow: 0 0 0 4px rgba(11, 95, 255, .12);
}

.ct-input,
.ct-textarea,
.ct-select {
	width: 100%;
	border: 0;
	outline: none;
	background: transparent;
	color: #0b1220;
	font-size: var(--lp-fs-md);
	font-family: inherit;
	font-weight: inherit;
}

.ct-textarea {
	resize: vertical;
	min-height: 150px;
	line-height: 1.6;
}

.ct-select {
	appearance: none;
}

.ct-counter {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 8px;
	color: #64748b;
	font-size: var(--lp-fs-sm);
	line-height: 1.4;
}

.ct-form2__row--captcha {
	grid-template-columns: 160px 1fr;
	align-items: center;
}

@media (max-width: 520px) {
	.ct-form2__row--captcha {
		grid-template-columns: 1fr;
	}
}

.ct-captcha {
	width: 160px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid rgba(2, 6, 23, .10);
	object-fit: cover;
	cursor: pointer;
	background: #fff;
}

.ct-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: center;
	width: auto;
	min-width: 180px;
	font-family: inherit;
	font-size: var(--lp-fs-md);
	border: none;
	border-radius: 12px;
	padding: 12px 14px;
	background: linear-gradient(135deg, #0b5fff 0%, #1d4ed8 100%);
	color: #fff;
	font-weight: 700;
	letter-spacing: .4px;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.ct-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(11, 95, 255, .24);
}

.ct-submit:active {
	transform: translateY(0);
	filter: brightness(.98);
}

/* ---------- Custom dropdown (service type) ---------- */
.ct-dd {
	position: relative;
	width: 100%;
	z-index: 2;
}

.ct-dd__btn {
	width: 100%;
	height: 44px;
	padding: 0 44px 0 2px;
	border: 0;
	background: transparent;
	color: #0b1220;
	font-size: var(--lp-fs-md);
	font-family: inherit;
	font-weight: inherit;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	cursor: pointer;
}

.ct-dd__value {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #0b1220;
}

.ct-dd__chev {
	position: absolute;
	right: 14px;
	top: 50%;
	width: 10px;
	height: 10px;
	transform: translateY(-50%) rotate(45deg);
	border-right: 2px solid rgba(17, 24, 39, 0.7);
	border-bottom: 2px solid rgba(17, 24, 39, 0.7);
	pointer-events: none;
	transition: transform 0.18s ease;
}

.ct-dd.is-open .ct-dd__chev {
	transform: translateY(-50%) rotate(225deg);
}

.ct-dd__panel {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	z-index: 999;
	padding: 6px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid rgba(226, 232, 240, 0.95);
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
	max-height: min(320px, 52vh);
	overflow: auto;
	display: none;
}

.ct-dd.is-open .ct-dd__panel {
	display: block;
}

.ct-dd__opt {
	width: 100%;
	text-align: left;
	border: 0;
	background: transparent;
	padding: 10px 10px;
	border-radius: 10px;
	color: #0f172a;
	font-size: var(--lp-fs-md);
	font-family: inherit;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.ct-dd__opt:hover {
	background: rgba(37, 99, 235, 0.08);
	color: #1d4ed8;
}

.ct-dd__opt.is-active,
.ct-dd__opt[aria-selected="true"] {
	background: linear-gradient(90deg, rgba(29, 78, 216, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%);
	color: #1d4ed8;
	font-weight: 700;
}

/* ---------- Map ---------- */
.ct-map__frame {
	border-radius: 16px;
	overflow: hidden;
	background: #f3f4f6;
	min-height: 320px;
	display: block;
}

.ct-map__frame--tall {
	min-height: 420px;
	height: 100%;
}

.ct-map__frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.ct-map__fallback {
	min-height: 420px;
	background-image: url("https://static.mastergo.com/static/ai/resource/gen_page/map_placeholder_1280x720.png");
	background-size: cover;
	background-position: center;
}

/* ---------- Testimonials ---------- */
.ct-test-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--lp-gap);
}

@media (min-width: 768px) {
	.ct-test-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.ct-test-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.ct-test {
	background: #f9fafb;
	border: 1px solid rgba(2, 6, 23, .08);
	border-radius: 12px;
	padding: clamp(16px, 2.2vw, 24px);
}

.ct-stars {
	color: #f59e0b;
	margin-bottom: 10px;
}

.ct-test__quote {
	margin: 0 0 12px;
	color: #475569;
	line-height: 1.7;
	font-size: var(--lp-fs-md);
	font-style: italic;
}

.ct-test__name {
	font-weight: 700;
	color: #0f172a;
}

.ct-test__meta {
	color: #64748b;
	font-size: var(--lp-fs-sm);
	margin-top: 2px;
}

/* ---------- CTA ---------- */
.ct-cta2 {
	background: linear-gradient(135deg, #0b5fff 0%, #1d4ed8 100%);
	border-radius: 18px;
	padding: clamp(20px, 3vw, 34px);
	box-shadow: 0 18px 40px rgba(11, 95, 255, 0.22);
	color: #fff;
	text-align: center;
}

.ct-cta2__title {
	margin: 0 0 10px;
	font-size: clamp(22px, 2.6vw, 34px);
	font-weight: 900;
	letter-spacing: 0.02em;
}

.ct-cta2__text {
	margin: 0 auto 16px;
	max-width: 70ch;
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.75;
	font-size: var(--lp-fs-md);
}

.ct-cta2__actions {
	display: flex;
	justify-content: center;
}

/* ------------------------------------------------------------
   1920+ scaling (match homepage linear scale)
------------------------------------------------------------ */
@media (min-width: 1921px) {
	.ct-hero__title {
		font-size: calc(1.6vw + 12px);
		line-height: 1.18;
	}

	.ct-section-title {
		font-size: calc(1.25vw + 10px);
	}

	.ct-info-card__title {
		font-size: calc(0.6vw + 14px);
	}

	.ct-info-card__text,
	.ct-form2 .ct-input,
	.ct-form2 .ct-textarea,
	.ct-form2 .ct-select {
		font-size: calc(0.55vw + 9px);
	}

	.ct-info-grid,
	.ct-form-grid {
		gap: var(--lp-gap);
	}
}