/* ========== СБРОС СТИЛЕЙ ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #000000;
    overflow-x: hidden;
    position: relative;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Отключение выделения текста для неинтерактивных элементов */
.application * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Разрешаем выделение только для полей ввода */
.application input,
.application textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* ========== ОБЩИЕ КОНТЕЙНЕРЫ ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.main-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    font-weight: 700;
    color: #ffffff;
}

/* ========== КАНВАС ДЛЯ ФОНА ========== */
#gridCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.7;
}
/* ========== ХЕДЕР ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    z-index: 1001;
}

.logo-svg {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    fill: none;
    stroke: currentColor;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo:hover .logo-svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px rgba(102, 126, 234, 0.5));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    letter-spacing: -0.01em;
    position: relative;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: #ffffff;
}

/* ========== МОБИЛЬНОЕ МЕНЮ ========== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    transition: color 0.3s;
    text-align: center;
    width: 100%;
    padding: 12px 0;
    letter-spacing: -0.01em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.mobile-nav-link:hover::after {
    width: 80px;
}

.mobile-nav-link:hover {
    color: #667eea;
}

.mobile-cta {
    margin-top: 1rem;
    padding: 15px 30px;
    font-size: 1.1rem;
    width: 200px;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* ========== ГЕРОЙ СЕКЦИЯ ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 40px;
    position: relative;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    flex: 1;
    min-width: 140px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.placeholder-visual {
    width: 100%;
    max-width: 500px;
    height: 350px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.placeholder-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    transition: left 0.6s ease;
}

.placeholder-visual:hover::before {
    left: 100%;
}

/* ========== СЕКЦИЯ ВОЗМОЖНОСТЕЙ ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    max-width: 350px;
    width: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.05), 
        transparent
    );
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 15px 30px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 0.09rem;
    display: inline-block;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: translateY(-5px);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.feature-card:hover h3 {
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Стили для SVG иконок */
.feature-icon .icon {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.4s ease;
    width: 60px;
    height: 60px;
}

.feature-card:hover .feature-icon .icon {
    color: #ffffff;
    filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.2));
    transform: scale(1.1);
}

/* Анимация обводки SVG */
.feature-card .icon-path {
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    transition: all 0.6s ease;
}

.feature-card:hover .icon-path {
    stroke-dashoffset: 0;
}

/* Эффект рисования при наведении */
.feature-card:hover .icon-path:nth-child(1) {
    transition-delay: 0.1s;
}
.feature-card:hover .icon-path:nth-child(2) {
    transition-delay: 0.2s;
}
.feature-card:hover .icon-path:nth-child(3) {
    transition-delay: 0.3s;
}
.feature-card:hover .icon-path:nth-child(4) {
    transition-delay: 0.4s;
}

/* Тонкая анимация для полупрозрачных путей */
.feature-card:hover .icon-path[opacity="0.4"] {
    opacity: 0.7;
    animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% { 
        opacity: 0.6;
    }
    50% { 
        opacity: 0.8;
    }
}

/* Показываем SVG на десктопе, эмодзи на мобильных */
.desktop-only {
    display: block;
}
.mobile-only {
    display: none;
    font-size: 3rem;
}

/* ========== ГАЛЕРЕЯ ========== */
.gallery {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.gallery-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 20px;
}

.gallery-row-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.gallery-row {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    padding: 0.5rem 0;
}

/* КОМПЬЮТЕРНАЯ ВЕРСИЯ - разные направления */
.top-row {
    animation: scrollRight 40s linear infinite;
}

.bottom-row {
    animation: scrollLeft 35s linear infinite;
}

.gallery-item {
    flex: 0 0 220px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    height: 180px;
}

.gallery-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    transition: left 0.6s ease;
}

.gallery-card:hover .image-placeholder::before {
    left: 100%;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.95) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    transform: translateY(15px);
    transition: transform 0.4s ease;
}

.gallery-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
}

.view-project-btn {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.75rem;
    font-weight: 500;
}

