body {
	margin: 0;
}

body * {
	box-sizing: border-box;
}

a {
	color: inherit;
	text-decoration: none;
}

.wrap {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0;
}

.sec {
	padding-top: 104px;
	padding-bottom: 104px;
}

.col-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.navlink {
	color: inherit;
	transition: color .2s;
}

#f3-header img[alt="F3 Platform"] {
	height: 50px !important;
	max-height: 50px;
	width: auto;
}

.navlink:hover,
.navlink.active {
	color: #1f63f5;
}

.btnp {
	transition: transform .25s, box-shadow .3s, background .25s;
}

.btnp:hover {
	transform: translateY(-2px);
}

.lift {
	transition: transform .25s, box-shadow .3s, border-color .25s;
}

.lift:hover {
	transform: translateY(-3px);
	box-shadow: 0 24px 54px -42px rgba(20, 40, 90, .55);
	border-color: #d7e2f5 !important;
}

.f3-entry-content p {
	margin: 0 0 1.2em;
}

.f3-entry-content h2,
.f3-entry-content h3 {
	margin: 1.8em 0 .7em;
	color: #0b1530;
	line-height: 1.18;
}

.f3-entry-content ul,
.f3-entry-content ol {
	margin: 1em 0 1.4em;
	padding-left: 1.2em;
}

.f3-entry-content li {
	margin: .45em 0;
}

.f3-cf7-shell {
	width: 100%;
}

.f3-cf7-shell--dark {
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 22px;
	padding: 34px;
	backdrop-filter: blur(8px);
}

.f3-cf7-shell--light {
	background: transparent;
}

.f3-cf7-shell .wpcf7-form {
	margin: 0;
}

.f3-cf7-shell--light .wpcf7-form {
	margin-top: 24px;
}

.f3-cf7-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.f3-cf7-field {
	margin: 0;
}

.f3-cf7-field--full {
	grid-column: 1 / -1;
}

.f3-cf7-label {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font: 500 13px/1.35 Manrope, system-ui, -apple-system, Segoe UI, sans-serif;
}

.f3-cf7-shell--dark .f3-cf7-label {
	color: #aab8d6;
}

.f3-cf7-shell--light .f3-cf7-label {
	gap: 7px;
	color: #5a688a;
}

.f3-cf7-shell .wpcf7-form-control-wrap {
	display: block;
}

.f3-cf7-shell input[type="text"],
.f3-cf7-shell input[type="email"],
.f3-cf7-shell input[type="tel"],
.f3-cf7-shell input[type="url"],
.f3-cf7-shell textarea,
.f3-cf7-shell select {
	width: 100%;
	min-height: 52px;
	border: 1px solid #dce4f1;
	border-radius: 11px;
	background: #f7f9fd;
	color: #0b1530;
	font: 500 15px/1.4 Manrope, system-ui, -apple-system, Segoe UI, sans-serif;
	padding: 13px 14px;
	transition: border-color .25s, box-shadow .25s, background .25s;
}

.f3-cf7-shell--dark input[type="text"],
.f3-cf7-shell--dark input[type="email"],
.f3-cf7-shell--dark input[type="tel"],
.f3-cf7-shell--dark input[type="url"],
.f3-cf7-shell--dark textarea,
.f3-cf7-shell--dark select {
	border-color: rgba(255, 255, 255, .16);
	background: rgba(255, 255, 255, .06);
	color: #fff;
	padding: 14px;
}

.f3-cf7-shell--dark input::placeholder,
.f3-cf7-shell--dark textarea::placeholder {
	color: rgba(209, 220, 242, .72);
}

.f3-cf7-shell--light input::placeholder,
.f3-cf7-shell--light textarea::placeholder {
	color: #8b98b3;
}

.f3-cf7-shell textarea {
	min-height: 128px;
	resize: vertical;
}

.f3-cf7-shell input:focus,
.f3-cf7-shell textarea:focus,
.f3-cf7-shell select:focus {
	outline: none;
	border-color: #1f63f5;
	box-shadow: 0 0 0 4px rgba(31, 99, 245, .14);
}

