/* ==========================================
   PARTS GROUP — REPAIR PAGE
   ========================================== */

.repair-page{
    background:#f5f7fb;
    padding-bottom:80px;
    color:#1b2640;
}

/* CONTAINER */

.repair-page .container{
    max-width:1240px;
}

/* ==========================================
   HERO
   ========================================== */

.repair-hero{
    padding:48px 0 24px;
}

.hero-box{
    background:#fff;
    border-radius:28px;
    overflow:hidden;
    box-shadow:0 12px 40px rgba(16,35,70,.08);
}

.hero-content{
    padding:56px;
}

.hero-badge{
    display:inline-flex;
    padding:10px 18px;
    border-radius:100px;
    background:#e9f1ff;
    color:#2563eb;
    font-size:13px;
    font-weight:600;
    margin-bottom:22px;
}

.hero-title{
    font-size:54px;
    line-height:1.05;
    font-weight:800;
    margin-bottom:22px;
    letter-spacing:-1px;
}

.hero-title span{
    color:#2563eb;
}

.hero-text{
    font-size:18px;
    line-height:1.7;
    color:#667085;
    margin-bottom:28px;
}

.hero-features{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:30px;
}

.hero-features span{
    background:#f2f4f7;
    padding:9px 14px;
    border-radius:12px;
    font-size:14px;
    font-weight:500;
}

.hero-actions{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

.btn-main,
.btn-white{
    padding:14px 26px;
    border-radius:14px;
    font-weight:700;
    text-decoration:none;
    transition:.25s;
}

.btn-main{
    background:#2563eb;
    color:#fff;
}

.btn-main:hover{
    background:#1d4ed8;
    color:#fff;
}

.btn-white{
    background:#fff;
    color:#111827;
    border:1px solid #d0d5dd;
}

.btn-white:hover{
    border-color:#2563eb;
    color:#2563eb;
}
/* ===== WhatsApp button ===== */
.btn-whatsapp{
    background:#25D366;
    border:1px solid #25D366;
    color:#fff;
}

.btn-whatsapp:hover{
    background:#20BD5A;
    border-color:#20BD5A;
    color:#fff;
}

/* на случай если .btn-white:hover выше по файлу */
.btn-white.btn-whatsapp:hover{
    background:#20BD5A;
    border-color:#20BD5A;
    color:#fff;
}

.hero-image{
    height:100%;
}

.hero-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    min-height:520px;
    display:block;
}

/* ===== MOBILE: кнопки ===== */
@media (max-width: 767px) {

    .hero-actions{
        width:100%;
        display:flex;
        flex-direction:column;
        gap:12px;
    }

    .hero-actions a{
        width:100%;
        display:flex;
        align-items:center;
        justify-content:center;
        box-sizing:border-box;   /* ← ВОТ ЭТО ИСПРАВЛЯЕТ СМЕЩЕНИЕ */
        margin:0;
    }

    .btn-main{
        background:#2563EB;
        color:#fff;
    }

    .btn-white.btn-whatsapp{
        background:#25D366;
        border:1px solid #25D366;
        color:#fff;
    }

    .btn-white.btn-whatsapp:hover{
        background:#20BD5A;
        border-color:#20BD5A;
        color:#fff;
    }
}


/* ===== Статистика ===== */

.stats-bar{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    background:#FFFFFF;
    border:1px solid #E6EBF3;
    border-radius:18px;
    padding:22px 26px;
    margin:36px 0;
    box-shadow:0 2px 8px rgba(15,23,42,.03);
}

.stat-item{
    display:flex;
    align-items:center;
    gap:14px;
    padding:0 12px;
}

.stat-item:not(:last-child){
    border-right:1px solid #EEF2F7;
}

.stat-icon{
    color:#2962F2;
    flex-shrink:0;
}

.stat-icon svg{
    width:34px;
    height:34px;
    stroke-width:1.8;
}

.stat-number{
    font-size:22px;
    font-weight:700;
    color:#111827;
    line-height:1.1;
}

.stat-text{
    margin-top:4px;
    font-size:13px;
    color:#6B7280;
    line-height:1.3;
}

/* ---------- Планшет ---------- */

