/* ============================================
   ОБЩИЕ СТИЛИ (GLOBAL STYLES)
   ============================================ */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0a1628;
    --secondary-blue: #1a3a5c;
    --accent-blue: #2d5a87;
    --light-blue: #4a7ba7;
    --primary-red: #c41230;
    --red-hover: #a00e26;
    --white: #ffffff;
    --text-light: #e0e0e0;
    --text-gray: #9aa5b1;
    --border-color: #2d4a6a;
}
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Black.woff2') format('woff2'),
        url('../fonts/Gilroy-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Medium.woff2') format('woff2'),
        url('../fonts/Gilroy-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Regular.woff2') format('woff2'),
        url('../fonts/Gilroy-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-UltraLightItalic.woff2') format('woff2'),
        url('../fonts/Gilroy-UltraLightItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

body {
    font-family: 'gilroy', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: var(--primary-blue);
}

.container {
    max-width: 80vw;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER СЕКЦИЯ (HEADER SECTION)
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(28, 80, 172, 0.38);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(9.9px);
-webkit-backdrop-filter: blur(9.9px);
border: 1px solid rgba(28, 80, 172, 0.3);
}

.header-top {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.header-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: white;
    filter: blur(6px);
    transform: translateY(-50%);
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 65px;
    height: 108px;
    object-fit: contain;
    position: absolute;
    top: 17px;
}

.logo span {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--white);
}

.header-info {
    display: flex;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.info-item i {
    color: white;
    font-size: 16px;
}

body > header > div > div > div > div.header-info > div.info-item.phone > i {
    top: 5px;
    position: relative;
}

.work-time {
    display: flex;
    flex-direction: column;
}

.work-days {
    color: var(--text-light);
}

.work-weekend {
    color: var(--primary-red);
    font-weight: 500;
}

.phone a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 24px;
    transition: color 0.3s;
}

.phone a:hover {
    color: var(--primary-red);
}

/* Header Navigation */
.header-nav {
    padding: 8px 0;
    border-top: 1px solid rgba(101, 99, 99, 1);
    border-bottom: 1px solid rgba(101, 99, 99, 1);
    height: 46px;
}

.nav-menu {
    display: flex;
    justify-content: right;
    gap: 62px;
    list-style: none;
}
ul li {
  position: relative;
  line-height: 1.5;
}

ul li::before {
  content: "•";           /* или "\2022", или SVG через url() */
  position: absolute;
  left: -25px;             /* сдвиг влево от стандартной позиции */
  top: -0.15em;            /* точная вертикальная подгонка */
  font-size: 2.3em;       /* размер маркера */
  color: #ffffff;
  line-height: 1;         /* убираем лишнюю высоту строки */
}
body > header > nav > div > ul > li:nth-child(1)::before{display: none;}
.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}
.hero-features li::before{display: none;}
body > header > div > div > div > div.header-info > div:nth-child(1) > span::after{
    content: "|";
    left: 1.5vw;
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: rgba(33, 128, 255, 1);
    transition: width 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* ✅ ИСПРАВЛЕНО: Кнопка гамбургера скрыта по умолчанию */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
    /* Убраны position: fixed и display: flex отсюда */
}

/* ============================================
   HERO СЕКЦИЯ (HERO SECTION)
   ============================================ */
/*.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 180px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 2vw;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), url(../images/newMain.png) center / cover no-repeat;
    z-index: -2;
}*/
.hero {
    position: relative; /* обязательно для абсолютного позиционирования детей */
    min-height: 100vh;  /* или ваша высота секции */
    overflow: hidden;   /* чтобы видео не вылезало за границы */
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)), 
              url(../images/newMain.png) center/cover no-repeat;
  }
  .hero-bg-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)), 
              url(../images/newMain.png) center/cover no-repeat;
  z-index: -2;
}
.hero-bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  display: none; /* 🔑 скрыто на мобильных */
}
.hero::before,
.hero-overlay {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5));
  z-index: -1;
  pointer-events: none;
}

/* === ДЕСКТОП (от 769px и выше) === */
@media (min-width: 769px) {
  .hero {
    background: none; /* убираем фоновую картинку */
  }
  .contacts-mobile-wrap{display:none;}
  .hero-bg-image {
    display: none; /* скрываем картинку */
  }
  
  .hero-bg-video {
    display: block; /* показываем видео */
  }
}
  .hero-bg {
    position: absolute;
    top: 0; /* если 2vw был нужен для дизайна, верните, но 0 лучше для полного покрытия */
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;      /* аналог background-size: cover */
    object-position: center;/* аналог background-position: center */
    z-index: -2;
  }
  
  /* Градиент поверх видео */
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5));
    z-index: -1;
    pointer-events: none; /* клики проходят сквозь градиент */
  }
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.85) 50%, rgba(10,22,40,0.7) 100%);
    z-index: -3;
}

.hero-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 260px;
    align-items: center;
    position: relative;/*Правка*/
    top: 10vh;/*Правка*/
}

/* Hero Booking Form */
.booking-form {
    background: linear-gradient(199.5deg, rgba(28, 100, 197, 0.7) 1.99%, rgba(8, 19, 33, 0.7) 87.08%);
    border: 1px solid rgba(74,123,167,0.3);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 2px solid whitesmoke;
    width: 464px;
    height: 592px;
}

.booking-form h2 {
    font-family: Gilroy;
    font-weight: 700;
    font-size: 33px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 25px;
    margin-top:-10px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
    border: 1px solid;
    border-image-source: linear-gradient(264.88deg, #4092FF 31.88%, #2F578C 91.37%);
}

.form-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 18px;
    z-index: 1;
}

#bookingForm > div:nth-child(3) > i {
    top: 32px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 18px 20px 18px 55px;
    background: rgba(10,22,40,0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: #ffffff9e;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input::placeholder {
    color: var(--text-gray);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 20px rgba(74,123,167,0.3);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%234a7ba7' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 20px;
}

.form-group select option {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-submit {
    width: 100%;
    padding: 18px;
    border: 1px solid;
    border-image-source: linear-gradient(268.1deg, #B41A1A 8.96%, #FFFFFF 53.55%, #520606 98.14%);        
    background: linear-gradient(263.43deg, #7B0B0B 11.19%, #E21D1D 48.02%, #7B0B0B 89.24%);
    border-radius: 15px;
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(196,18,48,0.4);
    font-family: Gilroy;
}

.kamaz-text,
.kmzText,
.brand-title,
.nkmzText {
    display: inline-block;
    font-size: 96px;
    font-family: 'gilroy', system-ui, -apple-system, sans-serif;
}

.kmzText {
    background-image: linear-gradient(262.55deg, #8EBEFF 30.06%, #2180FF 69.53%, #144d99 89.9%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(196,18,48,0.6);
}

.quote {
    position: relative;
    font-size: 96px;
    padding: 1px 40px;
}

.quote::before {
    content: '"';
    position: absolute;
    left: 2px;
    top: 24px;
    font-size: 96px;
    color: rgba(20, 77, 153, 1);
    font-family: Arial, sans-serif;
}

.quote::after {
    content: '"';
    position: absolute;
    right: -2px;
    bottom: 16px;
    font-size: 96px;
    color: rgb(89 151 234);
    font-family: Arial, sans-serif;
    transform: rotate(15deg);
}

.callback-note {
    text-align: center;
    margin-top: 20px;
    font-size: 15px;
    color: var(--text-gray);
}

.callback-note i {
    color: white;
    transform: rotate(110deg);
    margin-right: 8px;
}

.callback-note strong {
    color: white;
}

/* Hero Text Content */
.hero-text {
    padding: 20px 0;
    position: relative;
    top: 5%;
}

.hero-text h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-features {
    list-style: none;
    line-height: 1;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    color: var(--text-light);
    font-weight: 600;
}

.hero-features li i {
    color: var(--primary-red);
    font-size: 24px;
    flex-shrink: 0;
    position: relative;
    top: 6px;
}

/* ============================================
   ОБЩИЕ СТИЛИ СЕКЦИЙ (COMMON SECTION STYLES)
   ============================================ */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 64px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: var(--white);
    font-family: 'gilroy', system-ui, -apple-system, sans-serif;
}

.section-description {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   SERVICES СЕКЦИЯ (SERVICES SECTION)
   ============================================ */
.services {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) -0.58%, #173D70 5.05%);
    padding: 100px 0;
}

.services-header {
    text-align: center;
    margin-bottom: 40px;
}

.services .section-title {
    font-size: 64px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--white);
    margin: 0;
    display: inline-block;
    font-family: 'gilroy', system-ui, -apple-system, sans-serif;
}

.services .title-divider {
    width: 25vw;
    height: 3px;
    background: white;
    border: none;
    margin: 20px auto 0;
    display: block;
}

.services .section-description {
    text-align: center;
    font-size: 32px;
    color: white;
    margin-bottom: 60px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 10;
}

.service-card {
    position: relative;
    border-radius: 15px;
    min-height: 327px;
    transition: all 0.4s ease;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0) 80%,
        transparent 100%
    );
    transition: left 0.6s ease;
    z-index: 3;
    pointer-events: none;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(196, 18, 48, 0.3);
    border-color: var(--primary-red);
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 30px;
    transition: all 0.4s ease;
}

.service-content h3 {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    text-align: center;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    transition: all 0.4s ease;
}

.service-card:hover .service-content h3 {
    text-shadow: 2px 2px 8px rgba(196, 18, 48, 0.5);
}

/* Services - Tablet & Mobile */
@media (max-width: 992px) {
    .service-card {
        min-height: 350px;
    }
    
    .services .title-divider {
        width: 240px;
    }
}

@media (max-width: 768px) {
    .services .section-title {
        font-size: 32px;
    }
    .breadcrumbs{display:none;}
    .services .title-divider {
        width: 200px;
        margin: 15px auto 0;
    }
    
    .services-header {
        margin-bottom: 30px;
    }
    
    .services .section-description {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    
    .service-card {
        min-height: 300px;
    }
    
    .service-content h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 60px 0;
    }
    .contact-right{
        width: 77vw !important;
        position: relative;
        left: -40px !important;
    }
    .contact-left{position: relative;left: -40px !important;}
    .services .section-title {
        font-size: 26px;
    }
    
    .services .title-divider {
        width: 160px;
    }
    
    .service-card {
        min-height: 250px;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-content h3 {
        font-size: 16px;
        letter-spacing: 1px;
    }
}

/* ============================================
   WORKS СЕКЦИЯ (WORKS SECTION)
   ============================================ */
.works {
    background: url('../images/workss.png') center/cover no-repeat;
    padding: 5px 0;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
}

.works .container {
    position: relative;
    z-index: 1;
}

.works .section-title {
    font-size: 64px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--white);
    margin: 0;
    display: block;
    text-align: center;
    font-family: 'gilroy', system-ui, -apple-system, sans-serif;
}

.works .title-divider {
    width: 28vw;
    height: 3px;
    background: white;
    border: none;
    margin: 20px auto 60px;
    display: block;
}

.works-truck-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 600px;
}

.truck-image {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100vw;
}

#works > div.container > div.works-truck-container > div.service-box.box-1 > div > svg {
    position: absolute;
    left: -65%;
    top: -26%;
}

.truck-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.service-box {
    position: absolute;
    z-index: 20;
}

.box-frame {
    width: 280px;
    height: 100px;
}

.box-frame img {
    object-fit: contain;
    display: block;
}

#works > div.container > div.works-truck-container > div.service-box.box-1 > div > img {
    position: absolute;
    left: -7%;
    top: -41%;
}

.box-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 94%;
    text-align: center;
    z-index: 25;
}

.box-content a {
    color: rgba(158, 235, 253, 1);
    font-size: 24px;
    line-height: 1.5;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

#works > div.container > div.works-truck-container > div.service-box.box-1 > div > div {
    top: 69%;
    left: 75%;
}
#works > div.container > div.works-desktop-view > div > div.service-box.box-2 > div{width: 381px;}
/* Box Positions */
.box-1 { top: -2%; left: 14%; }
.box-2 { top: -5%; right: 11%; }
.box-3 { top: 22%; left: 2%; }
.box-4 { top: 19%; right: -3%; }
.box-5 { bottom: 29%; left: -1.44%; }
.box-6 { bottom: 33.6%; right: -2%; }
.box-7 { bottom: 46.5%; right: -5%;}
@media (min-width:1400px){
#works > div.container > div.works-truck-container > div.service-box.box-4 > div > div > p{width: 500px;}}
#works > div.container > div.works-truck-container > div.service-box.box-2 > div > img {
    width: 472px;
}

#works > div.container > div.works-truck-container > div.service-box.box-2 > div > div {
    width: 400px;
    left: 85%;
    top: 73%;
}

#works > div.container > div.works-truck-container > div.service-box.box-3 > div > div {
    left: 80%;
    top: 100%;
}