.f3-cf7-shell .wpcf7-acceptance {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	line-height: 1.5;
	color: #5a688a;
}

.f3-cf7-shell--dark .wpcf7-acceptance {
	color: #9fb0d2;
}

.f3-cf7-shell .wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.f3-cf7-shell .wpcf7-list-item {
	margin: 0;
}

.f3-cf7-shell .wpcf7-acceptance input {
	width: 16px;
	height: 16px;
	margin-top: 3px;
	flex: none;
	accent-color: #1f63f5;
}

.f3-cf7-shell .wpcf7-submit {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-top: 6px;
	background: #1f63f5;
	color: #fff;
	font: 600 16px/1.2 Manrope, system-ui, -apple-system, Segoe UI, sans-serif;
	padding: 16px;
	border: none;
	border-radius: 13px;
	box-shadow: 0 16px 30px -14px rgba(31, 99, 245, .8);
	cursor: pointer;
	transition: transform .25s, box-shadow .35s, background .3s;
}

.f3-cf7-shell .wpcf7-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 30px -12px rgba(31, 99, 245, .6);
}

.f3-cf7-shell .wpcf7-spinner {
	margin: 12px auto 0;
	display: block;
}

.f3-cf7-shell .wpcf7-response-output {
	margin: 18px 0 0;
	border-radius: 10px;
	font-size: 14px;
}

.f3-contact-cards {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 14px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 18px;
	padding: 20px;
}

.f3-contact-cards--dark {
	background: rgba(255, 255, 255, .045);
	backdrop-filter: blur(8px);
}

.f3-contact-cards--light {
	border-color: #dce4f1;
	background: #fff;
}

.f3-mcard .f3-contact-cards {
	padding: 0;
	border: 0;
	background: transparent;
	backdrop-filter: none;
}

.f3-contact-card {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 84px;
	padding: 16px 18px;
	border-radius: 12px;
	transition: transform .2s, background .2s;
}

.f3-contact-cards--dark .f3-contact-card {
	background: rgba(255, 255, 255, .08);
	color: #fff;
}

.f3-contact-cards--light .f3-contact-card {
	background: #f3f6fc;
	color: #0b1530;
}

.f3-contact-card:hover {
	transform: translateY(-2px);
}

.f3-contact-cards--dark .f3-contact-card:hover {
	background: rgba(255, 255, 255, .13);
}

.f3-contact-cards--light .f3-contact-card:hover {
	background: #eaf0fa;
}

.f3-contact-card__icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	color: #8eb4ff;
	background: rgba(31, 99, 245, .2);
}

.f3-contact-cards--light .f3-contact-card__icon {
	color: #1f63f5;
	background: #e9f0ff;
}

.f3-contact-card__icon svg {
	width: 23px;
	height: 23px;
}

.f3-contact-card__label {
	display: block;
	margin-bottom: 5px;
	font: 500 11px/1.2 "IBM Plex Mono", monospace;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #9eb0d2;
}

.f3-contact-cards--light .f3-contact-card__label {
	color: #6e80a7;
}

.f3-contact-card strong {
	display: block;
	font: 600 19px/1.25 Manrope, system-ui, sans-serif;
}

.f3-contact-cards__hours {
	margin: 4px 0 0;
	font: 500 14px/1.55 Manrope, system-ui, sans-serif;
	color: #aab8d6;
}

.f3-contact-cards--light .f3-contact-cards__hours {
	color: #5a688a;
}

.f3-registry-note {
	display: block;
	max-width: 310px;
	font: 500 12px/1.55 Manrope, system-ui, sans-serif;
	color: #9eb0d2;
}

.f3-placeholder-file {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	padding: 20px;
	border: 1px dashed #c9d8f5;
	border-radius: 12px;
	background: #fff;
	color: #5a688a;
	font: 500 14px/1.4 Manrope, system-ui, -apple-system, Segoe UI, sans-serif;
}

@media (max-width: 1640px) {
	.wrap {
		padding: 0 40px;
	}
}

