/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, #2a3f4a 0%, #4a5f6a 50%, #8a7f6a 100%);
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

/* Навигация - Minimalist */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(30, 40, 50, 0.85);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-scrolled {
    background: rgba(20, 30, 40, 0.95);
    backdrop-filter: blur(25px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    position: relative;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.5px;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #ffd700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 1px 2px rgba(218, 165, 32, 0.2));
    white-space: nowrap;
}

.logo-text-footer {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #ffd700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffd700 0%, #daa520 50%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(218, 165, 32, 0.3));
    white-space: nowrap;
}

.logo-icon {
    font-size: 30px;
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(218, 165, 32, 0.5));
}

.logo-img-footer {
    height: 75px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(218, 165, 32, 0.4));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #ffd700;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #ffd700;
}

.nav-link.active::after {
    width: 40px;
}

/* Dropdown Menu Styles */
.nav-item-dropdown {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: -15px;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 25, 0.98);
    border: 1px solid rgba(218, 165, 32, 0.3);
    border-radius: 8px;
    padding: 15px 0;
    padding-top: 20px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

/* Создаем невидимую область для плавного перехода мыши к меню */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 25px;
    background: transparent;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 25px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    cursor: pointer;
    pointer-events: auto;
}

.dropdown-link:hover {
    background: rgba(218, 165, 32, 0.1);
    color: #ffd700;
    border-left-color: #ffd700;
    padding-left: 30px;
}

/* Contact Information in Navigation - Compact Style */
.nav-contacts {
    display: flex;
    gap: 15px;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}

.nav-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0 8px;
    position: relative;
}

/* Убрали вертикальные разделители для компактности */

.nav-contact-item:hover {
    color: #ffd700;
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: #ffd700;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-contact-item:hover .contact-icon {
    color: #ffd700;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.5));
    transform: scale(1.15);
}

.contact-text {
    white-space: nowrap;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.2px;
}

/* Telegram - только иконка */
.telegram-icon-only {
    padding: 0 8px;
}

.telegram-icon-only .contact-icon {
    width: 20px;
    height: 20px;
    color: #4ECDC4;
}

.telegram-icon-only:hover .contact-icon {
    color: #fff;
    filter: drop-shadow(0 0 8px rgba(78, 205, 196, 0.8));
}

.telegram-icon-only::after {
    display: none;
}

/* ============================================
   SEARCH - Поиск с автоподсказками
   ============================================ */
.search-container {
    position: relative;
    margin: 0 5px;
    flex-shrink: 0;
}

.search-input {
    width: 180px;
    padding: 10px 35px 10px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    outline: none;
    width: 220px;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(78, 205, 196, 0.5);
    box-shadow: 0 0 15px rgba(78, 205, 196, 0.2);
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: rgba(30, 40, 50, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 2000;
    min-width: 280px;
}

.search-results.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(78, 205, 196, 0.15);
}

.search-result-name {
    font-weight: 500;
    font-size: 14px;
}

.search-result-category {
    font-size: 11px;
    color: rgba(78, 205, 196, 0.8);
    background: rgba(78, 205, 196, 0.1);
    padding: 3px 8px;
    border-radius: 10px;
}

.search-no-results {
    padding: 15px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* ============================================
   LANGUAGE SWITCHER - Desktop
   ============================================ */
.lang-switcher {
    position: relative;
    margin-left: 5px;
    z-index: 1100;
    flex-shrink: 0;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 6px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-current:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
}

.lang-current-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lang-arrow {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease;
}

.lang-switcher.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(30, 40, 50, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 8px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    min-height: 44px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 215, 0, 0.3);
    user-select: none;
}

.lang-option:hover {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
}

.lang-option:active {
    background: rgba(255, 215, 0, 0.25);
    transform: scale(0.98);
}

.lang-option.active {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.lang-option img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

/* ============================================
   LANGUAGE SWITCHER - Mobile
   ============================================ */
.mobile-lang-switcher {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-lang-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    cursor: pointer;
    padding: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Critical for mobile touch */
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 215, 0, 0.3);
    user-select: none;
    -webkit-user-select: none;
    position: relative;
    z-index: 10;
}