@media (max-width:991px){

    .stats-bar{
        grid-template-columns:repeat(2,1fr);
        gap:18px;
    }

    .stat-item{
        border-right:none !important;
        padding:0;
    }
}

/* ---------- Мобильная версия ---------- */

@media (max-width:576px){

    .stats-bar{
        grid-template-columns:1fr;
        padding:8px 18px;
        gap:0;
        border-radius:14px;
    }

    .stat-item{
        padding:14px 0;
        border-bottom:1px solid #EEF2F7;
    }

    .stat-item:last-child{
        border-bottom:none;
    }

    .stat-icon svg{
        width:30px;
        height:30px;
    }

    .stat-number{
        font-size:17px;
    }

    .stat-text{
        font-size:12px;
        margin-top:2px;
    }
}


/* ==========================================
   ПОЧЕМУ НАМ ДОВЕРЯЮТ
========================================== */

.trust-section{
    padding: 8px 0 70px;   /* уменьшили разрыв сверху */
}

.section-head{
    margin-bottom: 36px;
}

.section-head span{
    color:#2563eb;
    font-size:13px;
    font-weight:700;
    letter-spacing:.08em;
}

.section-head h2{
    margin-top:10px;
    font-size:44px;
    font-weight:800;
    color:#14213d;
}

/* ПК — 6 карточек в одну линию */

.trust-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:16px;
}

.trust-card{
    background:#fff;
    border:1px solid #e8edf5;
    border-radius:18px;
    padding:20px 16px;
    transition:.25s;
    position:relative;
}

.trust-card:hover{
    transform:translateY(-6px);
    box-shadow:0 14px 30px rgba(37,99,235,.12);
    border-color:#d8e5ff;
}

.trust-card>svg:first-of-type{
    width:34px;
    height:34px;
    color:#2563eb;
    margin-bottom:16px;
}

.trust-card h3{
    font-size:18px;
    line-height:1.35;
    margin-bottom:10px;
    color:#14213d;
}

.trust-card p{
    font-size:14px;
    color:#667085;
    line-height:1.55;
    margin:0;
}

.trust-arrow{
    display:none;
}

/* МОБИЛКА */

@media (max-width:767px){

    .stats-bar{
        margin-bottom: 4px;
    }

    .section-head h2{
        font-size:30px;
    }

    .trust-grid{
        grid-template-columns:1fr;
        gap:12px;
    }

    .trust-card{
        display:flex;
        align-items:center;
        gap:14px;
        padding:16px;
        border-radius:14px;
    }

    .trust-card>svg:first-of-type{
        width:28px;
        height:28px;
        margin:0;
        flex-shrink:0;
    }

    .trust-card h3{
        font-size:17px;
        margin-bottom:4px;
    }

    .trust-card p{
        font-size:13px;
    }

    .trust-card .trust-arrow{
        display:block;
        width:18px;
        height:18px;
        color:#98a2b3;
        margin-left:auto;
        flex-shrink:0;
    }
}


/* ==========================================
   REPAIR SECTION (новый дизайн)
========================================== */

.repair-section{
    padding: 40px 0;
}

/* Сетка */

.services-grid{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:28px;
    margin-top:40px;
    align-items:stretch;
}

/* Фото */

.service-photo{
    position:relative;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(15,23,42,.08);
}

.service-photo img{
    width:100%;
    height:100%;
    min-height:520px;
    object-fit:cover;
    display:block;
}

/* Бейдж */

.quality-badge{
    position:absolute;
    left:20px;
    bottom:20px;
    background:#fff;
    border-radius:18px;
    padding:18px;
    display:flex;
    gap:14px;
    align-items:center;
    max-width:320px;
    box-shadow:0 16px 40px rgba(15,23,42,.18);
}

.badge-icon{
    width:56px;
    height:56px;
    border-radius:16px;
    background:#edf4ff;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#2563eb;
    flex-shrink:0;
}

.badge-icon svg{
    width:28px;
    height:28px;
}

.quality-badge strong{
    display:block;
    font-size:18px;
    color:#0f172a;
    margin-bottom:4px;
}