#works > div.container > div.works-truck-container > div.service-box.box-4 > div > img {
    height: 146px;
    top: 31%;
    position: absolute;
    left: 17%;
}

#works > div.container > div.works-truck-container > div.service-box.box-4 > div > div {
    top: 106%;
    left: 106%;
}

#works > div.container > div.works-truck-container > div.service-box.box-5 > div > div {
    left: 75%;
    top: 100%;
}

#works > div.container > div.works-truck-container > div.service-box.box-6 > div > div {
    top: 42%;
}
#works > div.container > div.works-truck-container > div.service-box.box-7 > div > div{top: 44%;}
/* Connection Lines */
.connection-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #4a7ba7, transparent);
    height: 2px;
    z-index: 15;
    opacity: 0.6;
}

.line-1, .line-2, .line-3, .line-4, .line-5, .line-6 {
    width: 150px;
    top: 50%;
}

.line-1, .line-3, .line-5 { right: -150px; }
.line-2, .line-4, .line-6 { left: -150px; }

/* Decorative Wrenches */
.wrench {
    position: absolute;
    z-index: 5;
    opacity: 0.3;
}

.wrench-top-right {
    top: 20px;
    right: 20px;
    width: 150px;
    transform: rotate(45deg);
}

.wrench-bottom-left {
    bottom: 20px;
    left: 20px;
    width: 150px;
    transform: rotate(-135deg);
}

.wrench img {
    width: 100%;
    height: auto;
    display: block;
}

/* CTA Button */
.works-cta {
    text-align: center;
    position: relative;
    bottom: 5.4vw;
}

.btn-cta {
    padding: 15px 60px;
    border: 1px solid;
    border-image-source: linear-gradient(268.1deg, #B41A1A 8.96%, #FFFFFF 53.55%, #520606 98.14%);        
    background: linear-gradient(263.43deg, #7B0B0B 11.19%, #E21D1D 48.02%, #7B0B0B 89.24%);
    border-radius: 15px;
    color: var(--white);
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(196, 18, 48, 0.4);
    width: 390px;
    height: 60px;
    z-index: 25;
    position: relative;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(196, 18, 48, 0.6);
}

/* Works - Tablet & Mobile */
@media (max-width: 992px) {
    .works-truck-container { min-height: 500px; }
    .truck-image { width: 300px; }
    .box-frame { width: 240px; height: 90px; }
    .box-content p { font-size: 13px; }
    .box-1, .box-5 { left: 2%; }
    .box-2, .box-6 { right: 2%; }
}

@media (max-width: 1200px) {
    .truck-image{display: none;}
    .works { padding: 0px; }
    .works .section-title { font-size: 28px; }
    .works .title-divider { width: 150px; margin: 15px auto 40px; }
    .advantage-card{width: 310px;}
    .works-truck-container {
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 65px;
        position: relative;
    }
    #works > div.container > div.works-truck-container > div.service-box.box-7 > div > div{top: 94%;}
    .truck-image {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 250px;
        order: 1;
    }
    
    .service-box {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        order: 0;
        width: 100%;
        max-width: 350px;
    }
    
    .box-frame { width: 100%; height: 80px; }
    .box-content { width: 85%; }
    .box-content p { font-size: 14px; }
    .connection-line { display: none; }
    .wrench { display: none; }
    .works-cta { margin-top: 80px; order: 3; }
    .btn-cta { padding: 15px 40px; font-size: 16px; }
}

@media (max-width: 480px) {
    .truck-image { width: 200px; }
    .box-frame { height: 70px; }
    .box-content p { font-size: 18px; }
    .btn-cta { padding: 12px 30px; font-size: 14px; letter-spacing: 2px; }
    #works > div.container > div.works-truck-container > div.service-box.box-1 > div > img{display: none;}
    #works > div.container > div.works-truck-container > div.service-box.box-2 > div > img{display: none;}
    #works > div.container > div.works-truck-container > div.service-box.box-3 > div > img{display: none;}
    #works > div.container > div.works-truck-container > div.service-box.box-4 > div > img{display: none;}
    #works > div.container > div.works-truck-container > div.service-box.box-5 > div > img{display: none;}
    #works > div.container > div.works-truck-container > div.service-box.box-6 > div > img{display: none;}
    #works > div.container > div.works-truck-container > div.service-box.box-7 > div > img{display: none;}
    #works > div.container > div.works-truck-container > div.service-box.box-1 > div > svg{display: none;}
    #works > div.container > div.works-truck-container > div.service-box.box-1 > div > div.newLshs > svg{display: none;}
}

/* ============================================
   ADVANTAGES СЕКЦИЯ (ADVANTAGES SECTION)
   ============================================ */
.advantages {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) -0.58%, #173D70 0%);
    padding: 100px 0;
}

.advantages-header {
    text-align: center;
    margin-bottom: 60px;
}

.advantages .section-title {
    font-size: 64px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--white);
    margin: 0;
    display: block;
    font-family: 'gilroy', system-ui, -apple-system, sans-serif;
}

.advantages .title-divider {
    width: 100%;
    max-width: 28vw;
    height: 3px;
    background: white;
    border: none;
    margin: 3px auto 0;
    display: block;
}

.advantages-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 10;
}

.advantage-card {
    background: linear-gradient(208.57deg, #125CBF 3.53%, #254979 82.37%);
    border: 1px solid whitesmoke;
    border-radius: 15px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    gap: 50px;
    width: 350px;
    height: 300px;
}

.advantage-card:hover {
    border-color: var(--light-blue);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.advantage-icon {
    font-size: 55px;
    color: var(--primary-red);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(196, 18, 48, 0.1);
    border-radius: 50%;
}

.advantage-card h3 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-light);
    margin: 0;
}

/* Advantages - Tablet & Mobile */
@media (max-width: 992px) {
    .advantages-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .advantage-card { min-height: 220px; }
    .advantages .title-divider { max-width: 280px; }
}

@media (max-width: 768px) {
    .advantages .section-title { font-size: 32px; }
    .advantages .title-divider { max-width: 200px; margin: 15px auto 0; }
    .advantages-header { margin-bottom: 40px; }
    .advantages-grid { grid-template-columns: 1fr; gap: 20px; }
    .advantage-card { min-height: 200px; padding: 30px 20px; }
    .advantage-icon { font-size: 45px; width: 70px; height: 70px; margin-bottom: 20px; }
    .advantage-card h3 { font-size: 14px; height:100px;}
}

@media (max-width: 480px) {
    .advantages { padding-bottom: 20px; }
    .advantages .section-title { font-size: 28px; }
    .advantages .title-divider { max-width: 150px; }
    .advantage-card { min-height: 180px; padding: 25px 15px; }
    .advantage-icon img { font-size: 40px; width: 180px; height: 180px; margin-bottom: 15px; }
    .advantage-card h3 { font-size: 13px; }
    .advantage-card{width: 72.917vw;}
}

/* ============================================
   CONTACTS СЕКЦИЯ (CONTACTS SECTION)
   ============================================ */
.contacts {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) -0.58%, #173D70 0%);
    padding: 80px 0 120px;
    position: relative;
}
#contacts > div{width: 65vw;}
#contacts > div > div > div.contact-left > div.contact-qr-wrapper > div.contact-details > div:nth-child(2) > div.contact-icon > i {
    position: relative;
    top: 5px;
}

.contacts .section-title {
    font-size: 64px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 60px;
    text-align: center;
    color: var(--white);
    font-family: 'gilroy', system-ui, -apple-system, sans-serif;
}