.view-project-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Анимации прокрутки для компьютерной версии */
@keyframes scrollRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-220px * 5 - 1.5rem * 5));
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(calc(-220px * 5 - 1.5rem * 5));
    }
    100% {
        transform: translateX(0);
    }
}

/* МОБИЛЬНАЯ ВЕРСИЯ - разные направления */
@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 180px;
    }
    
    .gallery-card {
        height: 150px;
    }
    
    .gallery-row {
        gap: 1rem;
    }
    
    /* Анимации для мобильных устройств */
    @keyframes scrollRightMobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-180px * 5 - 1rem * 5));
        }
    }
    
    @keyframes scrollLeftMobile {
        0% {
            transform: translateX(calc(-180px * 5 - 1rem * 5));
        }
        100% {
            transform: translateX(0);
        }
    }
    
    /* Применяем разные анимации для рядов на мобильных */
    .top-row {
        animation: scrollRightMobile 50s linear infinite;
    }
    
    .bottom-row {
        animation: scrollLeftMobile 50s linear infinite;
    }
    
    .gallery-row {
        transition: animation-play-state 0.3s ease;
    }
    
    /* Пауза при наведении на мобильных устройствах (если поддерживается) */
    @media (hover: hover) and (pointer: fine) {
        .gallery-row-wrapper:hover .gallery-row {
            animation-play-state: paused;
        }
    }
    
    /* Для тач-устройств добавьте класс через JS при тапе */
    .gallery-row.paused {
        animation-play-state: paused;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        flex: 0 0 150px;
    }
    
    .gallery-card {
        height: 130px;
    }
    
    .gallery-row {
        gap: 0.8rem;
    }
    
    /* Анимации для маленьких экранов */
    @keyframes scrollRightMobileSmall {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 5 - 0.8rem * 5));
        }
    }
    
    @keyframes scrollLeftMobileSmall {
        0% {
            transform: translateX(calc(-150px * 5 - 0.8rem * 5));
        }
        100% {
            transform: translateX(0);
        }
    }
    
    .top-row {
        animation: scrollRightMobileSmall 40s linear infinite;
    }
    
    .bottom-row {
        animation: scrollLeftMobileSmall 40s linear infinite;
    }
}

/* Размытие по краям галереи */
.gallery-side-blur {
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.left-blur {
    left: 0;
    background: linear-gradient(
        90deg,
        #000000 0%,
        rgba(0, 0, 0, 0.9) 20%,
        rgba(0, 0, 0, 0.6) 40%,
        rgba(0, 0, 0, 0.3) 60%,
        rgba(0, 0, 0, 0.1) 80%,
        transparent 100%
    );
}

.right-blur {
    right: 0;
    background: linear-gradient(
        270deg,
        #000000 0%,
        rgba(0, 0, 0, 0.9) 20%,
        rgba(0, 0, 0, 0.6) 40%,
        rgba(0, 0, 0, 0.3) 60%,
        rgba(0, 0, 0, 0.1) 80%,
        transparent 100%
    );
}

@media (max-width: 768px) {
    .gallery-side-blur {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .gallery-side-blur {
        width: 50px;
    }
}

/* Пауза анимации при наведении */
.gallery-row-wrapper:hover .gallery-row {
    animation-play-state: paused;
}

/* Стили для кнопки перехода на полную галерею */
.full-gallery-btn-container {
    text-align: center;
    margin: 60px 0 40px;
    padding: 0 20px;
}

.gallery-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.gallery-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    color: white;
}

.gallery-btn .arrow-icon {
    transition: transform 0.3s ease;
}

.gallery-btn:hover .arrow-icon {
    transform: translateX(5px);
}

.btn-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.gallery-btn:hover .btn-hover-effect {
    left: 100%;
}
/* Стили для фотографий в галерее */
.gallery-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-photo {
    transform: scale(1.1);
}

/* Убираем старый плейсхолдер */
.image-placeholder {
    display: none;
}
/* ========== СЕКЦИЯ ЗАЯВОК ========== */
.application {
    padding: 80px 0;
    position: relative;
}

.application-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.application-form {
    display: flex;
    justify-content: center;
}

.form-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 450px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.05), 
        transparent
    );
    transition: left 0.6s ease;
}