.quality-badge span{
    font-size:14px;
    color:#64748b;
    line-height:1.5;
}

/* Правая колонка */

.service-list{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.service-item{
    background:#fff;
    border-radius:18px;
    padding:22px 20px;
    display:flex;
    align-items:center;
    gap:16px;
    box-shadow:0 8px 24px rgba(15,23,42,.06);
    transition:.25s;
    cursor:pointer;
}

.service-item:hover{
    transform:translateX(6px);
    box-shadow:0 12px 30px rgba(37,99,235,.12);
}

.service-item > svg:first-child{
    width:26px;
    height:26px;
    color:#2563eb;
    flex-shrink:0;
}

.service-item span{
    flex:1;
    font-size:17px;
    font-weight:600;
    color:#0f172a;
}

.arrow{
    width:18px;
    height:18px;
    color:#94a3b8;
}

/* Нижняя полоса преимуществ */

.repair-benefits{
    margin-top:28px;
    background:#fff;
    border-radius:24px;
    padding:28px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    box-shadow:0 8px 24px rgba(15,23,42,.06);
}

.benefit{
    display:flex;
    gap:14px;
    align-items:flex-start;
}

.benefit svg{
    width:28px;
    height:28px;
    color:#2563eb;
    flex-shrink:0;
}

.benefit strong{
    display:block;
    margin-bottom:6px;
    font-size:16px;
    color:#0f172a;
}

.benefit span{
    font-size:14px;
    color:#64748b;
    line-height:1.5;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width:991px){

    .services-grid{
        grid-template-columns:1fr;
    }

    .service-photo img{
        min-height:320px;
    }

    .quality-badge{
        left:16px;
        right:16px;
        bottom:16px;
        max-width:none;
    }

    .repair-benefits{
        grid-template-columns:1fr;
        gap:16px;
        padding:18px;
    }

    .benefit{
        padding-bottom:14px;
        border-bottom:1px solid #eef2f7;
    }

    .benefit:last-child{
        border-bottom:none;
        padding-bottom:0;
    }
}

@media (max-width:576px){

    .repair-section{
        padding:12px 0 20px;
    }

    .service-item{
        padding:18px 16px;
    }

    .service-item span{
        font-size:15px;
    }

    .quality-badge{
        padding:14px;
    }

    .badge-icon{
        width:48px;
        height:48px;
    }

    .quality-badge strong{
        font-size:16px;
    }

    .quality-badge span{
        font-size:13px;
    }
}


/* ==========================================
   BRANDS
========================================== */

.brands-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.brand-card{
    background:#fff;
    border:1px solid #e7edf6;
    border-radius:18px;
    height:110px;
    padding:22px;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:.25s;
}

.brand-card:hover{
    transform:translateY(-5px);
    border-color:#2563eb;
    box-shadow:0 10px 24px rgba(37,99,235,.10);
}

.brand-card img{
    width:130px;
    max-width:90%;
    height:38px;
    object-fit:contain;
    object-position:center;
    display:block;
}

/* Планшет */
@media (max-width:991px){
    .brands-grid{
        grid-template-columns:repeat(4,1fr);
        gap:12px;
    }

    .brand-card{
        height:90px;
        padding:16px;
    }

    .brand-card img{
        width:95px;
        height:30px;
    }
}

/* Телефон */
@media (max-width:576px){
    .brands-grid{
        grid-template-columns:repeat(4,1fr);
        gap:8px;
    }

    .brand-card{
        height:72px;
        border-radius:14px;
        padding:10px;
    }

    .brand-card img{
        width:58px;
        height:22px;
    }
}


/* ===== 5 этапов ===== */

.steps-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.step-card{
    background:#fff;
    border:1px solid #E7EDF6;
    border-radius:20px;
    padding:24px;
    min-height:190px;
    position:relative;
    transition:.25s;
}

.step-card:hover{
    transform:translateY(-6px);
    box-shadow:0 14px 30px rgba(37,99,235,.10);
    border-color:#2563eb;
}

.step-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:#2563eb;
    border-radius:20px 20px 0 0;
    opacity:0;
    transition:.25s;
}

.step-card:hover::before{
    opacity:1;
}

