
:root {

									/* ===== COLOURS ===== */
	
	--body-color:  #ffffff;
	--background_color: #E7F1FC;
	--first_color: #0054A8;
	--first_color_hover: #A2D5F6;
	--second_color: #E9F3FD;
	--second_color_hover: #FFED48;
	--first_text_color:  #181C21;
	--second_text_color:  #ffffff;

									/* ===== FONTS ===== */

	--font-Comfortaa: 'Comfortaa', sans-serif;
	--font-Jost: 'Jost', sans-serif;
	--font-Inter: 'Inter', sans-serif;

	

									/* ===== SIZES ===== */

	--container-max-width: 1350px;

}


									/* ===== BASE SETTINGS  ===== */

html {
	scroll-behavior: smooth;
	color: var(--first_text_color);
}

*, ::after, ::before {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: var(--font-Comfortaa);
	text-decoration: none;
	list-style-type: none;
	font-style: normal;
	-webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-Jost);
	font-weight: 500;
}

a, a:checked, a:hover {
	color: inherit;
}

.social .icon-s {
	display: none;
}



									/* ===== TITLES, TEXT ===== */

.main-title, .title, .subtitle, .card-title  {
	line-height: 110%;
}

.main-title {
	font-size: 54px;
}

.title {
	font-size: 32px;
}

.subtitle {
	font-size: 20px;
}

.card-title {
	font-size: 30px;
	text-align: center;
}

.text {
	font-size: 16px;
	line-height: 170%;
}

.s32 {
	font-size: 32px;
}

.s24 {
	font-size: 24px;
}

.s18 {
	font-size: 18px;
}

.s14 {
	font-size: 14px;
}

.s12 {
	font-size: 12px;
}
 

									/* ===== BODY ===== */

#modal {
	display: none;
	opacity: 0;
	position: fixed; 
	z-index: 10;
	left: 0;
	top: 0;
	width: 100vw; 
	height: 100vh;
	background-color: rgba(0,0,0,0);
}

#modal .show {
	opacity: 1;
}


