@charset "UTF-8";
@font-face {
    font-family: "INTER";
    src: url("../fonts/Inter-Regular.woff2") format("woff2"), url("../fonts/Inter-Regular.woff") format("woff"), url("../fonts/Inter-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "INTER";
    src: url("../fonts/Inter-Medium.woff2") format("woff2"), url("../fonts/Inter-Medium.woff") format("woff"), url("../fonts/Inter-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "INTER";
    src: url("../fonts/Inter-SemiBold.woff2") format("woff2"), url("../fonts/Inter-SemiBold.woff") format("woff"), url("../fonts/Inter-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* General Styles */
:root {
    --font-family: "INTER", sans-serif;
    --font3: "Geologica", sans-serif;
    --content-width: 1248px;
    --container-offset: 16px;
    --container-width: calc(var(--content-width) + (var(--container-offset) * 2));
    --background-block-color: #f2f0e4;
    --button-color: #6e5c50;
    /*--button-hover-color: #d7dad3;*/
    --button-hover-color: #ada29f;

    --black: #130b06;
    --description-color: #48453e;
    --background-block: #d3ceca;
    /*--background-block: #dad6c3 ;*/
    /*--background-block: #c5c1ad ;*/
    /*--background-block: #b3ae98 ;*/
    /*--background-block: #d7dad3;*/
    --preloader-bg-color: #1b1b1b;
    --preloader-progress-color: grey;
    --brain-stroke-color: #6e5c50;
    --button-border-radius: 5px;
    --block-border-radius: 15px;
}

*, *:before, *:after {
    padding: 0;
    margin: 0;
    border: none;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: var(--font-family);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: normal;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

button {
    transition: all 0.3s ease;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 1 auto;
}

/* Container */
.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 10px;
}


/* Header */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 50;
}

.header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.header__body {
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 80px;
    align-items: center;
    flex-wrap: wrap;
}

.header__logo-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: var(--black);
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.header__logo-text:hover {
    transform: scale(1.01);
    color: var(--button-hover-color);
}


.logo-text-black {
    font-weight: 900;
}

.header__burger {
    display: none;
}

.header__list {
    display: flex;
    position: relative;
    z-index: 2;
}

.header__list li {
    list-style: none;
    margin: 0 0 0 20px;
}

.header__link {
    color: var(--black);
    font-size: 18px;
    text-decoration: none;
    position: relative;
}

.header__link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: var(--black);
    transition: width 0.3s ease-in-out;
}

.header__link:hover::after {
    width: 100%;
}

.header__menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Buttons */
.btn {
    position: relative;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    background-color: white;
    color: white;
    cursor: pointer;
    overflow: hidden;
    transition: background-color 0.3s ease;
    z-index: 2;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn-2 {
    display: block;
    padding: 8px 12px;
    background-color: white;
    border: 1px solid var(--black);
    border-radius: var(--button-border-radius);
    font-size: 18px;
    color: var(--black);
    transition: all 0.3s ease;
}

.hover-slide-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--button-color);
    transition: left 0.3s ease;
}


.hover-slide-right:hover::before {
    left: 0;
}

.hover-slide-right:hover {
    color: #fff;
}

.hover-slide-right span {
    z-index: 1;
}


.btn-white-fill {
    position: relative;
    padding: 10px 20px;
    font-size: 16px;
    border: 1px solid var(--black);
    background-color: var(--background-block);
    color: var(--black);
    cursor: pointer;
    overflow: hidden;
    transition: color 0.3s ease, background-color 0.3s ease;
    display: inline-block;
    text-align: center;
}


.btn-white-fill span {
    position: relative;
    z-index: 2;
    font-weight: 500;
}


.btn-white-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--button-hover-color);
    transition: left 0.3s ease;
    z-index: 1;
}


.btn-white-fill:hover::before {
    left: 0;
}


.btn-white-fill:hover span {
    color: var(--black);
}

/* Content Block */
.content-block {
    padding: 150px 0 0 0;
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: 80px;
    background: url('../img/background.webp') no-repeat center center/cover;
    overflow: hidden;
}

