.about {
    position: relative;
    overflow: hidden;

    padding: 160px 0 120px;
    border-radius: 0px;

    background-image: url("images/about.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    min-height: 850px;
}

.about .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:80px;
    position:relative;
    z-index:5;
    flex-wrap: wrap;
}

.about-left{
    flex: 1 1 480px;
    min-width: 0;
}

.about h2{
    margin-top:18px;
    font-size:42px;
    line-height:1.02;
    color:#000000;
    font-weight:800;
}

.about h2 span {
    color: #2D63FF;
}

.about-divider{
    display:flex;
    align-items:center;
    gap:18px;
    margin:20px 0 0px;
}

.divider-icon{
    width:18px;
    height:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.divider-icon svg,
.divider-icon img{
    width:40px;
    height:40px;
}

.divider-line{
    height:1px;
    flex:1;
    background:#d7dde8;
}

.about p{
    color:#5f6982;
    font-size:18px;
    line-height:1.8;
    max-width:700px;
    margin-bottom:10px;
}

.about strong{
    color:#2864ff;
}

.about-text{
    margin-top:0;
    margin-left:36px;
}

.about-buttons{
    display:flex;
    align-items:center;
    gap:30px;
    margin-top:45px;
}

.btn-primary{
    background:#2d63ff;
    color:white;
    padding:18px 42px;
    border-radius:16px;
    text-decoration:none;
    font-weight:600;
    transition:.35s;
}

.btn-primary:hover{
    transform:translateY(-4px);
    box-shadow:0 20px 40px rgba(45,99,255,.35);
}

.btn-video{
    display:flex;
    align-items:center;
    gap:15px;
    text-decoration:none;
    color:#34415d;
}

.play{
    width:62px;
    height:62px;
    border-radius:50%;
    background:white;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 15px 40px rgba(0,0,0,.12);
    font-size:18px;
}

/* ═══════════════════════════════════════════
   STATS CARDS — row of 3 below buttons
═══════════════════════════════════════════ */

.about-stats {
    display: flex;
    gap: 12px;
    margin-top: 40px;
    flex-wrap: wrap;
    max-width: 620px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 14px;
    padding: 13px 16px;
    box-shadow: 0 10px 28px rgba(20, 40, 90, 0.10);
    flex: 1 1 140px;
    min-width: 130px;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #4f8cff 0%, #2d63ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon img {
    width: 26px;
    height: 26px;
    /* если исходный svg тёмный — перекрашиваем в белый под синий фон */
    filter: brightness(0) invert(1);
}

.stat-text {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.stat-text h3 {
    font-size: 20px;
    font-weight: 800;
    color: #1a2233;
    margin: 0;
    line-height: 1;
}

.stat-text p {
    font-size: 12.5px;
    color: #5f6982;
    margin: 0;
    line-height: 1.3;
}

/* ═══════════════════════════════════════════
   RIGHT SIDE — map card, shifted left + down
═══════════════════════════════════════════ */

.about-right{
    position: relative;
    width: 45%;
    flex: 0 1 420px;
    display:flex;
    justify-content:flex-end;
    align-items:center;
}

.about-card {
    position: relative;
    width:300px;
    min-height:420px;
    padding:20px;
    border-radius:26px;
    background:rgb(57, 122, 179, .7);
    backdrop-filter:blur(35px);

    /* положение карточки относительно правого края */
    margin-right: 280px;
    margin-top: -8px;
}

.about-card::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:34px;
    background:
        radial-gradient(circle at top left,
        rgba(255,255,255,.22),
        transparent 45%);
    pointer-events:none;
}

.card-map{
    display:flex;
    justify-content:center;
    margin-bottom:0px;
}

.card-map img{
    width: 280px;
    opacity:1;
}

.card-item{
    display:grid;
    grid-template-columns:58px 1fr;
    gap:10px;
    align-items:center;
    padding:10px 0;
}

.card-icon{
    width:48px;
    height:48px;
    border-radius:50%;
    border:2px solid rgba(255,255,255,.35);
    display:flex;
    justify-content:center;
    align-items:center;
    flex-shrink:0;
}

.card-icon img{
    width:20px;
    height:20px;
    filter:brightness(0) invert(1);
}

.card-text h4{
    color:#fff;
    font-size:16px;
    margin-bottom:5px;
    font-weight:700;
}

.card-text p{
    color:rgba(255,255,255,.72);
    line-height:1.4;
    font-size:12px;
}

.card-divider{
    height:1px;
    background:rgba(255,255,255,.14);
    margin:0px 0;
}
/* =========================================================
   TABLET — до 992px
========================================================= */

@media (max-width:992px){

    .about{
        min-height:auto;
        padding:130px 0 85px;
        background-position:center;
    }

    .about .container{
        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:45px;
    }

    .about-left{
        width:100%;
        flex:none;
    }

    .about h2{
        margin-top:12px;
        font-size:40px;
        line-height:1.08;
    }

    .about-divider{
        margin-top:18px;
    }

    .about-text{
        margin-left:0;
    }

    .about p{
        max-width:100%;
        font-size:17px;
        line-height:1.7;
    }

    .about-buttons{
        margin-top:32px;
        gap:18px;
        flex-wrap:wrap;
    }

    .btn-primary{
        padding:16px 32px;
    }

    .play{
        width:54px;
        height:54px;
    }

    .about-stats{
        display:grid;
        grid-template-columns:repeat(3,1fr);
        gap:12px;
        max-width:100%;
        margin-top:32px;
    }

    .stat-card{
        min-width:0;
        padding:12px;
    }

    .stat-icon{
        width:46px;
        height:46px;
        border-radius:13px;
    }

    .stat-icon img{
        width:23px;
        height:23px;
    }

    .stat-text h3{
        font-size:19px;
    }

    .stat-text p{
        font-size:11.5px;
    }

    .about-right{
        width:100%;
        flex:none;
        justify-content:center;
        margin-top:0;
    }

    .about-card{
        width:100%;
        max-width:360px;
        min-height:auto;
        margin:0;
        padding:22px;
    }

    .card-map img{
        width:100%;
        max-width:290px;
    }
}


/* =========================================================
   MOBILE — до 576px
========================================================= */

@media (max-width:576px){

    .about{
        padding:105px 0 60px;
        background-position:center;
    }

    .about .container{
        gap:30px;
    }

    .about h2{
        margin-top:10px;
        font-size:34px;
        line-height:1.08;
    }

    .about-divider{
        gap:12px;
        margin-top:15px;
    }

    .divider-icon{
        width:16px;
        height:16px;
    }

    .divider-icon svg,
    .divider-icon img{
        width:30px;
        height:30px;
    }

    .about p{
        font-size:15px;
        line-height:1.6;
        margin-bottom:10px;
    }

    .about-buttons{
        flex-direction:column;
        align-items:stretch;
        gap:14px;
        margin-top:25px;
    }

    .btn-primary{
        display:flex;
        align-items:center;
        justify-content:center;
        width:100%;
        min-height:52px;
        padding:14px 20px;
        border-radius:15px;
    }

    .btn-video{
        justify-content:center;
    }

    .play{
        width:48px;
        height:48px;
    }

    .about-stats{
        grid-template-columns:1fr;
        gap:9px;
        margin-top:25px;
    }

    .stat-card{
        display:grid;
        grid-template-columns:46px minmax(0,1fr);
        gap:12px;
        width:100%;
        padding:12px 14px;
        border-radius:14px;
    }

    .stat-icon{
        width:46px;
        height:46px;
    }

    .stat-text{
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:4px;
    }

    .stat-text h3{
        font-size:19px;
    }

    .stat-text p{
        font-size:12px;
    }

    .about-right{
        width:100%;
    }

    .about-card{
        width:100%;
        max-width:none;
        padding:18px;
        border-radius:22px;
        backdrop-filter:blur(24px);
    }

    .about-card::before{
        border-radius:22px;
    }

    .card-map{
        margin-bottom:4px;
    }

    .card-map img{
        width:100%;
        max-width:260px;
    }

    .card-item{
        grid-template-columns:48px minmax(0,1fr);
        gap:10px;
        padding:9px 0;
    }

    .card-icon{
        width:42px;
        height:42px;
    }

    .card-icon img{
        width:18px;
        height:18px;
    }

    .card-text h4{
        margin-bottom:3px;
        font-size:15px;
    }

    .card-text p{
        font-size:11px;
        line-height:1.35;
    }
}


/* =========================================================
   SMALL PHONES — до 390px
========================================================= */

@media (max-width:390px){

    .about{
        padding:95px 0 50px;
    }

    .about h2{
        font-size:30px;
    }

    .about p{
        font-size:14px;
    }

    .about-card{
        padding:15px;
    }

    .card-map img{
        max-width:225px;
    }

    .card-item{
        grid-template-columns:42px minmax(0,1fr);
        gap:8px;
    }

    .card-icon{
        width:38px;
        height:38px;
    }

    .card-text h4{
        font-size:14px;
    }

    .card-text p{
        font-size:10.5px;
    }
}