.contacts-wrapper {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 7;
    padding-bottom:30px;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-branding { margin-bottom: 10px; }

.brand-subtitle {
    font-family: 'gilroy', system-ui, -apple-system, sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: -6%;
    text-transform: uppercase;
    text-shadow: 2px 2px 5px #000000;
}

.brand-ooo { position: relative; left: 8.5vw; }

.brand-title {
    font-size: 42px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    display: flex;
}

.brand-title span {
    display: block;
    font-size: 64px;
    font-weight: 500;
    color: white;
    margin-top: 10px;
}

/* QR Code + Contact Details */
.contact-qr-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.contact-qr {
    background: var(--white);
    border-radius: 10px;
    flex-shrink: 0;
}

.qr-image {
    width: 210px;
    height: 210px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(74, 123, 167, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 20px;
}

#contacts > div > div > div.contact-left > div.contact-qr-wrapper > div.contact-details > div:nth-child(1) > div.contact-icon > i {
    transform: rotate(110deg);
}

.contact-text { padding-top: 5px; }

.contact-text a,
.contact-text span {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    line-height: 1.5;
    transition: color 0.3s;
}

.contact-text a:hover { color: var(--primary-red); }

/* Contacts Right Side - Map */
.contact-right {
    height: 500px;
    position: relative;
    z-index: 10;
    width: 615px;
}

.map-container {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 10;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

@media (min-width: 1000px) and (max-width: 1400px) {
    .contact-right { width: 100%; }
}

/* ============================================
   FOOTER СЕКЦИЯ (FOOTER SECTION)
   ============================================ */
.footer {
    background: rgba(0, 29, 67, 1);
    padding: 25px 0 40px;
    border-top: 1px solid rgba(74, 123, 167, 0.3);
    position: relative;
    z-index: 11;
    margin-top: -190px;
}

.footer-content { display: flex; flex-direction: column; position: relative;
    left: 5vw;
    overflow: hidden;}

.footer-main {
    display: flex;
    align-items: anchor-center;
    gap: 65px;
    position: relative;
    left: 10%;
}

.footer-logo-section {
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
}

.footer-logo { display: flex; align-items: flex-start; }

.footer-logo img {
    width: 62px;
    height: 102px;
    object-fit: contain;
    display: block;
}

.footer-info-section {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.footer-nav { margin-bottom: 15px; }

.footer-nav nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.footer-nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    white-space: nowrap;
}

.footer-nav a:hover { color: var(--white); }

.footer-nav .divider { color: var(--border-color); }

.footer-bottom-info {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-schedule {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: var(--text-gray);
}

.footer-schedule .work-days {
    color: var(--white);
    font-weight: 500;
}

.footer-schedule .work-weekend {
    color: var(--primary-red);
    font-weight: 500;
}

.footer-links { display: flex; gap: 30px; }

.policy-link {
    color: var(--text-gray);
    text-decoration: underline;
    font-size: 13px;
    transition: color 0.3s;
}

.policy-link:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(74, 123, 167, 0.2);
    padding-top: 10px;
    text-align: center;
}

.footer-copyright p {
    color: var(--text-gray);
    font-size: 14px;
    text-align: center;
}

#modalForm > div:nth-child(2) > i { top: 61%; }
#modalForm > div:nth-child(3) > i { top: 57%; }
#modalForm > div:nth-child(4) > i { top: 54%; }

/* Footer - Responsive */
@media (max-width: 992px) {
    .footer-main {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }
    .footer-logo-section { justify-content: center; }
    .footer-nav nav { justify-content: center; }
    .footer-bottom-info { justify-content: center; gap: 30px; }
    .footer-schedule { justify-content: center; }
    .footer-links { justify-content: center; }
    .footer { margin-top: -60px; padding-top: 120px; }
}

@media (max-width: 768px) {
    .footer-nav nav { flex-direction: column; gap: 15px; }
    .footer-nav .divider { display: none; }
    .footer-bottom-info { flex-direction: column; gap: 20px; }
    .footer-schedule { flex-direction: column; gap: 8px; text-align: center; }
    .footer-links { flex-direction: column; gap: 15px; text-align: center; }
    .footer { margin-top: -40px; padding-top: 100px; }
}

@media (max-width: 480px) {
    .footer-logo img { width: 80px; height: 80px; }
    .footer-nav a { font-size: 13px; }
    .footer-schedule, .footer-links, .footer-copyright p { font-size: 12px; }
    .footer { margin-top: -30px; padding-top: 10px; }
}

/* ============================================
   MODAL СЕКЦИЯ (MODAL SECTION)
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(10,22,40,0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    margin: 5% auto;
    padding: 50px;
    border-radius: 20px;
    max-width: 550px;
    border: 1px solid var(--border-color);
    position: relative;
    animation: modalSlide 0.4s ease;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

@keyframes modalSlide {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 35px;
    cursor: pointer;
    color: var(--text-gray);
    transition: color 0.3s;
}

.close:hover { color: var(--primary-red); }

.modal h2 {
    color: var(--white);
    margin-bottom: 35px;
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
}

.modal .form-group textarea {
    width: 100%;
    padding: 54px 20px 18px 55px;
    background: rgba(10,22,40,0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--white);
    font-size: 16px;
    font-family: inherit;
    min-height: 120px;
    resize: vertical;
    transition: all 0.3s;
}

.modal .form-group textarea::placeholder { color: var(--text-gray); }

.modal .form-group textarea:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 20px rgba(74,123,167,0.3);
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--red-hover) 100%);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(196, 18, 48, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(196, 18, 48, 0.6);
    background: linear-gradient(135deg, var(--red-hover) 0%, var(--primary-red) 100%);
}

.scroll-top i { transition: transform 0.3s ease; }
.scroll-top:hover i { transform: translateY(-3px); }

@media (max-width: 768px) {
    .scroll-top { bottom: 20px; right: 20px; width: 45px; height: 45px; font-size: 18px; }
}

@media (max-width: 480px) {
    .scroll-top { bottom: 15px; right: 15px; width: 40px; height: 40px; font-size: 16px; }
}

/* ============================================
   LEGAL PAGE (ПРАВОЙ СЕКЦИИ)
   ============================================ */
.legal-page {
    padding: 180px 0 80px;
    min-height: 100vh;
    background: var(--primary-blue);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-header {
    text-align: center;
    margin-bottom: 50px;
}

.legal-header h1 {
    font-size: 48px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--white);
    font-family: 'gilroy', system-ui, -apple-system, sans-serif;
    margin-bottom: 20px;
}

.legal-header .divider {
    width: 200px;
    height: 3px;
    background: white;
    margin: 0 auto;
    border: none;
}

.consent-text-block {
    background: linear-gradient(199.5deg, rgba(28, 100, 197, 0.3) 1.99%, rgba(8, 19, 33, 0.5) 87.08%);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 35px 40px;
    margin-bottom: 40px;
}

.consent-text-block h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.consent-text-block p,
.consent-text-block li {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.consent-text-block ul {
    padding-left: 25px;
    margin: 15px 0 25px;
}

.consent-text-block strong { color: var(--white); }

.consent-text-block a {
    color: var(--light-blue);
    text-decoration: none;
    border-bottom: 1px dashed var(--light-blue);
    transition: color 0.3s;
}

.consent-text-block a:hover {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

.consent-form-wrapper {
    background: linear-gradient(199.5deg, rgba(28, 100, 197, 0.7) 1.99%, rgba(8, 19, 33, 0.7) 87.08%);
    border: 2px solid whitesmoke;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    max-width: 700px;
    margin: 0 auto;
}

.consent-form-wrapper h3 {
    font-family: Gilroy;
    font-weight: 700;
    font-size: 28px;
    text-align: center;
    color: var(--white);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.consent-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row .full-width { grid-column: 1 / -1; }

.form-field {
    position: relative;
    margin-bottom: 0;
    border: 1px solid;
    border-image-source: linear-gradient(264.88deg, #4092FF 31.88%, #2F578C 91.37%);
    border-radius: 10px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 18px 20px;
    background: rgba(10,22,40,0.6);
    border: none;
    border-radius: 10px;
    color: var(--white);
    font-size: 16px;
    font-family: gilroy;
    transition: all 0.3s;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-gray); }

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(74,123,167,0.3);
}

.form-field textarea {
    min-height: 90px;
    resize: vertical;
}

.form-field label {
    position: absolute;
    top: -10px;
    left: 15px;
    background: var(--primary-blue);
    padding: 0 10px;
    font-size: 12px;
    color: var(--light-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(10,22,40,0.4);
    border-radius: 10px;
    margin-top: 10px;
}

.checkbox-field input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary-red);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-field label {
    position: static;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-field label a {
    color: var(--light-blue);
    text-decoration: none;
}

.checkbox-field label a:hover { color: var(--primary-red); }

.btn-consent {
    width: 100%;
    padding: 18px;
    border: 1px solid;
    border-image-source: linear-gradient(268.1deg, #B41A1A 8.96%, #FFFFFF 53.55%, #520606 98.14%);        
    background: linear-gradient(263.43deg, #7B0B0B 11.19%, #E21D1D 48.02%, #7B0B0B 89.24%);
    border-radius: 15px;
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(196,18,48,0.4);
    font-family: Gilroy;
    margin-top: 10px;
}

.btn-consent:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(196,18,48,0.6);
}

.btn-consent:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-back {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    font-family: gilroy;
}

.btn-back:hover { color: var(--white); }

.form-status {
    margin-top: 15px;
    padding: 12px 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
    display: none;
    font-family: gilroy;
}

.form-status.success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #28a745;
    display: block;
}

.form-status.error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #dc3545;
    display: block;
}

/* Legal Page - Responsive */
@media (max-width: 992px) {
    .legal-header h1 { font-size: 36px; }
    .form-row { grid-template-columns: 1fr; }
    .consent-form-wrapper { padding: 30px 25px; }
}

@media (max-width: 768px) {
    .legal-page { padding: 140px 0 60px; }
    .legal-header h1 { font-size: 28px; }
    .wrench1, .wrench2, .wrench3 { display: none !important; }
    .consent-text-block, .consent-form-wrapper { padding: 25px 20px; }
    .consent-form-wrapper h3 { font-size: 22px; }
}

@media (max-width: 480px) {
    .legal-header h1 { font-size: 24px; }
    .wrench1, .wrench2, .wrench3 { display: none !important; }
    .btn-consent { font-size: 16px; padding: 15px; letter-spacing: 2px; }
}

/* ============================================
   ДЕКОРАТИВНЫЕ ЭЛЕМЕНТЫ
   ============================================ */
.wrench1 {
    position: absolute;
    top: 125%;
    left: -5%;
    transform: rotate(8deg);
    opacity: .8;
    z-index: 1;
}

.wrench2 {
    position: absolute;
    top: -4%;
    right: -7%;
    opacity: .8;
    z-index: 1;
}

.wrench3 {
    position: absolute;
    top: 245%;
    right: 56%;
    opacity: .8;
    z-index: 1;
}

/* ============================================
   МОБИЛЬНОЕ МЕНЮ (MOBILE MENU)
   ============================================ */

.mobile-menu-btn .hamburger,
.mobile-menu-btn .cross {
    position: absolute;
    transition: opacity 0.3s, transform 0.3s;
}

.mobile-menu-btn .cross {
    opacity: 0;
    transform: rotate(0deg);
}

.mobile-menu-btn.active .hamburger {
    opacity: 0;
    transform: rotate(90deg);
}

.mobile-menu-btn.active .cross {
    opacity: 1;
    transform: rotate(0deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -50%;
    width: 50%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    z-index: 1400;
    padding: 80px 25px 40px;
    transition: left 0.4s ease;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

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

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.7);
    z-index: 1300;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu .nav-menu {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    padding: 0;
}

.mobile-menu .nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 20px;
    border-radius: 8px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.mobile-menu .nav-menu a:hover,
.mobile-menu .nav-menu a.active {
    color: var(--white);
    background: rgba(74, 123, 167, 0.2);
    border-left-color: var(--primary-red);
}

.mobile-menu .nav-menu a::after { display: none; }

.mobile-menu-contacts {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.mobile-menu-contacts .info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-light);
}

.mobile-menu-contacts .info-item i {
    color: var(--primary-red);
    font-size: 18px;
    width: 24px;
}

.mobile-menu-contacts .phone a {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}


/* ============================================
   HEADER - MOBILE ADAPTATION
   ============================================ */
/* ✅ ИСПРАВЛЕНО: Здесь кнопка появляется только на мобильных */
@media (max-width: 768px) {
    
    .header-top { padding: 10px 0; }
    .logo { display: none; }
    
    .header-top-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 0 15px;
    }
    
    .header-info {
        width: 100%;
        justify-content: space-between;
        gap: 15px;
        margin: 0;
    }
    
    .header-info .info-item {
        gap: 6px;
        font-size: 12px;
        margin: 0;
    }
    
    .header-info .info-item i { font-size: 14px; }
    .header-info .work-time { display: none; }
    .header-nav {padding: 0; height: auto; border: none; }
    
    /* ✅ ИСПРАВЛЕНО: Показываем кнопку только на мобильных */
    .mobile-menu-btn {
        display: flex;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1500;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        background: #125CBF61;
        border-radius: 8px;
        transition: all 0.3s;
    }
    
    .mobile-menu-btn:hover { background: var(--primary-red); }
}

@media (max-width: 480px) {
    .header-info { gap: 10px; }
    .header-info .info-item { font-size: 13px; display: inline-block;}
    .header-info .info-item i { font-size: 9px; }
    body > header > div > div > div > div.header-info > div:nth-child(2){display: none;}
    body > header > div > div > div > div.header-info > div.info-item.phone > i > svg{width: 25px;position: relative;top: 5px;}
    #bookingForm > div:nth-child(2) > i > svg{width: 16px;}
    #bookingForm > div:nth-child(3) > i > svg{width: 20px;position: relative;top: -5px;}
    #bookingForm > div:nth-child(4) > i > svg{width: 16px;}
    #bookingForm > div:nth-child(5) > i > svg{width: 16px;}
    body > header > div > div > div > div.header-info > div:nth-child(1) > span::after{display: none;}
    .box-content{background: #091732af;
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(3.1px);
-webkit-backdrop-filter: blur(3.1px);
border: 1px solid rgba(103, 220, 242, 0.24);}
}

/* ============================================
   HERO - MOBILE ADAPTATION
   ============================================ */
@media (max-width: 768px) {
    .hero { padding: 120px 0 40px; min-height: auto; }
    .hero-bg {top: 0;}
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
        top: 0px;
    }
    .booking-form {
        width: 100%;
        max-width: 100%;
        padding: 25px 20px;
        height: auto;
        margin: 0 auto;
    }
    
    .booking-form h2 { font-size: 24px; margin-bottom: 20px; }
    
    .form-group input,
    .form-group select {
        padding: 14px 15px 14px 45px;
        font-size: 14px;
    }
    
    .form-group i { left: 15px; font-size: 16px; }
    .btn-submit { padding: 15px; font-size: 16px; letter-spacing: 2px; }
    .callback-note { font-size: 12px; margin-top: 15px; }
    
    .hero-text { padding: 0; top: 0; text-align: center; }
    .hero-text h1 { font-size: 24px; margin-bottom: 20px; line-height: 1.4; }
    
    .kamaz-text, .kmzText, .brand-title, .nkmzText {
        font-size: 42px;
        display: block;
        margin: 10px 0;
    }
    
    .quote { font-size: 42px; padding: 1px 20px; }
    .quote::before, .quote::after { font-size: 42px; }
    
    .hero-features {
        align-items: center;
        gap: 12px;
        margin-top: 20px;
        display: flex;
        flex-wrap: wrap;
    }
    
    .hero-features li { font-size: 14px; justify-content: center;flex-direction: row !important; }
    .hero-features li i { font-size: 16px; top: 3px; }
    .hero-features li span {text-align: start;}
    .kamaz-text{display: none;}
    .contact-branding{display: none;}
    .works{background: url(../images/workssMob.png) center / cover no-repeat;}
}

@media (max-width: 480px) {
    .hero { padding: 100px 0 30px; }
    .booking-form { padding: 20px 15px; }
    .booking-form h2 { font-size: 20px; }
    
    .form-group input,
    .form-group select {
        padding: 12px 12px 12px 40px;
        font-size: 13px;
    }
    
    .btn-submit { font-size: 14px; padding: 12px; }
    .hero-text h1 { font-size: 20px; }
    .kamaz-text { font-size: 32px; }
    .quote { font-size: 32px; }
    .hero-features li { font-size: 13px; }
}

/* ============================================
   FOOTER - MOBILE ADAPTATION
   ============================================ */
@media (max-width: 768px) {
    .footer { margin-top: 0; padding: 30px 0 20px; }
    .footer-content { padding: 0 15px; }
    
    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        left: 0;
    }
    
    .footer-logo-section { display: none; }
    .footer-info-section { width: 100%; }
    
    .footer-nav { margin-bottom: 20px; }
    .footer-nav nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .footer-nav a { font-size: 14px; padding: 5px 0; }
    .footer-nav .divider { display: none; }
    
    .footer-bottom-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }
    
    .footer-schedule {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        font-size: 13px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .policy-link { font-size: 12px; }
    
    .footer-bottom {
        margin-top: 20px;
        padding-top: 15px;
        text-align: left;
    }
    
    .footer-copyright p {
        font-size: 12px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .footer { padding: 25px 0 15px; }
    .footer-nav a { font-size: 13px; }
    .footer-schedule, .footer-copyright p { font-size: 11px; }
    .policy-link { font-size: 11px; }
}

/* ============================================
   ОБЩИЙ АДАПТИВ (GENERAL RESPONSIVE)
   ============================================ */
@media (max-width: 1200px) {
    .hero-content { grid-template-columns: 400px 1fr; gap: 50px; }
    .works-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: repeat(3, 1fr); }
    #services > div.container{max-width: 95vw;}
}
@media (min-width:470px) and (max-width:750px){
    .advantage-card{width: 35vw !important;}
    .advantage-card img{width: 100px;}
}
@media (min-width:910px) and (max-width:1200px)
{
    .advantage-card{width:25vw;}
    .advantage-card img{width: 180px;}
}
@media (max-width:1450px){    .contacts-wrapper{grid-template-columns: auto;}}
@media (min-width:769px) and (max-width:999px){
    .advantage-card{width:26vw !important;}
    .advantage-card img{width: 130px;}
    .advantage-card h3{font-size: 14px;}
}
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 25px;
        width: 90vw;
        position: relative;
        left: -40px;
        text-align: center;
    }
    
    .booking-form { max-width: 500px; margin: 0 auto; }
    .hero-text h1 { font-size: 38px; }
    .kamaz-text { font-size: 56px; }
    .hero-features li { justify-content: center; }
    
    .contacts-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-left {
        align-items: center;
        text-align: center;
    }
    
    .contact-branding { text-align: center; }
    
    .contact-qr-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .contact-item { justify-content: center; }
    .contact-right { height: 350px; width: 100%; }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo-section { justify-content: center; }
    .footer-nav nav { justify-content: center; }
    .footer-schedule { justify-content: center; }
    .footer-links { justify-content: center; }
    .footer { margin-top: -60px; padding-top: 120px; }
}

