.page-title {
    font-size: 48px;
    font-weight: 500;
    color: #303030;
    margin: 0 0 30px 0;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
}

.contacts-section {
    padding: 0 0 96px 0;
    background-color: #fff;
}

/* Контейнер с сеткой для выравнивания высоты */
.contacts-container {
    display: grid;
    grid-template-columns: 545px 1fr;
    gap: 20px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 0px;
    align-items: stretch;
}

.contact-info {
    width: 100%;
    height: 100%;
}

.contact-map-container {
    width: 100%;
    height: 100%;
}

.contact-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-color: #D9D9D9;
    border-radius: 0px;
    overflow: hidden;
}

/* Табы городов */
.city-tabs {
    display: flex;
    flex-direction: row;
    gap: 0px;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    width: 100%;
    margin-bottom: 18px;
}

.city-tab {
    flex: 1;
    text-align: center;
    padding: 0 0 13px 0;
    border-bottom: 1px solid #e1e1e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.city-tab.active {
    border-bottom: 1px solid #1481db;
}

.city-tab span {
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    color: #e1e1e1;
    transition: color 0.3s ease;
}

.city-tab.active span {
    color: #1481db;
}

/* Карточки офисов и складов */
.office-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background-color: #F2F3F5;
    border-radius: 0px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

/* Убрали opacity по умолчанию у склада */
.office-card.warehouse-card {
    opacity: 1;
}

/* Прозрачность при наведении на ЛЮБУЮ карточку */
/*.office-card:hover {
    opacity: 0.49;
}*/

/* Активная карточка (при клике) */
.office-card.active-card {
    background-color: #1481DB;
}

.office-card.active-card .office-title,
.office-card.active-card .office-address {
    color: #ffffff;
}

.office-icon {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.office-icon svg:first-child {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
}

.office-icon-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.office-icon.small-icon .office-icon-inner {
    width: 20px;
    height: 20px;
}

.office-details {
    flex: 1;
}

.office-title {
    font-size: 16px;
    font-weight: 600;
    color: #303030;
    margin-bottom: 8px;
    font-family: 'Inter Tight', sans-serif;
}

.office-address {
    font-size: 16px;
    font-weight: 600;
    color: #818084;
    line-height: 1.4;
    font-family: 'Inter Tight', sans-serif;
}

/* Контактные элементы (телефон, email) */
.contact-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background-color: #F2F3F5;
    border-radius: 0px;
    margin-bottom: 10px;
}

.contact-item .contact-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter Tight', sans-serif;
}

.contact-item .contact-details a {
    color: #818084;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.4;
    font-family: 'Inter Tight', sans-serif;
}

.contact-item .contact-details a:hover {
    color: #1481DB;
}

/* Строка с графиком и соцсетями */
.info-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.time-item {
    flex: 0 0 207px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background-color: #F2F3F5;
    border-radius: 0px;
    box-sizing: border-box;
}

.time-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.time-details span {
    color: #818084;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    font-family: 'Inter Tight', sans-serif;
}

.social-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0px;
    background-color: #F2F3F5;
    border-radius: 0px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1481DB;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #8AC0ED;
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 1024px) {
    .contacts-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-map {
        min-height: 400px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .info-row {
        flex-direction: column;
    }

    .time-item {
        flex: 1 1 auto;
        width: 100%;
    }

    .city-tab span {
        font-size: 20px;
    }

    .office-card:hover {
        opacity: 1;
    }

	.contacts-container {padding: 0; gap:48px;}
	.office-card {padding: 0 16px;height: 96px; gap: 16px;}
	.office-title {font-size:15px;}
	.office-address { font-size: 14px; }
    .contact-item .contact-details a { font-size: 14px; }
	.social-item {min-height: 96px;}
    .warehouse-card  {padding: 0 16px; height: 96px;}
    .contact-item, .time-item {padding: 0 16px;height: 96px; gap: 16px;}
	.contacts-section {padding: 0 0 48px 0;}

}