body {
	position: relative;
	min-height: 100vh;
	background-color: var(--body-color);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

footer, header, .container, section {
		min-width: 330px;
	}

main {
	flex: 1;
}

section {
	margin-bottom: 160px;
}

.container {
	max-width: var(--container-max-width);
	margin: 0 auto;
	width: 100%;
	padding: 0 15px;
}

.flow {
	margin: 0 auto;
}

.link {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
}


									/* ===== UI ===== */

/* ===== BUTTONS ===== */

.button-l, .button-s, .button-arrow-right {

	display: inline-flex;
	align-items:center;
	justify-content: center;
	border-radius: 12px;
	border: none;
	transition: 0.25s ease;
}

.button-text {
	font-weight: 500;
	line-height: normal;
	letter-spacing: 0.5px;
	font-family: var(--font-Jost);
	font-size: inherit;
}

.button-l {
	--size_icon: 28px;
	/* width: 224px; */
	height: 48px;
	font-size: 20px;
	background-color: var(--first_color);
	gap: 13px;
	color: var(--second_text_color);
	/* aspect-ratio: 0.21; */
	padding: 0 21px;
	width: fit-content;
}

.button-l:hover {
	background-color: var(--first_color_hover);
}

.button-l svg {
	width: var(--size_icon);
	height: var(--size_icon);
	flex-shrink: 0;
}

.button-s {
	font-size: 16px;
	background-color: var(--second_color);
	padding: 12px;
	gap: 7px;
	color: var(--first_text_color)
}

.button-s:hover {
	background-color: var(--second_color_hover);
	color: var(--first_text_color)
}

.button-s svg {
	width: 24px;
	height: 24px;
}

.button-arrow-right {
	
	padding: 2px 7px;
	font-size: 12px;
	background-color: var(--first_color);
	color: var(--second_text_color);
	
	transition: 0.5s ease;
	overflow: hidden;
	width: 35px;
}

.button-arrow-right:hover {
	width: 137px;
	padding: 2px 16px;
	gap: 4px;
	color: var(--second_text_color);
}

.button-arrow-right svg {
	width: 21px;
	height: 24px;
	flex-shrink: 0;
}

.button-arrow-right .button-text {
	font-weight: 400;
	line-height: 140%;
	font-family: var(--font-Comfortaa);
	overflow: hidden;
}

.button-arrow-right:hover .button-text{
	overflow: initial;
	color: var(--second_text_color);
}

.w100 {
	width: 100%;
}


/* ===== BREADCRUMB ===== */

.breadcrumb {
	padding: 14px 0 37px;
	}

.breadcrumb li {
  display: inline;
}

.breadcrumb li+li:before {
	content: url(../img/base/chevron_right.svg);
	padding: 0 10px;
	color: var(--first_text_color);
}

.breadcrumb li>*{
  color: var(--first_text_color);
}

.breadcrumb li a:hover {
	color: var(--first_color);
	text-decoration: underline;
}


/* ===== ACCORDION ===== */

.accordion {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.accordion__control {
	padding: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 44px;
}

.open .accordion__content {
	padding: 0px 24px 19px;
}

.accordion__item {
	overflow: hidden;
	border-radius: 24px;
	background-color: var(--background_color);
}

.accordion__content {
	height: 0;
	overflow: hidden;
	padding: 0 24px;
	transition: 0.25s ease;
	box-sizing: content-box;
	will-change: height;

}

.accordion__content-btn{
	text-align: right;
}

/* ===== Accordion Circle Control =====  */

.circle-plus {
	position: relative;
	width: 32px;
	height: 32px;
	border: 2px solid var(--first_text_color);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;
}

.circle-plus::before, .circle-plus::after  {
	content: "";
	position: absolute;
	width: 40%;
	border: 1px solid rgb(0, 0, 0);
	transition: 0.25s ease;
}

.circle-plus::after {
	transform: rotate(90deg);
}

.open .circle-plus::after {
	transform: rotate(180deg);
}

.open .circle-plus::before {
	transform: rotate(90deg);
	opacity: 0;
}


/* ===== CARD IMG ===== */


/* ===== CARD ===== */

.card,
.empty {
	max-width: 426px;
	flex-basis: 100%;
}

.card-body {
	position: relative; 	
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	aspect-ratio: 0.83;

	padding: 25px 25px 18px;
	border-radius: 32px;
		
	/* background-color: green; */
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	z-index: 3;
}

.gradient::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(1deg, #000 -0.04%, rgba(0, 0, 0, 0.00) 28.01%);
	background-size: cover;
	z-index: 2;
	border-radius: 32px;
}

.doc__photo img{
	display: block; 
	border-radius: 32px; 
	position: absolute ; 
	top: 0; 
	left: 0; 
	width: 100%;
}

.card .button-more {
	position: relative;
	z-index: 2;
	margin-right: 0;
	align-self: flex-end;
	width: 30px;
	height: 34px;
}

.card .button-more .icon {
	color: var(--first_color);
	width: 30px;
	height: 30px;
}

.card-content {
	display: flex;
	position: relative;
	flex-direction: column;
	gap: 15px;
	color: var(--second_text_color);
	z-index: 2;
	align-items: center;
}

.card-content>* {
	text-align: center;
	padding: 0 10px;
}


/* ===== ROUND CORNER ===== */

.round>* {
	position: relative;
	z-index: 2;
}

.round {
	--r: 32px;
	--minus_r: calc(-1 * var(--r));
	--d: calc(var(--r) * 2);
	--minus_d: calc(-1 * var(--d));
	position: absolute;
	bottom: -0.5px;
	background-color: var(--body-color);
	border-radius: 24px 24px 0 0;
	z-index: 3;
}

.round::before {
	content: "";
	position: absolute;
	top: var(--minus_d);
	left: 0;
	width: var(--d);
	height: var(--d);
	border-radius: 50%;
	background-color: transparent;
	box-shadow: var(--minus_r) var(--r) 0 var(--body-color);
}

.round::after {
	content: "";
	position: absolute;
	bottom: 0px;
	right: var(--minus_d);
	width: var(--d);
	height: var(--d);
	border-radius: 50%;
	background-color: transparent;
	box-shadow: var(--minus_r) var(--r) 0 var(--body-color)
}

.r-left {
	left: 0;
}

.r-right  {
	right: 0px;
}

.r-right::before {
	right: 0;
	left: auto;
	box-shadow: var(--r) var(--r) 0 var(--body-color);
}

.r-right::after {
	left: var(--minus_d);
	box-shadow: var(--r) var(--r) 0 var(--body-color);
}




/* ======================================================================================= */


.header {
	row-gap: 22px;
	column-gap: 110px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 40px;


}





/* ================================================================================== */


									/* ===== HEADER ===== */

header {
	width: 100%;
	position: sticky;
	position: -webkit-sticky;
	box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.4);
	z-index: 999;
	min-width: 330px;
	transition: all 0.5s ease;
	background-color: white
}

.logo {
	display: block;
	position: absolute; 
	left: 50%; 
	transform: translateX(-50%);
	z-index: 1;
}

header .logo img {
	display: block;
	width: 100%;
	object-fit: cover;
	object-position: center;
}

.navbar__flow {
	display: flex;
	gap: 25%;
	justify-content: center;
}

.navbar__top .navbar__flow {
	height: 80px;
		position: relative; 	 
}

.navbar__nav .navbar__flow {
	height: 57px;
}

.navbar__item {
	display: flex; 
	justify-content: flex-start; 
	flex-basis: 100%;
	align-items: center;
}

.navbar__item:first-child {
	justify-content: flex-end;
}

.navbar__search {
	display: flex;
	border-radius: 12px; 
	width: 38px; 
	height:38px; 
	background-color: var(--second_color);
	transition: 0.5s ease;
	overflow: hidden;
	gap: 15px;
	align-items: center;
}

.navbar__search.active {
	width: 266px;
	background-color: var(--second_color);
}

.navbar__search .search-btn {
	position: relative;
	transition: 0.5s ease;
	width: 38px;
	height: 38px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	border-radius: 12px;
	z-index: 9;
	flex-shrink: 0;
	background-color: var(--body-color);
}

.navbar__search .search-input {
	position: relative;
	flex: 1;
	height: 100%;
}

.navbar__search input {
	width: 100%;
	height: 100%;
	outline: none;
	border: none;
	background-color: transparent;
}

.navbar__search .icon {
	width: 28px;
	height: 28px;
	color: var(--first_color);
}

.navbar__top {
	color: var(--second_text_color);
	background-color: var(--first_color);
}

.navbar__nav {
	background-color: var(--body-color);
}

.top__menu:first-child {
	gap: 34px;

	
}

.top__menu:last-child {
	gap: 115px;
	position: relative;
}

.top__menu .phone {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.top__menu .phone svg {
	width: 28px;
	height: 28px;
}

.top__menu .social {
	gap: 0px;
	display: flex;
	align-items: center;
}

.top__menu .social .icon {
	color: inherit;
	fill: transparent;
	width: 44px;
	height: 44px;
	display: block;
}

.menu {
	height: 100%;
	width: 100%;
    display: flex;
    gap: 25%;
    justify-content: center;
	
}

.nav__menu {
	gap: 16px;
}

.nav__menu .text {
	padding: 0px 8px;
	position: relative;
	height: 100%;
}

.nav__menu .text a {
	height: 100%;
	display: flex;
	align-items: center;
}


.navbar__nav .text::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 10px;
	width: 100%;
	border: 1.6px solid var(--first_color);
	transform: scaleX(0);
	transition: 0.3s linear;

}

.navbar__nav .text:hover::before {
	transform: scaleX(1);
}

.nav__active.text::before  {
	transition: none;
	transform: scaleX(1);
}



.mobile-menu {
	display: none;
	justify-content: end;
	align-items: center;
}

.navbar__nav .menu .social {
	display: none;
}

.mobile-menu .icon {
	width: 48px;
	height: 48px;
}


									/* ===== FOOTER ===== */

footer {
	background-color: var(--first_color);
	color: var(--second_text_color);
}

.footer__flow {
	max-width: 1110px;
	margin: 0 auto;
}

.footer__content {
	display: flex;
	gap: 108px;
	align-items: flex-start;
	padding: 33px 0 20px;
	flex-wrap: wrap;
}

.footer__logo {
	display: block;
}

.footer__menu {
	display: flex;
	flex-direction: column;
	gap: 11px;
	align-items: flex-start;
	justify-content: flex-start;
}

.footer__menu .text {
	font-size: 18px;
}

.footer__contacts {
	display: flex;
	flex-direction: column;
	gap: 73px;
}

.footer__contacts .social {
	display: flex;
	gap: 20px;
}

.footer__contacts .social .icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	fill: rgba(255, 255, 255, 0.1);
	display: flex;
	justify-content: center;
	align-items: center;
	color: rgba(255, 255, 255, 0.7);
	transition: 0.2s ease;
}

