@font-face {
    font-family: Palanquin-Regular;
    src: url(../fonts/Palanquin-Regular.ttf);
    font-weight: 400;
}
@font-face {
    font-family: Palanquin-Light;
    src: url(../fonts/Palanquin-Light.ttf);
    font-weight: 100;
}
@font-face {
    font-family: Palanquin-Medium;
    src: url(../fonts/Palanquin-Medium.ttf);
    font-weight: 500;
}
@font-face {
    font-family: Palanquin-SemiBold;
    src: url(../fonts/Palanquin-SemiBold.ttf);
    font-weight: 600;
}
@font-face {
    font-family: Palanquin-Bold;
    src: url(../fonts/Palanquin-Bold.ttf);
    font-weight: 700;
}
@font-face{
    font-family: Roxborough-ExtraBold;
    src: url(../fonts/RoxboroughCF-ExtraBold.otf);
    font-weight:bolder;
}

:root{
    --color-bg-primary: #98AEAE;
    --color-bg-primary-light:#E4EEEE;
    --color-bg-primary-dark:#486167;
    --color-bg-action: #D29191;
    --color-bg-action-hover: #EFAAAA;

    --color-separator-line: #E8F0F0;
    --color-separator-line-negative:#A2B6B6;
    
    --color-font-base: #848585;
    --color-font-negative:#ffffff;
    --color-font-primary:#07404A;
    --color-font-primary-light:#98AEAE;
    --color-font-primary-lightest:#cddddd;
    --color-font-action:#D29191;
    --color-font-action-light:#E8D1D1;

    --social-margin: 10px;

    --text-max-width:780px;
    font-size: 17px;
}
html, body{
    font-family: Palanquin-Regular;
    color:var(--color-font-base);
    overflow-x: hidden;
}

