* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Monaco', 'Courier New', monospace;
    background-color: #292929;
    color: white;
    line-height: 1.6;
}

.container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ========== ШАПКА ========== */
.header {
    background-color: #292929;
    border-bottom: 1px solid white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    flex-shrink: 0;
}

.logo--circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(198, 107, 27, 0.5);
    transition: all 0.3s;
    margin-top: 10px;
}

.logo--circle:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(198, 107, 27, 0.8);
}

.logo__img--circle {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Поиск */
.search-container {
    position: relative;
    flex: 1;
    max-width: 350px;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 18px;
    color: white;
    font-size: 14px;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    border-radius: 50%;
}

.search-btn:hover {
    transform: scale(1.1);
}

.search-btn svg {
    transition: stroke 0.2s;
}

.search-btn:hover svg {
    stroke: #c66b1b;
}

/* Результаты поиска */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 10px;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(198, 107, 27, 0.3);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.3s ease;
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #c66b1b;
    border-radius: 3px;
}

.search-result-item {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-result-item:hover {
    background: rgba(198, 107, 27, 0.2);
    padding-left: 25px;
}

.search-result-icon {
    font-size: 18px;
    min-width: 30px;
}

.search-result-title {
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.search-result-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.search-result-item.highlight {
    background: rgba(198, 107, 27, 0.3);
    border-left: 3px solid #c66b1b;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Навигация */
.nav {
    flex-shrink: 0;
}

.nav__list {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav__item {
    white-space: nowrap;
}

.nav__link {
    color: white;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
    padding: 5px 0;
    display: inline-block;
    font-weight:bolder;
}

.nav__link:hover {
    color: #c66b1b;
}

.nav__link--active {
    color: #c66b1b !important;
    font-weight: bold;
    border-bottom: 2px solid #c66b1b;
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* ========== ГЛАВНЫЙ БЛОК HERO ========== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: #292929;
    padding: 60px 0;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero__title {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero__description {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 300;
    line-height: 1.6;
}

.hero__img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

/* ========== КНОПКИ ========== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-family: inherit;
}

.btn--primary {
    background-color: #c66b1b;
    color: white;
}

.btn--primary:hover {
    background-color: #a85612;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(198, 107, 27, 0.3);
}

.btn--full {
    width: 100%;
}

/* ========== ЗАГОЛОВКИ ========== */
.section-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 20px;
    color: white;
}

.section-title--light {
    color: white;
}

.section-subtitle {
    font-size: 20px;
    text-align: center;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto 60px;
    color: #ddd;
}

.section-subtitle--light {
    color: #eee;
}

/* ========== УСЛУГИ - 4 КАРТОЧКИ ========== */
/*  .services {
   padding: 80px 0;
   background-color: #292929;
   width: 100%;
}

.services__grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 30px;
   width: 100%;
}

.service-card {
   background: rgba(255, 255, 255, 0.05);
   border-radius: 20px;
   padding: 40px 30px;
   text-align: center;
   transition: transform 0.3s, background 0.3s;
   height: 100%;
   text-decoration: none;
   display: block;
   color: white;
}

.service-card:hover {
   transform: translateY(-5px);
   background: rgba(255, 255, 255, 0.1);
}

.service-card__icon {
   font-size: 50px;
   margin-bottom: 20px;
}

.service-card__title {
   font-size: 30px;
   margin-bottom: 15px;
   color: white;
}

.service-card__text {
   color: #ccc;
   font-size: 20px;
   line-height: 1.5;
} */
/* ===== 3D КАРТОЧКИ УСЛУГ ===== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    perspective: 1000px;
}

@media (max-width: 992px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .services__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.service-card-3d {
    width: 100%;
    height: 380px;
    cursor: pointer;
}

.service-card-3d__inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    transform-style: preserve-3d;
    border-radius: 20px;
}

.service-card-3d__front,
.service-card-3d__back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Передняя сторона */
.service-card-3d__front {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    display: flex;
    flex-direction: column;
}

.service-card-3d__image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.service-card-3d__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-3d__icon {
    font-size: 40px;
    margin-top: -25px;
    margin-bottom: 10px;
    width: 60px;
    height: 60px;
    background: #c66b1b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 15px rgba(198, 107, 27, 0.4);
}

.service-card-3d__title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.service-card-3d__price {
    font-size: 22px;
    font-weight: 900;
    color: #c66b1b;
    margin-bottom: 15px;
}

/* Задняя сторона */
.service-card-3d__back {
    background: linear-gradient(145deg, #c66b1b, #a85612);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.service-card-3d__back-content {
    color: white;
    text-align: center;
}

.service-card-3d__back-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card-3d__back-content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
}

.service-card-3d__btn {
    display: inline-block;
    padding: 10px 24px;
    background: white;
    color: #c66b1b;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.service-card-3d__btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Кнопка на лицевой стороне (только для телефонов) */
.service-card-3d__btn-mobile {
    display: none;
}

/* ===== АДАПТАЦИЯ ДЛЯ ТЕЛЕФОНОВ (АНИМАЦИЯ ПЕРЕВОРОТА) ===== */
@media (max-width: 768px) {
    .services__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .service-card-3d {
        height: auto !important;
        min-height: 280px;
    }
    
    /* Показываем кнопку на телефонах */
    .service-card-3d__btn-mobile {
        display: inline-block;
        margin-top: 10px;
        margin-bottom: 15px;
        padding: 8px 20px;
        background: #c66b1b;
        color: white;
        border-radius: 30px;
        text-decoration: none;
        font-size: 13px;
        font-weight: bold;
        transition: all 0.3s;
        width: auto;
        align-self: center;
    }
    
    .service-card-3d__image {
        height: 140px !important;
    }
    
    .service-card-3d__icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 28px !important;
        margin-top: -22px !important;
        margin-bottom: 8px !important;
    }
    
    .service-card-3d__title {
        font-size: 14px !important;
        margin-bottom: 5px !important;
    }
    
    .service-card-3d__price {
        font-size: 16px !important;
        margin-bottom: 5px !important;
    }
    
    /* Класс для перевёрнутой карточки */
    .service-card-3d.flipped .service-card-3d__inner {
        transform: rotateY(180deg);
    }
}

@media (max-width: 480px) {
    .services__grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .service-card-3d {
        max-width: 100% !important;
    }
    
    .service-card-3d__image {
        height: 180px !important;
    }
}
/* ===== 3D КАРТОЧКИ УСЛУГ ===== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    perspective: 1000px;
}

@media (max-width: 992px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services__grid {
        grid-template-columns: 1fr;
    }
}

.service-card-3d {
    width: 100%;
    height: 380px;
    cursor: pointer;
}

.service-card-3d__inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    transform-style: preserve-3d;
    border-radius: 20px;
}

.service-card-3d:hover .service-card-3d__inner {
    transform: rotateY(180deg);
}

.service-card-3d__front,
.service-card-3d__back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Передняя сторона */
.service-card-3d__front {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    display: flex;
    flex-direction: column;
}

.service-card-3d__image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.service-card-3d__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-3d:hover .service-card-3d__image img {
    transform: scale(1.1);
}

.service-card-3d__icon {
    font-size: 40px;
    margin-top: -25px;
    margin-bottom: 10px;
    width: 60px;
    height: 60px;
    background: #c66b1b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 15px rgba(198, 107, 27, 0.4);
}

.service-card-3d__title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.service-card-3d__price {
    font-size: 22px;
    font-weight: 900;
    color: #c66b1b;
    margin-bottom: 15px;
}

/* Задняя сторона (перевёрнутая) */
.service-card-3d__back {
    background: linear-gradient(145deg, #c66b1b, #a85612);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.service-card-3d__back-content {
    color: white;
    text-align: center;
}

.service-card-3d__back-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card-3d__back-content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
}

.service-card-3d__btn {
    display: inline-block;
    padding: 10px 24px;
    background: white;
    color: #c66b1b;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.service-card-3d__btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Адаптация для телефонов - отключаем 3D на телефонах */
@media (max-width: 768px) {
    .service-card-3d {
        height: auto;
    }
    
    .service-card-3d__inner {
        transform-style: flat;
    }
    
    .service-card-3d:hover .service-card-3d__inner {
        transform: none;
    }
    
    .service-card-3d__back {
        display: none;
    }
    
    .service-card-3d__front {
        position: relative;
    }
}
/* ===== КАРТОЧКИ УСЛУГ - УМЕРЕННАЯ ОРАНЖЕВАЯ ТЕНЬ ===== */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    text-decoration: none !important;
    display: block !important;
    cursor: pointer !important;
    /* Чуть толще чем было, но не сильно */
    box-shadow: 0 6px 18px rgba(198, 107, 27, 0.35) !important;
}

/* При наведении - тень становится чуть толще и ярче */
.service-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 28px rgba(198, 107, 27, 0.55), 0 0 10px rgba(198, 107, 27, 0.25) !important;
}

/* Телефоны */
@media (max-width: 768px) {
    .service-card {
        box-shadow: 0 5px 14px rgba(198, 107, 27, 0.3) !important;
    }
    
    .service-card:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 12px 22px rgba(198, 107, 27, 0.5), 0 0 8px rgba(198, 107, 27, 0.2) !important;
    }
}
 
/* ========== ГАЛЕРЕЯ - 3 КОЛОНКИ ========== */
.gallery {
    padding: 80px 0;
    background-color: #1e1e1e;
    width: 100%;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery__item {
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.gallery__img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery__img:hover {
    transform: scale(1.05);
}

/* Телефоны: 3 колонки, квадратные фото */
@media (max-width: 800px) {
    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .gallery__img {
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }
}

/* Очень маленькие телефоны: 2 колонки */
@media (max-width: 450px) {
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* ========== ПРЕИМУЩЕСТВА - 3 КОЛОНКИ ========== */
.advantages {
    padding: 80px 0;
    background-color: #3d0a0a;
    width: 100%;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
    width: 100%;
}

.advantage-card {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: transform 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.advantage-card__icon {
    width: 70px;
    height: 70px;
    background-color: #c66b1b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-card__icon svg {
    width: 32px;
    height: 32px;
}

.advantage-card__title {
    font-size: 24px;
    margin-bottom: 15px;
    color: white;
}

.advantage-card__text {
    color: #eee;
    font-size: 16px;
    line-height: 1.5;
}
/* ===== КАРТОЧКИ УСЛУГ - ЧЕРНАЯ ТЕНЬ СО ВСЕХ СТОРОН ===== */
.service-card {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    /* Тень со всех сторон (черная, но мягкая) */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* При наведении - тень УСИЛИВАЕТСЯ и становится глубже */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(198, 107, 27, 0.15);
}

/* ===== КАРТОЧКИ ПРЕИМУЩЕСТВ - 4 В РЯД + ЧЕРНАЯ ТЕНЬ ===== */
.advantages__grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    width: 100%;
}

/* Адаптив для планшетов — 2 колонки */
@media (max-width: 1024px) and (min-width: 769px) {
    .advantages__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
}

/* Адаптив для телефонов — 1 колонка */
@media (max-width: 768px) {
    .advantages__grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* ===== КАРТОЧКИ ПРЕИМУЩЕСТВ - ЧЕРНАЯ ТЕНЬ СО ВСЕХ СТОРОН ===== */
.advantage-card {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    /* Тень со всех сторон */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* При наведении - тень УСИЛИВАЕТСЯ */
.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

/* Телефоны - чуть меньше тень */
@media (max-width: 768px) {
    .advantage-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
    }
}
/* ========== ОТЗЫВЫ - КАРУСЕЛЬ ========== */
.reviews {
    padding: 80px 0;
    background-color: #292929;
    width: 100%;
}

.reviews-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.reviews-slider__container {
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    flex: 0 0 100%;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-sizing: border-box;
    text-align: center;
}

.review-card__stars {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 15px;
}

.review-card__text {
    font-size: 16px;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 20px;
}

.review-card__author {
    font-weight: bold;
    color: #c66b1b;
    margin-bottom: 5px;
}

.review-card__date {
    font-size: 12px;
    color: #888;
}

/* Точки навигации */
.reviews-slider__dots {
    text-align: center;
    margin-top: 20px;
}

.reviews-slider__dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: #555;
    border-radius: 50%;
    cursor: pointer;
}

.reviews-slider__dot.active {
    background: #c66b1b;
}

/* Кнопки скрыты на телефонах */
.reviews-slider__prev,
.reviews-slider__next {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
    z-index: 10;
}

.reviews-slider__prev { left: 10px; }
.reviews-slider__next { right: 10px; }

/* На компьютере кнопки видны */
@media (min-width: 769px) {
    .reviews-slider__prev,
    .reviews-slider__next {
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.6);
        color: white;
        border: none;
        font-size: 24px;
        cursor: pointer;
        padding: 10px 15px;
        border-radius: 50%;
        z-index: 10;
    }
    .reviews-slider__prev { left: 10px; }
    .reviews-slider__next { right: 10px; }
}

@media (max-width: 768px) {
    .review-card {
        padding: 20px;
    }
    .review-card__text {
        font-size: 14px;
    }
}

/* ========== КОНТАКТЫ - 2 КОЛОНКИ ========== */
.contacts {
    padding: 80px 0;
    background-color: #1e1e1e;
    width: 100%;
}

.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
}

.contacts__info p {
    margin-bottom: 20px;
    font-size: 18px;
}

.contacts__info a {
    color: #c66b1b;
    text-decoration: none;
}

.contacts__info a:hover {
    text-decoration: underline;
}

/* ========== ПОДВАЛ ========== */
.footer {
    background-color: #0a0a0a;
    padding: 60px 0 20px;
    border-top: 1px solid #c66b1b;
    width: 100%;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #2a2a2a;
}

.footer__logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
}

.footer__description {
    color: #888;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
}

.footer__title {
    color: #c66b1b;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #c66b1b;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__contact-icon {
    font-size: 18px;
    width: 30px;
    color: #c66b1b;
}

.footer__contact-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer__contact-link:hover {
    color: #c66b1b;
}

.footer__contact-text {
    color: #ccc;
    font-size: 14px;
}

.footer__nav {
    list-style: none;
    padding: 0;
}

.footer__nav li {
    margin-bottom: 12px;
}

.footer__nav-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer__nav-link:hover {
    color: #c66b1b;
    padding-left: 5px;
}

.footer__work-hours p {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 5px;
}

.footer__hours {
    color: #c66b1b;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 20px;
}

.footer__copyright {
    color: #666;
    font-size: 12px;
}

.footer__developer {
    color: #666;
    font-size: 12px;
}

/* ========== МОДАЛЬНОЕ ОКНО ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px;
}

.modal__content {
    background: #292929;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    padding: 40px;
    position: relative;
    border: 1px solid #c66b1b;
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.modal__close:hover {
    color: #c66b1b;
}

.modal__title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #ddd;
}

.form-input {
    width: 100%;
    padding: 12px;
    background: #3a3a3a;
    border: 1px solid #555;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #c66b1b;
}

.calc-result {
    background: #3a3a3a;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.calc-result strong {
    font-size: 24px;
    color: #c66b1b;
}

/* ========== 3D КАРТОЧКА ========== */
/* ========== 3D КАРТОЧКА ========== */
/* .callback-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
    perspective: 1200px;
    width: 100%;
}

.callback-3d {
     max-width: 500px;
    margin: 0 auto;
    perspective: 1000px;
    cursor: pointer;
}

.callback-3d__shadow {
    position: absolute;
    bottom: -30px;
    left: 10%;
    width: 80%;
    height: 40px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    filter: blur(8px);
    transition: all 0.1s;
    opacity: 0.4;
}

.callback-3d__card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(198, 107, 27, 0.3);
    transition: all 0.5s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
    cursor: pointer;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4);
}

.callback-3d__content {
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.callback-3d__icon {
    font-size: 56px;
    text-align: center;
    margin-bottom: 20px;
    transform: translateZ(30px);
}

.callback-3d__title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 15px;
    color: white;
    transform: translateZ(25px);
}

.callback-3d__text {
    text-align: center;
    color: #ccc;
    margin-bottom: 30px;
    font-size: 14px;
    transform: translateZ(20px);
}

.callback-3d__group {
    margin-bottom: 15px;
    transform: translateZ(15px);
}

.callback-3d__input {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    transition: all 0,5s;
}

.callback-3d__input:focus {
    outline: none;
    border-color: #c66b1b;
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.callback-3d__input::placeholder {
    color: #888;
}

.callback-3d__btn {
    width: 100%;
    padding: 14px;
    background: #c66b1b;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.1s;
    transform: translateZ(20px);
}

.callback-3d__btn:hover {
    background: #a85612;
    transform: translateZ(25px) scale(1.02);
}

.callback-3d__success {
    text-align: center;
    padding: 20px;
    background: rgba(76, 175, 80, 0.2);
    border-radius: 12px;
    color: #4caf50;
    font-weight: bold;
    margin-top: 20px;
    transform: translateZ(20px);
} 



 */
/* ===== 3D КАРТОЧКА ОБРАТНОГО ЗВОНКА ===== */

.callback-3d {
    max-width: 500px;
    margin: 0 auto;
    perspective: 1000px;
    cursor: pointer;
}

.callback-3d__shadow {
    position: absolute;
    bottom: -30px;
    left: 10%;
    width: 80%;
    height: 40px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    filter: blur(8px);
    transition: all 0.1s;
    opacity: 0.4;
}

.callback-3d__card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(198, 107, 27, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    will-change: transform;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* Элегантная оранжевая тень (не толстая) */
    box-shadow: 0 8px 20px rgba(198, 107, 27, 0.3);
}

/* 3D эффект при движении мыши + тень становится ярче */
.callback-3d__card:hover {
    transform: rotateX(5deg) rotateY(10deg) translateY(-5px);
    box-shadow: 0 18px 35px rgba(198, 107, 27, 0.55), 0 0 15px rgba(198, 107, 27, 0.25);
}

/* Тень под карточкой при 3D повороте */
.callback-3d:hover .callback-3d__shadow {
    opacity: 0.7;
    transform: translateY(10px);
    filter: blur(12px);
}

/* Контент внутри карточки */
.callback-3d__content {
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

/* 3D эффект для элементов внутри */
.callback-3d__icon {
    font-size: 56px;
    text-align: center;
    margin-bottom: 20px;
    transform: translateZ(30px);
}

.callback-3d__title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 15px;
    color: white;
    transform: translateZ(25px);
}

.callback-3d__text {
    text-align: center;
    color: #ccc;
    margin-bottom: 30px;
    font-size: 14px;
    transform: translateZ(20px);
}

.callback-3d__group {
    margin-bottom: 15px;
    transform: translateZ(15px);
}

.callback-3d__input {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    transition: all 0.3s;
}

.callback-3d__input:focus {
    outline: none;
    border-color: #c66b1b;
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.callback-3d__input::placeholder {
    color: #888;
}

.callback-3d__btn {
    width: 100%;
    padding: 14px;
    background: #c66b1b;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    transform: translateZ(20px);
}

.callback-3d__btn:hover {
    background: #a85612;
    transform: translateZ(25px) scale(1.02);
}

.callback-3d__success {
    text-align: center;
    padding: 20px;
    background: rgba(76, 175, 80, 0.2);
    border-radius: 12px;
    color: #4caf50;
    font-weight: bold;
    margin-top: 20px;
    transform: translateZ(20px);
}

/* ===== РОВНЫЙ ПЛАВНЫЙ СЕРЕБРИСТЫЙ БЛЕСК ДЛЯ КАРТОЧКИ ОБРАТНОГО ЗВОНКА ===== */
.callback-3d__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.12) 40%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0.12) 60%,
        rgba(255,255,255,0) 100%);
    transform: skewX(-15deg);
    animation: shineMove 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
    z-index: 10;
}

