@font-face {
    font-family: 'VelaSans';
    src: url('../font/VelaSans/VelaSans.eot');
    src: local('../font/VelaSans/VelaSans-ExtraBold'), local('../font/VelaSans/VelaSans-ExtraBold'),
    url('../font/VelaSans/VelaSans-ExtraBold.eot?#iefix') format('embedded-opentype'),
    url('../font/VelaSans/VelaSans-ExtraBold.woff') format('woff'),
    url('../font/VelaSans/VelaSans-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'VelaSans';
    src: url('../font/VelaSans/VelaSans-Bold.eot');
    src: local('../font/VelaSans/VelaSans-Bold'), local('../font/VelaSans/VelaSans-Bold'),
    url('../font/VelaSans/VelaSans-Bold.eot?#iefix') format('embedded-opentype'),
    url('../font/VelaSans/VelaSans-Bold.woff') format('woff'),
    url('../font/VelaSans/VelaSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'VelaSans';
    src: url('../font/VelaSans/VelaSans-SemiBold.eot');
    src: local('../font/VelaSans/VelaSans-Bold'), local('../font/VelaSans/VelaSans-SemiBold'),
    url('../font/VelaSans/VelaSans-SemiBold.eot?#iefix') format('embedded-opentype'),
    url('../font/VelaSans/VelaSans-SemiBold.woff') format('woff'),
    url('../font/VelaSans/VelaSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'VelaSans';
    src: url('../font/VelaSans/VelaSans-Medium.eot');
    src: local('../font/VelaSans/VelaSans-SemiBold'), local('../font/VelaSans/VelaSans-Medium'),
    url('../font/VelaSans/VelaSans-Medium.eot?#iefix') format('embedded-opentype'),
    url('../font/VelaSans/VelaSans-Medium.woff') format('woff'),
    url('../font/VelaSans/VelaSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'VelaSans';
    src: url('../font/VelaSans/VelaSans-Regular.eot');
    src: local('../font/VelaSans/VelaSans-Regular'), local('../font/VelaSans/VelaSans-Regular'),
    url('../font/VelaSans/VelaSans-Regular.eot?#iefix') format('embedded-opentype'),
    url('../font/VelaSans/VelaSans-Regular.woff') format('woff'),
    url('../font/VelaSans/VelaSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'VelaSans';
    src: url('../font/VelaSans/VelaSans-Light.eot');
    src: local('../font/VelaSans/VelaSans-Light'), local('../font/VelaSans/VelaSans-Light'),
    url('../font/VelaSans/VelaSans-Light.eot?#iefix') format('embedded-opentype'),
    url('../font/VelaSans/VelaSans-Light.woff') format('woff'),
    url('../font/VelaSans/VelaSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'VelaSans';
    src: url('../font/VelaSans/VelaSans-ExtraLight.eot');
    src: local('../font/VelaSans/VelaSans-ExtraLight'), local('../font/VelaSans/VelaSans-ExtraLight'),
    url('../font/VelaSans/VelaSans-ExtraLight.eot?#iefix') format('embedded-opentype'),
    url('../font/VelaSans/VelaSans-ExtraLight.woff') format('woff'),
    url('../font/VelaSans/VelaSans-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}


html,
body {
    font-size: 17px;
    line-height: 23px;
    font-weight: 500;
    color: #533C2E;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    border: none;
    font-family: "VelaSans", serif;
    overflow-x: hidden;
    background: #FFF6ED;
}

*, *:before, *:after {
    -webkit-text-size-adjust: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    color: #533C2E;
}

a {
    text-decoration: none;
    display: inline-block;
    transition: .4s;
}

button {
    cursor: pointer;
    transition: 0.4s;
}

input, select, textarea {
    font-size: 17px;
    line-height: 23px;
    font-weight: 400;
    color: #533C2E;
}

strong {
    font-weight: 700;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

main {
    display: block;
}

section {
    position: relative;
}

.wrapper {
    max-width: 1580px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 50px;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 27px;
    font-weight: 600;
    cursor: pointer;
    background-color: #533C2E;
    border: 1px solid #533C2E;
    color: #fff;
    border-radius: 24px;
    letter-spacing: 0;
}

.button:hover,
.button:active,
.button:focus {
    background-color: transparent;
    color: #533C2E;
}

.image {
    position: relative;
    padding: 0;
    font-size: 0;
    line-height: 0;
}

.image > img,
.image > svg {
    width: 100%;
    max-width: 100%;
    border: none;
}


/* ------------- HEADER ------------- */
.header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    padding: 28px 0;
    background-color: #FFF6ED;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    width: 100%;
    max-width: 123px;
    margin-right: 20px;
}

.header__block {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header__button {
    margin-left: 40px;
    width: 237px;
    height: 47px;
    font-size: 17px;
    line-height: 23px;
}

.header-phone {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.header-phone__icon,
.header-phone__text {
    transition: 0.4s;
    color: #533C2E;
}

.header-phone:hover .header-phone__icon,
.header-phone:hover .header-phone__text {
    color: #B5A59C;
}

.header-phone__icon {
    width: 24px;
    min-width: 24px;
    height: 24px;
    margin-right: 8px;
}

.header-phone__text {
    font-weight: 600;
}


/* ------------- Appointment Section ------------- */
.appointment {
    padding: 253px 0 208px;
    background: url("../images/bg-appointment_desktop.png") no-repeat 50% 50% transparent;
    background-size: cover;
}

.appointment__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.appointment-form {
    width: 100%;
    max-width: 734px;
    padding: 48px 32px 54px;
    background-color: #FFF6ED;
    border-radius: 50px;
}

.appointment-form__title,
.appointment-form__subtitle {
    text-align: center;
}

.appointment-form__title {
    font-size: 54px;
    line-height: 73px;
    font-weight: 400;
    letter-spacing: 0;
}

.appointment-form__subtitle {
    max-width: 450px;
    margin: 24px auto 48px;
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
    letter-spacing: 0;
}

.appointment-form__block {
    width: 100%;
    max-width: 294px;
    margin: 0 auto;
}

.appointment-form__fieldset {
    margin-bottom: 32px;
    position: relative;
    width: 100%;
}

.appointment-form__label {
    display: block;
    margin: 0 0 4px 20px;
    font-size: 14px;
    line-height: 19px;
    font-weight: 400;
    letter-spacing: 0;
}

.appointment-form__field {
    width: 100%;
    height: 43px;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid #533C2E;
}

.appointment-form__field::placeholder {
    color: #B5A59C;
}

.appointment-form__field_error {
    border-color: #c51b1b;
}

.appointment-form__error {
    position: absolute;
    top: 100%;
    left: 20px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
    color: #c51b1b;
}

.appointment-form__button {
    margin-top: 24px;
    width: 100%;
    height: 59px;
}

.appointment__link {
    width: 89px;
    height: 89px;
    position: relative;
    bottom: -135px;
    right: 0;
    transition: 0.4s;
}

.appointment__link:hover,
.appointment__link:active,
.appointment__link:focus {
    transform: scale(1.2);
}

.appointment__link_mobile {
    display: none;
}


/* ------------- Benefits Section ------------- */
.benefits {
    padding: 120px 0 200px;
}

.benefits__title {
    margin-bottom: 80px;
    font-size: 54px;
    line-height: 73px;
    font-weight: 500;
}

.benefits__inner {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    grid-gap: 20px;
}

.benefits-card {
    width: calc(50% - 10px);
    padding: 40px;
    border: 1px solid #533C2E;
    border-radius: 25px;
    transition: 0.4s;
}

.benefits-card__icon,
.benefits-card__title,
.benefits-card__text {
    transition: 0.4s;
}

.benefits-card__icon {
    width: 40px;
    height: 40px;
    margin-left: auto;
    color: #533C2E;
}

.benefits-card__title {
    margin: 140px 0 20px;
    font-size: 42px;
    line-height: 57px;
    font-weight: 600;
}

.benefits-card__text {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
}

.benefits-card:hover {
    background-color: #533C2E;
}

.benefits-card:hover .benefits-card__icon,
.benefits-card:hover .benefits-card__title,
.benefits-card:hover .benefits-card__text {
    color: #FFF6ED;
}


/* ------------- Services Section ------------- */
.services {
    padding: 0 0 140px;
}

.services__title {
    margin-bottom: 80px;
    font-size: 54px;
    line-height: 73px;
}

.services-item {
    margin-bottom: 20px;
    border-top: 2px solid #533C2E;
    transition: 0.4s;
}

.services-item_opened {
    border: 2px solid #533C2E;
    border-radius: 25px;
    padding: 16px 32px 0;
}

.services-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0 60px;
    cursor: pointer;
}

.services-item__info {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.services-item__icon {
    width: 24px;
    min-width: 24px;
    height: 24px;
    margin-right: 24px;
}

.services-item__text {
    font-size: 42px;
    line-height: 57px;
    font-weight: 600;
}

.services-item__control {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.services-item__arrow,
.services-item__arrow svg {
    transition: 0.4s;
}

.services-item__button {
    width: 188px;
    height: 59px;
    margin-left: 48px;
    border-radius: 50px;
}

.services-item__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.services-item_opened .services-item__content{
    max-height: initial;
}

.services-item_opened .services-item__arrow svg {
    transform: rotate(-60deg);
}

.services-item__pos {
    border-top: 1px solid #533C2E;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.services-item__pos-text,
.services-item__pos-price {
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
}


/* ------------- Promotion Section ------------- */
.promotion {
    padding: 11% 0 22%;
}

.promotion-content {
    width: 38%;
    max-width: 580px;
    margin-right: 20px;
}

.promotion-content__title,
.promotion-content__text {
    text-align: center;
}

.promotion-content__title {
    margin-bottom: 32px;
    font-size: 42px;
    line-height: 57px;
    font-weight: 600;
}

.promotion-content__text {
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
}

.promotion__image {
    width: 60%;
    max-width: 1100px;
    position: absolute;
    top: 36%;
    right: 0;
    transform: translateY(-50%);
    border-radius: 50px 0 0 50px;
    overflow: hidden;
}


/* ------------- Doctors Section ------------- */
.doctors {

}

.doctors__block {
    position: relative;
}

.doctors__title {
    margin-bottom: 80px;
    font-size: 54px;
    line-height: 73px;
}

.doctors-card {
    padding: 16px 16px 20px;
    border: 1px solid #533C2E;
    border-radius: 16px;
}

.doctors-card__title {
    margin: 8px 0 16px;
    height: 66px;
    font-size: 24px;
    line-height: 32px;
}

.doctors .swiper-button-prev,
.doctors .swiper-button-next {
    top: 40px;
    left: auto;
    color: #533C2E;
    width: 40px;
    height: 40px;
    transform: translateY(0);
    transition: 0.4s;
}

.doctors .swiper-button-prev:hover,
.doctors .swiper-button-next:hover,
.doctors .swiper-button-prev:active,
.doctors .swiper-button-next:active,
.doctors .swiper-button-prev:focus,
.doctors .swiper-button-next:focus {
    color: #B5A59C;
}

.doctors .swiper-button-next {
    right: 0;
}

.swiper-button-prev {
    right: 56px;
}

.doctors .swiper-button-prev::after,
.doctors .swiper-button-next::after {
    display: none;
}


/* ------------- Address Section ------------- */
.address {
    padding: 200px 0 158px;
}

.address__inner {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.address-content {
    width: calc(100% - 580px);
    margin-right: 20px;
    padding: 64px;
    background-color: #EDE6E1;
    border-radius: 25px;
}

.address-content__block {
    margin-bottom: 24px;
    position: relative;
}

.address-content__title {
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 42px;
    line-height: 57px;
}

.address-content__text {
    font-size: 20px;
    line-height: 27px;
}

.address-content__social {
    margin-top: 24px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.address-content__social-text {
    margin-right: 24px;
    font-size: 20px;
    line-height: 27px;
    font-weight: 500;
    color: #533C2E;
    transition: 0.4s;
}

.address-content__social-block {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.address-content__social-icon {
    margin-right: 12px;
    width: 24px;
    height: 24px;
    color: #533C2E;
    transition: 0.4s;
}

.address-content__social-block:hover .address-content__social-text,
.address-content__social-block:active .address-content__social-text,
.address-content__social-block:focus .address-content__social-text,
.address-content__social-block:hover .address-content__social-icon,
.address-content__social-block:active .address-content__social-icon,
.address-content__social-block:focus .address-content__social-icon {
    color: #B5A59C;
}

.address__image {
    width: 580px;
    min-width: 580px;
}

/*.address__image_tablet {*/
/*    display: none;*/
/*}*/


/* ------------- FOOTER ------------- */
.footer {
    padding: 32px 0 40px;
    border-top: 2px solid #533C2E;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__link {
    color: #533C2E;
    text-decoration: underline;
}

.footer__link:hover,
.footer__link:active,
.footer__link:focus {
    text-decoration: none;
}

.address-content__social-block_footer {
    display: none;
}

.footer .address-content__social-text {
    margin: 0;
}


/* ------------- MODAL ------------- */
.modal {
    padding: 10px;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    background-color: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.modal_visible {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-dialog {
    max-width: 554px;
    margin: 30px auto;
}

.modal-content {
    padding: 30px;
    background-color: #EDE6E1;
    border-radius: 25px;
}

.modal .appointment-form {
    background-color: transparent;
    padding: 0;
}

.modal .appointment-form__title {
    margin-bottom: 24px;
    font-size: 34px;
    line-height: 46px;
    font-weight: 400;
}

.modal .appointment-form__field {
    background-color: #EDE6E1;
}

.success-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(23 23 23 / 50%);
    z-index: 999;
}

.success-popup__wrapper {
    width: 350px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: black;
    border-radius: 8px;
    padding: 20px;
}

.success-popup__wrapper h2{
    font-size: 24px;
}

.success-popup__wrapper p{
    font-size: 18px;
}
