/* =========================================================
   ШРИФТЫ
   ========================================================= */
@font-face { font-family: 'InterTight'; font-weight: 900; font-style: normal; font-display: swap; src: url('../fonts/InterTight-Black.ttf') format('truetype'); }
@font-face { font-family: 'InterTight'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/InterTight-ExtraBold.ttf') format('truetype'); }
@font-face { font-family: 'InterTight'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/InterTight-Bold.ttf') format('truetype'); }
@font-face { font-family: 'InterTight'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/InterTight-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'InterTight'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/InterTight-Medium.ttf') format('truetype'); }
@font-face { font-family: 'InterTight'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/InterTight-Regular.ttf') format('truetype'); }

/* =========================================================
   БАЗОВЫЕ СТИЛИ
   ========================================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html, body { 
    overflow-x: hidden; 
    overflow-y: auto; 
    -ms-overflow-style: none; 
}

body {
    font-family: 'InterTight-Medium', sans-serif;
    background-color: #F3F2EE;
    color: #000;
    line-height: 1.6;
    width: 100%;
    max-width: 100vw;
}

a { text-decoration: none; }
span { color: rgba(221, 66, 62, 1); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
::-webkit-scrollbar-thumb { background: #6f6f6f; border-radius: 10px; width: 5px; }
::-webkit-scrollbar-thumb:hover { background: #6f6f6f; }

.contenier { margin: 0 3.4723vw; }

/* =========================================================
   SECTION: POSTER COVER (Обложка аудиогида)
   ========================================================= */
.poster-cover {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.home-cover-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
}

.home-cover- {
    position: relative;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-cover-general {
    margin: 0 auto;
    text-align: center;
}

.home-cover-inf p, .home-cover-general p {
    font-family: 'InterTight', sans-serif;
    font-weight: 500;
    font-size: 1.335vw;
    line-height: 130%;
    color: #ffffff;
    margin-top: 3vh;
    margin-bottom: 1vh;
}

.home-cover-inf p { font-size: 1.388vw; margin-bottom: 8px; }
.home-cover-inf span { color: #fdfdfd87; font-size: 1.335vw; }

.home-cover-inf h1, .home-cover-general h1 {
    font-family: 'InterTight', sans-serif;
    font-weight: 700;
    font-size: 3.57143vw;
    line-height: 110%;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    margin: 0;
    color: #eff4ff;
    display: block;
    overflow-y: hidden;
}

#home__p { margin-bottom: 0; padding-bottom: 4.82vh; line-height: 1.5; }

.home-cover-b-route {
    background-color: #DD423E;
    color: #eff4ff;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    padding: 1.04167vw 4.205vw;
    border: none;
    font-size: 1.815vh;
    border-radius: 0.67vw;
}
.home-cover-b-route:hover { background-color: #D8282C; }

/* =========================================================
   SECTION: WELCOME (Приветствие)
   ========================================================= */
.welcome.contenier {
    position: relative;
    margin: 16.988vh 3.4723vw 0;
    height: 40.24096vh;
    border-radius: 30px;
    background-image: url('../image/fon.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.welcome_contenier {
    position: relative;
    z-index: 2;
    width: 100%; height: 40.3vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome_inf {
       display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3vw;
    width: 108%;
    margin-bottom: 10vh;
    z-index: 100000;
}

.welcome_text {
    display: grid;
    width: 52vw;
    text-align: center;
    color: #fff;
    justify-content: center;
    margin-top: 10vh;
}

.welcome_text h1 { font-size: 5vh; font-weight: 500; text-transform: uppercase; line-height: 1.1; }
.welcome_text p { font-size: 0.95vw; line-height: 1.5; opacity: 0.9; padding-top: 1vh; }

.welcome-tower {
    margin-left: 14px;
    margin-right: -41px;margin-bottom: -28px;
    flex-shrink: 0;
    z-index: 100000;
    width: 18.35vw;
}

.welcome-cover-bg { width: 54.31vw; margin-top: 3.62vh; }

/* =========================================================
   SECTION: ABOUT ROUTE (О маршруте)
   ========================================================= */
.about__route { margin-top: 15.07vh; height: 137.3vh; }
.about__route-text { margin: 0 3.4723vw 10vh; }

.about__route-text h1 { color: rgba(55, 57, 71, 1); font-size: 3.27143vw; font-weight: 600; text-transform: uppercase; line-height: 1.1; }
.about__route-text p { font-size: 0.975vw; line-height: 1.5; padding-top: 0.965rem; width: 30vw; }

.about__route__inf {
    background-image: url('../image/line.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 68vh;
    width: 100vw;
    margin-top: 95px;
}

.route__inf {
    top: 194vh;
    position: absolute;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.route__karta {
    height: 43vh;
    border-radius: 20px;
    padding: 0.3125rem;
    display: flex;
    background-color: rgba(253, 253, 253, 1);
    flex-direction: column;
    align-items: center;
}
.route__karta-none { opacity: 0; }

.route__bg { width: 22vw; border-radius: 20px; height: 36.15vh; }
.route__karta p { font-size: 1.125rem; font-weight: 600; padding: 0.94rem 0; }

.dop__inf { gap: 16.52vw; display: flex; margin-top: 22.35vh; justify-content: center; align-items: flex-end; }
.dop__inf_mini{
    display: none;
}
.inf_r { display: flex; justify-content: center; flex-direction: column; align-items: center; }
.inf_r h3 { font-weight: 600; font-size: 2.5rem; line-height: 125%; text-align: center; text-transform: uppercase; }
.inf_r p { font-weight: 500; font-size: 0.965rem; line-height: 130%; text-align: center; }
.route__infinity { padding: 0.5rem 3vw; }

/* =========================================================
   SECTION: MAP ROUTE (Карта маршрута)
   ========================================================= */
.map__route h1 { font-weight: 600; font-size: 3.57143vw; line-height: 125%; text-transform: uppercase; color: rgba(0, 0, 0, 1); margin-bottom: 2.5rem; }

.map__wrapper { position: relative; }
.stop__modal-loc{
    display: flex;
    gap: 5px;
}
.map {
    height: 63vh;
    background-color: #6f6f6f;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15.07vh;
}

.map-pin {
    width: 28px; height: 28px;
    background-color: #DD423E;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-14px, -14px);
}
.map__card {
    display: none;
    position: absolute;
    z-index: 10;
    background: #fff;
    border-radius: 16px;
    padding: 1rem;
    width: 242px;
    transition: left 0.25s ease, top 0.25s ease, opacity 0.2s ease;
    opacity: 0;
}
.map__card.active {
    display: flex;
    gap: 0.9rem;
    flex-direction: column;
    opacity: 1;
}

.map__card img {     width: 212px;
    height: 110px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.map__card-category { font-size: 0.75rem; color: #6f6f6f; margin-bottom: 0.2rem; }
.map__card h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.map__card-address { font-size: 0.75rem; color: #6f6f6f; margin-bottom: 0.6rem; }
.map__card .stop__btn { padding: 0.75rem 0; font-size: 0.75rem; margin-bottom: 0; }

.map__card-close { position: absolute; top: 8px; right: 10px; background: none; border: none; font-size: 1.1rem; cursor: pointer; color: #6f6f6f; }

/* =========================================================
   SECTION: HOW TO USE (Как использовать)
   ========================================================= */
.how_to_use h1 { font-weight: 600; font-size: 3.57143vw; line-height: 125%; text-transform: uppercase; color: rgba(0, 0, 0, 1); margin-bottom: 2.5rem; }

.how_to_use_flex { display: flex; gap: 4.31vw; justify-content: space-between; }

.how_to_use_inf { display: grid; justify-content: space-between; gap: 0.9rem; justify-items: center; }
.how_to_use_inf_m { gap: 0rem; }
.how_to_use_inf p { text-align: center; align-items: flex-start; }
.mini_arrow { display: none; }

/* =========================================================
   SECTION: PROSPECTOR VOICE (Голос Проспекта / Остановки)
   ========================================================= */
.prospector_voice h1 { text-align: center;    font-weight: 600;
    font-size: 3.57143vw;
    line-height: 125%;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 1);
    margin-bottom: 2.5rem;
}
.prospector_voice{
    margin-top: 15vh;
}
.stops__grid { display: grid; grid-template-columns: repeat(4, 1fr);     gap: 0.94rem; }

.stop__card { background-color: #fff; border-radius: 20px;  display: flex; flex-direction: column; }

.stop__img { position: relative; border-radius: 16px 16px 0 0; overflow: hidden; height: 31.33vh; }
.stop__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.stop__number { position: absolute;
    top: 1.04167vw;
    left: 1.04167vw;
    background: rgba(253, 253, 253, 0.1);
    backdrop-filter: blur(3px);
    color: #fff;
    padding: 0.52083vw 1.04167vw;
    border-radius: 3vw;
    font-size: 0.83333vw;
    font-weight: 500;}
.stop__info {
    display: flex;
    height: 31.685vh;
    padding: 1.04167vw;
    flex-direction: column;
    justify-content: space-between;
}
.stop__category { font-size: 0.975vw;
    opacity: 0.6;
    margin-bottom: 8px;
    letter-spacing: 0.5px;    color: #373947;
    white-space: pre-wrap; }
.stop__info h3 { display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
        font-size: 1.3889vw;
    font-weight: 600;
    color: #373947;
    white-space: pre-wrap;
 }

.stop__btn { display: flex;gap: 5px;justify-content: center; width: 100%; text-align: center; padding: 1.81vh 0; border-radius: 10px; font-size: 1.81vh; font-weight: 500; text-transform: uppercase; cursor: pointer; border: none; margin-bottom: 0.6rem; transition: all 0.3s ease; }

.stop__btn-listen { background-color: #DD423E; color: #eff4ff; }
.stop__btn-listen:hover { background-color: #D8282C; }

.stop__btn-map { background-color: transparent; color: #DD423E; border: 1px solid #DD423E; }
.stop__btn-map:hover { background-color: #DD423E; color: #fff; }

.stops__more { text-align: center; margin-top: 2rem; }
#btn_load_more_stops { background: transparent; border: 1px solid #DD423E; color: #DD423E; padding: 0.8rem 3vw; border-radius: 10px; text-transform: uppercase; font-size: 0.85rem; cursor: pointer; transition: all 0.3s ease; }
#btn_load_more_stops:hover { background-color: #DD423E; color: #fff; }

/* =========================================================
   SECTION: POPULAR PLACES (Популярные места)
   ========================================================= */
.popula-places { padding: 15.625vh 3.57143vw 12vh; }

.popula-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4.25532vh; flex-wrap: wrap; margin-top: 5.32vh; }
.popula-places .section-title-group h2 { margin: 0; }

.events-h { overflow-y: hidden; color: #000000; }

.section-heading, .section-heading.popula-h { font-size: 3.33333vw; font-weight: 700; margin: 0 0 1.04167vw; text-transform: uppercase; line-height: 1.1; display: flex; overflow-y: hidden; color: #000000; }
.section-heading span { color: #DD423E; }

.popula-controls { display: flex; gap: 1.04167vh; }
.popula-control-btn { background: transparent; border: none; cursor: pointer; transition: opacity 0.3s ease; }
.popula-control-btn img { height: 6.3vh; width: 6.3vh; }
.popula-control-btn:hover { opacity: 0.7; }

.popula-carousel, .popula-scroll-wrapper { display: flex; gap: 0.625rem; overflow-x: auto; padding-bottom: 0; scroll-behavior: smooth; scrollbar-width: none; }
.popula-carousel::-webkit-scrollbar { display: none; }

.popula-card { min-width: 22.04567vw; background: #fdfdfd; border-radius: 1.3889vw; overflow: hidden; color: #2c3e50; scroll-snap-align: start; transition: border 0.3s ease; }
.popula-card:hover { border: 1px solid #ffffff; }

.popula-card-img { height: 31.875vh; position: relative; overflow: hidden; }
.popula-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; transform: scale(1.05); }
.popula-card:hover .popula-card-img img { transform: scale(1); }

.popula-tag { position: absolute; top: 1.04167vw; left: 1.04167vw; background: rgba(253, 253, 253, 0.1); backdrop-filter: blur(3px); color: #fff; padding: 0.52083vw 1.04167vw; border-radius: 3vw; font-size: 0.83333vw; font-weight: 500; }

.popula-text { background: none; backdrop-filter: none; font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 1.04167vw; line-height: 125%; position: absolute; left: 1.04167vw; bottom: 1.875vh; color: #fff; text-transform: uppercase; }

/* Карточка (тело) — rec-* */
.rec-card-body { display: flex; padding: 1.04167vw; flex-direction: column; justify-content: space-between; gap: 1.04167vw; }
.rec-meta { font-size: 0.975vw; opacity: 0.6; margin-bottom: 8px; letter-spacing: 0.5px; }
.rec-card-body h3 { font-size: 1.3889vw; font-weight: 600; margin: 0 0 1.04167vw; }

.rec-location, .rec-time { display: flex; align-items: center; gap: 1.19048vh; font-size: 0.975vw; }
.rec-location img, .rec-time img { width: 1.927vh; height: 1.927vh; flex-shrink: 0; }

.rec-divider { height: 1px; background: #ededed; margin: 1.04167vw 0; }

.btn-primary { font-size: 1.04167vw; display: grid; color: #ffffff; background-color: #DD423E; justify-content: center; padding: 1.4437vh 1.04167vw; border-radius: 1.19048vh; text-decoration: none; transition: background-color 0.3s ease; }
.btn-primary:hover { background-color: #c43a37; }

/* =========================================================
   SECTION: STOP MODAL (Модалка остановки)
   ========================================================= */
.stop__modal { display: none; position: fixed; inset: 0; z-index: 999999; align-items: center; justify-content: center; }
.stop__modal.active { display: flex; }
.stop__modal-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); }

.stop__modal-content { position: relative;    background: #F3F2EE; border-radius: 24px; max-width: 92vw;  height: 80vh; overflow-y: auto; padding: 1.25rem; z-index: 2; }
.stop__modal-right{height: 75vh;padding: 1rem;
    border-radius: 15px;
    background-color: rgba(253, 253, 253, 1);
    width: 51vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.btn__arrow{
    width: 40px;
    height: auto;
}
.stop__modal-left{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
}
.stops_mini{
    display: none;
}

.welcome-audio-player {
    margin: 2vh 2vw 0;
    position: relative;
    max-width: 90%;
    height: 83px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.wap-play-btn {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #DD423E;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}
.welcome_mini-tower{
    display: none;
}
.wap-play-btn .wap-icon-play {
    margin-left: 2px; /* оптическая центровка треугольника */
}

.welcome-audio-player.is-playing .wap-icon-pause { display: none; }
.welcome-audio-player.is-playing .wap-icon-play  { display: block; }
/* по умолчанию (на паузе) показываем play-треугольник, а не бары */
.wap-icon-pause { display: none; }
.wap-icon-play  { display: block; }
.welcome-audio-player.is-playing .wap-icon-pause { display: block; }
.welcome-audio-player.is-playing .wap-icon-play  { display: none; }

.wap-progress-wrap {
    position: absolute;
    bottom: 12px;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wap-time {
    font-size: 13px;
    color: #373947;
    white-space: nowrap;
    min-width: 32px;
}

.wap-progress {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: #EDEDED;
    outline: none;
    cursor: pointer;
    --progress: 0%;
    background-image: linear-gradient(#DD423E, #DD423E);
    background-repeat: no-repeat;
    background-size: var(--progress) 100%;
}

.wap-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FDFDFD;
    border: 2px solid #DD423E;
    cursor: pointer;
}

.wap-progress::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FDFDFD;
    border: 2px solid #DD423E;
    cursor: pointer;
}


/* =========================================================
   MEDIA QUERIES (Мобильная версия <= 750px)
   ========================================================= */
@media (max-width: 750px) {
    /* Poster Cover */
    .home-cover-general { margin: 36.5vh auto; text-align: center; padding: 0 8vw; }
    .home-cover-general h1, .home-cover-inf h1 { font-size: 6.068vw; }
    .home-cover-general h1 { font-size: 1.875rem; }
    .home-cover-general p { font-size: 2.82259vw; padding: 0 8vw; }
    .home-cover-inf span, .home-cover-inf p { font-size: 0.815rem; }

    /* Welcome */
    .welcome.contenier { height: auto; min-height: 35vh; margin: 10vh 4vw 0; padding: 5vh 0; }
    .welcome_inf { flex-direction: column; gap: 3vh; padding: 0 5vw; }
    .welcome-tower { width: 15vw; }
    .welcome_text h1 { font-size: 5vw; }
    .welcome_text p { font-size: 3.5vw; }

    /* Map */
    .map { height: 70vh; }
    .map__card { width: calc(100% - 4vw); }

    /* Stops Grid */
    .stops__grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
    .stop__img { height: 28vw; }

    /* Popular Places */
    .popula-places { padding: 10vh 0 6vh 2vh; }
    .popula-header { margin-top: 0; padding: 0 2vh; }
    .popula-controls { display: none; }
    
    .section-heading, .section-heading span, .rec-meta { font-size: 3.75vh; }
    
    .popula-card { min-width: 64.8vw; min-height: 41.2vh; }
    .popula-tag { font-size: 1.63vh; padding: 1.25vh 3vw; top: 1.75vh; left: 3vw; }
    
    .popula-card-body h3 { font-size: 2.25vh; }
    .popula-meta { font-size: 1.75vh; }
    
    .btn-primary { font-size: 1.75vh; }
    
    .rec-meta { font-size: 1.75vh; margin-bottom: 0; }
    .rec-card-body h3 { font-size: 2vh; }
    .rec-divider { margin: 1.85vh 0; }
    
    .popula-card h3, .popula-card span { margin-left: 0; }
    .rec-card-body { padding: 0.9375rem; }
    
    .rec-location, .rec-time { font-size: 1.75vh; }
    .rec-location img, .rec-time img { width: 2.5vh; height: 2.5vh; }
}
/* =========================================================
ACTIVE MAP PIN (активный — чёрный/крупнее, остальные красные)
========================================================= */
.map-pin { transition: transform .25s ease, background-color .25s ease; }
.map-pin--active {
    background-color: #111;
    transform: translate(-14px, -14px) scale(1.28);
    z-index: 5;
}


/* =========================================================
МОДАЛКА (десктоп): двухколоночная сетка
========================================================= */
.stop__modal-close {
    position: absolute; top: 16px; right: 20px;
    background: none; border: none; font-size: 2rem; line-height: 1;
    cursor: pointer; color: #6f6f6f; z-index: 5;
}
.stop__modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3vw; align-items: stretch; }
.stop__modal-badge {
    display: inline-block; background: rgba(221, 66, 62, 0.1); color: rgba(221, 66, 62, 1);
    font-size: .8rem;     font-weight: 400;
    padding: .6rem 1rem;
    border-radius: 20px; margin-bottom: 1rem; text-transform: uppercase;
}
.stop__modal-category { font-size: .85rem; color: #6f6f6f; margin-bottom: .3rem; }
.stop__modal-title { font-size: 3.57143vw; font-weight: 700; line-height: 1.15; margin: 0 0 .6rem; }
.stop__modal-address { font-size: .9rem; color: #6f6f6f; margin-bottom: 1.2rem; }
.stop__modal-desc { font-size: 1rem; line-height: 1.6; }
.stop__modal-nav { display: flex;margin-top: 2rem; flex-direction: column;}
.js-modal-prev{
    background-color: rgba(253, 253, 253, 1);
    color: rgba(83, 83, 83, 1);
    border: none;

}
.js-modal-next{
    background-color: #DD423E;
    color: rgba(253, 253, 253, 1);
    border: none;#D8282C
}
.js-modal-next:hover{
    background-color: #D8282C;
}
.js-modal-prev:hover{
    background-color:#DD423E;
    color: rgba(253, 253, 253, 1);

}
/* =========================================================
КАРУСЕЛИ (модалка .sm-* и мобильный плеер .mplayer-*)
========================================================= */
.sm-carousel, .mplayer-carousel { position: relative; border-radius: 16px; overflow: hidden; }
.sm-slides, .mplayer-slides { display: flex; transition: transform .4s ease; }
.car-slide {border-radius: 15px; min-width: 100%; }
.car-slide img { width: 100%; height: 50vh; object-fit: cover; display: block; }
.mplayer-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; border-radius: 50%; border: none;
    background: rgba(0,0,0,.4); color: #fff; font-size: 1.4rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .3s ease; z-index: 3;
}
.mplayer-arrow:hover { background: rgba(0,0,0,.65); }
.mplayer-arrow-l { left: 10px; }
.mplayer-arrow-r { right: 10px; }
.sm-dots, .mplayer-dots {
    position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px; z-index: 3;
}
.car-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; }
.car-dot.active { background: #fff; }

/* =========================================================
ПЛEЕР (общие контролы)
========================================================= */
.player-controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin: 1.2rem 0 .6rem; }
.pc-btn {
    background: none; border: none; font-size: 1.4rem; cursor: pointer;
    color: #000; width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background .3s ease;
}
.pc-btn:hover { background: rgba(0,0,0,.06); }
.pc-play { background: #DD423E; color: #fff; width: 56px; height: 56px; font-size: 1.5rem; }
.pc-play:hover { background: #D8282C; }
.player-progress-wrap { display: flex; align-items: center; gap: .7rem; }
.player-time { font-size: .8rem; color: #6f6f6f; min-width: 38px; text-align: center; }
.player-progress {
    flex: 1; -webkit-appearance: none; height: 4px; border-radius: 4px;
    background: #d9d6cf; outline: none; cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
    -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%;
    background: #DD423E; cursor: pointer;
}

/* =========================================================
МОБИЛЬНЫЙ ИНЛАЙН-ПЛЕЕР (по умолчанию скрыт)
========================================================= */
.mplayer { display: none; }

/* =========================================================
МИНИ-ПЛЕЕР (фиксированный, появляется когда основной вне экрана)
========================================================= */
.mini-player {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 99999;
    display: flex; align-items: center; gap: .8rem;
    background: #fff; padding: .6rem 1rem;
    transform: translateY(110%); transition: transform .35s ease;
    cursor: pointer;
}
.mini-player.visible { transform: translateY(0); }
.mini-player-cover { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.mini-player-info { flex: 1; min-width: 0; }
.mini-player-badge { font-size: .68rem; color: #DD423E; font-weight: 600; text-transform: uppercase; }
.mini-player-title { font-size: .9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-player-btn {
    background: none; border: none; font-size: 1.3rem; cursor: pointer;
    width: 40px; height: 40px; border-radius: 50%; color: #000;
    display: flex; align-items: center; justify-content: center;
}
.mini-player-btn#mini_play { background: #DD423E; color: #fff; }
#loc{
    width: 1.927vh;
    height: 1.927vh;
}
.map__loc{
    display: flex;
    gap: 5px;
}
.wap-icon-play,
.wap-icon-pause {
    display: block;
    margin-left: 0;
}
.wap-icon-play {
    margin-left: 2px; /* оптическая центровка треугольника */
}

/* по умолчанию (плеер на паузе) — виден треугольник play, скрыты бары паузы */
.wap-play-btn .wap-icon-pause {
    display: none;
}

/* когда играет — виден символ паузы, скрыт треугольник */
.welcome-audio-player.is-playing .wap-play-btn .wap-icon-play {
    display: none;
}
.welcome-audio-player.is-playing .wap-play-btn .wap-icon-pause {
    display: block;
}
/* =========================================================
   СЛАЙДЕР «О МАРШРУТЕ» (как Популярные места)
   Только: <=750px ИЛИ экраны от 1080x1900
========================================================= */
/* =========================================================
   MEDIA QUERIES (<=750px ИЛИ большие вертикальные экраны)
========================================================= */
@media (max-width: 750px), screen and (min-width: 1080px) and (min-height: 1900px) {
    .contenier { margin: 0 10px; }
.inf_r {
    width: 41vw;}
    .welcome_mini-tower{
    display: block;
}
.wap-progress-wrap{
        padding-top: 7vh;
     position: static;
}
.welcome-audio-player{
    width: 90%;
}
    /* Poster Cover */
    .home-cover-general { margin: auto; text-align: center; padding: 0;}
    .home-cover-general h1, .home-cover-inf h1 { font-size: 1.875rem; }
    .home-cover-general p { font-size: 2.82259vw; padding: 0 8vw; }
    .home-cover-inf span, .home-cover-inf p { font-size: 0.815rem; }
    .home-cover-inf p { margin-top: 0; }
    .home-cover-inf { overflow: hidden; height: 33vh; }
    .home-cover-b-route { padding: 2.1vh 15vw; border-radius: 15px; }
    #home__p { margin-top: 15px; }

    /* Welcome */
    .welcome_text { margin-top: 15px; justify-items: center; }
    .welcome_mini_t { display: flex; width: 100%; justify-content: space-between; }
    .welcome_mini-tower { width: 140px; }
    .welcome_contenier { height: auto; }
    .welcome.contenier { height: auto; min-height: 453px; margin: 6.7vh 2.5vw 0; padding: 0; }
    .welcome_inf { flex-direction: column; gap: 3vh; padding: 0; margin-bottom: 0; }
    .welcome-tower { width: 15vw; display: none; }
    .welcome_text h1 { font-size: 5vw; }
    .welcome_text p { font-size: 3vw;margin: 0 10px; }

    /* О маршруте + слайдер */
    .about__route { height: auto; margin-top: 10.64vh; }
    .about__route-text { margin: 0 2.8vw; }
    .about__route-text h1 { font-size: 1.875rem; }
    .about__route-text p { font-size: 0.85rem; color: rgba(55, 57, 71, 1); width: 90vw; }
    .about__route__inf { background-image: none; height: auto; margin-top: 0.95rem; }
    .route__inf {
        position: static; top: auto;
        display: flex; gap: 0.625rem;
        overflow-x: auto; scroll-behavior: smooth;
        scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .route__inf::-webkit-scrollbar { display: none; }
    .route__karta { min-width: 64.8vw; height: auto; flex-shrink: 0; }
    .route__karta-none { display: none; }
    .route__bg { width: 100%; height: 31.875vh; object-fit: cover; }
    .route__karta p { font-size: 1rem; font-weight: 500; padding: 0.4rem 0; }
    .dop__inf { margin-top: 5vh; gap: 8vw; flex-wrap: wrap;}

    /* Карта / заголовки */
    .map__route { margin-top: 10.64vh; }
    .map__route h1, .how_to_use h1, .prospector_voice h1 { font-size: 1.875rem; margin-bottom: 1.875rem; }
    .map { height: 70vh; margin-bottom: 10.64vh; }
    .map__card { width: calc(100% - 39vw); }

    /* Как использовать */
    .how_to_use_flex { flex-direction: column; align-items: center; }
    .mini_arrow { display: block; }
    .arrow {         width: 35px;}

    /* Остановки */
    .prospector_voice { margin-top: 10.64vh; }
    .stops__grid { grid-template-columns: 1fr; gap: 0.8rem; }
    .stop__img { height: 32vh; }

    /* ===== MPLAYER (как на макете) ===== */
    .mplayer {
        display: block; 
        overflow: hidden; margin-bottom: 1.5rem;
    }
    .stops_mini {
        display: block;
        font-size: 1.875rem;
        margin-bottom: 1.875rem;
        text-align: center;
    font-weight: 600;
    margin-top: 10.64vh;
    color: rgba(55, 57, 71, 1);
     }
    .mplayer-body_mini{
background: #fff; border-radius: 24px;
 padding: 1.1rem 1.2rem 0.3rem;
 margin-bottom: 0.9rem;
    }
    .mplayer-badge {
        display: inline-block; background: #F6DEDD; color: #DD423E;
        font-size: 0.7rem; font-weight: 600; letter-spacing: 0.01em;
        padding: 0.35rem 0.9rem; border-radius: 20px; margin-bottom: 0.7rem;
        text-transform: uppercase;
    }
    .mplayer-title {
        font-size: 1.35rem; font-weight: 700; text-transform: uppercase;
        line-height: 1.15; margin: 0 0 0.6rem; color: #1a1a1a;
    }
    .mplayer-loc { display: flex; align-items: flex-start; gap: 0.4rem; margin-bottom: 0.9rem; }
    .mplayer-loc-icon { width: 14px; height: 14px; margin-top: 2px; flex-shrink: 0; }
    .mplayer-address { font-size: 0.8rem; line-height: 1.4; color: #6f6f6f; margin: 0; }
    .mplayer-desc { font-size: 0.85rem; line-height: 1.5; color: #4a4a4a; margin-bottom: 1.1rem; }

    /* Карусель внутри плеера */
    .mplayer-carousel {
        position: relative; width: 100%; aspect-ratio: 4 / 3;
        overflow: hidden; border-radius: 12px;
        background: #e5e3dd; margin-bottom: 1rem;
    }
    .mplayer-slides { display: flex; height: 100%; transition: transform 0.35s ease; }
    .mplayer-slides .car-slide { flex: 0 0 100%; height: 100%; border-radius: 0; }
    .mplayer-slides .car-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .mplayer-arrow {
        position: absolute; top: 50%; transform: translateY(-50%);
        width: 34px; height: 34px; border-radius: 50%; border: none;
        background: rgba(255, 255, 255, 0.85); color: #1a1a1a;
        font-size: 1.3rem; line-height: 1;
        display: flex; align-items: center; justify-content: center;
        cursor: pointer; z-index: 2;
    }
    .mplayer-arrow:hover { background: #fff; }
    .mplayer-arrow-l { left: 10px; }
    .mplayer-arrow-r { right: 10px; }
    .mplayer-dots {
        position: absolute; bottom: 12px; left: 0; right: 0;
        display: flex; justify-content: center; gap: 6px; z-index: 2;
        transform: none;
    }
    .mplayer-dots .car-dot { width: 6px; height: 6px; border-radius: 50%; border: none; background: rgba(255, 255, 255, 0.6); padding: 0; cursor: pointer; }
    .mplayer-dots .car-dot.active { background: #fff; width: 8px; height: 8px; }
.stop__info h3{
    font-size: 1.125rem;
}
.stop__category{
    font-size: 0.925rem;
    margin-bottom:5px;
}

.stop__number{padding: 1.52083vw 2.04167vw;
    border-radius: 5vw;
    left: 0.925rem;
    top:0.925rem;
    font-size: 0.925rem;
}
    /* Контролы и прогресс */
    .player-controls { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin: 0 0 0.9rem; }
    .pc-btn {
        width: 36px; height: 36px; border-radius: 50%; border: none;
        background: transparent; color: #1a1a1a; font-size: 1rem;
        display: flex; align-items: center; justify-content: center; cursor: pointer;
    }
    .pc-btn:hover { background: rgba(0, 0, 0, 0.06); }
    .pc-btn img.speed_right { width: 18px; height: 18px; }
    .pc-play {
        width: 52px; height: 52px; background: #DD423E; color: #fff;
        font-size: 1.2rem; 
    }
    .pc-play:hover { background: #D8282C; }
    .player-progress-wrap { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.1rem; }
    .player-time { font-size: 0.7rem; color: #6f6f6f; flex-shrink: 0; min-width: 28px; }
    .player-time.js-time-dur { text-align: right; }
    .player-progress {
        -webkit-appearance: none; appearance: none; flex: 1;
        height: 4px; border-radius: 4px; outline: none; cursor: pointer;
        background: linear-gradient(to right, #DD423E 0%, #DD423E var(--progress, 0%), #EAE7E1 var(--progress, 0%), #EAE7E1 100%);
    }
    .player-progress::-webkit-slider-thumb {
        -webkit-appearance: none; appearance: none;
        width: 12px; height: 12px; border-radius: 50%;
        background: #DD423E; border: 2px solid #fff;
       cursor: pointer;
    }
    .player-progress::-moz-range-thumb {
        width: 12px; height: 12px; border-radius: 50%;
        background: #DD423E; border: 2px solid #fff;
        cursor: pointer; border: none;
    }
.stop__info{
    height: 28.685vh;
}
    /* Кнопки плеера */
    .mplayer-body .stop__btn-map {
        display: block; width: 100%; text-align: center;
        background: transparent; border: 1px solid #DD423E; color: #DD423E;
        padding: 0.9rem 0; border-radius: 12px;
        font-size: 0.8rem; font-weight: 500; text-transform: uppercase;
        cursor: pointer; margin-bottom: 1rem; transition: all 0.3s ease;
    }
    .mplayer-body .stop__btn-map:hover { background: #DD423E; color: #fff; }
    .mplayer-nav { display: flex; flex-direction: column; gap: 0.7rem; }
    .mplayer-nav .stop__btn {
        flex: 1; padding: 0.9rem 0; border-radius: 12px;
        font-size: 0.8rem; font-weight: 500; text-transform: uppercase;
        cursor: pointer; border: none; text-align: center; margin-bottom: 0;
    }
    .mplayer-nav .stop__btn span { color: inherit; }
    .mnav-arrow { font-size: 0.7em; }
    .mplayer-nav .js-modal-prev { background: #fff; color: #1a1a1a; border: 1px solid #E2DFD8; }
    .mplayer-nav .js-modal-next { background: #DD423E; color: #fff; }
    .mplayer-nav .js-modal-prev:hover { background: #F3F2EE; }
    .mplayer-nav .js-modal-next:hover { background: #D8282C; }
    .mplayer-nav .stop__btn:disabled { opacity: 0.4; cursor: not-allowed; }

    /* Popular Places */
    .popula-places { padding: 10vh 0 6vh 2vh; }
    .popula-header { margin-top: 0; padding: 0 2vh; }
    .popula-controls { display: none; }
    .section-heading, .section-heading span, .rec-meta { font-size: 3.75vh; }
    .popula-card { min-width: 64.8vw; min-height: 41.2vh; }
    .popula-tag { font-size: 1.63vh; padding: 1.25vh 3vw; top: 1.75vh; left: 3vw; }
    .btn-primary { font-size: 1.75vh; }
    .rec-meta { font-size: 1.75vh; margin-bottom: 0; }
    .rec-card-body h3 { font-size: 2vh; }
    .rec-divider { margin: 1.85vh 0; }
    .popula-card h3, .popula-card span { margin-left: 0; }
    .rec-card-body { padding: 0.9375rem; }
    .rec-location, .rec-time { font-size: 1.75vh; }
    .rec-location img, .rec-time img { width: 2.5vh; height: 2.5vh; }

    /* Модалка не используется */
    .stop__modal { display: none !important; }
}

@media screen and (min-width: 2000px) and (max-height: 1900px){
    .route__inf {
    top: 195vh;}
    .about__route__inf {
    height: 89vh;
    margin-top:0;
    }
.dop__inf{
    margin-top: 10.35vh;
}
.rec-inform-inf{
        height: 32vh;
    }
.route__bg {
    height: 41.15vh;
}
.route__karta {
    height: 48vh;}
}