<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("Title");
?>/* contacts-styles.css */
.contacts-local,
.contacts-local * {
    box-sizing: border-box;
}

.contacts-local {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #eef2f5;
    color: #1a2c3e;
    line-height: 1.5;
    padding: 24px 16px;
}

.contacts-local .contact-page {
    max-width: 1280px;
    margin: 0 auto;
}

.contacts-local .institution-card {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 32px;
}

.contacts-local .card-header {
    background: linear-gradient(135deg, #0b3b5f, #1a5a7a);
    padding: 28px 32px;
    color: white;
}

.contacts-local .card-header h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.contacts-local .info-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 32px;
    border-bottom: 1px solid #e6edf2;
}

.contacts-local .info-block {
    background: #f8fafc;
    border-radius: 20px;
    padding: 18px 22px;
    border: 1px solid #e9edf2;
}

.contacts-local .info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: #2c7da0;
    margin-bottom: 10px;
}

.contacts-local .info-value {
    word-break: break-word;
}

.contacts-local .info-value a {
    color: #1a6d8f;
    text-decoration: none;
    border-bottom: 1px solid #c7dbe7;
}

.contacts-local .requisites {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.contacts-local .requisites span {
    background: #eef2f6;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
}

.contacts-local .worktime-block {
    background: #eef4fa;
    border-left: 4px solid #2c7da0;
}

.contacts-local .worktime-schedule {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contacts-local .worktime-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contacts-local .worktime-day {
    font-weight: 600;
    color: #0b3b5f;
}

.contacts-local .phones-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.contacts-local .phone-item {
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 40px;
    border: 1px solid #d4e0e8;
    font-family: monospace;
}

.contacts-local .staff-section {
    padding: 0 32px 32px 32px;
}

.contacts-local .staff-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0b3b5f;
    margin-bottom: 24px;
    border-left: 5px solid #2c7da0;
    padding-left: 18px;
}

.contacts-local .modern-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 20px;
    overflow: hidden;
}

.contacts-local .modern-table th {
    background: #1f4e6e;
    color: white;
    font-weight: 600;
    padding: 16px 18px;
    text-align: left;
}

.contacts-local .modern-table td {
    padding: 14px 18px;
    background: white;
    border-bottom: 1px solid #edf2f6;
}

.contacts-local .modern-table tr:hover td {
    background: #f9fbfd;
}

.contacts-local .modern-table th:first-child,
.contacts-local .modern-table td:first-child {
    width: 70px;
    text-align: center;
}

@media (max-width: 850px) {
    .contacts-local .info-two-columns {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .contacts-local .staff-section {
        padding: 0 24px 24px 24px;
    }
}

@media (max-width: 650px) {
    .contacts-local .info-two-columns {
        padding: 20px;
    }
    .contacts-local .modern-table,
    .contacts-local .modern-table thead,
    .contacts-local .modern-table tbody,
    .contacts-local .modern-table tr,
    .contacts-local .modern-table td {
        display: block;
        width: 100%;
    }
    .contacts-local .modern-table thead {
        display: none;
    }
    .contacts-local .modern-table tr {
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 20px;
        margin-bottom: 16px;
    }
    .contacts-local .modern-table td {
        display: flex;
        justify-content: space-between;
        padding: 12px 16px;
        border-bottom: 1px solid #f0f4f8;
        text-align: right;
    }
    .contacts-local .modern-table td:last-child {
        border-bottom: none;
    }
    .contacts-local .worktime-row {
        flex-direction: column;
        gap: 4px;
    }
/* Стили для галереи в блоке "Доступная среда" */
.contacts-local .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 10px;
}

.contacts-local .gallery-item {
    text-align: center;
    flex: 1 1 auto;
    min-width: 150px;
}

.contacts-local .gallery-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contacts-local .gallery-caption {
    font-size: 0.8rem;
    margin-top: 8px;
    color: #5f7f9a;
    max-width: 300px;
}

@media (max-width: 650px) {
    .contacts-local .gallery {
        justify-content: center;
    }
    .contacts-local .gallery-img {
        max-width: 250px;
    }
}
}<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>