.footer__contacts .contact-us {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: flex-start;
}


.footer__contacts .contact-us li {
	display: flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.7);
}

.footer__contacts .contact-us li > * {
	color: rgba(255, 255, 255, 0.7);
	transition: 0.2s ease;
} 

.footer__contacts .contact-us li:hover > *,
.footer__contacts .social .icon:hover {
	color: var(--second_text_color)
}

.footer__contacts .contact-us svg {
	width: 24px;
	height: 24px;
}

.footer__all-rights-reserved {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	max-width: 1110px;
	margin: 0 auto;
	padding: 11px 0 18px;
}

.footer__all-rights-reserved p {
	font-family: var(--font-Inter);
	font-size: 14px;
	line-height: 170%
}


									/* ===== MEDIA ===== */

@media screen and (min-width: 1140px) {

	.navbar {
		border-bottom: 0.25px solid rgba(24, 28, 33, 0.3);
	}

	.navbar__search {
	width: 266px;
	}

	.navbar__search .search-btn {
		background-color: var(--second_color);
	}
}

@media screen and (max-width: 1140px) {


	.top__menu .social,
	.navbar__search  {
		position: absolute;
		right: 0;
		bottom: -63%;
	}

	.navbar__search  {
		left: 0;
		background-color: var(--body-color);
	}

	.navbar__search.active .search-btn {
		background-color: var(--second_color);
	}

	.top__menu .social .icon {
		color: var(--first_color);
	}

	.top__menu:last-child {
		gap: 20px;
	}

	.navbar__flow {
		gap: 0;
		justify-content: space-between;
	}

	.navbar__item {
		flex-basis: content;
	}

										/* ===== Mobile menu ===== */

	.navbar .mobile-menu {
		display: flex
	}

	.nav__menu .text::before {
		content: none;
	}

	.menu,
	.nav__menu {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		color: var(--body-color);
	}

	.menu {
			gap: 16px;
			height: auto;
			position: fixed;
			top: 0;
			left: -105%;
			box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.4);
			transition: 0.3s;
			overflow-y: auto;
			overflow-x: hidden;
			background-color: var(--first_color);
			z-index: 10;
			padding: 19px 12px;
		}

	.navbar__nav .menu .social {
	display: flex;
	justify-content: center;
	width: 100%;

}	

	.navbar__nav .menu .social .icon {	
		display: flex;
		width: 48px;
		height: 48px;
		fill: transparent;
		justify-content: center;
		align-items: center;
		color:var(--body-color);	
	}


	.show {
		left: 0;
		top: 0;
	}

	.hide-navbar {
		top: -138px;
		position: relative;
	}

}

