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

.ti_footer_logo_text,
.ti_footer_contact span,
.ti_footer_location,
.ti_footer_menu_col,
.ti_footer_menu li,
.ti_footer_menu a {
	min-width: 0;
}

.ti_footer_contact span,
.ti_footer_location p,
.ti_footer_location a,
.ti_footer_menu a {
	overflow-wrap: anywhere;
}
.ti_footer a {color: #080f1f; text-decoration: none;}
.ti_footer a:hover { text-decoration: none; color: #1888c9;}

.ti_footer {
	background: #eef3f8;
	color: #080f1f;
	font-family: Arial, Helvetica, sans-serif;
    margin-top: 50px;
}

.ti_footer_cta {
	background: #1888c9;
	color: #fff;
	overflow: visible;
}

.ti_footer_cta_inner {
	display: grid;
	grid-template-columns: 1fr minmax(420px, 620px);
	align-items: start;
	gap: 44px;
	min-height: 150px;
}

.ti_footer_cta_info {
	display: flex;
	gap: 20px;
	transform: translateY(-26px);
}

.ti_footer_cta_item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	min-height: 72px;
    width: 48%;
}

.ti_footer_cta_item:last-child {
    padding-right: 0;
}
.ti_footer_cta_item p {
    margin: 0;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.55);
    padding-right: 20px;
}
.ti_footer_cta_item:last-child p {
	border-right: 0;
    padding-right: 0;
}

.ti_footer_cta_icon {
	flex: 0 0 auto;
}

.ti_footer_form {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
	padding: 22px 30px;
	background: #29b6ad;
	border-radius: 0 0 12px 12px;
}

.ti_footer_form_shortcode {
	align-self: auto;
	border-radius: 12px;
	transform: translateY(36px);
}

.ti_footer_form form .wp-block-group {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.ti_footer_form form .wpcf7-form-control-wrap { flex: 0 1 48%; max-width: 48%;}
.ti_footer_form form input[type="submit"].wpcf7-form-control { 
	flex: 0 1 48%; 
	max-width: 48%; 
	width: 48%; 
	box-sizing: border-box;
    border-bottom: 2px solid rgba(83, 83, 83, 0.5);
    background: #f43433 !important;
    color: #fff;
    text-transform: none;
    cursor: pointer;
    border-radius: 10px;
    padding: 8px 20px;}

.ti_footer_form input[type="tel"] {
	height: 40px;
	padding: 0 20px;
	color: #111827;
	background: #fff;
	border: 0;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	outline: 0;
	margin: 0;
	width: 100%;
}

.ti_footer_form button {
	height: 50px;
	padding: 0 28px;
	color: #fff;
	background: #ef302f;
	border: 0;
	border-radius: 10px;
	font-size: 18px;
	font-weight: 800;
	cursor: pointer;
	white-space: nowrap;
}

.ti_footer_agree {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.ti_footer_agree input {
	margin-top: 2px;
}

.form_intro {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	text-align: center;
}

.form_intro_pic {
	display: inline-flex;
	flex: 0 0 auto;
}

.form_intro_pic img {
	display: block;
	width: 48px;
	height: 48px;
}

.form_intro_text {
	margin: 0;
	color: #fff;
}

.form_policy {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: #fff;
	font-size: 12px;
	line-height: 1.35;
}

.form_policy input {
	flex: 0 0 auto;
	margin-top: 2px;
}

.ti_footer_main {
	padding: 56px 0 44px;
	background: #eef3f8;
}

.ti_footer_grid {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: nowrap;
}

.ti_footer_brand_col {
	flex: 0 0 auto;
	width: 310px;
	min-width: 0;
}

.ti_footer_logo {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 22px;
}

.ti_footer_logo img {
	display: block;
	width: 54px;
	height: auto;
}

.ti_footer_logo_text {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
	text-transform: uppercase;
}

.ti_footer_logo_title {
	font-size: clamp(20.515px, 1.282rem + ((1vw - 3.2px) * 1.601), 33px);
	font-style: normal;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

.ti_footer_logo_subtitle {
	font-size: 13px;
	font-style: normal;
	font-weight: 600;
	text-transform: uppercase;
}

.ti_footer_logo_address {
    position: relative;
    margin-top: 6px;
    padding-left: 24px;
    color: var(--ti-red);
    font-size: 12px;
    line-height: 1.8;
    text-transform: none;
}
.ti_footer_logo_address::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 20px;
    background: url(/wp-content/uploads/2023/10/red-marker.png) no-repeat center center;
}

.ti_footer_contacts {
	display: grid;
	gap: 18px;
}

.ti_footer_contact {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.513), 18px);
	line-height: 1.4;
}

.ti_footer_contact strong {
	display: block;
	margin-bottom: 2px;
	color: #02a01e;
	font-size: 14px;
	font-weight: 800;
}

.ti_footer_contact_icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #28b9b5;
	color: #fff;
}