.mobile-lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

/* Active state for touch feedback */
.mobile-lang-btn:active {
    transform: scale(0.95);
    background: rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
}

.mobile-lang-btn.active {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.mobile-lang-btn img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    pointer-events: none; /* Prevent img from capturing events */
}

.nav-auth {
    display: flex;
    gap: 15px;
}

.btn-outline,
.btn-primary {
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
}

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

.btn-primary {
    background: rgba(218, 165, 32, 0.2);
    border: 1px solid rgba(218, 165, 32, 0.5);
    color: #daa520;
    font-weight: 600;
}

.btn-primary:hover {
    background: rgba(218, 165, 32, 0.3);
    border-color: #daa520;
    color: #ffd700;
}

/* Hero секция */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: url('images/hero-rent.webp') center/cover;
    background-attachment: fixed;
    will-change: transform;
}

.hero-content {
    text-align: center;
    z-index: 1;
    position: relative;
    max-width: 900px;
    padding: 0 30px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Bebas Neue', 'Montserrat', sans-serif;
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    margin: 0 0 30px 0;
    letter-spacing: 4px;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9),
                 0 8px 16px rgba(0, 0, 0, 0.8),
                 0 12px 24px rgba(0, 0, 0, 0.7);
    animation: scaleIn 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
    font-weight: bold;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hero-subtitle {
    font-size: 28px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    font-family: 'Montserrat', 'Inter', sans-serif;
    margin-bottom: 35px;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8),
                 0 2px 6px rgba(0, 0, 0, 0.6);
    animation: slideDown 0.8s ease-out 0.2s both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-btn {
    padding: 16px 60px;
    min-height: 54px;
    margin-top: 650px;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.2), rgba(218, 165, 32, 0.05));
    border: 2px solid #ffd700;
    color: #ffd700;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-transform: uppercase;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.15);
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(218, 165, 32, 0.3);
    user-select: none;
    animation: buttonPulse 0.6s ease-out 0.8s both;
}

@keyframes buttonPulse {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 215, 0, 0.1);
    transition: left 0.35s ease;
    z-index: -1;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.35), rgba(218, 165, 32, 0.15));
    transform: translateY(-4px);
    border-color: #ffed4e;
    color: #ffed4e;
    box-shadow: 0 8px 35px rgba(255, 215, 0, 0.25);
}

.hero-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.hero-btn-secondary {
    padding: 16px 60px;
    min-height: 54px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8c42 100%);
    border: none;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-transform: uppercase;
    margin-left: 20px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.25);
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 107, 107, 0.3);
    user-select: none;
    animation: buttonPulse 0.6s ease-out 0.9s both;
}

.hero-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: left 0.35s ease;
    z-index: -1;
}

.hero-btn-secondary:hover::before {
    left: 100%;
}

.hero-btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(255, 107, 107, 0.35);
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b6b 100%);
}

.hero-btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.25);
}

.hero-btn-secondary:hover {
    background: linear-gradient(135deg, #44a08d, #4ecdc4);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(78, 205, 196, 0.4);
}

.hero-btn-secondary:active {
    transform: scale(0.98);
}

.hero-btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: 2px solid #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.3) !important;
    -webkit-tap-highlight-color: rgba(16, 185, 129, 0.3) !important;
}

.hero-btn-primary::before {
    background: rgba(16, 185, 129, 0.15) !important;
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857) !important;
    border-color: #34d399 !important;
    color: #ffffff !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 35px rgba(16, 185, 129, 0.4) !important;
}

.hero-btn-primary:active {
    transform: translateY(-1px) scale(0.98) !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    width: 30px;
    height: 30px;
}

.scroll-arrow {
    width: 100%;
    height: 100%;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(5px); }
    100% { transform: rotate(45deg) translateY(0); }
}