section, div, p, h1{
    /* border: 1px solid red; */
}
div.space--break{
    position:relative;
    width:100%;
    height:40px;
}
section{
    position:relative;
    padding:50px 0px 50px 0px;
}
p{
    margin: 8px 0px 16px 0px;
    line-height: 1.7;
    font-size: 1rem;
}
p strong{
    font-family: Palanquin-SemiBold;
    font-weight: 400;
}
p.big{
    font-size: 1.18rem;
}
a{
    text-decoration:none;
    color: var(--color-font-action);
}
a:hover{
    text-decoration: underline;
    cursor: pointer;
}
button{
    padding:6px 12px 8px 12px;
    font-family: Palanquin-Medium;
    line-height:1.7;
    font-size: 1.05rem;
    color:#ffffff;
    background-color:var(--color-bg-action);
    border-radius: 10px 10px 10px 10px / 9px 9px 9px 9px;
    border:none;
}
button:hover{
    background-color:var(--color-bg-action);
    cursor: pointer;
}
button.cta--button{
    padding:8px 16px 10px 16px;
    font-family: Palanquin-Medium;
    line-height:1.9;
    font-size: 1.2rem;
    border-radius: 10px 10px 10px 10px / 9px 9px 9px 9px;
    filter: drop-shadow(0px 3px 8px rgba(0, 0, 0, 0.2));
}
h1{
    width:100%;
    line-height:1.3;
    font-family: Roxborough-ExtraBold;
    font-size: 2.3rem;
    margin:0;
    padding:0px 0px 25px 0px;
    position:relative;
    color:var(--color-font-primary);
}
h1.negative{
    color:var(--color-font-negative);
}
h1 .title--small{
    font-size: 1.5rem;
    font-weight: 500;
    font-family: Palanquin-Regular; 
}
h2{
    width:100%;
    line-height:1.3;
    font-family: Roxborough-ExtraBold;
    font-size: 1.9rem;
    margin:0;
    padding:0px 0px 25px 0px;
    position:relative;
    color:var(--color-font-primary);
}
h2 .title--small-before{
    font-size: 1.15rem;
    font-weight: 400;
    font-family: Palanquin-Light; 
}
h2 .title--small-after{
    font-size: 1.25rem;
    font-weight: 500;
    font-family: Palanquin-Regular; 
}
h2.negative{
    color:var(--color-font-negative);
}
h3{
    width:100%;
    line-height:1.3;
    font-family: Palanquin-Regular;
    font-size: 1.5rem;
    margin:0;
    padding:0px 0px 55px 0px;
    color:var(--color-font-primary);
}
h3.negative{
    color:var(--color-font-negative);
    font-weight: 400;
}
h4{
    width:100%;
    line-height:1.2;
    font-family: Palanquin-Light;
    font-size: 1.3rem;
    margin:0;
    color:var(--color-font-primary);
}
h4.negative{
    color:var(--color-font-negative);
}
ul{
    padding-left:20px;
}
ul li{
    margin: 8px 0px 16px 0px;
    line-height: 1.6;
    color: var(--color-font-base);
    font-size: 1.05rem;
}
.content--holder{
    max-width: 1024px;
    height: 100%;
    padding: 0px 35px 0px 35px;
    position: relative;
    margin:0 auto;
    text-align: center;
}
.content--holder p{
    max-width:var(--text-max-width);
    margin-left: auto;
    Margin-right: auto;
}
.nav--section{
    position:fixed;
    width:100%;
    height:80px;
    padding:8px 0px 8px 0px;
    box-sizing: border-box;
    z-index:100;
}
.nav--section .content--holder{
    max-width: 1124px;
    box-sizing: border-box;
}
.nav--section .nav--bar{
    position: absolute;
    width: calc(100% - 70px);
    height: 100%;
    top:0px;
    background-color: rgba(255,255,255,0.90);
    backdrop-filter: blur(10px);
    box-shadow: 0px 0px 25px 0px rgb(0 0 0 / 8%);
    border: solid 1px rgba(0,0,0,0.04);
    border-radius: 8px;
    box-sizing: border-box;
    z-index:-1;

    animation-name: mobile-switch;
    animation-duration: 0.30s;
    animation-fill-mode: forwards;
}
.nav--section .nav--content{
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    padding: 8px 30px 8px 30px;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}
.nav--content .nav--logo{
    height:100%;
    padding:2px 0px 4px 0px;
    box-sizing: border-box;
}
.nav--content .nav--logo img{
    height:100%;
}
.nav--content .nav--links{
    display: flex;
    align-items: center;
    font-family: Palanquin-Medium;
    font-size: 1.05rem;
    gap:20px;
    padding: 0px 0px 3px 0px;
}
.nav--content .nav--links a.on--page{
    color:rgba(0, 0, 0, 0.80);
    /* text-decoration: underline; */
}
.nav--content .nav--links a.on--page:hover{
    cursor:default;
    text-decoration: none;
}
.nav--section .nav--button{
    position: relative;
    width:55px;
    height:55px; 
    visibility:hidden;
    display:none; 
}
.nav--section .nav--button .button--shape{
    position:relative;
    width:100%;
    height:100%;
    top:0px;
    left:0px;
    box-sizing: border-box;
    background-color: rgba(255,255,255,0.83);
    backdrop-filter: blur(6px);
    box-shadow: 0px 0px 25px 0px rgb(0 0 0 / 6%);
    border: solid 1px rgba(0,0,0,0.04);
    border-radius: 8px;
    pointer-events: none;
}
.nav--button svg{
    pointer-events: none;
}
.nav--button .button--icon{
    position:absolute;
    height:23px;
    width:23px;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.section--primary{
    background-color: var(--color-bg-primary);
    color:var(--color-font-negative);
}
.section--primary h2{
    /* color:var(--color-font-negative); */
}
.section--primary a{
    color:var(--color-font-action-light);
}
.section--primary-light{
    background-color: var(--color-bg-primary-light);
}
.text--over-primary{
    color: var(--color-font-negative);
}
h3.title--over-primary{
    color: var(--color-font-primary);
}
.header{
    padding-top:15px;
}
.page--header{
    padding:124px 0px 68px 0px;
}
.page--header.continuous{
    padding-bottom: 0px;
}
.page--header .title--small{
    color:var(--color-font-primary-lightest);
}
header.cli-sec-hero{
    position:relative;
    height:700px;
    width:100%;
}
.cli-sec-hero .hero-img--holder{
    position:absolute;
    width:100%;
    height:100%;
    background-image: url(../img/bg-slide-1.webp);
    background-size: cover;
    background-position: center;
}
.cli-sec-hero .hero-gradient--top{
    position:absolute;
    height:145px;
    width:100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 90%);
}
.cli-sec-hero .hero-gradient--sides{
    position:absolute;
    height:100%;
    width:100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.8) 100%);
}
.cli-sec-hero .logo--holder{
    position: relative;
    max-width: 100%;
    height:200px;
    padding: 8px 0px 16px 0px;
    margin: 0 auto;
    visibility: hidden;
    display: none;
}
.cli-sec-hero .logo--holder img{
    position:relative;
    height:100%;
}
.cli-sec-hero .content--holder{
    z-index: 1;
}
.cli-sec-hero .title--holder{
    position:absolute;
    max-width:590px;
    margin:0 auto;
    top:50%;
    transform:translate(0%, -50%);
    text-align: left;
}
.cli-sec-hero .title--holder h1{
    line-height: 58px;
    color: var(--color-font-primary);
    padding-bottom: 60px;
}
.hero-wave--holder{
    position:absolute;
    width:100%;
    height:260px;
    bottom:0px;
}
.hero-wave--holder svg{
    position:absolute;
    width:100%;
    bottom:-1px;
}
.page-header-wave--holder{
    position:absolute;
    width:100%;
    top:0px;
}
.page-header-wave--holder svg{
    position:absolute;
    width:100%;
    top:0px;
}
.main{
    width:100%;
    position: relative;
}
.title--left{
    text-align: left;
}
.title-highlight{
    position: relative;
    padding: 4px 24px 10px 18px;
    left: -15px;
    border-radius: 50px;
    background: rgba(152, 174, 174, 0.45);
    line-height: 68px;
}
.take-away{
    padding:25px 0px 25px 0px;
    border-style: solid none solid none;
    border-width:2px;
    border-color:var(--color-separator-line);
}
.take-away p{
    margin:0px auto;
}
.section--primary .take-away{
    padding:25px 0px 25px 0px;
    border-style: solid none solid none;
    border-width:2px;
    border-color:var(--color-separator-line-negative);
    color: var(--color-font-negative);
}
.team-wave-top--holder{
    position:absolute;
    width:100%;
    height:calc(260px + 400px);
    top:0px;
}
.team-wave-top--holder .wave-filler{
    position: relative;
    width:100%;
    height:400px;
    background-color: var(--color-bg-primary);
}
.team-wave-top--holder svg{
    position:absolute;
    width:100%;
    top:400px;
}
.team-wave-bottom--holder{
    position:absolute;
    width:100%;
    height:calc(170px + 130px);
    bottom:0px;
}
.team-wave-bottom--holder .wave-filler{
    position: absolute;
    bottom:0px;
    width:100%;
    height:130px;
    background-color: #ffffff;
}
.team-wave-bottom--holder svg{
    position:absolute;
    width:100%;
    bottom:130px;
}
.layout--columns{
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:center;
    padding: 0px 0px 48px 0px;
}
.layout--columns.two-cols{
    gap: 40px 40px;
}
.layout--columns.three-cols{
    gap: 40px 32px;
}
.two-cols .column{
    position: relative;
    flex-grow: 1;
    flex-basis:calc(50% - 40px);
    max-width: 50%;
    min-width:500px;
    box-sizing: border-box;
}
.three-cols .column{
    position: relative;
    flex-grow: 1;
    flex-basis:calc(33.33% - 25px);
    max-width: 33.33%;
    min-width:300px;
    box-sizing: border-box;
}
.three-cols .column--title{
    width:100%;
    line-height:1.2;
    font-family: Roxborough-ExtraBold;
    font-size: 1.6rem;
    margin:0px;
    padding:0px 0px 25px 0px;
    position:relative;
    color: var(--color-font-primary);
    padding-bottom:10px;
}
.three-cols .column .column--img{
    margin:15px 0px 15px 0px;
    padding:0px 10px;
}
.three-cols .column .column--img img{
    width:100%;
    max-width:280px;
}
.layout--cards{
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:center;
    gap: 40px 24px;
    padding: 0px 0px 48px 0px;
}
.card{
    position: relative;
    flex-grow: 1;
    flex-basis:calc(33.33% - 24px);
    max-width: 33.33%;
    min-width:300px;
    padding:40px 24px;
    background-color: #ffffff;
    border-radius: 15px;
    box-sizing: border-box;
    box-shadow: 0px 5px 25px -5px rgb(0 0 0 / 15%);  
}
.card .card--title{
    width:100%;
    line-height:1.2;
    font-family: Roxborough-ExtraBold;
    font-size: 1.6rem;
    margin:0px;
    padding:0px 0px 25px 0px;
    position:relative;
    color: var(--color-font-primary);
    padding-bottom:10px;
}
.card .card--subtitle{
    display: inline-block;
    margin: 10px 0px 7px 0px;
    color: var(--color-font-primary-light);
    line-height: 1.3;
    font-family: Palanquin-Regular;
    font-size: 1.3rem;
}
.card .card--img{
    margin:15px 0px 15px 0px;
    padding:0px 10px;
}
.card .card--img img{
    width:100%;
    max-width:280px;
}
.flex-holder{
    display: flex;
}
.flex-holder.flex--reverse-col{
    flex-direction: column-reverse;
}
.flex-holder.flex--reverse-row{
    flex-direction: row-reverse;
}
.flex-holder .col{
    position: relative;
    text-align: left;
}
.two-col{
    gap:60px;
}
.two-col .col{
    flex-basis: 50%;
}
.flex-holder .col img{
    position: absolute;
    width:100%;
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);
}
.col.col-img img{
    max-width:375px;
}
.field--speciality, .field--therapist{
    padding:25px 0px 45px 0px;
    min-height:335px;
}
.field--speciality.two-col .col, .field--therapist.two-col .col{
    flex-basis:63%;
}
.field--speciality.two-col .col.col-img, .field--therapist.two-col .col.col-img{
    flex-basis:37%;
}
.field--speciality h2{
    padding-top:0px;
}
.field--therapist h3{
    line-height:1.2;
    font-family: Roxborough-ExtraBold;
    font-size: 1.6rem;
    margin:0px;
    padding:0px 0px 15px 0px;
    color: var(--color-font-primary);
}
.field--therapist h4{
    font-family: Quicksand-Light;
    padding:0px 0px 25px 0px;
}
.about--section .flex-holder .col img{
    width:92%;
}
h2.therapist--specialty{
    padding: 0px 0px 45px 0px;
}