.form-card:hover::before {
    left: 100%;
}

.form-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #ffffff;
    text-align: center;
}

.form-card p {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1rem 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-family: inherit;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
    padding-top: 1.2rem;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    pointer-events: none;
    font-size: 0.9rem;
    transform-origin: left top;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 0.3rem;
    left: 0.8rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(0);
}

.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 0.4rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group input:not(:focus):placeholder-shown::placeholder,
.form-group textarea:not(:focus):placeholder-shown::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.application-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.04), 
        transparent
    );
    transition: left 0.6s ease;
}

.info-card:hover::before {
    left: 100%;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card:hover .info-icon {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.info-card h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-card p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.submit-btn {
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
    transition: left 0.6s ease;
}

.submit-btn:hover .btn-hover-effect {
    left: 100%;
}

/* ========== БОКОВЫЕ ЛИНИИ ========== */
.side-line {
    position: fixed;
    top: 0;
    width: 1px;
    height: 100vh;
    z-index: 997;
    pointer-events: none;
    animation: linePulse 3s ease-in-out infinite;
}

.side-line-left {
    left: 40px;
}

.side-line-right {
    right: 40px;
}

.side-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.8) 15%,
        rgba(255, 255, 255, 1) 30%,
        rgba(255, 255, 255, 1) 70%,
        rgba(255, 255, 255, 0.8) 85%,
        transparent 100%
    );
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.side-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 3px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 20%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.6) 80%,
        transparent 100%
    );
    filter: blur(8px);
    animation: glowPulse 2s ease-in-out infinite alternate;
}

/* Дополнительные эффекты для линий */
.side-line .spark {
    position: absolute;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, #ffffff, transparent);
    left: 50%;
    transform: translateX(-50%);
    animation: sparkMove 4s linear infinite;
    opacity: 0;
}

.side-line .electric {
    position: absolute;
    width: 3px;
    height: 8px;
    background: #ffffff;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: electricFlash 0.1s ease-out;
    opacity: 0;
}

@keyframes linePulse {
    0%, 100% {
        opacity: 0.7;
        transform: scaleY(1);
    }
    25% {
        opacity: 0.9;
        transform: scaleY(1.02);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.05);
    }
    75% {
        opacity: 0.9;
        transform: scaleY(1.02);
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.3;
        transform: scaleX(1);
    }
    100% {
        opacity: 0.8;
        transform: scaleX(1.2);
    }
}

@keyframes sparkMove {
    0% {
        top: -20px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100vh;
        opacity: 0;
    }
}

@keyframes electricFlash {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
}

/* Улучшенное сияние линии */
.line-sparkle:nth-child(2) {
    animation-delay: 1s;
    animation-duration: 3s;
}

.line-sparkle:nth-child(3) {
    animation-delay: 2s;
    animation-duration: 5s;
}

/* ========== ФУТЕР ========== */
.footer {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(40px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 3;
    margin-top: auto;
    padding: 40px 0 20px;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%
    );
    margin-bottom: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 4px 0;
}

.contact-link:hover {
    color: #fff;
    transform: translateX(5px);
}

.contact-icon {
    font-size: 0.8rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.contact-link:hover .contact-icon {
    opacity: 1;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
}

.social-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.footer-logo {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

/* Эффект жидкого стекла для футера */
.footer-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(40px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.footer-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
}

/* Анимация появления */
@keyframes glassFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-content, .footer-bottom {
    animation: glassFadeIn 0.8s ease-out;
}
/* ========== РАЗМЫТЫЙ ЭФФЕКТ СНИЗУ ========== */
.bottom-blur {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 25%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.3) 75%,
        transparent 100%
    );
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    mask: 
        linear-gradient(to top, black 0%, transparent 100%),
        linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
    -webkit-mask: 
        linear-gradient(to top, black 0%, transparent 100%),
        linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
    z-index: 998;
    pointer-events: none;
}
/* ========== РАЗДЕЛИТЕЛЬНАЯ ЛИНИЯ МЕЖДУ СЕКЦИЯМИ ========== */
.section-divider {
    margin: 60px auto 0;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%
    );
    position: relative;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(102, 126, 234, 0.5) 50%, 
        transparent 100%
    );
    filter: blur(1px);
}

