* {
	padding: 0;
	margin: 0;
	border: 0;
	font-family: "Montserrat", sans-serif;
}

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

:focus,
:active {
	outline: none;
}

a:focus,
a:active {
	outline: none;
}

nav,
footer,
header,
aside {
	display: block;
}

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

a:hover {
	text-decoration: none;
}
.text-transparent {
	color: transparent;
}
.container {
	width: 100%;
	margin: 0 auto;
	padding-right: 0px;
	padding-left: 0px;
	padding-top: 124px;
	padding-bottom: 0px;
	font-family: "Montserrat", sans-serif;
	display: flex;
	position: relative;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #f7f7f7;
	overflow: hidden;
}

span.transparent {
	color: transparent;
}
#end-text::first-line {
	font-weight: 500;
}
#end-text span {
	font-weight: 700;
}


.branches-contact {
	background-color: #f6f6f6;
	flex-direction: column;
	align-items: center;
	position: relative;
	width: auto;
	margin-top: -57px;
	padding: 0 50px;
}

.branches-h1 {
	text-align: center;
	font-weight: 700;
	font-size: 48px;
	color: #000;
	margin-top: 30px;
}
.branches-cards {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	width: auto;

	max-width: 1530px;
	gap: 30px;
	margin: 130px auto 90px auto;
}

.branches-card-dubble,
.branches-card-tripple {
	display: flex;
	border-radius: 18px;
	overflow: hidden;
	gap: 30px;
	box-shadow: 5px 5px 10px 5px rgb(136, 136, 136, 0.5);
}

.branches-card-div {
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: space-between;
	padding: 30px;
	position: relative;
	width: 360px;
	height: 273px;
	border-radius: 18px;
	background-color: #f6f6f6;
	box-shadow: 5px 5px 10px 5px rgb(136, 136, 136, 0.5);
}
.branches-card-div.transparent {
	background-color: transparent;
	box-shadow: none;
}
.branches-card-dubble .branches-card-div,
.branches-card-tripple .branches-card-div {
	border-radius: 0;
	box-shadow: none;
}
.brances-card-title-flex {
	display: flex;
	align-items: start;
}
.brances-card-title-flex-logo-div {
	width: 30px;
	flex: 0 0 30px;
	margin-right: 14px;
	margin-top: 3px;
}
.brances-card-title-flex-logo-img {
	width: 100%;
}
.brances-card-title-flex-title {
	font-weight: 700;
	font-size: 24px;
	color: #666;
}
.brances-card-text {
	font-weight: 500;
	font-size: 18px;
	color: #000;
	transition: color 0.3s ease

}

.brances-card-text-tel,
.brances-card-text-email {
	color: #000;
	transition: color 0.3s ease
}

.brances-card-text-email:focus,
.brances-card-text-email:hover {
	color: #bc2539;
}

.branches-card-separator-vertic {
	height: 74%;
	max-height: 170px;
	width: 1px;
	position: absolute;
	left: -15px;
	top: 50%;
	transform: translateY(-50%);
	background-color: #cbcbcb;
}
.branches-card-separator-horiz {
	width: 45%;
	max-width: 260px;
	height: 1px;
	position: absolute;
	top: -15px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #cbcbcb;
}
#branches-card11 .branches-card-div:last-child {
	padding-right: 18px;
	padding-left: 27px;
}
#branches-card9,
#branches-card15 {
	padding-right: 20px;
}
#branches-card17 {
	display: none;
}

body.no-scroll {
	overflow: hidden;
}



@media (max-width: 1700px) {
	.branches-h1 {
		margin-top: calc(-20px + 50 * (100vw - 1024px) / (1700 - 1024));
		font-size: calc(30px + 12 * (100vw - 768px) / (1700 - 768));
	}
	.branches-cards {
		max-width: 1140px;
		margin-top: calc(60px + 60 * (100vw - 768px) / (1700 - 768));
		margin-bottom: calc(80px + 80 * (100vw - 768px) / (1700 - 768));
		margin-bottom: 80px;
	}
	#branches-card1 {
		order: 1;
	}
	#branches-card2 {
		order: 2;
	}
	#branches-card3 {
		order: 3;
	}
	#branches-card4 {
		order: 4;
	}
	#branches-card5 {
		order: 5;
	}
	#branches-card6 {
		order: 7;
	}
	#branches-card7 {
		order: 6;
	}
	#branches-card8 {
		order: 8;
	}
	#branches-card9 {
		order: 9;
	}
	#branches-card10 {
		order: 10;
	}
	#branches-card11 {
		order: 11;
	}
	#branches-card12 {
		order: 12;
	}
	#branches-card13 {
		order: 13;
	}
	#branches-card14 {
		order: 14;
	}
	#branches-card15 {
		order: 15;
	}
	#branches-card16 {
		order: 16;
	}
	#branches-card17 {
		display: block;
		order: 17;
	}
}

@media (max-width: 1480px) {
	.branches-cards {
		display: grid;
		max-width: 800px;
		grid-template-columns: repeat(2, 1fr);
	}
	#branches-card9 {
		order: 11;
	}
	#branches-card11 {
		order: 9;
	}
	#branches-card6 {
		order: 14;
		grid-column-start: 1;
		grid-column-end: 2;
		grid-row-start: 7;
		grid-row-end: 10;
	}
	#branches-card14 {
		order: 15;
	}
	#branches-card15 {
		order: 16;
		grid-column-start: 2;
		grid-column-end: 3;
		grid-row-start: 8;
		grid-row-end: 9;
	}
	#branches-card16,
	#branches-card17 {
		display: none;
	}
	.branches-card-dubble,
	.branches-card-tripple {
		flex-direction: column;
	}
	#branches-card5 {
		order: 1;
	}
}