.ti_footer_contact_icon::before {
	font-size: 27px;
	line-height: 1;
}

.ti_footer_contact_phone::before {
	content: '☎';
}

.ti_footer_contact_whatsapp {
	background: #17b80f;
}

.ti_footer_contact_whatsapp::before {
	content: '☏';
}

.ti_footer_contact_telegram {
	background: #26a8e0;
}

.ti_footer_contact_telegram::before {
	content: '➤';
}

.ti_footer_contact_email::before {
	content: '✉';
}

.ti_footer_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 37px;
	margin-top: 20px;
	padding: 0 30px;
	color: #fff !important;
	background: #25b7ad;
	border-radius: 999px;
}

.ti_footer_locations {
	flex: 0 0 auto;
	min-width: 0;
	padding: 6px 0 0 0;
}

.ti_footer_location {
	padding: 0 0 22px;
	margin-bottom: 20px;
	border-bottom: 1px solid #cfd8df;
}

.ti_footer_location:last-child {
	margin-bottom: 0;
	border-bottom: 0;
}

.ti_footer_location h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	font-size: 22px;
	font-weight: 900;
	line-height: 1.2;
}

.ti_footer_location p {
	margin: 0 0 10px;
	line-height: 1.35;
}

.ti_footer_location a {
	line-height: 1.35;
}

