    /* CSS Variables */
:root {
    --gradient-sunset: linear-gradient(135deg, #fb923c 0%, #fbbf24 100%);
    --gradient-deep-purple: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    --gradient-purple: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    --gradient-footer: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    --color-orange: #fb923c;
    --color-purple: #7c3aed;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-glow-orange: 0 8px 25px rgba(251, 146, 60, 0.4);
    --shadow-glow-purple: 0 8px 25px rgba(124, 58, 237, 0.4);
}

/* Reset and Base Styles */



/* Hero Section */
.hero {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    background-image: url("../images/4c7f0c599452ad560b7b4a42a2a711e6.jpeg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3));
}

.hero-content {
    /*height: 100%;*/
    position: relative;
    z-index: 10;
    width: 100%;
    color: white;

}

    .hero-content_page {
        height: 100%;
        position: relative;
        z-index: 10;
        color: white;
        padding: 2rem;
        display: flex;
        align-items: center;
       justify-content: center;
        text-align: center;

    }

.hero-container {
    width: 1440px;
    margin: 0 auto;
    padding-left: 1rem;
    text-align: left;
    margin-top: 4rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
    z-index: 100;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
    max-width: 800px;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
}

.back-button:hover {
    color: white;
}

/* Main Content Section */
.main-content {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fce7f3 50%, #e0e7ff 100%);
}

.content-container {
    width: 1440px;
    margin: 0 auto;
    padding-left: 3rem;
    padding-right: 3rem;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

.contact-card {
    background: white;
    border: 2px dashed #d1d5db;
    border-radius: 35px;
    padding: 0.75rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-content {
    padding: 1.5rem;
}

.card-flex {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.icon-wrapper {
    width: 5rem;
    height: 5rem;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-purple {
    background: var(--gradient-purple);
    box-shadow: var(--shadow-glow-purple);
}

.icon-deep-purple {
    background: var(--gradient-deep-purple);
    box-shadow: var(--shadow-glow-purple);
}

.icon-orange {
    background: var(--gradient-sunset);
    box-shadow: var(--shadow-glow-orange);
}

.icon-green {
    background: linear-gradient(135deg, #11998E 0%, #38EF7D 100%);
    box-shadow: var(--shadow-soft);
}

.card-body {
    flex: 1;
}

.card-label {
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    color: #6b7280;
    font-weight: 700;
}

.card-info {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.working-hours {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.working-hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.75rem;
}

.working-hours-item:last-child {
    border-bottom: none;
    padding-bottom: 0.5rem;
}

.working-hours-day {
    font-weight: 600;
    color: #111827;
}

.working-hours-time {
    font-weight: 700;
    color: var(--color-purple);
}

.working-hours-closed {
    color: #9ca3af;
    font-weight: 600;
}

/* Map Placeholder */
.map-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 2px dashed #d1d5db;
    border-radius: 35px;
    padding: 0.75rem;
    box-shadow: var(--shadow-soft);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.map-inner {
    text-align: center;
}

.map-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667EEA 0%, #4FACFE 100%);
    box-shadow: var(--shadow-soft);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.map-title {
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: #4b5563;
    font-weight: 700;
}

.map-address {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
}

/* How to Get There Section */
.how-to-section {
    padding-top: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 2rem;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.transport-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .transport-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.transport-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.transport-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transport-title {
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-weight: 700;
    font-size: 1.25rem;
    color: #111827;
}

.transport-text {
    line-height: 1.75;
    color: #374151;
}

.route-option {
    border-left: 4px solid;
    padding-left: 1rem;
}

.route-option-1 {
    border-color: var(--color-orange);
}

.route-option-2 {
    border-color: var(--color-purple);
}

.route-label {
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    margin-bottom: 0.5rem;
    color: #6b7280;
    font-weight: 700;
}

.bus-badge {
    display: inline-block;
    color: white;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    margin: 0 0.25rem;
    border-radius: 9999px;
    font-weight: 700;
}

.badge-orange {
    background: var(--gradient-sunset);
}

.badge-purple {
    background: var(--gradient-deep-purple);
}



/* Utility Classes */
.space-y-4 > * + * {
    margin-top: 1rem;
}


    /* Адаптивные стили для мобильной версии */

    /* Основные медиа-запросы для мобильных устройств */
    @media (max-width: 768px) {
        /* Контейнеры */
        .content-container {
            width: 100% !important;
            max-width: 100% !important;
            padding-left: 16px !important;
            padding-right: 16px !important;
            margin: 0 auto !important;
        }

        /* Hero секция (если нужно исправить и ее) */
        .hero-container {
            width: 100% !important;
            max-width: 100% !important;
            padding-left: 16px !important;
            padding-right: 16px !important;
            margin-top: 2rem !important;
        }

        .hero-title {
            font-size: 2rem !important;
            line-height: 1.2 !important;
        }

        /* Сетка контактов */
        .contact-grid {
            grid-template-columns: 1fr !important;
            gap: 16px !important;
            margin-bottom: 32px !important;
        }

        .contact-column {
            gap: 16px !important;
        }

        /* Карточки контактов */
        .contact-card {
            border-radius: 20px !important;
            padding: 12px !important;
        }

        .card-content {
            padding: 16px !important;
        }

        .card-flex {
            gap: 12px !important;
            flex-direction: row !important;
            align-items: flex-start !important;
        }

        .icon-wrapper {
            width: 48px !important;
            height: 48px !important;
            border-radius: 12px !important;
            flex-shrink: 0 !important;
        }

        .icon-wrapper svg {
            width: 24px !important;
            height: 24px !important;
        }

        .card-label {
            font-size: 12px !important;
            margin-bottom: 8px !important;
        }

        .card-info {
            font-size: 14px !important;
            line-height: 1.4 !important;
            word-break: break-word !important;
        }

        /* График работы */
        .working-hours-item {
            flex-direction: column !important;
            align-items: flex-start !important;
            gap: 4px !important;
        }

        .working-hours-day,
        .working-hours-time,
        .working-hours-closed {
            font-size: 14px !important;
        }

        /* Карта */
        .map-card {
            border-radius: 20px !important;
            padding: 12px !important;
            min-height: 300px !important;
            height: 300px !important;
            order: -1 !important; /* Карта будет сверху на мобильных */
        }

        /* Секция "Как доехать" */
        .how-to-section {
            padding-top: 24px !important;
        }

        .section-title {
            font-size: 24px !important;
            margin-bottom: 20px !important;
            text-align: center !important;
        }

        .transport-grid {
            grid-template-columns: 1fr !important;
            gap: 16px !important;
        }

        .transport-header {
            gap: 12px !important;
            margin-bottom: 12px !important;
        }

        .transport-icon {
            width: 40px !important;
            height: 40px !important;
            border-radius: 10px !important;
        }

        .transport-icon svg {
            width: 20px !important;
            height: 20px !important;
        }

        .transport-title {
            font-size: 16px !important;
        }

        .transport-text {
            font-size: 14px !important;
            line-height: 1.5 !important;
        }

        .route-option {
            margin-top: 12px !important;
        }

        .route-label {
            font-size: 12px !important;
        }

        .bus-badge {
            padding: 2px 6px !important;
            font-size: 11px !important;
            margin: 2px !important;
        }
    }

    /* Медиа-запрос для очень маленьких экранов */
    @media (max-width: 480px) {
        .hero-title {
            font-size: 1.75rem !important;
        }

        .card-flex {
            gap: 10px !important;
        }

        .icon-wrapper {
            width: 44px !important;
            height: 44px !important;
        }

        .icon-wrapper svg {
            width: 20px !important;
            height: 20px !important;
        }

        .card-info {
            font-size: 13px !important;
        }

        .map-card {
            min-height: 250px !important;
            height: 250px !important;
        }

        .section-title {
            font-size: 20px !important;
        }
    }

    /* Медиа-запрос для планшетов */
    @media (min-width: 769px) and (max-width: 1024px) {
        .content-container {
            width: 100% !important;
            max-width: 100% !important;
            padding-left: 24px !important;
            padding-right: 24px !important;
        }

        .contact-grid {
            gap: 20px !important;
        }

        .contact-column {
            gap: 20px !important;
        }

        .icon-wrapper {
            width: 56px !important;
            height: 56px !important;
        }

        .card-info {
            font-size: 16px !important;
        }

        .map-card {
            min-height: 500px !important;
            height: 500px !important;
        }
    }

    /* Отключение fixed background на мобильных для производительности */
    @media (max-width: 768px) {
        .hero {
            background-attachment: scroll !important;
            height: 35vh !important;
            min-height: 250px !important;
        }
    }

    /* Улучшение отступов для контента */
    @media (max-width: 768px) {
        .main-content {
            padding: 32px 0 !important;
        }

        .space-y-4 > * + * {
            margin-top: 12px !important;
        }
    }

    /* Исправление для очень длинного текста на маленьких экранах */
    @media (max-width: 768px) {
        .transport-text br {
            display: block;
            content: " ";
            margin-bottom: 8px;
        }
    }