@media (max-width: 768px) {
    .header-top-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo { justify-content: center; }
    .header-info { justify-content: center; gap: 20px; }
    .info-item { flex-direction: column; gap: 5px; }
    

    
    .nav-menu.active { display: flex; }
    
    /* ✅ ИСПРАВЛЕНО: Убран дублирующий стиль, оставлен только в @media выше */
    
    .hero { padding: 180px 0 60px; min-height: auto; }
    .hero-text h1 { font-size: 28px; }
    .kamaz-text { font-size: 42px; }
    .section-title { font-size: 32px; }
    
    .contacts .section-title { font-size: 36px; margin-bottom: 40px; }
    .brand-title { font-size: 32px; }
    .brand-title span { font-size: 16px; }
    .qr-image { width: 150px; height: 150px; }
    .contact-right { height: 300px; width: 100%; }
    
    .works-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    
    .booking-form { padding: 30px 20px; }
    .modal-content { margin: 10% auto; padding: 35px 25px; }
    
    .footer-nav nav { flex-direction: column; gap: 15px; }
    .footer-nav .divider { display: none; }
    .footer-schedule { flex-direction: column; gap: 8px; text-align: center; }
    .footer-links { flex-direction: column; gap: 15px; text-align: center; }
    .footer { margin-top: -40px; padding-top: 100px; }
}
.wrench1, .wrench2, .wrench3 {
    /* Включаем аппаратное ускорение для плавности */
    will-change: transform;
    /* Плавный переход для мобильных */
    transition: transform 0.1s ease-out;
}

/* Отключаем анимацию на мобильных для производительности */
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
    .wrench1, .wrench2, .wrench3 {
        will-change: auto;
        transition: none;
    }
}
@media (max-width: 480px) {
    .logo span { font-size: 12px; }
    body > footer > div{margin: 0px !important;}
    .header-info { gap: 15px; }
    .info-item { font-size: 12px; }
    #scrollTopBtn{background: rgba(209, 41, 41, 0.36);
            border-radius: 16px;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(7.3px);
            -webkit-backdrop-filter: blur(7.3px);
            border: 1px solid rgba(209, 41, 41, 0.19);}
    .booking-form h2 { font-size: 24px; }
    .hero-text h1 { font-size: 24px; }
    .kamaz-text { font-size: 36px; }
    .mobile-menu .nav-menu a{font-size: .6rem;}
    .mobile-menu-contacts .info-item{align-items: start;padding-left:10px;}
    .work-time{padding-left:10px;}
    body > aside > nav > ul > li:nth-child(1)::before{display: none;}
    body > aside > nav > ul > li:nth-child(2)::before{display: none;}
    body > aside > nav > ul > li:nth-child(3)::before{display: none;}
    body > aside > nav > ul > li:nth-child(4)::before{display: none;}
    body > aside > nav > ul > li:nth-child(5)::before{display: none;}
    body > aside > nav > ul > li:nth-child(6)::before{display: none;}
    body > aside > nav > ul > li:nth-child(7)::before{display: none;}
    ul li{padding-left: 0;}
    body > header > div > div > div > div.header-info{position: relative;left: -40px;align-items: start;flex-direction: column;}
    .hero-features li {
        font-size: 15px;
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-submit, .btn-cta {
        padding: 15px 30px;
        font-size: 15px;
        letter-spacing: 2px;
        width: 90%;
    }
    #works .container .works-truck-container .service-box:is(.box-1, .box-2, .box-3, .box-4, .box-5, .box-6, .box-7) > div > div {
        top: 0% !important;
        left: -15% !important;
        border-radius: 12px;
        height: 75px;
        align-content: space-around;
        width: 90vw !important;

    }
    body > header > nav > div > ul{display: none !important;}
    .truck-image img{display: none;}
    .box-content{transform: translate(0%,0%);}
    .advantages-grid { grid-template-columns: 1fr; }
    
    .contact-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .contacts .section-title { font-size: 28px; }
    .brand-title { font-size: 26px; }
    .qr-image { width: 120px; height: 120px; }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .contact-icon { width: 40px; height: 40px; }
    .contact-text a, .contact-text span { font-size: 16px; }
    .contact-right { height: 250px; width: 100%; }
    
    .footer-logo img { width: 80px; height: 80px; }
    .footer-nav a { font-size: 13px; }
    .footer-schedule, .footer-links, .footer-copyright p { font-size: 12px; }
    .footer { margin-top: -30px; padding-top: 10px; }
}
.box-content {
        word-break: normal;
        overflow-wrap: break-word; /* Безопасный перенос длинных слов */
        /* Ваши существующие стили остаются без изменений */
      }
      
      .box-content .char {
        display: inline;
        color: inherit;
        font: inherit;
        line-height: inherit;
        letter-spacing: inherit;
        margin: 0;
        padding: 0;
        transition: 
          color 0.12s cubic-bezier(0.4, 0, 0.2, 1),
          text-shadow 0.12s cubic-bezier(0.4, 0, 0.2, 1);
        transition-delay: var(--delay, 0s);
      }
      
      .box-content.is-shining .char {
        color: #00f3ff;
        text-shadow: 
          0 0 4px #00f3ff,
          0 0 8px #00f3ff,
          0 0 16px #00f3ff,
          0 0 32px #008899;
      }
      .newLshs{position: relative;
    top: -24% !important;
    left: -66% !important;}
    .kamaz-img {
    width: 100%; /* Или фиксированный размер */
    display: block;
}

/* 2. Общие стили для фар */
.headlight {
    position: absolute;
    width: 20px;  /* Размер светового ядра */
    height: 20px;
    background: rgba(255, 255, 255, 0.9); /* Белая середина */
    border-radius: 50%;
    opacity: 0; /* Скрыты по умолчанию */
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none; /* Чтобы курсор не застревал на фарах */
    z-index: 2; /* Поверх картинки */
    
    /* Создаем мощное свечение */
    box-shadow: 
        0 0 20px 10px rgba(255, 255, 255), /* Внутреннее свечение */
        0 0 60px 30px rgba(200, 230, 255); /* Внешний ореол */
        
    filter: blur(6px); /* Немного размытия для реалистичности */
}

/* 3. Позиционирование (Вам нужно будет подогнать эти значения под вашу картинку!) */

/* Левая фара */
.headlight-left {
    top: 81%;  /* Примерно: подбирайте в DevTools */
    left: 51%; /* Примерно: подбирайте в DevTools */
    transform: translate(-50%, -50%) scale(0.5); /* Центр элемента и уменьшение */
}

/* Правая фара */
.headlight-right {
    top: 81%;  /* Примерно: подбирайте в DevTools */
    left: 61%; /* Примерно: подбирайте в DevTools */
    transform: translate(-50%, -50%) scale(0.5);
}

.headlights-on .headlight {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Опционально: мигание при включении */
.headlights-on .headlight {
    animation: turn-on 0.3s ease-out forwards;
}

@keyframes turn-on {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@media (min-width:481px) and (max-width:1200px)
{
    .newLshs{display: none;}
    .header{background: rgba(13, 76, 106, 0.36);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(7.3px);
        -webkit-backdrop-filter: blur(7.3px);
        border: 1px solid rgba(13, 76, 106, 0.19);}
#scrollTopBtn{background: rgba(209, 41, 41, 0.36);
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(7.3px);
        -webkit-backdrop-filter: blur(7.3px);
        border: 1px solid rgba(209, 41, 41, 0.19);}
.booking-form h2 { font-size: 24px; }
.hero-text h1 { font-size: 24px; }
.kamaz-text { font-size: 36px; }
.mobile-menu .nav-menu a{font-size: .7rem;}
body > aside > nav > ul > li:nth-child(1)::before{display: none;}
body > aside > nav > ul > li:nth-child(2)::before{display: none;}
body > aside > nav > ul > li:nth-child(3)::before{display: none;}
body > aside > nav > ul > li:nth-child(4)::before{display: none;}
body > aside > nav > ul > li:nth-child(5)::before{display: none;}
body > aside > nav > ul > li:nth-child(6)::before{display: none;}
body > aside > nav > ul > li:nth-child(7)::before{display: none;}
#works > div.container > div.works-truck-container > div.service-box.box-1 > div > img{display: none;}
#works > div.container > div.works-truck-container > div.service-box.box-2 > div > img{display: none;}
#works > div.container > div.works-truck-container > div.service-box.box-3 > div > img{display: none;}
#works > div.container > div.works-truck-container > div.service-box.box-4 > div > img{display: none;}
#works > div.container > div.works-truck-container > div.service-box.box-5 > div > img{display: none;}
#works > div.container > div.works-truck-container > div.service-box.box-6 > div > img{display: none;}
#works > div.container > div.works-truck-container > div.service-box.box-7 > div > svg{display: none;}
#works > div.container > div.works-truck-container > div.service-box.box-1 > div > div.newLshs > svg{display: none;}
.box-content{background: #0a1833fa;border-radius: 16px;box-shadow: 0 4px 30px rgba(0, 0, 0, 0.473);backdrop-filter: blur(5.5px);-webkit-backdrop-filter: blur(5.5px);border: 1px solid rgba(130, 144, 172, 0.13);}
.truck-image{display: none;}
#works > div.container > div.works-truck-container > div.service-box.service-box:is(.box-1, .box-2, .box-3, .box-4, .box-5, .box-6, .box-7) > div > div {width: 110vw;height: 10vh;}
#works > div.container > div.works-truck-container > div.service-box.service-box:is(.box-1, .box-2, .box-3, .box-4, .box-5, .box-6, .box-7) > div > div > p {font-size: 2rem;position: relative;gap: 30px;}
#works > div.container > div.works-truck-container > div.service-box.service-box:is(.box-1, .box-2, .box-3, .box-4, .box-5, .box-6, .box-7) > div > div{right: 0px;position: relative;left: 3vw;}
.works-truck-container{left: 14vw;padding: 80px;}
#works > div.container > div.works-truck-container > div.service-box.box-2 > div > div {top: 100%;}
#works > div.container > div.works-truck-container > div.service-box.box-1 > div > div.box-content.tech-box{top: 100%;}#works > div.container > div.works-truck-container > div.service-box.box-6{top: 45px;}
}
@media (min-width:1202px) and (max-width:1400px){
    .box-1{left: 4%;}.box-2{right: 6%;}.box-3{left: -18%;}.box-4{right:-2%}.box-5{bottom: 36%;left: -18.1%;}.box-6{right: -14%;}.newLshs {left: -90% !important;}
}
/*________КУКИЕС____________*/
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(28, 80, 172, 0.3);
    backdrop-filter: blur(11.8px);
    -webkit-backdrop-filter: blur(11.8px);
    border: 1px solid rgba(28, 80, 172, 0.06);
    color: #fff;
    padding: 16px 20px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 1px solid #2180FF;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    font-family: 'Roboto', sans-serif;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
    padding-right: 30px;
}

.cookie-icon {
    flex-shrink: 0;
    color: #2180FF;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.cookie-text {
    flex: 1;
    min-width: 0;
}

.cookie-text h4 {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.cookie-text a {
    color: #2180FF;
    text-decoration: none;
    font-weight: 500;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-decline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}

.btn-decline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.btn-accept {
    background: #2180FF;
    color: #fff;
    box-shadow: 0 4px 12px rgba(33, 128, 255, 0.4);
}

.btn-accept:hover {
    background: #1a6be6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 128, 255, 0.6);
}

.cookie-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    line-height: 1;
}

.cookie-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
@media (max-width: 993px){
        .nav-menu{display: none;}
        .breadcrumbs{display: none;}
}
/* Мобильная адаптация */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        padding-right: 25px;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
        margin-top: 12px;
	margin-left: 25px;
    }
    
    .btn-cookie {
        flex: 1;
        max-width: 180px;
    }
    
    .cookie-text p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 14px 16px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .btn-cookie {
        max-width: 100%;
    }
}
/*________КонецКукиес_______*/
/*Ошибка модалки*/
/* Сообщение над модалкой */
.modal-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    z-index: 10001;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.3s ease;
    text-align: center;
    max-width: 90%;
    width: 450px;
}