/* Hexagon блоки */
.hexagon-section {
    padding: 100px 0;
    background: url('images/hexagon-bg.jpg') center/cover;
    background-attachment: fixed;
    position: relative;
}

.hexagon-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(42, 63, 74, 0.85) 0%,
        rgba(58, 79, 90, 0.75) 50%,
        rgba(42, 63, 74, 0.85) 100%);
    z-index: 0;
}

.hexagon-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.hexagon-row {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.hexagon-row.offset {
    margin-top: 0;
}

/* Single hexagon row (centered) */
.hexagon-row-single {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.hexagon-item {
    width: 340px;
    height: 380px;
    margin: 15px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s, z-index 0.3s;
}

.hexagon-item:hover {
    transform: scale(1.08);
    z-index: 10;
}

.hexagon {
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    position: relative;
    overflow: hidden;
}

.hexagon-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.4) 0%,
        rgba(100,200,255,0.2) 50%,
        rgba(255,255,255,0.4) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: -1;
    box-shadow:
        0 0 20px rgba(255,255,255,0.3),
        0 0 40px rgba(100,200,255,0.2);
    transition: all 0.3s;
}

.hexagon-item:hover::before {
    box-shadow:
        0 0 30px rgba(255,255,255,0.5),
        0 0 60px rgba(100,200,255,0.3);
}

.hexagon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: filter 0.3s, transform 0.3s;
}

.hexagon-item:hover img {
    filter: brightness(1);
    transform: scale(1.1);
}

.hexagon-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(180deg,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.75) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    text-align: center;
}

.hexagon-title {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hexagon-btn {
    padding: 8px 20px;
    background: rgba(218, 165, 32, 0.25);
    border: 1px solid rgba(218, 165, 32, 0.7);
    color: #ffd700;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.hexagon-btn:hover {
    background: rgba(218, 165, 32, 0.25);
    border-color: #ffd700;
    color: #ffd700;
}

/* Треугольные блоки */
.categories {
    padding: 100px 0;
    background: linear-gradient(180deg, #4a5f6a 0%, #3a4f5a 100%);
}

.triangle-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 0;
    height: 400px;
    position: relative;
}

/* Используем отрицательный margin для перекрытия вместо невалидного отрицательного gap */
.triangle-container > .triangle-wrapper:not(:first-child) {
    margin-left: -60px;
}

.triangle-wrapper {
    position: relative;
    width: 300px;
    height: 400px;
    cursor: pointer;
    transition: transform 0.3s;
}

.triangle-wrapper:hover {
    transform: scale(1.05);
    z-index: 10;
}

.triangle {
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    position: relative;
    overflow: hidden;
}

.triangle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: filter 0.3s, transform 0.3s;
}

.triangle-wrapper:hover img {
    filter: brightness(1);
    transform: scale(1.1);
}

.triangle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(42, 63, 74, 0.3) 0%,
        transparent 100%);
    pointer-events: none;
}

