/* ============================================
   KVADR64 - ОБЩИЙ СТИЛЕВОЙ ФАЙЛ
   Обновлено: январь 2025 (универсальная версия)
   ============================================ */

/* ====== ПЕРЕМЕННЫЕ ====== */
:root {
    --primary: #FF6B35; /* Оранжевый */
    --secondary: #222; /* Чёрный */
    --accent: #4ECDC4; /* Бирюзовый */
    --light: #FFFFFF;
    --gray: #F5F5F5;
    --text: #333333;
    --success: #27ae60;
}

/* ====== ОСНОВНЫЕ СТИЛИ ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f9f9f9;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--secondary);
}

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

section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }
}

/* ====== КНОПКИ ====== */
.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

@media (max-width: 768px) {
    .btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}

.btn:hover {
    background: #E55A2B;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.btn-primary {
    background: var(--primary);
}

.btn-primary:hover {
    background: #E55A2B;
}

.btn-vk {
    background: #4C75A3;
}

.btn-vk:hover {
    background: #3a5a80;
}

.btn-phone {
    background: #25D366;
}

.btn-phone:hover {
    background: #1da851;
}

/* ====== ЗАГОЛОВКИ СЕКЦИЙ ====== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 42px;
    position: relative;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: var(--primary);
    margin: 20px auto 0;
    border-radius: 3px;
}

/* ====== ШАПКА ====== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(34, 34, 34, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    color: var(--primary);
    font-size: 28px;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: white;
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 18px;
    }
}

.logo-text span {
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

@media (max-width: 992px) {
    nav ul {
        gap: 20px;
    }
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

nav a:hover {
    color: var(--primary);
}

nav a.active {
    color: var(--primary);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.phone-header {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

@media (max-width: 768px) {
    .phone-header {
        font-size: 14px;
    }
}

.phone-header a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

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

.phone-icon {
    background: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* ====== ГЛАВНАЯ СЕКЦИЯ ====== */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        padding: 150px 0 70px;
        background-attachment: scroll;
    }
}

.hero h1 {
    font-size: 56px;
    color: white;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 18px;
        padding: 0 15px;
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 25px;
        margin-top: 30px;
        padding-top: 30px;
    }
}

.stat-item {
    text-align: center;
    min-width: 140px;
}

@media (max-width: 480px) {
    .stat-item {
        min-width: 120px;
    }
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
    display: block;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    line-height: 1;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 36px;
    }
}

.stat-text {
    font-size: 18px;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    margin-top: 10px;
}

@media (max-width: 768px) {
    .stat-text {
        font-size: 16px;
    }
}

/* ====== КАЛЬКУЛЯТОР ====== */
.calculator {
    background: linear-gradient(135deg, var(--gray) 0%, #f0f0f0 100%);
    position: relative;
    overflow: hidden;
}

.calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--accent));
}

.calculator-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .calculator-container {
        padding: 25px;
        border-radius: 15px;
    }
}

.calc-step {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #eee;
}

.calc-step:last-child {
    border-bottom: none;
}

.calc-step h3 {
    margin-bottom: 20px;
    color: var(--secondary);
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calc-step h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .calc-step h3 {
        font-size: 20px;
    }
}

/* МАРШРУТЫ В КАЛЬКУЛЯТОРЕ */
.route-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .route-options {
        grid-template-columns: 1fr;
    }
}

.route-option {
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    background: white;
}

.route-option:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.1);
}

.route-option.selected {
    border-color: var(--primary);
    background: linear-gradient(to bottom, rgba(255, 107, 53, 0.05), rgba(255, 107, 53, 0.02));
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.15);
}

.route-name {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--secondary);
}

.route-details {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
}

.route-details div {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.route-price {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    margin: 15px 0;
}

.route-note {
    font-size: 14px;
    color: #888;
    margin-top: 10px;
}

/* КОЛИЧЕСТВО КВАДРОЦИКЛОВ */
.quad-types-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.quad-type-block {
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    background: white;
    transition: all 0.3s;
}

.quad-type-block:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.quad-type-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary);
}

.quad-type-description {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.quad-type-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.qty-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: white;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.1);
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-input {
    width: 70px;
    height: 45px;
    text-align: center;
    font-size: 22px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-weight: 700;
    transition: border-color 0.3s;
}

.qty-input:focus {
    outline: none;
    border-color: var(--primary);
}

.quad-price {
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary);
    font-size: 18px;
}

.discount-notice {
    text-align: center;
    margin-top: 20px;
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
    padding: 12px 20px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    margin-right: auto;
}

.calc-results {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 30px;
    margin-top: 35px;
    border: 2px solid #e0e0e0;
}

.calc-results h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
    color: var(--secondary);
}

.calc-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 17px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
}

.calc-line:last-child {
    border-bottom: none;
}

.calc-line.total {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    border-top: 2px solid #ddd;
    padding-top: 20px;
    margin-top: 20px;
    border-bottom: none;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 35px;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* ====== МАРШРУТЫ (ГЛАВНАЯ) ====== */
.routes-preview {
    background: white;
}

.route-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .route-with-image {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
    }
    
    .route-with-image:nth-child(even) .route-image {
        order: -1;
    }
}