.modal-message.show {
    display: block;
}

.modal-message.success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.modal-message.error {
    background: linear-gradient(135deg, #F44336 0%, #da190b 100%);
}

@keyframes fadeInDown {
    from {
        transform: translateX(-50%) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}
/*КОНЕЦ ОШИБКИ МОДАЛКИ*/
@media (max-width: 1550px) {
    .works-truck-container { transform: scale(0.97); }
}

@media (max-width: 1500px) {
    .works-truck-container { transform: scale(0.85);}
    .truck-image{left: 51% !important;}
}

@media (max-width: 1450px) {
    .works-truck-container { transform: scale(0.91); }
    .truck-image{left: 52% !important;}
}

@media (max-width: 1400px) {
    .works-truck-container { transform: scale(0.88); }
    .truck-image{left: 43% !important;}
}

@media (max-width: 1350px) {
    .works-truck-container { transform: scale(0.85); }
    .truck-image{left: 44% !important;}
}

@media (max-width: 1300px) {
    .works-truck-container { transform: scale(0.82); }
    .truck-image{left: 46% !important;}
}

@media (max-width: 1250px) {
    .works-truck-container { transform: scale(0.79); }
    .truck-image{left: 48% !important;}
}

@media (max-width: 1200px) {
    .works-truck-container { transform: scale(0.76); }
    .truck-image{left: 57% !important;}
}
    /* === 📱 Плавающая кнопка телефона (только мобильные) === */
.mobile-phone-fab {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: rgba(209, 41, 41, 0.36);
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(7.3px);
        -webkit-backdrop-filter: blur(7.3px);
        border: 1px solid rgba(209, 41, 41, 0.19);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    /* Скрыто по умолчанию — покажем только на мобильных */
    display: none;
}

.mobile-phone-fab img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1); /* Делаем иконку белой */
    pointer-events: none;
}

/* Всплывающая подсказка (опционально) */
.mobile-phone-fab .fab-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
}

.mobile-phone-fab:hover .fab-tooltip,
.mobile-phone-fab:active .fab-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* Эффект нажатия */
.mobile-phone-fab:active {
    transform: scale(0.95);
    box-shadow: 0 2px 12px rgba(0, 98, 143, 0.3);
}

/* Пульсация для привлечения внимания (опционально) */
@keyframes fabPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(0, 98, 143, 0.4); }
    50% { box-shadow: 0 4px 32px rgba(0, 98, 143, 0.7); }
}
.mobile-phone-fab {
    animation: fabPulse 2s infinite;
}

/* === 🖥️ Показываем ТОЛЬКО на мобильных (до 768px) === */
@media (max-width: 768px) {
    .mobile-phone-fab {
        display: flex; /* Включаем кнопку */
    }
    
}
.modal-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    z-index: 10001;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.3s ease;
    text-align: center;
    max-width: 90%;
    width: 450px;
}

.modal-message.show {
    display: block;
}

.modal-message.success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.modal-message.error {
    background: linear-gradient(135deg, #F44336 0%, #da190b 100%);
}

@keyframes fadeInDown {
    from {
        transform: translateX(-50%) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}
/*КОНЕЦ ОШИБКИ МОДАЛКИ*/
@media (max-width: 1550px) {
    .works-truck-container { transform: scale(0.97); }
}

@media (max-width: 1500px) {
    .works-truck-container { transform: scale(0.85);}
    .truck-image{left: 51% !important;}
}

@media (max-width: 1450px) {
    .works-truck-container { transform: scale(0.91); }
    .truck-image{left: 52% !important;}
}

@media (max-width: 1400px) {
    .works-truck-container { transform: scale(0.88); }
    .truck-image{left: 43% !important;}
}

@media (max-width: 1350px) {
    .works-truck-container { transform: scale(0.85); }
    .truck-image{left: 44% !important;}
}

@media (max-width: 1300px) {
    .works-truck-container { transform: scale(0.82); }
    .truck-image{left: 46% !important;}
}

@media (max-width: 1250px) {
    .works-truck-container { transform: scale(0.79); }
    .truck-image{left: 48% !important;}
}

@media (max-width: 1200px) {
    .works-truck-container { transform: scale(0.76); }
    .truck-image{left: 57% !important;}
}
/* ===== СЕКЦИЯ "О НАС" — ИСПРАВЛЕННЫЕ ПРОПОРЦИИ 16:9 ===== */
.about {
    padding: 80px 0;
    background: linear-gradient(180deg, #0a1628 0%, #0f1e35 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top right, rgba(0, 208, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(0, 208, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.about .container {
    position: relative;
    z-index: 2;
}

/* Заголовок по центру */
.about-header {
    text-align: center;
    margin-bottom: 48px;
}

.about-header .section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.about-header .title-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00D0FF, transparent);
    border: none;
    margin: 0 auto;
    border-radius: 2px;
}

/* Сетка: 40% изображение, 60% текст */
.about-grid {
    display: grid;
    grid-template-columns: 4fr 6fr; /* 40% / 60% */
    gap: 48px;
    align-items: start;
}

/* Левая колонка — изображение */
.about-col-image {
    position: relative;
    display: flex;
    align-items: center; /* Центрируем изображение по вертикали */
}

.about-image-box {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 0 0 2px rgba(0, 208, 255, 0.25),
        0 25px 80px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    
    /* 🔥 ИСПРАВЛЕНИЕ: пропорция 16:9 для вашего фото */
    aspect-ratio: 14/10;
    width: 100%;
}

.about-image-box:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 0 0 2px rgba(0, 208, 255, 0.6),
        0 35px 100px rgba(0, 208, 255, 0.25);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔥 Ключевое: обрезает фото без искажений */
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.about-image-box:hover .about-image {
    transform: scale(1.03);
}

.about-image-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        transparent 0%, 
        transparent 40%, 
        rgba(10, 22, 40, 0.7) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Правая колонка — текст */
.about-col-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 8px; /* Визуальное выравнивание с изображением */
}

.about-text {
    color: #b8c5d9;
    font-size: 1.18rem;
    line-height: 1.75;
}

.about-text p {
    margin-bottom: 18px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: #fff;
    font-weight: 600;
}

/* Список преимуществ */
.about-highlights {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #b8c5d9;
    font-size: 0.98rem;
    line-height: 1.5;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 208, 255, 0.1);
}

.about-highlights li:last-child {
    border-bottom: none;
}

.about-highlights li i {
    flex-shrink: 0;
    margin-top: 2px;
}

.about-highlights li span {
    flex: 1;
}

/* ===== АДАПТИВ — УЛУЧШЕННЫЙ ===== */

/* Планшеты (992–1200px) */
@media (max-width: 1200px) {
    .about-grid {
        gap: 40px;
    }
    
    .about-header .section-title {
        font-size: 2rem;
    }
}

