/**********************************************************************
 MTWOLF ROUTES PREMIUM DARK DESIGN
**********************************************************************/

:root{
    --mtw-black:#050606;
    --mtw-ink:#0b0d0f;
    --mtw-panel:#111417;
    --mtw-panel-soft:#171b1f;
    --mtw-green:#94b61f;
    --mtw-green-2:#b6df33;
    --mtw-white:#ffffff;
    --mtw-muted:#a4abb2;
    --mtw-line:rgba(255,255,255,.10);
    --mtw-shadow:0 40px 120px rgba(0,0,0,.48);
}

.mtw-routes-premium{
    position:relative;
    padding:110px 0 120px;
    background:
        radial-gradient(circle at 10% 12%, rgba(148,182,31,.16), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(255,255,255,.07), transparent 28%),
        linear-gradient(180deg,#030404 0%,#0a0d0f 46%,#040505 100%);
    color:var(--mtw-white);
    overflow:hidden;
    isolation:isolate;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mtw-routes-premium:before{
    content:"";
    position:absolute;
    inset:0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.035) 1px, transparent 1px);
    background-size:72px 72px;
    mask-image:linear-gradient(180deg,transparent 0%,#000 18%,#000 78%,transparent 100%);
    opacity:.34;
    pointer-events:none;
    z-index:-2;
}

.mtw-routes-bg-orb{
    position:absolute;
    border-radius:999px;
    filter:blur(70px);
    opacity:.42;
    pointer-events:none;
    z-index:-1;
}

.mtw-routes-bg-orb-one{
    width:360px;
    height:360px;
    left:-130px;
    top:220px;
    background:rgba(148,182,31,.32);
}

.mtw-routes-bg-orb-two{
    width:480px;
    height:480px;
    right:-220px;
    bottom:120px;
    background:rgba(148,182,31,.18);
}

.mtw-routes-head{
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(280px,.62fr);
    gap:44px;
    align-items:end;
    margin-bottom:48px;
}

.mtw-kicker{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-bottom:18px;
    color:var(--mtw-green-2);
    font-size:12px;
    letter-spacing:.22em;
    text-transform:uppercase;
    font-weight:700;
}

.mtw-kicker:before{
    content:"";
    width:34px;
    height:2px;
    background:linear-gradient(90deg,var(--mtw-green),transparent);
}

.mtw-routes-head h2{
    margin:0;
    max-width:920px;
    font-size:clamp(2.5rem,5.3vw,6.4rem);
    line-height:.92;
    letter-spacing:-.075em;
    font-weight:700;
}

.mtw-routes-head p{
    margin:0;
    color:var(--mtw-muted);
    font-size:clamp(1rem,1.3vw,1.18rem);
    line-height:1.75;
}

.mtwRoutesSwiper{
    width:min(1760px,calc(100vw - 44px));
    margin:0 auto;
    padding:8px 0 76px;
    overflow:visible;
}

.mtwRoutesSwiper .swiper-slide{
    height:auto;
    opacity:.42;
    transform:scale(.94);
    transition:opacity .55s ease, transform .55s ease, filter .55s ease;
    filter:blur(1.2px) saturate(.8);
}

.mtwRoutesSwiper .swiper-slide-active{
    opacity:1;
    transform:scale(1);
    filter:none;
}

.mtw-route-card{
    position:relative;
    min-height:820px;
    border:1px solid var(--mtw-line);
    border-radius:38px;
    overflow:hidden;
    background:
        linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.02)),
        var(--mtw-panel);
    box-shadow:var(--mtw-shadow);
    transform:translateZ(0);
}

.mtw-route-card:before{
    content:"";
    position:absolute;
    inset:-1px;
    border-radius:inherit;
    pointer-events:none;
    background:
        linear-gradient(125deg,rgba(148,182,31,.45),transparent 26%,transparent 72%,rgba(255,255,255,.16));
    opacity:.32;
    z-index:6;
    mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    padding:1px;
    -webkit-mask-composite:xor;
    mask-composite:exclude;
}

