body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
}

.wrapper {
    margin: 0 auto;
    max-width: 1600px;
    height: 100%;
}
@media (max-width: 1600px) {
    .wrapper {
        margin: 0 15px;
    }
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
}

.loading__spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #FFA500;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: loading__spin 1.5s linear infinite;
}

@keyframes loading__spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.feedback__modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.feedback__modal-content {
    background-color: orange;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.feedback__modal-close {
    color: black;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.feedback__modal-close:hover,
.feedback__modal-close:focus {
    color: lightgrey;
    text-decoration: none;
}

.feedback__modal-message {
    display: none;
    margin: 10px 0;
    font-size: 16px;
    color: #333;
}
.feedback__modal-error {
    display: none;
    margin: 10px 0;
    font-size: 16px;
    color: #333;
}
.feedback__error {
    color: red;
    margin-top: 5px;
    display: none;
}

.header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.nav__logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}
.logo__img {
    width: 120px;
    height: auto;
}

.nav__links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav__link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: #f39c12;
}

.cta-button {
    padding: 15px 100px;
    background: #f39c12;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 22px;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #e67e22;
}

.nav__menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav__menu-bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
}

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero__content {
    text-align: center;
    color: white;
    z-index: 1;
    animation: fadeIn 2s ease;
}

.hero__title {
    font-size: 48px;
    margin-bottom: 20px;
    animation: slideIn 2s ease;
}

.hero__description {
    font-size: 24px;
    margin-bottom: 50px;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideIn {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
    }

    .nav__menu-toggle {
        display: flex;
    }

    .nav__links {
        margin: 0;
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 35%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
        padding: 20px;
        gap: 20px;
        transition: right 0.4s ease;
        z-index: 1;
    }

    .nav.open .nav__links {
        right: 0;
    }

    .nav__link {
        color: #f39c12;
        font-size: 18px;
    }

    .nav__link:hover {
        color: white;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 28px;
        margin: 5px 0;
    }

    .hero__description {
        font-size: 16px;
        font-weight: 900;
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 18px;
    }
}
.nav__close-icon {
    display: none;
    font-size: 24px;
    color: white;
    position: fixed;
    top: 15px;
    right: 15px;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .nav.open .nav__close-icon {
        display: block;
    }
}


.statistics {
    padding: 50px 0;
    text-align: center;
    background-color: aliceblue;
}

.statistics__title {
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
}

.statistics__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.statistics__card {
    background-color: white;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 20px;
    width: 250px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    transition: transform 0.3s ease;
}

.statistics__icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f39c12;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px auto;
}

.statistics__icon img {
    width: 40px;
    height: 40px;
}

.statistics__text {
    font-size: 18px;
    color: #333;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.statistics__card:hover {
    scale: 1.05;
    transition:  0.5s ease;
}

@media (max-width: 768px) {
    .statistics__cards {
        flex-direction: column;
        align-items: center;
    }

    .statistics__card {
        width: 100%;
        max-width: 300px;
    }
    .statistics__text {
        font-size: 16px;
    }
}


.cultural-ties {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background-color: #f7f7f7;
}

@media (min-width: 1400px) {
    .cultural-ties {
        flex-direction: row;
    }
}

.cultural-ties__left {
    flex: 1;
    padding-right: 0;
    margin-bottom: 20px;
}

@media (min-width: 1400px) {
    .cultural-ties__left {
        padding-right: 30px;
        margin-bottom: 0;
    }
    .cultural-ties__stat-text {
        max-width: 500px;
    }
}

.cultural-ties__image-wrapper {
    position: relative;
    overflow: hidden;
}

.cultural-ties__image {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.cultural-ties__overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    border: 3px solid lightgray;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.5);
}

.cultural-ties__overlay-title {
    font-size: 24px;
    color: white;
    margin-bottom: 10px;
}

.cultural-ties__overlay-text {
    font-size: 18px;
    color: white;
}

.cultural-ties__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cultural-ties__stat-item {
    display: flex;
    align-items: center;
    padding: 20px;
}

.cultural-ties__stat-circle {
    width: 40px;
    height: 40px;
    padding: 5px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    margin-right: 20px;
    background-color: #f3da12;
    transform: scale(0);
    opacity: 0;
    transition: transform 1.8s ease-out, opacity 1.8s ease-out;
    flex-shrink: 0;
}

