:root {
    --primary: #2d7a4a;
    --primary-dark: #1e5a35;
    --primary-light: #4a9a6a;
    --shadow: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-hover: 0 15px 50px rgba(0,0,0,0.25);
    --radius: 16px;
    --radius-sm: 10px;
}

.fullscreen-map {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #f0f2f5;
    transition: all 0.3s ease;
}

.fullscreen-map:hover {
    box-shadow: var(--shadow-hover);
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
    transition: filter 0.3s ease;
}

/* ===== ГРАДИЕНТНЫЕ МАСКИ ===== */
.map-gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.map-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Декоративный уголок */
.map-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, transparent 50%, rgba(45,122,74,0.08) 50%);
    pointer-events: none;
    z-index: 1;
}

.map-corner::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    border-top: 3px solid rgba(255,255,255,0.6);
    border-right: 3px solid rgba(255,255,255,0.6);
    border-radius: 0 4px 0 0;
}
/* ===== КОНЕЦ ГРАДИЕНТНЫХ МАСОК ===== */

/* Подсказка */
.map-title {
    position: absolute;
    z-index: 1000;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
    display: none;
    padding: 12px 28px;
    border-radius: 12px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.5);
    pointer-events: none;
    white-space: nowrap;
    font-family: 'Segoe UI', -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a2e;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
}

.map-title::before {
    content: '🖱️';
    margin-right: 10px;
}

.map-title.active {
    background: rgba(45, 122, 74, 0.95);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}

.map-title.active::before {
    content: '✅';
}

/* ===== ДЕКОРАТИВНЫЕ ЭЛЕМЕНТЫ ===== */
.map-decor {
    position: absolute;
    top: 24px;
    left: 24px;
    right: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 2;
    pointer-events: none;
}

.map-decor > * {
    pointer-events: auto;
}

.address-label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    padding: 12px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    font-family: 'Segoe UI', -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}

.address-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.address-label svg {
    color: var(--primary);
    flex-shrink: 0;
}

.route-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 12px 24px;
    border-radius: 14px;
    text-decoration: none;
    font-family: 'Segoe UI', -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(45, 122, 74, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.route-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}

.route-btn:hover::before {
    left: 100%;
}

.route-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(45, 122, 74, 0.45);
}

.route-btn:active {
    transform: translateY(0);
}

.route-btn svg {
    flex-shrink: 0;
}

/* ===== ИНФОРМАЦИОННАЯ ПАНЕЛЬ ===== */
.info-panel {
    position: absolute;
    bottom: 50px;
    right: 10px;
    width: 290px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(30px);
    border-radius: var(--radius);
    box-shadow: 0 10px 50px rgba(0,0,0,0.12);
    padding: 24px;
    z-index: 3;
    border: 1px solid rgba(255,255,255,0.4);
    animation: slideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s ease;
}

.info-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 60px rgba(0,0,0,0.18);
}

@keyframes slideIn {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.info-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(45,122,74,0.08);
}

.info-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(45, 122, 74, 0.25);
	padding: 3px;
}

.info-header h3 {
    font-family: 'Segoe UI', -apple-system, sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    letter-spacing: -0.3px;
}

.info-header h3 span {
    color: var(--primary);
}

.info-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Segoe UI', -apple-system, sans-serif;
    font-size: 13px;
    color: #4a4a6a;
    padding: 6px 0;
    transition: all 0.2s ease;
    border-radius: 8px;
    padding: 1px 10px;
}

.info-item:hover {
    background: rgba(45,122,74,0.05);
}

.info-item svg {
    color: var(--primary);
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.info-item:hover svg {
    opacity: 1;
}

.info-footer {
    display: flex;
    gap: 10px;
    padding-top: 16px;
    border-top: 2px solid rgba(45,122,74,0.08);
}

.info-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'Segoe UI', -apple-system, sans-serif;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
	border: 1px solid var(--secondary-color) !important;
}

.info-btn.yandex {
    background: #f0f2f5;
    color: #1a1a2e;
}

.info-btn.yandex:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.info-btn.google {
    background: #1a1a2e;
    color: #fff;
}

