/* ========================================
   ОПИСАНИЕ ОФИСА - Стили для HTML-контента
   ======================================== */

.office-description {
    padding: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-secondary);
    line-height: 1;
}

/* Вводный параграф */
.office-description .office-intro {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(var(--accent-color), 0.08);
}

.office-description .office-intro strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Заголовки секций */
.office-description h4 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    opacity: 0.8;
}

/* Блок с особенностями */
.office-description .office-features {
    margin-bottom: 24px;
}

.office-description .office-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.office-description .office-features li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
}

.office-description .office-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background: rgb(var(--accent-color));
    border-radius: 50%;
    opacity: 0.6;
}

/* Условия аренды */
.office-description .rental-conditions {
    margin-bottom: 24px;
    background: linear-gradient(135deg, 
        rgba(var(--accent-color), 0.02) 0%, 
        rgba(var(--accent-color), 0.01) 100%);
    border: 1px solid rgba(var(--accent-color), 0.06);
    border-radius: 12px;
    padding: 16px;
}

.office-description .rental-conditions p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.office-description .rental-conditions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.office-description .rental-conditions li {
    position: relative;
    padding-left: 20px;
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.8;
}

.office-description .rental-conditions li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: rgb(var(--accent-color));
    font-weight: 600;
    font-size: 12px;
}

/* Транспортная доступность - обновленные стили с галочками */
.office-description .transport-access {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 16px;
}

.office-description .transport-access ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.office-description .transport-access li {
    position: relative;
    padding-left: 20px;
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 6px;
}

.office-description .transport-access li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: rgb(var(--accent-color));
    font-weight: 600;
    font-size: 12px;
}

/* Для темной темы */
body.night-mode .office-description .office-intro {
    border-bottom-color: rgba(var(--accent-color), 0.1);
}

body.night-mode .office-description .rental-conditions {
    background: linear-gradient(135deg, 
        rgba(var(--accent-color), 0.03) 0%, 
        rgba(var(--accent-color), 0.015) 100%);
    border-color: rgba(var(--accent-color), 0.08);
}

body.night-mode .office-description .transport-access {
    background: rgba(255, 255, 255, 0.02);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .office-description {
        padding: 16px 0;
    }
    
    .office-description .office-intro {
        font-size: 14px;
        margin-bottom: 20px;
        padding-bottom: 16px;
    }
    
    .office-description h4 {
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .office-description .office-features li,
    .office-description .rental-conditions li,
    .office-description .transport-access li {
        font-size: 12px;
    }
    
    .office-description .rental-conditions p {
        font-size: 12px;
    }
    
    .office-description .rental-conditions,
    .office-description .transport-access {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .office-description .office-intro {
        font-size: 13px;
    }
    
    .office-description h4 {
        font-size: 10px;
    }
    
    .office-description .office-features li,
    .office-description .rental-conditions li,
    .office-description .transport-access li {
        font-size: 11px;
        padding-left: 18px;
    }
    
    .office-description .rental-conditions p {
        font-size: 11px;
    }
}

/* Анимация появления секций при прокрутке */
.office-description > div {
    animation: fadeInUp 0.6s ease both;
}

.office-description .office-features {
    animation-delay: 0.1s;
}

.office-description .rental-conditions {
    animation-delay: 0.2s;
}

.office-description .transport-access {
    animation-delay: 0.3s;
}

/* Интеграция с существующей панелью */
.office-details-panel .office-description {
    padding: 0;
    margin-top: 16px;
}

/* Компактный режим для правой панели */
.office-details-panel .office-description .office-intro {
    font-size: 14px;
    margin-bottom: 16px;
    padding-bottom: 16px;
}

.office-details-panel .office-description h4 {
    font-size: 11px;
}

.office-details-panel .office-description li {
    font-size: 12px;
}

.office-details-panel .office-description .rental-conditions,
.office-details-panel .office-description .transport-access {
    padding: 12px;
}

/* ========================================
   КОМПАКТНЫЕ СТИЛИ ДЛЯ МОДАЛЬНОГО ОКНА
   ======================================== */

.description-modal-content .office-description {
    padding: 0;
    font-size: 14px;
}

/* Компактный вводный блок */
.description-modal-content .office-intro {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 12px;
    padding-bottom: 10px;
}

.description-modal-content .office-intro strong {
    font-weight: 600;
    color: rgb(var(--accent-color));
}

/* Компактные заголовки */
.description-modal-content h4 {
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 6px;
    color: rgb(var(--accent-color));
    opacity: 0.8;
}

/* Компактный блок особенностей - в две колонки */
.description-modal-content .office-features {
    margin-bottom: 12px;
}

.description-modal-content .office-features ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
    margin-bottom: 0;
}

.description-modal-content .office-features li {
    font-size: 13px;
    padding-left: 18px;
    line-height: 1.3;
}

.description-modal-content .office-features li::before {
    width: 5px;
    height: 5px;
    top: 5px;
}

/* Условия аренды - компактнее */
.description-modal-content .rental-conditions {
    margin-bottom: 12px;
    padding: 10px;
    background: rgba(var(--accent-color), 0.02);
    border: 1px solid rgba(var(--accent-color), 0.08);
}

.description-modal-content .rental-conditions p {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.description-modal-content .rental-conditions ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
}

.description-modal-content .rental-conditions li {
    font-size: 12px;
    line-height: 1.4;
    padding-left: 18px;
}

.description-modal-content .rental-conditions li::before {
    font-size: 11px;
}

/* Транспорт - компактный стиль с галочками */
.description-modal-content .transport-access {
    padding: 10px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    margin-bottom: 0;
}

.description-modal-content .transport-access ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
}

.description-modal-content .transport-access li {
    font-size: 12px;
    line-height: 1.3;
    padding-left: 18px;
    margin-bottom: 0;
    position: relative;
}

.description-modal-content .transport-access li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: rgb(var(--accent-color));
    font-weight: 600;
    font-size: 11px;
}

/* Убираем лишние анимации в модалке */
.description-modal-content .office-description > div {
    animation: none;
}

/* Темная тема для модального окна */
body.night-mode .description-modal-content .rental-conditions {
    background: rgba(var(--accent-color), 0.03);
}

body.night-mode .description-modal-content .transport-access {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.08);
}

/* Мобильная версия модалки */
@media (max-width: 768px) {
    .description-modal-content .office-features ul {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    
    .description-modal-content .office-intro {
        font-size: 14px;
        margin-bottom: 14px;
    }
    
    .description-modal-content h4 {
        font-size: 10px;
    }
    
    .description-modal-content .office-features li,
    .description-modal-content .rental-conditions li,
    .description-modal-content .transport-access li {
        font-size: 11px;
    }
    
    .description-modal-content .rental-conditions p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .description-modal-content .office-intro {
        font-size: 13px;
    }
    
    .description-modal-content .rental-conditions,
    .description-modal-content .transport-access {
        padding: 10px;
    }
}