/* Планшеты (768–991px) — переход в одну колонку */
@media (max-width: 991px) {
    .about {
        padding: 70px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr; /* Одна колонка */
        gap: 36px;
    }
    
    .about-col-image {
        max-width: 680px; /* Ограничиваем ширину изображения */
        margin: 0 auto;
    }
    
    .about-image-box {
        aspect-ratio: 16/9;
        border-radius: 20px;
    }
    
    .about-col-text {
        padding-top: 0;
        text-align: center; /* Центрируем текст на планшете */
        align-items: center;
    }
    
    .about-highlights {
        align-items: flex-start;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Мобильные (до 768px) */
@media (max-width: 768px) {
    .about {
        padding: 56px 0;
    }
    
    .about-header {
        margin-bottom: 36px;
    }
    
    .about-header .section-title {
        font-size: 1.75rem;
        letter-spacing: 0.5px;
    }
    
    .about-header .title-divider {
        width: 60px;
        height: 3px;
    }
    
    .about-grid {
        gap: 32px;
    }
    
    .about-col-image {
        max-width: 100%;
    }
    
    .about-image-box {
        aspect-ratio: 16/9;
        border-radius: 16px;
        box-shadow: 
            0 0 0 2px rgba(0, 208, 255, 0.2),
            0 20px 60px rgba(0, 0, 0, 0.4);
    }
    
    .about-text {
        font-size: 1rem;
        line-height: 1.65;
        text-align: left; /* Возвращаем выравнивание текста */
    }
    
    .about-col-text {
        align-items: flex-start;
        text-align: left;
    }
    
    .about-highlights {
        align-items: flex-start;
        max-width: 100%;
        margin: 8px 0 0 0;
        gap: 12px;
    }
    
    .about-highlights li {
        font-size: 0.95rem;
        padding: 6px 0;
    }
}

/* Очень маленькие экраны (до 480px) */
@media (max-width: 480px) {
    .about {
        padding: 44px 0;
    }
    
    .about-header .section-title {
        font-size: 1.5rem;
    }
    
    .about-header .title-divider {
        width: 50px;
    }
    
    .about-text {
        font-size: 0.95rem;
    }
    
    .about-highlights li {
        font-size: 0.9rem;
        gap: 10px;
    }
    
    .about-highlights li i svg {
        width: 16px;
        height: 16px;
    }
}

/* Анимация появления (если используется data-reveal) */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
/* ===== DROPDOWN — БАЗОВЫЕ СТИЛИ ===== */
.nav-item-has-dropdown { position: relative; }

.nav-dropdown {
    position: absolute;
    top: 100%; left: 0;
    min-width: 240px;
    background: #0a1628;
    border: 1px solid rgba(0, 208, 255, 0.3);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.nav-dropdown li { list-style: none; }
.nav-dropdown a {
    display: block; padding: 10px 16px;
    color: #b8c5d9; text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
}
.nav-dropdown a:hover {
    background: rgba(0, 208, 255, 0.1);
    color: #fff; padding-left: 20px;
}

/* Показ дропдауна на десктопе */
@media (min-width: 992px) {
    .header-nav .nav-item-has-dropdown:hover .nav-dropdown,
    .header-nav .nav-item-has-dropdown.active .nav-dropdown {
        opacity: 1; visibility: visible; transform: translateY(0);
    }
}

/* Стрелка */
.dropdown-arrow {
    display: inline-block; margin-left: 6px;
    transition: transform 0.2s ease; vertical-align: middle;
}
.nav-item-has-dropdown.active .dropdown-arrow,
.nav-item-has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

/* ===== МОБИЛЬНЫЙ DROPDOWN ===== */
@media (max-width: 991px) {
    .nav-dropdown {
        position: static; opacity: 1; visibility: visible; transform: none;
        background: transparent; border: none; box-shadow: none;
        padding: 0; max-height: 0; overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav-dropdown a {
        padding: 12px 16px 12px 36px; font-size: 0.9rem; color: #8a9db3;
    }
    .nav-dropdown a:hover {
        background: rgba(0, 208, 255, 0.08); color: #fff; padding-left: 40px;
    }
    .dropdown-arrow { float: right; margin: 4px 0 0 0; transition: transform 0.3s ease; }
    .nav-item-has-dropdown.active .dropdown-arrow { transform: rotate(180deg); }
}

/* ===== FOOTER DROPDOWN (DESKTOP ONLY) ===== */
@media (min-width: 992px) {
    .footer-dropdown { position: relative; display: inline-block; margin: 0 4px; }
    .footer-dropdown-toggle {
        cursor: pointer; position: relative; padding-right: 18px;
        color: #b8c5d9; text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
    }
    .footer-dropdown-toggle:hover { color: #fff; }
    .footer-dropdown-toggle::after {
        content: ''; width: 0; height: 0;
        border-left: 5px solid transparent; border-right: 5px solid transparent;
        border-top: 5px solid #00D0FF; margin-left: 4px;
        transition: transform 0.2s ease; display: inline-block;
    }
    .footer-dropdown:hover .footer-dropdown-toggle::after,
    .footer-dropdown.active .footer-dropdown-toggle::after {
        transform: rotate(180deg); border-top-color: #fff; border-bottom: 5px solid transparent; border-top: none;
    }
    .footer-dropdown-menu {
        position: absolute; bottom: 100%; left: 50%;
        transform: translateX(-50%) translateY(8px);
        min-width: 260px; background: #0a1628;
        border: 1px solid rgba(0, 208, 255, 0.3); border-radius: 8px;
        padding: 8px 0; opacity: 0; visibility: hidden;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
        z-index: 1001; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
        pointer-events: none; margin-bottom: 4px;
    }
    .footer-dropdown:hover .footer-dropdown-menu,
    .footer-dropdown.active .footer-dropdown-menu {
        opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto;
    }
    .footer-dropdown-menu li { list-style: none; }
    .footer-dropdown-menu a {
        display: block; padding: 10px 16px; color: #b8c5d9;
        text-decoration: none; font-size: 0.9rem;
        transition: background 0.2s, color 0.2s, padding-left 0.2s;
    }
    .footer-dropdown-menu a:hover {
        background: rgba(0, 208, 255, 0.1); color: #fff; padding-left: 20px;
    }
}

/* Футер на мобильном — плоский список */
@media (max-width: 991px) {
    .footer-dropdown { display: block !important; margin: 8px 0; }
    .footer-dropdown-toggle {
        display: block; padding: 8px 0; color: #fff; font-weight: 500; pointer-events: none;
    }
    .footer-dropdown-toggle::after { display: none; }
    .footer-dropdown-menu {
        position: static !important; opacity: 1 !important; visibility: visible !important;
        transform: none !important; background: transparent !important; border: none !important;
        box-shadow: none !important; padding: 0 !important; pointer-events: auto !important;
        margin: 0 !important; display: block !important;
    }
    .footer-dropdown-menu a {
        padding: 6px 0 6px 16px !important; color: #8a9db3 !important; font-size: 0.9rem !important;
    }
    .footer-dropdown-menu a:hover { color: #fff !important; padding-left: 20px !important; background: transparent !important; }
}
/* ===== FOOTER — ПОЛНАЯ НАВИГАЦИЯ ===== */
.footer-nav nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.footer-nav a {
    color: #b8c5d9;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.footer-nav a:hover,
.footer-nav a:focus {
    color: #00D0FF;
}

.footer-nav .divider {
    color: rgba(184, 197, 215, 0.4);
    user-select: none;
    font-size: 0.85rem;
}

/* Адаптив футера */
@media (max-width: 991px) {
    .footer-nav nav {
        flex-direction: column;
        gap: 2px;
    }
    
    .footer-nav .divider {
        display: none;
    }
    
    .footer-nav a {
        font-size: 0.95rem;
        padding: 3px 0;
        text-align: center;
    }
}
@media (min-width:1200px){
    .hero-mobile-header,.hero-cta-buttons{display: none;}
}
@media (max-width: 480px) {
    .footer-nav a {
        font-size: 1rem;
    }
}
.box-content .box-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(158, 235, 253, 1);
    font-size: 24px;
    line-height: 1.5;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.box-content .box-link:hover {
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 208, 255, 0.8);
}
.box-content .box-link {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
.nav-menu,
.mobile-menu,
.footer-nav,
.hero-features,
.engine-services ul,
.engine-process ul,
.diagnostics-services ul,
.diagnostics-process ul,
.chassis-services ul,
.chassis-process ul,
.bodywork-services ul,
.bodyword-process ul,
.tires-services ul,
.tires-process ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

.nav-menu li,
.mobile-menu li,
.footer-nav li,
.hero-features li,
.advantages-grid li,
.services-grid li,
.engine-services li,
.engine-process li,
.diagnostics-services li,
.diagnostics-process li,
.chassis-services li,
.chassis-process li,
.bodywork-services li,
.bodyword-process li,
.tires-services li,
.tires-process li {
    list-style: none !important;
}
.hero-checklist li:before{display: none;}
body > header > nav > div > ul > li.nav-item-has-dropdown > ul > li:nth-child(1)::before{list-style:none;}
body > header > nav > div > ul > li.nav-item-has-dropdown > ul > li:nth-child(2)::before{list-style:none;}
body > header > nav > div > ul > li.nav-item-has-dropdown > ul > li:nth-child(3)::before{list-style:none;}
body > header > nav > div > ul > li.nav-item-has-dropdown > ul > li:nth-child(4)::before{list-style:none;}
body > header > nav > div > ul > li.nav-item-has-dropdown > ul > li:nth-child(5)::before{list-style:none;}
/* ===== BREADCRUMBS — УЛУЧШЕННАЯ СТИЛИЗАЦИЯ ===== */
.breadcrumbs {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 208, 255, 0.15);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    margin-top:13vh;
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs-list li {
    display: flex;
    align-items: center;
}

/* Разделитель-шеврон между элементами */
.breadcrumbs-list li:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 8px;
    border-right: 2px solid rgba(0, 208, 255, 0.5);
    border-top: 2px solid rgba(0, 208, 255, 0.5);
    transform: rotate(45deg);
    transition: border-color 0.2s ease;
}

.breadcrumbs-list li:not(:last-child):hover::after {
    border-color: #00D0FF;
}

/* Ссылки */
.breadcrumbs-list a {
    color: #b8c5d9;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.breadcrumbs-list a:hover {
    color: #fff !important;
    background: rgba(0, 208, 255, 0.1);
}

/* Иконка дома для главной (через CSS) */
.breadcrumbs-list li:first-child a::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8c5d9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.2s ease;
}

.breadcrumbs-list li:first-child a:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300D0FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Активный элемент (текущая страница) */
.breadcrumbs-list .active {
    color: #fff;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
}

/* Адаптивность */
@media (max-width: 991px) {
    .breadcrumbs { padding: 10px 0; font-size: 0.85rem; }
    .breadcrumbs-list { gap: 4px 6px; }
    .breadcrumbs-list li:not(:last-child)::after {
        width: 5px; height: 5px;
        margin: 0 6px;
    }
}

@media (max-width: 576px) {
    .breadcrumbs { padding: 8px 0; font-size: 0.8rem; }
    .breadcrumbs-list { gap: 3px 4px; }
    .breadcrumbs-list li:not(:last-child)::after {
        width: 4px; height: 4px;
        margin: 0 4px;
    }
    .breadcrumbs-list a { padding: 3px 6px; }
    .breadcrumbs-list .active { padding: 3px 8px; }
}
body > header > nav > div > ul > li.nav-item-has-dropdown > ul > li:before {display: none;}
.input-wrapper {
    position: relative;
    width: 100%;
}

/* Иконка внутри поля */
.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none; /* Чтобы клики проходили сквозь иконку */
}

.input-icon img,
.input-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Поле ввода с отступом под иконку */
.form-input {
    width: 100%;
    padding: 12px 15px 12px 45px; /* ⬅️ важный отступ слева! */
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    box-sizing: border-box; /* Чтобы padding не увеличивал ширину */
}

.form-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-input:focus {
    outline: none;
    border-color: #2180FF;
    background: rgba(255,255,255,0.15);
}

/* === Для select (выпадающего списка) === */
.form-group select {
    appearance: none; /* Убираем стандартную стрелку */
    padding-right: 35px; /* Место под кастомную стрелку, если нужно */
    cursor: pointer;
}

/* === Адаптив для мобильных === */
@media (max-width: 768px) {
    .form-input {
        padding: 10px 12px 10px 40px;
        font-size: 16px; /* Чтобы не было зума при фокусе на iOS */
    }
    
    .input-icon {
        left: 12px;
    }
    
    .input-icon img,
    .input-icon svg {
        width: 18px;
        height: 18px;
    }
}
.newLshs{display: none;}
@media (min-width: 1701px) and (max-width: 1800px) {
    .service-box{
        transform: scale(.89);
    }
    .box-1{top: 0.5%;left: 16%;}
    .box-2{top: -4%;left: 56%;}
    .box-3{top: 22%;left: 5%;}
    .box-4{top: 19%;left: 77%;}
    .box-5{top: 51%;left: 3%;}
    .box-6{top: 48%;left: 77%;}
    .box-7{top: 36%;left: 79%;}

}
@media (min-width: 1601px) and (max-width: 1700px) {
    .service-box{
        transform: scale(.79)
    }
    .box-1{top: 1%;left: 16%;}
    .box-2{top: -2%;left: 54%;}
    .box-3{top: 22%;left: 6%;}
    .box-4{top: 19%;left: 76%;}
    .box-5{top: 49%;left: 4%;}
    .box-6{top: 47%;left: 73%;}
    .box-7{top: 35%;left: 75%;}
}
@media (min-width: 1401px) and (max-width: 1600px) {
    .service-box{
        transform: scale(.79)
    }
    .box-1{top: 2.5%;left: 19%;}
    .box-2{top: -1%;left: 54%;}
    .box-3{top: 22%;left: 8%;}
    .box-4{top: 19%;left: 73%;}
    .box-5{top: 47%;left: 7%;}
    .box-6{top: 44%;left: 70%;}
    .box-7{top: 34%;left: 72%;}
    .booking-form{width: 424px;height: 552px;padding: 12px;}
    .hero-text > span{font-size: 3.475rem !important;}
    .hero-content{gap: 135px;}
}
@media (min-width: 1201px) and (max-width: 1400px) {
    .service-box{
        transform: scale(.64)
    }
    .box-1{top: 4%;left: 11%;}
    .box-2{top: 2%;left: 40%;}
    .box-3{top: 21%;left: 1%;}
    .box-4{top: 19%;left: 60%;}
    .box-5{top: 44%;left: -2%;}
    .box-6{top: 42%;left: 59%;}
    .box-7{top: 32%;left: 64%;}
    .booking-form{width: 424px;height: 552px;padding: 12px;}
    .hero-text > span{font-size: 2.475rem !important;}
    .hero-content{gap: 95px;}
    #bookingForm{padding: 25px;margin-top: -28px;}
}
@media (min-width:992px) and (max-width:1199px){
    #bookingForm{padding: 25px;margin-top: -28px;}
    .booking-form{width: 424px;height: 552px;padding: 12px;}
    .hero-text > span{font-size: 2.475rem !important;}
    .hero-content{gap: 95px;}
}
/* ===== CHECKBOX СОГЛАСИЯ В ФОРМАХ ===== */
.checkbox-group {
    margin: 20px 0;
    padding: 0 5px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-light);
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-red);
    border: 2px solid var(--border-color);
    border-radius: 4px;
}

.checkbox-label input[type="checkbox"]:hover {
    border-color: var(--light-blue);
}

.checkbox-label input[type="checkbox"]:checked {
    accent-color: var(--primary-red);
    border-color: var(--primary-red);
}

.checkbox-text {
    flex: 1;
}

.checkbox-text a {
    color: var(--light-blue);
    text-decoration: underline;
    transition: color 0.2s;
}

.checkbox-text a:hover {
    color: #00D0FF;
    text-decoration: none;
}

/* Адаптив для мобильных */
@media (max-width: 480px) {
    .checkbox-label {
        font-size: 12px;
        gap: 10px;
    }
    
    .checkbox-label input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin-top: 1px;
    }
}

/* Ошибка валидации (если не отмечен) */
.checkbox-label.error {
    color: var(--primary-red);
}

.checkbox-label.error input[type="checkbox"] {
    border-color: var(--primary-red);
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
@media (max-width:1200px){
    .works{background: linear-gradient(180deg, rgba(0, 0, 0, 0) -0.58%, #173D70 0%);}
    .box-content a{color: #fff;}
}
@media (max-width:380px){
    .phone a{font-size: 1.2rem !important;}
    .header-info > div:nth-child(1) > span{font-size: 0.7rem !important;}
    .header-info{left: -65px !important;}
    .mobile-menu-btn{left: -50px;}
}
@media (max-width:340px){
.mobile-menu-btn{left: -90px;}
.hero-text > span{font-size: 2rem !important;margin-left: 50px;}
.hero-text > h1 > p{font-size: 1rem;position: relative;left: 3px;}
}
@media (max-width:898px){
    .booking-form{display: none;}
.header-top{border-bottom:none;}
.hero-text > span{font-size:clamp(28px, 8vw, 42px) !important;position: relative;left: -56px;}
.hero-text > h1 > p{font-size: 17px;position: relative;left: 3px;}
.kmzText{background-image: none;-webkit-text-fill-color: #fff;}
.hero-features li{font-size: 12px;}
.hero-text > h1 > span{font-size: clamp(28px, 8vw, 42px) !important;margin-left: 2px;letter-spacing:0px}
.logo img{height: 110px !important;position: relative;left: -58px;top: -15px;}
.info-item:nth-child(1) img{display: none;}.info-item{width: 200px;} 
.info-item.phone{margin:-15px 0px 0px -10px}
body > header > div > div > div > div.header-info > div.info-item.phone > img{margin-bottom: -5px !important;}
.phone a{font-size: 1.4rem;}
.mobile-menu-btn{width: 34px !important;height: 34px !important;position: relative;top: 0px;}
.hero-text{left: -22px;top: 15px;}
.kmzText{display: flex;flex-wrap: wrap;}
body > aside > div > div.info-item.phone{margin-left:-28px;}
body > aside > div > div.work-time{margin-left:-28px;}
}
/* ============================================
   WORKS - MOBILE LIST & DESKTOP SWITCH
   ============================================ */

/* 1. Скрываем мобильный список на десктопе по умолчанию */
.works-mobile-list {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin: 30px 0;
}

/* Стили для мобильного списка */
.works-mobile-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(26, 58, 92, 0.8) 100%);
    border: 1px solid rgba(0, 208, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #fff;
}

.works-mobile-item:hover {
    border-color: #00D0FF;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 208, 255, 0.2);
}

.works-mobile-icon {
    width: 45px;
    height: 45px;
    background: rgba(196, 18, 48, 0.15);
    border: 1px solid rgba(196, 18, 48, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.works-mobile-icon i {
    color: #ff3355;
    font-size: 20px;
}

.works-mobile-item span {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
}

.works-mobile-item > i {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    transition: 0.3s;
}

.works-mobile-item:hover > i {
    color: #00D0FF;
    transform: translateX(3px);
}

/* 2. ПЕРЕЛЮЧАТЕЛЬ (до 1200px) */
@media (max-width: 1200px) {
    /* Включаем мобильный список */
    .works-mobile-list {
        display: flex;
    }
    #works > div.container > h2:nth-child(1){display: none;}
    #works > div.container > hr:nth-child(2){display: none;}
    /* Выключаем десктопный блок (чтобы не ломал верстку) */
    .works-desktop-view {
        display: none;
    }

    /* Стили для мобильных элементов списка */
    .works-mobile-item {
        padding: 14px 15px;

    }
    .works-mobile-icon {
        width: 40px;
        height: 40px;
    }
    .works-mobile-icon i {
        font-size: 18px;
    }
    .works-mobile-item span {
        font-size: 14px;
    }
}

/* Выше 1200px показываем десктоп, скрываем мобильное (страховка) */
@media (min-width: 1201px) {
    .works-mobile-list {
        display: none !important;
    }
    .works-desktop-view {
        display: block !important;
    }
}
@media(min-width:700px){
    .hero-mobile-header,.hero-cta-buttons{display: none;}
}
/* ===== HEADER - MOBILE ADAPTATION ===== */
@media (max-width: 1000px) {
    body > main > section.diagnostics-hero > div.container > div > div:nth-child(2) > div{display: none !important;}
    .header-top-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        padding: 0 15px;
    }
    .hero-menu-btn,.hero-cta-buttons{display: none;}
    .logo {
        flex: 1;
        display: flex;
        align-items: center;
    }
       
    /* Кнопка гамбургер */
    .mobile-menu-btn {
        display: flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        background: #125CBF61;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }
    
    .mobile-menu-btn:hover {
        background: rgba(196, 18, 48, 0.3);
        border-color: rgba(196, 18, 48, 0.6);
    }
    
    .mobile-menu-btn .hamburger,
    .mobile-menu-btn .cross {
        color: #fff;
    }
    
    /* Скрываем информацию в хедере на мобильных */

    .header-nav {
        display: none;
    }
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, #0a1628 0%, #1a3a5c 100%);
    z-index: 1100;
    padding: 80px 25px 40px;
    transition: left 0.3s ease;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

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

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.8);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(3px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
}

.mobile-menu .nav-menu a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 14px 18px;
    border-radius: 8px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu .nav-menu a:hover,
.mobile-menu .nav-menu a.active {
    color: #fff;
    background: rgba(0, 208, 255, 0.1);
    border-left-color: #00D0FF;
}

.mobile-menu-contacts {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 208, 255, 0.2);
}

.mobile-menu-contacts .info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    font-size: 14px;
    color: #e0e0e0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-menu-contacts .info-item img {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.mobile-menu-contacts .phone a {
    font-size: 18px;
    font-weight: 700;
    color: #00D0FF;
    text-decoration: none;
}

.mobile-menu-contacts .work-time {
    margin-top: 10px;
    padding-left: 32px;
    font-size: 13px;
    color: #9aa5b1;
}

.mobile-menu-contacts .work-days {
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.mobile-menu-contacts .work-weekend {
    color: #c41230;
    display: block;
}
.works-mobile-icon img{width: 50px;height: auto;}
@media (max-width:600px) {
.works-mobile-list {
	width: 91vw !important;
    margin-left:-40px !important;
}}
/* ===== МОБИЛЬНАЯ ВЕРСИЯ — ОБЪЕДИНЁННЫЙ ФОН ===== */
@media (max-width: 768px) {
    /* Hero — убираем индивидуальный фон */
    .hero {
        position: relative;
        min-height: auto;
        padding: 140px 0 60px;
        background: transparent !important;
        overflow: visible;
    }
    
    /* Создаём общий фон через псевдоэлемент */
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: calc(20% + 400px); /* Растягиваем на services */
        background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)), 
                    url(../images/newMain.png) center/cover no-repeat;
        z-index: -1;
        pointer-events: none;
    }
    
    /* Services — прозрачный фон на мобильном */
    .services {
        background: transparent !important;
        padding: 60px 0 100px;
        position: relative;
        margin-top: -50px; /* Наложение на hero */
        z-index: 1;
    }
    
    /* Адаптация контента */
    .hero-content {
        position: relative;
        z-index: 1;
    }
    
    .services .container {
        position: relative;
        z-index: 1;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .hero::before {
        height: calc(100% + 850px);
    }
    
    .services {
        margin-top: -40px;
        padding: 50px 0 80px;
    }
}
#works > div.container > h2:nth-child(1){display: none}
#works > div.container > hr:nth-child(2){display: none}
/* ===== HEADER - MOBILE VERSION ===== */
@media (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 1000;
        box-shadow: 0 2px 20px rgba(0,0,0,0.3);
        border-bottom: 1px solid rgba(0, 208, 255, 0.2);
    }
    
    .header-top {
        padding: 10px 0;
    }
    
    .header-top-content {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 15px;
        padding: 0 15px;
    }
    
    /* Логотип */
    .logo {
        grid-column: 1;
        display: flex;
        align-items: center;
    }
    
    /* Контактная информация */
    .header-contact-info {
        grid-column: 2;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
    }
    
    .header-address {
        font-size: 12px;
        color: var(--text-light);
        text-align: right;
    }
    
    .header-phone {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 24px;
        font-weight: 700;
        color: var(--white);
        text-decoration: none;
        transition: color 0.3s;
    }
    
    .header-phone:hover {
        color: var(--primary-red);
    }
    
    .header-phone svg {
        flex-shrink: 0;
    }
    
    /* Кнопка меню */
    .mobile-menu-btn {
        grid-column: 3;
        display: flex;
        width: 48px;
        height: 48px;
        align-items: center;
        justify-content: center;
        background: rgba(18, 92, 191, 0.38);
        border: 1px solid rgba(18, 92, 191, 0.5);
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
    }
    
    .mobile-menu-btn:hover {
        background: rgba(196, 18, 48, 0.3);
        border-color: rgba(196, 18, 48, 0.6);
    }
       
    .header-nav {
        display: none !important;
    }
}

/* Desktop - оставляем как было */
@media (min-width: 769px) {
    .header-contact-info {
        display: none;
    }
}
/* ===== HERO TEXT - MOBILE ADAPTATION (ИСПРАВЛЕНО) ===== */
@media (max-width: 898px) {
    .booking-form {
        display: none;
    }
    
    .header-top {
        border-bottom: none;
    }
    
    /* Hero text - выравнивание по ЛЕВОЙ стороне */
    .hero-text {
        text-align: left !important;
        padding: 0 15px;
        left: 0;
        top: 0;
    }
    
    .hero-text > span:first-of-type {
        font-size: clamp(12px, 3.5vw, 18px) !important;
        display: block;
        margin-bottom: 8px;
        position: static !important;
        left: 0 !important;
    }
    
    .hero-text h1 {
        font-size: clamp(24px, 7vw, 36px);
        margin-bottom: 20px;
        line-height: 1.2;
        text-align: left !important;
    }
    
    .kmzText {
        background-image: none !important;
        -webkit-text-fill-color: #fff !important;
        display: block !important;
        font-size: clamp(22px, 6vw, 32px) !important;
        text-align: left !important;
        margin: 0 0 10px 0 !important;
    }
    
    .hero-text h1 span {
        font-size: clamp(20px, 6vw, 30px) !important;
        display: block;
        margin-left: 0 !important;
        letter-spacing: 0 !important;
    }
    
    /* Возвращаем hero-features (список) */
    .hero-features {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px;
        margin-top: 20px;
        padding: 0;
        list-style: none;
    }
    
    .hero-features li {
        display: flex !important;
        align-items: center !important;
        gap: 10px;
        font-size: clamp(13px, 3.8vw, 16px);
        justify-content: flex-start !important;
        text-align: left !important;
        flex-direction: row !important;
    }
    
    .hero-features li img {
        width: clamp(16px, 4vw, 20px);
        height: clamp(16px, 4vw, 20px);
        flex-shrink: 0;
    }
    
    .hero-features li span {
        text-align: left !important;
    }
    
    .mobile-menu-btn {
        width: clamp(36px, 10vw, 44px) !important;
        height: clamp(36px, 10vw, 44px) !important;
    }
}

/* Очень маленькие экраны (до 380px) */
@media (max-width: 380px) {
    .hero-text h1 {
        font-size: 20px;
    }
    
    .kmzText {
        font-size: 24px !important;
    }
    
    .hero-features li {
        font-size: 12px;
    }
}

/* Маленькие планшеты (769px - 898px) */
@media (min-width: 769px) and (max-width: 898px) {
    .hero-text {
        padding: 0 20px;
    }
    
    .hero-text > span:first-of-type {
        font-size: 16px !important;
    }
    
    .kmzText {
        font-size: 28px !important;
    }
    
    .hero-text h1 span {
        font-size: 26px !important;
    }
    
    .hero-features li {
        font-size: 15px;
    }
}
/* ===== HERO TEXT - TABLET ADAPTATION (768px - 1024px) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-text {
        left: 0 !important;
        padding: 0 20px;
    }
    
    .hero-text > span:first-of-type {
        font-size: 1.5rem !important;
        left: 0 !important;
    }
    
    .hero-text > h1 > p {
        font-size: 20px;
        left: 0;
    }
    
    .kmzText {
        font-size: 2rem !important;
    }
    
    .hero-text > h1 > span {
        font-size: 1.5rem !important;
        margin-left: 0 !important;
    }
    
    .hero-features li {
        font-size: 16px;
    }
    
    .logo img {
        height: 90px !important;
        left: 0 !important;
    }
}
/*___________________________________new_________________________________*/
/* ===== HERO TEXT - MOBILE (320px - 600px) ===== */
@media (max-width: 600px) {
    .hero-text {
        text-align: left !important;
        padding: 0 !important;
        left: clamp(-22px, 3.5vw, -17px) !important;
        margin-left: 0 !important;
    }
    .hero-text > div > a{padding: 8px 85px;font-size: 15px;letter-spacing: 2px;width: 90%;height: 45px;text-decoration: none;}
    .hero-text > span:first-of-type {
        font-size: clamp(16px, 4.5vw, 22px) !important;
        display: block;
        margin-bottom: 8px;
        position: static !important;
        left: 0 !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
    
    .hero-text h1 {
        font-size: clamp(20px, 6vw, 32px);
        margin-bottom: 20px;
        line-height: 1.2;
        text-align: left !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
    
    .kmzText {
        background-image: none !important;
        -webkit-text-fill-color: #fff !important;
        display: block !important;
        font-size: clamp(18px, 5vw, 28px) !important;
        text-align: left !important;
        margin: 0 0 10px 0 !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
    
    .hero-text h1 span {
        font-size: clamp(16px, 5vw, 26px) !important;
        display: block;
        margin-left: 0 !important;
        letter-spacing: 0 !important;
        padding-left: 0 !important;
    }
    
    /* Hero features - left align */
    .hero-features {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px;
        margin-top: 20px;
        padding: 0 !important;
        list-style: none;
        margin-left: 0 !important;
    }
    
    .hero-features li {
        display: flex !important;
        align-items: center !important;
        gap: 8px;
        font-size: clamp(11px, 3vw, 14px);
        justify-content: flex-start !important;
        text-align: left !important;
        flex-direction: row !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
    
    .hero-features li img {
        width: clamp(14px, 3vw, 18px);
        height: clamp(14px, 3vw, 18px);
        flex-shrink: 0;
    }
    
    .hero-features li span {
        text-align: left !important;
        padding-left: 0 !important;
    }
    
    /* CTA Buttons for hero */
    .hero-cta-buttons {
        display: flex;
        gap: 12px;
        margin-top: 25px;
        width: 100%;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
    
    .btn-hero-record {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: linear-gradient(180deg, #C41230 0%, #8B0A0A 100%);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        padding: 14px 20px;
        color: var(--white);
        font-size: clamp(12px, 3.5vw, 16px);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.3s;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(196, 18, 48, 0.4);
    }
    
    .btn-hero-record:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(196, 18, 48, 0.6);
    }
    
    .btn-hero-record img {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }
    
    .btn-hero-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.5);
        border-radius: 12px;
        padding: 14px 18px;
        color: var(--white);
        font-size: clamp(14px, 4vw, 18px);
        font-weight: 700;
        text-decoration: none;
        transition: all 0.3s;
        flex-shrink: 0;
    }
    
    .btn-hero-phone:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.8);
        transform: translateY(-2px);
    }
    
    .btn-hero-phone img {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
}

/* ===== HERO TEXT - TABLET (768px - 1024px) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Header adaptation for tablet */
    .header {
        border-radius: 0;
    }
    
    .header-top-content {
        padding: 0 20px;
    }
    
    .logo-img {
        height: 80px !important;
    }
    
    .header-info {
        gap: 40px;
    }
    
    .info-item {
        font-size: 13px;
    }
    
    .phone a {
        font-size: 20px;
    }
    
    /* Hero text adaptation for tablet */
    .hero-text {
        text-align: left !important;
        padding: 0 20px !important;
        left: 0 !important;
    }
    
    .hero-text > span:first-of-type {
        font-size: 18px !important;
        left: 0 !important;
    }
    
    .hero-text h1 {
        font-size: 32px;
        text-align: left !important;
    }
    
    .kmzText {
        font-size: 28px !important;
        text-align: left !important;
    }
    
    .hero-text h1 span {
        font-size: 26px !important;
        margin-left: 0 !important;
    }
    
    .hero-features {
        align-items: flex-start !important;
    }
    
    .hero-features li {
        font-size: 16px;
        justify-content: flex-start !important;
    }
    
    /* CTA Buttons for tablet */
    .hero-cta-buttons {
        display: flex;
        gap: 15px;
        margin-top: 30px;
    }
    
    .btn-hero-record {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: linear-gradient(180deg, #C41230 0%, #8B0A0A 100%);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        padding: 16px 24px;
        color: var(--white);
        font-size: 16px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.3s;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(196, 18, 48, 0.4);
    }
    
    .btn-hero-record:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(196, 18, 48, 0.6);
    }
    
    .btn-hero-record img {
        width: 22px;
        height: 22px;
    }
    
    .btn-hero-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.5);
        border-radius: 12px;
        padding: 16px 20px;
        color: var(--white);
        font-size: 18px;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.3s;
    }
    
    .btn-hero-phone:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.8);
    }
    
    .btn-hero-phone img {
        width: 20px;
        height: 20px;
    }
}