/* ========== АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ ========== */
@media (max-width: 768px) {
    /* Контейнеры */
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        text-align: center;
        padding: 0 15px;
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 2rem;
    }
    
    /* Навигация */
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .logo-svg {
        width: 32px;
        height: 32px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    /* Герой секция */
    .hero {
        padding: 70px 0 30px;
        min-height: auto;
    }
    
    .hero .container {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }
    
    .hero-title {
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .placeholder-visual {
        height: 250px;
        max-width: 100%;
    }
    
    /* Возможности */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 10px;
        justify-items: stretch;
    }
    
    .feature-card {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto;
        padding: 2rem 1.5rem;
        box-sizing: border-box;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .feature-icon .icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    /* Галерея */
    .gallery {
        padding: 60px 0;
    }
    
    .gallery-header {
        margin-bottom: 3rem;
        padding: 0 15px;
    }
    
    .gallery-item {
        flex: 0 0 180px;
    }
    
    .gallery-card {
        height: 150px;
    }
    
    .gallery-row {
        gap: 1rem;
    }
    
    .image-placeholder {
        font-size: 1.2rem;
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
    
    .gallery-side-blur {
        width: 80px;
    }
    
    /* Минимальное размытие на мобильных */
    .left-blur {
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            transparent 100%
        );
    }
    
    .right-blur {
        background: linear-gradient(
            270deg,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            transparent 100%
        );
    }
    
    /* Уменьшаем скорость на мобильных */
    .top-row {
        animation-duration: 40s;
    }
    
    .bottom-row {
        animation-duration: 35s;
    }
    
    @keyframes scrollRight {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-180px * 5 - 1rem * 5));
        }
    }
    
    @keyframes scrollLeft {
        0% {
            transform: translateX(calc(-180px * 5 - 1rem * 5));
        }
        100% {
            transform: translateX(0);
        }
    }
    
    /* Секция заявок */
    .application-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .application {
        padding: 60px 0;
    }
    
    .form-card {
        padding: 2rem 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.9rem 0.9rem 0.4rem 0.9rem;
        font-size: 0.95rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
        top: 0.9rem;
        left: 0.9rem;
    }
    
    .form-group input:focus + label,
    .form-group textarea:focus + label,
    .form-group input:not(:placeholder-shown) + label,
    .form-group textarea:not(:placeholder-shown) + label {
        font-size: 0.7rem;
        top: 0.2rem;
        left: 0.7rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.8rem;
    }
    
    /* Боковые линии для мобильных */
    .side-line {
        width: 100vw;
        height: 1px;
        animation: mobileLinePulse 3s ease-in-out infinite;
    }
    
    .side-line-left {
        left: 0;
        top: 25px;
        width: 100%;
        height: 1px;
    }
    
    .side-line-right {
        right: 0;
        bottom: 25px;
        top: auto;
        width: 100%;
        height: 1px;
    }
    
    .side-line::after {
        background: linear-gradient(
            to right,
            transparent 0%,
            rgba(255, 255, 255, 0.8) 15%,
            rgba(255, 255, 255, 1) 30%,
            rgba(255, 255, 255, 1) 70%,
            rgba(255, 255, 255, 0.8) 85%,
            transparent 100%
        );
    }
    
    .side-line::before {
        top: -1px;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(
            to right,
            transparent 0%,
            rgba(255, 255, 255, 0.6) 20%,
            rgba(255, 255, 255, 0.9) 50%,
            rgba(255, 255, 255, 0.6) 80%,
            transparent 100%
        );
        filter: blur(6px);
    }
    
    /* Анимация искр для мобильных */
    .side-line .spark {
        width: 20px;
        height: 2px;
        top: 50%;
        left: auto;
        transform: translateY(-50%);
        animation: mobileSparkMove 4s linear infinite;
        background: linear-gradient(to right, transparent, #ffffff, transparent);
    }
    
    @keyframes mobileSparkMove {
        0% {
            left: -20px;
            opacity: 0;
        }
        10% {
            opacity: 1;
        }
        90% {
            opacity: 1;
        }
        100% {
            left: 100vw;
            opacity: 0;
        }
    }
    
    /* Анимация для мобильных горизонтальных линий */
    @keyframes mobileLinePulse {
        0%, 100% {
            opacity: 0.6;
            transform: scaleX(1);
        }
        25% {
            opacity: 0.8;
            transform: scaleX(1.02);
        }
        50% {
            opacity: 1;
            transform: scaleX(1.05);
        }
        75% {
            opacity: 0.8;
            transform: scaleX(1.02);
        }
    }
    
    /* Границы для контейнера на мобильных */
    .container {
        position: relative;
    }
    
    .container::before,
    .container::after {
        content: '';
        position: absolute;
        left: 20px;
        right: 20px;
        height: 1px;
        background: linear-gradient(
            to right,
            transparent 0%,
            rgba(255, 255, 255, 0.4) 30%,
            rgba(255, 255, 255, 0.7) 50%,
            rgba(255, 255, 255, 0.4) 70%,
            transparent 100%
        );
        pointer-events: none;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    }
    
    .container::before {
        top: -15px;
    }
    
    .container::after {
        bottom: -15px;
    }
    
    /* Границы для секций */
    section {
        position: relative;
    }
    
    section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 20px;
        right: 20px;
        height: 1px;
        background: linear-gradient(
            to right,
            transparent 0%,
            rgba(255, 255, 255, 0.5) 25%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0.5) 75%,
            transparent 100%
        );
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }
    
    /* Футер */
    .footer-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        padding: 25px 0;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .footer-right {
        flex-direction: column;
        gap: 20px;
    }
    
    .social-links {
        order: -1;
    }
    
    .contact-link:hover {
        transform: none;
    }
    
    /* Размытие */
    .bottom-blur {
        height: 80px;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.4) 40%,
            rgba(0, 0, 0, 0.1) 80%,
            transparent 100%
        );
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero {
        padding: 60px 0 20px;
    }
    
    .features-grid {
        gap: 0.8rem;
        padding: 0 5px;
    }
    
    .feature-card {
        max-width: 300px;
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }
    
    .feature-icon {
        margin-bottom: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .gallery-item {
        flex: 0 0 150px;
    }
    
    .gallery-card {
        height: 130px;
    }
    
    .gallery-row {
        gap: 0.8rem;
    }
    
    .image-placeholder {
        font-size: 1rem;
    }
    
    .gallery-side-blur {
        width: 50px;
    }
    
    @keyframes scrollRight {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 5 - 0.8rem * 5));
        }
    }
    
    @keyframes scrollLeft {
        0% {
            transform: translateX(calc(-150px * 5 - 0.8rem * 5));
        }
        100% {
            transform: translateX(0);
        }
    }
    
    .application {
        padding: 50px 0;
    }
    
    .form-card {
        padding: 1.5rem 1rem;
    }
    
    .info-card {
        padding: 1.2rem;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.8rem;
    }
    
    .side-line-left {
        top: 20px;
    }
    
    .side-line-right {
        bottom: 20px;
    }
    
    .container::before,
    .container::after {
        left: 15px;
        right: 15px;
    }
    
    section::before {
        left: 15px;
        right: 15px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 360px) {
    .feature-card {
        max-width: 280px;
        padding: 1.2rem 0.8rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
    
    .gallery-item {
        flex: 0 0 130px;
    }
    
    .gallery-card {
        height: 120px;
    }
    
    .gallery-row {
        gap: 0.6rem;
    }
    
    .gallery-side-blur {
        width: 30px;
    }
}

/* Исправление для iOS Safari */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
    
    .mobile-menu {
        height: -webkit-fill-available;
    }
}