.mtw-route-hero{
    position:relative;
    min-height:610px;
    overflow:hidden;
    background:#07090b;
}

.mtw-route-cover{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:.22;
    filter:saturate(1.05) contrast(1.04);
    transform:scale(1.05);
}

.mtw-route-map-wrap{
    position:absolute;
    inset:0;
    opacity:.96;
    z-index:1;
}

.mtw-route-map{
    width:100%;
    height:100%;
    background:#0b0d0f;
}

.mtw-route-vignette{
    position:absolute;
    inset:0;
    z-index:2;
    background:
    radial-gradient(circle at 72% 42%, transparent 0%, rgba(0,0,0,.08) 45%, rgba(0,0,0,.44) 100%),
    linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.32) 35%, rgba(0,0,0,.04) 70%, rgba(0,0,0,.38) 100%),
    linear-gradient(180deg, rgba(0,0,0,.32), transparent 40%, rgba(0,0,0,.50));
    pointer-events:none;
}

.mtw-route-panel{
    position:absolute;
    left:clamp(22px,4vw,72px);
    top:clamp(24px,4vw,68px);
    width:min(560px,calc(100% - 44px));
    z-index:4;
    padding:34px;
    border-radius:30px;
    background:linear-gradient(145deg,rgba(13,15,17,.78),rgba(13,15,17,.48));
    border:1px solid rgba(255,255,255,.13);
    box-shadow:0 30px 90px rgba(0,0,0,.44);
    backdrop-filter:blur(22px);
    -webkit-backdrop-filter:blur(22px);
}

.mtw-route-label{
    display:inline-flex;
    align-items:center;
    gap:9px;
    color:var(--mtw-green-2);
    font-size:11px;
    font-weight:700;
    letter-spacing:.2em;
    text-transform:uppercase;
    margin-bottom:16px;
}

.mtw-route-label:before{
    content:"";
    width:10px;
    height:10px;
    border-radius:50%;
    background:var(--mtw-green);
    box-shadow:0 0 22px rgba(148,182,31,.9);
}

.mtw-route-panel h3{
    margin:0;
    font-size:clamp(2.3rem,4.4vw,5.4rem);
    line-height:.92;
    letter-spacing:-.075em;
    font-weight:700;
    max-width:12ch;
}

.mtw-route-panel p{
    margin:20px 0 0;
    color:rgba(255,255,255,.76);
    font-size:1.02rem;
    line-height:1.72;
    max-width:500px;
}

.mtw-route-mini-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    margin:28px 0 26px;
}

.mtw-route-mini-stats div{
    padding:16px 14px;
    border-radius:18px;
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.09);
}

.mtw-route-mini-stats strong{
    display:block;
    color:#fff;
    font-size:clamp(1.4rem,2.1vw,2rem);
    line-height:1;
    letter-spacing:-.045em;
    font-weight:700;
}

.mtw-route-mini-stats span{
    display:block;
    margin-top:7px;
    color:rgba(255,255,255,.54);
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.12em;
    font-weight:700;
}

.mtw-route-cta{
    display:inline-flex;
    align-items:center;
    gap:12px;
    min-height:52px;
    padding:0 24px;
    border-radius:999px;
    color:#081006;
    background:linear-gradient(135deg,var(--mtw-green-2),var(--mtw-green));
    text-decoration:none;
    font-weight:700;
    letter-spacing:-.015em;
    box-shadow:0 18px 46px rgba(148,182,31,.28), inset 0 1px 0 rgba(255,255,255,.42);
    transition:transform .25s ease, box-shadow .25s ease;
}

.mtw-route-cta:hover{
    color:#081006;
    transform:translateY(-3px);
    box-shadow:0 28px 70px rgba(148,182,31,.38), inset 0 1px 0 rgba(255,255,255,.45);
}