/* ===== HERO TEXT - SMALL MOBILE (до 380px) ===== */
@media (max-width: 380px) {
    .hero-text {
        padding: 0 15px !important;
    }
    
    .hero-text > span:first-of-type {
        font-size: 11px !important;
    }
    
    .hero-text h1 {
        font-size: 20px;
    }
    
    .kmzText {
        font-size: 22px !important;
    }
    
    .hero-text h1 span {
        font-size: 18px !important;
    }
    
    .hero-features li {
        font-size: 11px;
    }
    
    .hero-features li img {
        width: 14px;
        height: 14px;
    }
    
    .hero-cta-buttons {
        gap: 8px;
    }
    
    .btn-hero-record {
        padding: 12px 15px;
    }
    
    .btn-hero-record img {
        width: 16px;
        height: 16px;
    }
    
    .btn-hero-phone {
        padding: 12px 15px;
    }
    
    .btn-hero-phone img {
        width: 16px;
        height: 16px;
    }
    .hero-text > div > a{padding: 8px 35px;font-size: 15px;letter-spacing: 2px;width: 90%;height: 45px;text-decoration: none;}
}
@media(max-width: 340px){
    .hero-text > div > a{padding: 8px 15px;font-size: 15px;letter-spacing: 2px;width: 90%;height: 45px;text-decoration: none;}
}
/* ============================================
HERO — МОБИЛЬНАЯ ВЕРСИЯ (как на скриншоте)
============================================ */

