/* ============================================
   ОСНОВНЫЕ СТИЛИ И ПЕРЕМЕННЫЕ
   ============================================ */

:root {
    /* ОСНОВНАЯ ЦВЕТОВАЯ СХЕМА */
    --orange-primary: #FF6B00;          /* Яркий оранжевый - основной акцент */
    --orange-dark: #E65100;            /* Тёмный оранжевый */
    --orange-light: #FF8A65;           /* Светлый оранжевый */
    --orange-pale: #FFCCBC;            /* Бледный оранжевый для фонов */
    --orange-transparent: rgba(255, 107, 0, 0.08); /* Прозрачный */
    
    /* СИНИЕ АКЦЕНТЫ */
    --blue-dark: #2C3E50;              /* Тёмный антрацитовый синий */
    --blue-medium: #4A6278;            /* Средний синий */
    --blue-light: #6D8BA5;             /* Светлый голубоватый */
    --blue-pale: #E3EAF2;              /* Бледно-голубой для фонов */
    --blue-transparent: rgba(44, 62, 80, 0.05);
    
    /* КОРИЧНЕВЫЕ АКЦЕНТЫ */
    --brown-dark: #5D4037;             /* Тёмный шоколадный */
    --brown-medium: #795548;           /* Средний коричневый */
    --brown-light: #A1887F;            /* Светлый коричневый */
    --brown-pale: #D7CCC8;             /* Бледный коричневый */
    
    /* НЕЙТРАЛЬНЫЕ ЦВЕТА (минимальный серый) */
    --neutral-dark: #263238;           /* Тёмный текст (угольный) */
    --neutral-medium: #455A64;         /* Средний для подзаголовков */
    --neutral-light: #ECEFF1;          /* Очень светлый для фонов */
    --neutral-white: #FFFFFF;          /* Чистый белый */
    --neutral-border: #CFD8DC;         /* Цвет границ */
    
    /* СТАТУСНЫЕ ЦВЕТА */
    --success: #2E7D32;               /* Зелёный успех */
    --error: #C62828;                 /* Красный ошибка */
    --warning: #F57C00;               /* Оранжевое предупреждение */
    --info: #0277BD;                  /* Синяя информация */
    
    /* ГРАДИЕНТЫ */
    --gradient-orange: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    --gradient-blue: linear-gradient(135deg, var(--blue-dark), var(--blue-medium));
    --gradient-hero: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(44, 62, 80, 0.85));
    --gradient-brown: linear-gradient(135deg, var(--brown-dark), var(--brown-medium));
    
    /* ТЕНИ (мягкие, минималистичные) */
    --shadow-sm: 0 2px 4px rgba(38, 50, 56, 0.05);
    --shadow-md: 0 4px 12px rgba(38, 50, 56, 0.08);
    --shadow-lg: 0 8px 24px rgba(38, 50, 56, 0.1);
    --shadow-orange: 0 6px 20px rgba(255, 107, 0, 0.12);
    --shadow-blue: 0 6px 20px rgba(44, 62, 80, 0.1);
    
    /* СКРУГЛЕНИЯ И АНИМАЦИИ */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* ============================================
   БАЗОВЫЕ СТИЛИ
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--neutral-dark);
    background-color: var(--neutral-light);
    line-height: 1.6;
    font-weight: 400;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

main,
main.container {
    padding-bottom: 2rem;
}

/* ============================================
   ТИПОГРАФИЯ
   ============================================ */

h1, h2, h3, h4, h5 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--neutral-dark);
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 2rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2px;
    width: 20px; /* Начинаем с 0 */
    height: 4px;
    background: linear-gradient(to right, var(--orange-primary), var(--brown-medium));
    border-radius: 2px;
    transition: width 1.8s cubic-bezier(0.22, 0.61, 0.36, 1); /* Плавная анимация */
}

h2:hover:after {
    width: 100%; /* Плавно появляется до 120px */
}

/* Для заголовков в видимой области сразу показываем линию */
h2.in-view:after {
    width: 120px;
}

h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--blue-dark);
}

h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--neutral-medium);
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-title:after {
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
}