.triangle-text {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.triangle-2 {
    margin-top: -50px;
}

.triangle-3 {
    margin-top: 50px;
}

.triangle-4 {
    margin-top: -20px;
}

.categories-text {
    max-width: 800px;
    margin: 80px auto 0;
    text-align: center;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.categories-text p {
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    letter-spacing: 0.3px;
}

/* Преимущества */
.features {
    padding: 100px 40px;
    background: linear-gradient(180deg, #3a4f5a 0%, #2a3f4a 100%);
}

.section-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    letter-spacing: 2px;
    margin-bottom: 60px;
    font-weight: 700;
    text-transform: uppercase;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(218, 165, 32, 0.4);
    box-shadow: 0 0 25px rgba(218, 165, 32, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.feature-item:hover .feature-icon {
    border-color: #ffd700;
    box-shadow: 0 0 35px rgba(218, 165, 32, 0.35);
    transform: scale(1.08);
}

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

.feature-number {
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    font-size: 15px;
}

/* Footer */
.footer {
    background: #1a2a32;
    padding: 80px 40px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.footer-brand .logo {
    font-size: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.footer-column h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: #fff;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
    line-height: 1.8;
}

.footer-column a:hover {
    color: #fff;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #fff;
}

/* ============================================
   SCROLL EFFECTS & ANIMATIONS
   ============================================ */

/* Progress Bar */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #ffd700);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s ease;
}

/* Fade In Up Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Hero - только для десктопа */
.parallax-hero {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

/* ============================================
   STATISTICS SECTION
   ============================================ */

.stats-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #2a3f4a 0%, #3a4f5a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #4ecdc4;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .logo-text {
        font-size: 18px;
    }

    .logo-img {
        height: 60px;
    }

    .nav-link {
        font-size: 13px;
    }
}

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

    .logo-img {
        height: 55px;
    }

    .nav-link {
        font-size: 12px;
    }

    .logo-text-footer {
        font-size: 18px;
    }

    .logo-img-footer {
        height: 70px;
    }
}

/* ========================================
   CTA СЕКЦИЯ
   ======================================== */
.cta-section {
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.15), rgba(68, 160, 141, 0.15));
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.cta-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.cta-btn {
    padding: 18px 60px;
    min-height: 56px;
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    border: none;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    border-radius: 6px;
    /* Touch optimization */
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(78, 205, 196, 0.3);
    user-select: none;
}

.cta-btn:hover {
    background: linear-gradient(135deg, #44a08d, #4ecdc4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.cta-btn:active {
    transform: scale(0.98);
}

/* ========================================
   МОДАЛЬНОЕ ОКНО
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, #2a3f4a 0%, #3a4f5a 100%);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-align: center;
    text-transform: uppercase;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    /* Touch optimization */
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
    user-select: none;
}

.modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.modal-close:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.3);
}

.request-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.request-form input,
.request-form select,
.request-form textarea {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.3s;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
    outline: none;
    border-color: #4ecdc4;
    background: rgba(255, 255, 255, 0.12);
}

.request-form input::placeholder,
.request-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.request-form select {
    cursor: pointer;
}

.request-form select option {
    background: #2a3f4a;
    color: #fff;
}

.btn-submit {
    padding: 16px;
    min-height: 52px;
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    border: none;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-top: 10px;
    /* Touch optimization */
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(78, 205, 196, 0.3);
    user-select: none;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #44a08d, #4ecdc4);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(78, 205, 196, 0.4);
}

