.contacts {
    padding: 40px 0 64px;
}

.contacts__row {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 32px;
    align-items: stretch;
}

/* Card */
.contacts__card {
    display: flex;
    flex-direction: column;
    padding: 40px;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);
}

.contacts__title {
    font-weight: 400;
    font-size: clamp(16px, 2.2vw, 30px);
    line-height: 1.25;
    color: #000;
    margin: 0 0 32px;
    font-family: var(--font-sec);
}

/* Info with left bar */
.contacts__info {
    display: flex;
    gap: 35px;
    margin-bottom: 32px;
}

.contacts__info-bar {
    width: 4px;
    background: linear-gradient(180deg, #ed3953 0%, #a1171b 100%);
    border-radius: 4px;
    flex-shrink: 0;
}

.contacts__info-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    flex: 1;
    min-width: 0;
}

/* Socials */
.contacts__socials {
    display: flex;
    gap: 12px;
}

.contacts__social {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.contacts__social:hover {
    opacity: 0.7;
}

.contacts__social img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Contact links */
.contacts__phone {
    font-weight: 500;
    font-size: clamp(22px, 2.5vw, 35px);
    line-height: 0.8;
    color: #000;
    text-decoration: none;
}

.contacts__email {
    font-weight: 500;
    font-size: clamp(16px, 1.6vw, 24px);
    line-height: 1.17;
    color: #000;
    text-decoration: none;
}

.contacts__address {
    font-weight: 500;
    font-size: clamp(16px, 1.6vw, 24px);
    line-height: 1.17;
    color: #000;
}

/* Button */
.contacts__btn {
    width: 100%;
    padding: 8px 26px 8px 25px;
    border-radius: 45px;
    border: 1px solid #fff;
    background: linear-gradient(90deg, #ed3953 0%, #a1171b 100%);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    min-height: 61px;
    margin-top: auto;
    transition: opacity 0.2s;
}

.contacts__btn:hover {
    opacity: 0.9;
}

/* Map */
.contacts__map {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);
    min-height: 500px;
    background: #f0f0f0;
}

.contacts__map-inner {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

/* Textarea in modal */
.checkout__input--textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.ask-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Success */
.ask-modal__success {
    padding: 24px;
    border-radius: 16px;
    background: #f0fdf4;
    color: #166534;
    text-align: center;
    font-size: 16px;
}

/* Mobile */
@media (max-width: 900px) {
    .contacts {
        padding: 24px 0 40px;
    }

    .contacts__row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contacts__card {
        padding: 24px;
        border-radius: 20px;
    }

    .contacts__info {
        gap: 20px;
    }

    .contacts__map {
        min-height: 280px;
        border-radius: 20px;
    }

    .contacts__map-inner {
        min-height: 280px;
    }

    .contacts__info-content {
        align-items: center;
    }

    .contacts__info-bar {
        display: none;
    }
.contacts__title {
   text-align: center;
}
    .contacts__title br {
        display: none;
        text-align: center;
    }

    .contacts__socials {
        justify-content: center;
    }

    .contacts__social {
    width: 34px;
    height: 34px;
    }

}