/* Для планшетов */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-links {
        gap: 2rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
}

/* Для очень широких экранов */
@media (min-width: 1400px) {
    .nav-links {
        gap: 4rem;
    }
}
.footer-logo {
    background-color: transparent !important;
    padding: 0;
    border: none;
}

.footer-logo svg {
    background-color: transparent !important;
    display: block;
}
.succes{
    font-size: 18px;
    color: #fff;
    text-align: center;
    margin-top: 30px;
}
.disp{
    display: none;
}
/*Фотографии*/
.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-image {
        max-width: 100%;
        margin-top: 20px;
    }
}
/*ВИДЫ УСЛУГ */
/* Компактная секция услуг */
.compact-services {
    padding: 20px 0 40px 0; /* Уменьшил верхний и нижний отступы */
    background-color: transparent;
    position: relative;
    margin-top: -10px; /* Поднимаем секцию ближе к предыдущему контенту */
}

.services-subtitle {
    text-align: center;
    font-size: 18px; /* Уменьшил размер шрифта */
    color: white;
    margin-bottom: 20px; /* Уменьшил отступ снизу */
    font-weight: 600; /* Сделал менее жирным */
    letter-spacing: 1px; /* Уменьшил межбуквенный интервал */
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Уменьшил тень */
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 15px; /* Уменьшил боковые отступы */
}

