@font-face {
    src: url('../fonts/Inter_18pt-Regular.ttf');
    font-family: 'Inter-Regular';
}
@font-face {
    src: url('../fonts/Inter_18pt-Medium.ttf');
    font-family: 'Inter-Medium';
}
@font-face { 
    src: url('../fonts/Inter_18pt-Bold.ttf');
    font-family: 'Inter-Bold';
}
@font-face {
    src: url('../fonts/Inter_18pt-ExtraBold.ttf');
    font-family: 'Inter-ExtraBold';
}

.medium_text{
    font-family: 'Inter-Medium';
}
.bold_text{
    font-family: 'Inter-Bold'; 
}
.extra_bold_text, h1, h2, h3, h4, h5, h6{
    font-family: 'Inter-ExtraBold';
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    outline: none;
    border: none;
    box-sizing: border-box;
    font-family: 'Inter-Regular';
    transition: all 300ms ease-out;
}
*:hover {
    transition: all 0.3s ease-in;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: var(--fontBlack);
}
img, video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
:root {
    --black: #1E1C1D;
    --greyFont: rgba(30, 28, 29, 0.60);
    --fontBlack: #222;
    --brandRed: #DD131D;
    --redBold: #850C12;
    --beigeBack: #FFFAF4;
    --white: #FFF;
    --whiteOpacity: rgba(255, 255, 255, 0.20);
    --background: #F5EFE9;
    --borderColor: rgba(40, 40, 40, 0.20);
}
:root {
    --twelve: 12px;
    --forteen: 14px;
    --sixteen: 16px;
    --eighteen: 18px;
    --twenty: 20px;
    --fontTwentyTwo: 22px;
    --twofour: 24px;
    --thirty: 30px;
    --titleFont: 44px;
}
.wrapper {
    max-width: 1480px;
    width: 100%;
    padding: 0 40px;
    margin: 0 auto;
}
.big_wrapper_home{
    max-width: 1920px;
    overflow: hidden;
    width: calc(100% - 40px);
    margin: 20px auto 0 auto;
    padding: 112px 20px 0 20px;
    background-color: #EEE3D8;
    border-radius: 40px;
}
.sto_ {
    width: 100%;
}
.big_wrapper{
    max-width: 1920px;
    margin: 0 auto;
}
.full_wrapper {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}
.d_flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
body{
    color: var(--fontBlack);
    background-color: var(--background);
}
ul, ol{
    padding-left: 20px;
}
textarea {
    resize: none;
    border-radius: 8px !important;
}
html, body {
  overscroll-behavior: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}
.scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--brandRed);
    background-clip: padding-box;
    transition: all 300ms ease-out;
    cursor: pointer;
}
.scrollbar::-webkit-scrollbar{
    height: 2px;
    width: 2px;
}
.scrollbar::-webkit-scrollbar-track {
    background-color: #DFE5EA;
}
main{
    padding-top: 160px;
}
/* header */
header{
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    padding: 50px 0 26px 0;
    z-index: 10;
    background: transparent;
    transition: background-color 0.3s ease;
}
header.scrolled {
    padding: 26px 0;
    background-color: var(--background);
}
.height_line{
    height: 28px;
    border-right: 1px solid var(--borderColor);
}
.head_first, .header_block{
    gap: 20px;
}
.logo_{
    max-width: 250px;
}
.logo_ img{
    object-fit: contain;
}
.nav_bar {
    gap: 10px;
}
.nav_alink{
    text-align: center;
    min-width: 140px;
    font-size: var(--eighteen);
}
.nav_alink:hover{
    font-family: 'Inter-Bold'; 
}
.burger_svg{
    display: none;
}
.head_last_blck{
    gap: 28px;
}
.phone_num{
    gap: 12px;
}
.phone_icon{
    min-width: 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--black);
    justify-content: center;
}
.phone_num_inf{
    flex-direction: column;
    align-items: start;
}
.ph_sp_text{
    font-size: var(--twelve);
}
.phone_sp{
    font-size: var(--eighteen);
    color: var(--brandRed);
}
.phone_num:hover .phone_icon{
    background-color: var(--brandRed);
}
.phone_num:hover .phone_sp{
    text-decoration: underline;
}
.red_btn{
    font-size: var(--eighteen);
    min-width: fit-content;
    padding: 12px 20px;
    border-radius: 90px;
    cursor: pointer;
    justify-content: center;
    color: var(--white);
    background-color: var(--brandRed);
}
.red_btn:hover{
    background-color: var(--redBold);
}
/* end header */