.content-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/background.webp') no-repeat center center/cover;
    filter: blur(10px);
    z-index: -1;
    overflow: hidden;
}


.content-block__about {
    background: var(--background-block-color);
    border-radius: 10px;
    padding: 20px;
    max-width: 450px;
    width: 100%;
    margin-left: auto;
}

.content-block__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-block__title {
    margin-bottom: 15px;
    color: var(--black);
    font-weight: 900;
}

.content-block__description {
    margin-bottom: 25px;
    color: var(--description-color);
}

.content-block__button {
    padding: 10px 15px;
    border: none;
    background: var(--button-color);
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: var(--button-border-radius);
    max-width: 200px;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}


/* Personal Block */
.personal-block {
    padding-top: 50px;
    margin-bottom: 50px;
}

.personal-block--padding {
    padding: 150px 0 0 0;
    margin-bottom: 70px;
}

.personal-block__about-me {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

}

.personal-block__image {
    width: 49.333%;
    min-width: 250px;
}

.personal-block__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--block-border-radius);
}

.personal-block__content {
    width: 49.333%;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--background-block-color);
    border-radius: var(--block-border-radius);
}

.personal-block__title {
    margin-bottom: 25px;
    font-size: 55px;
    font-weight: 900;
}

.personal-block__description {
    color: #555;
}

.personal-block__description:not(:last-child) {
    margin-bottom: 15px;
}

.personal-block__description:last-child {
    margin-bottom: 75px;
}


.personal-block__button {
    position: relative;
    padding: 10px 15px;
    border: none;
    background: var(--button-color);
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: var(--button-border-radius);
    max-width: 200px;
    width: 100%;
    transition: all 0.3s ease;
    text-align: center;
    z-index: 2;
}


/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--button-color);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 99;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--button-hover-color);
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.popup__content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 24px;
}

.popup__content-title {
    margin-bottom: 25px;
}

.popup__input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: var(--button-border-radius);
    box-sizing: border-box;
}

.popup__submit {
    padding: 10px 15px;
    border: none;
    background: var(--button-color);
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: var(--button-border-radius);
    width: 100%;
    position: relative;
    z-index: 2;
}


/*start-guide*/

.start-guide {
    text-align: center;
    margin-bottom: 50px;
}

.start-guide-block {
    background-color: var(--background-block-color);
    padding: 60px 20px;
    border-radius: var(--block-border-radius);
}


.services-header h2 {
    font-size: 28px;
    color: #333;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
}


.start-guide-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;

}

.start-step {
    background-color: var(--background-block);
    padding: 25px;
    border-radius: var(--block-border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.start-step h3 {
    font-size: 20px;
    color: var(--black);
    margin-bottom: 15px;
    font-weight: bold;
}

.start-step p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}


/*competencies*/

.competencies {
    margin-bottom: 50px;
}

.competencies-block {
    background-color: var(--background-block-color);
    padding: 60px 20px;
    border-radius: var(--block-border-radius);
}

.competencies-header {
    text-align: center;
    margin-bottom: 30px;
}

.competencies-header h2 {
    font-size: 28px;
    color: #333;
    font-weight: bold;

}

.competencies-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.competency-block {
    flex: 1;
    min-width: 300px;
    background: var(--background-block);
    padding: 20px;
    border-radius: var(--block-border-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.competency-block h3 {
    margin-bottom: 15px;
}

.competency-list {
    list-style: none;
    padding: 0;
}

.competency-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    margin-bottom: 10px;
    font-size: 16px;
}

.competency-list img {
    width: 30px;
    height: 30px;
}

/* psychotherapy-approach */
.psychotherapy-approach {
    margin-bottom: 50px;
}

.psychotherapy-approach__block {
    background-color: var(--background-block-color);
    padding: 60px 20px;
    border-radius: var(--block-border-radius);
}

.psychotherapy-approach__header {
    text-align: center;
    margin-bottom: 30px;
}


.psychotherapy-approach__header h2 {
    font-size: 28px;
    color: #333;
    font-weight: bold;
}

.psychotherapy-approach__list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.psychotherapy-approach__list.font-size li {
    font-size: 16px;
}

.li-text {
    padding-top: 5px;
    color: #555;
}

@media screen and (max-width: 1024.98px) {
    .psychotherapy-approach__list {
        margin-bottom: 12px;
    }
}

.psychotherapy-approach__list li {
    list-style: none;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 129%;
    color: var(--black);
    position: relative;
    margin-left: 13px;
}

.psychotherapy-approach__list li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: -12px;
    width: 4px;
    height: 4px;
    background-color: var(--black);
    border-radius: 50%;
}

.psychotherapy-approach__list li > ul {
    margin: 12px 0 0 0;
}


/**!about-approach*!*/


.about-approach {
    margin-bottom: 50px;
}

.about-approach-block {
    background-color: var(--background-block-color);
    padding: 60px 20px;
    border-radius: var(--block-border-radius);
}

.about-approach-header {
    text-align: center;
    margin-bottom: 30px;
}

.about-approach-header h2 {
    font-size: 28px;
    color: #333;
    font-weight: bold;
}

.approach-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.approach-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    max-height: 350px;
    object-fit: cover;
}