.section-subtitle {
    text-align: center;
    color: var(--neutral-medium);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   ШАПКА САЙТА
   ============================================ */

header {
    background: var(--neutral-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--neutral-border);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 2px solid var(--orange-primary);
    display: block;
}

.logo-image[style*="display:none"] {
    display: none !important;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--blue-dark);
}

.logo-text span {
    color: var(--orange-primary);
}

/* Основная навигация */
#main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

#main-nav a {
    color: var(--blue-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 1rem;
}

#main-nav a:hover {
    color: var(--orange-primary);
    background-color: var(--orange-transparent);
}

#main-nav a.active {
    color: var(--orange-primary);
    background-color: var(--orange-transparent);
    font-weight: 600;
}

/* Кнопка мобильного меню */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--blue-dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition-normal);
}

.mobile-menu-btn:hover {
    color: var(--orange-primary);
}

/* ============================================
   ГЛАВНАЯ СТРАНИЦА
   ============================================ */

/* Герой-секция */
.hero {
    background: linear-gradient(135deg, 
        rgba(44, 62, 80, 0.95), 
        rgba(44, 62, 80, 0.85)),
        url('https://images.unsplash.com/photo-1563986768609-322da13575f3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80') 
        center/cover no-repeat;
    color: var(--neutral-white);
    text-align: center;
    padding: 6rem 1rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 107, 0, 0.1) 0%,
        transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.2rem;
    color: var(--neutral-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.hero p {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Секция "О компании" */
.about-section {
    display: grid;
    grid-template-columns: 1.3fr 1.7fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
    padding: 3rem;
    background: var(--neutral-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

.owner-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--gradient-orange);
    color: var(--neutral-white);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-orange);
}

.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    padding: 0.8rem 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
}

.features-list li i {
    color: var(--orange-primary);
    margin-top: 4px;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.features-list strong {
    color: var(--blue-dark);
}

/* Превью услуг на главной */
.services-preview {
    margin-bottom: 5rem;
}

/* Сетка услуг */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--neutral-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--neutral-border);
    height: 100%;
} 


.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-orange);
    border-color: var(--orange-light);
}

.service-image {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--orange-primary);
    color: var(--neutral-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-orange);
}

.service-content {
    padding: 1.8rem;
}

.service-content h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--blue-dark);
}

.service-list {
    list-style: none;
    margin: 1.2rem 0;
}

.service-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--neutral-border);
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li i {
    color: var(--orange-primary);
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-orange);
    color: var(--neutral-white);
    padding: 14px 32px;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    font-family: inherit;
    font-size: 1rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.btn:hover {
    background: linear-gradient(135deg, var(--orange-dark), var(--orange-primary));
    transform: translateY(-3px);
    box-shadow: var(--shadow-orange);
}

.btn-secondary {
    background: var(--gradient-blue);
    box-shadow: var(--shadow-blue);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--blue-medium), var(--blue-dark));
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent; /* Прозрачный фон */
    color: var(--orange-primary); /* Оранжевый текст */
    padding: 14px 32px;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: 2px solid var(--orange-light); /* Светло-оранжевая рамка */
    cursor: pointer;
    transition: var(--transition-normal);
    font-family: inherit;
    font-size: 1rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-call:hover {
    background: var(--orange-transparent); /* Полупрозрачный оранжевый фон */
    color: var(--orange-dark); /* Темно-оранжевый текст */
    border-color: var(--orange-primary); /* Яркая оранжевая рамка */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.1);
}
/* CTA секция */
.cta-section {
    background: linear-gradient(135deg, 
        var(--blue-dark) 30%, 
        var(--orange-dark) 100%);
    color: var(--neutral-white);
    padding: 4rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-section:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle at center, 
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%);
    z-index: 1;
    animation: pulse 10s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: var(--neutral-white);
    margin-bottom: 1rem;
}

