/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
    background-color: #f4f4f4;
}

/* Header */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-top: 3px solid #2c3e50;
    background: transparent;
}

/* Фон хедера на всю ширину */
.nav-background {
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Верхняя часть хедера */
.nav-top {
    padding: 0.8rem 0;
    background: #ffffff;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Линия разделитель */
.nav-divider-container {
    width: 100%;
    background: #ffffff;
}

.nav-divider {
    height: 1px;
    background-color: #e0e0e0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Секции верхней части */
.nav-left,
.nav-center,
.nav-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-left {
    justify-content: flex-start;
}

.nav-center {
    justify-content: center;
}

.nav-right {
    justify-content: flex-end;
}

/* Телефон */
.contact-phone {
    text-align: left;
}

.phone-link {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.phone-link:hover {
    color: #3498db;
}

/* Логотип */
.logo {
    text-align: center;
}

.logo-link {
    text-decoration: none;
}

.logo h2 {
    color: #2c3e50;
    font-size: 2.1rem;
    font-weight: normal;
    line-height: 1.4;
    white-space: nowrap;
}

.city {
    display: block;
    font-size: 1.8rem;
    color: #666;
    margin-top: 0.2rem;
}

/* Логотип для мобильной версии (скрыт на десктопе) */
.mobile-logo {
    display: none;
}

.mobile-logo .logo-link {
    text-decoration: none;
}

.mobile-logo h2 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: normal;
    line-height: 1.2;
    white-space: nowrap;
}

.mobile-logo .city {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.1rem;
}

/* Кнопка забронировать */
.booking-btn {
    text-align: right;
}

.btn-book {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #008c4e;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn-book:hover {
    background: #3498db;
}

/* Нижняя часть хедера - меню */
.nav-bottom {
    padding: 0.8rem 0;
    background: #ffffff;
}

/* Меню */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.nav-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 0.3rem 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: #3498db;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu (скрыт на десктопе) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Footer - фон на всю ширину */
.footer {
    background: #34495e;
    color: white;
    padding: 2rem 0 1rem;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #4a6572;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Основной контент с отступом под фиксированный header */
main {
    margin-top: 174px;
    min-height: calc(100vh - 200px);
    width: 100%;
}

/* Контейнер для основного контента с ограничением ширины */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Ограничиваем ширину сайта до 1200px для десктопа */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Мобильные устройства (до 768px) */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    /* Скрываем верхнюю часть на мобильных */
    .nav-top {
        display: none;
    }
    
    /* Показываем мобильный логотип */
    .mobile-logo {
        display: block;
        flex: 1;
        text-align: left;
    }
    
    /* На мобильных nav-bottom становится основной навигацией */
    .nav-bottom {
        padding: 0.7rem 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(-100%);
        flex-direction: column;
        background: #f4f4f4; 
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: transform 0.3s ease;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 5rem 0 2rem 0;
        gap: 0;
        z-index: 999;
        justify-content: flex-start;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        margin: 0 0;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.1rem;
        display: block;
        padding: 1rem;
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
        color: #333;
        white-space: normal;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(52, 152, 219, 0.1);
        color: #3498db;
    }
    
    /* Анимация hamburger */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background: #333;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        background: #333;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background: #333;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    main {
        margin-top: 70px;
    }
    
    /* Блокировка скролла при открытом меню */
    body.menu-open {
        overflow: hidden;
    }
}

/* Маленькие мобильные (до 480px) */
@media screen and (max-width: 480px) {
    .logo h2 {
        font-size: 1rem;
    }
    
    .city {
        font-size: 0.75rem;
    }
    
    .mobile-logo h2 {
        font-size: 0.9rem;
    }
    
    .mobile-logo .city {
        font-size: 0.7rem;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .nav-menu {
        padding: 4rem 0 2rem 0;
    }
    
    .main-container {
        padding: 0 10px;
    }
}

/* Mobile CTA Buttons */
.cta-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top: 1px solid #e0e0e0;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cta-mobile .btn {
    flex: 1;
    max-width: 200px;
    text-align: center;
    padding: 12px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cta-mobile .btn-call {
    background: #27ae60;
    color: white;
}

.cta-mobile .btn-call:hover {
    background: #219653;
}

.cta-mobile .btn-book {
    background: #3498db;
    color: white;
}

.cta-mobile .btn-book:hover {
    background: #2980b9;
}

/* Показываем CTA только на мобильных */
@media screen and (max-width: 768px) {
    .cta-mobile {
        display: block;
    }
    
    /* Добавляем отступ для основного контента, чтобы не перекрывался CTA */
    .main-container {
        padding-bottom: 10px;
    }
}

/* Улучшения для очень маленьких экранов */
@media screen and (max-width: 480px) {
    .cta-mobile {
        padding: 8px 10px;
    }
    
    .cta-mobile .btn {
        padding: 10px 8px;
        font-size: 0.85rem;
        max-width: 160px;
    }
    
    .cta-container {
        gap: 8px;
    }
}

/* Footer Styles */
.footer-title {
    color: #ecf0f1;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.5;
    font-size: 0.95rem;
}

.footer-subtitle {
    color: #ecf0f1;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 1px solid #4a6572;
    padding-bottom: 0.5rem;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-type {
    color: #3498db;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    padding: 0.2rem 0;
}

.contact-link:hover {
    color: #3498db;
}

.contact-icon {
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

.messengers {
    display: flex;
    gap: 1rem;
    margin-left: 1.5rem;
}

.messenger-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.messenger-link:hover {
    color: #3498db;
}

.messenger-icon {
    font-size: 0.7rem;
}

.footer-address {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.address-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.address-icon {
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

/* Адаптивность для футера */
@media screen and (max-width: 768px) {
    .footer-title {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .footer-description {
        text-align: center;
    }
    
    .footer-subtitle {
        font-size: 1rem;
        text-align: center;
    }
    
    .footer-contacts {
        gap: 1rem;
    }
    
    .contact-group {
        text-align: center;
    }
    
    .contact-link {
        justify-content: center;
    }
    
    .messengers {
        justify-content: center;
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .footer-address {
        text-align: center;
    }
    
    .address-line {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-subtitle {
        font-size: 0.95rem;
    }
    
    .contact-link {
        font-size: 0.85rem;
    }
    
    .messengers {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .address-line {
        font-size: 0.85rem;
    }
}

/* =========================================== */
/* FOOTER COLOR FIXES - Better contrast on dark background */
/* =========================================== */

/* Переопределение стилей для контактов в футере */
.footer .contact-group {
    margin-bottom: 1rem;
}

.footer .contact-group:last-child {
    margin-bottom: 0;
}

.footer .contact-group-title {
    color: #ecf0f1 !important;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    border-bottom: 1px solid #3498db;
    padding-bottom: 0.2rem;
}

.footer .contact-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer .contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #bdc3c7 !important;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.3rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: transparent !important;
}

.footer .contact-link:hover {
    color: #3498db !important;
    background: rgba(52, 152, 219, 0.1) !important;
    transform: translateX(3px);
}

.footer .contact-icon {
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

.footer .messengers {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
    margin-top: 0.2rem;
}

.footer .messenger-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #27ae60 !important;
    text-decoration: none;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border: 1px solid #27ae60;
    border-radius: 3px;
    transition: all 0.3s ease;
    background: transparent !important;
}

.footer .messenger-link:hover {
    background: #27ae60 !important;
    color: white !important;
}

/* Переопределение стилей для адреса в футере */
.footer .address-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer .address-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #bdc3c7 !important;
    font-size: 0.9rem;
    font-weight: normal;
}

.footer .address-icon {
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

/* Усиление заголовков футера для лучшей читаемости */
.footer .footer-title {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.footer .footer-subtitle {
    color: #ffffff;
    font-weight: 600;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.footer .footer-description {
    color: #e0e0e0;
    line-height: 1.5;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

/* Адаптивность для футера */
@media screen and (max-width: 768px) {
    .footer .contact-link {
        font-size: 0.85rem;
        justify-content: center;
    }
    
    .footer .address-line {
        font-size: 0.85rem;
        justify-content: center;
        text-align: center;
    }
    
    .footer .footer-title,
    .footer .footer-subtitle {
        text-align: center;
    }
    
    .footer .footer-description {
        text-align: center;
    }
    
    .footer .messengers {
        justify-content: center;
        margin-left: 0;
    }
}

@media screen and (max-width: 480px) {
    .footer .contact-link {
        font-size: 0.8rem;
    }
    
    .footer .address-line {
        font-size: 0.8rem;
    }
    
    .footer .messenger-link {
        font-size: 0.7rem;
    }
}

/* =========================================== */
/* UNIVERSAL CONTACT BLOCKS - Adaptive to different color schemes */
/* =========================================== */

/* Base contact block styles */
.contact-block {
    background: transparent;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.contact-block__header {
    margin-bottom: 1rem;
}

.contact-block__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid;
}

/* Contact item styles */
.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item__icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item__content {
    flex: 1;
}

.contact-item__label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item__value {
    font-size: 0.95rem;
    line-height: 1.4;
}

.contact-item__value a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item__actions {
    margin-top: 0.5rem;
}

.contact-messengers {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.messenger-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid;
}

.messenger-icon {
    font-size: 0.7rem;
}

/* =========================================== */
/* CONTACTS PAGE SPECIFIC STYLES - Light theme */
/* =========================================== */

/* Contact blocks on contacts page */
.contacts-content .contact-block__title {
    color: #2c3e50;
    border-bottom-color: #3498db;
}

.contacts-content .contact-item {
    background: #f8f9fa;
    border-left: 3px solid #3498db;
}

.contacts-content .contact-item__label {
    color: #2c3e50;
}

.contacts-content .contact-item__value {
    color: #34495e;
}

.contacts-content .contact-item__value a {
    color: #3498db;
}

.contacts-content .contact-item__value a:hover {
    color: #2980b9;
}

.contacts-content .messenger-link {
    color: #27ae60;
    border-color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
}

.contacts-content .messenger-link:hover {
    background: #27ae60;
    color: white;
}

/* =========================================== */
/* FOOTER SPECIFIC STYLES - Dark theme */
/* =========================================== */

/* Contact blocks in footer */
.footer .contact-block {
    margin-bottom: 1rem;
}

.footer .contact-block__title {
    color: #ffffff;
    border-bottom-color: #3498db;
}

.footer .contact-item {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid #3498db;
    border: none;
}

.footer .contact-item__label {
    color: #ecf0f1;
}

.footer .contact-item__value {
    color: #bdc3c7;
}

.footer .contact-item__value a {
    color: #bdc3c7;
}

.footer .contact-item__value a:hover {
    color: #3498db;
}

.footer .messenger-link {
    color: #27ae60;
    border-color: #27ae60;
    background: transparent;
}

.footer .messenger-link:hover {
    background: #27ae60;
    color: white;
}

/* Hover effects */
.contacts-content .contact-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.footer .contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

/* =========================================== */
/* RESPONSIVE DESIGN */
/* =========================================== */

@media screen and (max-width: 768px) {
    .contact-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .contact-item__icon {
        align-self: center;
    }
    
    .contact-messengers {
        justify-content: center;
    }
    
    .footer .contact-item {
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .contact-block__title {
        font-size: 1rem;
        text-align: center;
    }
    
    .contact-item {
        padding: 0.6rem;
    }
    
    .contact-item__label {
        font-size: 0.8rem;
    }
    
    .contact-item__value {
        font-size: 0.9rem;
    }
    
    .messenger-link {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

/* =========================================== */
/* ENHANCED STYLES FOR CONTACTS PAGE */
/* =========================================== */

/* Стили для карты проезда */
.map-container {
    margin-top: 1rem;
}

.map-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.address-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.address-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.address-text {
    text-align: left;
}

.address-main {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

.map-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.95rem;
    font-weight: 500;
}

.btn-map:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Стили для реквизитов */
.contacts-content .contact-item__value {
    word-break: break-word;
    line-height: 1.5;
}

/* Адаптивность для карты и реквизитов */
@media screen and (max-width: 768px) {
    .address-preview {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .address-text {
        text-align: center;
    }
    
    .address-main {
        font-size: 1rem;
    }
    
    .map-actions {
        flex-direction: column;
    }
    
    .btn-map {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .map-placeholder {
        padding: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .address-preview {
        padding: 0.8rem;
    }
    
    .address-icon {
        font-size: 1.5rem;
    }
    
    .address-main {
        font-size: 0.9rem;
    }
    
    .btn-map {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .map-placeholder {
        padding: 1rem;
    }
    
    /* Улучшение отображения длинных реквизитов на мобильных */
    .contacts-content .contact-item__value {
        font-size: 0.85rem;
    }
}

.footer-link {
    display: inline-block;
    color: #3498db; /* Синий цвет ссылки */
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #2980b9; /* Более темный оттенок при наведении */
    text-decoration: underline;
}

.footer-description {
    color: #bdc3c7; /* Серый цвет текста */
    line-height: 1.5;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
    .footer-description {
        text-align: center;
    }
}

/* Адаптивность заголовка для промежуточных размеров экрана */
@media screen and (max-width: 1100px) {
    .logo h2 {
        font-size: 1.7rem;
        white-space: nowrap;
        line-height: 1.3;
    }
    
    .logo .city {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 950px) {
    .logo h2 {
        font-size: 1.5rem;
    }
    
    .logo .city {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 880px) {
    .logo h2 {
        font-size: 1.3rem;
    }
    
    .logo .city {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 810px) {
    .logo h2 {
        font-size: 1.2rem;
    }
    
    .logo .city {
        font-size: 0.9rem;
    }
}

/* Альтернативный вариант: сокращение текста на средних экранах */
@media screen and (max-width: 900px) and (min-width: 769px) {
    .logo h2 br {
        display: block;
    }
    
    .logo h2 {
        line-height: 1.2;
    }
}