/* home */
.home_top{
    margin-top: -160px;
}
.position_rel{
    position: relative;
}
.home_general_block{
    flex-direction: column;
    align-items: start;
    gap: 160px;
    padding: 120px 0 50px 0;
}
.general_img{
    position: absolute;
    bottom: 0;
    height: 100%;
    right: 0;
    max-width: 900px;
}
.general_img img{
    object-fit: contain;
    object-position: bottom left;
}
.general_img_mob{
    display: none;
}
.about_group{
    z-index: 1;
    max-width: 500px;
    flex-direction: column;
    align-items: start;
    gap: 38px;
}
.general_title{
    font-size: var(--titleFont);
    color: var(--black);
}
.descrition_{
    flex-direction: column;
    align-items: start;
    gap: 20px;
    font-size: var(--eighteen);
    color: var(--greyFont);
}
.inf_blck{
    align-items: start;
    gap: 12px;
    justify-content: start;
}
.inf_blck .red_btn{
    padding: 20px 30px;
}
.view_btn{
    justify-content: center;
    padding: 20px 30px;
    color: var(--black);
    border: 2px solid var(--borderColor);
    border-radius: 90px;
    font-size: var(--eighteen);
}
.view_btn:hover{
    background-color: var(--brandRed);
    color: var(--white);
    border-color: transparent;
}
.info_windows_blcks{
    z-index: 1;
}
.info_windows_blcks{
    display: grid;
    gap: 8px;
    grid-template-columns: repeat( 4,1fr );
}
.about_infs_blck{
    z-index: 1;
    flex-direction: column;
    align-items: start;
    gap: 12px;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--beigeBack);
}
.inf_icon{
    justify-content: center;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    margin-bottom: 28px;
    background-color: var(--black);
}
.infs_title {
    font-size: var(--twofour);
    margin-top: auto;
}
.inf_mini_descrip{
    font-size: var(--sixteen);
}
.slider_title_blck{
    flex-direction: column;
    align-items: start;
    margin: 140px 0;
    gap: 50px;
}
.titlew_imgs{
    flex-direction: column;
    align-items: start;
    gap: 30px;
}
.titlew_imgs .general_title{
    max-width: 710px;
}
.title_info_block{
    gap: 20px;
    align-items: end;
}
.title_underline{
    width: 80px;
    border-bottom: 3px solid var(--brandRed);
}
.title_block{
    gap: 38px;
}
.red_second_title{
    font-size: var(--twofour);
    color: var(--brandRed);
}
.descrip_view_blck{
    max-width: 510px;
}
.slider_title_blck .general_title{
    max-width: 380px;
}
.swiper-button-prev, .swiper-button-next{
    position: initial !important;
    margin: 0 !important;
    width: 62px !important;
    height: 62px !important;
    border-radius: 50%;
    border: 1px solid var(--borderColor);
}
.swiper-button-next:after, .swiper-button-prev:after{
    content: '' !important;
}
.swiper-button-prev svg, .swiper-button-next svg{
    width: 24px !important;
    height: 24px !important;
}
.swiper-button-prev:hover, .swiper-button-next:hover{
    border-color: transparent;
    background-color: var(--brandRed);
}
.swiper-button-prev:hover svg path, .swiper-button-next:hover svg path{
    fill: var(--white);
}
.arrows_blck{
    justify-content: end;
    gap: 6px;
    margin-top: 50px;
}
.arrows_blck .view_btn{
    margin-right: auto;
}
.serv_item{
    background-color: var(--beigeBack);
    padding: 20px;
    border-radius: 12px;
    display: flex !important;
    flex-direction: column;
    align-items: start;
    gap: 40px;
}
.title_arrow_goto{
    gap: 12px;
}
.title_slide{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: var(--twofour);
}
.goto_serv{
    min-width: 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    justify-content: center;
    cursor: pointer;
    background-color: var(--black);
}
.serv_item:hover .goto_serv{
    background-color: var(--brandRed);
}
.serv_item_img{
    height: 206px;
}
.serv_item_img img{
    object-fit: contain;
}
.serv_item .description_{
    margin-top: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: var(--sixteen);
    color: var(--greyFont);
}
.beige_back{
    background: #EEE3D8;
}
.about_img{
    margin-top: -70px;
    max-width: 900px;
    width: 50%;
}
.about_img img{
    object-fit: contain;
    object-position: left bottom;
}
.aboutus_home_blck{
    justify-content: center;
    flex-direction: column;
    align-items: start;
    gap: 10px;
    padding: 20px 40px 20px 0;
    max-width: 660px;
    margin: 0 auto;
}
.aboutus_home{
    align-items: stretch;
    justify-content: start;
    gap: 40px;
}
.second_title{
    margin-top: 4px;
    margin-bottom: 20px;
    font-size: var(--thirty);
}
.aboutus_home_blck .second_title{
    max-width: 490px;
}
.bold_descrip{
    margin-bottom: 4px;
    font-size: var(--eighteen);
}
.ulli_descrip{
    gap: 12px;
    font-size: var(--eighteen);
}
.calendar_section{
    flex-direction: column;
    align-items: start;
    gap: 74px;
    margin: 116px 0;
}
.calendar_blck{
    justify-content: start;
    gap: 68px;
}
.calendare_time_block{
    flex-direction: column;
    gap: 22px;
    padding: 40px;
    max-width: 644px;
    width: 50%;
    border-radius: 12px;
    background: #FFFAF4;
}
.chhoose_date_block {
    flex-direction: column;
    gap: 22px;
}
.days_ {
    text-align: center;
    font-size: var(--twenty);
    width: calc(100% / 7);
}
.week_days {
    margin-top: 28px;
}
.calendare_blvk {
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(5, 1fr);
    display: grid;
}
.day_square {
    display: flex !important;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: var(--twenty);
    aspect-ratio: 1/1;
    border-radius: 50%;
    font-family: 'Inter-Bold';
    text-align: center;
}
.prev_next_months{
    cursor: pointer;
}
.prev_next_months:hover svg path{
    fill: var(--brandRed);
}
.month_and_year{
    font-size: var(--thirty);
}
.today{
    background-color: var(--white);
}
.weekend_days{
    background: rgba(251, 242, 238, 0.40);
}
.active_day, .day_square:hover{
    background-color: var(--brandRed);
    color: var(--white);
}
.selected_time_zone{
    flex-direction: column;
    align-items: start;
    gap: 20px;
}
.slected_day_blck{
    justify-content: start;
    gap: 16px;
}
.slected_sp{
    font-size: var(--eighteen);
    color: var(--greyFont);
}
.booked_days{
    color: var(--redBold) !important;
    pointer-events: none;
}
.past_day {
    color: var(--black) !important;
    opacity: 0.3;
    pointer-events: none;
    cursor: default;
}
.ch_sp{
    font-size: var(--twenty);
}
.selected_day_sp{
    color: var(--redBold);
    font-size: var(--eighteen);
}
.choose_time{
    width: fit-content !important;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    font-size: var(--twenty);
    background-color: var(--white);
    cursor: pointer;
    border-radius: 8px;
}
.choose_time:hover, .choose_time_active{
    color: var(--brandRed) !important;
}
.booked_time{
    opacity: 0.4;
    pointer-events: none;
    text-decoration: line-through;
    cursor: default;
}
.form_block{
    max-width: 584px;
    width: 50%;
    flex-direction: column;
    align-items: start;
    gap: 10px;
}
.form_block .description_{
    color: var(--greyFont);
    margin-bottom: 20px;
}
.inps_err_blck{
    flex-direction: column;
    gap: 6px;
}
.error_message{
    text-align: center;
    font-size: var(--eighteen);
    color: red;
    display: none;
}
.error_message_active{
    display: block;
}
.two_inps{
    gap: 10px;
}
.inps_{
    font-size: var(--eighteen);
    padding: 14px 20px;
    border: 2px solid var(--borderColor);
    border-radius: 8px;
    background-color: transparent;
}
.inps_:focus{
    border-color: var(--redBold);
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}
.book_appointment{
    font-size: var(--eighteen);
    padding: 20px 30px;
    text-align: center;
    border-radius: 90px;
    color: var(--white);
    cursor: pointer;
    background-color: var(--black);
}
.book_appointment:hover{
    background-color: var(--redBold);
}
.radio_lab {
    margin: 10px 0;
    cursor: pointer;
    gap: 10px;
    align-items: start;
    justify-content: start;
}
.checko_, .check_inp, .checkbox_form {
    padding: 0;
    border: none;
    width: 20px;
    height: 20px;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
}
.check_inp {
    opacity: 0;
    z-index: 2;
    position: absolute;
    cursor: pointer;
}
.checkbox_form {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--black);
    border-radius: 4px;
    position: absolute;
    cursor: pointer;
    z-index: 0;
}
.checko_svg {
    display: none;
    justify-content: center;
    align-items: center;
}
.checko_ input:checked~.checkbox_form .checko_svg {
    display: flex;
}
.accept_descrip{
    font-size: var(--eighteen);
}
/* end home */