/* Фоновый слой для hero */


.hero-logo {
    flex-shrink: 0;
}

.hero-logo img {
    width: 80px;
    height: auto;
    display: block;
}

.hero-header-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-address {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-align: center;
    line-height: 1.3;
}

.hero-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Gilroy', sans-serif;
}

.hero-phone-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.hero-menu-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(33, 128, 255, 0.3);
    border: 1px solid rgba(33, 128, 255, 0.5);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-menu-btn:hover {
    background: rgba(33, 128, 255, 0.5);
}

/* Hero Content Mobile */
.hero-content-mobile {
    position: relative;
    z-index: 5;
    display: none; /* По умолчанию скрыт */
    padding: 30px 20px;
    text-align: left;
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
    font-family: 'Gilroy', sans-serif;
}

.hero-title {
    font-size: 32px;
    font-weight: 900;
    color: white;
    margin: 0 0 25px 0;
    font-family: 'Gilroy', sans-serif;
    line-height: 1.2;
}

.hero-title-blue {
    background: linear-gradient(262.55deg, #8EBEFF 30.06%, #2180FF 69.53%, #144d99 89.9%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

.hero-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.hero-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: 'Gilroy', sans-serif;
}

.hero-check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.hero-btn-primary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-image-source: linear-gradient(268.1deg, #B41A1A 8.96%, #FFFFFF 53.55%, #520606 98.14%);
    background: linear-gradient(263.43deg, #7B0B0B 11.19%, #E21D1D 48.02%, #7B0B0B 89.24%);
    box-shadow: 0 10px 30px rgba(196, 18, 48, 0.4);
    border-radius: 15px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Gilroy', sans-serif;
    white-space: nowrap;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196,18,48,0.4);
}

.hero-btn-primary svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hero-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 20px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Gilroy', sans-serif;
    white-space: nowrap;
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.8);
}

.hero-btn-secondary svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Desktop version — показывается только на десктопе */
.hero-desktop-version {
    display: block;
}

/* ============================================
ПОКАЗ МОБИЛЬНОЙ ВЕРСИИ
============================================ */
@media (max-width: 768px) {
    /* Показываем мобильный хедер и контент */
    .hero-mobile-header {
        display: none;
    }
    
    .hero-content-mobile {
        display: block;
    }
    /* Скрываем десктопную версию */
    .hero-desktop-version {
        display: none !important;
    }
    body > section.hero > div.container{display: none;}
    
    /* Адаптация размеров */
    .hero-logo img {
        width: 65px;
    }
    .hero{min-height: 0px;}
    .hero-phone {
        font-size: 18px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 12px;
    }
    
    .hero-checklist li {
        font-size: 13px;
    }
    
    .hero-btn-primary {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .hero-btn-secondary {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 380px) {
    .hero-mobile-header {
        padding: 12px 15px;
    }
    
    .hero-content-mobile {
        padding: 25px 15px;
    }
    
    .hero-logo img {
        width: 55px;
    }
    
    .hero-phone {
        font-size: 16px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-address {
        font-size: 11px;
    }
}
/* ============================================
АДАПТАЦИЯ SERVICES GRID (2 сверху, 1 снизу)
============================================ */

@media (max-width: 992px) {
    .services-grid {
        /* Задаем сетку из 2 колонок */
        grid-template-columns: 1fr 1fr;
        /* Определяем области */
        grid-template-areas: 
            "card1 card2"
            "card3 card3";
        gap: 15px; /* Отступ между карточками */
    }

    /* Первая карточка */
    .service-card:nth-child(1) {
        grid-area: card1;
        min-height: 250px; /* Высота первых двух */
    }

    /* Вторая карточка */
    .service-card:nth-child(2) {
        grid-area: card2;
        min-height: 250px;
    }

    /* Третья карточка (растягиваем на всю ширину) */
    .service-card:nth-child(3) {
        grid-area: card3;
        min-height: 300px; /* Нижняя может быть чуть выше */
    }
    
    /* Настройка картинки для третьей карточки */
    .service-card:nth-child(3) .service-image img {
        object-position: center; /* Центрируем картинку */
    }
}
/* ============================================
SERVICES CARDS - MOBILE ADAPTATION (до 768px)
============================================ */
@media (max-width: 768px) {
    /* Фиксируем высоту карточки */
    .service-card {
        height: 142px !important;
        min-height: 142px !important;
        max-height: 142px !important;
    }
    
    /* Картинка полностью вписывается в блок */
    .service-card .service-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    
    .service-card .service-image img {
        width: 100%;
        height: 100%;
        object-fit: contain !important; /* Ключевое свойство! */
        object-position: center center;
        display: block;
    }
    
    /* Контент поверх картинки */
    .service-card .service-content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        display: flex;
        justify-content: center;
        padding: 10px;
    }
    .service-card .service-content h3 {
        font-size: 14px;
        line-height: 1.3;
        text-align: center;
        margin: 0;
    }
}
/* Services - Mobile (до 768px) */
@media (max-width: 768px) {
    .service-card:nth-child(3) .service-image img {
        display: none; /* Скрываем старую картинку */
    }
    
    /* Настраиваем отображение новой картинки */
    .service-card:nth-child(3) .service-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../images/Rectangle 8mob.png');
        background-size: cover;
        background-position: center;
        z-index: 1;
        border: 1px solid #ffffff54;
    }
}
/* ===== ADVANTAGES - MOBILE RUBBER CARDS ===== */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        justify-content: center;
        padding: 0 10px;
    }
    .advantage-icon img{
        width: 95px;
        height: 95px;
    }
    .advantage-card {
        /* РЕЗИНОВАЯ ШИРИНА: от 140px до 171.2px */
        width: 100%;
        max-width: 171.2px;
        min-width: 140px;
        
        /* ПРОПОРЦИЯ 171.2 : 185.8 */
        aspect-ratio: 171.2 / 185.8;
        height: auto;
        
        /* Остальные стили */
        padding: 15px 12px !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
    }
    
    .advantage-icon {
        width: clamp(40px, 12vw, 60px);
        height: clamp(40px, 12vw, 60px);
        margin-bottom: 0 !important;
    }
    
    .advantage-card h3 {
        font-size: clamp(10px, 3vw, 14px);
        line-height: 1.3;
        text-align: center;
        margin: 0;
    }
}

/* Для очень маленьких экранов (до 340px) */
@media (max-width: 340px) {
    .advantages-grid {
        gap: 8px;
        padding: 0 5px;
    }
    
    .advantage-card {
        min-width: 130px;
    }
    
    .advantage-card h3 {
        font-size: 9px;
    }
}
@media (min-width:950px){
.hero-mobile-header{display:none;}
}
/* ===== CONTACTS - MOBILE ADAPTATION (как на скриншоте) ===== */
@media (max-width: 768px) {
    /* Скрываем десктопные элементы на мобильном */
    .desktop-only-wrapper {
        display: none !important;
    }
    
    #contacts {
        padding: 40px 0;
        background: #1a3a5c; /* Тёмно-синий фон как на скриншоте */
    }
    
    #contacts .container {
        max-width: 100%;
        padding: 0;
    }
    
    /* Flex-контейнер: текст слева, карта справа */
    .contacts-mobile-wrap {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 0 16px;
        justify-content: flex-end;
        position:relative;
        left:62px;
    }
    
    /* Левая колонка */
    .contact-info-col {
        flex: 1;
        color: #ffffff;
    }
    
    .contact-info-col .sub-title {
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        margin: 0 0 8px 0;
        opacity: 0.85;
    }
    
    .contact-info-col .main-title {
        font-size: 18px;
        font-weight: 800;
        margin: 0 0 4px 0;
        line-height: 1.1;
        text-transform: uppercase;
    }
    
    .contact-info-col .main-title span {
        color: #4a90e2; /* Синий цвет для "КАМАЗ" */
    }
    
    .contact-info-col .company-name {
        font-size: 11px;
        font-weight: 500;
        margin: 0 0 24px 0;
        opacity: 0.9;
    }
    
    .contact-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .contact-list a, 
    .contact-list div {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #ffffff;
        text-decoration: none;
        font-size: 10px;
        font-weight: 500;
        line-height: 1.4;
    }
    
    .contact-list img {
        width: 22px;
        height: 22px;
        filter: brightness(0) invert(1); /* Делаем иконки белыми */
        flex-shrink: 0;
    }
    
    /* Правая колонка (Карта) */
    .contact-map-col {
        flex: 0 0 90%;
        max-width: 90%;
    }
    
    .map-wrapper {
        width: 100%;
        aspect-ratio: 1 / 1.05; /* Квадратная/слегка вытянутая карта */
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 6px 20px rgba(0,0,0,0.4);
        background: #2d4a6a; /* Заглушка пока грузится карта */
    }
    
    .map-wrapper iframe {
        width: 100%;
        height: 100%;
        border: none;
        display: block;
    }
}
@media (min-width: 1300px) and (max-width: 1600px){
        .contacts-mobile-wrap {
            display: none;}
        .about-text{font-size: .8rem;}
        .contact-branding > span{font-size: 38px !important;}
        .contact-branding > p{font-size: 20px !important;}
        .qr-image{width: 185px;height: 185px;}
        .desktop-only-wrapper{width: 72vw;}
        .contacts-wrapper{    grid-template-columns: 400px 1fr;}
        .contact-left {gap: 0px;}.contact-details {gap: 10px;}
        .booking-form{width: 430px;height: 600px;padding: 26px;}
        .works{margin-bottom: -120px;}.works-cta{bottom: 14.4vh;}
}