.custom-form-field.custom-form-input {
    padding: 9px 18px;
    font-size: 13px;
    line-height: 28px;
    color: #404040;
    border: 1px solid #F2F2F2;
    border-radius: 2px;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    margin: 0;
}

.custom-form-field.custom-form-input:focus {
    outline: none;
    border-color: #0065ff;
    box-shadow: 0 0 0 2px rgba(0, 101, 255, 0.1);
}

textarea.custom-form-field.custom-form-input {
    min-height: 100px;
    resize: vertical;
}

.contacts-page {
    font-family: 'Montserrat', sans-serif;
}

.contacts-hero {
    width: 100%;
    max-width: 1384px;
    margin: 0 auto;
}

.contacts-hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.contacts-content {
    padding: 0;
}

.contacts-container {
    max-width: 1384px;
    margin: 0 auto;
    padding: 60px 0;
}

.contacts-blocks {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 80px;
}

.contacts-block {
    flex: 1;
    background: #F8F9FB;
    border-radius: 3px;
    padding: 30px 30px;
    min-width: 300px;
}

.contacts-block-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 27px;
    color: #151E30;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.contacts-block-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contacts-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.contacts-icon img {
    width: 100%;
    height: 100%;
}

.contacts-text {
    flex: 1;
}

.contacts-value {
    font-size: 14px;
    line-height: 17px;
    color: #000000;
}

.contacts-value a {
    color: #000000;
    text-decoration: none;
}

.contacts-value a:hover {
    color: #1169fe;
}

.contacts-social {
    display: flex;
    margin-left: -8px;
    gap: 0px;
}

.contacts-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: opacity 0.3s ease;
}

.contacts-social-link:hover {
    opacity: 0.8;
}

.contacts-social-icon {
    display: block;
    width: 40px;
    height: 40px;
    background-image: url(svg/icons_color_round.svg);
    background-repeat: no-repeat;
}

.contacts-social-icon[data-social-icon="WHATSAPP"] {
    background-position: -248px 0;
}

.contacts-social-icon[data-social-icon="TELEGRAM"] {
    background-position: -184px 0;
}

.contacts-map-section {
    margin-bottom: 80px;
}

.contacts-map-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 27px;
    color: #151E30;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.contacts-map-wrapper {
    width: 100%;
    height: 518px;
    border-radius: 3px;
    overflow: hidden;
}

.contacts-map {
    width: 100%;
    height: 100%;
}

@media (max-width: 1400px) {
    .contacts-container,
    .contacts-hero {
        max-width: 1200px;
    }

    .contacts-container {
        padding: 60px 20px;
    }
}

@media (max-width: 1200px) {
    .contacts-blocks {
        flex-wrap: wrap;
        gap: 20px;
    }

    .contacts-block {
        flex: 0 0 calc(50% - 10px);
        min-width: 250px;
    }

    .contacts-block:nth-child(3) {
        margin: 0 auto;
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .contacts-container {
        padding: 40px 15px;
    }

    .contacts-blocks {
        flex-direction: column;
        align-items: center;
    }

    .contacts-block {
        flex: 0 0 100%;
        width: 100%;
        max-width: 400px;
    }

    .contacts-block:nth-child(3) {
        margin: 0 auto;
    }

    .contacts-map-wrapper {
        height: 400px;
    }
}