@keyframes shineMove {
    0% {
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    30% {
        left: 150%;
        opacity: 1;
    }
    40% {
        opacity: 0;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}

/* При наведении на карточку - быстрый плавный блеск */
.callback-3d__card:hover::before {
    animation: shineHover 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes shineHover {
    0% {
        left: -100%;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        left: 150%;
        opacity: 1;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}



/* Телефоны */
@media (max-width: 768px) {
    .callback-3d__card {
        box-shadow: 0 6px 18px rgba(198, 107, 27, 0.3);
    }
    
    .callback-3d__card:hover {
        transform: rotateX(2deg) rotateY(5deg) translateY(-3px);
        box-shadow: 0 14px 30px rgba(198, 107, 27, 0.5);
    }
}
 .callback-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
    perspective: 1200px;
    width: 100%;
}

.callback-3d {
     max-width: 500px;
    margin: 0 auto;
    perspective: 1000px;
    cursor: pointer;
}

.callback-3d__shadow {
    position: absolute;
    bottom: -30px;
    left: 10%;
    width: 80%;
    height: 40px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    filter: blur(8px);
    transition: all 0.1s;
    opacity: 0.4;
}

.callback-3d__card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(198, 107, 27, 0.3);
    transition: all 0.5s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
    cursor: pointer;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4);
}

.callback-3d__content {
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.callback-3d__icon {
    font-size: 56px;
    text-align: center;
    margin-bottom: 20px;
    transform: translateZ(30px);
}

.callback-3d__title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 15px;
    color: white;
    transform: translateZ(25px);
}

.callback-3d__text {
    text-align: center;
    color: #ccc;
    margin-bottom: 30px;
    font-size: 14px;
    transform: translateZ(20px);
}

.callback-3d__group {
    margin-bottom: 15px;
    transform: translateZ(15px);
}

.callback-3d__input {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    transition: all 0,5s;
}

.callback-3d__input:focus {
    outline: none;
    border-color: #c66b1b;
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.callback-3d__input::placeholder {
    color: #888;
}

.callback-3d__btn {
    width: 100%;
    padding: 14px;
    background: #c66b1b;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.1s;
    transform: translateZ(20px);
}

.callback-3d__btn:hover {
    background: #a85612;
    transform: translateZ(25px) scale(1.02);
}

.callback-3d__success {
    text-align: center;
    padding: 20px;
    background: rgba(76, 175, 80, 0.2);
    border-radius: 12px;
    color: #4caf50;
    font-weight: bold;
    margin-top: 20px;
    transform: translateZ(20px);
} 





/* ========== ПЛАВАЮЩАЯ ПАНЕЛЬ С КНОПКОЙ СВОРАЧИВАНИЯ (ФИКСИРОВАННАЯ) ========== */
.float-panel {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 12px !important;
    transform: none !important;
    transition: none !important;
}

/* Кнопка сворачивания/разворачивания (снизу) */
.float-panel__toggle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #c66b1b;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999999;
    order: 2;
}

.float-panel__toggle:hover {
    transform: scale(1.05);
    background: #a85612;
}

.float-panel__toggle-icon {
    font-size: 24px;
    color: white;
    font-weight: bold;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Панель с кнопками (сверху от кнопки сворачивания) */
.float-panel__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
    opacity: 1;
    visibility: visible;
    order: 1;
}

/* Скрытое состояние */
.float-panel.collapsed .float-panel__buttons {
    transform: scale(0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.float-panel.collapsed .float-panel__toggle-icon {
    transform: rotate(45deg);
}

/* Иконки */
.float-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
}

.float-icon--phone {
    background: linear-gradient(135deg, #34b7f1 0%, #1e88e5 100%);
    animation: pulse-phone 2s infinite;
}

.float-icon--whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    animation: pulse-wa 2s infinite;
    animation-delay: 0.3s;
}

.float-icon--telegram {
    background: linear-gradient(135deg, #0088cc 0%, #005f8c 100%);
    animation: pulse-tg 2s infinite;
    animation-delay: 0.6s;
}

.float-icon--max {
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    animation: pulse-max 2s infinite;
    animation-delay: 0.9s;
}

/* Анимации пульсации */
@keyframes pulse-phone {
    0% { box-shadow: 0 0 0 0 rgba(52, 183, 241, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(52, 183, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 183, 241, 0); }
}

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulse-tg {
    0% { box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 136, 204, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 136, 204, 0); }
}

@keyframes pulse-max {
    0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(139, 92, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}

/* Тултипы */
.float-tooltip {
    position: absolute;
    right: 70px;
    background: #1e1e1e;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-family: monospace;
    pointer-events: none;
}

.float-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #1e1e1e;
}

.float-icon:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

/* Адаптация для телефонов */
@media (max-width: 768px) {
    .float-panel {
        bottom: 20px !important;
        right: 20px !important;
        gap: 10px !important;
    }
    
    .float-panel__toggle {
        width: 48px;
        height: 48px;
    }
    
    .float-panel__toggle-icon {
        font-size: 20px;
    }
    
    .float-icon {
        width: 48px;
        height: 48px;
    }
    
    .float-icon svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .float-panel {
        bottom: 15px !important;
        right: 15px !important;
        gap: 8px !important;
    }
    
    .float-panel__toggle {
        width: 45px;
        height: 45px;
    }
    
    .float-panel__toggle-icon {
        font-size: 18px;
    }
    
    .float-icon {
        width: 45px;
        height: 45px;
    }
    
    .float-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .float-tooltip {
        display: none;
    }
}
/* ========== МОДАЛЬНОЕ ОКНО ВЫБОРА ГОРОДА ========== */
.city-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    justify-content: center;
    align-items: center;
}

.city-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.city-modal__content {
    position: relative;
    max-width: 450px;
    width: 90%;
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    border: 2px solid #c66b1b;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    z-index: 100001;
}

.city-modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #888;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
}

.city-modal__close:hover { color: #c66b1b; }
.city-modal__icon { font-size: 60px; margin-bottom: 15px; }
.city-modal__title { font-size: 28px; color: white; margin-bottom: 10px; }
.city-modal__text {
    color: #222 !important;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.9);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
}

.city-modal__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

 .city-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 12px 28px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.city-btn:hover {
    background: #c66b1b;
    border-color: #c66b1b;
    transform: translateY(-2px);
} 


.city-modal__note {
    color: #111 !important;
    font-size: 13px;
    font-weight: bold;
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.85);
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
}

/* ========== АНИМАЦИИ ========== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-card, .advantage-card, .review-card, .gallery__item {
    animation: fadeIn 0.5s ease-out;
}

html { scroll-behavior: smooth; }

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 1200px) { .services__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1100px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 992px) {
    .hero__title { font-size: 36px; }
    .section-title { font-size: 32px; }
    .section-subtitle { font-size: 18px; }
}
@media (max-width: 850px) {
    .header__container { flex-wrap: wrap; padding: 10px 20px; gap: 12px; }
    .logo { order: 1; }
    .logo--circle { width: 55px; height: 55px; }
    .search-container { order: 3; max-width: 100%; width: 100%; margin-top: 5px; }
    .nav { order: 2; }
    .nav__toggle { display: block; }
    .nav__list {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #292929;
        flex-direction: column;
        padding: 20px;
        gap: 12px;
        text-align: center;
        border-top: 1px solid #444;
        border-bottom: 1px solid #444;
        z-index: 1000;
    }
    .nav__list.active { display: flex; }
    .nav__item { white-space: normal; }
    .nav__link { font-size: 16px; padding: 8px 0; display: block; }
}
@media (max-width: 768px) {
    .hero__container { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .hero__title { font-size: 28px; }
    .hero__description { font-size: 16px; }
    .hero__img { max-height: 250px; object-fit: cover; }
    .section-title { font-size: 28px; }
    .section-subtitle { font-size: 16px; margin-bottom: 40px; }
    .services__grid, .advantages__grid, .contacts__grid { grid-template-columns: 1fr; }
    .modal__content { padding: 30px 20px; margin: 20px; }
    .callback-3d { width: 90%; max-width: 400px; }
    .callback-3d__title { font-size: 26px; }
    .callback-3d__card { padding: 30px 25px; }
    .callback-3d__icon { font-size: 48px; }
    .footer__content { grid-template-columns: 1fr; gap: 30px; }
    .footer__bottom { flex-direction: column; text-align: center; }
    .footer__title::after { left: 50%; transform: translateX(-50%); }
    .footer__title { text-align: center; }
    .footer__contact-item { justify-content: center; }
    .footer__nav { text-align: center; }
    .footer__work-hours { text-align: center; }
}
@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .hero { padding: 40px 0; }
    .hero__title { font-size: 24px; }
    .hero__description { font-size: 14px; }
    .btn { padding: 10px 20px; font-size: 14px; }
    .advantage-card__icon { width: 50px; height: 50px; }
    .advantage-card__icon svg { width: 24px; height: 24px; }
    .advantage-card__title { font-size: 18px; }
    .logo--circle { width: 53px; height: 53px; }
    .callback-3d { width: 95%; }
    .callback-3d__title { font-size: 24px; }
    .callback-3d__card { padding: 25px 20px; }
    .footer__logo-img { height: 50px; }
    .footer__description { text-align: center; }
    .search-input { padding: 8px 12px; font-size: 12px; }
    .search-results { max-height: 300px; }
    .search-result-item { padding: 10px 15px; }
}

/* ========== СТРАНИЦА ДОСТАВКИ ========== */
.delivery-hero { padding: 100px 0; background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%); text-align: center; }
.delivery-hero__title { font-size: 48px; margin-bottom: 20px; color: white; }
.delivery-hero__description { font-size: 18px; color: #ccc; max-width: 800px; margin: 0 auto 30px; }
.fleet { padding: 80px 0; background-color: #1e1e1e; }
.fleet__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.fleet-card { background: rgba(255, 255, 255, 0.05); border-radius: 20px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.fleet-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); }
.fleet-card__image { height: 250px; overflow: hidden; }
.fleet-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.fleet-card:hover .fleet-card__img { transform: scale(1.05); }
.fleet-card__content { padding: 25px; }
.fleet-card__title { font-size: 22px; color: #c66b1b; margin-bottom: 15px; }
.fleet-card__text { color: #ccc; margin-bottom: 20px; line-height: 1.6; font-size: 14px; }
.fleet-card__specs { display: flex; flex-wrap: wrap; gap: 10px; }
.fleet-card__specs span { background: rgba(198, 107, 27, 0.2); padding: 5px 12px; border-radius: 20px; font-size: 12px; color: #c66b1b; }
.delivery-items { padding: 80px 0; background-color: #292929; }
.delivery-items__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;     grid-template-columns: repeat(3, 1fr) !important; }
.item-card { background: rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 30px; text-align: center; transition: all 0.3s ease; cursor: pointer; position: relative; overflow: hidden; }
.item-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.1); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); }
.item-card__icon { font-size: 56px; margin-bottom: 15px; transition: transform 0.3s; }
.item-card:hover .item-card__icon { transform: scale(1.1); }
.item-card__title { font-size: 22px; margin-bottom: 10px; color: white; }
.item-card__text { color: #ccc; font-size: 14px; margin-bottom: 20px; }
.delivery-zones { padding: 80px 0; background-color: #1e1e1e; }
.delivery-zones__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.zone-card { background: rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 30px; text-align: center; transition: transform 0.3s; }
.zone-card:hover { transform: translateY(-5px); }
.zone-card__icon { font-size: 40px; margin-bottom: 15px; }
.zone-card__title { font-size: 20px; color: #c66b1b; margin-bottom: 10px; }
.zone-card__text { color: #ccc; font-size: 14px; }
.delivery-order { padding: 80px 0; background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%); }
.delivery-order__card { max-width: 600px; margin: 0 auto; background: rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 40px; border: 1px solid rgba(198, 107, 27, 0.3); }
.delivery-order__title { font-size: 28px; text-align: center; margin-bottom: 15px; color: white; }
.delivery-order__text { text-align: center; color: #ccc; margin-bottom: 30px; }
.delivery-order__group { margin-bottom: 15px; }
.delivery-order__input { width: 100%; padding: 14px 20px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 12px; color: white; font-size: 16px; font-family: inherit; }
.delivery-order__input:focus { outline: none; border-color: #c66b1b; }
.delivery-order__input::placeholder { color: #888; }
.delivery-order__success { text-align: center; padding: 20px; background: rgba(76, 175, 80, 0.2); border-radius: 12px; color: #4caf50; font-weight: bold; margin-top: 20px; }

/* ========== СТРАНИЦА АСФАЛЬТА ========== */
.asphalt-hero { padding: 100px 0; background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%); text-align: center; }
.asphalt-hero__title { font-size: 48px; margin-bottom: 20px; color: white; }
.asphalt-hero__description { font-size: 18px; color: #ccc; max-width: 800px; margin: 0 auto 30px; }
.asphalt-gallery { padding: 80px 0; background-color: #1e1e1e; }
.asphalt-gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.asphalt-gallery__item { overflow: hidden; border-radius: 20px; cursor: pointer; }
.asphalt-gallery__img { width: 100%; height: 300px; object-fit: cover; transition: transform 0.3s; }
.asphalt-gallery__img:hover { transform: scale(1.05); }
@media (max-width: 768px) {
    .asphalt-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .asphalt-gallery__img { height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
}
@media (max-width: 480px) {
    .asphalt-gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
.asphalt-info { padding: 80px 0; background-color: #292929; }
.asphalt-info__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.asphalt-info__card { background: rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 30px; }
.asphalt-info__card h3 { font-size: 24px; color: #c66b1b; margin-bottom: 20px; }
.asphalt-info__card ul { list-style: none; padding: 0; }
.asphalt-info__card li { color: #ccc; margin-bottom: 12px; font-size: 16px; }

/* ========== СТРАНИЦА ПЛАСТИКОВОГО БОРДЮРА ========== */
.plastic-hero { padding: 100px 0; background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%); text-align: center; }
.plastic-hero__title { font-size: 48px; margin-bottom: 20px; color: white; }
.plastic-hero__description { font-size: 18px; color: #ccc; max-width: 800px; margin: 0 auto 30px; }
.plastic-gallery { padding: 80px 0; background-color: #1e1e1e; }
.plastic-gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.plastic-gallery__item { overflow: hidden; border-radius: 20px; cursor: pointer; }
.plastic-gallery__img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.3s; }
.plastic-gallery__img:hover { transform: scale(1.05); }
@media (max-width: 768px) {
    .plastic-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .plastic-gallery__img { height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
}
@media (max-width: 480px) {
    .plastic-gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
.plastic-info { padding: 80px 0; background-color: #292929; }
.plastic-info__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.plastic-info__card { background: rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 30px; }
.plastic-info__card h3 { font-size: 24px; color: #c66b1b; margin-bottom: 20px; }
.plastic-info__card ul { list-style: none; padding: 0; }
.plastic-info__card li { color: #ccc; margin-bottom: 12px; font-size: 16px; }

/* ========== СТРАНИЦА ФУНДАМЕНТА ========== */
.foundation-hero { padding: 100px 0; background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%); text-align: center; }
.foundation-hero__title { font-size: 48px; margin-bottom: 20px; color: white; }
.foundation-hero__description { font-size: 18px; color: #ccc; max-width: 800px; margin: 0 auto 30px; }
.foundation-gallery { padding: 80px 0; background-color: #1e1e1e; }
.foundation-gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.foundation-gallery__item { overflow: hidden; border-radius: 20px; cursor: pointer; }
.foundation-gallery__img { width: 100%; height: 300px; object-fit: cover; transition: transform 0.3s; }
.foundation-gallery__img:hover { transform: scale(1.05); }
@media (max-width: 768px) {
    .foundation-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .foundation-gallery__img { height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
}
@media (max-width: 480px) {
    .foundation-gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
.foundation-info { padding: 80px 0; background-color: #292929; }
.foundation-info__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.foundation-info__card { background: rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 30px; }
.foundation-info__card h3 { font-size: 24px; color: #c66b1b; margin-bottom: 20px; }
.foundation-info__card ul { list-style: none; padding: 0; }
.foundation-info__card li { color: #ccc; margin-bottom: 12px; font-size: 16px; }

/* ========== СТРАНИЦА УКЛАДКИ ГАЗОНА ========== */
.lawn-hero { padding: 100px 0; background: linear-gradient(135deg, #808000 0%, #2d6a4f 100%); text-align: center; }
.lawn-hero__title { font-size: 48px; margin-bottom: 20px; color: white; }
.lawn-hero__description { font-size: 18px; color: #e8f5e9; max-width: 800px; margin: 0 auto 30px; }
.lawn-gallery { padding: 80px 0; background-color: #1e1e1e; }
.lawn-gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.lawn-gallery__item { overflow: hidden; border-radius: 20px; cursor: pointer; }
.lawn-gallery__img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.3s; }
.lawn-gallery__img:hover { transform: scale(1.05); }
@media (max-width: 768px) {
    .lawn-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .lawn-gallery__img { height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
}
@media (max-width: 480px) {
    .lawn-gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
.lawn-info { padding: 80px 0; background-color: #292929; }
.lawn-info__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.lawn-info__card { background: rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 30px; }
.lawn-info__card h3 { font-size: 24px; color: #c66b1b; margin-bottom: 20px; }
.lawn-info__card ul { list-style: none; padding: 0; }
.lawn-info__card li { color: #ccc; margin-bottom: 12px; font-size: 16px; }
@media (max-width: 768px) {
/*     ===== АНИМАЦИЯ ПОЯВЛЕНИЯ ДЛЯ СТРАНИЦ ГОРОДОВ (ТОЛЬКО CSS) =====

Начальное состояние - всё сдвинуто влево
.hero-city-full__bg,
.hero-city-full__overlay,
.hero-city-full__title,
.hero-city-full__description,
.hero-city-full__features,
.hero-city-full__buttons {
opacity: 0;
transform: translateX(-100px);
animation: slideFromLeftCity 1.5s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

Ключевые кадры
@keyframes slideFromLeftCity {
0% {
    opacity: 0;
    transform: translateX(-100px);
}
100% {
    opacity: 1;
    transform: translateX(0);
}
}
===== АНИМАЦИЯ ДЛЯ ГЛАВНОГО СЛАЙДЕРА =====

Начальное состояние - элементы скрыты
.fullscreen-slider__slide .animate-title,
.fullscreen-slider__slide .animate-subtitle,
.fullscreen-slider__slide .animate-buttons {
opacity: 0;
transform: translateX(-80px);
transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

Активный слайд - элементы выезжают
.fullscreen-slider__slide.active .animate-title {
opacity: 1;
transform: translateX(0);
transition-delay: 0.1s;
}

.fullscreen-slider__slide.active .animate-subtitle {
opacity: 1;
transform: translateX(0);
transition-delay: 0.2s;
}

.fullscreen-slider__slide.active .animate-buttons {
opacity: 1;
transform: translateX(0);
transition-delay: 0.3s;
}

Отключаем конфликтующие анимации фона
.fullscreen-slider__slide .fullscreen-slider__bg,
.fullscreen-slider__slide .fullscreen-slider__overlay {
animation: none !important;
} */
    /* Для блоков "Почему выбирают нас" */
    .about-city__block {
        transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        background: rgba(30, 30, 30, 0.9) !important;
    }
    
    /* Эффект при скролле - тень появляется */
    .about-city__block.visible {
        box-shadow: 
            0 0 0 1px rgba(198, 107, 27, 0.3),
            0 10px 25px -5px rgba(198, 107, 27, 0.4),
            0 0 20px rgba(198, 107, 27, 0.2);
    }
    
    /* Для карточек услуг */
    .service-card-3d__front.visible {
        box-shadow: 
            0 0 0 1px rgba(198, 107, 27, 0.3),
            0 15px 30px -8px rgba(198, 107, 27, 0.5),
            0 0 25px rgba(198, 107, 27, 0.25);
        transition: all 0.3s ease;
    }
    
    /* Для карточек преимуществ */
    .advantage-card.visible {
        box-shadow: 
            0 0 0 1px rgba(198, 107, 27, 0.3),
            0 12px 25px -6px rgba(198, 107, 27, 0.45),
            0 0 18px rgba(198, 107, 27, 0.2);
    }
    
    /* Для кнопок при нажатии */
    .fullscreen-slider__btn:active,
    .hero-city__btn:active,
    .btn:active {
        box-shadow: 
            0 0 0 1px rgba(198, 107, 27, 0.5),
            0 5px 15px rgba(198, 107, 27, 0.6),
            0 0 15px rgba(198, 107, 27, 0.4);
        transform: translateY(-1px);
        transition: all 0.05s ease;
    }
}

/* Голографический эффект */
.gallery__item {
    position: relative;
    overflow: hidden;
}

.gallery__item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(198, 107, 27, 0.15),
        rgba(255, 170, 68, 0.3),
        rgba(198, 107, 27, 0.15),
        transparent 70%
    );
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 2;
}

.gallery__item:hover::before {
    opacity: 1;
    animation: hologramShine 0.8s ease-out;
}

@keyframes hologramShine {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}
/* Анимация только для первого слайда при загрузке
.first-slide.active .animate-title,
.first-slide.active .animate-subtitle,
.first-slide.active .animate-buttons {
    animation: slideInOnLoad 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

@keyframes slideInOnLoad {
    0% { opacity: 0; transform: translateX(-80px); }
    100% { opacity: 1; transform: translateX(0); }
}

Убираем анимацию после того, как она сработала
.first-slide.active .animate-title,
.first-slide.active .animate-subtitle,
.first-slide.active .animate-buttons {
    animation-fill-mode: forwards;
} */
/* ===== СОВРЕМЕННЫЕ КАРТОЧКИ УСЛУГ 2026 ===== */

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 20px 0;
}

.service-card-3d,
.service-card {
    background: linear-gradient(145deg, #1c1c1c, #161616);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Глянцевый край при наведении */
.service-card-3d::before,
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(198,107,27,0.3), rgba(198,107,27,0));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.service-card-3d:hover::before,
.service-card:hover::before {
    opacity: 1;
}

.service-card-3d:hover,
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(198, 107, 27, 0.2);
}

/* Фото */
.service-card-3d__image,
.service-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-card-3d__image img,
.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card-3d:hover .service-card-3d__image img,
.service-card:hover .service-card__image img {
    transform: scale(1.08);
}

/* Затемнение поверх фото */
.service-card-3d__image::after,
.service-card__image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    pointer-events: none;
}

/* Иконка */
.service-card-3d__icon,
.service-card__icon {
    width: 48px;
    height: 48px;
    margin: -24px auto 12px auto;
    background: #c66b1b;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(198,107,27,0.3);
}

/* Контент */
.service-card-3d__content,
.service-card__content {
    padding: 16px 20px 24px;
    text-align: center;
}

/* Заголовок - БЕЛЫЙ */
.service-card-3d__title,
.service-card__title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

/* Цена */
.service-card-3d__price,
.service-card__price {
    font-size: 24px;
    font-weight: 800;
    color: #c66b1b;
    margin-bottom: 12px;
}

.service-card-3d__price span,
.service-card__price span {
    font-size: 13px;
    font-weight: 400;
    color: #777;
}

/* Описание - БЕЛЫЙ, но полупрозрачный */
.service-card-3d__text,
.service-card__text,
.service-card-3d__description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 16px;
}

/* Кнопка - новая версия */
.service-card-3d__btn,
.service-card__btn {
    display: inline-block;
    background: rgba(198, 107, 27, 0.9);
    border: none;
    color: white;
    padding: 10px 28px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(198, 107, 27, 0.2);
}

/* При наведении на кнопку - становится темнее */
.service-card-3d__btn:hover,
.service-card__btn:hover {
    background: rgba(160, 80, 20, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(198, 107, 27, 0.3);
}

/* При наведении на кнопку - эффект нажатия */
.service-card-3d__btn:active,
.service-card__btn:active {
    transform: translateY(1px);
}

/* Мобильная кнопка */
.service-card-3d__btn-mobile {
    display: none;
}

/* ===== АДАПТАЦИЯ ===== */
@media (max-width: 992px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .services__grid {
        gap: 16px;
    }
    
    .service-card-3d__image,
    .service-card__image {
        height: 160px;
    }
    
    .service-card-3d__title,
    .service-card__title {
        font-size: 16px;
    }
    
    .service-card-3d__price,
    .service-card__price {
        font-size: 20px;
    }
    
    .service-card-3d__btn,
    .service-card__btn {
        display: none;
    }
    
    .service-card-3d__btn-mobile {
        display: inline-block;
        background: #c66b1b;
        color: white;
        border: none;
        padding: 8px 20px;
        border-radius: 40px;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        margin-top: 8px;
        cursor: pointer;
    }
    
    .service-card-3d__btn-mobile:hover {
        background: #a85612;
    }
}

@media (max-width: 576px) {
    .services__grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }
}
/* ===== КРАСИВЫЙ БЛОК "ПОЧЕМУ ВЫБИРАЮТ НАС" ===== */

.about-city__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.about-city__block {
    background: linear-gradient(145deg, #1c1c1c, #161616);
    border-radius: 20px;
    padding: 28px 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Глянцевый край при наведении */
.about-city__block::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(198,107,27,0.3), rgba(198,107,27,0));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.about-city__block:hover::before {
    opacity: 1;
}

.about-city__block:hover {
    transform: translateY(-5px);
    border-color: rgba(198, 107, 27, 0.2);
}

/* Иконка */
.about-city__block h3 {
    font-size: 20px;
    color: #c66b1b;
    margin-bottom: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Текст */
.about-city__block p,
.about-city__block li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

.about-city__block ul {
    padding-left: 20px;
    margin: 0;
}

.about-city__block li {
    margin-bottom: 8px;
}

/* Цены в таблице */
.price-table {
    margin-top: 10px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.price-row span:first-child {
    color: rgba(255, 255, 255, 0.6);
}

.price-row span:last-child {
    color: #c66b1b;
    font-weight: 600;
}

.price-row--note {
    border-bottom: none;
    color: #c66b1b;
    font-size: 11px;
    justify-content: center;
    margin-top: 10px;
}

/* ===== АДАПТАЦИЯ ДЛЯ ПЛАНШЕТОВ ===== */
@media (max-width: 992px) {
    .about-city__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ===== АДАПТАЦИЯ ДЛЯ ТЕЛЕФОНОВ ===== */
@media (max-width: 768px) {
    .about-city__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .about-city__block {
        padding: 20px 16px;
    }
    
    .about-city__block h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .about-city__block p,
    .about-city__block li {
        font-size: 13px;
    }
    
    .price-row {
        font-size: 12px;
    }
}
/* ===== КРАСИВЫЙ БЛОК "ПОЧЕМУ ВЫБИРАЮТ НАС" С ОРАНЖЕВОЙ ТЕНЬЮ ===== */

.about-city__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.about-city__block {
    background: linear-gradient(145deg, #1c1c1c, #161616);
    border-radius: 20px;
    padding: 28px 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(198, 107, 27, 0.15);
    position: relative;
    overflow: hidden;
    /* Оранжевая тень ВСЕГДА */
    box-shadow: 0 8px 20px rgba(198, 107, 27, 0.15);
}

/* Глянцевый край */
.about-city__block::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(198,107,27,0.4), rgba(198,107,27,0.05));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    transition: opacity 0.4s;
    pointer-events: none;
}

/* При наведении - тень СТАНОВИТСЯ ЯРЧЕ */
.about-city__block:hover {
    transform: translateY(-5px);
    border-color: rgba(198, 107, 27, 0.35);
    box-shadow: 0 15px 30px rgba(198, 107, 27, 0.3);
}

.about-city__block:hover::before {
    opacity: 1;
}

/* Иконка (эмодзи или иконка) */
.about-city__block h3 {
    font-size: 20px;
    color: #c66b1b;
    margin-bottom: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Добавляем красивую линию под заголовком */
.about-city__block h3::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #c66b1b, transparent);
    margin-left: 10px;
}

/* Текст - БЕЛЫЙ, ЧЁТКИЙ */
.about-city__block p,
.about-city__block li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.about-city__block ul {
    padding-left: 20px;
    margin: 0;
}

.about-city__block li {
    margin-bottom: 10px;
    position: relative;
}

/* Оранжевые маркеры для списка */
.about-city__block li::marker {
    color: #c66b1b;
}

/* Таблица цен */
.price-table {
    margin-top: 10px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    transition: all 0.2s;
}

.price-row:hover {
    border-bottom-color: rgba(198, 107, 27, 0.3);
    padding-left: 5px;
}

.price-row span:first-child {
    color: rgba(255, 255, 255, 0.7);
}

.price-row span:last-child {
    color: #c66b1b;
    font-weight: 700;
    font-size: 14px;
}

.price-row--note {
    border-bottom: none;
    color: #c66b1b;
    font-size: 11px;
    justify-content: center;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(198, 107, 27, 0.2);
}

/* ===== АДАПТАЦИЯ ДЛЯ ПЛАНШЕТОВ ===== */
@media (max-width: 992px) {
    .about-city__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ===== АДАПТАЦИЯ ДЛЯ ТЕЛЕФОНОВ ===== */
@media (max-width: 768px) {
    .about-city__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .about-city__block {
        padding: 20px 16px;
        /* На телефоне тень чуть меньше, но всё равно заметна */
        box-shadow: 0 6px 16px rgba(198, 107, 27, 0.12);
    }
    
    .about-city__block:hover {
        box-shadow: 0 12px 24px rgba(198, 107, 27, 0.25);
    }
    
    .about-city__block h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .about-city__block h3::after {
        display: none;
    }
    
    .about-city__block p,
    .about-city__block li {
        font-size: 13px;
    }
    
    .price-row {
        font-size: 12px;
        padding: 8px 0;
    }
    
    .price-row span:last-child {
        font-size: 13px;
    }
}
/* Анимация только для первого слайда при загрузке (выезд СНИЗУ) */
.first-slide.active .animate-title,
.first-slide.active .animate-subtitle,
.first-slide.active .animate-buttons {
    animation: slideInOnLoad 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

@keyframes slideInOnLoad {
    0% { 
        opacity: 0; 
        transform: translateY(60px);  /* было translateX(-80px) - СЛЕВА, стало translateY(60px) - СНИЗУ */
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Убираем анимацию после того, как она сработала */
.first-slide.active .animate-title,
.first-slide.active .animate-subtitle,
.first-slide.active .animate-buttons {
    animation-fill-mode: forwards;
}
/* ===== ЗОЛОТОЙ БЛЕСК ДЛЯ ВСЕХ КНОПОК ===== */

/* Все кнопки на сайте получают эффект блеска */
.fullscreen-slider__btn,
.hero-city__btn,
.hero__btn,
.btn,
.slide-btn,
.callback-3d__btn,
.item-modal__btn,
.delivery-order__btn,
.hero-city-full__btn,
.service-card-3d__btn,
.service-card-3d__btn-mobile,
.tile-card__btn {
    position: relative;
    overflow: hidden;
}

/* Блестящая полоса (золотая) */
.fullscreen-slider__btn::before,
.hero-city__btn::before,
.hero__btn::before,
.btn::before,
.slide-btn::before,
.callback-3d__btn::before,
.item-modal__btn::before,
.delivery-order__btn::before,
.hero-city-full__btn::before,
.service-card-3d__btn::before,
.service-card-3d__btn-mobile::before,
.tile-card__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 215, 0, 0.4) 40%,
        rgba(255, 215, 0, 0.8) 50%,
        rgba(255, 215, 0, 0.4) 60%,
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: goldShine 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
}

/* Ключевые кадры анимации */
@keyframes goldShine {
    0% {
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    25% {
        left: 150%;
        opacity: 1;
    }
    35% {
        opacity: 0;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}

/* При наведении на кнопку - блеск ускоряется */
.fullscreen-slider__btn:hover::before,
.hero-city__btn:hover::before,
.hero__btn:hover::before,
.btn:hover::before,
.slide-btn:hover::before,
.callback-3d__btn:hover::before,
.item-modal__btn:hover::before,
.delivery-order__btn:hover::before,
.hero-city-full__btn:hover::before,
.service-card-3d__btn:hover::before,
.service-card-3d__btn-mobile:hover::before,
.tile-card__btn:hover::before {
    animation: goldShineFast 0.6s ease-in-out forwards;
}

@keyframes goldShineFast {
    0% {
        left: -100%;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        left: 150%;
        opacity: 1;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}
/* ===== АНИМАЦИЯ ДЛЯ СТРАНИЦ ГОРОДОВ ===== */
.hero-city-full__bg,
.hero-city-full__overlay,
.hero-city-full__title,
.hero-city-full__description,
.hero-city-full__features,
.hero-city-full__buttons {
    opacity: 0;
    transform: translateX(-100px);
    animation: slideFromLeftCity 1.2s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

@keyframes slideFromLeftCity {
    0% { opacity: 0; transform: translateX(-100px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* ===== АНИМАЦИЯ ДЛЯ ГЛАВНОГО СЛАЙДЕРА ===== */
.fullscreen-slider__slide .animate-title,
.fullscreen-slider__slide .animate-subtitle,
.fullscreen-slider__slide .animate-buttons {
    opacity: 0;
    transform: translateX(-80px);
    transition: all 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.fullscreen-slider__slide.active .animate-title {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
}

.fullscreen-slider__slide.active .animate-subtitle {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.fullscreen-slider__slide.active .animate-buttons {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.3s;
}

/* Отключаем конфликтующие анимации */
.fullscreen-slider__slide .fullscreen-slider__bg,
.fullscreen-slider__slide .fullscreen-slider__overlay {
    animation: none !important;
}

/* ========== МОДАЛЬНОЕ ОКНО ДЛЯ ДОСТАВКИ ========== */
.item-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    justify-content: center;
    align-items: center;
}
.item-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}
.item-modal__container {
    position: relative;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border-radius: 24px;
    border: 1px solid #c66b1b;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}
.item-modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}
.item-modal__close:hover { color: #c66b1b; }
.item-modal__content { padding: 40px; text-align: center; }
.item-modal__icon { font-size: 64px; margin-bottom: 20px; }
.item-modal__title { font-size: 28px; color: #c66b1b; margin-bottom: 20px; }
.item-modal__description { color: #ccc; line-height: 1.6; margin-bottom: 25px; text-align: left; }
.item-modal__specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
}
.spec-item { color: #ddd; font-size: 14px; text-align: left; padding: 5px 0; }
.item-modal__form-title { font-size: 20px; color: white; margin-bottom: 20px; text-align: center; }
.item-modal__input {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-family: inherit;
}
.item-modal__input:focus { outline: none; border-color: #c66b1b; }
.item-modal__btn {
    width: 100%;
    padding: 14px;
    background: #c66b1b;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}
.item-modal__btn:hover { background: #a85612; transform: translateY(-2px); }
.item-modal__success {
    text-align: center;
    padding: 20px;
    background: rgba(76, 175, 80, 0.2);
    border-radius: 12px;
    color: #4caf50;
    font-weight: bold;
    margin-top: 20px;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== АДАПТИВНОСТЬ ДЛЯ СТРАНИЦ ========== */
@media (max-width: 768px) {
    .delivery-hero__title, .asphalt-hero__title, .plastic-hero__title, .foundation-hero__title, .lawn-hero__title { font-size: 32px; }
    .delivery-hero__description, .asphalt-hero__description, .plastic-hero__description, .foundation-hero__description, .lawn-hero__description { font-size: 16px; font-weight: bold;}
    .fleet__grid { grid-template-columns: 1fr; }
    .fleet-card__image, .asphalt-gallery__img, .foundation-gallery__img, .lawn-gallery__img { height: 220px; }
    .delivery-order__card { padding: 30px 20px; margin: 0 20px; }
}
@media (max-width: 480px) {
    .fleet-card__image, .asphalt-gallery__img, .foundation-gallery__img, .lawn-gallery__img { height: 180px; }
    .fleet-card__title { font-size: 20px; }
    .item-card__title { font-size: 20px; }
    .zone-card__title { font-size: 18px; }
    .delivery-order__title, .asphalt-hero__title, .plastic-hero__title, .foundation-hero__title, .lawn-hero__title { font-size: 24px; }
}
@media (max-width: 768px) {
    .item-modal__specs { grid-template-columns: 1fr; }
    .item-modal__content { padding: 30px 25px; }
    .item-modal__title { font-size: 24px; }
    .item-modal__icon { font-size: 48px; }
}
@media (max-width: 480px) {
    .item-modal__content { padding: 25px 20px; }
    .item-modal__title { font-size: 22px; }
}

.city-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.city-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}
.city-modal__content {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}
.city-modal__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}
.city-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}
.city-btn:hover { background: #0056b3; }
.city-modal__close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.scroll-top {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: #c66b1b;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.scroll-top:hover { background: #a85612; transform: scale(1.1); }
@media (max-width: 768px) {
    .scroll-top { bottom: 80px; left: 20px; width: 45px; height: 45px; font-size: 24px; }
}

.hero__content, .hero__image, .asphalt-hero, .plastic-hero, .foundation-hero, .lawn-hero, .delivery-hero {
    animation: simpleFade 0.6s ease-out forwards;
}
@keyframes simpleFade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
.hero__image { animation-delay: 0.1s; }
/* ПРИНУДИТЕЛЬНО 3 КОЛОНКИ В ТЕЛЕФОНЕ */
@media (max-width: 768px) {
    .gallery__grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
    
    .gallery__item img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
    }
}

@media (max-width: 450px) {
    .gallery__grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }
}
/* ====== ПРИНУДИТЕЛЬНО 3 КОЛОНКИ ДЛЯ ВСЕХ ТЕЛЕФОНОВ ====== */
@media (max-width: 1000px) {
    .gallery__grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
    
    .gallery__item {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .gallery__item img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
        display: block !important;
    }
}
/* ===== УЛУЧШЕННАЯ 3D КАРТОЧКА (ПЛАВНЫЙ НАКЛОН) ===== */
/* ===== ИСПРАВЛЕНИЕ ДЛЯ ПУНКТОВ ПРЕИМУЩЕСТВ НА ТЕЛЕФОНЕ ===== */
@media (max-width: 768px) {
    .hero__content > div[style*="margin-bottom: 25px"] {
        text-align: left !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .hero__content > div[style*="margin-bottom: 25px"] div {
        text-align: left !important;
        white-space: normal !important;
        word-break: break-word !important;
    }
}

/* Или более простой вариант — сделайте их списком */
@media (max-width: 768px) {
    .hero__content > div {
        text-align: left;
    }
}
/* ===== УСЛУГИ: НА ТЕЛЕФОНЕ 2 КОЛОНКИ ===== */
@media (max-width: 768px) {
    .services__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .service-card {
        padding: 20px 15px !important;
    }
    
    .service-card__icon {
        font-size: 32px !important;
        margin-bottom: 12px !important;
    }
    
    .service-card__title {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }
    
    .service-card__text {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }
}

/* На очень маленьких телефонах (менее 400px) — 1 колонка */
@media (max-width: 400px) {
    .services__grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}
/* ===== УСЛУГИ: 4 КАРТОЧКИ (ПРИНУДИТЕЛЬНО) ===== */
.services__grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
}

/* Планшеты (768px - 992px) - 2 колонки */
@media (max-width: 992px) and (min-width: 769px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

/* Телефоны (480px - 768px) - 2 колонки */
@media (max-width: 768px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .service-card {
        padding: 20px 12px !important;
    }
    
    .service-card__icon {
        font-size: 32px !important;
        margin-bottom: 10px !important;
    }
    
    .service-card__title {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }
    
    .service-card__text {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }
}

/* Маленькие телефоны (менее 480px) - 1 колонка */
@media (max-width: 480px) {
    .services__grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 15px !important;
    }
    
    .service-card {
        padding: 25px 20px !important;
    }
    
    .service-card__icon {
        font-size: 48px !important;
        margin-bottom: 15px !important;
    }
    
    .service-card__title {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }
    
    .service-card__text {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
}
/* ===== ПРИНУДИТЕЛЬНО 2 КОЛОНКИ ДЛЯ ТЕЛЕФОНА ===== */
@media (max-width: 768px) {
    .services__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}
/* ===== КАРТОЧКИ УСЛУГ НА ТЕЛЕФОНЕ: КВАДРАТНЫЕ И 2 КОЛОНКИ ===== */
@media (max-width: 768px) {
    .services__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .service-card {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 16px;
        padding: 20px 12px !important;
        text-align: center;
        aspect-ratio: 1 / 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .service-card__icon {
        font-size: 36px !important;
        margin-bottom: 10px !important;
    }
    
    .service-card__title {
        font-size: 15px !important;
        margin-bottom: 6px !important;
        font-weight: bold !important;
    }
    
    .service-card__text {
        font-size: 11px !important;
        line-height: 1.3 !important;
        display: none !important;
    }
}

/* На очень маленьких телефонах (менее 480px) — 1 колонка, но квадратные */
/* @media (max-width: 480px) {
    .services__grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 15px !important;
    }
    
    .service-card {
        aspect-ratio: auto !important;
        padding: 25px 20px !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        gap: 15px !important;
        text-align: left !important;
    }
    
    .service-card__icon {
        font-size: 40px !important;
        margin-bottom: 0 !important;
    }
    
    .service-card__text {
        display: block !important;
        font-size: 13px !important;
    }
} */
/* ===== КАРТОЧКИ УСЛУГ НА ТЕЛЕФОНЕ: 2 КОЛОНКИ + КВАДРАТНЫЕ ===== */
/*  @media (max-width: 768px) {
   .services__grid {
       display: grid !important;
       grid-template-columns: repeat(2, 1fr) !important;
       gap: 12px !important;
   }
   
   .service-card {
       background: rgba(255, 255, 255, 0.05);
       border-radius: 16px;
       padding: 20px 12px !important;
       text-align: center;
       aspect-ratio: 1 / 0.9 !important;
       display: flex !important;
       flex-direction: column !important;
       justify-content: center !important;
       align-items: center !important;
   }
   
   .service-card__icon {
       font-size: 34px !important;
       margin-bottom: 10px !important;
   }
   
   .service-card__title {
       font-size: 14px !important;
       margin-bottom: 5px !important;
       font-weight: bold !important;
   }
   
   .service-card__text {
       font-size: 10px !important;
       line-height: 1.3 !important;
       display: -webkit-box !important;
       -webkit-line-clamp: 2 !important;
       -webkit-box-orient: vertical !important;
       overflow: hidden !important;
   }
}

Для маленьких телефонов — чуть больше
@media (max-width: 480px) {
   .service-card {
       aspect-ratio: 1 / 0.8 !important;
       padding: 15px 10px !important;
   }
   
   .service-card__icon {
       font-size: 30px !important;
   }
   
   .service-card__title {
       font-size: 13px !important;
   }
} 
*/
/* ===== КАРТОЧКИ УСЛУГ НА ТЕЛЕФОНЕ: 2 КОЛОНКИ ===== */
@media (max-width: 768px) {
    .services__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .service-card {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 16px;
        padding: 18px 10px 18px 10px !important; 
        text-align: center;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        height: auto !important;
        min-height: 160px !important;
    }
    
    .service-card__icon {
        font-size: 34px !important;
        margin-bottom: 8px !important;
    }
    
    .service-card__title {
        font-size: 14px !important;
        margin-bottom: 6px !important;
        font-weight: bold !important;
    }
    
    .service-card__text {
        font-size: 11px !important;
        line-height: 1.3 !important;
        display: block !important;
        color: #ccc !important;
        overflow: visible !important;
        word-break: break-word !important;
    }
}

/* Для маленьких телефонов */
@media (max-width: 480px) {
    .service-card {
        padding: 15px 8px 15px 8px !important;
        min-height: 150px !important;
    }
    
    .service-card__icon {
        font-size: 32px !important;
    }
    
    .service-card__title {
        font-size: 13px !important;
    }
    
    .service-card__text {
        font-size: 10px !important;
    }
}
/* ВЫРАВНИВАНИЕ ФОТО В ГАЛЕРЕЕ ФУНДАМЕНТА - ОДИНАКОВЫЙ РАЗМЕР */
.foundation-gallery__grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}

.foundation-gallery__item {
    overflow: hidden;
    border-radius: 15px;
    background: #2a2a2a;
}

.foundation-gallery__img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.3s;
}

.foundation-gallery__img:hover {
    transform: scale(1.05);
}

/* На телефонах */
@media (max-width: 768px) {
    .foundation-gallery__grid {
        gap: 10px !important;
    }
    .foundation-gallery__img {
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
    }
}

@media (max-width: 480px) {
    .foundation-gallery__grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }
}
/* ===== ФУНДАМЕНТ - КВАДРАТНЫЕ ФОТО НА ТЕЛЕФОНЕ ===== */
.foundation-gallery__grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 15px !important;
}

.foundation-gallery__item {
    overflow: hidden;
    border-radius: 15px;
    background: #2a2a2a;
}

.foundation-gallery__img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.3s;
}

.foundation-gallery__img:hover {
    transform: scale(1.05);
}

/* ТЕЛЕФОНЫ - КВАДРАТНЫЕ ФОТО */
@media (max-width: 768px) {
    .foundation-gallery__grid {
        gap: 8px !important;
    }
    
    .foundation-gallery__img {
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
    }
}

/* ОЧЕНЬ МАЛЕНЬКИЕ ТЕЛЕФОНЫ */
@media (max-width: 480px) {
    .foundation-gallery__grid {
        gap: 6px !important;
    }
}
/* ===== АСФАЛЬТ - ВСЕ ФОТО ОДИНАКОВОГО РАЗМЕРА ===== */
.asphalt-gallery__grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}

.asphalt-gallery__item {
    overflow: hidden;
    border-radius: 15px;
    background: #2a2a2a;
}

.asphalt-gallery__img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.3s;
}

.asphalt-gallery__img:hover {
    transform: scale(1.05);
}

/* ТЕЛЕФОНЫ - КВАДРАТНЫЕ ФОТО */
@media (max-width: 768px) {
    .asphalt-gallery__grid {
        gap: 10px !important;
    }
    
    .asphalt-gallery__img {
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
    }
}

/* ОЧЕНЬ МАЛЕНЬКИЕ ТЕЛЕФОНЫ */
@media (max-width: 480px) {
    .asphalt-gallery__grid {
        gap: 6px !important;
    }
}
/* ===== СЛАЙДЕР В HERO-БЛОКЕ ===== */
.hero__slider {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slider-container {
    position: relative;
    width: 100%;
    padding-bottom: 66%; /* Соотношение сторон 3:2, как у большинства ваших фото */
    background: #1e1e1e;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slider-slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* ===== СЛАЙДЕР (КОРОТКИЙ) - ИСПРАВЛЕННАЯ ВЕРСИЯ ===== */
.fullscreen-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 30px;
}

.fullscreen-slider__container {
    position: relative;
    width: 100%;
    height: 100%;
}

.fullscreen-slider__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
    z-index: 1;
}

.fullscreen-slider__slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.fullscreen-slider__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 30%;
}

.fullscreen-slider__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3;
}

.fullscreen-slider__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 90%;
    max-width: 1000px;
}

/* ===== ПРОСТАЯ И СТАБИЛЬНАЯ АНИМАЦИЯ (БЕЗ ДЁРГАНИЙ) ===== */
.fullscreen-slider__slide .animate-title,
.fullscreen-slider__slide .animate-subtitle,
.fullscreen-slider__slide .animate-buttons {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.fullscreen-slider__slide.active .animate-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.fullscreen-slider__slide.active .animate-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.fullscreen-slider__slide.active .animate-buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.fullscreen-slider__content h1 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.fullscreen-slider__content .animate-subtitle {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #c66b1b;
}

.fullscreen-slider__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.fullscreen-slider__btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
}

.fullscreen-slider__btn--primary { background: #c66b1b; color: white; }
.fullscreen-slider__btn--primary:hover { background: #a85612; transform: translateY(-2px); }
.fullscreen-slider__btn--phone { background: #25D366; color: white; }
.fullscreen-slider__btn--phone:hover { background: #128C7E; }
.fullscreen-slider__btn--secondary { background: transparent; color: white; border: 2px solid white; }
.fullscreen-slider__btn--secondary:hover { background: rgba(255,255,255,0.15); }

.fullscreen-slider__prev,
.fullscreen-slider__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 50%;
    transition: all 0.2s;
    z-index: 20;
}

.fullscreen-slider__prev:hover, .fullscreen-slider__next:hover { background: #c66b1b; }
.fullscreen-slider__prev { left: 20px; }
.fullscreen-slider__next { right: 20px; }

.fullscreen-slider__dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.fullscreen-slider__dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.fullscreen-slider__dot.active { background: #c66b1b; transform: scale(1.2); }

@media (max-width: 768px) {
    .fullscreen-slider { height: 450px; }
    .fullscreen-slider__content h1 { font-size: 22px; }
    .fullscreen-slider__content .animate-subtitle { font-size: 16px; margin-bottom: 25px; }
    .fullscreen-slider__btn { padding: 10px 18px; font-size: 12px; }
}

@media (max-width: 480px) {
    .fullscreen-slider { height: 480px; }
    .fullscreen-slider__content h1 { font-size: 18px; }
    .fullscreen-slider__buttons { flex-direction: column; align-items: center; }
    .fullscreen-slider__btn { width: 90%; }
}
/* ===== СЛАЙДЕР (КОРОТКИЙ) =====
.fullscreen-slider {
    position: relative;
    width: 100%;
    height: 500px;  Фиксированная короткая высота
    overflow: hidden;
    margin-bottom: 30px;
}

.fullscreen-slider__container {
    position: relative;
    width: 100%;
    height: 100%;
}

Слайды
.fullscreen-slider__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.fullscreen-slider__slide.active {
    opacity: 1;
    z-index: 2;
}

Фоновое изображение
.fullscreen-slider__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 30%;
    transform: scale(1.05);
    transition: transform 0.8s ease;
}

.fullscreen-slider__slide.active .fullscreen-slider__bg {
    transform: scale(1);
}

Затемнение
.fullscreen-slider__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3;
}

Контент
.fullscreen-slider__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 90%;
    max-width: 1000px;
}

===== АНИМАЦИЯ ВЫЕЗДА СНИЗУ =====
.fullscreen-slider__slide .animate-title,
.fullscreen-slider__slide .animate-subtitle,
.fullscreen-slider__slide .animate-buttons {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.fullscreen-slider__slide.active .animate-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.fullscreen-slider__slide.active .animate-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.fullscreen-slider__slide.active .animate-buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

Заголовок (белый, жирный)
.fullscreen-slider__content h1 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

Подзаголовок (оранжевый мелкий)
.fullscreen-slider__content .animate-subtitle {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #c66b1b;
    letter-spacing: 1px;
}

.fullscreen-slider__content .animate-subtitle span {
    color: #ffaa44;
}

Кнопки
.fullscreen-slider__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.fullscreen-slider__btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

Кнопка "Рассчитать стоимость"
.fullscreen-slider__btn--primary {
    background: #c66b1b;
    color: white;
    box-shadow: 0 4px 15px rgba(198, 107, 27, 0.3);
}

.fullscreen-slider__btn--primary:hover {
    background: #a85612;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(198, 107, 27, 0.4);
}

Кнопка "Номер телефона"
.fullscreen-slider__btn--phone {
    background: #25D366;
    color: white;
}

.fullscreen-slider__btn--phone:hover {
    background: #128C7E;
    transform: translateY(-3px);
}

Кнопка "Подробнее"
.fullscreen-slider__btn--secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.fullscreen-slider__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

Кнопки навигации
.fullscreen-slider__prev,
.fullscreen-slider__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 20;
}

.fullscreen-slider__prev:hover,
.fullscreen-slider__next:hover {
    background: #c66b1b;
}

.fullscreen-slider__prev {
    left: 20px;
}

.fullscreen-slider__next {
    right: 20px;
}

Точки
.fullscreen-slider__dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.fullscreen-slider__dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fullscreen-slider__dot.active {
    background: #c66b1b;
    transform: scale(1.2);
}

Адаптация для телефонов
@media (max-width: 768px) {
    .fullscreen-slider {
        height: 450px;
    }
    
    .fullscreen-slider__content h1 {
        font-size: 22px;
    }
    
    .fullscreen-slider__content .animate-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .fullscreen-slider__btn {
        padding: 10px 18px;
        font-size: 12px;
    }
    
    .fullscreen-slider__buttons {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .fullscreen-slider {
        height: 480px;
    }
    
    .fullscreen-slider__content h1 {
        font-size: 18px;
    }
    
    .fullscreen-slider__content .animate-subtitle {
        font-size: 17px;
        margin-bottom: 20px;
    }
    
    .fullscreen-slider__buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .fullscreen-slider__btn {
        width: 90%;
    }
    
    .fullscreen-slider__prev,
    .fullscreen-slider__next {
        font-size: 18px;
        padding: 6px 12px;
    }
} */
/* Полупрозрачный блок с текстом (выезжает снизу) */
.slider-caption {
    position: absolute;
    bottom: -100px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    color: white;
    padding: 15px 20px;
    text-align: center;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.slider-slide.active .slider-caption {
    bottom: 0;
}

.slider-caption h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #c66b1b;
}

.slider-caption p {
    font-size: 14px;
    margin: 0;
    color: #f0f0f0;
}

/* Кнопки навигации */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 50%;
    z-index: 20;
    transition: all 0.3s ease;
}

.slider-prev { left: 15px; }
.slider-next { right: 15px; }

.slider-prev:hover,
.slider-next:hover {
    background: #c66b1b;
    transform: translateY(-50%) scale(1.05);
}

/* Точки (индикаторы) */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 20;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: #c66b1b;
    transform: scale(1.2);
}

/* Адаптация для телефонов */
@media (max-width: 768px) {
    .slider-caption h3 { font-size: 16px; }
    .slider-caption p { font-size: 11px; }
    .slider-prev, .slider-next { font-size: 20px; padding: 8px 12px; }
    .slider-dot { width: 8px; height: 8px; }
}

/* ===== СЛАЙДЕР БЕЗ КНОПОК ===== */
.hero__slider {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slider-container {
    position: relative;
    width: 100%;
    padding-bottom: 66%; /* 3:2 соотношение */
    background: #1e1e1e;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slider-slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* БЛОК С ТЕКСТОМ ПОСЕРЕДИНЕ — ПРИЕЗЖАЕТ СНИЗУ */
.slider-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -150px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    color: white;
    padding: 20px 25px;
    text-align: center;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    max-width: 80%;
    margin: 0 auto;
    border-radius: 12px;
    width: fit-content;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

/* При активном слайде — текст поднимается и встаёт по центру вертикально */
.slider-slide.active .slider-caption {
    bottom: 50%;
    transform: translateX(-50%) translateY(50%);
}

.slider-caption h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #c66b1b;
}

.slider-caption p {
    font-size: 15px;
    margin: 0;
    color: #f0f0f0;
}

/* ТОЧКИ НАВИГАЦИИ (ИНДИКАТОРЫ) */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 20;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: #c66b1b;
    transform: scale(1.2);
}

/* ТЕЛЕФОНЫ */
@media (max-width: 768px) {
    .slider-caption {
        padding: 12px 18px;
        max-width: 90%;
    }
    .slider-caption h3 {
        font-size: 16px;
    }
    .slider-caption p {
        font-size: 11px;
    }
    .slider-dot {
        width: 8px;
        height: 8px;
    }
}
/* ===== СЛАЙДЕР ===== */
.hero__slider {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slider-container {
    position: relative;
    width: 100%;
    padding-bottom: 66%;
    background: #1e1e1e;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.slider-slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* БЛОК С ТЕКСТОМ — МЕДЛЕННО ВЫЕЗЖАЕТ СНИЗУ */
.slider-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -200px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    color: white;
    padding: 20px 25px;
    text-align: center;
    transition: bottom 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    z-index: 3;
    max-width: 85%;
    margin: 0 auto;
    border-radius: 12px;
    width: fit-content;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: auto;
}

/* При активном слайде — текст поднимается в центр */
.slider-slide.active .slider-caption {
    bottom: 50%;
    transform: translateX(-50%) translateY(50%);
}

.slider-caption h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #c66b1b;
}

.slider-caption p {
    font-size: 14px;
    margin-bottom: 12px;
    color: #f0f0f0;
}

/* КНОПКА ПОДРОБНЕЕ */
.slider-btn {
    display: inline-block;
    background-color: #c66b1b;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
    margin-top: 5px;
}

.slider-btn:hover {
    background-color: #a85612;
    transform: scale(1.02);
}

/* ТОЧКИ */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 20;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: #c66b1b;
    transform: scale(1.2);
}

/* ТЕЛЕФОНЫ */
@media (max-width: 768px) {
    .slider-caption {
        padding: 12px 18px;
        max-width: 90%;
    }
    .slider-caption h3 {
        font-size: 16px;
    }
    .slider-caption p {
        font-size: 11px;
    }
    .slider-btn {
        padding: 5px 14px;
        font-size: 11px;
    }
    .slider-dot {
        width: 8px;
        height: 8px;
    }
}
/* ===== СЛАЙДЕР - ТАКОГО ЖЕ РАЗМЕРА КАК СТАРОЕ ФОТО ===== */
.hero__slider {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slider-container {
    position: relative;
    width: 100%;
    background: #1e1e1e;
}

/* Высота автоматическая, как у старого фото */
.slider-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Остальные стили слайдера */
.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.slider-slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Фиксируем пропорции 3:2 (как у старого фото) */
.slider-container {
    position: relative;
    width: 100%;
}

.slider-container::after {
    content: '';
    display: block;
    padding-bottom: 66.67%; /* 3:2 как у старого фото */
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* БЛОК С ТЕКСТОМ */
.slider-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -200px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    color: white;
    padding: 20px 25px;
    text-align: center;
    transition: bottom 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    z-index: 3;
    max-width: 85%;
    margin: 0 auto;
    border-radius: 12px;
    width: fit-content;
    left: 50%;
    transform: translateX(-50%);
}

.slider-slide.active .slider-caption {
    bottom: 50%;
    transform: translateX(-50%) translateY(50%);
}

.slider-caption h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #c66b1b;
}

.slider-caption p {
    font-size: 14px;
    margin-bottom: 12px;
    color: #f0f0f0;
}

.slider-btn {
    display: inline-block;
    background-color: #c66b1b;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
    margin-top: 5px;
}

.slider-btn:hover {
    background-color: #a85612;
    transform: scale(1.02);
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 20;
}

.slider-dot {
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: #c66b1b;
    transform: scale(1.2);
}
.hero__slider {
    position: relative;
    width: 100%;
    border-radius: 20px;
    background: #fff;
    /* Эффект "лежит на поверхности" — УТОЛЩЁННЫЙ */
    box-shadow: 
        -12px 12px 0 0 #252530,                    /* Тёмная "доска" — толще на 4px */
        -12px 12px 18px rgba(198, 107, 27, 0.4);   /* Оранжевая тень — сильнее */
    transition: all 0.25s ease;
}

.hero__slider:hover {
    box-shadow: 
        -15px 15px 0 0 #252530,                    /* При наведении ещё толще */
        -15px 15px 25px rgba(198, 107, 27, 0.6);   /* Тень ярче */
    transform: translate(3px, -3px);
}
/* ТЕЛЕФОНЫ — ЕЩЁ МЕНЬШЕ */
@media (max-width: 768px) {
    .slider-container::after {
        padding-bottom: 45%; /* Ещё ниже */
    }
    
    .slider-caption {
        padding: 12px 18px;
        max-width: 90%;
    }
    
    .slider-caption h3 {
        font-size: 16px;
    }
    
    .slider-caption p {
        font-size: 11px;
    }
    
    .slider-btn {
        padding: 5px 14px;
        font-size: 11px;
    }
    
    .slider-dot {
        width: 15px;
        height: 15px;
    }
}
/* ===== ГАЗОН - КВАДРАТНЫЕ ФОТО НА ТЕЛЕФОНЕ (КАК НА ДРУГИХ СТРАНИЦАХ) ===== */
@media (max-width: 768px) {
    .lawn-gallery__grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }
    
    .lawn-gallery__item {
        overflow: hidden;
        border-radius: 15px;
        background: #2a2a2a;
    }
    
    .lawn-gallery__img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
        display: block;
    }
}

@media (max-width: 480px) {
    .lawn-gallery__grid {
        gap: 6px !important;
    }
}
/* ===== ТЕЛЕФОН: 2 КОЛОНКИ, КОМПАКТНО ===== */
@media (max-width: 768px) {
    .services__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .service-card {
        padding: 15px 10px !important;
        border-radius: 16px !important;
    }
    
    /* Иконка */
    .service-card__icon {
        font-size: 36px !important;
        margin-bottom: 6px !important;
    }
    
    /* Заголовок */
    .service-card__title {
        font-size: 13px !important;
        margin-bottom: 4px !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
    }
    
    /* Цена */
    .service-card__price {
        font-size: 15px !important;
        margin-bottom: 5px !important;
        font-weight: bold !important;
    }
    
    Текст
    .service-card__text {
        font-size: 10px !important;
        line-height: 1.3 !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .services__grid {
        gap: 10px !important;
    }
    
    .service-card {
        padding: 12px 8px !important;
    }
    
    .service-card__icon {
        font-size: 32px !important;
        margin-bottom: 5px !important;
    }
    
    .service-card__title {
        font-size: 12px !important;
        margin-bottom: 3px !important;
    }
    
    .service-card__price {
        font-size: 14px !important;
        margin-bottom: 4px !important;
    }
    
    .service-card__text {
        font-size: 9px !important;
        line-height: 1.2 !important;
    }
}
/* Делаем цену оранжевой */
.service-card__price {
    color: #c66b1b !important;
}
/* ===== УВЕЛИЧИВАЕМ ВЫСОТУ КАРТОЧЕК НА КОМПЬЮТЕРЕ ===== */
@media (min-width: 769px) {
    .service-card {
        padding: 35px 25px !important;  /* Увеличиваем отступы */
        min-height: 320px !important;   /* Фиксируем минимальную высоту */
    }
    
    .service-card__icon {
        font-size: 52px !important;
        margin-bottom: 15px !important;
    }
    
    .service-card__title {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }
    
    .service-card__price {
        font-size: 20px !important;
        margin-bottom: 12px !important;
    }
    
    .service-card__text {
        font-size: 19px !important;
        line-height: 1.5 !important;
        margin-top: 5px !important;
    }
}
/* ===== КНОПКА ПО ЦЕНТРУ ПОД ТЕКСТОМ ===== */
.hero__btn {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    width: fit-content !important;
}
/* ===== НОМЕРА ТЕЛЕФОНОВ ВЕРТИКАЛЬНО (БЕЗ ФОНА) ===== */
.header-phones {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.header-phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    font-family: monospace;
    transition: all 0.3s;
    white-space: nowrap;
}

.header-phone-link:hover {
    color: #c66b1b;
    transform: translateX(3px);
}

.header-phone-link svg {
    flex-shrink: 0;
}

/* ===== МЕНЮ ВНИЗУ ===== */
.nav-wrapper {
    background-color: #292929;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
}

/* ===== НОМЕРА ТЕЛЕФОНОВ ВЕРТИКАЛЬНО (БЕЗ ФОНА) ===== */
.header-phones {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.header-phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    font-family: monospace;
    transition: all 0.3s;
    white-space: nowrap;
}

.header-phone-link:hover {
    color: #c66b1b;
    transform: translateX(3px);
}

.header-phone-link svg {
    flex-shrink: 0;
}




/* ===== МЕНЮ ВНИЗУ ===== */
.nav-wrapper {
    background-color: #292929;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
}

/* Адаптив для телефонов */
@media (max-width: 850px) {
    .header__container {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .header-phones {
        order: 2;
        flex-direction: row;
        gap: 15px;
    }
    
    .search-container {
        order: 3;
        flex: 1;
        min-width: 150px;
    }
    
    .header-phone-link {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .header-phones {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
    
    .header-phone-link {
        font-size: 11px;
    }
}
/* ===== ТЕЛЕФОН: ЛОГО И КНОПКА МЕНЮ В 1 СТРОКЕ, НОМЕРА ВЕРТИКАЛЬНО, ПОИСК ВНИЗУ ===== */
@media (max-width: 850px) {
    /* Первая строка: лого + кнопка меню + номера */
    .header__container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    
    /* Логотип */
    .logo {
        order: 1;
    }
    
    /* Кнопка меню (рядом с лого) */
    .nav__toggle {
        order: 2;
        display: block !important;
        background: none;
        border: none;
        color: white;
        font-size: 28px;
        cursor: pointer;
        margin-left: 5px;
    }
    
    /* Контейнер с номерами — справа, вертикально */
    .header-phones {
        order: 3;
        display: flex !important;
        flex-direction: column !important;
        gap: 5px;
        align-items: flex-end;
        margin-left: auto;
    }
    
    /* Номера */
    .header-phone-link {
        font-size: 12px;
        white-space: nowrap;
    }
    
    /* Поиск — на новой строке, на всю ширину */
    .search-container {
        order: 4;
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
    }
    
    /* Скрываем меню по умолчанию */
    .nav__list {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #292929;
        flex-direction: column;
        padding: 20px;
        gap: 12px;
        text-align: center;
        z-index: 1000;
        border-top: 1px solid #444;
        border-bottom: 1px solid #444;
    }
    
    .nav__list.active {
        display: flex;
    }
}

/* Для очень маленьких телефонов */
@media (max-width: 480px) {
    .header-phone-link {
        font-size: 10px;
    }
    
    .nav__toggle {
        font-size: 24px;
    }
}
/* ===== ТЕЛЕФОН: ЛОГО + КНОПКА + НОМЕР 1 В 1 СТРОКЕ, НОМЕР 2 ВТОРАЯ СТРОКА, ПОИСК ТРЕТЬЯ ===== */
@media (max-width: 850px) {
    .header__container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
    }
    
    /* Логотип */
    .logo {
        order: 1;
    }
    
    /* Кнопка меню ☰ */
    .nav__toggle {
        order: 2;
        display: block !important;
        background: none;
        border: none;
        color: white;
        font-size: 28px;
        cursor: pointer;
    }
    
    /* Контейнер с номерами */
    .header-phones {
        order: 3;
        display: flex !important;
        flex-direction: column !important;
        gap: 5px;
        margin-left: auto;
        align-items: flex-end;
    }
    
    /* Поиск — на всю ширину, внизу */
    .search-container {
        order: 4;
        width: 100%;
        margin-top: 10px;
    }
    
    /* Меню скрыто по умолчанию */
    .nav__list {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #292929;
        flex-direction: column;
        padding: 20px;
        gap: 12px;
        text-align: center;
        z-index: 1000;
        border-top: 1px solid #444;
        border-bottom: 1px solid #444;
    }
    
    .nav__list.active {
        display: flex;
    }
    
    /* Размер номеров */
    .header-phone-link {
        font-size: 14px;
        font-weight: bold;
        white-space: nowrap;
    }
}
/* ===== ПРИ НАВЕДЕНИИ НА ФОТО ВЫЕЗЖАЕТ ЦЕНА СНИЗУ ===== */
/* ===== ПРИ НАВЕДЕНИИ НА ФОТО ВЫЕЗЖАЕТ ЦЕНА СНИЗУ ===== */
.gallery__item {
    position: relative;
    overflow: hidden;
}

.gallery__item .price-overlay {
    position: absolute;
    bottom: -55px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    text-align: center;
    padding: 12px 15px;
    transition: bottom 0.25s ease;
    z-index: 10;
}

/* При наведении мышки — выезжает */
.gallery__item:hover .price-overlay {
    bottom: 0;
}

.price-overlay .price {
    font-size: 20px;
    font-weight: 900;
    color: #c66b1b;
    letter-spacing: 0.5px;
}

.price-overlay .service-name {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
}

/* ===== ТЕЛЕФОН: ЦЕНА ВИДНА ВСЕГДА ===== */
@media (max-width: 768px) {
    .gallery__item .price-overlay {
        bottom: 0;
        background: rgba(0, 0, 0, 0.8);
        padding: 10px 12px;
    }
    
    .price-overlay .price {
        font-size: 17px;
        font-weight: 900;
    }
    
    .price-overlay .service-name {
        font-size: 11px;
        font-weight: 500;
    }
}
/* .gallery__item {
    position: relative;
    overflow: hidden;
}

.gallery__item .price-overlay {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    text-align: center;
    padding: 6px 10px;
    transition: bottom 0.25s ease;
    z-index: 10;
}

При наведении мышки — выезжает
.gallery__item:hover .price-overlay {
    bottom: 0;
}

.price-overlay .price {
    font-size: 14px;
    font-weight: bold;
    color: #c66b1b;
}

.price-overlay .service-name {
    font-size: 10px;
    color: #eee;
}

===== ТЕЛЕФОН: ЦЕНА ВИДНА ВСЕГДА (НЕ ВЫЕЗЖАЕТ, А ПРОСТО СТОИТ) =====
@media (max-width: 768px) {
    .gallery__item .price-overlay {
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        padding: 5px 8px;
    }
    
    .price-overlay .price {
        font-size: 12px;
    }
    
    .price-overlay .service-name {
        font-size: 9px;
    }
} */
/* ===== ТЕЛЕФОН: ВСЕ ГАЛЕРЕИ ПО 2 КОЛОНКИ ===== */
@media (max-width: 768px) {
    /* Главная галерея */
    .gallery__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    /* Страница асфальта */
    .asphalt-gallery__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .asphalt-gallery__img {
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
    }
    
    /* Страница фундамента */
    .foundation-gallery__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .foundation-gallery__img {
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
    }
    
    /* Страница газона */
    .lawn-gallery__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .lawn-gallery__img {
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
    }
    
    /* Страница бордюра */
    .plastic-gallery__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .plastic-gallery__img {
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
    }
}
/* ===== ТЕЛЕФОН: ВСЕ ГАЛЕРЕИ ПО 2 КОЛОНКИ, ФОТО ЧУТЬ ВЫШЕ (4:3) ===== */
@media (max-width: 768px) {
    /* Главная галерея */
    .gallery__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .gallery__img {
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
        object-fit: cover !important;
    }
    
    /* Страница асфальта */
    .asphalt-gallery__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .asphalt-gallery__img {
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
        object-fit: cover !important;
    }
    
    /* Страница фундамента */
    .foundation-gallery__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .foundation-gallery__img {
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
        object-fit: cover !important;
    }
    
    /* Страница газона */
    .lawn-gallery__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .lawn-gallery__img {
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
        object-fit: cover !important;
    }
    
    /* Страница бордюра */
    .plastic-gallery__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .plastic-gallery__img {
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
        object-fit: cover !important;
    }
}
/* ===== ТЕЛЕФОН: УМЕНЬШАЕМ ВЫСОТУ ОКОШКА С ЦЕНОЙ ===== */
@media (max-width: 768px) {
    .gallery__item .price-overlay {
        bottom: 0 !important;
        padding: 4px 8px !important;
        background: rgba(0, 0, 0, 0.75) !important;
    }
    
    .price-overlay .price {
        font-size: 13px !important;
        font-weight: 900 !important;
        margin: 0 !important;
        line-height: 1.2 !important;
    }
    
    .price-overlay .service-name {
        font-size: 9px !important;
        margin: 0 !important;
        line-height: 1.2 !important;
    }
}

/* ===== КАРТОЧКА СПЕЦПРЕДЛОЖЕНИЯ С ПОСТОЯННЫМ БЛЕСКОМ ===== */
.special-card {
    max-width: 100%;
    margin: 5px 0 10px 0;  /* Уменьшил отступы сверху и снизу */
}

.special-card__inner {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    border-radius: 16px;  /* Уменьшил скругление */
    padding: 8px 12px;  /* Уменьшил отступы внутри */
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-bottom: 2px solid #c66b1b;
    position: relative;
    overflow: hidden;
}

.special-card__shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.4) 50%, 
        rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    animation: shineMove 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes shineMove {
    0% { left: -100%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

.special-card__content {
    position: relative;
    z-index: 3;
}

.special-card__price {
    font-size: 24px;  /* Уменьшил размер */
    font-weight: 900;
    color: #c66b1b;
    margin: 2px 0;  /* Уменьшил отступ */
}

.special-card__work {
    background: rgba(198, 107, 27, 0.15);
    border-radius: 10px;
    padding: 4px 8px;  /* Уменьшил отступ */
    margin-top: 4px;
}

.special-card__work-price {
    font-size: 18px;  /* Уменьшил размер */
    font-weight: bold;
    color: #c66b1b;
}
.special-card__price {
    font-size: 28px;
    font-weight: 900;
    color: #c66b1b;
    margin: 5px 0;
}

.special-card__work-price {
    font-size: 28px;
    font-weight: 900;
    color: #c66b1b;
}
/* ===== ТЕКСТ О РАБОТЕ В БОРОВСКОМ РАЙОНЕ В ШАПКЕ ===== */
.header-location {
    font-size: 14px;
    color: #c66b1b;
    font-weight: 600;
    background: rgba(198, 107, 27, 0.1);
    padding: 5px 12px;
    border-radius: 30px;
    white-space: nowrap;
    font-family: monospace;
}

/* Адаптив для телефона */
@media (max-width: 768px) {
    .header-location {
        font-size: 10px;
        padding: 3px 8px;
        white-space: normal;
        text-align: center;
        width: 100%;
        order: 5;
        margin-top: 5px;
    }
}



/* ===== СТРАНИЦА ВИДОВ ПЛИТКИ ===== */
.tiles-page {
    padding: 40px 0;
    background-color: #292929;
}

.tiles-hero {
    text-align: center;
    margin-bottom: 40px;
}

.tiles-hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: white;
}

.tiles-hero p {
    font-size: 16px;
    color: #ccc;
}

.tiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.tile-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid rgba(198, 107, 27, 0.2);
}

.tile-card:hover {
    transform: translateY(-3px);
    border-color: rgba(198, 107, 27, 0.5);
}

.tile-card__image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.tile-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}

.tile-card:hover .tile-card__image img {
    transform: scale(1.05);
}

.tile-card__content {
    padding: 12px;
    text-align: center;
}

.tile-card__title {
    font-size: 15px;
    font-weight: bold;
    color: #c66b1b;
    margin-bottom: 5px;
}

.tile-card__price {
    font-size: 18px;
    font-weight: 900;
    color: white;
    margin-bottom: 8px;
}

.tile-card__price span {
    font-size: 11px;
    color: #aaa;
    font-weight: normal;
}

.tile-card__desc {
    color: #ccc;
    font-size: 11px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.tile-card__btn {
    display: inline-block;
    background: linear-gradient(135deg, #c66b1b, #e68a2e);
    color: white;
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.tile-card__btn:hover {
    transform: scale(1.02);
    box-shadow: 0 3px 10px rgba(198, 107, 27, 0.4);
}

/* Лайтбокс */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    font-family: monospace;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: #c66b1b;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    font-size: 16px;
}

/* Адаптив */
@media (max-width: 768px) {
    .tiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .tile-card__image {
        height: 120px;
    }
    .tiles-hero h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .tiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .tile-card__title {
        font-size: 13px;
    }
    .tile-card__price {
        font-size: 16px;
    }
}
/* ===== ТЕКСТ О РАБОТЕ В БОРОВСКОМ РАЙОНЕ ===== */
.header-location {
    font-size: 14px;
    color: #c66b1b;
    font-weight: 600;
    background: rgba(198, 107, 27, 0.1);
    padding: 5px 12px;
    border-radius: 30px;
    white-space: nowrap;
    font-family: monospace;
}

@media (max-width: 768px) {
    .header-location {
        font-size: 10px;
        padding: 3px 8px;
        white-space: normal;
        text-align: center;
        width: 100%;
        order: 5;
        margin-top: 5px;
    }
}
/* ===== КАРУСЕЛЬ С КНОПКАМИ ===== */
.services-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
    transition: scroll 0.3s ease;
}

.slider-btn-prev,
.slider-btn-next {
    background: rgba(198, 107, 27, 0.8);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
    z-index: 10;
}

.slider-btn-prev:hover,
.slider-btn-next:hover {
    background: #c66b1b;
    transform: scale(1.05);
}

/* Адаптив для телефона
@media (max-width: 768px) {
    .services__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .services__grid .service-card {
        scroll-snap-align: start;
        min-width: 260px;
    }
    
    .services__grid::-webkit-scrollbar {
        height: 5px;
    }
    
    .services__grid::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.1);
        border-radius: 10px;
    }
    
    .services__grid::-webkit-scrollbar-thumb {
        background: #c66b1b;
        border-radius: 10px;
    }
    
    .slider-btn-prev,
    .slider-btn-next {
        display: none;
    }
} */
/* ===== АВТОМАТИЧЕСКИЙ СЛАЙДЕР "ДО/ПОСЛЕ" ===== */

.before-after-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 60px 0;
    padding: 0 60px;
    flex-wrap: nowrap;
    gap: 50px;
}

/* Текст слева */
.before-after-text {
    flex: 0 0 280px;
    position: sticky;
    top: 100px;
}

.before-after-text h3 {
    font-size: 28px;
    color: #c66b1b;
    margin-bottom: 15px;
}

.before-after-text p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin-bottom: 20px;
}

.before-after-text ul {
    list-style: none;
    padding: 0;
}

.before-after-text li {
    margin-bottom: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.before-after-text li::before {
    content: '✓';
    color: #c66b1b;
    font-weight: bold;
}

/* Слайдер справа */
.before-after-slider {
    flex: 0 0 55%;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
    background: #0a0a0a;
    margin-right: 20px;
}

/* Трек - с анимацией */
.before-after-track {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    width: max-content;
    animation: scrollAuto 40s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.before-after-track:hover {
    animation-play-state: paused;
}

/* Каждый блок */
.before-after-block {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    background: #0a0a0a;
}

/* Большое фото - с белой прозрачной рамкой */
.before-after-large {
    position: relative;
    width: 280px;
    height: 350px;
    background: #0a0a0a;
}

.before-after-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* При наведении рамка становится ярче */
.before-after-large:hover img {
    border-color: rgba(255, 255, 255, 0.5);
}

/* Вертикальная пара */
.before-after-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 200px;
}

/* Маленькое фото - с белой прозрачной рамкой */
.before-after-small {
    position: relative;
    width: 100%;
    height: 169px;
    background: #0a0a0a;
}

.before-after-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* При наведении рамка становится ярче */
.before-after-small:hover img {
    border-color: rgba(255, 255, 255, 0.5);
}

/* Затемнение */
.before-after-small::after,
.before-after-large::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    pointer-events: none;
}

/* Метки */
.before-after-label {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 600;
    color: white;
    z-index: 2;
    border-left: 2px solid #c66b1b;
}

.before-after-label.before {
    right: auto;
    left: 12px;
    border-left: none;
    border-right: 2px solid #c66b1b;
}

/* Кнопка */
.before-after-btn {
    position: absolute;
    bottom: 10px;
    right: 60px;
    background: #c66b1b;
    border: none;
    color: white;
    padding: 3px 12px;
    font-size: 9px;
    font-weight: 600;
    cursor: pointer;
    z-index: 2;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
}

.before-after-btn:hover {
    background: #a85612;
    transform: translateY(-2px);
}

/* АНИМАЦИЯ АВТОПРОКРУТКИ - точно до последнего блока */
@keyframes scrollAuto {
    0% {
        transform: translateX(0);
    }
    45% {
        transform: translateX(-66.66%);
    }
    55% {
        transform: translateX(-66.66%);
    }
    100% {
        transform: translateX(0);
    }
}

/* АДАПТАЦИЯ ДЛЯ ПЛАНШЕТОВ */
@media (max-width: 992px) {
    .before-after-wrapper {
        padding: 0 30px;
        gap: 30px;
    }
    
    .before-after-text {
        flex: 0 0 240px;
    }
    
    .before-after-slider {
        flex: 0 0 60%;
    }
    
    .before-after-large {
        width: 240px;
        height: 300px;
    }
    
    .before-after-vertical {
        width: 170px;
    }
    
    .before-after-small {
        height: 144px;
    }
}

/* ТЕЛЕФОНЫ - текст сверху, слайдер снизу */
@media (max-width: 768px) {
    .before-after-wrapper {
        flex-wrap: wrap;
        flex-direction: column;
        padding: 0 20px;
        gap: 30px;
    }
    
    .before-after-text {
        flex: auto;
        width: 100%;
        text-align: center;
        position: static;
    }
    
    .before-after-slider {
        flex: auto;
        width: 100%;
        margin-right: 0;
    }
    
    .before-after-large {
        width: 220px;
        height: 280px;
    }
    
    .before-after-vertical {
        width: 150px;
    }
    
    .before-after-small {
        height: 134px;
    }
    
    .before-after-text h3 {
        font-size: 22px;
    }
    
    .before-after-text p {
        font-size: 14px;
    }
    
    .before-after-text li {
        font-size: 12px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .before-after-large {
        width: 180px;
        height: 240px;
    }
    
    .before-after-vertical {
        width: 130px;
    }
    
    .before-after-small {
        height: 114px;
    }
    
    .before-after-label {
        font-size: 8px;
        padding: 2px 6px;
        bottom: 6px;
    }
    
    .before-after-btn {
        font-size: 7px;
        padding: 2px 8px;
        right: 50px;
        bottom: 6px;
    }
}
/* ===== СВЕТЛЫЙ ФОН МЕЖДУ ФОТО ===== */

.before-after-slider,
.before-after-track,
.before-after-block,
.before-after-large,
.before-after-small {
    background: #f0f0f0 !important;
}

.before-after-large img,
.before-after-small img {
    background: transparent;
}
/* ===== СЕРЫЕ РАЗДЕЛИТЕЛИ МЕЖДУ ФОТО ===== */

/* Серые рамки вокруг каждого фото */
.before-after-large img,
.before-after-small img {
    border: 2px solid #666666 !important;
    box-sizing: border-box;
}

/* При наведении - рамка становится оранжевой */
.before-after-large:hover img,
.before-after-small:hover img {
    border-color: #c66b1b !important;
}

/* Серый фон между фото */
.before-after-slider,
.before-after-track,
.before-after-block,
.before-after-large,
.before-after-small {
    background: #2a2a2a !important;
}

/* Белые/серые промежутки между блоками */
.before-after-track {
    gap: 15px;
}

.before-after-block {
    gap: 15px;
}

.before-after-vertical {
    gap: 15px;
}
/* ===== ОГРАНИЧЕНИЕ ПРОКРУТКИ СЛАЙДЕРА ===== */

.before-after-slider {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    cursor: grab;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.before-after-slider:active {
    cursor: grabbing;
}

/* Принудительно показываем весь контент */
.before-after-track {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    width: max-content;
    min-width: 100%;
}

/* Каждый блок прилипает при скролле */
.before-after-block {
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* Автопрокрутка */
.before-after-track {
    animation: scrollAuto 40s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.before-after-slider:hover .before-after-track {
    animation-play-state: paused;
}

/* Скрываем скроллбар, но оставляем возможность листать */
.before-after-slider::-webkit-scrollbar {
    height: 4px;
}

.before-after-slider::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.before-after-slider::-webkit-scrollbar-thumb {
    background: #c66b1b;
    border-radius: 4px;
}
/* ===== ТЕЛЕФОН: ВОЗВРАЩАЕМ ПРЕЖНИЙ РАЗМЕР КАРТОЧЕК УСЛУГ ===== */
@media (max-width: 768px) {
    .services__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .service-card {
        padding: 15px 10px !important;
        min-height: auto !important;
    }
    
    .service-card__icon {
        font-size: 34px !important;
        margin-bottom: 8px !important;
    }
    
    .service-card__title {
        font-size: 14px !important;
        margin-bottom: 5px !important;
    }
    
    .service-card__price {
        font-size: 16px !important;
        margin-bottom: 6px !important;
    }
    
    .service-card__text {
        font-size: 11px !important;
        line-height: 1.3 !important;
        display: block !important;
    }
}
/* ===== 3D КАРТОЧКА С ЭФФЕКТОМ НАКЛОНА ===== */

.card-3d-tilt {
    width: 380px;
    height: 500px;
    margin: 60px auto;
    perspective: 1000px;
}

.card-3d-tilt-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1e1e1e, #161616);
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 15px 30px rgba(198, 107, 27, 0.25);
}

.card-3d-tilt:hover .card-3d-tilt-inner {
    box-shadow: 0 20px 40px rgba(198, 107, 27, 0.5), 0 0 15px rgba(198, 107, 27, 0.3);
}

.card-3d-tilt-inner h4 {
    font-size: 20px;
    color: #c66b1b;
    margin-bottom: 8px;
    text-align: center;
}

.card-3d-tilt-inner p {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 15px;
    text-align: center;
}

/* Слайдер */
.mini-compare {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    min-height: 280px;
}

.mini-compare-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.mini-before,
.mini-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-after {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.mini-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: ew-resize;
}

.mini-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 100%;
    background: white;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    pointer-events: none;
}

.mini-handle span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: #c66b1b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    cursor: ew-resize;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    pointer-events: auto;
    transition: all 0.2s ease;
}

.mini-handle span:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #a85612;
}

/* Футер */
.card-3d-tilt-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.card-3d-tilt-footer span {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.card-3d-tilt-btn {
    background: #c66b1b;
    color: white;
    padding: 6px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.card-3d-tilt-btn:hover {
    background: #a85612;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(198,107,27,0.4);
}

/* Адаптация под телефон */
@media (max-width: 480px) {
    .card-3d-tilt {
        width: 340px;
        height: 470px;
    }
    
    .mini-handle span {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }
    
    .mini-compare {
        min-height: 250px;
    }
}
/* ===== КОНТЕЙНЕР ДЛЯ 3 КАРТОЧЕК ===== */
.cards-3d-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
    padding: 0 30px;
}

/* Карточки в контейнере */
.cards-3d-container .card-3d-tilt {
    width: 100%;
    margin: 0;
}

/* Адаптация под планшет */
@media (max-width: 900px) {
    .cards-3d-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 0 20px;
    }
}

/* Адаптация под телефон */
@media (max-width: 600px) {
    .cards-3d-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
}
/* ===== АВТО + РУЧНОЕ ЛИСТАНИЕ СЛАЙДЕРА ===== */

/* Оставляем автопрокрутку, но добавляем возможность скролла */
.before-after-slider {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    cursor: grab;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.before-after-slider:active {
    cursor: grabbing;
}

/* Анимация автопрокрутки работает, но не мешает ручному листанию */
.before-after-track {
    animation: scrollAuto 40s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

/* Останавливаем автопрокрутку, когда пользователь начал листать */
.before-after-slider:active .before-after-track,
.before-after-slider:focus .before-after-track {
    animation-play-state: paused !important;
}

/* При наведении мышкой - останавливаем автопрокрутку */
.before-after-slider:hover .before-after-track {
    animation-play-state: paused;
}

/* Красивый скроллбар */
.before-after-slider::-webkit-scrollbar {
    height: 5px;
}

.before-after-slider::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

.before-after-slider::-webkit-scrollbar-thumb {
    background: #c66b1b;
    border-radius: 10px;
}

.before-after-slider::-webkit-scrollbar-thumb:hover {
    background: #a85612;
}

/* Автопрокрутка при отпускании (через JS) */
/* ===== ТЕЛЕФОН: ПРИНУДИТЕЛЬНО ВОЗВРАЩАЕМ РАЗМЕР КАРТОЧЕК ===== */
@media (max-width: 768px) {
    .services__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .service-card {
        padding: 12px 8px !important;
        min-height: 140px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 16px !important;
    }
    
    .service-card__icon svg,
    .service-card__icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 32px !important;
        margin-bottom: 6px !important;
    }
    
    .service-card__title {
        font-size: 13px !important;
        margin-bottom: 4px !important;
    }
    
    .service-card__price {
        font-size: 15px !important;
        margin-bottom: 5px !important;
    }
    
    .service-card__text {
        font-size: 10px !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 10px 6px !important;
        min-height: 130px !important;
    }
    
    .service-card__icon svg,
    .service-card__icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 28px !important;
        margin-bottom: 5px !important;
    }
    
    .service-card__title {
        font-size: 12px !important;
    }
    
    .service-card__price {
        font-size: 14px !important;
    }
    
    .service-card__text {
        font-size: 9px !important;
    }
}
/* ===== ТЕЛЕФОН: ТЕКСТ ЧУТЬ КРУПНЕЕ ===== */
@media (max-width: 768px) {
    .service-card__title {
        font-size: 15px !important;
    }
    
    .service-card__price {
        font-size: 17px !important;
    }
    
    .service-card__text {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }
}
/* ===== ТЕЛЕФОН: КРУПНЕЕ ТЕКСТ ПОД ФОТО В ГАЛЕРЕЕ ===== */
@media (max-width: 768px) {
    .price-overlay .price {
        font-size: 16px !important;
        font-weight: bold !important;
    }
    
    .price-overlay .service-name {
        font-size: 12px !important;
    }
}
/* ===== ТЕКСТ ПОД ФОТО В ГАЛЕРЕЕ (ВЕЗДЕ) ===== */
.price-overlay .price {
    font-size: 16px;
    font-weight: bold;
}

.price-overlay .service-name {
    font-size: 12px;
}

/* На телефоне — чуть крупнее */
@media (max-width: 768px) {
    .price-overlay .price {
        font-size: 18px !important;
    }
    
    .price-overlay .service-name {
        font-size: 13px !important;
    }
}
/* ===== ТЕЛЕФОН: МЕНЯЕМ ПОРЯДОК БЛОКОВ ===== */
@media (max-width: 768px) {
    .hero__container {
        display: flex;
        flex-direction: column;
    }
    
    /* 1. Меню и шапка — остаются на месте (не меняем) */
    
    /* 2. Карусель (слайдер) — первым после шапки */
    .hero__slider {
        order: 1;
        margin-top: 15px;
        margin-bottom: 20px;
    }
    
    /* 3. Спецпредложение (карточка с ценами) */
    .special-card__inner {
        order: 2;
        margin-bottom: 20px;
    }
    
    /* 4. Кнопка "Рассчитать стоимость" */
    .hero__btn {
        order: 3;
        margin-bottom: 20px;
    }
    
    /* 5. Галочки (преимущества) */
    .hero__content > div:last-of-type {
        order: 4;
        margin-bottom: 20px;
    }
}
/* ===== СКРЫВАЕМ НЕНУЖНЫЕ БЛОКИ НА ТЕЛЕФОНЕ И КОМПЬЮТЕРЕ ===== */
/* На компьютере скрываем мобильную версию */
@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}

/* На телефоне скрываем десктопную версию */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
}
/* ===== СКРЫВАЕМ НЕНУЖНЫЕ БЛОКИ ===== */
@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
}
@media (max-width: 768px) {
    .hero__container {
        display: flex;
        flex-direction: column;
    }
    .hero__slider {
        order: 1;
    }
    .hero__content {
        order: 2;
    }
}
/* ===== ДВА БЛОКА: ФОТО + ТЕКСТ ===== */
.features-block {
    padding: 60px 0;
    background-color: #292929;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    transition: transform 0.3s;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.feature-row:hover {
    transform: translateY(-5px);
}

.feature-image {
    flex: 0 0 35%;
    max-width: 35%;
}

.feature-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: block;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

/* ЭФФЕКТ "ДОСКА + ОРАНЖЕВАЯ ТЕНЬ" ПРИ НАВЕДЕНИИ (для компьютеров) */
.feature-row:hover .feature-image img {
    transform: scale(1.02);
    box-shadow: 
        -10px 10px 0 0 #1e1e2a,                     /* Тёмная "доска" */
        -10px 10px 18px rgba(198, 107, 27, 0.5);    /* Оранжевая тень */
}

.feature-text {
    flex: 1;
}

.feature-title {
    font-size: 24px;
    color: #c66b1b;
    margin-bottom: 15px;
    font-weight: bold;
}

.feature-desc {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.feature-list li {
    color: #ddd;
    margin-bottom: 10px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-note {
    background: rgba(198, 107, 27, 0.1);
    border-left: 3px solid #c66b1b;
    padding: 12px 15px;
    border-radius: 12px;
    color: #ccc;
    font-style: italic;
    font-size: 14px;
}

/* ===== ТЕЛЕФОНЫ: ЭФФЕКТ "ДОСКА + ТЕНЬ" ВСЕГДА ВИДЕН ===== */
@media (max-width: 768px) {
    .features-block {
        padding: 40px 0;
    }
    
    .feature-row {
        display: flex;
        flex-direction: row !important;
        flex-wrap: nowrap;
        gap: 15px;
        margin-bottom: 30px;
        align-items: center;
        background: transparent !important;
        padding: 0 !important;
        max-width: 100%;
    }
    
    .feature-image {
        max-width: 38%;
        flex: 0 0 38%;
    }
    
    .feature-image img {
        width: 100%;
        height: auto;
        border-radius: 14px;
        aspect-ratio: 2 / 3;
        object-fit: cover;
        /* НА ТЕЛЕФОНАХ — ТЕНЬ ВСЕГДА ВИДНА (без наведения) */
        box-shadow: 
            -6px 6px 0 0 #1e1e2a,                   /* Тёмная "доска" (чуть меньше) */
            -6px 6px 12px rgba(198, 107, 27, 0.5);  /* Оранжевая тень */
    }
    
    /* Отключаем эффекты при наведении на телефонах */
    .feature-row:hover .feature-image img {
        transform: none;
        box-shadow: 
            -6px 6px 0 0 #1e1e2a,
            -6px 6px 12px rgba(198, 107, 27, 0.5);
    }
    
    .feature-row:hover {
        transform: none;
    }
    
    .feature-text {
        max-width: 58%;
        flex: 0 0 58%;
    }
    
    .feature-title {
        font-size: 16px;
        margin-bottom: 6px;
        text-align: left;
    }
    
    .feature-desc {
        font-size: 11px;
        margin-bottom: 8px;
        text-align: left;
        line-height: 1.4;
    }
    
    .feature-list li {
        font-size: 10px;
        margin-bottom: 4px;
        justify-content: flex-start;
    }
    
    .feature-note {
        font-size: 9px;
        padding: 6px 10px;
        text-align: left;
        line-height: 1.3;
    }
}

/* ОЧЕНЬ МАЛЕНЬКИЕ ТЕЛЕФОНЫ */
@media (max-width: 480px) {
    .feature-image {
        max-width: 35%;
        flex: 0 0 35%;
    }
    
    .feature-image img {
        aspect-ratio: 2 / 3;
        box-shadow: 
            -5px 5px 0 0 #1e1e2a,
            -5px 5px 10px rgba(198, 107, 27, 0.5);
    }
    
    .feature-text {
        max-width: 60%;
        flex: 0 0 60%;
    }
    
    .feature-title {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .feature-desc {
        font-size: 9px;
        margin-bottom: 6px;
    }
    
    .feature-list li {
        font-size: 8px;
        margin-bottom: 3px;
    }
    
    .feature-note {
        font-size: 8px;
        padding: 5px 8px;
    }
}
/* ===== ВЫРАВНИВАНИЕ HERO БЛОКА ПО ВЕРХУ ===== */
.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start !important;  /* Выравнивание по верхнему краю */
}

/* Контент слева (текст) */
.hero__content {
    padding-top: 0;
    margin-top: 0;
}

/* Слайдер справа */
.hero__slider {
    margin-top: 0;
}

/* Убираем лишние отступы */
.hero {
    padding: 60px 0;
    background-color: #292929;
}

/* Для компьютеров */
@media (min-width: 769px) {
    .hero__container {
        align-items: flex-start !important;
    }
    
    .hero__content {
        padding-top: 0;
    }
    
    /* Если нужно поднять текст выше */
    .hero__title {
        margin-top: 0;
        padding-top: 0;
    }
}
/* ===== ТЕКСТЫ НА ТЕЛЕФОНЕ: ЧУТЬ КРУПНЕЕ И ЖИРНЕЕ ===== */
@media (max-width: 768px) {
    /* Заголовки — жирные */
    .hero__title,
    .section-title,
    .advantage-card__title,
    .service-card__title,
    .review-card__author,
    .footer__title {
        font-weight: 700 !important;
    }
    
    /* Обычные тексты — чуть жирнее обычного */
    .hero__description,
    .hero__content > div > div,
    .service-card__text,
    .advantage-card__text,
    .review-card__text,
    .contacts__info p,
    .footer__description,
    .footer__contact-link,
    .footer__nav-link {
        font-weight: 500 !important;
    }
    
    /* Размеры текстов (чуть больше оригинала) */
    .hero__description,
    .hero__content > div > div,
    .service-card__text,
    .advantage-card__text {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }
    
    .service-card__title,
    .advantage-card__title {
        font-size: 18px !important;
    }
    
    .service-card__price {
        font-size: 17px !important;
        font-weight: 700 !important;
    }
    
    .section-title {
        font-size: 26px !important;
        font-weight: 700 !important;
    }
    
    .section-subtitle {
        font-size: 16px !important;
        font-weight: 500 !important;
    }
    
    .review-card__text {
        font-size: 14px !important;
    }
    
    .review-card__author {
        font-size: 14px !important;
    }
    
    .contacts__info p,
    .contacts__info a {
        font-size: 15px !important;
    }
    
    .footer__description,
    .footer__contact-link,
    .footer__contact-text,
    .footer__nav-link,
    .footer__work-hours p,
    .footer__copyright,
    .footer__developer {
        font-size: 13px !important;
        font-weight: 500 !important;
    }
    
    .footer__title {
        font-size: 17px !important;
    }
    
    .btn,
    .hero__btn,
    .callback-3d__btn {
        font-size: 13px !important;
        font-weight: bold !important;
    }
    
    .form-label,
    .form-input {
        font-size: 15px !important;
    }
    
    .modal__title {
        font-size: 22px !important;
        font-weight: 700 !important;
    }
    
    /* Блоки с фото и текстом */
    .feature-title {
        font-size: 17px !important;
        font-weight: 700 !important;
    }
    
    .feature-desc {
        font-size: 13px !important;
        font-weight: 500 !important;
    }
    
    .feature-list li {
        font-size: 12px !important;
        font-weight: 500 !important;
    }
    
    .feature-note {
        font-size: 12px !important;
        font-weight: 500 !important;
    }
    
    /* Слайдер */
    .slider-caption h3 {
        font-size: 17px !important;
        font-weight: 700 !important;
    }
    
    .slider-caption p {
        font-size: 13px !important;
        font-weight: 500 !important;
    }
    
    .slider-btn {
        font-size: 13px !important;
        font-weight: 600 !important;
    }
}
/* ===== ТЕЛЕФОН: ФОТО ВЫШЕ (РОВНО ПО ВЫСОТЕ С ТЕКСТОМ) ===== */
@media (max-width: 768px) {
    .feature-image img {
        aspect-ratio: 3 / 4 !important;
        height: auto;
        object-fit: cover;
    }
}

/* ===== КАРТОЧКИ УСЛУГ (ИСПРАВЛЕННЫЕ) ===== */
/* ===== КАРТОЧКИ УСЛУГ ===== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 0 20px;  /* Отступ 20px = 1см примерно */
    overflow-x: visible !important;
    overflow-y: visible !important;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: block;
    cursor: pointer;
    width: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.service-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

.service-card__icon {
    margin: -28px auto 12px auto;
    width: 56px;
    height: 56px;
    background: #292929;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    border: 2px solid #c66b1b;
}

.service-card__icon svg {
    width: 30px;
    height: 30px;
}

.service-card__content {
    padding: 0 16px 22px 16px;
    text-align: center;
}

.service-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.service-card__price {
    font-size: 19px;
    font-weight: 700;
    color: #c66b1b;
    margin-bottom: 10px;
}

.service-card__text {
    font-size: 13px;
    color: #ccc;
    line-height: 1.45;
}

/* ТЕЛЕФОН — 1 КОЛОНКА */
@media (max-width: 768px) {
    .services__grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 16px !important;
        overflow: visible !important;
    }
    
    .service-card {
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    .service-card__image {
        height: 180px !important;
    }
    
    .service-card__icon {
        width: 48px !important;
        height: 48px !important;
        margin-top: -24px !important;
    }
    
    .service-card__icon svg {
        width: 26px !important;
        height: 26px !important;
    }
    
    .service-card__title {
        font-size: 18px !important;
    }
    
    .service-card__price {
        font-size: 20px !important;
    }
    
    .service-card__text {
        font-size: 35px !important;
    }
}

/* ОЧЕНЬ МАЛЕНЬКИЕ ТЕЛЕФОНЫ */
@media (max-width: 480px) {
    .services__grid {
        padding: 0 12px !important;
        gap: 16px !important;
    }
    
    .service-card__image {
        height: 160px !important;
    }
    
    .service-card__icon {
        width: 44px !important;
        height: 44px !important;
        margin-top: -22px !important;
    }
    
    .service-card__icon svg {
        width: 24px !important;
        height: 24px !important;
    }
    
    .service-card__title {
        font-size: 16px !important;
    }
    
    .service-card__price {
        font-size: 18px !important;
    }
    
    .service-card__text {
        font-size: 16px !important;
    }
}

/* ===== ТЕЛЕФОН: ФОТО УЗКОЕ И ВЫСОКОЕ, ТЕКСТ НАПРОТИВ ===== */
@media (max-width: 768px) {
    .features-block {
        padding: 40px 0;
    }
    
    .feature-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        gap: 15px !important;
        margin-bottom: 30px !important;
        padding: 0 16px !important;
    }
    
    /* Фото — узкое и высокое */
    .feature-image {
        flex: 0 0 35% !important;
        max-width: 35% !important;
    }
    
    .feature-image img {
        width: 100% !important;
        height: auto !important;
        min-height: 220px !important;
        max-height: 280px !important;
        object-fit: cover !important;
        border-radius: 14px !important;
        aspect-ratio: 3 / 4 !important;
    }
    
    /* Текст — напротив фото */
    .feature-text {
        flex: 1 !important;
        max-width: 60% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    
    .feature-title {
        font-size: 16px !important;
        text-align: left !important;
        margin-bottom: 6px !important;
    }
    
    .feature-desc {
        font-size: 11px !important;
        text-align: left !important;
        margin-bottom: 8px !important;
        line-height: 1.4 !important;
    }
    
    .feature-list li {
        font-size: 10px !important;
        margin-bottom: 5px !important;
        justify-content: flex-start !important;
    }
    
    .feature-note {
        font-size: 9px !important;
        text-align: left !important;
        padding: 6px 10px !important;
        line-height: 1.3 !important;
    }
}

/* ОЧЕНЬ МАЛЕНЬКИЕ ТЕЛЕФОНЫ */
@media (max-width: 480px) {
    .feature-image {
        flex: 0 0 32% !important;
        max-width: 32% !important;
    }
    
    .feature-image img {
        min-height: 180px !important;
        max-height: 220px !important;
        aspect-ratio: 2 / 3 !important;
    }
    
    .feature-text {
        max-width: 64% !important;
    }
    
    .feature-title {
        font-size: 14px !important;
    }
    
    .feature-desc {
        font-size: 10px !important;
    }
    
    .feature-list li {
        font-size: 9px !important;
    }
    
    .feature-note {
        font-size: 8px !important;
    }
}
/* ===== ТЕЛЕФОН: БЛОКИ (ФОТО + ТЕКСТ) ЧУТЬ БОЛЬШЕ ===== */
@media (max-width: 768px) {
    .features-block {
        padding: 50px 0;
    }
    
    .feature-row {
        gap: 18px !important;
        margin-bottom: 40px !important;
        padding: 0 20px !important;
    }
    
    /* Фото — шире, но не огромное */
    .feature-image {
        flex: 0 0 38% !important;
        max-width: 38% !important;
    }
    
    .feature-image img {
        min-height: 240px !important;
        max-height: 300px !important;
        aspect-ratio: 3 / 4 !important;
        border-radius: 16px !important;
    }
    
    /* Текст — чуть просторнее */
    .feature-text {
        flex: 1 !important;
        max-width: 58% !important;
    }
    
    .feature-title {
        font-size: 18px !important;
        margin-bottom: 8px !important;
    }
    
    .feature-desc {
        font-size: 13px !important;
        margin-bottom: 12px !important;
        line-height: 1.45 !important;
    }
    
    .feature-list li {
        font-size: 12px !important;
        margin-bottom: 6px !important;
    }
    
    .feature-note {
        font-size: 11px !important;
        padding: 8px 12px !important;
    }
}

/* ОЧЕНЬ МАЛЕНЬКИЕ ТЕЛЕФОНЫ */
@media (max-width: 480px) {
    .feature-image {
        flex: 0 0 35% !important;
        max-width: 35% !important;
    }
    
    .feature-image img {
        min-height: 200px !important;
        max-height: 250px !important;
    }
    
    .feature-text {
        max-width: 61% !important;
    }
    
    .feature-title {
        font-size: 16px !important;
    }
    
    .feature-desc {
        font-size: 12px !important;
    }
    
    .feature-list li {
        font-size: 11px !important;
    }
    
    .feature-note {
        font-size: 10px !important;
    }
}
/* ===== ТЕЛЕФОН: ФОТО РОВНО ПО НИЖНЕЙ ЛИНИИ ТЕКСТА ===== */
@media (max-width: 768px) {
    .features-block {
        padding: 50px 0;
    }
    
    .feature-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 20px !important;
        margin-bottom: 45px !important;
        padding: 0 20px !important;
    }
    
    /* Фото — шире и выше */
    .feature-image {
        flex: 0 0 42% !important;
        max-width: 42% !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .feature-image img {
        width: 100% !important;
        height: auto !important;
        min-height: 260px !important;
        max-height: 320px !important;
        object-fit: cover !important;
        border-radius: 16px !important;
    }
    
    /* Текст */
    .feature-text {
        flex: 1 !important;
        max-width: 54% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
    }
    
    .feature-title {
        font-size: 18px !important;
        margin-bottom: 8px !important;
        text-align: left !important;
    }
    
    .feature-desc {
        font-size: 13px !important;
        margin-bottom: 12px !important;
        line-height: 1.45 !important;
        text-align: left !important;
    }
    
    .feature-list li {
        font-size: 12px !important;
        margin-bottom: 8px !important;
        justify-content: flex-start !important;
    }
    
    .feature-note {
        font-size: 11px !important;
        padding: 8px 12px !important;
        text-align: left !important;
        margin-top: 5px !important;
    }
    
    /* Добиваемся, чтобы низ фото был на одной линии с низом текстового блока */
    .feature-image {
        align-self: stretch;
    }
    
    .feature-image img {
        height: 100% !important;
        object-fit: cover !important;
    }
}

/* ОЧЕНЬ МАЛЕНЬКИЕ ТЕЛЕФОНЫ */
@media (max-width: 480px) {
    .feature-image {
        flex: 0 0 40% !important;
        max-width: 40% !important;
    }
    
    .feature-image img {
        min-height: 220px !important;
        max-height: 280px !important;
    }
    
    .feature-text {
        max-width: 56% !important;
    }
    
    .feature-title {
        font-size: 16px !important;
    }
    
    .feature-desc {
        font-size: 12px !important;
    }
    
    .feature-list li {
        font-size: 11px !important;
        margin-bottom: 6px !important;
    }
    
    .feature-note {
        font-size: 10px !important;
    }
}
/* ===== ТЕЛЕФОН: СКРЫВАЕМ ГАЛОЧКИ, ОСТАВЛЯЕМ ТОЛЬКО ТЕКСТ И ЛАМПОЧКУ ===== */
@media (max-width: 768px) {
    .feature-list {
        display: none !important;
    }
    
    .feature-desc {
        margin-bottom: 15px !important;
    }
    
    .feature-note {
        margin-top: 5px !important;
    }
}
/* ===== КОМПЬЮТЕР: ФОТО ЧУТЬ МЕНЬШЕ ===== */
@media (min-width: 769px) {
    .feature-image {
        flex: 0 0 38% !important;
        max-width: 38% !important;
    }
    
    .feature-image img {
        height: 280px !important;
        object-fit: cover !important;
    }
}
/* ===== МОБИЛЬНОЕ МЕНЮ - ЕДИНАЯ РАБОЧАЯ ВЕРСИЯ ===== */
@media (max-width: 850px) {
    .nav__toggle {
        display: block !important;
        background: none;
        border: none;
        color: white;
        font-size: 32px;
        cursor: pointer;
        padding: 8px 12px;
        z-index: 1001;
    }
    
    .nav__list {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #292929;
        flex-direction: column !important;
        padding: 20px !important;
        gap: 10px !important;
        z-index: 1000 !important;
        border-top: 2px solid #c66b1b;
        border-bottom: 2px solid #c66b1b;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav__list.active {
        display: flex !important;
    }
    
    .nav__item {
        width: 100% !important;
        text-align: center !important;
    }
    
    .nav__item > a {
        display: block !important;
        padding: 12px 15px !important;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        font-size: 16px;
        font-weight: 500;
        text-decoration: none;
        color: white;
    }
    
    .nav__item > a:hover {
        background: rgba(198, 107, 27, 0.2);
        color: #c66b1b;
    }
    
    /* Подменю */
    .nav__dropdown {
        display: none !important;
        width: 100%;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        margin-top: 8px;
        padding: 8px 0;
    }
    
    .nav__dropdown.active {
        display: block !important;
    }
    
    .nav__dropdown a {
        display: block;
        padding: 10px 20px;
        font-size: 14px;
        color: #ddd;
        text-decoration: none;
    }
    
    .nav__dropdown a:hover {
        background: rgba(198, 107, 27, 0.15);
        color: #c66b1b;
    }
}

/* На компьютере - подменю при наведении */
@media (min-width: 851px) {
    .nav__item--dropdown {
        position: relative;
    }
    
    .nav__dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #292929;
        min-width: 220px;
        border-radius: 12px;
        padding: 10px 0;
        box-shadow: 0 10px 25px rgba(0,0,0,0.3);
        border: 1px solid rgba(198,107,27,0.3);
        z-index: 100;
    }
    
    .nav__item--dropdown:hover .nav__dropdown {
        display: block;
    }
    
    .nav__dropdown a {
        display: block;
        padding: 10px 20px;
        color: white;
        text-decoration: none;
        font-size: 14px;
    }
    
    .nav__dropdown a:hover {
        background: rgba(198,107,27,0.2);
        color: #c66b1b;
    }
}
/* ===== АНИМАЦИИ ПРИ ЗАГРУЗКЕ ===== */

/* Анимация выезда СЛЕВА */
@keyframes slideFromLeft {
    0% { opacity: 0; transform: translateX(-80px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Анимация выезда СПРАВА */
@keyframes slideFromRight {
    0% { opacity: 0; transform: translateX(80px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Анимация выезда СНИЗУ */
@keyframes slideFromBottom {
    0% { opacity: 0; transform: translateY(60px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Анимация появления с масштабированием */
@keyframes scaleIn {
    0% { opacity: 0; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}

/* === ПРИ ЗАГРУЗКЕ СТРАНИЦЫ === */
/* Контент hero (текст) — выезд слева */
.hero__content {
    animation: slideFromLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Слайдер — выезд справа */
.hero__slider {
    animation: slideFromRight 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* === ДЛЯ АНИМАЦИИ ПРИ СКРОЛЛЕ === */
/* Базовые стили для элементов, которые будут анимироваться при скролле */
.scroll-animate {
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Состояние когда элемент появился в поле зрения */
.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0) scale(1) !important;
}

/* Начальные состояния для разных типов анимаций */
.scroll-animate.slide-bottom {
    transform: translateY(60px);
}

.scroll-animate.slide-left {
    transform: translateX(-60px);
}

.scroll-animate.slide-right {
    transform: translateX(60px);
}

.scroll-animate.scale-in {
    transform: scale(0.85);
}

/* Применяем анимации к элементам */
.section-title,
.section-subtitle {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title.visible,
.section-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Карточки услуг */
.service-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Карточки преимуществ */
.advantage-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.advantage-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Блоки "Почему выбирают" */
.about-city__block {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-city__block.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Галерея */
.gallery__item {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery__item.visible {
    opacity: 1;
    transform: scale(1);
}

/* Отзывы, контакты, бесплатные услуги, обратный звонок */
.reviews,
.contacts,
.free-service,
.callback-section,
.footer {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reviews.visible,
.contacts.visible,
.free-service.visible,
.callback-section.visible,
.footer.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ===== ТЕЛЕФОН: МЕНЮ В 1 КОЛОНКУ (ВЕРТИКАЛЬНО) ===== */
@media (max-width: 850px) {
    .nav__list {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #292929;
        flex-direction: column !important;  /* ВЕРТИКАЛЬНО */
        padding: 20px !important;
        gap: 10px !important;
        z-index: 1000 !important;
        border-top: 2px solid #c66b1b;
        border-bottom: 2px solid #c66b1b;
        max-height: calc(100vh - 80px);
        overflow-y: auto;  /* СКРОЛЛ ПО ВЕРТИКАЛИ */
    }
    
    .nav__list.active {
        display: flex !important;
    }
    
    /* Каждый пункт меню - на всю ширину, в 1 колонку */
    .nav__item {
        width: 100% !important;
        text-align: center !important;
        flex: none !important;  /* Убираем flex-растяжение */
    }
    
    .nav__item > a {
        display: block !important;
        padding: 12px 15px !important;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        font-size: 16px;
        font-weight: 500;
        text-decoration: none;
        color: white;
    }
    
    .nav__item > a:hover {
        background: rgba(198, 107, 27, 0.2);
        color: #c66b1b;
    }
    
    /* Подменю */
    .nav__dropdown {
        display: none !important;
        width: 100%;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        margin-top: 8px;
        padding: 8px 0;
    }
    
    .nav__dropdown.active {
        display: block !important;
    }
    
    .nav__dropdown a {
        display: block;
        padding: 10px 20px;
        font-size: 14px;
        color: #ddd;
        text-decoration: none;
    }
    
    .nav__dropdown a:hover {
        background: rgba(198, 107, 27, 0.15);
        color: #c66b1b;
    }
}
/* ===== ФИНАЛЬНОЕ МОБИЛЬНОЕ МЕНЮ - ТОЛЬКО 1 КОЛОНКА ===== */
@media (max-width: 850px) {
    /* Кнопка бургера */
    .nav__toggle {
        display: block !important;
        background: none !important;
        border: none !important;
        color: white !important;
        font-size: 35px !important;
        cursor: pointer !important;
        padding: 10px 15px !important;
        z-index: 1001 !important;
    }
    
    /* Меню - ТОЛЬКО ВЕРТИКАЛЬНО, 1 КОЛОНКА */
    .nav__list {
        display: none !important;
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: #1e1e1e !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        padding: 20px 15px !important;
        gap: 8px !important;
        z-index: 1000 !important;
        border-top: 2px solid #c66b1b !important;
        overflow-y: auto !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .nav__list.active {
        display: flex !important;
    }
    
    /* КАЖДЫЙ ПУНКТ МЕНЮ - НА ВСЮ ШИРИНУ */
    .nav__item {
        width: 100% !important;
        flex: none !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        white-space: normal !important;
    }
    
    .nav__item > a {
        display: block !important;
        padding: 12px 15px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 12px !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        color: white !important;
        text-decoration: none !important;
        text-align: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .nav__item > a:hover,
    .nav__item > a:active {
        background: rgba(198, 107, 27, 0.2) !important;
        color: #c66b1b !important;
    }
    
    /* ПОДМЕНЮ "УСЛУГИ" */
    .nav__dropdown {
        display: none !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border-radius: 12px !important;
        margin-top: 5px !important;
        padding: 8px 0 !important;
        position: static !important;
        box-shadow: none !important;
        border: none !important;
    }
    
    .nav__dropdown.active {
        display: block !important;
    }
    
    .nav__dropdown li {
        width: 100% !important;
        list-style: none !important;
    }
    
    .nav__dropdown a {
        display: block !important;
        padding: 8px 20px !important;
        font-size: 14px !important;
        color: #ccc !important;
        text-decoration: none !important;
        text-align: center !important;
        background: transparent !important;
    }
    
    .nav__dropdown a:hover,
    .nav__dropdown a:active {
        background: rgba(198, 107, 27, 0.15) !important;
        color: #c66b1b !important;
    }
    
    /* Блокируем скролл body когда меню открыто */
    body.menu-open {
        overflow: hidden !important;
    }
}

/* Компьютер - обычное меню */
@media (min-width: 851px) {
    .nav__toggle {
        display: none !important;
    }
    
    .nav__list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        position: static !important;
        background: transparent !important;
        padding: 0 !important;
        gap: 20px !important;
    }
    
    .nav__item {
        width: auto !important;
    }
    
    .nav__item--dropdown {
        position: relative !important;
    }
    
    .nav__dropdown {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        background: #292929 !important;
        min-width: 220px !important;
        border-radius: 12px !important;
        padding: 10px 0 !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.3) !important;
        border: 1px solid rgba(198,107,27,0.3) !important;
        z-index: 100 !important;
    }
    
    .nav__item--dropdown:hover .nav__dropdown {
        display: block !important;
    }
    
    .nav__dropdown a {
        display: block !important;
        padding: 8px 20px !important;
        color: white !important;
        font-size: 14px !important;
        text-align: left !important;
    }
    
    .nav__dropdown a:hover {
        background: rgba(198,107,27,0.2) !important;
        color: #c66b1b !important;
    }
}
.free-service {
    padding: 60px 0;
    background-color: #1e1e1e;
}
.free-service__card {
    background: linear-gradient(145deg, #2a2a2a, #222);
    border-radius: 30px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    border: 1px solid rgba(198,107,27,0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}
.free-service__logo {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #c66b1b;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.free-service__logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.free-service__content {
    flex: 1;
}
.free-service__title {
    font-size: 28px;
    color: #c66b1b;
    margin-bottom: 20px;
}
.free-service__items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.free-service__item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.free-service__icon {
    font-size: 28px;
    width: 50px;
    height: 50px;
    background: rgba(198,107,27,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.free-service__text {
    font-size: 16px;
    color: #ddd;
    font-weight: 500;
}
@media (max-width: 768px) {
    .hero-city__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .hero-city__content {
        order: 1;
    }
    .hero-city__image-block {
        order: 2;
    }
    .hero-city__features {
        text-align: left;
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-city__btn {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }
    .hero-city__btn-wa,
    .hero-city__btn-phone {
        padding: 10px 20px;
        font-size: 13px;
        max-width: 250px;
    }
    .hero-city__title {
        font-size: 28px;
    }
    
    /* ГАЛЕРЕЯ 2 КОЛОНКИ */
    .gallery-city__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .gallery-city__overlay {
        padding: 6px 8px;
    }
    .gallery-city__address {
        font-size: 9px;
    }
    .gallery-city__work {
        font-size: 8px;
    }
    
    /* ТЕКСТ О КОМПАНИИ */
    .about-city__services {
        grid-template-columns: 1fr;
        gap: 20px;
        font-size: 35px;
    }
    .about-city__list {
        grid-template-columns: 1fr;
    
       
    }
    .about-city__content h3 {
        font-size: 20px;
        font-weight: bold;
    }
    
    /* БЛОК С ЛОГОТИПОМ */
    .free-service__card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;    

    }
    .free-service__item {
        justify-content: center;
    }
    .free-service__title {
        font-size: 22px;
    }
    .free-service__icon {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    .free-service__text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .gallery-city__grid {
        gap: 8px;
    }
    .gallery-city__address {
        font-size: 8px;
    }
    .gallery-city__work {
        font-size: 7px;
    }
}

 .about-city__grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
            margin: 30px 0;
        }
        .about-city__block {
            background: rgba(255,255,255,0.05);
            border-radius: 16px;
            padding: 20px;
        }
        .about-city__block h3 {
            color: #c66b1b;
            margin-bottom: 12px;
            font-size: 18px;
        }
        .about-city__block p, .about-city__block li {
            font-size: 14px;
            color: #ddd;
            line-height: 1.5;
        }
        .about-city__block ul {
            padding-left: 20px;
        }
        .price-table {
            margin-top: 10px;
        }
        .price-row {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            font-size: 13px;
            font-weight:bold;
        }
        .price-row--note {
            border-bottom: none;
            color: #c66b1b;
            font-size: 11px;
            justify-content: center;
        }
        .about-city__services {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        .about-city__service {
            background: rgba(255,255,255,0.05);
            border-radius: 16px;
            padding: 18px;
        }
        .about-city__service h4 {
            color: #c66b1b;
            margin-bottom: 10px;
            font-size: 16px;
        }
        .about-city__service p {
            font-size: 15px;
            color: #ccc;
            line-height: 1.5;
        }
        @media (max-width: 768px) {
            .hero-city__container {
                flex-direction: column;
            }
            .hero-city__content {
                order: 1;
            }
            .hero-city__image-block {
                order: 2;
            }
            .about-city__grid {
                grid-template-columns: 1fr;
            }
        }
        
        
        
        /* ===== 3D КНОПКИ С ЭФФЕКТОМ НАЖАТИЯ ===== */

/* Все кнопки на сайте */
.fullscreen-slider__btn,
.hero-city__btn,
.hero__btn,
.btn,
.slide-btn,
.callback-3d__btn,
.item-modal__btn,
.delivery-order__btn,
.hero-city-full__btn,
.service-card-3d__btn,
.service-card-3d__btn-mobile,
.tile-card__btn {
    transition: all 0.08s linear !important;
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.25) !important;
    transform: translateY(0) !important;
}

/* Эффект нажатия для всех кнопок */
.fullscreen-slider__btn:active,
.hero-city__btn:active,
.hero__btn:active,
.btn:active,
.slide-btn:active,
.callback-3d__btn:active,
.item-modal__btn:active,
.delivery-order__btn:active,
.hero-city-full__btn:active,
.service-card-3d__btn:active,
.service-card-3d__btn-mobile:active,
.tile-card__btn:active {
    transform: translateY(3px) !important;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25) !important;
}

/* Специальные тени для разных кнопок */
.fullscreen-slider__btn--primary,
.hero-city__btn--primary,
.btn--primary,
.hero-city-full__btn--primary {
    box-shadow: 0 5px 0 #8B4513 !important;
}

.fullscreen-slider__btn--phone,
.hero-city__btn-phone,
.hero-city-full__btn--phone {
    box-shadow: 0 5px 0 #0a5c4a !important;
}

.fullscreen-slider__btn--wa,
.hero-city__btn-wa,
.hero-city-full__btn--wa {
    box-shadow: 0 5px 0 #0a5c4a !important;
}

.callback-3d__btn {
    box-shadow: 0 5px 0 #8B4513 !important;
}

/* Убираем анимацию подъёма при наведении, оставляем только нажатие */
.fullscreen-slider__btn:hover,
.hero-city__btn:hover,
.hero__btn:hover,
.btn:hover,
.slide-btn:hover,
.callback-3d__btn:hover,
.item-modal__btn:hover,
.delivery-order__btn:hover {
    transform: translateY(-1px) !important;
}

.fullscreen-slider__btn:active,
.hero-city__btn:active,
.hero__btn:active,
.btn:active,
.slide-btn:active,
.callback-3d__btn:active,
.item-modal__btn:active {
    transform: translateY(3px) !important;
}

/* Для мобильных устройств - чуть меньше эффект */
@media (max-width: 768px) {
    .fullscreen-slider__btn:active,
    .hero-city__btn:active,
    .hero__btn:active,
    .btn:active {
        transform: translateY(2px) !important;
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25) !important;
    }
}
        /* ----------- */
        /* ========== СТРАНИЦА ДЛЯ ОБНИНСКА ========== */
.hero-city {
    padding: 60px 0;
    background-color: #292929;
}
.hero-city__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.hero-city__title {
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
}
.hero-city__description {
    font-size: 16px;
    font-weight:bold;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 25px;
}
.hero-city__features {
    margin-bottom: 30px;
}
.hero-city__feature {
    margin-bottom: 12px;
    color: #ddd;
    font-size: 15px;
}
.hero-city__btn {
    display: inline-block;
}
.hero-city__image-block {
    width: 100%;
}

/* ===== ЭФФЕКТ "ДОСКА + ОРАНЖЕВАЯ ТЕНЬ" ДЛЯ ФОТО ===== */
.hero-city__image {
    position: relative;
    width: 95%;
    height: 650px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #fff;
    /* Эффект "лежит на поверхности" — как у слайдера */
    box-shadow: 
        -12px 12px 0 0 #252530,                    /* Тёмная "доска" */
        -12px 12px 18px rgba(198, 107, 27, 0.4);   /* Оранжевая тень */
    transition: all 0.25s ease;
}

.hero-city__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* При наведении — увеличение фото + доска толще + тень ярче */
.hero-city__image:hover {
    box-shadow: 
        -15px 15px 0 0 #252530,                    /* Доска толще */
        -15px 15px 25px rgba(198, 107, 27, 0.6);   /* Тень ярче */
    transform: translate(3px, -3px);               /* Лёгкий сдвиг */
}

.hero-city__image:hover img {
    transform: scale(1.05);                         /* Увеличение фото */
}
/* ===== ДЛЯ ТЕЛЕФОНОВ: тень всегда видна ===== */
@media (max-width: 768px) {
    .hero-city__image {
        height: auto;
        width: 100%;
    }
    
    .hero-city__image img {
        height: auto;
        aspect-ratio: 4 / 3;
    }
    
    /* На телефонах — эффект "доски" всегда виден */
    .hero-city__image {
        box-shadow: 
            -6px 6px 0 0 #1e1e2a,
            -6px 6px 12px rgba(198, 107, 27, 0.5);
    }
    
    /* Отключаем hover-эффекты на телефонах */
    .hero-city__image:hover {
        box-shadow: 
            -6px 6px 0 0 #1e1e2a,
            -6px 6px 12px rgba(198, 107, 27, 0.5);
    }
    
    .hero-city__image:hover img {
        transform: none;
    }
}

.hero-city__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
}
.hero-city__btn-wa,
.hero-city__btn-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
}
.hero-city__btn-wa {
    background: #075E54;
    color: white;
    border: none;
}
.hero-city__btn-wa:hover {
    background: #054a40;
    transform: scale(1.02);
}
.hero-city__btn-phone {
    background: #c66b1b;
    color: white;
    border: none;
}
.hero-city__btn-phone:hover {
    background: #a85612;
    transform: scale(1.02);
}

/* ========== ГАЛЕРЕЯ ДЛЯ ОБНИНСКА (ТАКОГО ЖЕ РАЗМЕРА КАК НА ДРУГИХ СТРАНИЦАХ) ========== */
.gallery-city {
    padding: 80px 0;
    background-color: #1e1e1e;
    width: 100%;
}

.gallery-city__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-city__item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-city__img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-city__img:hover {
    transform: scale(1.05);
}

.gallery-city__overlay {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    padding: 12px 15px;
    transition: bottom 0.25s ease;
    text-align: center;
    z-index: 10;
}

.gallery-city__item:hover .gallery-city__overlay {
    bottom: 0;
}

.gallery-city__address {
    font-size: 13px;
    font-weight: bold;
    color: #c66b1b;
    margin-bottom: 5px;
}

.gallery-city__work {
    font-size: 11px;
    color: #eee;
}
/* ===== HERO ДЛЯ СТРАНИЦ ГОРОДОВ (ФОТО НА ВЕСЬ ФОН) ===== */
.hero-city-full {
    position: relative;
    width: 100%;
    min-height: 550px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-city-full__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-city-full__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.hero-city-full__container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-city-full__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
    padding: 60px 20px;
}

/* Заголовок */
.hero-city-full__title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Описание */
.hero-city-full__description {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.5;
    opacity: 0.9;
}

/* Преимущества */
.hero-city-full__features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
}

.hero-city-full__feature {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    border-left: 3px solid #c66b1b;
}

/* Кнопки */
.hero-city-full__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.hero-city-full__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.hero-city-full__btn--primary {
    background: #DAA520;
    color: white;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.hero-city-full__btn--primary:hover {
    background: #B8860B;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(218, 165, 32, 0.4);
}

.hero-city-full__btn--wa {
    background: #25D366;
    color: white;
}

.hero-city-full__btn--wa:hover {
    background: #128C7E;
    transform: translateY(-3px);
}

.hero-city-full__btn--phone {
    background: #808000;
    color: white;
}

.hero-city-full__btn--phone:hover {
    background: #6B6B00;
    transform: translateY(-3px);
}

/* Адаптация для телефонов */
@media (max-width: 768px) {
    .hero-city-full {
        min-height: 500px;
    }
    
    .hero-city-full__title {
        font-size: 28px;
    }
    
    .hero-city-full__description {
        font-size: 14px;
    }
    
    .hero-city-full__feature {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .hero-city-full__btn {
        padding: 8px 18px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero-city-full__title {
        font-size: 22px;
    }
    
    .hero-city-full__buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-city-full__btn {
        width: 90%;
        justify-content: center;
    }
}
/* ТЕЛЕФОН: 2 КОЛОНКИ */
@media (max-width: 768px) {
    .gallery-city__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .gallery-city__img {
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }
    .gallery-city__overlay {
        bottom: 0;
        padding: 8px 10px;
    }
    .gallery-city__address {
        font-size: 10px;
    }
    .gallery-city__work {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .gallery-city__grid {
        gap: 10px;
    }
    .gallery-city__address {
        font-size: 9px;
    }
    .gallery-city__work {
        font-size: 8px;
    }
}

/* БЛОК С ЛОГОТИПОМ И БЕСПЛАТНЫМИ УСЛУГАМИ */
.free-service {
    padding: 60px 0;
    background-color: #1e1e1e;
}
.free-service__card {
    background: linear-gradient(145deg, #2a2a2a, #222);
    border-radius: 30px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    border: 1px solid rgba(198,107,27,0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}
.free-service__logo {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #c66b1b;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.free-service__logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.free-service__content {
    flex: 1;
}
.free-service__title {
    font-size: 28px;
    color: #c66b1b;
    margin-bottom: 20px;
}
.free-service__items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.free-service__item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.free-service__icon {
    font-size: 28px;
    width: 50px;
    height: 50px;
    background: rgba(198,107,27,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.free-service__text {
    font-size: 16px;
    color: #ddd;
    font-weight: 500;
}

/* АДАПТАЦИЯ ДЛЯ ТЕЛЕФОНА */
@media (max-width: 768px) {
    .hero-city__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .hero-city__content {
        order: 1;
    }
    .hero-city__image-block {
        order: 2;
    }
    .hero-city__features {
        text-align: left;
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-city__btn {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }
    .hero-city__btn-wa,
    .hero-city__btn-phone {
        padding: 10px 20px;
        font-size: 13px;
        max-width: 250px;
    }
    .hero-city__title {
        font-size: 28px;
    }
    
    /* ГАЛЕРЕЯ 2 КОЛОНКИ */
    .gallery-city__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .gallery-city__overlay {
        padding: 6px 8px;
    }
    .gallery-city__address {
        font-size: 9px;
    }
    .gallery-city__work {
        font-size: 8px;
    }
    
    /* ТЕКСТ О КОМПАНИИ */
    .about-city__services {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .about-city__list {
        grid-template-columns: 1fr;
    
       
    }
    .about-city__content h3 {
        font-size: 20px;
        
    }
    
    /* БЛОК С ЛОГОТИПОМ */
    /* .free-service__card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;    

    }
    .free-service__item {
        justify-content: center;
    }
    .free-service__title {
        font-size: 22px;
    }
    .free-service__icon {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    .free-service__text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .gallery-city__grid {
        gap: 8px;
    }
    .gallery-city__address {
        font-size: 8px;
    }
    .gallery-city__work {
        font-size: 7px;
    }
} */
/* ========== УВЕЛИЧЕНИЕ БУКВ В МЕНЮ ========== */
.nav__link {
    font-size: 5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
}

/* Для компьютера */
@media (min-width: 851px) {
    .nav__link {
        font-size: 15px !important;
        font-weight: 700 !important;
    }
}

/* Для телефона (чтобы не были огромными) */
@media (max-width: 850px) {
    .nav__link {
        font-size: 16px !important;
        font-weight: 700 !important;
    }
}
 .hero-city__container {
            display: flex;
            gap: 40px;
            align-items: center;
        }
        .hero-city__content {
            flex: 1;
        }
        .hero-city__image-block {
            flex: 1;
        }
        .hero-city__img {
            width: 100%;
            border-radius: 20px;
            object-fit: cover;
        }
        .hero-city__prices {
            display: flex;
            gap: 15px;
            margin: 20px 0;
            flex-wrap: wrap;
        }
        .price-card {
            flex: 1;
            background: rgba(255,255,255,0.08);
            border-radius: 16px;
            padding: 15px;
            text-align: center;
            border: 1px solid rgba(198,107,27,0.3);
        }
        .price-card--primary {
            background: linear-gradient(135deg, rgba(198,107,27,0.2), rgba(198,107,27,0.05));
            border-color: #c66b1b;
        }
        .price-card__title {
            font-size: 14px;
            color: #ccc;
            margin-bottom: 8px;
        }
        .price-card__value {
            font-size: 24px;
            font-weight: 900;
            color: #c66b1b;
        }
        .price-card__note {
            font-size: 11px;
            color: #aaa;
            margin-top: 5px;
        }
        .hero-city__buttons {
            display: flex;
            gap: 12px;
            margin: 20px 0;
            flex-wrap: wrap;
        }
        .hero-city__btn-wa, .hero-city__btn-phone {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 15px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s;
        }
        .hero-city__btn-wa {
            background: #25D366;
            color: white;
        }
        .hero-city__btn-phone {
            background: #c66b1b;
            color: white;
        }
        .hero-city__btn-wa:hover, .hero-city__btn-phone:hover {
            transform: scale(1.02);
            opacity: 0.9;
        }
        .hero-city__features {
            margin: 20px 0;
        }
        .hero-city__feature {
            margin-bottom: 10px;
            font-size: 14px;
        }
        .about-city__grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
            margin: 30px 0;
        }
        .about-city__block {
            background: rgba(255,255,255,0.05);
            border-radius: 16px;
            padding: 20px;
        }
        .about-city__block h3 {
            color: #c66b1b;
            margin-bottom: 12px;
            font-size: 18px;
        }
        .about-city__block p, .about-city__block li {
            font-size: 14px;
            color: #ddd;
            line-height: 1.5;
        }
        .about-city__block ul {
            padding-left: 20px;
        }
        .price-table {
            margin-top: 10px;
        }
        .price-row {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            font-size: 13px;
            font-weight:bold;
        }
        .price-row--note {
            border-bottom: none;
            color: #c66b1b;
            font-size: 11px;
            justify-content: center;
        }
        .about-city__services {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        .about-city__service {
            background: rgba(255,255,255,0.05);
            border-radius: 16px;
            padding: 18px;
        }
        .about-city__service h4 {
            color: #c66b1b;
            margin-bottom: 10px;
            font-size: 16px;
        }
        .about-city__service p {
            font-size: 13px;
            color: #ccc;
            line-height: 1.5;
        }
        @media (max-width: 768px) {
            .hero-city__container {
                flex-direction: column;
            }
            .hero-city__content {
                order: 1;
            }
            .hero-city__image-block {
                order: 2;
            }
            .about-city__grid {
                grid-template-columns: 1fr;
            }
        }
        
        /* ========== ПЛАНШЕТЫ (768px - 1024px) ========== */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 0 15px;
    }
    
    /* ШАПКА */
    .header__container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .logo--circle {
        width: 60px;
        height: 60px;
    }
    
    .header-phones {
        flex-direction: row;
        gap: 15px;
    }
    
    .header-phone-link span {
        font-size: 14px;
    }
    
    /* МЕНЮ */
    .nav__list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .nav__link {
        font-size: 13px !important;
        padding: 8px 12px;
    }
    
    .nav__dropdown {
        min-width: 180px;
    }
    
    /* HERO БЛОК (главная) */
    .hero__container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .hero__title {
        font-size: 32px;
    }
    
    .hero__description {
        font-size: 14px;
    }
    
    .hero__slider {
        max-width: 100%;
    }
    
    .slider-caption h3 {
        font-size: 16px;
    }
    
    .slider-caption p {
        font-size: 12px;
    }
    
    /* ГАЛЕРЕЯ */
    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .gallery__img {
        height: 200px;
    }
    
    /* УСЛУГИ */
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-card__icon svg {
        width: 35px;
        height: 35px;
    }
    
    .service-card__title {
        font-size: 18px;
    }
    
    .service-card__price {
        font-size: 18px;
    }
    
    /* ПРЕИМУЩЕСТВА */
    .advantages__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .advantage-card {
        padding: 20px;
    }
    
    /* КАРТОЧКИ "ПОЧЕМУ ВЫБИРАЮТ" */
    .about-city__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-city__block {
        padding: 18px;
    }
    
    .about-city__block h3 {
        font-size: 16px;
    }
    
    .about-city__block p {
        font-size: 13px;
    }
    
    /* УСЛУГИ В БЛОКЕ */
    .about-city__services {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .about-city__service {
        padding: 15px;
    }
    
    .about-city__service h4 {
        font-size: 15px;
    }
    
    .about-city__service p {
        font-size: 12px;
    }
    
    /* ОТЗЫВЫ */
    .review-card {
        padding: 25px;
    }
    
    .review-card__text {
        font-size: 14px;
    }
    
    /* КОНТАКТЫ */
    .contacts__grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .contacts__info p {
        font-size: 14px;
    }
    
    /* ФУТЕР */
    .footer__content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* КНОПКИ */
    .hero__btn, .hero-city__btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .hero-city__buttons {
        flex-direction: row;
    }
    
    /* КАЛЬКУЛЯТОР */
    .modal__content {
        max-width: 90%;
        padding: 30px;
    }
}

/* ПЛАНШЕТЫ БОЛЬШИЕ (1024px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
    .container {
        max-width: 1100px;
    }
    
    .services__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* СТРАНИЦЫ ГОРОДОВ НА ПЛАНШЕТЕ */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-city__container {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-city__content {
        order: 1;
        text-align: center;
    }
    
    .hero-city__image-block {
        order: 2;
        max-width: 70%;
        margin: 0 auto;
    }
    
    .hero-city__buttons {
        order: 3;
        justify-content: center;
    }
    
    .hero-city__btn {
        order: 4;
        margin: 0 auto;
        display: block;
        width: fit-content;
    }
    
    .hero-city__features {
        order: 5;
        text-align: left;
        display: inline-block;
        width: 100%;
    }
    
    .hero-city__title {
        font-size: 32px;
        text-align: center;
    }
    
    .hero-city__description {
        font-size: 15px;
        text-align: center;
    }
    
    .hero-city__feature {
        font-size: 14px;
        text-align: left;
    }
    
    .gallery-city__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .gallery-city__img {
        height: 180px;
    }
}
/* ========== УВЕЛИЧЕНИЕ ВЫСОТЫ СЛАЙДЕРА (главная страница) ========== */
@media (min-width: 769px) {
    .slider-container {
        padding-bottom: 75% !important; /* Увеличиваем высоту слайдера */
    }
    
    .hero__container {
        align-items: flex-start !important; /* Выравниваем по верху */
    }
    
    .hero__content {
        padding-top: 20px;
    }
}

/* ========== ПЛАНШЕТЫ (768px - 1024px) - МЕНЮ КАК НА ГЛАВНОЙ ========== */
@media (min-width: 768px) and (max-width: 1024px) {
    /* ШАПКА */
    .header__container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 20px;
    }
    
    /* ЛОГО */
    .logo {
        order: 1;
        flex-shrink: 0;
    }
    
    .logo--circle {
        width: 55px;
        height: 55px;
    }
    
    /* КНОПКА БУРГЕР (всегда видна на планшете) */
    .nav__toggle {
        display: block !important;
        order: 2;
        background: none;
        border: none;
        color: white;
        font-size: 28px;
        cursor: pointer;
        padding: 5px 10px;
    }
    
    /* НОМЕРА ТЕЛЕФОНОВ */
    .header-phones {
        order: 3;
        display: flex !important;
        flex-direction: row !important;
        gap: 15px;
        margin-left: auto;
    }
    
    .header-phone-link span {
        font-size: 13px;
    }
    
    /* ПОИСК */
    .search-container {
        order: 4;
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-input {
        width: 100%;
        padding: 8px 15px;
        font-size: 14px;
    }
    
    /* МЕНЮ (СКРЫТО ПО УМОЛЧАНИЮ, ОТКРЫВАЕТСЯ ПО КЛИКУ) */
    .nav__list {
        display: none !important;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #1e1e1e;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        padding: 20px 15px !important;
        gap: 8px !important;
        z-index: 1000 !important;
        border-top: 2px solid #c66b1b !important;
        overflow-y: auto !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .nav__list.active {
        display: flex !important;
    }
    
    .nav__item {
        width: 100% !important;
        flex: none !important;
        text-align: center !important;
    }
    
    .nav__item > a {
        display: block !important;
        padding: 12px 15px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 12px !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        color: white !important;
    }
    
    /* ПОДМЕНЮ */
    .nav__dropdown {
        display: none !important;
        width: 100%;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        margin-top: 5px;
        padding: 8px 0;
        position: static;
    }
    
    .nav__dropdown.active {
        display: block !important;
    }
    
    .nav__dropdown a {
        display: block;
        padding: 8px 20px;
        font-size: 14px;
        color: #ccc;
        text-align: center;
    }
}

/* ========== СТРАНИЦЫ ГОРОДОВ НА ПЛАНШЕТЕ ========== */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-city__container {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-city__content {
        order: 1;
        text-align: center;
    }
    
    .hero-city__title {
        font-size: 32px;
        text-align: center;
    }
    
    .hero-city__description {
        font-size: 15px;
        text-align: center;
    }
    
    .hero-city__image-block {
        order: 2;
        max-width: 80%;
        margin: 0 auto;
    }
    
    .hero-city__buttons {
        order: 3;
        justify-content: center;
    }
    
    .hero-city__btn {
        order: 4;
        margin: 0 auto;
        display: block;
        width: fit-content;
    }
    
    .hero-city__features {
        order: 5;
        text-align: left;
        max-width: 500px;
        margin: 20px auto;
    }
    
    .gallery-city__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* ========== ДОПОЛНИТЕЛЬНО: УВЕЛИЧЕНИЕ СЛАЙДЕРА НА ПЛАНШЕТЕ ========== */
@media (min-width: 768px) and (max-width: 1024px) {
    .slider-container {
        padding-bottom: 50% !important;
    }
    
    .slider-caption h3 {
        font-size: 18px;
    }
    
    .slider-caption p {
        font-size: 13px;
    }
}
/* ===== АКТИВНЫЙ ПУНКТ МЕНЮ (ОРАНЖЕВАЯ ЛИНИЯ) ===== */
.nav__link--active {
    color: #c66b1b !important;
    border-bottom: 2px solid #c66b1b !important;
    padding-bottom: 5px !important;
}

/* Для компьютера */
@media (min-width: 851px) {
    .nav__link--active {
        position: relative;
    }
    .nav__link--active::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #c66b1b;
    }
}

/* Для телефона и планшета */
@media (max-width: 850px) {
    .nav__link--active {
        background: rgba(198, 107, 27, 0.2) !important;
        border-bottom: none !important;
    }
}
/* ===== АКТИВНЫЙ ПУНКТ МЕНЮ (УСИЛЕННЫЙ ВАРИАНТ) ===== */
.nav__link--active,
a.nav__link--active,
li .nav__link--active {
    color: #c66b1b !important;
}

/* Для компьютера — оранжевая линия */
@media (min-width: 851px) {
    .nav__link--active,
    a.nav__link--active,
    li .nav__link--active {
        border-bottom: 2px solid #c66b1b !important;
        padding-bottom: 5px !important;
    }
}

/* Для телефона и планшета — оранжевый фон */
@media (max-width: 850px) {
    .nav__link--active,
    a.nav__link--active,
    li .nav__link--active {
        background: rgba(198, 107, 27, 0.3) !important;
        border-bottom: none !important;
        border-radius: 12px !important;
    }
}
@media (max-width: 768px) {
    .hero__container {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .hero__slider {
        order: 1 !important;
        margin-bottom: 20px !important;
    }
    
 /* ========== ПОЛНОСТЬЮ ИСПРАВЛЕННЫЕ МЕДИА-ЗАПРОСЫ ========== */

/* ----- САМЫЕ МАЛЕНЬКИЕ ТЕЛЕФОНЫ (до 340px) Galaxy Mini ----- */
@media (max-width: 340px) {
    .container {
        padding: 0 10px !important;
    }
    
    .logo--circle {
        width: 35px !important;
        height: 35px !important;
    }
    
    .nav__toggle {
        font-size: 20px !important;
        padding: 5px 8px !important;
    }
    
    .header-phone-link span {
        font-size: 10px !important;
    }
    
    .search-input {
        font-size: 10px !important;
        padding: 5px 10px !important;
    }
    
    .hero__title {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }
    
    .price-row {
        font-size: 9px !important;
    }
    
    .price-row span {
        font-size: 9px !important;
    }
    
    .hero__btn {
        font-size: 11px !important;
        padding: 6px 12px !important;
    }
    
    .hero__content > div:last-of-type div {
        font-size: 9px !important;
        margin-bottom: 5px !important;
    }
    
    .nav__list {
        top: 55px !important;
        padding: 10px !important;
    }
    
    .nav__item > a {
        font-size: 12px !important;
        padding: 6px 10px !important;
    }
}

/* ----- МАЛЕНЬКИЕ ТЕЛЕФОНЫ (341px - 480px) iPhone SE, Galaxy ----- */
@media (min-width: 341px) and (max-width: 480px) {
    .header-phones {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 5px !important;
    }
    
    .header-phone-link {
        font-size: 11px !important;
    }
    
    .header-phone-link span {
        font-size: 11px !important;
    }
    
    .search-container {
        width: 100% !important;
    }
    
    .hero__title {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    
    .hero__btn {
        font-size: 14px !important;
        padding: 10px 20px !important;
        width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .price-row {
        font-size: 11px !important;
        flex-wrap: wrap !important;
        gap: 5px !important;
    }
    
    .price-row span {
        font-size: 11px !important;
    }
    
    .slider-caption h3 {
        font-size: 12px !important;
    }
    
    .slider-caption p {
        font-size: 9px !important;
    }
    
    .slider-btn {
        font-size: 9px !important;
        padding: 4px 10px !important;
    }
    
    .gallery__grid {
        gap: 6px !important;
    }
    
    .price-overlay .price {
        font-size: 10px !important;
    }
    
    .price-overlay .service-name {
        font-size: 7px !important;
    }
    
    .review-card {
        padding: 15px !important;
    }
    
    .review-card__text {
        font-size: 11px !important;
    }
    
    .footer__content {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    
    .footer__title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .float-panel {
        bottom: 15px !important;
        right: 15px !important;
        gap: 8px !important;
    }
    
    .float-icon {
        width: 45px !important;
        height: 45px !important;
    }
}

/* ----- ВСЕ ТЕЛЕФОНЫ ВЕРТИКАЛЬНО (до 768px) ----- */
@media (max-width: 768px) and (orientation: portrait) {
    .hero__container {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .hero__slider {
        order: 1 !important;
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    
    .hero__content {
        order: 2 !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .hero__title {
        text-align: center !important;
    }
    
    .price-table {
        max-width: 100% !important;
        margin: 0 auto !important;
    }
}

/* ----- ТЕЛЕФОНЫ ГОРИЗОНТАЛЬНО (ЛАНДШАФТ) (до 900px) ----- */
@media (max-width: 900px) and (orientation: landscape) {
    .hero__container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
        align-items: start !important;
    }
    
    .hero__content {
        order: 1 !important;
        text-align: left !important;
        padding-right: 10px !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
    }
    
    /* Скролл для длинного текста */
    .hero__content::-webkit-scrollbar {
        width: 3px !important;
    }
    
    .hero__content::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.1) !important;
        border-radius: 3px !important;
    }
    
    .hero__content::-webkit-scrollbar-thumb {
        background: #c66b1b !important;
        border-radius: 3px !important;
    }
    
    .hero__slider {
        order: 2 !important;
        width: 100% !important;
        max-height: 80vh !important;
    }
    
    .slider-container::after {
        padding-bottom: 55% !important;
    }
    
    .hero__title {
        font-size: 16px !important;
        margin-bottom: 8px !important;
        text-align: left !important;
    }
    
    .hero__description {
        font-size: 10px !important;
        margin-bottom: 8px !important;
    }
    
    .price-row {
        font-size: 9px !important;
        padding: 3px 0 !important;
    }
    
    .price-row span {
        font-size: 9px !important;
    }
    
    .hero__btn {
        font-size: 10px !important;
        padding: 5px 12px !important;
        margin-top: 8px !important;
        display: inline-block !important;
        width: auto !important;
    }
    
    .hero__content > div:last-of-type div {
        font-size: 9px !important;
        margin-bottom: 4px !important;
    }
    
    .slider-caption {
        padding: 4px 8px !important;
    }
    
    .slider-caption h3 {
        font-size: 10px !important;
        margin-bottom: 2px !important;
    }
    
    .slider-caption p {
        font-size: 8px !important;
    }
    
    .slider-btn {
        padding: 2px 6px !important;
        font-size: 7px !important;
    }
    
    .slider-dots {
        bottom: 5px !important;
    }
    
    .slider-dot {
        width: 5px !important;
        height: 5px !important;
    }
    
    /* Уменьшаем шапку в ландшафте */
    .header-phones {
        flex-direction: row !important;
        gap: 8px !important;
    }
    
    .header-phone-link span {
        font-size: 9px !important;
    }
}

/* ----- БОЛЬШИЕ ТЕЛЕФОНЫ ГОРИЗОНТАЛЬНО (iPhone Plus, 736px+) ----- */
@media (min-width: 736px) and (max-width: 900px) and (orientation: landscape) {
    .hero__title {
        font-size: 18px !important;
    }
    
    .price-row {
        font-size: 10px !important;
    }
    
    .hero__slider {
        max-height: 85vh !important;
    }
}

/* ----- ПЛАНШЕТЫ ВЕРТИКАЛЬНО (768px - 1024px) ----- */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hero__container {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .hero__slider {
        max-width: 80% !important;
        margin: 0 auto !important;
    }
    
    .hero__title {
        font-size: 28px !important;
        text-align: center !important;
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .gallery__grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
    }
    
    .advantages__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

/* ----- ПЛАНШЕТЫ ГОРИЗОНТАЛЬНО (1024px - 1366px) ----- */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    .hero__container {
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
        align-items: start !important;
    }
    
    .hero__title {
        font-size: 32px !important;
    }
    
    .hero__content {
        max-height: 550px !important;
        overflow-y: auto !important;
    }
    
    .hero__content::-webkit-scrollbar {
        width: 4px !important;
    }
    
    .services__grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .gallery__grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* ----- iPad Pro и большие планшеты (1024px - 1366px) ----- */
@media (min-width: 1024px) and (max-width: 1366px) {
    .container {
        max-width: 95% !important;
        padding: 0 20px !important;
    }
    
    .hero__title {
        font-size: 34px !important;
    }
}

/* ----- КОМПЬЮТЕРЫ (от 1367px) ----- */
@media (min-width: 1367px) {
    .hero__container {
        align-items: start !important;
    }
    
    .hero__content {
        max-height: none !important;
        overflow: visible !important;
    }
}

/* ----- МЕНЮ НА ТЕЛЕФОНАХ (общее) ----- */
@media (max-width: 850px) {
    .nav__list {
        max-height: 80vh !important;
        overflow-y: auto !important;
    }
    
    .nav__item > a {
        font-size: 14px !important;
        padding: 10px 12px !important;
    }
    
    .nav__dropdown a {
        font-size: 12px !important;
        padding: 8px 15px !important;
    }
}

/* ----- ОТЗЫВЫ НА ТЕЛЕФОНАХ ----- */
@media (max-width: 480px) {
    .reviews-slider__prev,
    .reviews-slider__next {
        width: 28px !important;
        height: 28px !important;
        font-size: 14px !important;
    }
}

/* ----- ГАЛЕРЕЯ НА ТЕЛЕФОНАХ ----- */
@media (max-width: 480px) {
    .gallery__grid {
        gap: 6px !important;
    }
}

/* ----- ВСПЛЫВАЮЩАЯ ПАНЕЛЬ ----- */
@media (max-width: 480px) {
    .float-icon {
        width: 48px !important;
        height: 48px !important;
    }
    
    .float-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
}

