/* ── contactnew-v1: секция контактов ── */

/* Сброс мобильного padding-top от mobile.css (25vw для старой шапки) */
@media (max-width: 768px) {
    .page-contacts {
        padding-top: 0;
    }
}

.contactnew-v1 {
    padding: var(--gap-bcr-to-section) 0 var(--gap-section-to-footer);
}


/* ── Обёртка 1200px — три колонки ── */
.contactnew-v1__wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    align-items: stretch;
    min-height: 512px;
}

/* ── Левая колонка: контакты (без фона — прозрачная) ── */
.contactnew-v1__info {
    flex: 0 0 366px;
    padding: 27px 20px 24px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.contactnew-v1__heading {
    font-family: "LorenzoSans", Arial, sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 115%;
    letter-spacing: -0.02em;
    color: #1C1C1C;
    margin: 0 0 25px;
}

.contactnew-v1__row {
    margin-bottom: 22px;
}

.contactnew-v1__row:last-of-type {
    flex: 1;
    margin-bottom: 0;
}

.contactnew-v1__label {
    font-family: "LorenzoSans", Arial, sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 125%;
    letter-spacing: -0.005em;
    color: rgba(28, 28, 28, 0.85);
    margin: 0 0 9px;
}

.contactnew-v1__value {
    font-family: "LorenzoSans", Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 135%;
    letter-spacing: -0.005em;
    color: #1C1C1C;
    margin: 0;
}

.contactnew-v1__value a {
    color: #1C1C1C;
    text-decoration: none;
}

.contactnew-v1__value a:hover {
    color: var(--main-color);
}

.contactnew-v1__messengers {
    display: flex;
    gap: 8px;
    margin-top: 9px;
}

.contactnew-v1__messengers .soc-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity var(--transition-speed);
    background-color: var(--sp-cost-accent);
}

.contactnew-v1__messengers .soc-icon:hover {
    opacity: 0.8;
}

.contactnew-v1__messengers .soc-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contactnew-v1__messengers .soc-tg-label {
    display: none;
}

.contactnew-v1__requisites {
    font-family: "LorenzoSans", Arial, sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 120%;
    letter-spacing: -0.005em;
    color: #FEAB31;
    text-decoration: none;
    margin-top: auto;
    display: block;
}

.contactnew-v1__requisites:hover {
    opacity: 0.8;
}

/* ── Центральная колонка: фото ── */
.contactnew-v1__photo {
    flex: 0 0 385px;
    border-radius: 20px;
    overflow: hidden;
}

.contactnew-v1__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Правая колонка: обёртка для formletter-v1 ── */
.contactnew-v1__form-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ── Карта ── */
.contactnew-v1__map-wrap {
    max-width: 1200px;
    margin: 22px auto 0;
    height: 296px;
    border-radius: 20px;
    overflow: hidden;
}

.contactnew-v1__map-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
    .contactnew-v1__wrap {
        flex-direction: column;
        height: auto;
        min-height: unset;
        width: 75vw;
        margin: 0 auto;
        padding: 0;
        gap: 3.75vw;
    }

    .contactnew-v1__info {
        flex: none;
        width: 100%;
        padding: 0;
        order: 1;
    }

    .contactnew-v1__heading {
        font-size: 25px;
        letter-spacing: -0.01em;
        margin-bottom: 5vw;
    }

    .contactnew-v1__row {
        margin-bottom: 3.75vw;
    }

    .contactnew-v1__row:last-of-type {
        flex: none;
        margin-bottom: 3.75vw;
    }

    .contactnew-v1__label {
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 1.25vw;
    }

    .contactnew-v1__value {
        font-size: 16px;
        font-weight: 700;
    }

    .contactnew-v1__form-col {
        flex: none;
        width: 100%;
        order: 2;
    }

    .contactnew-v1__photo {
        flex: none;
        width: 100%;
        aspect-ratio: 4 / 5;
        height: auto;
        border-radius: 5vw;
        order: 3;
    }

    .contactnew-v1__messengers {
        gap: 2vw;
        margin-top: 2.25vw;
    }

    .contactnew-v1__map-wrap {
        margin: 3.75vw 0 0;
        height: 76.5vw;
        border-radius: 0;
    }
}