.services-subtitle::before,
.services-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px; /* Уменьшил длину линий */
    height: 1px; /* Уменьшил толщину линий */
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6));
}

.services-subtitle::before {
    right: 100%;
}

.services-subtitle::after {
    left: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.6), transparent);
}

.services-horizontal-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px; /* Уменьшил расстояние между элементами */
    max-width: 950px; /* Немного уменьшил максимальную ширину */
    margin: 0 auto;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 6px; /* Уменьшил расстояние между иконкой и текстом */
    padding: 8px 18px; /* Уменьшил внутренние отступы */
    color: #fff;
    font-size: 15px; /* Немного уменьшил размер шрифта */
    border-radius: 25px; /* Чуть меньше скругление */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    transition: all 0.3s ease; /* Уменьшил время анимации */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Градиентный фон при наведении */
.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 180, 219, 0.2) 0%, 
        rgba(0, 131, 176, 0.2) 100%);
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover {
    transform: translateY(-2px); /* Уменьшил подъем при наведении */
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.15),
        0 0 10px rgba(0, 180, 219, 0.15);
    border-color: transparent;
}

.service-item:hover::before {
    opacity: 1;
}

.service-item-icon {
    font-size: 14px; /* Уменьшил размер иконок */
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.2));
    transition: transform 0.2s ease;
}

.service-item:hover .service-item-icon {
    transform: scale(1.05); /* Уменьшил увеличение иконки */
}

.service-item-text {
    color: white;
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    transition: color 0.2s ease;
}

.service-item:hover .service-item-text {
    color: #e6f7ff;
}

/* Адаптивность */
@media (max-width: 992px) {
    .services-horizontal-list {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .compact-services {
        padding: 15px 0 30px 0;
        margin-top: -5px;
    }
    
    .services-subtitle {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .services-subtitle::before,
    .services-subtitle::after {
        width: 25px;
    }
    
    .service-item {
        padding: 7px 15px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .services-subtitle {
        font-size: 15px;
        margin-bottom: 12px;
        padding: 0 10px;
    }
    
    .services-subtitle::before,
    .services-subtitle::after {
        width: 20px;
        height: 1px;
    }
    
    .services-horizontal-list {
        gap: 8px;
    }
    
    .service-item {
        padding: 6px 12px;
        font-size: 13px;
        border-radius: 20px;
    }
    
    .service-item-icon {
        font-size: 12px;
    }
}

/*======ОТЫЗВЫ=========*/
/* Активная ссылка в навигации */
.nav-links a.active {
    color: #667eea;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Мобильное меню активная ссылка */
.mobile-nav-link.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}