@media (max-width: 1024px) {
	.heroviz {
		order: 2 !important;
	}

	.case-hero > .heroviz {
		order: 2 !important;
	}

	.case-hero > :not(.heroviz) {
		order: 1 !important;
	}
}

@media (max-width: 760px) {
	.f3-contact-cards {
		padding: 14px;
	}

	.f3-contact-card {
		min-height: 72px;
		padding: 14px;
	}

	.f3-contact-card strong {
		font-size: 16px;
		word-break: break-word;
	}

	body footer .wrap[style*="grid-template-columns:1.4fr"],
	body footer .wrap[style*="grid-template-columns: 1.4fr"] {
		grid-template-columns: 1fr !important;
		gap: 32px !important;
	}

	body footer .wrap[style*="padding:54px"],
	body footer .wrap[style*="padding:72px"] {
		display: grid !important;
		grid-template-columns: 1fr !important;
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	img[src*="scenario-"],
	img[src*="f3-case-teaser"],
	body.single-f3_case article img,
	body.single-f3_news article img {
		object-fit: contain !important;
		object-position: center !important;
	}

	.casecard img {
		object-fit: cover !important;
		object-position: center !important;
	}

	body.single-f3_case article [style*="height:440px"],
	body.single-f3_news article [style*="height:440px"] {
		height: auto !important;
		aspect-ratio: 16 / 10;
	}

	body.single-f3_case [style*="grid-template-columns:repeat(4,minmax(0,1fr))"] {
		grid-template-columns: 1fr !important;
		gap: 14px !important;
	}

	body.single-f3_case [style*="grid-template-columns:repeat(4,minmax(0,1fr))"] > div {
		padding: 18px !important;
	}

	section#contact > .wrap,
	section[id="contact"] > .wrap {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	.case-stats-strip {
		display: none !important;
	}

	body.single-f3_news section[style*="background:#070f22"],
	body.single-f3_news footer,
	body.single-f3_case footer {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	body.single-f3_news .wrap,
	body.single-f3_case .wrap {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}

@media (max-width: 640px) {
	.wrap {
		padding: 0 20px;
	}

	.sec {
		padding-top: 68px;
		padding-bottom: 68px;
	}

	.f3-cf7-grid {
		grid-template-columns: 1fr;
	}

	.f3-cf7-shell--dark {
		padding: 24px;
	}
}

@media (max-width: 920px) {
	body {
		padding-top: 72px;
	}

	body.admin-bar {
		padding-top: 118px;
	}

	#f3-header {
		position: fixed !important;
		top: 0 !important;
		left: 0;
		right: 0;
		z-index: 1000 !important;
		background: rgba(255, 255, 255, .96) !important;
		border-bottom: 1px solid rgba(210, 220, 238, .92) !important;
		box-shadow: 0 14px 30px -26px rgba(11, 21, 48, .55);
		backdrop-filter: blur(12px);
	}

	body.admin-bar #f3-header {
		top: 46px !important;
	}

	#f3-header > .wrap {
		height: 72px !important;
	}

	#f3-header img[alt="F3 Platform"] {
		height: 44px !important;
		max-height: 44px;
	}

	#f3-header + section,
	#f3-header + article,
	#f3-header + .wrap {
		margin-top: 16px !important;
	}

	body.home #f3-header + section,
	body.home #f3-header + article,
	body.home #f3-header + .wrap {
		margin-top: 32px !important;
	}

	.navlinks {
		display: none !important;
	}

	.burger {
		display: inline-flex !important;
	}

	.col-3,
	[style*="grid-template-columns:minmax(0,1fr) 280px"],
	[style*="grid-template-columns:minmax(0,1fr) 300px"] {
		grid-template-columns: 1fr !important;
	}

	[style*="position:sticky"] {
		position: static !important;
	}
}

@media (max-width: 720px) {
	h1 {
		font-size: clamp(32px, 9vw, 42px) !important;
	}

	[style*="height:440px"] {
		height: 260px !important;
	}
}
