:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #6366F1;
    --secondary: #F59E0B;
    --secondary-dark: #D97706;
    --dark: #0F172A;
    --dark-light: #1E293B;
    --darker: #020617;
    --text: #F1F5F9;
    --text-muted: #94A3B8;
    --accent: #60A5FA;
    --success: #10B981;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    --card-bg: rgba(30, 41, 59, 0.7);
    --card-border: rgba(255, 255, 255, 0.1);
    --glow-primary: 0 0 20px rgba(79, 70, 229, 0.3);
    --glow-secondary: 0 0 20px rgba(245, 158, 11, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--darker);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

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

/* ========== АДАПТИВНОЕ ВЕРХНЕЕ МЕНЮ ========== */
header {
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-scrolled {
    padding: 0.7rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    background: rgba(15, 23, 42, 0.98);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
    z-index: 1001;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    font-size: 1.8rem;
    color: var(--secondary);
    filter: var(--glow-secondary);
    animation: pulse 2s infinite;
}

.logo-text {
    display: inline-block;
}

/* Десктопная навигация */
.desktop-nav {
    display: flex;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text);
}

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

/* Кнопка мобильного меню */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn i {
    display: block;
    line-height: 1;
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    z-index: 1001;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close:hover {
    transform: scale(1.1) rotate(90deg);
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    padding: 0;
    width: 100%;
}

.mobile-nav-links li {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.mobile-nav-links li:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-links li:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav-links li:nth-child(3) { animation-delay: 0.3s; }

.mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    padding: 10px 0;
    display: inline-block;
    width: 100%;
}

.mobile-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.mobile-nav-links a:hover {
    color: var(--primary-light);
}

.mobile-nav-links a:hover::after {
    width: 80%;
}

/* Overlay для мобильного меню */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

/* Modern Hero Section */
.modern-hero {
    position: relative;
    min-height: 100vh;
    height: auto;
    background: var(--gradient-dark);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px 0 40px;
    margin: 0;
    width: 100%;
    max-width: 100vw;
}

@media (min-height: 800px) {
    .modern-hero {
        min-height: 100vh;
        padding: 0;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    top: 10%;
    left: 10%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, var(--primary-dark), var(--secondary));
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
    animation-duration: 12s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--secondary), var(--secondary-dark));
    top: 50%;
    right: 20%;
    animation-delay: 4s;
    animation-duration: 8s;
}

.grid-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask: linear-gradient(transparent, black 30%, black 70%, transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 0 40px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(79, 70, 229, 0.15);
    border: 1px solid rgba(79, 70, 229, 0.4);
    border-radius: 50px;
    padding: 10px 20px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease 0.2s both;
    box-shadow: var(--glow-primary);
}

.badge-text {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
    margin-left: 8px;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: white;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 10px;
}

.title-word {
    display: block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    margin-bottom: 0.2rem;
}

.title-word:nth-child(1) { animation-delay: 0.3s; }
.title-word:nth-child(2) { animation-delay: 0.5s; }

.accent-word {
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.accent-word::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 3px;
    transform: scaleX(0.8);
    animation: lineGrow 1s ease 1s forwards;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.3rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.5;
    word-wrap: break-word;
    animation: fadeInUp 0.8s ease 0.9s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease 1.1s both;
    padding: 0 15px;
}

.btn {
    position: relative;
    border: none;
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

.btn-glow {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.6);
}

.btn-glow::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.7s;
}

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

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: white;
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.1);
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

.hero-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease 1.3s both;
    padding: 0 10px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 90px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 0.3rem;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    animation: fadeIn 1s ease 2s both;
}

.indicator-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--primary-light), transparent);
    position: relative;
    border-radius: 2px;
}

.indicator-dot {
    width: 5px;
    height: 5px;
    background: var(--primary-light);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s infinite;
    box-shadow: 0 0 8px var(--primary-light);
}

.indicator-text {
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 500;
    text-transform: uppercase;
}

/* Services Section - Компактная версия */
.services {
    padding: 80px 0;
    background: var(--gradient-dark);
    width: 100%;
    max-width: 100vw;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(79, 70, 229, 0.1) 0%, transparent 50%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-block;
    background: rgba(79, 70, 229, 0.15);
    color: var(--primary-light);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(79, 70, 229, 0.3);
    animation: fadeInUp 0.8s ease both;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: var(--glow-primary);
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--text), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-wrap: break-word;
    animation: fadeInUp 0.8s ease 0.2s both;
    padding: 0 15px;
}

/* Компактная сетка услуг */
.services-grid.compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 2;
}

.service-card.compact {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    text-align: center;
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
}

.service-card.compact:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.2);
}

.service-card.compact .service-card-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card.compact .service-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.2rem;
    color: white;
    transition: all 0.4s ease;
    box-shadow: var(--glow-primary);
}

.service-card.compact:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}

.service-card.compact h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text);
    font-weight: 700;
    line-height: 1.3;
}

.service-card.compact p {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.4;
    font-size: 0.9rem;
    flex-grow: 1;
}

.service-card.compact .service-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--secondary);
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-card.compact:hover .service-price {
    transform: scale(1.05);
    box-shadow: var(--glow-secondary);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--dark-light);
    width: 100%;
    max-width: 100vw;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.1) 0%, transparent 50%);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-content h2 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--text);
    font-weight: 800;
    background: linear-gradient(45deg, var(--text), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    line-height: 1.6;
}