.cultural-ties__stat-circle--even {
    background-color: #3498db;
}

.cultural-ties__stat-circle.visible {
    transform: scale(1);
    opacity: 1;
}

.cultural-ties__stat-text {
    font-size: 18px;
    color: black;
}
@media (max-width: 768px) {
    .cultural-ties__stat-item {
        align-items: flex-start;
    }
}
@media (max-width: 555px) {
    .cultural-ties__stat-item {
        padding: 5px;
    }
    .cultural-ties__overlay {
        padding: 5px;
    }
    .cultural-ties__overlay-title {
        font-size: 16px;
    }
    .cultural-ties__overlay-text {
        font-size: 14px;
    }
    .cultural-ties__stat-circle {
        width: 25px;
        height: 25px;
        font-size: 18px;
    }
    .cultural-ties__stat-text {
        font-size: 16px;
    }
}

.regions-gallery {
    height: 400px;
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.regions-gallery__photo {
    flex: 1;
    overflow: hidden;
}

.regions-gallery__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.regions-info {
    position: absolute;
    top: 140%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    color: black;
    z-index: 2;
}

.regions-info__list {
    list-style: none;
    padding-left: 0;
}

.regions-info__list li {
    display: flex;
    margin-bottom: 15px;
    font-size: 18px;
}

.regions-info__list li::before {
    content: '✓';
    display: inline-block;
    width: 25px;
    height: 25px;
    background-color: green;
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    line-height: 25px;
    margin-right: 15px;
    border-radius: 4px;
    flex-shrink: 0;
}
@media (max-width: 955px) {
    .regions-gallery {
        flex-direction: column;
        height: 100%;
    }
    .regions-gallery__photo img {
        display: block;
    }
    .regions-info {
        position: relative;
        top: 0;
        left: 0;
        transform: translate(0, 0);
        margin: 0 auto;
    }
    .regions-info__list li {
        font-size: 14px;
    }
}


.housing-prices {
    padding: 435px 0 100px 0;
    background-color: aliceblue;
}

.housing-prices__title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}
.housing-prices__charts {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
}

.housing-prices__chart-container {
    width: 100%;
    max-width: 600px;
}

.housing-prices__chart {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #dddddd;
    width: 100%;
    height: 500px;
}
@media (max-width: 955px) {
    .housing-prices {
        padding: 100px 0;
    }
}
@media (max-width: 768px) {
    .housing-prices {
        background-color: white;
    }
    .housing-prices {
        padding: 70px 0;
    }
    .housing-prices__charts {
        flex-direction: column;
        gap: 20px;
        border-left: none;
        padding-left: 0;
    }

    .housing-prices__chart-container {
        max-width: 100%;
    }

    .housing-prices__chart {
        height: 350px;
    }
}



.investment-benefits {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.investment-benefits__block {
    flex: 1;
    position: relative;
}

.investment-benefits__image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: brightness(0.7);
}

.investment-benefits__info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 60%;
    background-color: rgba(255, 255, 255);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.investment-benefits__title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.investment-benefits__text {
    font-size: 18px;
    color: #555;
    line-height: 1.5;
}
@media (max-width: 955px) {
    .investment-benefits__info {
        padding: 5px;
    }
    .investment-benefits__title {
        font-size: 20px;
        margin-bottom: 5px;
    }
    .investment-benefits__text {
        font-size: 14px;
    }
}
@media (max-width: 768px) {
    .investment-benefits {
        flex-direction: column;
    }
    .investment-benefits__image {
        display: block;
        height: auto;
    }
    .investment-benefits__info {
        width: 80%;
        padding: 15px;
    }
}


.services {
    background-color: #f9f9f9;
    padding: 80px 20px;
    text-align: justify;
}

.services__container {
    max-width: 1000px;
    margin: 0 auto;
}

.services__title {
    font-size: 32px;
    margin-bottom: 30px;
    color: #2c3e50;
}