.ti_footer_flag {
	display: inline-block;
	width: 22px;
	height: 14px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.ti_footer_flag_ru {
	background: linear-gradient(to bottom, #fff 0 33.33%, #2446a8 33.33% 66.66%, #d91f26 66.66% 100%);
}

.ti_footer_flag_ua {
	background: linear-gradient(to bottom, #1c67d2 0 50%, #ffd43b 50% 100%);
}

.ti_footer_menus {
	flex: 0 1 auto;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0;
	min-width: 0;
}

.ti_footer_menu_col {
	min-width: 0;
	max-width: none;
	padding-left: 18px;
	border-left: 1px solid #cfd8df;
}

.ti_footer_menu_title {
	font-size: clamp(14.642px, 0.915rem + ((1vw - 3.2px) * 0.943), 22px);
	font-style: normal;
	font-weight: 600;
	margin: 0 0 10px;
}

.ti_footer_menu {
	display: grid;
	gap: 10px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.ti_footer_menu a {
	display: inline-block;
	line-height: 1.25;
	transition: color 0.2s ease;
	overflow-wrap: anywhere;
	word-break: normal;
}

.ti_footer_menu a:hover {
	color: #1888c9;
}

.ti_footer_bottom {
	padding: 24px 0 34px;
	background: #eef3f8;
	border-top: 1px solid #cfd8df;
}

.ti_footer_bottom p {
	max-width: 1320px;
	margin: 0 0 14px;
	color: #344054;
	font-size: 11px;
	text-align: center;
	line-height: 1.2;
}

.float-call-me {
	position: fixed;
	right: 0;
	top: 235px;
	z-index: 1000;
	width: 48px;
	height: 260px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	background: #d71920;
	color: #fff!important;
	text-decoration: none;
	border-radius: 12px 0 0 12px;
	box-shadow: 0 0 7px rgba(0, 0, 0, 0.7);
	overflow: hidden;
	cursor: pointer;
  }
  
  .float-call-me:hover {
	background: #c9151c;
	color: #fff!important;
	text-decoration: none;
  }
  
  .float-call-me__text {
	flex: 1;
  
	display: flex;
	align-items: center;
	justify-content: center;
  
	writing-mode: vertical-rl;
	transform: rotate(180deg);
  
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
  }
  
  .float-call-me__icon {
	width: 100%;
	height: 48px;
  
	display: flex;
	align-items: center;
	justify-content: center;
  
	font-size: 26px;
	line-height: 1;
  
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(0, 0, 0, 0.08);
  }

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

@media (min-width: 1441px) {
	.ti_footer_grid {
		flex-wrap: nowrap;
	}

	.ti_footer_menus {
		flex-wrap: nowrap;
	}
}

@media (max-width: 1280px) {

	.ti_footer_brand_col {width: 280px;}
	.ti_footer_logo_title {font-size: 28px;}
	.ti_footer_logo_address {font-size: 11px; padding-left: 18px;}
	.ti_footer_logo img {width: 48px;}
	.ti_footer_contact { font-size: 16px; gap: 8px;}

	.ti_footer_cta_icon {width: 100px;}
	.ti_footer_cta_icon img {width: 100%; height: auto;}

	.ti_footer_menu_title {font-size: 20px;}

	.ti_footer_form {
		max-width: 760px;
		width: 100%;
		margin: 20px auto 0;
		border-radius: 12px;
	}

	.ti_footer_form input[type="tel"] { font-size: 15px;}


	.ti_footer_grid {
		gap: 12px;
	}

	.ti_footer_menus {
		flex: 1 1 480px;
	}
}

@media (max-width: 1100px) {
	.ti_footer_cta_inner { grid-template-columns: 1fr minmax(420px, 530px);}
	.ti_footer_form { max-width: 500px;}

	.ti_footer_menus {flex: 1 1 400px;}

	.ti_footer_grid {flex-wrap: wrap;}

	.ti_footer_menu_title {font-size: 18px;}

	

	.ti_footer_menu_col {
		flex: 1 1 180px;
		max-width: none;
	}
}

@media (max-width: 980px) {
	
	.ti_footer_brand_col {width: 100%; display: flex; align-items: flex-start;flex-wrap: wrap; gap: 20px;}
	.ti_footer_logo {width: 270px;}
	.ti_footer_locations {width: 100%; display: flex; justify-content: space-between; border-bottom: 1px solid #cfd8df; margin-bottom: 15px;}
	.ti_footer_location {border-bottom: none; padding-bottom: 0;}

	.ti_footer_contacts {display: flex; justify-content: space-between; gap: 10px; width: calc(100% - 500px); flex-wrap: wrap;}
	.ti_footer_contacts a { width: 48%}
	.ti_footer_contact_icon {width: 38px; height: 38px;}
	.ti_footer_button { width: 180px; padding: 0 20px;}
	.ti_footer_contact_icon::before { font-size: 20px;}

	.ti_footer_menus {flex: 0 0 100%;width: 100%;}
	.ti_footer_menu_col {width: 100%;}
	.ti_footer_menu_col:first-child {border-left: none; padding-left: 0;}
	.ti_footer_menu_title {font-size: 16px;}
	.ti_footer_menu a {font-size: 14px;}
	.ti_footer_contact { font-size: 14px; gap: 5px;  grid-template-columns: 40px minmax(0, 1fr);}

	
}

@media (max-width: 900px) {

	.ti_footer_cta_inner {
		grid-template-columns: 1fr;
		gap: 0;
		padding-top: 24px;
	}

	.ti_footer_cta_info {
		justify-content: center;
		transform: none;
	}

	.ti_footer_cta_item {
		justify-content: center;
		padding-right: 0;
		border-right: 0;
	}

	.ti_footer_cta_item:first-child {border-right: 1px solid rgba(255, 255, 255, 0.55);}

	.ti_footer_cta_item p { border-right: none; padding-right: 0;}

	.ti_footer_form_row {
		grid-template-columns: 1fr;
	}

	.ti_footer_grid {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.ti_footer_brand_col,
	.ti_footer_locations,
	.ti_footer_menus {
		width: 100%;
		min-width: 0;
		max-width: none;
	}

	.ti_footer_locations {
		padding-right: 0;
		border-right: 0;
	}

	.ti_footer_menus {
		display: flex;
		gap: 26px;
	}

	.ti_footer_menu_col {
		min-width: 0;
		max-width: none;
		padding-left: 0;
		border-left: 0;
	}

	.ti_footer_brand_col { gap: 0 20px;}
	.ti_footer_button { width: 100%; margin-top: 0;}
	.ti_footer_contacts { width: calc(100% - 300px); }


}

@media (max-width: 780px) {
	.ti_footer_brand_col { justify-content: space-between; align-items: center;}
	.ti_footer_logo {width: 48%; margin-bottom: 0; order: 1;}
	.ti_footer_contacts { width: 100%; margin-bottom: 10px; margin-top: 20px; order: 3;}
	.ti_footer_button { order: 2; width: 48%; }
	.ti_footer_logo_title { font-size: 25px;}
	.ti_footer_logo_subtitle { font-size: 12px;}
	.ti_footer_logo_address { font-size: 10px; padding-left: 16px;}
	.ti_footer_logo img { width: 44px;}
}

@media (max-width: 520px) {

	.ti_footer_form form .wp-block-group {flex-direction: column; align-items: stretch;}
	.ti_footer_form form .wpcf7-form-control-wrap,
	.ti_footer_form form input[type="submit"].wpcf7-form-control { flex: 0 0 auto; max-width: 100%;width: 100%;}

	.ti_footer_cta_inner {
		width: min(100% - 24px, var(--ti-container));
	}

	.ti_footer_cta_item {
		font-size: 15px;
		text-align: center;
	}

	.ti_footer_form {
		padding: 20px 16px;
	}

	.ti_footer_form_title {
		font-size: 18px;
	}

	.ti_footer_logo_title {
		font-size: 30px;
	}

	.ti_footer_contact {
		grid-template-columns: 46px minmax(0, 1fr);
		font-size: 18px;
	}

	.ti_footer_contact_icon {
		width: 46px;
		height: 46px;
	}

	.ti_footer_location h3 {
		font-size: 21px;
	}

	.ti_footer_location p,
	.ti_footer_location a,
	.ti_footer_menu a {
		font-size: 18px;
	}
}