.btn-submit:active {
    transform: scale(0.98);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Sticky header для мобильных */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
        background: rgba(20, 30, 40, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        z-index: 1000 !important;
    }

    /* Отключаем parallax на мобильных - вызывает jank на iOS */
    .hero {
        background-attachment: scroll !important;
        transform: none !important;
    }

    /* Скрываем контакты в навбаре на мобильных */
    .nav-contacts {
        display: none;
    }

    /* Скрываем desktop переключатель языка на мобильных */
    .lang-switcher {
        display: none;
    }

    /* Скрываем поиск на мобильных */
    .search-container {
        display: none;
    }

    .nav-container {
        padding: 0 15px;
    }

    /* Hexagon отступы для планшета */
    .hexagon-row.offset {
        margin-top: 0;
    }

    /* Адаптивность блока статистики */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 12px;
    }

    .nav-menu {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .logo-text {
        font-size: 15px;
        letter-spacing: 1.5px;
    }

    .logo-img {
        height: 50px;
    }

    .logo-text-footer {
        font-size: 16px;
        letter-spacing: 1.5px;
    }

    .logo-img-footer {
        height: 50px;
    }

    .logo {
        gap: 8px;
    }

    .hero-title {
        font-size: 48px;
        line-height: 1.1;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 20px;
        letter-spacing: 0.5px;
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 32px;
        letter-spacing: 1.5px;
    }

    .triangle-container {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }

    .triangle-wrapper {
        width: 200px;
        height: 250px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hexagon-row {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hexagon-item {
        width: 220px;
        height: 240px;
        margin: 10px;
    }

    .hexagon-title {
        font-size: 14px;
    }

    .hexagon-btn {
        font-size: 10px;
        padding: 6px 14px;
    }

    /* Hero buttons mobile */
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-btn,
    .hero-btn-secondary {
        width: 100%;
        max-width: 280px;
        margin: 0;
        padding: 14px 30px;
    }

    /* CTA section mobile */
    .cta-section {
        padding: 50px 20px;
    }

    .cta-title {
        font-size: 22px;
    }

    .cta-subtitle {
        font-size: 14px;
    }

    .cta-btn {
        padding: 14px 40px;
        font-size: 13px;
    }

    /* Modal mobile */
    .modal-content {
        padding: 25px 20px;
    }

    .modal-content h2 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .logo-img {
        height: 35px;
    }

    .logo {
        gap: 5px;
    }

    /* Hero секция */
    .hero-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 40px;
        line-height: 1.1;
        letter-spacing: 1.5px;
        margin: 0 0 15px 0;
    }

    .hero-subtitle {
        font-size: 16px;
        letter-spacing: 0px;
        margin-bottom: 25px;
        line-height: 1.4;
    }

    .hero-btn,
    .hero-btn-secondary {
        padding: 14px 30px;
        font-size: 13px;
        width: 100%;
        max-width: 280px;
        margin: 0;
    }

    .hero-btn {
        margin-bottom: 10px;
    }

    /* Секция статистики */
    .stats-section {
        padding: 40px 10px;
    }

    .stats-container {
        gap: 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 10px;
    }

    /* Секция преимуществ */
    .features {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 24px;
        letter-spacing: 1px;
        margin-bottom: 40px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }

    .feature-item {
        padding: 20px 15px;
    }

    .feature-item h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .feature-item p {
        font-size: 13px;
        line-height: 1.5;
    }

    /* Hexagon секция - мобильный */
    .hexagon-section {
        padding: 50px 15px;
    }

    .hexagon-row {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hexagon-item {
        width: 140px;
        height: 160px;
        margin-bottom: 20px;
    }

    .hexagon-title {
        font-size: 11px;
    }

    .hexagon-btn {
        font-size: 9px;
        padding: 5px 10px;
    }

    .categories-text {
        padding: 0 15px;
        margin-top: 40px;
    }

    .categories-text p {
        font-size: 14px;
    }

    /* Footer */
    .footer {
        padding: 50px 15px 20px;
    }

    .footer-column h4 {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .footer-column a,
    .footer-column li {
        font-size: 13px;
    }

    .footer-contact p {
        font-size: 12px;
    }

    .footer-bottom {
        margin-top: 40px;
        padding-top: 20px;
    }

    .footer-bottom p,
    .footer-bottom a {
        font-size: 11px;
    }

    .logo-text-footer {
        font-size: 13px;
        letter-spacing: 0.5px;
    }

    .logo-img-footer {
        height: 35px;
    }

    .footer-logo {
        flex-direction: column;
        gap: 8px;
    }

    .nav-link {
        font-size: 11px;
    }
}

/* ==========================================
   МОБИЛЬНОЕ МЕНЮ
   ========================================== */

/* Мобильные кнопки - по умолчанию скрыты */
.mobile-actions {
    display: none;
    align-items: center;
    gap: 12px;
}

/* Кнопка телефона */
.mobile-phone-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
    transition: all 0.3s ease;
    overflow: hidden;
}

.mobile-phone-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.mobile-phone-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.5);
}

/* Кнопка Telegram мобильная */
.mobile-telegram-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #4ecdc4;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #4ecdc4;
}

.mobile-telegram-btn svg {
    width: 22px;
    height: 22px;
}

.mobile-telegram-btn:hover {
    transform: scale(1.1);
    background: rgba(78, 205, 196, 0.15);
}

/* Hamburger кнопка */
.hamburger-btn {
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 10px;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffd700;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Мобильное меню - скрыто по умолчанию */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #2a3f4a 0%, #1a2f3a 100%);
    z-index: 2000;
    padding: 60px 20px 20px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.4s;
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    visibility: hidden;
}