.features {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    opacity: 0;
    transform: translateY(20px);
}

.feature-item:hover {
    background: rgba(79, 70, 229, 0.1);
    border-color: rgba(79, 70, 229, 0.2);
    transform: translateX(8px);
    box-shadow: var(--glow-primary);
}

.feature-item i {
    color: var(--secondary);
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 25px;
    text-align: center;
    filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.3));
}

.about-image {
    background: var(--gradient);
    height: 300px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.3);
    transition: all 0.4s ease;
    order: -1;
}

.about-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(79, 70, 229, 0.4);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1621905252507-b35492cc74b4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2069&q=80') center/cover;
    opacity: 0.15;
    filter: brightness(0.7);
}

.about-image-content {
    position: relative;
    z-index: 2;
}

.about-image i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.5));
    animation: pulse 3s infinite;
}

.about-image p {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--gradient);
    color: white;
    text-align: center;
    width: 100%;
    max-width: 100vw;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.contact-info {
    position: relative;
    z-index: 2;
}

.contact-info h2 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.contact-info p {
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    padding: 0 15px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(20px);
}

.contact-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-item i {
    font-size: 2.5rem;
    color: white;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.1);
}

.contact-item span {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    text-align: center;
    line-height: 1.5;
    font-weight: 500;
    opacity: 0.95;
}

/* Footer */
footer {
    background: var(--darker);
    color: white;
    padding: 3rem 0 1.5rem;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

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

.footer-section h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
}

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

.footer-section ul li {
    margin-bottom: 0.6rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    padding-left: 0;
    position: relative;
    font-size: 0.95rem;
}

.footer-section ul li::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--secondary);
}

.footer-section ul li:hover {
    color: var(--text);
    transform: translateX(5px);
}

.footer-section ul li:hover::before {
    opacity: 1;
    left: -15px;
}

.footer-section p {
    line-height: 1.6;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.85rem;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--gradient);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0.5;
    }
}

@keyframes lineGrow {
    from { transform: scaleX(0.8); }
    to { transform: scaleX(1); }
}

/* ========== RESPONSIVE DESIGN ========== */

/* Мобильные устройства (до 768px) */
@media (max-width: 767px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .desktop-nav {
        display: none;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .logo-text {
        display: none;
    }

    .mobile-nav-links a {
        font-size: 1.5rem;
    }

    .mobile-nav-links li {
        margin: 1.2rem 0;
    }

    .mobile-menu-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    /* Адаптивность компактной сетки услуг */
    .services-grid.compact {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-card.compact {
        min-height: 200px;
        padding: 15px;
    }
}

/* Планшеты (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.95rem;
    }

    .logo {
        font-size: 1.6rem;
    }

    .logo i {
        font-size: 1.8rem;
    }

    /* Адаптивность компактной сетки услуг */
    .services-grid.compact {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Десктопы (992px и больше) */
@media (min-width: 768px) {
    .logo-text {
        display: inline-block !important;
    }
}

/* Большие планшеты и маленькие десктопы */
@media (min-width: 768px) {
    .modern-hero {
        min-height: 100vh;
        padding: 0;
    }

    .hero-content {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4.5rem);
    }

    .title-word {
        display: inline-block;
        margin-bottom: 0;
        margin-right: 0.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 3rem;
    }

    .hero-actions {
        gap: 1.5rem;
        margin-bottom: 4rem;
    }

    .btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-item {
        min-width: 120px;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .scroll-indicator {
        bottom: 2rem;
    }

    .indicator-line {
        height: 60px;
    }

    .indicator-text {
        font-size: 0.85rem;
    }

    .services {
        padding: 100px 0;
    }

    /* Адаптивность компактной сетки услуг для десктопа */
    .services-grid.compact {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .about {
        padding: 100px 0;
    }

    .about-container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .about-image {
        height: 400px;
        order: 2;
    }

    .contact {
        padding: 100px 0;
    }

    .contact-details {
        gap: 2rem;
    }

    .contact-item {
        padding: 2rem;
    }
}

/* Десктопы */
@media (min-width: 992px) {
    .service-card.compact {
        padding: 2rem;
    }

    .service-card.compact .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .service-card.compact h3 {
        font-size: 1.2rem;
    }

    .about-image {
        height: 500px;
    }

    .contact-details {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Очень большие экраны */
@media (min-width: 1200px) {
    .hero-content {
        padding: 140px 0 100px;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .services-grid.compact {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Маленькие мобильные телефоны */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .stat-item {
        min-width: 80px;
        padding: 0.8rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .service-card.compact {
        padding: 1.2rem;
    }

    .mobile-nav-links a {
        font-size: 1.3rem;
    }
}

/* Ландшафтная ориентация на мобильных */
@media (max-height: 600px) and (orientation: landscape) {
    .modern-hero {
        min-height: auto;
        height: auto;
        padding: 100px 0 40px;
    }

    .hero-content {
        padding: 40px 0 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        margin-bottom: 2rem;
    }

    .hero-stats {
        gap: 0.5rem;
    }

    .stat-item {
        min-width: 70px;
        padding: 0.8rem;
    }

    .scroll-indicator {
        display: none;
    }

    .mobile-nav-links li {
        margin: 1rem 0;
    }

    .mobile-nav-links a {
        font-size: 1.3rem;
    }

    .services-grid.compact {
        grid-template-columns: repeat(2, 1fr);
    }
}