ul.contacts--list{
    padding: 0px 0px 0px 45px;
}
ul.contacts--list li{
    list-style-type:none;
    position:relative;
    margin: 0px 0px 16px 0px;
}
ul.contacts--list li .contact--icon{
    position: absolute;
    top: 15px;
    left:-30px;
    width: 35px;
    height:35px;
}
ul.contacts--list li .contact--icon img{
    position:relative;
    width:100%;
    height:100%;
}
ul.contacts--list li p{
    margin-bottom: 0px;
    line-height: 29px;
    color:var(--color-font-primary-lightest);
}
ul.contacts--list li p.big{
    margin-top: 0px;
    line-height:29px;
    color:var(--color-font-primary-lightest);
}
ul.contacts--list li a{
    text-decoration:underline;
}




#section_contacts.contacts--section{
    background-color: #ffffff;
    padding-top:45px;
}
#section_contacts.contacts--section .contacts--title{
    font-family: Roxborough-ExtraBold;
}
#section_contacts .contacts--holder{
    width:100%;
    position:relative;
    font-size:1.2rem;
    margin:0px 0px 30px 0px;
}
#section_contacts .contacts--holder h4{
    font-family: Palanquin-Light;
    grid-area:Title;
    padding:0px 0px 25px 0px;
    color:var(--color-font-primary);
}
#section_contacts .contacts--group{
    display:flex;
    justify-content:center;
    flex-wrap: wrap;
}
#section_contacts .contacts--holder .contact{
    font-family: Palanquin-Bold;
    width:100%;
    line-height:25px;
    margin-bottom:10px;
    padding:0px 10px;
    box-sizing: border-box;
}
#section_contacts .contacts--holder .contact.social{
    display:flex;
    line-height:35px;
    width: auto;
    margin-bottom:10px;
}
#section_contacts .contacts--note{
    max-width:650px;
    margin:20px auto 0 auto;    
}
.bar{
    font-family: Palanquin-Regular;
}
#section_contacts .contacts--holder .contact.social a{
    line-height:35px;
}
.social--icon{
    width:35px;
    height:35px;
    flex-grow:0;
    flex-shrink:0;
    margin-right:10px;
}
.social--icon svg{
    width:100%;
    height:100%;
    position: relative;
}
footer{
    background-color: var(--color-bg-primary-dark);
}
footer .content--holder{
    padding: 15px 35px 15px 35px;
    margin:0 auto;
    text-align: left;
}
footer p{
    color: #ffffff;
    font-size: 0.8rem;
    font-family: Palanquin-Regular;
}
.work-in-prog{
    border:solid 3px red !important;
    visibility:hidden !important;
    display:none !important;
}
.adjust--top{
    padding-top:124px;
}
.home .temp-top-adjust{
    padding-top:70px;
}