.mobile-menu.open {
    right: 0;
    visibility: visible;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s;
}

/* Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Кнопка закрытия */
.mobile-menu-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    /* Touch optimization */
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 215, 0, 0.3);
    user-select: none;
    line-height: 1;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffd700;
    color: #ffd700;
}

.mobile-menu-close:active {
    transform: scale(0.9);
    background: rgba(255, 215, 0, 0.2);
}

/* Навигация - компактная */
.mobile-nav {
    margin-bottom: 20px;
}

.mobile-nav-link {
    display: block;
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.mobile-nav-link:hover,
.mobile-nav-link:active,
.mobile-nav-link.active {
    color: #ffd700;
}

/* Аккордеон для услуг */
.mobile-nav-accordion {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.mobile-nav-accordion-header:hover {
    color: #ffd700;
}

.mobile-nav-accordion-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.5);
}

.mobile-nav-accordion.open .mobile-nav-accordion-arrow {
    transform: rotate(180deg);
    color: #ffd700;
}

.mobile-nav-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    pointer-events: none;
}

.mobile-nav-accordion.open .mobile-nav-accordion-content {
    max-height: 400px;
    pointer-events: auto;
}

.mobile-nav-sublink {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    padding: 8px 0 8px 15px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    margin-left: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.mobile-nav-sublink:hover,
.mobile-nav-sublink:active {
    color: #4ecdc4;
    border-left-color: #4ecdc4;
}

/* Контакты в меню - компактные */
.mobile-contacts {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    padding: 10px 0;
    transition: color 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.mobile-contact-item svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: #ffd700;
}

.mobile-contact-item:hover {
    color: #fff;
}

/* Показываем на мобильных */
@media (max-width: 768px) {
    .mobile-actions {
        display: flex;
    }
}

@media (max-width: 480px) {
    .mobile-phone-btn {
        width: 40px;
        height: 40px;
    }

    .mobile-telegram-btn {
        width: 40px;
        height: 40px;
    }

    .mobile-telegram-btn svg {
        width: 20px;
        height: 20px;
    }

    .hamburger-btn {
        width: 40px;
        height: 40px;
    }

    .mobile-menu {
        max-width: 100%;
        padding: 70px 20px 20px;
    }
}

/* ========================================
   STICKY CONTACT PANEL (Mobile Only)
   ======================================== */
.mobile-contact-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-contact-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #2a3f4a 0%, #3a4f5a 100%);
        border-top: 1px solid rgba(78, 205, 196, 0.3);
        padding: 10px 15px;
        z-index: 1000;
        gap: 10px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    }

    .mobile-contact-bar a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px 20px;
        min-height: 48px;
        border-radius: 8px;
        text-decoration: none;
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
    }

    .mobile-contact-bar .btn-call {
        background: linear-gradient(135deg, #4ecdc4, #44a08d);
        color: #fff;
    }

    .mobile-contact-bar .btn-call:hover,
    .mobile-contact-bar .btn-call:active {
        background: linear-gradient(135deg, #44a08d, #4ecdc4);
        transform: scale(1.02);
    }

    .mobile-contact-bar .btn-telegram {
        background: linear-gradient(135deg, #0088cc, #0077b5);
        color: #fff;
    }

    .mobile-contact-bar .btn-telegram:hover,
    .mobile-contact-bar .btn-telegram:active {
        background: linear-gradient(135deg, #0077b5, #0088cc);
        transform: scale(1.02);
    }

    .mobile-contact-bar .btn-icon {
        font-size: 18px;
    }

    /* Add padding to footer so content isn't hidden behind sticky bar */
    .footer {
        padding-bottom: 90px;
    }
}

/* Уменьшаем анимации для пользователей с настройкой reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero {
        background-attachment: scroll !important;
        transform: none !important;
    }

    .fade-in-up,
    .triangle-wrapper,
    .feature-item,
    .contact-item {
        opacity: 1 !important;
        transform: none !important;
    }
}