*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-appearance: none;
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
    margin: 0;
    padding: 0;
}

/*h1, h2, h3, h4, h5 {
    text-wrap: balance;
    hyphens: auto;
}

p, li, a, b {
    text-wrap: pretty;
}*/

body li, body ul, body ol {
    padding: 0;
    margin: 0;
    list-style: none;
}
body a {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}
body a:hover {
    text-decoration: underline;
    text-decoration-color: inherit;
    text-underline-offset: 0.3rem;
    text-decoration-thickness: 0.03rem;
}
body img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
}
body button:hover,
body button:active,
body button:focus {
    outline: none !important;
    outline-offset: 0;
}
body button::-moz-focus-inner {
    border: 0 !important;
    padding: 0 !important;
}
body button,
body [type=button],
body [type=reset],
body [type=submit] {
    -webkit-appearance: button;
}
body button:not(:disabled),
body [type=button]:not(:disabled),
body [type=reset]:not(:disabled),
body [type=submit]:not(:disabled) {
    cursor: pointer;
}
body button::-moz-focus-inner,
body [type=button]::-moz-focus-inner,
body [type=reset]::-moz-focus-inner,
body [type=submit]::-moz-focus-inner {
    padding: 0;
    border-style: none;
}
body button {
    border: none;
    margin: 0;
    padding: 0;
    width: auto;
    overflow: visible;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: normal;
    -webkit-font-smoothing: inherit;
    -moz-osx-font-smoothing: inherit;
    -webkit-appearance: none;
}
body a, body button, body input, body textarea {
    outline: none;
    background: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}