/* footer */
footer{
    margin-top: 116px;
    background-color: #111;
}
.footer_block{
    flex-direction: column;
    padding: 36px 0 46px 0;
    gap: 42px;
}
.soc_links_blck{
    gap: 12px;
}
.soc_alink {
    width: 38px;
    min-width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid transparent;
    justify-content: center;
    background-color: var(--white);
}
.soc_alink:hover {
    border-color: var(--brandRed);
}
.soc_alink:hover svg path{
    fill: var(--brandRed);
}
.f_last_blck{
    gap: 20px;
}
.rights_reserved{
    gap: 5px;
    color: var(--white);
}
.site_dev{
    gap: 6px;
    font-size: var(--forteen);
    text-transform: uppercase;
    color: var(--white);
}
.site_dev:hover svg path{
    fill: var(--brandRed);
}
.footer_block .nav_alink, .footer_block .ph_sp_text{
    color: var(--white);
} 
.footer_block .height_line{
    border-color: var(--whiteOpacity);
}
.footer_block .phone_icon {
    background-color: var(--white);
}
/* end footer */

/* service page */
.navigation_blck{
    margin-bottom: 60px;
    justify-content: start;
    flex-wrap: wrap;
    gap: 22px;
}
.prev_page{
    font-size: var(--twofour);
}
.this_page{
    font-size: var(--twofour);
    color: var(--brandRed);
}
.service_item_blck{
    display: grid;
    grid-template-columns: repeat( 4,1fr );
    margin-top: 38px;
    gap: 8px;
}
.title_start{
    align-items: start;
}
/* end service page */