.cta-section h2:after {
    background: var(--neutral-white);
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin: 2rem 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.phone-number {
    color: var(--neutral-white);
    text-decoration: none;
    transition: var(--transition-normal);
}

.phone-number:hover {
    color: var(--blue-pale);
    text-decoration: underline;
}

.cta-note {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    opacity: 0.9;
}

.cta-note i {
    font-size: 1.2rem;
}

/* ============================================
   СТРАНИЦА КОНТАКТОВ
   ============================================ */

.page-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 3rem 0;
    background: var(--neutral-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-top: 2rem;
}

/* Контакты */

.content-centered {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-section h2 {
    margin-bottom: 2rem;
}

.contact-info {
    background: var(--neutral-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 2.5rem;
    border: 1px solid var(--neutral-border);
    border-top: 4px solid var(--orange-primary);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--neutral-border);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    font-size: 1.4rem;
    color: var(--orange-primary);
    margin-right: 20px;
    width: 30px;
    flex-shrink: 0;
    margin-top: 5px;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--blue-dark);
}

.contact-details p {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.contact-details a {
    color: var(--orange-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-normal);
}

.contact-details a:hover {
    color: var(--orange-dark);
    text-decoration: underline;
}

/* Карта */
.map-container {
    margin-top: 2.5rem;
}

/* Вертикальный список соцсетей */
.social-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.social-links-list a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--neutral-dark);
    text-decoration: none;
    font-size: 1.05rem;
    padding: 0.3rem 0;
    transition: var(--transition-normal);
    border-bottom: none;
}

.social-links-list a i {
    color: var(--orange-primary);
    width: 24px;
    font-size: 1.3rem;
    text-align: center;
    transition: var(--transition-normal);
}

.social-links-list a:hover {
    color: var(--orange-dark);
    transform: translateX(5px);
}

.social-links-list a:hover i {
    color: var(--orange-dark);
}

/* Кастомная иконка для Макса */
.social-links-list .custom-icon {
    width: 1.3rem;
    height: 1.3rem;
    object-fit: contain;
    vertical-align: middle;
    display: inline-block;
    filter: brightness(0) saturate(100%) 
    invert(45%) sepia(98%) saturate(1750%) 
    hue-rotate(5deg) brightness(101%) 
    contrast(101%);
    transition: var(--transition-normal);
}

.social-links-list a:hover .custom-icon {
    filter: brightness(0) 
    saturate(100%) invert(35%) 
    sepia(87%) saturate(2000%) 
    hue-rotate(10deg) brightness(95%) 
    contrast(105%);
}



/* ============================================
   СТРАНИЦА УСЛУГ
   ============================================ */

.equipment-section {
    margin: 4rem 0;
    padding: 3rem;
    background: var(--neutral-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.equipment-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-section {
    background: linear-gradient(135deg, 
        var(--orange-pale) 0%, 
        #799abb81 100%);
    padding: 4rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 4rem;
    border: 2px solid var(--orange-light);
    position: relative;
    overflow: hidden;
}

.pricing-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, 
        transparent, 
        var(--orange-primary), 
        transparent);
}

.pricing-section h3 {
    color: var(--orange-dark);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.pricing-section p {
    color: #2C3E50;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
}

.pricing-section .btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 6px 20px #2C3E50;
}

.pricing-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px #2C3E50;
}

/* Выделение длины стрелы */
.crane-highlight {
    background: var(--orange-transparent);
    border-left: 4px solid var(--orange-primary);
    padding: 1rem 1.2rem;
    margin: 1.2rem 0 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    color: var(--blue-dark);
}

.crane-highlight i {
    color: var(--orange-primary);
    font-size: 1.8rem;
}

.crane-highlight strong {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--orange-dark);
    margin-left: 5px;
}

/* Список характеристик крана */
.crane-specs {
    list-style: none;
    margin-top: 1rem;
}

.crane-specs li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--neutral-border);
    font-size: 1rem;
}

.crane-specs li:last-child {
    border-bottom: none;
}

.crane-specs li i {
    color: var(--blue-medium);
    width: 20px;
    font-size: 1.1rem;
}

/* ============================================
   ПОДВАЛ САЙТА
   ============================================ */

footer {
    background: var(--blue-dark);
    color: var(--neutral-white);
    padding: 4rem 0 2rem;
    margin-top: auto;
    border-top: 1px solid var(--blue-medium);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--neutral-white);
    margin-bottom: 1.5rem;
    border-bottom: none;
}

