:root {
	--layout-header-height: 160px;
	--layout-mobile-header-height: 80px;
}

.pageContainer {display: flex; flex-direction: column; min-height: 98vh;}

/* Header */
header {
	position: sticky; top: 0; z-index: 3; height: var(--layout-mobile-header-height);
	margin-bottom: 1rem; box-shadow: 0 -4px 20px 0 rgba(0,0,0,0.2); background-color: #fff;
}
header .line {display: flex; align-items: center;}
header .logo {flex-grow: 1; margin: 0 0 0 80px; text-align: center;}
header .logo img {width: auto; height: 60px; margin: 10px 0;}
header .logo:hover img {filter: brightness(1.2);}

header .icon-menu {
	display: flex; justify-content: center; align-items: center;
	position: relative; width: 80px; height: 80px; overflow: hidden; cursor: pointer;
}
header .icon-menu svg {position: absolute; width: 80px; height: 80px; transition: transform 400ms;}
header .icon-menu svg .line {
	fill: none; stroke: #525252; stroke-width: 5.5; stroke-linecap: round;
	transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
}
header .icon-menu svg .line.top {stroke-dasharray: 40 160; transform: translateY(3px);}
header .icon-menu svg .line.middle {stroke-dasharray: 40 142; transform-origin: 50%; transition: transform 400ms;}
header .icon-menu svg .line.bottom {stroke-dasharray: 40 85; transform-origin: 50%; transform: translateY(-2px);}

header .icon-menu.active svg {transform: rotate(45deg);}
header .icon-menu.active svg .line.top {stroke-dashoffset: -64px; transform: translateY(0);}
header .icon-menu.active svg .line.middle {transform: rotate(90deg);}
header .icon-menu.active svg .line.bottom {stroke-dashoffset: -64px; transform: translateY(0);}

header + aside {
	display: flex; flex-direction: column; overflow: auto;
	position: fixed; top: var(--layout-mobile-header-height); right: 0; z-index: 40;
	width: 100%; height: calc(100% - var(--layout-mobile-header-height)); padding: 1rem;
	box-sizing: border-box; background: #f5f5f5; transform: translateX(100%);
	border-top: 2px solid #ddd;
}
header + aside.transition {transition: transform .25s;}
header + aside.active {transform: translateX(0);}