.info-btn.google:hover {
    background: #2a2a4e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26,26,46,0.3);
}

.info-btn svg {
    flex-shrink: 0;
}

/* ===== КНОПКА ПОЛНОЭКРАННОГО РЕЖИМА ===== */
.fullscreen-btn {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 3;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.fullscreen-btn:hover {
    background: #ffffff;
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 8px 35px rgba(0,0,0,0.15);
}

.fullscreen-btn:active {
    transform: scale(0.95);
}

/* ===== СТРЕЛКИ НАВИГАЦИИ (скрыты) ===== */
.map-arrow, .map-marker {
    display: none;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
    .info-panel {
        width: 250px;
        bottom: 80px;
        right: 20px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .fullscreen-map {
        height: 500px;
        border-radius: 12px;
    }
    
    .address-label {
        font-size: 12px;
        padding: 8px 16px;
        gap: 8px;
    }
    
    .route-btn {
        font-size: 12px;
        padding: 8px 16px;
        gap: 6px;
    }
    
    .route-btn span {
        display: none;
    }
    
    .info-panel {
        width: 210px;
        bottom: 70px;
        right: 16px;
        padding: 16px;
    }
    
    .info-header h3 {
        font-size: 16px;
    }
    
    .info-item {
        font-size: 12px;
        gap: 10px;
    }
    
    .info-btn {
        font-size: 11px;
        padding: 8px 10px;
    }
    
    .info-btn span {
        display: none;
    }
    
    .fullscreen-btn {
        width: 42px;
        height: 42px;
        bottom: 20px;
        left: 20px;
    }
    
    .map-title {
        font-size: 12px;
        padding: 10px 20px;
        white-space: normal;
        max-width: 220px;
    }
    
    .map-gradient-top {
        height: 100px;
    }
    
    .map-gradient-bottom {
        height: 70px;
    }
    
    .map-corner {
        width: 80px;
        height: 80px;
    }
    
    .map-corner::after {
        width: 20px;
        height: 20px;
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .fullscreen-map {
        height: 420px;
        border-radius: 10px;
    }
    
    .info-panel {
        width: 180px;
        bottom: 60px;
        right: 12px;
        padding: 14px;
    }
    
    .map-decor {
        top: 14px;
        left: 14px;
        right: 14px;
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .address-label {
        font-size: 11px;
        padding: 6px 14px;
    }
    
    .route-btn {
        font-size: 11px;
        padding: 6px 14px;
        justify-content: center;
    }
    
    .info-header h3 {
        font-size: 14px;
    }
    
    .info-item {
        font-size: 11px;
        gap: 8px;
        padding: 4px 8px;
    }
    
    .info-item svg {
        width: 14px;
        height: 14px;
    }
    
    .info-btn {
        font-size: 10px;
        padding: 6px 8px;
    }
    
    .info-icon {
        width: 36px;
        height: 36px;
    }
    
    .info-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .fullscreen-btn {
        width: 38px;
        height: 38px;
        bottom: 16px;
        left: 16px;
    }
    
    .fullscreen-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .map-title {
        font-size: 11px;
        padding: 8px 16px;
        max-width: 160px;
    }
    
    .map-gradient-top {
        height: 70px;
    }
    
    .map-gradient-bottom {
        height: 50px;
    }
    
    .map-corner {
        width: 60px;
        height: 60px;
    }
    
    .map-corner::after {
        width: 16px;
        height: 16px;
        top: 12px;
        right: 12px;
        border-width: 2px;
    }
}

/* ===== ПОЛНОЭКРАННЫЙ РЕЖИМ ===== */
.fullscreen-map:fullscreen,
.fullscreen-map:-webkit-full-screen,
.fullscreen-map:-moz-full-screen {
    height: 100vh;
    width: 100vw;
    border-radius: 0;
    box-shadow: none;
}

.fullscreen-map:fullscreen .info-panel,
.fullscreen-map:-webkit-full-screen .info-panel,
.fullscreen-map:-moz-full-screen .info-panel {
    bottom: 100px;
    right: 40px;
}

.fullscreen-map:fullscreen .fullscreen-btn,
.fullscreen-map:-webkit-full-screen .fullscreen-btn,
.fullscreen-map:-moz-full-screen .fullscreen-btn {
    bottom: 40px;
    left: 40px;
}

/* ===== ЗАТЕМНЕНИЕ ПО КОНТУРУ КАРТЫ ===== */
.map-vignette {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(
        ellipse at center,
        transparent 65%,
        rgba(0,0,0,0.15) 85%,
        rgba(0,0,0,0.3) 100%
    );
}
/* Группа адресов */
.address-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.address-label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    padding: 10px 18px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    font-family: 'Segoe UI', -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}

.address-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.address-label svg {
    color: var(--primary);
    flex-shrink: 0;
}

.address-label-uz {
    font-size: 13px;
    opacity: 0.85;
    padding: 8px 18px;
}

.address-label-uz svg {
    opacity: 0.6;
}
/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
@media (min-width: 768px) {
.mobile-info {
    display: none;
}
}
@media (max-width: 768px) {
    /* Скрываем элементы поверх карты */
    .map-decor {
        display: none !important;
    }
    
    .info-panel {
        display: none !important;
    }
    
    .fullscreen-map {
        height: 400px;
        border-radius: 12px 12px 0 0;
    }
    
    /* Показываем мобильный блок под картой */
    .mobile-info {
        display: block !important;
        padding: 20px 16px 24px;
        background: #ffffff;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        margin-top: -2px;
    }
    
    .mobile-address {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 16px;
        padding-bottom: 16px;
        border-bottom: 1px solid #f0f2f5;
    }
    
    .mobile-address-item {
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: 'Segoe UI', -apple-system, sans-serif;
        font-size: 14px;
        color: #1a1a2e;
    }
    
    .mobile-address-item svg {
        color: var(--primary);
        flex-shrink: 0;
    }
    
    .mobile-address-uz {
        font-size: 13px;
        opacity: 0.8;
        padding-left: 26px;
    }
    
    .mobile-address-uz svg {
        opacity: 0.5;
    }
    
    .mobile-contacts {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 16px;
        padding-bottom: 16px;
        border-bottom: 1px solid #f0f2f5;
    }
    
    .mobile-contact {
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: 'Segoe UI', -apple-system, sans-serif;
        font-size: 14px;
        color: #4a4a6a;
    }
    
    .mobile-contact svg {
        color: var(--primary);
        flex-shrink: 0;
        opacity: 0.7;
    }
    
    .mobile-buttons {
        display: flex;
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .mobile-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 16px;
        border-radius: 10px;
        text-decoration: none;
        font-family: 'Segoe UI', -apple-system, sans-serif;
        font-size: 13px;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .mobile-btn.yandex {
        background: #f0f2f5;
        color: #1a1a2e;
    }
    
    .mobile-btn.yandex:active {
        background: #e5e7eb;
        transform: scale(0.97);
    }
    
    .mobile-btn.google {
        background: #1a1a2e;
        color: #fff;
    }
    
    .mobile-btn.google:active {
        background: #2a2a4e;
        transform: scale(0.97);
    }
    
    .mobile-btn svg {
        flex-shrink: 0;
    }
    
    .mobile-route-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 14px;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: #fff;
        border-radius: 12px;
        text-decoration: none;
        font-family: 'Segoe UI', -apple-system, sans-serif;
        font-size: 15px;
        font-weight: 600;
        box-shadow: 0 4px 20px rgba(45, 122, 74, 0.3);
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
    }
    
    .mobile-route-btn:active {
        transform: scale(0.97);
        box-shadow: 0 2px 10px rgba(45, 122, 74, 0.2);
    }
    
    .mobile-route-btn svg {
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .fullscreen-map {
        height: 320px;
    }
    
    .mobile-info {
        padding: 16px 14px 20px;
    }
    
    .mobile-address-item {
        font-size: 13px;
    }
    
    .mobile-address-uz {
        font-size: 12px;
    }
    
    .mobile-contact {
        font-size: 13px;
    }
    
    .mobile-btn {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    .mobile-route-btn {
        font-size: 14px;
       padding: 12px 1px;
    }
}