.mtw-route-floating-gallery{
    position:absolute;
    right:clamp(22px,4vw,70px);
    top:50%;
    transform:translateY(-46%);
    z-index:4;
    width:min(320px,24vw);
    display:grid;
    gap:18px;
    pointer-events:auto;
}

.mtw-route-photo{
    position:relative;
    display:block;
    height:clamp(120px,12vw,178px);
    border-radius:26px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.18);
    box-shadow:0 24px 70px rgba(0,0,0,.42);
    transform:rotate(-1.6deg);
    transition:transform .35s ease, box-shadow .35s ease, opacity .35s ease;
}

.mtw-route-photo:nth-child(2){
    transform:translateX(-34px) rotate(2deg);
}

.mtw-route-photo:nth-child(3){
    transform:translateX(20px) rotate(-2.5deg);
}

.mtw-route-photo:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,transparent,rgba(0,0,0,.28));
    pointer-events:none;
}

.mtw-route-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .7s ease, filter .7s ease;
}

.mtw-route-photo:hover{
    transform:translateY(-10px) rotate(0deg) scale(1.03);
    box-shadow:0 34px 90px rgba(0,0,0,.56);
}

.mtw-route-photo:hover img{
    transform:scale(1.11);
    filter:saturate(1.12) contrast(1.06);
}

.mtw-route-bottom{
    position:relative;
    z-index:3;
    display:grid;
    grid-template-columns:minmax(0,.92fr) minmax(360px,.58fr);
    gap:22px;
    padding:22px;
    background:
        linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025)),
        #090b0d;
    border-top:1px solid rgba(255,255,255,.09);
}

.mtw-route-stat-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:14px;
}

.mtw-stat-card{
    min-height:126px;
    border-radius:24px;
    padding:22px 20px;
    background:
        radial-gradient(circle at 20% 0%,rgba(148,182,31,.15),transparent 46%),
        linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.025));
    border:1px solid rgba(255,255,255,.10);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}

.mtw-stat-card span{
    display:block;
    color:rgba(255,255,255,.52);
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.15em;
    font-weight:700;
}

.mtw-stat-card strong{
    display:block;
    margin-top:18px;
    color:#fff;
    font-size:clamp(1.7rem,2.5vw,3.1rem);
    line-height:.9;
    letter-spacing:-.065em;
    font-weight:700;
}

.mtw-route-profile-card{
    min-height:190px;
    border-radius:24px;
    padding:20px 22px;
    background:
        radial-gradient(circle at 70% 20%,rgba(148,182,31,.18),transparent 45%),
        linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.025));
    border:1px solid rgba(255,255,255,.10);
    overflow:hidden;
}

.mtw-profile-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:12px;
}

.mtw-profile-title span{
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.16em;
    color:rgba(255,255,255,.62);
    font-weight:700;
}

.mtw-profile-title small{
    color:var(--mtw-green-2);
    font-weight:700;
}

.mtw-route-profile-card canvas{
    display:block;
    width:100%;
    height:140px;
}

.mtw-routes-controls{
    position:absolute;
    left:50%;
    bottom:0;
    transform:translateX(-50%);
    z-index:10;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    padding:10px 14px;
    border-radius:999px;
    background:rgba(9,11,13,.72);
    border:1px solid rgba(255,255,255,.10);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}

.mtw-route-nav{
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    border:0;
    border-radius:999px;
    color:#fff;
    background:rgba(255,255,255,.08);
    transition:background .25s ease, transform .25s ease, color .25s ease;
}

.mtw-route-nav:hover{
    background:var(--mtw-green);
    color:#111;
    transform:translateY(-2px);
}

.mtwRoutesSwiper .swiper-pagination{
    position:static;
    display:flex;
    align-items:center;
    width:auto !important;
    gap:9px;
}

.mtwRoutesSwiper .swiper-pagination-bullet{
    width:8px;
    height:8px;
    opacity:1;
    margin:0 !important;
    background:rgba(255,255,255,.28);
    transition:width .25s ease, background .25s ease;
}