body input[type=radio],
body input[type=checkbox] {
    box-sizing: border-box;
    padding: 0;
}
body input, body button, body textarea, body select {
    font: inherit;
    border: none;
    touch-action: manipulation;
}
body input,
body input:hover,
body input:active,
body input:focus {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
body input, body input:before, body input:after {
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
}
body textarea {
    overflow: auto;
    resize: none;
}
body details > summary {
    list-style: none;
}
body summary {
    display: block;
    list-style-type: none;
    outline: none;
}
body summary::-webkit-details-marker {
    display: none;
}
body hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

  /*карта*/
        
          .map-section {
            position: relative;
            margin: 30px 0;
        }
        
        .map-container {
            position: relative;
            width: 100%;
            padding-bottom: 60%; /* Соотношение 5:3 */
            border-radius: 15px;
            overflow: hidden;
    margin-top: clamp(70px, 10.125vw, 150px);
        }
        
        .map-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            z-index: 1;
        }
        
        .map-element {
            position: absolute;
            width: 65px;
            height: 65px;
            z-index: 10;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            filter: drop-shadow(0 0 15px rgba(49, 118, 222, 0.62));
            transform-origin: center;
        }

        /* Позиционирование элементов на карте */
        .element0 { top: 63%; left: 3%;
    width: 85px; rotate: -49deg;}
        .element1 { top: 26%; left: 13%; }
        .element2 { top: 40%; left: 50%; }
        .element3 { top: 55%; left: 85%; }
        .element4 { top: 48%; left: 23%; }
        .element5 { top: 60%; left: 35%; }
        .element6 { top: 20%; left: 65%; }
        .element7 { top: 43%;left: 11%; max-width: 35px;}
        .element8 { top: 52%; left: 10%; }
        .element9 { top: 68%;left: 2%;max-width: 25px;}
        
        /* Анимации элементов */
        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(5deg); }
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.1); opacity: 0.9; }
        }
        
        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-25px); }
        }
        
        @keyframes rotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        .element0 {  animation: carmove 0.5s;animation-iteration-count: infinite;}
     @keyframes carmove {
0%{transform: translateY(0px);}
  25%{transform: translateY(0.5px)}
  29%{transform: translateY(1px)}
  33%{transform: translateY(1.5px)}
  47%{transform: translateY(0px)}
  58%{transform: translateY(0.5px)}
  62%{transform: translateY(1px)}
  66%{transform: translateY(1.5px)}
  75%{transform: translateY(0.5px)}
  100%{transform: translateY(0px)}
}
        .element1 { animation: float 6s ease-in-out infinite; }
        .element2 { animation: pulse 4s ease-in-out infinite; }
        .element3 { animation: float 7s ease-in-out infinite; }
        .element4 { animation: pulse 4s ease-in-out infinite; }
        .element5 { animation: float 6s ease-in-out infinite;  }
        .element6 { animation: pulse 4s ease-in-out infinite;  }
        .element7 {  animation: pulse 4s ease-in-out infinite;   }
        .element8 { animation: pulse 4s ease-in-out infinite;}
        .element9 {  animation: pulse 4s ease-in-out infinite;   }
        
        .info-section {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 25px;
            margin: 30px 0;
            animation: slideUp 1s ease-out;
            border: 1px solid rgba(255, 204, 0, 0.3);
        }
        
        .info-section h2 {
            font-size: 2rem;
            margin-bottom: 20px;
            color: #ffcc00;
            text-align: center;
        }
        
        .cities-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        
        .city-card {
            background: rgba(13, 27, 58, 0.6);
            border-radius: 10px;
            padding: 15px;
            text-align: center;
            transition: transform 0.3s ease;
            border: 1px solid rgba(255, 204, 0, 0.2);
        }
        
        .city-card:hover {
            transform: translateY(-5px);
            background: rgba(26, 54, 116, 0.7);
        }
        
        .city-card i {
            font-size: 2rem;
            color: #ffcc00;
            margin-bottom: 10px;
        }
        
        .cta-button {
            display: block;
            width: 100%;
            max-width: 300px;
            margin: 30px auto;
            padding: 15px 30px;
            background: linear-gradient(to right, #ffcc00, #ff9500);
            color: #0d1b3a;
            text-align: center;
            text-decoration: none;
            font-weight: bold;
            font-size: 1.2rem;
            border-radius: 50px;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(255, 153, 0, 0.4);
        }
        
        .cta-button:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(255, 153, 0, 0.6);
            background: linear-gradient(to right, #ffd740, #ffa726);
        }
        
        .mobile-optimized {
            display: none;
            text-align: center;
            margin-top: 15px;
            font-size: 0.9rem;
            opacity: 0.8;
        }
        
        /* Анимации */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes slideUp {
            from { transform: translateY(50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }
        
        /* Адаптивность */
       @media (max-width:  1160px) {
           
            .map-element {
                width: 50px;
                height: 50px;
            }
            .element0 {
    width: 65px;}
        }
        .mobile{display:none!important;}
        @media (max-width: 768px) {
             .mobile{display:flex!important;}
             .decstop{display:none!important;}
            h1 {
                font-size: 2rem;
            }
            .element0 {
    width: 55px;}
            .subtitle {
                font-size: 1rem;
            }
            
            .map-container {
                padding-bottom: 80%;
            }
            
            .map-element {
                width: 40px;
                height: 40px;
            }
            .element8 {
    top: 48%;}
    .element0 {
        top: 60%;
        left: 4%;
    }
     .element7{width:30px;height: 30px;top: 61%;
    left: 1%;}
      .element9{display:none;}
            .info-section {
                padding: 20px;
            }
            
            .mobile-optimized {
                display: block;
            }
            element6 {
    top: 33%;}
    .element5 {
    top: 58%;}
        }
        
        @media (max-width: 480px) {
            h1 {
                font-size: 1.7rem;
            }
            .map-element {
        width: 25px;
        height: 25px;}
        .element6 {
    top: 28%;}
          .element7{width:20px;height: 20px;}
      .element9{width:20px;height: 20px;}
                        .element4 {
                width: 20px;

            }
            .cities-grid {
                grid-template-columns: 1fr;
            }
        }
#route .block-map__buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;}
    @media (width <= 920px) {
    #route .block-map__buttons {
        padding-right: 10px;
    }
}
@media (width <= 700px) {
   #route .block-map__buttons {
        flex-direction: column;
        padding-right: initial;
    }
        #route .block-map__buttons * {
        max-width: 100%;
    }
}