@media (max-width: 1150px) {
	.branches-card-div {
		padding: calc(20px + 10 * (100vw - 768px) / (1150 - 768));
		width: calc(300px + 60 * (100vw - 768px) / (1150 - 768));
		height: calc(220px + 53 * (100vw - 768px) / (1150 - 768));
	}
	.brances-card-title-flex-title {
		font-size: calc(19px + 5 * (100vw - 768px) / (1150 - 768));
	}
	.brances-card-text {
		font-size: calc(15px + 3 * (100vw - 768px) / (1150 - 768));
	}
}

@media (max-width: 1023px) {
	
	.branches-h1 {
		margin-top: 10px;
	}
	#branches-card11 .branches-card-div:last-child {
		padding-right: calc(14px + (18 - 18) * (100vw - 660px) / (1023 - 660));
		padding-left: calc(21px + (27 - 18) * (100vw - 660px) / (1023 - 660));
	}
}
@media (max-width: 768px) {
	.branches-contact {
		margin-top: calc(-102px + 32 * (100vw - 320px) / (768 - 320));
	}

	body.no-scroll {
		overflow: auto;
	}
}
@media (max-width: 660px) {
	.branches-contact {
		padding: 0 100px;
	}
	.branches-cards {
		max-width: 390px;
		grid-template-columns: 1fr;
		margin-top: calc(30px + 23 * (100vw - 320px) / (660 - 320));
		margin-bottom: calc(50px + 31 * (100vw - 320px) / (660 - 320));
	}
	#branches-card2 {
		order: 2;
	}
	#branches-card15,
	#branches-card12,
	#branches-card9,
	#branches-card4 {
		padding: calc(15px + 14 * (100vw - 320px) / (660 - 320)) 30px;
	}
	#branches-card5 {
		order: 5;
	}

	#branches-card6 {
		order: 6;
		grid-column-start: 0;
		grid-column-end: 1;
		grid-row-start: 5;
		grid-row-end: 9;
	}
	#branches-card7 {
		order: 7;
	}
	#branches-card9 {
		order: 9;
		padding-right: calc(15px + 5 * (100vw - 320px) / (660 - 320));
	}
	#branches-card11 {
		order: 11;
	}
	#branches-card15 {
		order: 15;
		grid-column-start: 0;
		grid-column-end: 1;
		grid-row-start: 18;
		grid-row-end: 20;
		padding-right: calc(15px + 5 * (100vw - 320px) / (660 - 320));
	}

	.branches-card-div {
		padding: calc(21px + 9 * (100vw - 320px) / (660 - 320)) 30px;
		width: calc(280px + 80 * (100vw - 320px) / (660 - 320));
		height: calc(170px + 103 * (100vw - 320px) / (660 - 320));
	}
	.brances-card-title-flex-logo-div {
		flex: 0 0 calc(23px + 7 * (100vw - 320px) / (660 - 320));
		margin-right: calc(12px + 2 * (100vw - 320px) / (660 - 320));
	}
	.brances-card-title-flex-title {
		font-size: calc(18px + 6 * (100vw - 320px) / (660 - 320));
	}
	.brances-card-text {
		font-size: calc(12px + 6 * (100vw - 320px) / (660 - 320));
	}
	#branches-card11 .branches-card-div:last-child {
		padding-right: 18px;
		padding-left: 27px;
	}
}
@media (max-width: 500px) {
	.branches-contact {
		padding: 0 50px;
	}
}
@media (max-width: 390px) {

	.brances-card-title-flex-title,
	.brances-card-text {
		text-align: left;
	}
}

@media (max-width: 320px) {
	.container {
		padding-top: 115px;
	}
	.branches-contact {
		margin-top: -102px;
	}
}

.branches-card__info-icon {
	width: 100%;
}

.branches-card__info-btn {
  display: flex;
  align-items: center;
  column-gap: 10px;
  margin-bottom: 160px;
}

@media (max-width: 1700px) {
	.branches-card__info-btn {
		margin-bottom: 85px;
	}
}

@media (max-width: 400px) {
	.branches-card__info-btn {
		margin-bottom: 60px;
	}
}

@media (max-width: 360px) {
	.branches-card__info-btn {
		margin-bottom: 60px;
	}
}

@media (max-width: 1700px) {
  .branches-card__info-btn {
    column-gap: 20px;
  }
}

@media (max-width: 780px) {
  .branches-card__info-btn {
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 85px;
  }
}

@media (max-width: 400px) {
  .branches-card__info-btn {
    column-gap: 15px;
    margin-bottom: 50px;
  }
}

@media (max-width: 360px) {
  .branches-card__info-btn {
    column-gap: 7px;
  }
}

.branches-card__info-btn-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #000000;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: 30px;
  height: 30px;
}

.branches-card__info-btn {
  text-decoration: none;
  max-width: 310px;
}

.branches-card__info-btn span {
  display: block;
  font-weight: 500;
  font-size: 24px;
  color: #000000;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

@media (max-width: 1700px) {
  .branches-card__info-btn span {
    font-size: 20px;
  }
}

@media (max-width: 400px) {
  .branches-card__info-btn span {
    font-size: 17px;
    font-weight: 700;
  }
}

@media (max-width: 360px) {
  .branches-card__info-btn span {
    font-size: 14px;
    font-weight: 700;
  }
}

.branches-card__info-btn:focus .branches-card__info-btn-img,
.branches-card__info-btn:hover .branches-card__info-btn-img  {
  background-color: #bc2539;
  color: #ffffff;
}


.branches-card__info-btn:focus span,
.branches-card__info-btn:hover span {
  color: #bc2539;
}
