/* ========================================
   СТРАНИЦА "КОНТАКТЫ"
   ======================================== */

/* ----- ОСНОВНОЙ КОНТЕНТ ----- */
.contacts-content {
    padding: 40px 0 60px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 0;
    align-items: start;
}

.contacts-main-col {
    padding-right: 60px;
}

.contacts-side-col {
    padding-left: 0;
}

/* ----- НАЗВАНИЕ ОРГАНИЗАЦИИ ----- */
.contacts-organization {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    color: #2B2B2B;
    margin-bottom: 20px;
}

.contacts-organization-komi {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    color: #2B2B2B;
    margin-bottom: 85px;
}

/* ----- СЕТКА КОНТАКТОВ: 2 КОЛОНКИ ----- */
.contacts-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 120px;
    padding-bottom: 48px;
    border-bottom: 1px solid #9BA5B9;
    margin-bottom: 48px;
}

.contacts-info-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contacts-info-item--margin {
    margin-top: 40px;
}

.contacts-info-item .label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0.20px;
    color: #15181F;
}

.contacts-info-item .value {
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    color: #15181F;
}

.contacts-info-item .value--link {
    color: #1123AB;
    text-decoration: underline;
}

.contacts-info-item .value--phone-large {
    font-size: 24px;
    line-height: 32px;
}

/* ----- УЧРЕДИТЕЛЬ ----- */
.contacts-founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 120px;
}

/* ----- ПРАВАЯ КОЛОНКА: ДИРЕКТОР ----- */
.contacts-side-col .director-card {
    margin-bottom: 56px;
}

.contacts-side-col .director-photo {
    width: 100%;
    height: 544px;
    background: rgba(168, 168, 168, 0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 4px;
}

.contacts-side-col .director-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contacts-side-col .director-name {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0.20px;
    color: #15181F;
    margin-bottom: 8px;
}

.contacts-side-col .director-phone {
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: #1123AB;
    text-decoration: underline;
}

/* ----- ОБРАТНАЯ СВЯЗЬ ----- */
.feedback-card {
    border: 1px solid #9BA5B9;
    border-radius: 4px;
    padding: 24px;
}

.feedback-card .feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.30);
    margin-bottom: 16px;
}

.feedback-card .feedback-title {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: #15181F;
}

.feedback-card .feedback-text {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    color: #15181F;
}

.feedback-btn {
    padding: 16px 24px !important;
    border-radius: 12px !important;
    font-family: var(--font-ui) !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.16px !important;
    line-height: 16px !important;
}

/* ----- БУХГАЛТЕРИЯ ----- */
.accounting-section {
    padding-top: 48px;
    border-top: 1px solid #C8CFD7;
}

.accounting-item {
    padding: 24px 0 32px;
    border-bottom: 1px solid #C8CFD7;
}

.accounting-item:last-child {
    border-bottom: none;
}

.accounting-item .accounting-title {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    color: #000;
    margin-bottom: 24px;
}

.accounting-item .accounting-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}

.accounting-item .accounting-role {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    color: #2B2B2B;
}

.accounting-item .accounting-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.accounting-item .accounting-name {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #2B2B2B;
}

.accounting-item .accounting-phone {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    color: #2B2B2B;
}

.contacts-map-row {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 0;
    margin-top: 40px;
}

.contacts-map-col {
    padding-right: 20px;
}

.contacts-map-col .map-placeholder {
    width: 100%;
    height: 385px;
    background: #D9D9D9;
    border-radius: 4px;
}

.contacts-map-col .map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.contacts-image-col {
    padding-left: 20px;
}

.contacts-image-col .image-placeholder {
    width: 100%;
    height: 385px;
    background: #D9D9D9;
    border-radius: 4px;
    object-fit: cover;
}

/* ==========================================================
   АДАПТИВ
   ========================================================== */
@media (max-width: 1200px) {
    .contacts-info-grid {
        gap: 32px 60px;
    }
    .contacts-founder-grid {
        gap: 32px 60px;
    }
    .accounting-item .accounting-row {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contacts-main-col {
        padding-right: 0;
    }
    .contacts-map-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .contacts-map-col {
        padding-right: 0;
    }
    .contacts-image-col {
        padding-left: 0;
    }
    .contacts-info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .contacts-founder-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .accounting-item .accounting-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .contacts-side-col .director-photo {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .contacts-side-col .director-photo {
        height: 280px;
    }
    .contacts-side-col .director-photo img {
        width: 120px;
        height: 105px;
    }
    .feedback-card .feedback-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    .partners-logos-row {
        justify-content: center;
    }

    .contacts-organization {
        font-size: 16px;
        line-height: 23px;
    }

    .contacts-organization-komi {
        font-size: 14px;
        line-height: 21px;
        color: #2B2B2B;
        margin-bottom: 45px;
    }
}