.step-number{
    width:46px;
    height:46px;
    border-radius:50%;
    background:#2563eb;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    margin-bottom:18px;
}

.step-card h3{
    font-size:30px;
    margin-bottom:10px;
}

.step-card p{
    color:#64748b;
    line-height:1.6;
    margin:0;
}

/* Планшет */
@media (max-width:991px){
    .steps-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

/* Телефон */
@media (max-width:576px){
    .steps-grid{
        grid-template-columns:1fr;
        gap:14px;
    }

    .step-card{
        min-height:auto;
        padding:20px;
    }

    .step-number{
        width:42px;
        height:42px;
    }
}


/* ==========================================
   CTA
   ========================================== */

.cta-block{
    padding:90px 0;
}

.cta-block .container{
    background:linear-gradient(135deg,#1e40af,#2563eb);
    border-radius:30px;
    padding:60px;
    color:#fff;
}

.cta-content span{
    font-size:14px;
    font-weight:700;
    opacity:.85;
    text-transform:uppercase;
}

.cta-content h2{
    font-size:42px;
    font-weight:800;
    margin:16px 0;
}

.cta-content p{
    font-size:18px;
    line-height:1.8;
    opacity:.92;
    margin-bottom:30px;
}

.cta-block .btn-white{
    background:#fff;
}

.cta-block img{
    max-width:100%;
}

/* ==========================================
   REVIEWS
   ========================================== */

.review-card{
    background:#fff;
    border-radius:22px;
    padding:30px;
    height:100%;
    box-shadow:0 8px 20px rgba(0,0,0,.04);
}

.review-card p{
    line-height:1.8;
    color:#475467;
    margin-bottom:22px;
}

.review-author strong{
    display:block;
    font-size:17px;
}

.review-author span{
    color:#667085;
    font-size:14px;
}


/* ==========================================
   REQUEST SECTION
========================================== */

.request-section{
    padding:90px 0;
}

.request-wrapper{
    position:relative;
    overflow:hidden;
    padding:56px;
    border-radius:34px;
    background:linear-gradient(135deg,#1D4ED8 0%,#2563EB 100%);
}

.request-wrapper::before{
    content:"";
    position:absolute;
    left:-120px;
    bottom:-120px;
    width:340px;
    height:340px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(255,255,255,.18),transparent 70%);
}

/* ---------- Левая часть ---------- */

.request-label{
    display:block;
    margin-bottom:16px;
    color:rgba(255,255,255,.75);
    text-transform:uppercase;
    letter-spacing:.08em;
    font-size:14px;
    font-weight:700;
}

.request-wrapper h2{
    margin-bottom:22px;
    color:#fff;
    font-size:56px;
    line-height:1.05;
    font-weight:800;
}

.request-wrapper p{
    max-width:500px;
    margin-bottom:38px;
    color:rgba(255,255,255,.88);
    font-size:22px;
    line-height:1.5;
}

.request-features{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.feature{
    display:flex;
    align-items:center;
    gap:14px;
    color:#fff;
    font-size:22px;
    font-weight:600;
}

.feature i{
    width:42px;
    height:42px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.16);
}

.feature svg{
    width:20px;
    height:20px;
    stroke:#fff;
}

/* ---------- Правая карточка ---------- */

.request-card{
    background:#fff;
    border-radius:28px;
    padding:30px;
    box-shadow:0 18px 40px rgba(0,0,0,.15);
    box-sizing:border-box;
}

.request-card *{
    box-sizing:border-box;
}

.request-card form{
    display:flex;
    flex-direction:column;
    gap:16px;
}

/* Все поля */

.request-card input{
    display:block;
    width:100%;
    max-width:100%;
    height:60px;
    padding:0 18px;
    border:1px solid #D6DCE8;
    border-radius:16px;
    background:#F8FAFC;
    font-size:17px;
    color:#0F172A;
}

.request-card input:focus{
    outline:none;
    border-color:#2563EB;
    background:#fff;
}

/* Телефон */

.phone-input{
    display:flex;
    align-items:center;
    width:100%;
    border:1px solid #D6DCE8;
    border-radius:16px;
    overflow:hidden;
    background:#F8FAFC;
}

.phone-input span{
    width:64px;
    min-width:64px;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-right:1px solid #D6DCE8;
    font-weight:700;
    color:#334155;
}

.phone-input input{
    flex:1;
    width:auto;
    min-width:0;
    height:60px;
    border:none;
    border-radius:0;
    background:transparent;
    padding:0 18px;
}

/* Кнопка */

.request-submit{
    width:100%;
    height:62px;
    border:none;
    border-radius:18px;
    background:#22C55E;
    color:#fff;
    font-size:20px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}

.request-submit:hover{
    background:#16A34A;
    transform:translateY(-2px);
}

/* Успешная отправка */

.request-success{
    margin-bottom:16px;
    padding:14px 16px;
    border-radius:12px;
    background:#DCFCE7;
    color:#166534;
    font-weight:600;
}

/* ---------- Планшет ---------- */

@media (max-width:991px){

    .request-wrapper{
        padding:40px;
    }

    .request-wrapper h2{
        font-size:42px;
    }

    .request-wrapper p{
        font-size:18px;
    }

    .feature{
        font-size:18px;
    }

    .request-card{
        margin-top:28px;
    }
}

/* ---------- Мобильная ---------- */

@media (max-width:576px){

    .request-section{
        padding:56px 0;
    }

    .request-wrapper{
        padding:22px;
        border-radius:24px;
    }

    .request-wrapper h2{
        font-size:34px;
        margin-bottom:16px;
    }

    .request-wrapper p{
        font-size:15px;
        margin-bottom:24px;
    }

    .feature{
        font-size:16px;
        gap:10px;
    }

    .feature i{
        width:32px;
        height:32px;
    }

    .request-card{
        padding:18px;
        border-radius:20px;
    }

    .request-card input,
    .phone-input input,
    .phone-input span{
        height:52px;
        font-size:15px;
    }

    .phone-input span{
        width:56px;
        min-width:56px;
    }

    .request-submit{
        height:56px;
        font-size:17px;
    }
}


/* ========= MOBILE ========= */

@media (max-width:991px){

    .request-section{
        padding:56px 0;
    }

    .request-wrapper{
        padding:28px 22px;
        border-radius:24px;
    }

    .request-wrapper h2{
        font-size:38px;
    }

    .request-wrapper p{
        font-size:18px;
        margin-bottom:28px;
    }

    .feature{
        font-size:18px;
    }

    .request-card{
        padding:22px;
        border-radius:20px;
    }

    .request-submit{
        height:58px;
        font-size:18px;
    }
}




/* ==========================================
   MOBILE
   ========================================== */

@media (max-width:991px){

.hero-content{
    padding:36px 28px;
}

.hero-title{
    font-size:42px;
}

.hero-image img{
    min-height:340px;
}

.brands-row{
    grid-template-columns:repeat(2,1fr);
}

.cta-block .container{
    padding:36px 28px;
}

.cta-content h2{
    font-size:34px;
}

}

@media (max-width:767px){

.repair-hero{
    padding-top:20px;
}

.hero-box{
    border-radius:22px;
}

.hero-content{
    padding:26px 22px;
}

.hero-title{
    font-size:34px;
}

.hero-text{
    font-size:16px;
}

.hero-features{
    gap:8px;
}

.hero-features span{
    font-size:13px;
}

.hero-actions{
    flex-direction:column;
}

.btn-main,
.btn-white{
    width:100%;
    text-align:center;
}

.hero-image img{
    min-height:260px;
}

.stat-card{
    padding:22px 12px;
}

.stat-number{
    font-size:30px;
}



.section-head h2{
    font-size:30px;
}

.adv-card{
    padding:24px;
}

.brands-row{
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.brand-item{
    padding:14px;
    font-size:14px;
}

.cta-block{
    padding:56px 0;
}

.cta-block .container{
    border-radius:22px;
}

.cta-content h2{
    font-size:30px;
}

.cta-content p{
    font-size:16px;
}

.review-card{
    padding:24px;
}

}

/* Убираем хлебные крошки только на странице ремонта */
.breadcrumb{
    display:none !important;
}