.services__content {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.services__paragraph {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .services {
        padding: 30px 20px;
    }
    .services__title {
        font-size: 28px;
    }

    .services__content {
        font-size: 16px;
    }
}

.price-section {
    padding: 20px;
    background-color: #f9f9f9;
}

.price-section__container {
    max-width: 1000px;
    margin: 0 auto;
}

.price-section__title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.price-section__table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.price-section__header {
    background-color: #242f24;
    color: white;
    padding: 12px;
    text-align: left;
}

.price-section__cell {
    padding: 12px;
    border: 1px solid #ddd;
}

.price-section__cell:nth-child(odd) {
    background-color: #f2f2f2;
}

.price-section__cell:nth-child(even) {
    background-color: #ffffff;
}
@media (max-width: 955px) {
    .price-section__header {
        font-size: 16px;
    }
}

.video__header {
    margin-top: 25px;
    font-size: 20px;
    text-align: center;
}
.video__сontainer {
    width: 100%;
    margin: 50px auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
video {
    margin: 30px;
    height: 400px;
}
.contact-form {
    padding: 200px 0;
    background-color: #f4f4f4;
}

.contact-form__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.contact-form__block {
    flex: 1;
}

.contact-form__title {
    font-size: 28px;
    margin: 0 0 20px 0;
    color: #333;
}
.contact-form__item {
    font-size: 20px;
}

.contact-form__social {
    margin: 20px 0;
}

.contact-form__icon {
    margin-right: 10px;
    display: inline-block;
}

.contact-form__icon img {
    width: 24px;
    height: 24px;
}

.contact-form__field {
    position: relative;
    margin-bottom: 30px;
}

.contact-form__field input,
.contact-form__field textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid #ccc;
    background: none;
    padding: 5px 0;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
    border-bottom-color: #333;
}

.contact-form__field label {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 18px;
    color: #666;
    pointer-events: none;
    transition: transform 0.3s, font-size 0.3s;
}

.contact-form__field input:focus + label,
.contact-form__field textarea:focus + label,
.contact-form__field input:not(:placeholder-shown) + label,
.contact-form__field textarea:not(:placeholder-shown) + label {
    transform: translateY(-20px);
    font-size: 16px;
    color: #333;
}

.contact-form__checkbox {
    margin-bottom: 20px;
    position: relative;
}

.contact-form__checkbox input {
    display: none;
}

.contact-form__checkbox label {
    font-size: 16px;
    color: #333;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
}

.contact-form__checkbox .custom-checkbox {
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 4px;
    transition: background 0.3s, border-color 0.3s;
}

.contact-form__checkbox input:checked + label .custom-checkbox {
    background: #f600ff;
    border-color: #a67bad;
}

.contact-form__checkbox input:checked + label .custom-checkbox::after {
    content: '';
    position: absolute;
    top: 0px;
    left: 4px;
    width: 5px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

button {
    width: 250px;
    height: 40px;
    padding: 10px 20px;
    background-color: #7c50cb;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:enabled:hover {
    background-color: #461893;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 40px 0;
    }
    .contact-form__container {
        flex-direction: column;
    }

    .contact-form__field {
        margin-bottom: 25px;
    }
    .contact-form__item {
        font-size: 16px;
    }
}
.contact-form__social {
    margin-top: 10px;
}

.socials__link {
    font-size: 32px;
    margin-right: 10px;
    text-decoration: none;
}

.link__viber {
    color: #7c50cb;
}
.link__viber:hover {
    color: #461893;
}
.link__messenger:hover {
    color: hotpink;
}
.link__telegram {
    color: #3498db;
}
.link__telegram:hover {
    color: blue;
}


.consent-block {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.consent-block__checkbox {
    margin-right: 10px;
    position: relative;
}

.consent-block__input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.consent-block__label {
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: 2px solid #FF8008;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.consent-block__input:checked + .consent-block__label {
    background-color: #FF8008;
}

.consent-block__input:checked + .consent-block__label::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consent-block__text {
    font-size: 1em;
}

.site-footer {
    padding: 40px 0;
    background-color: #333;
    color: #f4f4f4;
    text-align: center;
}

.site-footer__quote {
    font-size: 24px;
    font-style: italic;
    margin-bottom: 20px;
    color: #ffffff;
}

.site-footer__description {
    font-size: 16px;
    color: #dddddd;
}

@media (max-width: 768px) {
    .site-footer__quote {
        font-size: 20px;
    }

    .site-footer__description {
        font-size: 14px;
    }
}

