/* ========================================
   1. HEADER & NAVIGATION
   ======================================== */

@media (max-width: 991px) {
    .nav-menu {
        display: none !important;
    }

    .burger-menu {
        display: flex !important;
    }

    .nav-row {
        padding: 10px 15px !important;
        height: auto;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .logo {
        width: auto;
        flex-shrink: 0;
    }

    .logo img {
        height: 45px;
    }

    .logo span {
        font-size: 13px;
        max-width: 150px;
    }

     .header-links {
        display: none !important;
    }

    .dropdown {
        display: none !important;
    }

    .header-socialstext {
        display: none !important;
    }

    .header-socials {
        display: flex !important;
        align-items: center !important;
        order: 2;
        margin-left: auto;
        margin-right: 15px;
    }

    .socials-header {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .header-socialslink {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 38px !important;
        height: 38px !important;
        background: #f5f5f5 !important;
        border-radius: 50% !important;
        transition: background 0.3s ease !important;
    }

    .header-socialslink:hover {
        background: #ffc107 !important;
    }

    .header-socialslink svg {
        width: 20px !important;
        height: 20px !important;
        fill: #333 !important;
    }

    .header-socialslink.icon-viber svg {
        fill: #7360f2 !important;
    }

    .header-socialslink.icon-telegram svg {
        fill: #0088cc !important;
    }

    .header-socialslink.icon-phone svg {
        fill: #333 !important;
    }

   
    .burger-menu {
        order: 3;
        flex-shrink: 0;
    }

    /* Mobile Navigation */
    .mobile-nav {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        z-index: 1100;
        padding: 10px 25px 30px;
        overflow-y: auto;
        transition: left 0.3s ease;
        box-shadow: 2px 0 15px rgba(0,0,0,0.2);
    }

    .mobile-nav.active {
        left: 0;
    }

    .mobile-nav a {
        display: block;
        padding: 15px 0;
        color: #333;
        font-weight: 600;
        font-size: 16px;
        border-bottom: 1px solid #eee;
        text-decoration: none;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1050;
    }

    .mobile-overlay.active {
        display: block;
    }
}

@media (max-width: 767px) {
    .nav-row {
        padding: 3px 10px !important;
    }

    .logo img {
        height: 40px;
    }

    .logo span {
        display: none;
    }

    .burger-menu {
        width: 40px;
        height: 40px;
    }

    .header-socials {
        margin-right: 10px;
    }

    .socials-header {
        gap: 6px !important;
    }

    .header-socialslink {
        width: 34px !important;
        height: 34px !important;
    }

    .header-socialslink svg {
        width: 18px !important;
        height: 18px !important;
    }
	
	
}

@media (max-width: 480px) {
    .logo img {
    }

    .mobile-nav {
        width: 90%;
        padding: 10px 20px 25px;
    }

    .mobile-nav a {
        font-size: 15px;
        padding: 12px 0;
    }

    .header-socials {
        margin-right: 8px;
    }

    .socials-header {
        gap: 5px !important;
    }

    .header-socialslink {
        width: 32px !important;
        height: 32px !important;
    }

    .header-socialslink svg {
        width: 16px !important;
        height: 16px !important;
    }
}

@media (max-width: 374px) {
    .header-socialslink {
        width: 30px !important;
        height: 30px !important;
    }

    .header-socialslink svg {
        width: 14px !important;
        height: 14px !important;
    }

    .socials-header {
        gap: 4px !important;
    }
}

/* ========================================
   2. HERO SECTION
   ======================================== */

@media (max-width: 991px) {
    .hero {
        padding: 50px 0 0px;
    }

    .hero .container {
        display: flex;
        flex-direction: column;
    }

    .hero .cont-left {
        order: 1;
    }

    .hero h1 {
        font-size: clamp(3rem, 7vw, 3.1rem);
        max-width: 100%;
        text-align: center;
    }

    .subtitle-h1 {
        text-align: center;
        margin: 0 auto 25px;
        font-size: 1.2rem;
    }
.repair-landing-wrapper {
    margin:0 auto
}
    .hero-tags {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .advantages-showcase-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .advantage-item-card:last-child {
        display: none;
    }

    .mainrs {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        max-width: 550px !important;
        margin: 30px auto 0 !important;
        order: 2;
    }

    .mainr,
    .hero-mobil-screen.mainr {
        display: block !important;
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        z-index: 3;
    }

    .mainr img,
    .hero-mobil-screen.mainr img {
        height: auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .mainr2,
    .mainr3,
    .hero-mobil-screen.mainr2,
    .hero-mobil-screen.mainr3 {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 85px 0 30px;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 6vw, 2.4rem);
        margin-bottom: 15px;
    }

    .subtitle-h1 {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .hero-tags {
        gap: 8px;
        margin-bottom: 10px;
    }

    .tag {
        font-size: 0.75rem;
        padding: 6px 15px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }

    .hero-buttons .btn {
        width: 70%;
        justify-content: center;
    }

    .advantages-showcase-container {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 0px;
    }

    .advantage-item-card {
        padding: 8px;
        gap: 8px;
    }

    .advantage-icon-holder {
        width: 40px;
        height: 40px;
    }

    .advantage-label-primary {
        font-size: 14px;
    }

    .advantage-label-secondary {
        font-size: 12px;
    }

    .mainrs {
        max-width: 350px !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 75px 0 40px;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .subtitle-h1 {
    }

    .tag {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .mainrs {
        margin: 0px auto 0 !important;
    }
}


/* ========================================
   3. QUIZ SECTION
   ======================================== */

@media (max-width: 991px) {
     .special-offer h5 {
  font-size:18px
}
    #quiz {
        padding: 30px 35px 30px;
        border-radius: 25px;
        overflow: hidden;
    }.quiz-click__img {
    display: flex;
    width: 25px;
    margin-right: 10px;
}
    
#quiz::before {
    content: '';
    width: 95%;
    height: 98%;
    border-radius: 25px;
    border: 1px solid #e5e5e5;
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
    .quiz-inner {
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }

    .quiz-form {
        width: 100%;
        padding: 10px 0;
    }
.quiz-progress {
    position: relative;
    margin-bottom: 20px;
    z-index: 1;
}
    .quiz-right {
        display: none;
    }

    .quiz-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .quiz-items h3 {
        font-size: 24px;
    }

    .quiz-progress__bar {
        height: 25px;
    }

    .quiz-progress__inner {
        height: 16px;
    }

    .quiz-final-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .quiz-benefits {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    #quiz {
    padding: 30px 30px 30px;
    }

    .quiz-items h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

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

    .quiz-option p {
        font-size: 14px;
    }

    .quiz-option__img {
        height: 100px;
    }

    .quiz-option__checkbox {
        width: 28px;
        height: 28px;
        bottom: -10px;
    }
.quiz-option__checkbox::before {
    content: '';
    width: 20px;
    height: 20px;
    background-color: #f7f7f7;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}
    .quiz-bottom {
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
    }
.quiz-click {
        text-align: center;
    }
.fz16 {
    font-size: 12px;
}
    .quiz-btns {
        width: 100%;
        display: flex;
        gap: 10px;
    }

    .quiz-btns .btn {
        flex: 1;
    }

    .quiz-benefits {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 10px 0;
    }
.last-step-form {
    width: 100%;
    padding-bottom: 0px;
}
    .quiz-semifinal h4 {
        font-size: 28px;
        line-height: 1.3;
        margin: 0 0 10px;
    }

    .grid-semi {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .special-offer,
    .urgency-block {
        padding: 20px 15px;
    }
   
}

@media (max-width: 480px) {
    .quiz-options {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .quiz-option__img {
        height: 100px;
    }
.quiz-option__checkbox img {
    width: 10px;
    z-index: 1;
}
    .quiz-option p {
        font-size: 13px;
    }

    .quiz-items h3 {
        font-size: 18px;
    }

    .quiz-semifinal h4 {
    }
}

@media (max-width: 374px) {
    .quiz-options {
    }

    .quiz-option__img {
    }
}

/* ========================================
   4. SERVICES SECTION
   ======================================== */

.services-btn {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    text-align: left !important;
}

.services-btn svg {
    flex-shrink: 0 !important;
}

.services-btn p {
    text-align: left !important;
}

.services-btn.services-btn--active {
    background-color: #ffc107 !important;
}

.services-btn.services-btn--active svg {
    filter: brightness(0) invert(1) !important;
}

.services-btn.services-btn--active p {
    color: #694a01 !important;
}

@media (max-width: 991px) {
    .services {
        padding: 50px 0;
    }

    .services-header {
        font-size: 30px;
        text-align: center;
    }

    .services-title {
        text-align: center;
        font-size: 15px;
        margin-bottom: 5px;
    }

    .services-header__line {
        display: none;
    }

    .services-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin: 20px 0 30px;
    }

    .services-btn {
        padding: 12px 10px;
        margin-right: 0;
    }

    .services-btn svg {
        width: 20px;
        height: 20px;
    }

    .services-btn p {
        font-size: 15px;
    }
.services-price__footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 20px;
    width: 100%;
    justify-content: start;
    flex-direction: column;
    color: #fff;
    padding: 30px 30px 20px;
    text-align:center;
    line-height:1.3;
    gap:10px
}
    .header-phone__link {
    font-size: 25px;
    margin: 10px 0 0;
    display:block;
    color: #fff;
}
    .services-block {
        grid-template-columns: 1fr;
        gap: 0px;
    }.portfolio-item {
    margin-bottom: 0px;
}
.portfolio-img__item {
    height: 70px;
    border-radius: 5px;
    overflow: hidden;
}
    .services-pricelist {
        padding: 15px;
    }

    .services-priceline {
        flex-wrap: wrap;
        gap: 10px;
    }

    .services-priceline-name {
        width: 100%;
        font-size: 16px;
    }

    .services-pricefooter {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .services {
        padding: 40px 0;
    }

    .services-header {
        font-size: 24px;
    }

    .services-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .services-btn {
        padding: 13px 8px;
    }

    .services-btn p {
        font-size: 14px;
    }

    .services-btn svg {
        width: 18px;
        height: 18px;
    }

    .portfolio-imgright {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .portfolio-imgitem {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .services-buttons {
        grid-template-columns: 1fr;
    }

    .services-btn {
    }

    .services-btn p {
    }

    .services-btn svg {
        width: 16px;
        height: 16px;
    }

    .services-priceline-name {
        font-size: 14px;
    }

    .services-priceline-rub {
        font-size: 16px;
    }
}

@media (max-width: 374px) {
    .services-buttons {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .services-btn {
        padding: 12px 15px;
    }

    .services-btn p {
    }

    .services-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   5. CALL SECTION
   ======================================== */

@media (max-width: 991px) {
    .call {
        padding: 70px 15px 60px;
    }

    .call h3 {
    }

    .call-form {
        padding: 40px 35px;
        border-radius: 20px;
    }

    .call-wrapper {
        flex-direction: column;
        gap: 25px;
    }
.product-list--call-form .product-list__item {
    font-size: 16px;
}.product-list__item {
    padding-left: 40px;
    position: relative;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
}
    .product-list__item::before {
    content: '';
    display: block;
    width: 25px;
    height: 25px;
    margin-right: 20px!important;
    background-size: 8px;
}
    .product-list.product-list--call {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        margin-bottom: 30px;
    }

    .product-list.product-list--call-form {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 25px;
    }

    .call-inputs {
        flex-direction: column;
        gap: 15px;
    }
.call-phone{width:100%}
    .call-inputs .input,
    .call-inputs .btn {
        width: 100%;
    }

    .call__inner {
        flex-direction: column;
    }

    .product-list.nomob {
        display: none;
    }
}

@media (max-width: 767px) {
    .call {
        padding: 50px 15px 40px;
    }

    .call h3 {
    }

    .call h3 br {
        display: none;
    }

    .call-form {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .call-form .h2z {
        font-size: 1.4rem;
        line-height: 1.4;
        text-align: center;
        margin-bottom: 15px;
    }

    .call-inputs .input {
        height: 50px;
        font-size: 16px;
    }

    .call-inputs .btn {
        height: 50px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .call {
        padding: 40px 10px 35px;
    }

    .call h3 {
    }

    .call-form {
        padding: 25px 15px;
    }

    .call-form .h2z {
    }
}

/* ========================================
   6. SAFETY SECTION
   ======================================== */

@media (max-width: 991px) {
    .safety-section {
        padding: 50px 15px;
    }

    .safety-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .safety-card {
        padding: 12px;
    }
}

@media (max-width: 767px) {
    .safety-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .result-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    
}

@media (max-width: 480px) {
    .safety-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .safety-card {
        padding: 10px;
    }
}

/* ========================================
   7. FAQ SECTION
   ======================================== */

@media (max-width: 991px) {
    .faq {
        padding: 30px 0;
        margin-bottom: 0;
    }

    .faqwrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .faqitem {
        padding: 15px 25px;
    }

    .faqitem-title {
        font-size: 17px;
        max-width: 85%;
    }
}

@media (max-width: 767px) {
    .faqitem {
        padding: 12px 20px;
    }

    .faqitem-title {
        font-size: 15px;
    }

    .faqicon {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .faqitem {
        padding: 10px 15px;
    }

    .faqitem-title {
        font-size: 14px;
    }
}

/* ========================================
   8. CONTACTS SECTION
   ======================================== */

@media (max-width: 991px) {
    #contacts {
        padding: 60px 15px;
    }
.contacts-mail a {
    letter-spacing: .02em;
    font-weight: 700;
    font-size: 17px;
}
    .contacts-wrap {
        flex-direction: column;
        height: auto;
        padding: 30px 25px;
        gap: 30px;
        align-items: stretch;
    }

    .contacts-call,
    .contacts-messenger,
    .contacts-mail {
        text-align: center;
        width: 100%;
    }

    .contacts-call a {
        justify-content: center;
    }

    .header-socials__items {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    #contacts {
        padding: 50px 15px;
    }

    #contacts h3 br {
        display: none;
    }

    .contacts-wrap {
        padding: 25px 20px;
        gap: 25px;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    #contacts {
        padding: 40px 10px;
    }

    .contacts-wrap {
        padding: 20px 15px;
        gap: 20px;
    }
}

/* ========================================
   9. FOOTER SECTION
   ======================================== */

@media (max-width: 991px) {
    footer {
        padding: 30px 15px;
    }

    .footer-row {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-col {
        width: 100% !important;
        justify-content: center !important;
    }

    .footer-col-logo {
        flex-direction: column;
        align-items: center;
    }

    .footer-col-navigation {
        margin-left: 0;
        align-items: center;
    }

    .logo-text-1 {
        text-align: center;
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    footer {
        padding: 25px 15px 40px;
    }

    .footer-col-logo .logo img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 20px 10px 35px;
    }
}

/* ========================================
   10. PROMO / ADVANTAGES SECTION
   ======================================== */

@media (max-width: 991px) {
    .premo__row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .premo__item {
        padding: 15px;
    }

    .delivery-section {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
        margin: 20px;
    }
    .flex-delivery {
    flex-direction:column;
    gap: 16px;
}
}

@media (max-width: 767px) {
    .premo__row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .delivery-section {
        padding: 25px 15px;
        margin: 0px 20px 30px 20px;
    }
}

/* ========================================
   11. GLOBAL UTILITIES
   ======================================== */

@media (max-width: 991px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    h2, .services-header {
        font-size: clamp(24px, 4vw, 36px);
    }
.h-proekty{text-align:center;font-size:25px}
    h3 {
        font-size: clamp(20px, 3.5vw, 30px);
    }.promo-name {
    font-size: 21px;
    line-height: 1.4;
}
    .faq__item-title{font-size:15px;margin: 0;}
.section-title{font-size: 1.9rem;}
    section {
        padding: 50px 0 0;
    }
    .seo-text{font-size:15px}
    .faq__icon {
    margin-left: auto;
    width: 35px;
    height: 35px;
    font-size: 14px;
    line-height: 35px;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 12px;
    }
#seo {
    margin: 0;
}
    .btn {
        padding: 15px 25px;
        font-size: 15px;
    }

    section {
        padding: 40px 0;
    }

    .nomob,
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .btn {
        font-size: 14px;
    }

    section {
        padding: 35px 0;
    }
}

@media (max-width: 374px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 8px;
    }

    .btn {
    }
}

/* ========================================
   12. FORMS
   ======================================== */

@media (max-width: 767px) {
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    .form-input,
    .input {
        height: 50px;
        font-size: 16px;
        padding: 12px 15px;
    }

    .policy {
        margin-top: 15px;
        gap: 10px;
    }
.policy__check {
    width: 20px;
    height: 20px;
    border-radius: 5px;
   
}.policy__check img {
    width: 8px;
    display: none;
}
    .policytext {
        font-size: 11px;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    .form-input,
    .input {
        height: 48px;
        font-size: 15px;
    }

    .policytext {
        font-size: 10px;
    }
}

/* ========================================
   13. iOS FIXES
   ======================================== */

@supports (-webkit-touch-callout: none) {
    .hero,
    .call,
    #quiz {
        background-attachment: scroll;
    }

    input,
    textarea,
    select {
        font-size: 16px;
    }
}



@media (max-width: 767px) {
    .mainr2 {
        display: flex!important;
        right: 210px;
        z-index: 0;
        top: 60px;
        position: absolute;
        z-index: 1;
    }

    .mainr3 {
        right: 10px;
        display: flex!important;
        bottom: 160px;
    }

    .mainr img {
        height: 340px;
    }

    .mainr2 img {
        height: 70px;
        width: 70px;
    }

    .mainr3 img {
        height: 110px;
        width: 110px;
    }
	    }