.approach-text {
    max-width: 50%;
}

.approach-text h3 {
    margin-bottom: 15px;
}

.approach-text p {
    font-size: 18px;
    color: #555;
    text-align: left;
}

.approach-text p:not(:last-child) {
    margin-bottom: 10px;
}


/*services*/

.services {
    margin-bottom: 50px;
}

.services-block {
    background-color: var(--background-block-color);
    padding: 60px 20px;
    border-radius: var(--block-border-radius);
    position: relative;
}

.start-guide-header h2 {
    font-size: 28px;
    color: #333;
    font-weight: bold;
}

.start-guide-header p {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
    padding-top: 10px;
}

.services-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.service-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 100%;
    background: var(--background-block);
    padding: 20px;
    width: 30%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: var(--block-border-radius);
    border: 1px solid var(--background-block);
}


.service-card h4 {
    margin-top: 15px;
    font-size: 18px;
}

.service-card p {
    flex-grow: 1;
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

.service-card .price {
    margin-top: 15px;
    font-size: 16px;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 15px;
}

.services-btn {
    margin-top: auto;
    position: relative;
    z-index: 2;
    padding: 10px 20px;
    background-color: var(--button-color);
    color: white;
    border: none;
    border-radius: var(--button-border-radius);
    cursor: pointer;
}

.services-btn:hover {
    background-color: var(--button-hover-color);
}

.swiper-container {
    display: none;
    width: 100%;
    padding-top: 20px;
    border-radius: var(--block-border-radius);
    background: var(--background-block) !important;
    overflow: hidden;

}

.swiper-slide {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    /*margin-right: 20px !important;*/
    /*width: 350px !important;*/

}


.swiper-pagination {
    position: absolute;
    bottom: 20px !important;
    left: 50%;
    transform: translateX(-50%);


}

.swiper-container .swiper-pagination-bullet {
    height: 13px;
    width: 13px;
    opacity: 0.5;
    background: var(--background-block);
}

.swiper-container .swiper-pagination-bullet-active {
    opacity: 1;
}


/*payment*/

.payment {
    margin-bottom: 50px;

}

.payment-block {
    display: flex;
    background-color: var(--background-block-color);
    padding: 60px 20px;
    border-radius: var(--block-border-radius);
    position: relative;
}

.payment__link {
    position: relative;
    z-index: 2;
    padding: 10px 20px;
    background-color: var(--button-color);
    color: white;
    border: none;
    border-radius: var(--button-border-radius);
    cursor: pointer;
    margin: 0 auto;
    max-width: 350px;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/*footer*/

.footer {
    background-color: var(--background-block);
    color: var(--black);
    padding: 40px 0;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    /*padding: 0 20px;*/
    gap: 15px;
}

.footer__left {
    width: 100%;
}

.footer__title {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 900;
}

.footer__description {
    font-size: 16px;
    margin-bottom: 50px;
}

.footer__social {
    max-width: 800px;
    width: 100%;
    display: flex;
    /*justify-content: space-between;*/
    flex-wrap: wrap;
    gap: 25px;
}

.footer__social-block,
.footer__contact-block,
.footer__policy-block {
    display: flex;
    flex-direction: column;
}

.footer__social-title,
.footer__contact-title,
.footer__policy-title {
    margin-bottom: 15px;
    font-size: 15px;
}

.footer__social-links {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.footer__social-link {
    display: inline-block;
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    transform: scale(1.1);
}

.footer__social-link:hover .custom-icon {
    fill: var(--button-hover-color);
}

.footer__policy-links,
.footer__contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.footer__contact-link {
    white-space: nowrap;

}


.footer__contact-link,
.footer__policy-link {
    position: relative;
    text-decoration: none;
    display: inline-block;
    max-width: max-content;
}

.footer__contact-link::after,
.footer__policy-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: var(--black);
    transition: width 0.3s ease-in-out;
    display: block;
}

.footer__contact-link:hover::after,
.footer__policy-link:hover::after {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.footer__right-none {
    display: flex;
    flex-direction: column;
    width: 300px;
}


.footer__right {
    width: 350px;
    max-width: 100%;
}

.footer__form {
    display: flex;
    flex-direction: column;
    width: 350px;
    max-width: 100%;
}

.footer__label {
    font-size: 16px;
    margin-bottom: 8px;
}

.footer__input {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: var(--button-border-radius);
    border: none;
    width: 100%;
}

.footer__button {
    padding: 12px;
    background-color: var(--button-color);
    color: white;
    border: none;
    border-radius: var(--button-border-radius);
    font-size: 16px;
    cursor: pointer;
    position: relative;
    z-index: 2;
}


.custom-icon {
    fill: var(--button-color);
    width: 30px;
    height: 30px;
    max-width: 30px;
    max-height: 30px;
    transition: all 0.3s ease;
}

.custom-icon path {
    width: 30px;
    height: 30px;
    max-width: 30px;
    max-height: 30px;
}

.footer__right-none {
    display: none;
}


/* Media Queries */


@media (hover: none) {
    .hover-slide-right:hover::before {
        left: -100%;
    }

    .hover-slide-right:hover {
        color: var(--black);
    }

    .btn-white-fill:hover::before {
        left: -100%;
    }

    .btn-white-fill:hover span {
        color: var(--black);
    }

    .scroll-to-top:hover {
        background-color: var(--button-color);
    }


}


@media (max-width: 972px) {
    body.lock {
        overflow: hidden;
    }

    .header__body {
        height: 50px;
    }

    .header__logo {
        flex: 0 0 40px;
    }

    .header__burger {
        display: block;
        position: relative;
        width: 30px;
        height: 20px;
        z-index: 3;
    }

    .header__burger span {
        background-color: var(--black);
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
        top: 9px;
        transition: all 0.3s ease 0s;
    }

    .header__burger:before,
    .header__burger:after {
        content: '';
        background-color: var(--black);
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
        transition: all 0.3s ease 0s;
    }

    .header__burger:before {
        top: 0;
    }

    .header__burger:after {
        bottom: 0;
    }

    .header__burger.active:before {
        transform: rotate(45deg);
        top: 9px;
    }

    .header__burger.active:after {
        transform: rotate(-45deg);
        bottom: 9px;
    }

    .header__burger.active span {
        transform: scale(0);
    }

    .header__burger {
        margin-right: 10px;
    }

    .header__menu {
        display: block;
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: #ffffff;
        padding: 70px 10px 20px 10px;
        transition: all 0.3s ease 0s;
    }

    .header__menu.active {
        display: flex;
        justify-content: center;
        flex-direction: column;
        top: 0;
    }

    .header__list {
        display: block;
        text-align: center;
    }

    .header__list li {
        margin: 0 0 20px 0;
    }

    .header__link {
        font-size: 24px;
    }

    .header__link::after {
        display: none;
    }

    .header__link:hover::after {
        width: 0;
    }


    .content-block {
        padding: 70px 0 0 0;
        height: 350px;
        margin-top: 50px;

    }

    .btn-2 {
        margin: 0 auto;
    }

    .personal-block--padding {
        padding: 70px 0 0 0;
    }
}

@media (max-width: 768px) {

    .start-guide-header {
        text-align: start;
    }

    .competencies-header {
        text-align: start;
    }

    .psychotherapy-approach__header {
        text-align: start;
    }

    .about-approach-header {
        text-align: start;
    }

    .services-header h2 {
        text-align: start;
    }

    .start-guide-content {
        text-align: start;
    }

    .competency-block {
        text-align: start;
    }

    .approach-content {
        flex-direction: column;
        text-align: start;
    }

    .approach-text {
        max-width: 100%;
    }

    .approach-image {
        width: 100%;
    }

    .approach-image img {
        max-height: 250px;
        width: 100%;
    }

    .services-container {
        display: none;
    }

    .service-card {
        text-align: left;
    }

    .swiper-container {
        display: block;
        padding: 25px;
        /*position: relative;*/
    }

    .swiper-slide h4 {
        margin-bottom: 15px;

    }

    .swiper-slide p {
        margin-bottom: 10px;
        font-size: 14px;
        color: #555;
    }

    .swiper-slide .price {
        font-size: 16px;
        font-weight: bold;
        color: var(--black);
        margin-bottom: 15px;

    }

    .start-guide-content {
        grid-template-columns: 1fr;
    }

    .footer__description {
        margin-bottom: 25px;
    }

    .footer__right-none {
        display: block;
        margin-bottom: 25px;
        width: 100%;
    }

    .footer__form {
        width: 100%;
    }

    .footer__right {
        display: none;
    }


}


@media (max-width: 834px) {
    .content-block__about {
        margin: 0 auto;
    }

    .personal-block__about-me {
        flex-wrap: wrap-reverse;
    }

    .personal-block__content {
        width: 100%;
        align-items: center;
    }

    .personal-block__title {
        width: 100%;
        align-items: start;
    }

    .personal-block__description {
        width: 100%;
        align-items: start;
    }

    .personal-block__description:last-child {
        margin-bottom: 25px;
    }

    .personal-block__image {
        width: 100%;
        height: 350px;
        margin-bottom: 45px;
        object-fit: cover;
        object-position: center center;
        overflow: hidden;
    }

    .personal-block__image img {
        width: 100%;
        height: 456px;
        object-fit: cover;
    }

    .personal-block__content--margin {
        margin-bottom: 45px;
    }

    .personal-block__image--margin {
        margin-bottom: 0;
    }

}

@media (max-width: 600px) {
    .popup__content {
        margin: 0 10px;
    }

    .popup__input {
        padding: 8px;
    }

    .popup__submit {
        padding: 8px 10px
    }
}

@media (max-width: 426px) {

    .personal-block__image img {
        height: 100%;
    }

    .content-block__about {
        padding: 10px;
    }

    .content-block__button {
        max-width: 100%;
    }

    .personal-block__button {
        max-width: 100%;
    }

    .footer__social {
        width: 100%;
        justify-content: space-between;
        gap: 15px;
    }

    .footer__social-title, .footer__contact-title, .footer__policy-title {
        margin-bottom: 8px;
    }

    .footer__policy-links {
        flex-direction: row;
    }

    .footer__policy-links,
    .footer__contact-info {
        font-size: 13px;
    }

    .footer__social-links {
        justify-content: normal;
    }


    .swiper-container .services-btn {
        width: 100%;

    }

    .personal-block__title {
        font-size: 45px;
    }

}




@media (max-width: 375px) {
    .footer__social {
        justify-content: left;
    }
}


/*about-page-slider*/
.card-wrapper {
    max-width: 1100px;
    margin: 0 60px 35px;
    padding: 0 10px 20px 10px;
    overflow: hidden;
}

.card-list .card-item {
    list-style: none;
}

.card-list .card-item .card-link {
    user-select: none;
    display: block;
    background: var(--background-block);
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid transparent;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    transition: 0.2s ease;
}


.card-list .card-link .card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
}


.card-wrapper .swiper-pagination-bullet {
    height: 13px;
    width: 13px;
    opacity: 0.5;
    background: var(--background-block);
}

.card-wrapper .swiper-pagination-bullet-active {
    opacity: 1;
}

.card-wrapper .swiper-slide-button {
    color: var(--background-block);
    margin-top: -35px;
}

@media screen and (max-width: 768px) {
    .card-wrapper {
        margin: 0 10px 25px;
    }

    .card-wrapper .swiper-slide-button {
        display: none;
    }
}


/* Добавляем стили для кнопок лайтбокса */
.baguetteBox-button {
    z-index: 10000 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.baguetteBox-button {
    color: white !important;
    width: 50px;
    height: 50px;
}


/* preloader */
.pace {
    pointer-events: none;
    user-select: none;
    z-index: 2000;
    position: fixed;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 400px;
    height: 1px;
    overflow: hidden;
}

.pace .pace-progress {
    box-sizing: border-box;
    transform: translate3d(0, 0, 0);
    max-width: 400px;
    position: absolute;
    top: 0;
    right: 100%;
    height: 100%;
    width: 100%;
    background: var(--preloader-progress-color, grey);
}

.pace.pace-inactive {
    display: none;
}

#preloader {
    width: 100%;
    height: 100vh;
    background: var(--background-block-color, #1b1b1b);
    overflow: hidden;
    position: fixed;
    transition: opacity 1s ease-out, visibility 1s ease-out;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.brain-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    position: absolute;
    top: 60%;
    left: 49%;
    transform: translate(-50%, -50%);
    display: block;
    margin: 0 auto;
}

.brain-svg-text {
    width: 100%;
    position: absolute;
    top: 25%;
    left: 49%;
    transform: translate(-50%, -50%);
    color: var(--black);
    text-align: center;
    animation: fadeInText 1.5s ease-out;
}

@keyframes fadeInText {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.brain-svg-text-title {
    font-size: 45px;
    font-weight: 900;
    margin-bottom: 15px;
}

.brain-svg-text-description {
    font-size: 35px;

}

svg .brain {
    stroke-dasharray: 1155;
    stroke-dashoffset: 1155;
    animation: dash 10s ease-in infinite;
    will-change: transform, stroke-dashoffset;
}

@keyframes dash {
    0% {
        stroke: var(--brain-stroke-color, #6e5c50);
        fill: var(--brain-stroke-color, #6e5c50);
        stroke-dashoffset: 1155;
    }
    25% {
        fill: #a6b9c4;
    }
    50% {
        stroke: #444;
        fill: #444;
        stroke-dashoffset: 0;
    }
    75% {
        stroke: #8c7f68;
        fill: #8c7f68;
    }
    100% {
        stroke: var(--brain-stroke-color, #6e5c50);
        fill: var(--brain-stroke-color, #6e5c50);
        stroke-dashoffset: 1155;
    }
}

@media (max-width: 768px) {
    .pace {
        width: 200px;
    }


    .brain-svg-text-title {
        font-size: 35px;
    }

    .brain-svg-text-description {
        font-size: 25px;
    }

}

@media (max-width: 768px) {

    .brain-svg {
        width: 350px;
    }
}


.succes-message {
    display: none;
    padding: 12px;
    margin-top: 20px;
    border-radius: 6px;
    font-size: 14px;
    transition: opacity 0.3s;
}

.succes-message.visible {
    display: block;
    animation: fadeIn 0.3s;
}

.succes-message.success {
    background: #e8f5e9;
    border: 1px solid #4CAF50;
    color: #2e7d32;
}

.succes-message.error {
    background: #ffebee;
    border: 1px solid #f44336;
    color: #d32f2f;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.disp {
    display: none !important;
}