/* @keyframes mobile-switch {
    from{
        opacity: 0;
    }to{
        opacity:1;
    }
    
} */

@media screen and (max-width:700px) {
    :root{
        font-size: 15px;
    }
    h1{
        font-size: 1.65rem;
    }
    section{
        padding:52px 0px 52px 0px;
    }
    .nav--section .nav--bar{
        opacity:0 !important;
    }
    .nav--section .nav--button{
        visibility:visible;
        display: block;
    }
    .nav--section .nav--button .button--shape{
        transition: all 0.17s ease-in-out 0s;
    }
    .nav--section.open .nav--button .button--shape{
        width:125vw;
        height:125vw;
        top:-25vw;
        left:-20vw;
        backdrop-filter: blur(10px);
        transform: rotate(-13deg);
        border-radius: 220px;
        transition: all 0.30s ease-out 0s;
    }
    .nav--section .nav--content{
        display: flex;
        position: absolute;
        z-index:100;
        width: calc(100% - 90px);
        flex-direction: column;
        padding:0px;
        right:0px;
        opacity:0;
        visibility:hidden;
       /*  transition: all 0.15s ease-out 0s; */
    }
    .nav--section.open .nav--content{
        opacity:1;
        visibility:visible;
        transition: all 0.35s ease-in 0s;
    }
    .nav--section .nav--content .nav--logo{
        height:50px;
        width:100%;
        margin: 5px 0px 35px 0px;
        text-align: left;
    }
    .nav--section .nav--content .nav--links{
        flex-direction: column;
        gap: 25px;
        align-items: flex-start;
        width: 100%;
    }
    
    header{
        padding:15px 0px 85px 0px;
    }
    header.cli-sec-hero {
        position: relative;
        height: inherit;
        width: 100%;
    }
    .cli-sec-hero .logo--holder{
        visibility: visible;
        display:block;
    }
    .cli-sec-hero .title--holder{
        position: relative;
        max-width: 100%;
        top: auto;
        transform: none;
        text-align: center;
    }
    .cli-sec-hero .title--holder h1 {
        line-height: 36px;
        padding-bottom: 40px;
    }
    .title-highlight {
        padding: 4px 12px 10px 8px;
        left: inherit;
        line-height: 48px;
    }
    .page--header {
        padding: 80px 0px 52px 0px;
      }
    .adjust--top {
        padding-top: 64px;
    }
    .content--holder{
        padding: 0px 15px 0px 15px;
    }
    .team-wave-bottom--holder{
        height:calc(170px + 220px);
    }
    .team-wave-bottom--holder .wave-filler{
        height:220px;
    }
    .team-wave-bottom--holder svg{
        bottom:220px;
    }
    .card{
        flex-basis:100%;
        max-width: 100%;
        min-width:0px;
        margin:0 35px;
    }
    .card .card--img img{
        width:80%;
        max-width: 250px;
    }
    .card.member--card {
        flex-basis: 100%;
        max-width: 100%;
        min-width:0px;
        padding: 40px 25px;
        margin:0 35px;
    }
    .about--section .flex-holder{
        flex-direction:column-reverse;
    }
    .flex-holder{
        flex-direction:column;
    }
    .flex-holder.flex--reverse-row{
        flex-direction: column;
    }
    .flex-holder.two-col {
        gap: 20px;
    }
    .flex-holder .col img{
        position:relative;
        transform: translate(-50%);
    }
    .col.col-img img {
        max-width: 230px;
      }
    .field--speciality.two-col .col.col-img {
        flex-basis: 24%;
    }
    .field--speciality{
        padding: 0px;
        min-height: inherit;
    }
    .field--therapist h2{
        text-align: center;
    }
    .field--therapist:last-of-type{
        padding: 25px 0px 0px 0px;
    }
    #section_contacts .contacts--holder p{
        margin-bottom:10px;
    }
    #section_contacts .contacts--group{
        display:grid;
    }
    #section_contacts .contacts--holder .contact.social{
        width:100%;
    }
}