.footer-section h3:after,
.footer-section h4:after {
    display: none;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo .logo-text {
    font-size: 2rem;
    justify-content: flex-start;
    color: var(--neutral-white);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-item.footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.contact-item.footer i {
    color: var(--orange-light);
    width: 20px;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.contact-item.footer a {
    color: var(--neutral-white);
    text-decoration: none;
    transition: var(--transition-normal);
}

.contact-item.footer a:hover {
    color: var(--orange-light);
    text-decoration: underline;
}

.working-hours p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.working-hours i {
    color: var(--orange-light);
    width: 18px;
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: var(--orange-light);
    text-decoration: none;
    margin: 0 0.8rem;
    font-weight: 500;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--neutral-white);
    text-decoration: underline;
}

/* Строка иконок мессенджеров в подвале */
.footer-messengers-row {
    align-items: center;
}

.messenger-icons {
    display: flex;
    gap: 3.0rem;
    align-items: center;
    margin-left: 3rem;
}

.messenger-icons a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: inline-flex;
    transition: var(--transition-normal);
}

.messenger-icons a i,
.messenger-icons a .fab,
.messenger-icons a .fas {
    font-size: 2.2rem !important;
}


.messenger-icons a:hover {
    color: var(--orange-light);
    transform: translateY(-3px);
}

/* Кастомная PNG-иконка Макса */
.messenger-icons .custom-icon {
    width: 2.0rem;
    height: 2.0rem;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(64%) 
    sepia(23%) saturate(1087%) hue-rotate(326deg) 
    brightness(103%) contrast(101%);
    transition: var(--transition-normal);
    vertical-align: middle;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 1024px) {
    .about-section {
        gap: 3rem;
        padding: 2.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* Мобильное меню */
    .mobile-menu-btn {
        display: block;
    }
    
    #main-nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--neutral-white);
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        border-top: 1px solid var(--neutral-border);
    }
    
    #main-nav.active {
        display: block;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    #main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    #main-nav ul li {
        width: 100%;
    }
    
    #main-nav a {
        justify-content: flex-start;
        padding: 1rem 1.5rem;
        border-radius: var(--radius-md);
        border-bottom: 1px solid var(--neutral-border);
    }
    
    #main-nav a:last-child {
        border-bottom: none;
    }
    
    /* Адаптивность контента */
    .hero {
        padding: 4rem 1rem;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
        margin-bottom: 0;
    }
    
    .about-section {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-section {
        padding: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-header {
        padding: 2rem 1rem;
        margin-bottom: 3rem;
    }
    
    .contact-info {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-logo .logo-text {
        justify-content: center;
    }
    
    .contact-item.footer {
        justify-content: center;
    }
    
    .working-hours p {
        justify-content: center;
    }
    
    .footer-links a {
        display: inline-block;
        margin: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h2:after {
        width: 100px;
        height: 3px;
    }
    
    .section-title:after {
        width: 120px !important;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .about-image img {
        height: 300px;
    }
    
    .service-image {
        height: 200px;
    }
    
    .cta-phone {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 10px;
    }

    .crane-highlight {
    font-size: 1rem;
    padding: 0.8rem 1rem;
    }

    .crane-highlight strong {
        font-size: 1.4rem;
    }
}

/* ============================================
   УТИЛИТЫ И ДОПОЛНИТЕЛЬНЫЕ СТИЛИ
   ============================================ */

/* Загрузка изображений */
img {
    transition: opacity 0.3s ease;
}

/* Плавная прокрутка */
html {
    scroll-padding-top: 80px;
}

/* Выделение текста */
::selection {
    background-color: var(--orange-primary);
    color: var(--neutral-white);
}

::-moz-selection {
    background-color: var(--orange-primary);
    color: var(--neutral-white);
}

/* Фокус для доступности */
:focus {
    outline: 2px solid var(--orange-primary);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* Скроллбар */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-light);
}

::-webkit-scrollbar-thumb {
    background: var(--blue-medium);
    border-radius: var(--radius-md);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange-primary);
}

/* В ваш CSS файл добавьте: */
.service-image img,
.about-image img {
    cursor: zoom-in;
}

.service-image img:hover,
.about-image img:hover {
    opacity: 0.95;
}