.mtwRoutesSwiper .swiper-pagination-bullet-active{
    width:34px;
    border-radius:999px;
    background:var(--mtw-green);
    box-shadow:0 0 24px rgba(148,182,31,.68);
}

.mtw-route-map .leaflet-control-container{
    filter:invert(1) hue-rotate(180deg);
    opacity:.85;
}

.leaflet-container{
    background:#0b0d0f;
}

.route-marker{
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    color:#091006;
    background:var(--mtw-green);
    box-shadow:0 0 0 7px rgba(148,182,31,.18),0 0 34px rgba(148,182,31,.72);
    border:2px solid rgba(255,255,255,.82);
    font-size:13px;
}

.route-marker-red{
    background:#fff;
    color:#111;
}

.mtw-route-empty{
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    z-index:4;
    color:rgba(255,255,255,.72);
    background:linear-gradient(135deg,#101315,#050606);
    text-align:center;
    padding:40px;
}

@media(max-width:1399px){
    .mtw-route-floating-gallery{
        width:min(270px,23vw);
    }

    .mtw-route-stat-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .mtw-route-bottom{
        grid-template-columns:1fr;
    }
}

@media(max-width:1199px){
    .mtw-routes-head{
        grid-template-columns:1fr;
        gap:24px;
    }

    .mtw-route-card{
        min-height:auto;
    }

    .mtw-route-hero{
        min-height:720px;
    }

    .mtw-route-floating-gallery{
        left:30px;
        right:30px;
        top:auto;
        bottom:26px;
        transform:none;
        width:auto;
        grid-template-columns:repeat(3,1fr);
    }

    .mtw-route-photo,
    .mtw-route-photo:nth-child(2),
    .mtw-route-photo:nth-child(3){
        transform:none;
        height:150px;
    }
}

@media(max-width:991px){
    .mtw-routes-premium{
        padding:80px 0 95px;
    }

    .mtwRoutesSwiper{
        width:calc(100vw - 24px);
    }

    .mtw-route-card{
        border-radius:28px;
    }

    .mtw-route-hero{
        min-height:760px;
    }

    .mtw-route-panel{
        left:18px;
        right:18px;
        top:18px;
        width:auto;
        padding:24px;
        border-radius:24px;
    }

    .mtw-route-mini-stats{
        grid-template-columns:1fr 1fr 1fr;
    }

    .mtw-route-stat-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:767px){
    .mtw-routes-head h2{
        font-size:clamp(2.35rem,13vw,4rem);
    }

    .mtw-route-hero{
        min-height:700px;
    }

    .mtw-route-map-wrap{
        opacity:.88;
    }

    .mtw-route-panel h3{
        max-width:none;
    }

    .mtw-route-floating-gallery{
        grid-template-columns:1fr 1fr 1fr;
        gap:8px;
        left:14px;
        right:14px;
    }

    .mtw-route-photo{
        height:104px !important;
        border-radius:18px;
    }

    .mtw-route-bottom{
        padding:14px;
        gap:14px;
    }

    .mtw-stat-card{
        min-height:104px;
        border-radius:18px;
        padding:18px 16px;
    }

    .mtw-stat-card strong{
        font-size:1.8rem;
    }
}

@media(max-width:575px){
    .mtw-routes-premium{
        padding:64px 0 78px;
    }

    .mtw-route-hero{
        min-height:670px;
    }

    .mtw-route-panel{
        padding:20px;
    }

    .mtw-route-panel p{
        font-size:.95rem;
    }

    .mtw-route-mini-stats{
        gap:8px;
    }

    .mtw-route-mini-stats div{
        padding:13px 10px;
    }

    .mtw-route-mini-stats strong{
        font-size:1.2rem;
    }

    .mtw-route-mini-stats span{
        font-size:9px;
    }

    .mtw-route-stat-grid{
        grid-template-columns:1fr;
    }

    .mtw-routes-controls{
        width:calc(100% - 32px);
        justify-content:space-between;
    }
}