header + aside .menuMain {display: flex; flex-direction: column; width: 100%;}
header + aside .menuMain a {
	padding: 1.8rem 0; border-radius: 12px; color: var(--blue-main);
	text-align: center; font-size: 1.8rem; font-weight: bold;
}
header + aside .menuMain a[disabled] {background-color: var(--blue-lightest); pointer-events: none;}
header + aside .menuMain a.switch {width: 50%; margin: 1rem auto;}
header + aside .menuMain a.switch.events {background-color: #f9ecff; color: #aa1fea;}
header + aside .menuMain a.switch.care {background-color: #e6f0ff; color: #2b75e0;}

header + aside .menuSub {display: flex; gap: 1rem; width: 100%; margin: 1rem 0; padding: 1rem;}
header + aside .menuSub a {
	width: 32%; text-align: center; padding: 1rem 0;
	border-radius: 12px; background-color: var(--green-main);
	font-weight: bold; font-size: 20px; color: #fff;
}
header + aside .menuSub a[disabled] {background-color: var(--green-dark); color: #fff;}

header + aside .socialIcons {
	display: flex; gap: 10px; margin: auto;
	border-radius: 25px 0 0 25px; overflow: hidden;
}
header + aside .socialIcons i {
	display: block; width: 50px; height: 50px;
	border-radius: 50%; background-color: #fff;
	text-align: center; line-height: 54px; font-size: 1.6rem; color: var(--blue-main);
}
header + aside .socialIcons > *:hover i {background-color: var(--blue-main); color: #fff;}
header + aside .socialIcons .phone {display: flex;}
header + aside .socialIcons .phone div {
	display: flex; align-items: center;
	margin-left: -187px; padding: 0 1rem 0 58px;
	border-radius: 25px; background-color: white;
	font-size: 1.2rem; transition: margin 0.5s;
}
header + aside .socialIcons .phone:hover div {margin-left: -50px;}

header + aside + .column {padding-left: 1rem; padding-right: 1rem;}

@media screen and (min-width: 40em) {
	header.bg {
		position: fixed;
		z-index: 2;
		width: 100%;
		background-color: #fff;
		box-shadow: 0 -4px 20px 0 rgba(0,0,0,0.2);
	}

	header {
		position: sticky; top: 0; z-index: 3; margin-bottom: 2rem;
		height: var(--layout-header-height); padding: .5rem 1.5rem;
		background: none; box-shadow: none;
	}

	header .logo {flex-grow: unset; margin: 0;}
	header .logo img {height: 75px;}

	header .menuSub {display: flex; gap: 14px; margin-right: auto;}
	header .menuSub a {
		width: 140px; text-align: center;
		padding: 10px 0; border-radius: 12px;
		font-weight: bold;
		background-color: var(--green-main); font-size: 20px; color: #fff;
	}
	header .menuSub a:not([disabled]):hover {background-color: var(--green-dark); color: #fff;}
	header .menuSub a[disabled] {background-color: var(--green-dark); color: #fff;}

	header .menuMain {display: flex; gap: 1rem; margin-right: -.7rem;}
	header .menuMain a {
		padding: 10px 1rem; border-radius: 12px;
		font-size: 20px; font-weight: bold; color: var(--blue-main);
	}
	header .menuMain a:not([disabled]):hover {text-decoration: underline;}
	header .menuMain a[disabled] {background-color: var(--blue-lightest); cursor: default; pointer-events: none;}
	header .menuMain a.switch {
		width: 150px; height: 65px; margin: -16px 1rem -16px 0; padding: 0; border-radius: 2rem 2rem 0 0;
		line-height: 65px; text-align: center; font-size: 24px; font-weight: normal;
	}
	header .menuMain a.switch.events {background-color: #f9ecff; color: #aa1fea;}
	header .menuMain a.switch.care {background-color: #e6f0ff; color: #2b75e0;}

	header .socialIcons {
		display: flex; gap: 10px; margin-right: auto;
		border-radius: 25px 0 0 25px; overflow: hidden;
	}
	header .socialIcons i {
		display: block; width: 50px; height: 50px;
		border-radius: 50%; background-color: #fff;
		text-align: center; line-height: 54px; font-size: 1.6rem; color: var(--blue-main);
	}
	header .socialIcons > *:hover i {background-color: var(--blue-main); color: #fff;}

	header .socialIcons .phone {display: flex;}
	header .socialIcons .phone div {
		display: flex; align-items: center;
		margin-left: -187px; padding: 0 1rem 0 58px;
		border-radius: 25px; background-color: white;
		font-size: 1.2rem; transition: margin 0.5s;
	}
	header .socialIcons .phone:hover div {margin-left: -50px;}
}

/* Footer */
footer {
	display: flex; flex-direction: column; margin-top: auto;
	border-top: 1px solid #bbb; background-color: #15386A; color: #fff;
}
footer .first {width: 100%; display: flex; flex-direction: column-reverse;}

footer .first .contacts {padding-right: 1rem; font-size: 1rem;}

footer .first .socials {
	display: flex; gap: 1rem; justify-content: center;
	margin: 1rem 0; padding: 2rem 0;
	border-width: 2px 0; border-style: solid; border-color: #042759;
}
footer .first .socials i {
	display: block; width: 50px; height: 50px;
	border: 1px solid #ccc; border-radius: 50%;
	text-align: center; line-height: 50px; font-size: 1.5rem; color: #ccc;
}

footer .first .therapies {display: flex; flex-direction: column;}
footer .first .therapies a {line-height: 3rem; font-size: 1rem; color: #fff; text-align: center;}
footer .first .therapies a:not([disabled]):hover {text-decoration: underline; color: #979797;}
footer .first .therapies a[disabled] {font-weight: bold; color: #979797;}

footer .first .bottomMenu {
	display: flex; flex-direction: column; margin-bottom: 1rem;
	padding: 1rem 0; border-bottom: 2px solid #042759;
}
footer .first .bottomMenu a {line-height: 4rem; font-size: 1.2rem; color: #fff; text-align: center;}
footer .first .bottomMenu a[disabled] {font-weight: bold; color: #979797;}

footer .second {padding: 1.5rem 0; background-color: #042759;}
footer .second .columns:first-child {text-align: left;}
footer .second .columns div {height: 20px;}

@media screen and (min-width: 40em) {
	footer {height: 240px;}

	footer .first {display: block; padding: 1rem 0;}
	footer .first .columns div {height: 160px;}

	footer .first .contacts {padding-right: .5rem;}

	footer .first .socials {margin: 0; padding: 0; border: 0;}
	footer .first .socials i:hover {border-color: #979797; color: #979797;}

	footer .first .therapies a {line-height: 2rem; font-size: 1rem; text-align: right;}
	footer .first .therapies a:not([disabled]):hover {text-decoration: underline; color: #979797;}

	footer .first .bottomMenu {margin-bottom: 0; padding: 0 .5rem; border-bottom: 0;}
	footer .first .bottomMenu a {line-height: 2rem; font-size: 1rem; text-align: right;}
	footer .first .bottomMenu a:not([disabled]):hover {text-decoration: underline; color: #979797;}
}

/* Decor */
.decor {
	position: absolute;
	left: 0;
	top: 0;
	pointer-events: none;
	width: 100%;
	min-height: 100vh;
	overflow: hidden;
}

@media screen and (min-width: 1600px) {
	.decor div {
		position: absolute;
		z-index: 1;
		background-repeat: no-repeat;
		background-size: cover;
	}

	.decor .l-1 {
		width: 540px;
		height: 740px;
		background-image: url('../../image/decor/l-1.svg');
		z-index: 2;
		left: -140px;
		top: 0;
	}

	.decor .r-1 {
		width: 140px;
		height: 730px;
		background-image: url('../../image/decor/r-1.svg');
		right: 0;
		top: 350px;
	}
}
@media screen and (min-width: 1800px) {
	.decor .l-1 {left: -70px;}
}
@media screen and (min-width: 1900px) {
	.decor .l-1 {left: 0;}
}

/* Therapy Card */
.therapyCard {
	position: relative; transition: all .3s;
	margin-bottom: 1rem; padding: 3rem 0 2rem;
	border-radius: 30px; border: 2px solid var(--green-main);
	background-color: #fff; box-shadow: 0 3px 6px #00000029;
}
.therapyCard:hover {
	background: #f7f7ff;
	box-shadow: 0 5px 10px #00000040;
	border-color: color-mix(in srgb, var(--green-main) 85%, black);
}
.therapyCard a {
	position: absolute; top: -2px; right: -2px; border-radius: 30px;
	width: calc(100% + 4px); height: calc(100% + 4px);
}
.therapyCard .icon {
	width: 80px; height: 80px; margin: 0 auto 1rem;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
.therapyCard._1 .icon {background-image: url('../../image/component/therapy-card-icon-1.png?r=1'); width: 106px;}
.therapyCard._2 .icon {background-image: url('../../image/component/therapy-card-icon-2.png?r=1');}
.therapyCard._3 .icon {background-image: url('../../image/component/therapy-card-icon-3.png?r=1');}
.therapyCard._4 .icon {background-image: url('../../image/component/therapy-card-icon-4.png?r=1');}
.therapyCard._5 .icon {background-image: url('../../image/component/therapy-card-icon-5.png?r=1');}
.therapyCard._6 .icon {background-image: url('../../image/component/therapy-card-icon-6.png?r=1');}
.therapyCard._7 .icon {background-image: url('../../image/component/therapy-card-icon-7.png?r=1');}
.therapyCard._8 .icon {background-image: url('../../image/component/therapy-card-icon-8.png?r=1');}
.therapyCard._9 .icon {background-image: url('../../image/component/therapy-card-icon-9.png?r=1');}
.therapyCard._10 .icon {background-image: url('../../image/component/therapy-card-icon-10.png?r=1');}

.therapyCard .title {text-align: center;}
.therapyCard .title span {
	line-height: 50px; padding: 0 1rem;
	font-size: 22px; font-weight: bold;/* color: #fff;*/
}
.therapyCard .title .ch {width: 22%; text-align: center; background-color: #d00; display: none;}
.therapyCard .title span:not(.ch) {width: 35%;}
.therapyCard .title span.en {text-align: left; font-size: 20px; border-right: 2px solid var(--green-light);}

/* Therapist Card */
.therapistCard {
	position: relative; transition: all .3s;
	display: flex; flex-direction: column-reverse; justify-content: flex-end;
	height: 300px; margin-bottom: 1rem; padding: 2rem;
	border-radius: 30px; border: 2px solid var(--green-main);
	background-color: #fff; box-shadow: 0 3px 6px #00000029;
}
.therapistCard:hover {
	background: #f7f7ff;
	box-shadow: 0 5px 10px #00000040;
	border-color: color-mix(in srgb, var(--green-main) 85%, black);
}
.therapistCard a {
	position: absolute; top: -2px; right: -2px; border-radius: 30px;
	width: calc(100% + 4px); height: calc(100% + 4px);
}
.therapistCard .photo {
	display: flex; align-items: center; justify-content: center;
}
.therapistCard .photo img {
	width: 100px; aspect-ratio: 1 / 1; object-fit: cover;
	border-radius: 50%;
}
.therapistCard .info {text-align: center;}
.therapistCard .info .name {
	margin-bottom: 0; line-height: 4rem;
	font-size: 22px; font-weight: bold;
}
.therapistCard .info .therapy {line-height: 1.5rem; font-size: 1rem;}
.therapistCard .info .therapy i {display: none;}