@media screen and (max-width: 1047px) {


	section {
		margin-bottom: 60px;
	}
	
	.header {
		align-items: center;
		flex-direction: column;
	}

	.main-title {
		font-size: 32px;
		text-align: center;

	}

	.title {
		font-size: 24px;
		}

	.banner__content .text,
	.schedule__days .text {
		font-size: initial;
	}	

	.schedule svg {
		width: 24px;
		height: 24px;
	}

}		
	
@media screen and (max-width: 920px) {

	.navbar {
		margin-bottom: 0;
	}

	.footer__content {
		flex-direction: column;
		align-items: center;
	}

	
	.footer__content, .footer__contacts {
		gap: 38px;
	}

	.footer__contacts, .footer__menu {
		align-self: flex-start;
	}

}

@media screen and (max-width: 768px) {

	.logo {
		height: 80px;
		width: 80px;
	}

	.navbar__top .navbar__flow,
	.navbar__nav .navbar__flow {
		height: 40px;
	}

	.top__menu .social {
		bottom: -97%;
	}

	.navbar__search {
		bottom: -85%;
	}

	.navbar__search {
			max-width: 35%;
			gap: 4px;
	}

	.navbar__search, .navbar__search .search-btn{
		height: 25px;
		width: 25px;
		border-radius: 4px;
		
	}

	.navbar__search .icon {
		width: 20px;
		height: 20px;
	}

	.navbar__search .text {
		font-size: 10px;
	}





	.top__menu .social .icon {
		width: 35px;
		height: 35px;
	}

	.top__menu .button-s {
		padding: 4px 8px;
		font-size: 10px;
		gap: 2px;
		border-radius: 4px;
	}

	.top__menu .phone svg {
		width: 20px;
		height: 20px;
	}

	.top__menu .button-s svg {
		width: 12px;
		height: 12px;
}

	.top__menu .s18 {
		font-size: 10px;
	}

	.mobile-menu .icon {
		width: 24px;
		height: 24px;
	}

	.subtitle {
		font-size: 18px;
	}

	.accordion__control{
		padding: 19px;
	}

}


@media screen and (max-width: 500px) {

	.navbar__top .phone h4, 
	.navbar__top .button-s {
		display: none;
	}
	
	.footer__all-rights-reserved p {
		font-size: 10px;
	}

	.button-l {
		border-radius: 9px;
		height: 38px;
	}

	.round {
		--r: 24px;
	}

}

