/**
 * Contact page [jit_contact] — navy theme (matches Services / Shop / Blog).
 */

.jit-ct {
	--c-bg: #0c2550;
	--c-bg-2: #0f2d5e;
	--c-sky: #5fb4ff;
	--c-teal: #3fd0c2;
	--c-ice: #dcefff;
	--c-muted: rgba(220, 239, 255, 0.64);
	--c-line: rgba(220, 239, 255, 0.12);
	--c-ease: cubic-bezier(0.22, 1, 0.36, 1);
	background: var(--c-bg);
	color: var(--c-ice);
	font-family: var(--jit-font-sans, "Inter", system-ui, sans-serif);
	overflow: clip;
}

.jit-ct *,
.jit-ct *::before,
.jit-ct *::after {
	box-sizing: border-box;
}

.jit-ct h1,
.jit-ct h2,
.jit-ct p,
.jit-ct ul {
	margin: 0;
	padding: 0;
	font-family: inherit;
}

.jit-ct ul {
	list-style: none;
}

.jit-ct li {
	margin: 0;
}

.jit-ct__wrap {
	position: relative;
	width: 100%;
	max-width: 1230px;
	margin: 0 auto;
	padding: 0 30px;
}

.jit-ct__label {
	margin-bottom: 14px !important;
	color: var(--c-sky);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.jit-ct__h2 {
	font-size: clamp(28px, 3.2vw, 42px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.03em;
	color: #fff !important;
}

.jit-ct-ico {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

/* Entrance + reveals */
html.js .jit-ct [data-ct-in] {
	opacity: 0;
	translate: 0 24px;
	transition: opacity 0.9s ease var(--d, 0s), translate 1s var(--c-ease) var(--d, 0s);
}

html.js .jit-ct.is-in [data-ct-in] {
	opacity: 1;
	translate: none;
}

html.js .jit-ct [data-ct-reveal] {
	opacity: 0;
	translate: 0 34px;
	transition: opacity 0.9s ease var(--d, 0s), translate 1.1s var(--c-ease) var(--d, 0s);
}

html.js .jit-ct [data-ct-reveal].is-visible {
	opacity: 1;
	translate: none;
}

/* =========================================================
   HERO
   ========================================================= */
.jit-ct-hero {
	position: relative;
	padding: clamp(64px, 8vw, 110px) 0 clamp(130px, 13vw, 170px);
	background:
		radial-gradient(ellipse 45% 80% at 85% 40%, rgba(63, 208, 194, 0.18), transparent 70%),
		radial-gradient(ellipse 60% 60% at 0% 100%, rgba(22, 66, 126, 0.8), transparent 70%),
		linear-gradient(135deg, #0b234b 0%, #0e3166 60%, #113f7d 100%);
	overflow: hidden;
}

.jit-ct-hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(95, 180, 255, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(95, 180, 255, 0.06) 1px, transparent 1px);
	background-size: 52px 52px;
	-webkit-mask-image: radial-gradient(ellipse 70% 90% at 70% 40%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 90% at 70% 40%, #000 20%, transparent 75%);
	animation: jitCtGrid 36s linear infinite;
}

@keyframes jitCtGrid {
	to { background-position: 52px 52px; }
}

.jit-ct-hero__title {
	margin-bottom: 22px !important;
	font-size: clamp(38px, 5vw, 68px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.04em;
	color: #fff !important;
}

.jit-ct-hero__title span,
.jit-ct-hero__title em {
	display: block;
}

.jit-ct-hero__title em {
	font-style: normal;
	background: linear-gradient(100deg, #fff 0%, #a9d6ff 45%, var(--c-sky) 75%, var(--c-teal) 100%);
	background-size: 200% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: jitCtShine 7s ease-in-out infinite alternate;
}

@keyframes jitCtShine {
	to { background-position: 100% 0; }
}

.jit-ct-hero__lead {
	max-width: 620px;
	margin-bottom: 32px !important;
	font-size: clamp(16px, 1.25vw, 18px);
	line-height: 1.75;
	color: var(--c-muted);
}

.jit-ct-quick {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.jit-ct-quick__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 50px;
	padding: 0 22px;
	border: 1px solid rgba(220, 239, 255, 0.26);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--c-ice);
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.35s var(--c-ease), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.35s var(--c-ease);
}

.jit-ct-quick__btn:hover {
	color: #fff;
	transform: translateY(-2px);
	border-color: rgba(220, 239, 255, 0.55);
	background: rgba(255, 255, 255, 0.09);
}

.jit-ct-quick__btn--primary {
	border-color: transparent;
	background: linear-gradient(120deg, #1660a8, #2f86d6);
	color: #fff;
	box-shadow: 0 10px 30px -10px rgba(47, 134, 214, 0.75);
}

.jit-ct-quick__btn--primary:hover {
	background: linear-gradient(120deg, #1660a8, #2f86d6);
	box-shadow: 0 16px 40px -12px rgba(47, 134, 214, 0.9);
}

/* =========================================================
   DETAILS + FORM (form sheet overlaps the hero)
   ========================================================= */
.jit-ct-main {
	position: relative;
	padding-bottom: clamp(70px, 8vw, 110px);
	background:
		radial-gradient(ellipse 50% 40% at 20% 30%, rgba(22, 96, 168, 0.18), transparent 70%),
		var(--c-bg);
}

.jit-ct-main__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 50px;
	align-items: start;
}

.jit-ct-info {
	padding-top: 56px;
}

.jit-ct-info .jit-ct__h2 {
	margin-bottom: 28px !important;
}

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

.jit-ct-card {
	display: flex;
	gap: 16px;
	padding: 18px 20px;
	border: 1px solid var(--c-line);
	border-radius: 18px;
	background: linear-gradient(170deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--c-muted);
	transition: border-color 0.35s ease, transform 0.45s var(--c-ease), background-color 0.35s ease;
}

.jit-ct-card:hover {
	transform: translateX(4px);
	border-color: rgba(95, 180, 255, 0.4);
}

.jit-ct-card__icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: rgba(95, 180, 255, 0.12);
	border: 1px solid rgba(95, 180, 255, 0.3);
	color: var(--c-sky);
}

.jit-ct-card b {
	display: block;
	margin-bottom: 2px;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
}

.jit-ct-card a {
	display: block;
	color: var(--c-ice) !important;
	text-decoration: none;
	transition: color 0.25s ease;
}

.jit-ct-card a:hover {
	color: var(--c-sky) !important;
}

/* Form sheet */
.jit-ct-form {
	position: relative;
	margin-top: -110px;
	padding: clamp(26px, 3.4vw, 44px);
	border-radius: 26px;
	background: #fff;
	color: #0b1729;
	box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.65);
	isolation: isolate;
}

.jit-ct-form__glow {
	position: absolute;
	inset: -1px;
	z-index: -1;
	border-radius: inherit;
	background: conic-gradient(from var(--ct-ang, 0deg), transparent 0 70%, var(--c-sky) 82%, var(--c-teal) 90%, transparent 100%);
	animation: jitCtAng 6s linear infinite;
	filter: blur(1px);
}

.jit-ct-form__glow::after {
	content: "";
	position: absolute;
	inset: 2px;
	border-radius: 24px;
	background: #fff;
}

@property --ct-ang {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}

@keyframes jitCtAng {
	to { --ct-ang: 360deg; }
}

/* Contact Form 7 inside the sheet (overrides the old Customizer styles) */
.jit-ct-form .custom-cf7-wrapper {
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}

.jit-ct-form .cf7-title {
	margin: 0 0 8px;
	text-align: left;
	color: #0b1729;
	font-size: clamp(24px, 2.4vw, 30px);
	font-weight: 700;
	letter-spacing: -0.02em;
}

.jit-ct-form .cf7-title::after {
	content: "Our team will get back to you as soon as possible.";
	display: block;
	margin-top: 6px;
	color: #6b7a8c;
	font-size: 14.5px;
	font-weight: 400;
	letter-spacing: 0;
}

.jit-ct-form .custom-cf7-wrapper > .cf7-title + * {
	margin-top: 24px;
}

.jit-ct-form .cf7-row {
	gap: 14px;
	margin-bottom: 14px;
}

.jit-ct-form input[type="text"],
.jit-ct-form input[type="email"],
.jit-ct-form input[type="tel"],
.jit-ct-form textarea {
	width: 100%;
	height: 52px;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 1px solid #dfe6ee !important;
	border-radius: 14px !important;
	background: #f5f8fb !important;
	color: #0b1729 !important;
	font-size: 15px;
	box-shadow: none !important;
	transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.jit-ct-form textarea {
	height: 150px;
	padding: 14px 16px !important;
	resize: vertical;
}

.jit-ct-form input:focus,
.jit-ct-form textarea:focus {
	border-color: #2f86d6 !important;
	background: #fff !important;
	box-shadow: 0 0 0 4px rgba(47, 134, 214, 0.14) !important;
}

.jit-ct-form ::placeholder,
.jit-ct-form input::placeholder,
.jit-ct-form textarea::placeholder {
	color: #7d8a9b !important;
	opacity: 1;
}

.jit-ct-form input[type="submit"] {
	width: 100%;
	height: 54px;
	margin: 6px 0 0 !important;
	padding: 0 !important;
	line-height: 54px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: linear-gradient(120deg, #1660a8, #2f86d6) !important;
	color: #fff !important;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: none;
	box-shadow: 0 14px 30px -12px rgba(47, 134, 214, 0.8);
	cursor: pointer;
	transition: transform 0.3s var(--c-ease), box-shadow 0.3s var(--c-ease);
}

.jit-ct-form input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 36px -12px rgba(47, 134, 214, 0.95);
}

.jit-ct-form .wpcf7-response-output {
	margin: 16px 0 0 !important;
	border-radius: 12px;
	font-size: 14px;
}

/* =========================================================
   OFFICES
   ========================================================= */
.jit-ct-offices {
	padding: clamp(64px, 7vw, 100px) 0 clamp(80px, 9vw, 120px);
	border-top: 1px solid rgba(220, 239, 255, 0.06);
	background:
		radial-gradient(ellipse 50% 40% at 80% 0%, rgba(22, 96, 168, 0.18), transparent 70%),
		var(--c-bg-2);
}

.jit-ct-offices__head {
	margin-bottom: clamp(28px, 3.5vw, 44px);
}

.jit-ct-offices__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.jit-ct-office {
	padding: 20px 22px;
	border: 1px solid var(--c-line);
	border-radius: 18px;
	background: linear-gradient(170deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
	transition: transform 0.45s var(--c-ease), border-color 0.35s ease, box-shadow 0.45s var(--c-ease), opacity 0.9s ease var(--d, 0s), translate 1.1s var(--c-ease) var(--d, 0s) !important;
}

.jit-ct-office:hover {
	transform: translateY(-4px);
	border-color: rgba(95, 180, 255, 0.45);
	box-shadow: 0 24px 50px -30px rgba(95, 180, 255, 0.6);
}

.jit-ct-office.is-key {
	border-color: rgba(63, 208, 194, 0.35);
	background: linear-gradient(170deg, rgba(63, 208, 194, 0.1), rgba(255, 255, 255, 0.02));
}

.jit-ct-office__top {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.jit-ct-office__flag {
	width: 26px;
	height: auto;
	border-radius: 3px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.jit-ct-office__country {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
}

.jit-ct-office__role {
	margin-left: auto;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(95, 180, 255, 0.12);
	color: var(--c-sky);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	white-space: nowrap;
}

.jit-ct-office.is-key .jit-ct-office__role {
	background: rgba(63, 208, 194, 0.16);
	color: var(--c-teal);
}

.jit-ct-office__entity {
	color: var(--c-muted);
	font-size: 14px;
	line-height: 1.6;
	white-space: pre-line;
}

.jit-ct-office__sub {
	margin-top: 4px !important;
	color: rgba(220, 239, 255, 0.45);
	font-size: 12.5px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1023px) {
	.jit-ct-main__grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.jit-ct-form {
		grid-row: 1;
	}

	.jit-ct-offices__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 549px) {
	.jit-ct__wrap {
		padding: 0 20px;
	}

	.jit-ct-form .cf7-row {
		flex-direction: column;
	}

	.jit-ct-offices__grid {
		grid-template-columns: 1fr;
	}

	.jit-ct-quick__btn {
		flex: 1 1 auto;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jit-ct *,
	.jit-ct *::before,
	.jit-ct *::after {
		animation: none !important;
	}

	html.js .jit-ct [data-ct-in],
	html.js .jit-ct [data-ct-reveal] {
		opacity: 1;
		translate: none;
		transition: none;
	}
}