/* service single */
.beige_back .calendar_section{
    padding: 80px 0 100px 0;
}
.service_single_blck{
    font-size: var(--eighteen);
    max-width: 1160px;
    flex-direction: column;
    align-items: start;
    gap: 20px;
    margin: 0 auto;
}
.serv_img{
    justify-content: center;
    border-radius: 30px;
    padding: 20px;
    background-color: var(--beigeBack);
}
.serv_img img{
    width: auto;
    height: auto;
}
/* end service single */

/* contact */
.contact_page_blck{
    flex-direction: column;
    align-items: start;
    gap: 34px;
}
.contacts_block{
    gap: 30px;
}
.contacts_block .soc_alink{
    background-color: var(--black);
}
.contacts_block .soc_alink:hover{
    background-color: var(--brandRed);
}
.contacts_block .soc_alink:hover svg path{
    fill: var(--white);
}
/* end contact */

/* about us */
.big_wrapper_home .about_img{
    margin-top: 0;
    left: -20px;
    position: absolute;
    bottom: 0;
    height: 100%;
}
.aboutus_page{
    z-index: 1;
    position: relative;
    flex-direction: column;
    align-items: end;
    gap: 52px;
    padding-bottom: 60px;
}
.aboutus_page .aboutus_home_blck {
    margin: 0;
    padding: 20px 0;
}
.aboutus_general_secction{
    padding: 130px 0 0 0;
}
/* end about us */

/* error page */
.error_section {
    padding: 150px 0 120px 0;
    flex-direction: column;
    gap: 20px;
    background: #EEE3D8;
    border-radius: 30px;
}
.error_img {
    max-width: 630px;
}
.error_section .descrition_ {
    max-width: 500px;
    text-align: center;
}
.goto_home{
    padding: 10px 20px;
    border-radius: 90px;
    color: var(--white);
    font-size: var(--eighteen);
    background-color: var(--brandRed);
}
.goto_home:hover{
    background-color: var(--redBold);
}
/* end error page */