.route-image {
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    position: relative;
}

@media (max-width: 768px) {
    .route-image {
        height: 250px;
    }
}

.route-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.route-image:hover img {
    transform: scale(1.05);
}

.route-content h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 28px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .route-content h3 {
        font-size: 24px;
    }
}

.route-content p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.7;
    color: #555;
}

.highlight-box {
    background: linear-gradient(to right, rgba(255, 107, 53, 0.05), rgba(255, 107, 53, 0.02));
    border-left: 4px solid var(--primary);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box p {
    margin: 0;
    font-size: 17px;
    color: var(--secondary);
}

.route-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.route-feature {
    background: var(--gray);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.route-actions {
    margin-top: 30px;
}

/* ====== УСЛУГИ ====== */
.services-preview {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--gray);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ====== ГАЛЕРЕЯ ====== */
.gallery-preview {
    background: linear-gradient(135deg, var(--gray) 0%, #f0f0f0 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 220px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .gallery-item {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        height: 150px;
    }
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-link {
    text-align: center;
    margin-top: 40px;
}

/* ====== ОТЗЫВЫ ====== */
.reviews-preview {
    background: linear-gradient(135deg, var(--secondary) 0%, #333 100%);
    color: white;
}

.reviews-preview .section-title {
    color: white;
}

.reviews-slider {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
}

.review-slide {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.review-text {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.review-info h4 {
    color: white;
    margin-bottom: 5px;
    font-size: 18px;
}

.review-date {
    color: #aaa;
    font-size: 14px;
}

.review-stars {
    color: #FFD700;
    margin-top: 10px;
    font-size: 20px;
}

.reviews-link {
    text-align: center;
    margin-top: 40px;
}

/* ====== СТАТЬИ ====== */
.articles-preview {
    background: white;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

.article-card {
    background: var(--gray);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.article-image {
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.article-content {
    padding: 25px;
}

.article-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--secondary);
}

.article-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

/* ====== КОНТАКТЫ ====== */
.contacts {
    background: var(--secondary);
    color: white;
}

.contacts .section-title {
    color: white;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

@media (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    background: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-phone {
    font-size: 24px;
    font-weight: 900;
    color: white;
    text-decoration: none;
    display: block;
    margin: 10px 0;
    transition: color 0.3s;
}

@media (max-width: 768px) {
    .contact-phone {
        font-size: 20px;
    }
}

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

.contact-address {
    font-size: 18px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-address {
        font-size: 16px;
    }
}

.contact-hours {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.contact-map {
    background: #444;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 30px;
}

.map-overlay i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary);
}

.map-overlay h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: white;
}

/* ====== ФИКСИРОВАННЫЕ КНОПКИ ЗВОНКА ====== */
.call-buttons-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (max-width: 768px) {
    .call-buttons-fixed {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
}

.call-button {
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .call-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

.call-button:hover {
    background: #1da851;
    transform: scale(1.1);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4);
}

.call-button.vk {
    background: #4C75A3;
    box-shadow: 0 10px 20px rgba(76, 117, 163, 0.3);
}

.call-button.vk:hover {
    background: #3a5a80;
    box-shadow: 0 15px 25px rgba(76, 117, 163, 0.4);
}

.call-button.phone {
    background: var(--primary);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.call-button.phone:hover {
    background: #E55A2B;
    box-shadow: 0 15px 25px rgba(255, 107, 53, 0.4);
}

.call-button.primary {
    background: var(--primary);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.call-button.primary:hover {
    background: #E55A2B;
    box-shadow: 0 15px 25px rgba(255, 107, 53, 0.4);
}

/* ====== ПОДВАЛ ====== */
footer {
    background: #111;
    color: #aaa;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo span {
    color: var(--primary);
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 18px;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4, .footer-contacts h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-contacts h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contacts p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contacts i {
    color: var(--primary);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    font-size: 14px;
    color: #777;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* ====== МОБИЛЬНОЕ МЕНЮ ====== */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(34, 34, 34, 0.98);
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    nav a {
        font-size: 18px;
        padding: 12px 0;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    nav a:last-child {
        border-bottom: none;
    }
    
    nav a::after {
        display: none;
    }
    
    .phone-header {
        margin-left: auto;
        margin-right: 20px;
    }
}

/* ====== МЕЛКИЕ ЭКРАНЫ ====== */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-text {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .calculator-container {
        padding: 20px 15px;
    }
    
    .route-option {
        padding: 20px 15px;
    }
    
    .contact-phone {
        font-size: 18px;
    }
    
    .call-buttons-fixed {
        bottom: 15px;
        right: 15px;
    }
    
    .call-button {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* ====== АНИМАЦИИ ====== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* ====== ИНДИКАТОР ЗАГРУЗКИ ====== */
.image-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ====== ИНДИКАТОР ПРОКРУТКИ ====== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    z-index: 1001;
    transition: width 0.3s;
}