/* === БАЗОВЫЕ НАСТРОЙКИ === */
html { scroll-behavior: smooth; }
:root {
    --bg-dark: #120317; 
    --surface: #1E0826; 
    --accent-primary: #D40D72; 
    --accent-hover: #F01785; 
    --text-main: #F4F0F2; 
    --text-muted: #9D8A99; 
}
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Montserrat', sans-serif; }
body { color: var(--text-main); line-height: 1.5; background-color: var(--bg-dark); overflow-x: hidden; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

.article-bottom { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-top: auto; 
    padding-top: 20px; 
    border-top: 1px solid rgba(255,255,255,0.05); 
}
.card-author { display: flex; align-items: center; gap: 10px; }
.card-author img { width: 35px; height: 35px; border-radius: 50%; border: 1px solid var(--accent-primary); object-fit: cover; }
.card-author-info { display: flex; flex-direction: column; }
.card-author-name { font-size: 12px; font-weight: 700; color: #fff; line-height: 1.2; }
.card-author-role { font-size: 10px; color: var(--text-muted); text-transform: lowercase; }
.read-time-badge { background: var(--accent-primary); color: #fff; padding: 5px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; box-shadow: 0 4px 10px rgba(212, 13, 114, 0.2); }

/* === КНОПКИ === */
.btn-outline { border: 1px solid var(--accent-primary); background: transparent; padding: 12px 20px; cursor: pointer; font-weight: 600; font-size: 12px; border-radius: 4px; transition: 0.3s; text-transform: uppercase; color: var(--accent-primary); white-space: nowrap; font-family: 'Montserrat', sans-serif;}
.btn-outline:hover { background: var(--accent-primary); color: #fff; box-shadow: 0 0 15px rgba(212, 13, 114, 0.4); }
.btn-accent { background-color: var(--accent-primary); color: #fff; border: none; padding: 20px 30px; font-weight: 700; cursor: pointer; border-radius: 4px; transition: 0.3s; font-size: 12px; text-transform: uppercase; white-space: nowrap; font-family: 'Montserrat', sans-serif;}
.btn-accent:hover { background-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 5px 20px rgba(212, 13, 114, 0.5);}

@keyframes pulse-anim { 0% { transform: scale(1) translateX(0); opacity: 1; } 50% { transform: scale(1.15) translateX(5px); opacity: 0.7; } 100% { transform: scale(1) translateX(0); opacity: 1; } }
.pulse-icon { display: inline-block; animation: pulse-anim 2s infinite ease-in-out; }
.mobile-swipe-hint { display: none; text-align: right; font-size: 11px; color: var(--text-muted); margin-bottom: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* === ПАРЯЩАЯ ШАПКА === */
.site-header { position: fixed; top: 20px; left: 0; right: 0; z-index: 1000; padding: 0 20px; transition: all 0.4s ease; }
.header-bg { background-color: rgba(30, 8, 38, 0.85); backdrop-filter: blur(12px); border: 1px solid rgba(212, 13, 114, 0.3); max-width: 1400px; margin: 0 auto; padding: 10px 25px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: all 0.4s ease; height: 75px;}
.site-header.scrolled { top: 0; padding: 0; }
.site-header.scrolled .header-bg { max-width: 100%; border-radius: 0; background-color: rgba(18, 3, 23, 0.95); box-shadow: 0 10px 30px rgba(0,0,0,0.8); border-bottom: 1px solid rgba(255,255,255,0.05); border-top: none; border-left: none; border-right: none; height: 70px;}

.header-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; height: 100%; flex-wrap: nowrap; }
.header-left { display: flex; align-items: center; gap: 20px; flex-wrap: nowrap; height: 100%;}
.header-right { display: flex; align-items: center; gap: 25px; flex-wrap: nowrap; height: 100%;}
.logo-box { display: flex; align-items: center; text-decoration: none; }
.logo-box img { max-height: 40px; width: auto; object-fit: contain; }

.header-divider { width: 1px; height: 45px; background-color: rgba(255,255,255,0.1); }
.header-text { font-size: 11px; color: var(--text-muted); line-height: 1.3; font-weight: 500;}

.burger { display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; font-size: 10px; font-weight: 700; text-transform: uppercase; color: #fff; letter-spacing: 1px; }
.burger-lines { width: 30px; height: 2px; background-color: #fff; position: relative; transition: 0.2s; border-radius: 2px; margin-top: 5px; margin-bottom: 12px; }
.burger-lines::before, .burger-lines::after { content: ''; position: absolute; width: 30px; height: 2px; background-color: #fff; left: 0; transition: 0.2s; border-radius: 2px; }
.burger-lines::before { top: -7px; } 
.burger-lines::after { top: 7px; }
.burger:hover .burger-lines, .burger:hover .burger-lines::before, .burger:hover .burger-lines::after { background-color: var(--accent-primary); }

/* Инлайн-меню в шапке */
.header-inline-menu { display: flex; align-items: center; gap: 20px; margin: 0 15px; height: 100%; }
.header-inline-menu a.menu-item-link { color: #fff; text-decoration: none; font-size: 11px; font-weight: 700; text-transform: uppercase; transition: 0.3s; letter-spacing: 0.5px; display: inline-flex; align-items: center; gap: 4px; }
.header-inline-menu a.menu-item-link:hover { color: var(--accent-primary); }
.dropdown-wrap { position: relative; height: 100%; display: flex; align-items: center; padding: 0 5px; }
.arrow { font-size: 8px; transition: transform 0.3s ease; }
.dropdown-wrap:hover .arrow { transform: rotate(180deg); color: var(--accent-primary); }
.dropdown-menu { position: absolute; top: 100%; left: -15px; background: rgba(18, 3, 23, 0.95); backdrop-filter: blur(12px); border: 1px solid rgba(212, 13, 114, 0.3); border-radius: 8px; padding: 15px 0; min-width: 280px; box-shadow: 0 15px 40px rgba(0,0,0,0.8); opacity: 0; visibility: hidden; transform: translateY(15px); transition: all 0.3s ease; z-index: 1001; }
.dropdown-wrap:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 12px 25px; font-size: 13px; font-weight: 500; text-decoration: none; color: var(--text-main); border-bottom: 1px solid rgba(255,255,255,0.02); transition: 0.2s; }
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { color: var(--accent-primary); background: rgba(212, 13, 114, 0.05); padding-left: 32px; }

.header-messengers { display: flex; align-items: center; gap: 15px; font-size: 11px; color: var(--text-muted); text-align: right; line-height: 1.2; font-weight: 500;}
.soc-icons-group { display: flex; gap: 8px; }
.soc-icon { width: 34px; height: 34px; border-radius: 6px; display: flex; align-items: center; justify-content: center; background-color: transparent; border: 1px solid rgba(255,255,255,0.15); transition: 0.2s; text-decoration: none; }
.soc-icon:hover { transform: translateY(-2px); border-color: var(--accent-primary); background: rgba(212, 13, 114, 0.1);}
.soc-icon img { width: 16px; height: 16px; object-fit: contain; display: block; }
.header-phone-box { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap;}
.header-phone { font-size: 22px; font-weight: 800; color: #fff; text-decoration: none; line-height: 1.1; transition: 0.3s;}
.header-phone:hover { color: var(--accent-primary); }
.header-schedule { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; margin-top: 5px; font-weight: 500;}
.green-dot { width: 8px; height: 8px; background-color: var(--accent-primary); border-radius: 50%; box-shadow: 0 0 10px var(--accent-primary);}

.inline-search-btn { cursor: pointer; color: #fff; font-size: 20px; transition: 0.3s; display: flex; align-items: center; justify-content: center; opacity: 0.8; text-decoration: none; }
.inline-search-btn:hover { color: var(--accent-primary); opacity: 1; transform: scale(1.1); }
.mobile-contact-btn { display: none; }

/* === ГЕРОЙ === */
.hero { position: relative; padding: 180px 0 100px; min-height: 750px; display: flex; align-items: center; background: radial-gradient(circle at center right, rgba(212, 13, 114, 0.15) 0%, var(--bg-dark) 60%); overflow: hidden; }
.hero-video-wrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; }
.hero-video { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(18, 3, 23, 0.5) 0%, rgba(18, 3, 23, 0.95) 100%); z-index: -1; }
.hero-inner { position: relative; z-index: 2; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.hero-content { flex: 1.2; max-width: 680px; color: #fff; }
.hero-content h1 { font-size: 44px; line-height: 1.2; font-weight: 800; text-transform: uppercase; margin-bottom: 20px; }
.hero-content h1 span { color: var(--accent-primary); text-shadow: 0 0 20px rgba(212, 13, 114, 0.5); }
.hero-content h2 { font-size: 18px; font-weight: 600; margin-bottom: 25px; color: var(--text-muted); line-height: 1.4; }
.hero-content p.desc { font-size: 14px; margin-bottom: 45px; color: var(--text-main); line-height: 1.4; max-width: 550px;}
.hero-form-wrapper p { font-size: 15px; font-weight: 500; margin-bottom: 15px; color: var(--text-muted); }
.hero-form { display: flex; gap: 15px; margin-bottom: 15px; align-items: stretch;}
.hero-form input { width: 300px; padding: 20px 25px; border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; font-family: 'Montserrat', sans-serif; font-size: 15px; outline: none; background: var(--surface); color: #fff; font-weight: 500; }
.hero-note { font-size: 12px; color: var(--text-muted); max-width: 500px; font-weight: 500;}
.hero-image-box { flex: 0.8; display: flex; justify-content: flex-end; align-items: flex-end; align-self: flex-end; margin-bottom: -100px; z-index: 5; position: relative; }
.hero-image-box img { width: 100%; max-width: 550px; height: auto; display: block; filter: drop-shadow(0 -10px 40px rgba(212, 13, 114, 0.35)); }

/* === СТАТИСТИКА === */
.stats { background: transparent; padding: 70px 0; border-bottom: 1px solid rgba(255,255,255,0.05); position: relative; z-index: 4; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center;}
.stat-item h3 { font-size: 60px; font-weight: 800; color: var(--accent-primary); margin-bottom: 5px; line-height: 1; }
.stat-item p { font-size: 12px; color: var(--text-muted); line-height: 1.4; font-weight: 500; }

/* === ЭКСПЕРТИЗА === */
.features { padding: 90px 0; background: transparent; }
.section-title { text-align: center; font-size: 32px; font-weight: 700; margin-bottom: 50px; text-transform: uppercase; color: #fff;}
.features-grid { display: flex; gap: 20px; align-items: stretch;}
.feat-video-box { flex: 0 0 38%; position: relative; border-radius: 8px; overflow: hidden; display: flex; align-items: flex-end; padding: 50px; background: var(--surface); min-height: 480px; border: 1px solid rgba(212, 13, 114, 0.2);}
.feat-video-box h3 { position: relative; z-index: 2; color: #fff; font-size: 28px; font-weight: 700; line-height: 1.3; }
.feat-cards-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.f-card { background: var(--surface); padding: 40px 30px 60px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.03); color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; transition: 0.3s; cursor: pointer; text-decoration: none; }
.f-card:hover { border-color: var(--accent-primary); transform: translateY(-5px); }
.f-card h4 { font-size: 20px; margin-bottom: 12px; position: relative; z-index: 3; font-weight: 700; color: var(--accent-primary);}
.f-card p { font-size: 14px; color: var(--text-muted); position: relative; z-index: 3; line-height: 1.6; font-weight: 500;}
.f-card-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.f-card:hover .f-card-video { opacity: 0.25; }

/* === БОЛИ === */
.pain-points { padding: 100px 0; background: rgba(255,255,255,0.01); border-top: 1px solid rgba(255,255,255,0.02); }
.pain-header { text-align: center; margin-bottom: 60px; }
.pain-header h2 { font-size: 36px; font-weight: 800; margin-bottom: 20px; color: #fff; line-height: 1.2; text-transform: uppercase;}
.pain-header h2 span { color: var(--accent-primary); }
.pain-header p { font-size: 16px; color: var(--text-muted); line-height: 1.6; max-width: 800px; margin: 0 auto; font-weight: 500;}
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; align-items: stretch; }
.pain-card { background: var(--surface); padding: 35px 25px; border-radius: 12px; text-align: left; display: flex; flex-direction: column; transition: 0.3s; position: relative; overflow: hidden; border: 1px solid rgba(212, 13, 114, 0.1); }
.pain-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--accent-primary); transition: 0.3s; opacity: 0.5;}
.pain-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(212, 13, 114, 0.15); border-color: rgba(212, 13, 114, 0.3);}
.pain-card:hover::before { opacity: 1; width: 6px; }
.pain-card-top { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.pain-icon { font-size: 36px; line-height: 1; margin: 0; filter: drop-shadow(0 0 10px rgba(212, 13, 114, 0.4)); flex-shrink: 0; }
.pain-card h4 { font-size: 16px; font-weight: 800; line-height: 1.3; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; margin: 0;}
.pain-card p { font-size: 13px; line-height: 1.6; color: var(--text-muted); flex-grow: 1; font-weight: 500;}

/* === ПОРТФОЛИО === */
.portfolio { padding: 100px 0; background: rgba(255,255,255,0.01); border-top: 1px solid rgba(255,255,255,0.02); }
.port-filter-nav { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; flex-wrap: wrap; }
.port-filter-btn { background: transparent; border: 1px solid rgba(255,255,255,0.2); padding: 12px 25px; border-radius: 40px; font-size: 13px; font-weight: 600; cursor: pointer; transition: 0.3s; color: var(--text-main); font-family: 'Montserrat', sans-serif;}
.port-filter-btn.active, .port-filter-btn:hover { background: var(--accent-primary); color: #fff; border-color: var(--accent-primary); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.project-card { position: relative; border-radius: 16px; padding: 40px 25px; text-align: left; border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s ease, border-color 0.3s ease; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; overflow: hidden; background-color: var(--surface); background-position: center !important; background-size: cover !important; background-repeat: no-repeat !important; background-clip: padding-box !important; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.project-card:hover { transform: translateY(-8px); border-color: var(--accent-primary); box-shadow: 0 10px 30px rgba(212, 13, 114, 0.2); }
.project-card::before { content: ''; position: absolute; inset: -2px; border-radius: inherit; background: linear-gradient(to top, rgba(30, 8, 38, 1) 0%, rgba(30, 8, 38, 0.7) 50%, transparent 100%); z-index: 1; pointer-events: none; }
.project-info { position: relative; z-index: 3; }
.project-card-link { font-size: 20px; font-weight: 700; color: #fff; text-decoration: none; display: inline-block; margin-bottom: 12px; line-height: 1.3;}
.project-card-link::after { content: ''; position: absolute; inset: 0; z-index: 4; }
.port-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0; position: relative; z-index: 5; }
.port-tag { background: rgba(212, 13, 114, 0.1); border: 1px solid rgba(212, 13, 114, 0.2); color: var(--accent-hover); padding: 6px 10px; border-radius: 16px; font-size: 11px; font-weight: 600; text-decoration: none; cursor: pointer; transition: 0.2s; }
.port-tag:hover { background: var(--accent-primary); color: #fff; border-color: var(--accent-primary);}
.project-card.hide { display: none; }

.project-card-more { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: transparent; border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: 16px; min-height: 380px; text-decoration: none; transition: 0.3s ease; color: var(--text-muted); cursor: pointer; }
.project-card-more:hover { border-color: var(--accent-primary); border-style: solid; color: #fff; transform: translateY(-8px); box-shadow: 0 10px 30px rgba(212, 13, 114, 0.2); background: rgba(212, 13, 114, 0.05); }
.project-card-more .more-icon { font-size: 40px; color: var(--accent-primary); margin-bottom: 15px; transition: transform 0.3s ease; }
.project-card-more:hover .more-icon { transform: translateX(10px); }
.project-card-more .more-text { font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* === БЛОГ И СТАТЬИ === */
.articles { padding: 100px 0; background: transparent; border-top: 1px solid rgba(255,255,255,0.02); }
.articles-idx-grid { display: grid; grid-template-columns: repeat(3, 1fr) 80px; gap: 30px; }

.article-card { background: var(--surface); border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; display: flex; flex-direction: column; text-decoration: none; cursor: pointer; }
.article-card:hover { transform: translateY(-8px); border-color: var(--accent-primary); box-shadow: 0 10px 30px rgba(212, 13, 114, 0.1); }
.article-img { width: 100%; height: 220px; background: rgba(0,0,0,0.3); position: relative; overflow: hidden; }
.article-img img, .article-img video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.article-card:hover .article-img img, .article-card:hover .article-img video { transform: scale(1.05); }
.article-content { padding: 35px 30px; display: flex; flex-direction: column; flex-grow: 1; }
.article-meta { display: flex; gap: 15px; font-size: 12px; color: var(--text-muted); margin-bottom: 15px; font-weight: 600; text-transform: uppercase;}
.article-meta span.cat { color: var(--accent-primary); }
.article-title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 15px; line-height: 1.4; transition: 0.2s; }
.article-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 0; font-weight: 500; flex-grow: 1; }

.article-card-more { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; background: transparent; border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: 16px; min-height: 100%; text-decoration: none; transition: 0.3s ease; color: var(--text-muted); cursor: pointer; }
.article-card-more:hover { border-color: var(--accent-primary); border-style: solid; color: #fff; transform: translateY(-8px); box-shadow: 0 10px 30px rgba(212, 13, 114, 0.2); background: rgba(212, 13, 114, 0.05); }
.article-card-more .more-icon { font-size: 30px; color: var(--accent-primary); margin-bottom: 20px; }
.article-card-more .more-text { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; transition: 0.3s; }
.article-card-more:hover .more-text { color: var(--accent-primary); letter-spacing: 3px; }

/* === ОТЗЫВЫ === */
.social-proof { padding: 70px 0 90px; background: transparent; text-align: center; }
.reviews-container { position: relative; max-width: 1300px; margin: 0 auto; padding: 0 60px; }
.reviews-track { display: flex; gap: 30px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; scroll-snap-type: x mandatory;}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card { flex: 0 0 calc(33.333% - 20px); scroll-snap-align: start; background: var(--surface); padding: 40px 30px; border-radius: 12px; text-align: left; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; display: flex; flex-direction: column;}
.review-card:hover { border-color: var(--accent-primary); transform: translateY(-5px); box-shadow: 0 15px 30px rgba(212, 13, 114, 0.15);}
.rev-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 25px; }
.rev-author { display: flex; align-items: center; gap: 15px; }
.rev-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(212, 13, 114, 0.3); }
.rev-name { font-weight: 800; font-size: 16px; display: block; color: #fff; margin-bottom: 4px; line-height: 1.2;}
.rev-role { font-size: 12px; color: var(--accent-primary); font-weight: 600; text-transform: uppercase;}
.rev-logo { width: 80px; height: 40px; display: flex; justify-content: flex-end; align-items: flex-start; }
.rev-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(100%) opacity(0.5); transition: 0.3s; }
.review-card:hover .rev-logo img { filter: grayscale(0%) opacity(1); }
.rev-text { font-size: 14px; color: var(--text-muted); line-height: 1.6; font-weight: 500; flex-grow: 1;}
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: var(--surface); border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; cursor: pointer; z-index: 5; font-size: 22px; display: flex; align-items: center; justify-content: center; transition: 0.2s; color: #fff;}
.carousel-btn:hover { background: var(--accent-primary); border-color: var(--accent-primary);}
.btn-prev { left: 0; } .btn-next { right: 0; }

/* === КЛИЕНТЫ === */
.clients { padding: 90px 0 20px; background: transparent; }
.clients-layout { display: flex; flex-direction: column; gap: 50px; align-items: center; width: 100%; margin-top: 40px;}
.clients-row { display: flex; justify-content: center; align-items: center; gap: 60px; flex-wrap: wrap; width: 100%; }
.client-logo { display: flex; align-items: center; justify-content: center; height: 60px; transition: 0.3s; cursor: default; }
.client-logo img { max-width: 140px; max-height: 100%; object-fit: contain; filter: grayscale(100%) opacity(0.5); transition: all 0.3s ease; }
.client-logo:hover { transform: translateY(-5px); }
.client-logo:hover img { filter: grayscale(0%) opacity(1); }

/* === ПОДВАЛ === */
.site-footer { background-color: var(--bg-dark); padding: 80px 0 50px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; }
.footer-minimal { display: flex; flex-direction: column; align-items: center; gap: 45px; }
.f-min-logo img { max-height: 50px; filter: grayscale(100%) opacity(0.8); transition: 0.3s; }
.f-min-logo img:hover { filter: grayscale(0%) opacity(1); }
.f-min-info { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; color: var(--text-muted); font-size: 13px; font-weight: 500; }
.f-min-info .divider { width: 1px; height: 14px; background-color: var(--accent-primary); opacity: 0.8; }
.f-min-info a { color: var(--text-muted); text-decoration: none; transition: 0.2s; }
.f-min-info a:hover { color: var(--accent-primary); }
.f-min-copyright { font-size: 12px; color: rgba(255,255,255,0.3); font-weight: 500; margin-top: -15px; }

/* === ДИНАМИЧЕСКОЕ МЕНЮ (МОДАЛКА) === */
#nav-menu-modal { position: fixed; inset: 0; background: rgba(18, 3, 23, 0.98); backdrop-filter: blur(10px); z-index: 2000; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 80px 20px 40px; overflow-y: auto; transform: translateY(-100%); transition: transform 0.5s ease; }
#nav-menu-modal.active { transform: translateY(0); }
.modal-close { font-size: 45px; top: 20px; right: 35px; color: #fff; position: absolute; cursor: pointer; transition: 0.2s; line-height: 1; font-family: sans-serif; z-index: 10;}
.modal-close:hover { color: var(--accent-primary); transform: scale(1.1); }
.modal-menu-container { width: 100%; max-width: 900px; display: flex; flex-direction: column; position: relative;}

/* Поиск */
.menu-search-wrapper { position: relative; width: 100%; margin-bottom: 40px; }
.menu-search-input { width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.2); font-size: 24px; color: #fff; padding: 15px 0; outline: none; font-weight: 600; transition: 0.3s; font-family: 'Montserrat', sans-serif;}
.menu-search-input:focus { border-bottom-color: var(--accent-primary); }
.menu-search-input::placeholder { color: rgba(255,255,255,0.3); font-size: 20px;}
.menu-search-results { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border: 1px solid rgba(212, 13, 114, 0.3); border-top: none; border-radius: 0 0 8px 8px; overflow: hidden; z-index: 10; display: flex; flex-direction: column; }
.menu-res-item { padding: 15px 20px; text-decoration: none !important; display: flex; justify-content: space-between; align-items: center; gap: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); transition: 0.2s; color: inherit;}
.menu-res-item:hover { background: rgba(212, 13, 114, 0.1); padding-left: 25px; border-left: 3px solid var(--accent-primary); color: #fff !important;}
.menu-res-left { flex: 0 0 45%; display: flex; flex-direction: column;}
.menu-res-right { flex: 1; text-align: left;}
.menu-res-type { font-size: 10px; color: var(--accent-primary) !important; text-transform: uppercase; font-weight: 700; margin-bottom: 5px; }
.menu-res-title { color: #fff !important; font-size: 14px; font-weight: 600; text-decoration: none !important;}
.menu-res-desc { color: var(--text-muted) !important; font-size: 12px; line-height: 1.4; font-weight: 500; text-decoration: none !important;}

/* Таблица меню */
.menu-row { display: flex; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 15px; align-items: flex-start; padding-top: 15px;}
.menu-row:last-of-type { border-bottom: none; }
.menu-left { flex: 0 0 40%; padding-right: 20px; text-align: left;}
.menu-right { flex: 1; display: flex; flex-wrap: wrap; gap: 10px 25px; align-items: center; justify-content: flex-start;}
.menu-main-link { font-size: 16px; font-weight: 800; color: #fff; text-decoration: none; text-transform: uppercase; transition: 0.2s; letter-spacing: 1px;}
.menu-main-link:hover { color: var(--accent-primary); }
.menu-right a { font-size: 14px; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: 0.2s; }
.menu-right a:hover { color: #fff; }

/* Подвал меню */
.menu-footer-box { margin-top: 30px; padding-top: 30px; border-top: 1px dashed rgba(212, 13, 114, 0.3); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; width: 100%; }
.menu-footer-buttons { display: flex; gap: 15px; flex-wrap: wrap; align-items: center;}
.menu-home-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; text-decoration: none; padding: 12px 25px; border-radius: 4px; transition: 0.3s; border: 1px solid rgba(255,255,255,0.2); }
.menu-home-link:hover { border-color: var(--accent-primary); color: #fff; background: rgba(212, 13, 114, 0.1); }
.menu-promo-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; text-decoration: none; background: var(--accent-primary); padding: 12px 25px; border-radius: 4px; transition: 0.3s; }
.menu-promo-link:hover { background: var(--accent-hover); box-shadow: 0 0 15px rgba(212, 13, 114, 0.4); }
.menu-bottom-contacts { display: flex; gap: 30px; align-items: center; flex-wrap: wrap;}
.menu-bottom-contacts a.contact-link { font-size: 16px; font-weight: 700; color: #fff; text-decoration: none; transition: 0.2s;}
.menu-bottom-contacts a.contact-link:hover { color: var(--accent-primary); }

/* === ЖИВОЙ ПОИСК МОДАЛКА === */
#search-modal { position: fixed; inset: 0; background: rgba(18, 3, 23, 0.98); backdrop-filter: blur(15px); z-index: 4000; display: flex; flex-direction: column; align-items: center; padding: 100px 20px 20px; opacity: 0; visibility: hidden; transition: 0.3s; }
#search-modal.active { opacity: 1; visibility: visible; }
.search-container { width: 100%; max-width: 900px; position: relative; }
.search-input { width: 100%; background: transparent; border: none; border-bottom: 2px solid rgba(255,255,255,0.2); font-size: 36px; color: #fff; padding: 15px 0; outline: none; font-weight: 700; transition: 0.3s; font-family: 'Montserrat', sans-serif;}
.search-input:focus { border-bottom-color: var(--accent-primary); }
.search-input::placeholder { color: rgba(255,255,255,0.2); font-size: 24px;}
.search-results { margin-top: 40px; display: flex; flex-direction: column; gap: 15px; width: 100%; text-align: left; }
.search-result-item { display: flex; justify-content: space-between; align-items: center; padding: 18px 25px; background: rgba(255,255,255,0.03); border-radius: 8px; text-decoration: none !important; border-left: 3px solid transparent; transition: 0.2s; color: #fff !important; gap: 20px; }
.search-result-item:hover { background: rgba(212, 13, 114, 0.1); border-left-color: var(--accent-primary); transform: translateX(5px); }

/* === ФОРМА И КОНТАКТЫ === */
.modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.8); display: flex; align-items: center; justify-content: center; z-index: 3000; opacity: 0; visibility: hidden; transition: 0.3s; backdrop-filter: blur(5px); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.promo-content { background: var(--surface); padding: 50px 40px; border-radius: 8px; max-width: 450px; width: 90%; text-align: center; position: relative; border: 1px solid rgba(212, 13, 114, 0.3);}
.modal-close-form { position: absolute; top: 15px; right: 20px; font-size: 32px; background: none; border: none; cursor: pointer; color: var(--text-muted); font-family: sans-serif; line-height: 1;}
.modal-close-form:hover { color: #fff; }
.promo-content input { width: 100%; padding: 18px; border: 1px solid rgba(255,255,255,0.2); background: rgba(0,0,0,0.2); color: #fff; border-radius: 4px; font-size: 15px; outline: none; margin-bottom: 15px; font-weight: 500; font-family: 'Montserrat', sans-serif;}
.c-link { color: #fff !important; text-decoration: none !important; font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 15px; padding: 15px 20px; background: rgba(255,255,255,0.05); border-radius: 8px; transition: 0.3s; border: 1px solid rgba(255,255,255,0.05); margin-bottom: 10px; }
.c-link:hover { background: rgba(212, 13, 114, 0.1); border-color: var(--accent-primary); transform: translateX(5px);}
.c-soc-row { display: flex; justify-content: space-between; margin-top: 15px; gap: 10px;}
.c-soc-row .soc-icon { width: 100%; height: 50px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; }
.c-soc-row .soc-icon:hover { border-color: var(--accent-primary); background: rgba(212, 13, 114, 0.1); }

/* === COOKIE BANNER === */
.cookie-banner { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 95%; max-width: 1200px; background: var(--accent-primary); border-radius: 12px; display: flex; justify-content: space-between; align-items: center; padding: 16px 30px; z-index: 9999; box-shadow: 0 10px 40px rgba(212, 13, 114, 0.4); transition: 0.4s ease; opacity: 1; visibility: visible; }
.cookie-banner.hidden { opacity: 0; visibility: hidden; transform: translate(-50%, 20px); pointer-events: none; }
.cb-text { color: #fff; font-size: 14px; font-weight: 500; line-height: 1.5; margin-right: 20px;}
.cb-text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; transition: 0.2s; cursor: pointer;}
.cb-text a:hover { color: var(--surface); }
.cb-buttons { display: flex; gap: 10px; align-items: center; flex-wrap: nowrap;}
.cb-btn { border: none; border-radius: 6px; padding: 10px 20px; font-size: 13px; font-weight: 700; cursor: pointer; transition: 0.3s; font-family: 'Montserrat', sans-serif; white-space: nowrap; }
.cb-btn-accept { background: var(--surface); color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.cb-btn-accept:hover { background: #fff; color: var(--bg-dark); }
.cb-btn-reject { background: #fff; color: var(--bg-dark); }
.cb-btn-reject:hover { background: #e0e0e0; }
.cb-btn-settings { background: transparent; color: #fff; padding: 10px 15px;}
.cb-btn-settings:hover { text-decoration: underline; text-underline-offset: 3px;}

.cookie-overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(18, 3, 23, 0.5); backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.4s ease; }
.cookie-overlay.active { opacity: 1; visibility: visible; }
.cookie-modal { background: var(--surface); width: 90%; max-width: 700px; max-height: 90vh; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; overflow: hidden; transform: scale(0.95); transition: 0.4s; }
.cookie-overlay.active .cookie-modal { transform: scale(1); }
.cm-header { padding: 25px 30px; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; }
.cm-header h2 { font-size: 20px; font-weight: 700; color: #fff; }
.cm-close { background: none; border: none; color: var(--text-muted); font-size: 28px; cursor: pointer; transition: 0.2s; line-height: 1; }
.cm-close:hover { color: var(--accent-primary); }
.cm-body { padding: 25px 30px; overflow-y: auto; flex-grow: 1; }
.cm-body::-webkit-scrollbar { width: 6px; }
.cm-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }
.cm-intro { font-size: 13px; color: var(--text-muted); margin-bottom: 25px; font-weight: 500;}
.cm-category { border-bottom: 1px solid rgba(255,255,255,0.05); padding: 15px 0; }
.cm-category summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; font-size: 15px; font-weight: 700; color: #fff; outline: none; }
.cm-category summary::-webkit-details-marker { display: none; }
.cm-category-title { display: flex; align-items: center; gap: 10px; }
.cm-chevron { transition: transform 0.3s; color: var(--accent-primary); }
.cm-category[open] .cm-chevron { transform: rotate(90deg); }
.cm-content { padding: 15px 0 5px 20px; font-size: 13px; color: var(--text-muted); line-height: 1.5;}
.cm-always-active { color: #4CAF50; font-size: 12px; font-weight: 600; }
.cm-switch { position: relative; display: inline-block; width: 40px; height: 22px; margin: 0; }
.cm-switch input { opacity: 0; width: 0; height: 0; }
.cm-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255,255,255,0.1); transition: .4s; border-radius: 34px; }
.cm-slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
.cm-switch input:checked + .cm-slider { background-color: var(--accent-primary); }
.cm-switch input:checked + .cm-slider:before { transform: translateX(18px); }
.cm-footer { padding: 20px 30px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; gap: 10px; background: rgba(0,0,0,0.1); }
.cb-btn-save { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.cb-btn-save:hover { background: rgba(255,255,255,0.1); border-color: #fff; }


/* === ГЛОБАЛЬНЫЙ АДАПТИВ === */
@media (max-width: 1300px) { .header-text, .header-divider { display: none; } }

@media (max-width: 1200px) {
    .header-inline-menu { display: none !important; }
    .burger { display: flex !important; }
}

@media (max-width: 992px) {
    .hero-inner { flex-direction: column; text-align: center; gap: 30px;} 
    .hero-form { flex-direction: column; } .hero-form input { max-width: 100%; width: 100%; }
    .hero-image-box { justify-content: center; width: 100%; align-self: center; margin-bottom: -60px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px;}
    .features-grid { flex-direction: column; } .feat-video-box { min-height: 350px; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .articles-idx-grid { grid-template-columns: repeat(2, 1fr); }
    .pain-grid { grid-template-columns: repeat(2, 1fr); }
    .review-card { flex: 0 0 calc(50% - 15px); }
    .clients-layout { gap: 40px; } .clients-row { gap: 30px; } .client-logo img { max-width: 110px; }
    .header-right { gap: 15px; }
}

@media (max-width: 768px) {
    .site-header { padding: 0; top: 0; } 
    .header-bg { border-radius: 0; border: none; padding: 10px 15px; height: auto;}
    .header-messengers, .header-phone-box, .btn-outline { display: none !important; }
    .header-right { gap: 10px; }
    .header-left { gap: 15px; }
    .logo-box img { max-height: 30px; }
    .burger { padding-left: 0; border-left: none; margin-left: 0;}
    .mobile-contact-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(212, 13, 114, 0.1); border: 1px solid var(--accent-primary); border-radius: 6px; color: #fff; font-size: 20px; cursor: pointer; transition: 0.3s; margin-right: 5px; }
    .mobile-contact-btn:hover { background: var(--accent-primary); box-shadow: 0 0 15px rgba(212, 13, 114, 0.4); }
    
    .hero { padding: 120px 0 60px; min-height: 500px; } 
    .hero-content h1 { font-size: 34px; line-height: 1.15; margin-bottom: 15px; }
    .feat-cards-grid, .pain-grid { grid-template-columns: 1fr; }
    .pain-header h2 { font-size: 26px; } 
    .review-card { flex: 0 0 100%; padding: 25px 20px;}
    
    #nav-menu-modal { padding-top: 50px; }
    .search-input { font-size: 24px; }
    .menu-search-input { font-size: 18px; }
    
    .cookie-banner { flex-direction: column; gap: 15px; padding: 20px; text-align: center;}
    .cb-text { margin-right: 0; margin-bottom: 5px; }
    .cb-buttons { width: 100%; justify-content: center; flex-wrap: wrap; }
    .cm-footer { flex-direction: column; }
    .f-min-info { flex-direction: column; gap: 12px; }
    .f-min-info .divider { display: none; }
    
    .portfolio, .articles, .pain-points, .features, .social-proof, .stats, .clients { padding: 45px 0; }
    .section-title { font-size: 24px; margin-bottom: 30px; }
    .pain-header { margin-bottom: 30px; }
    .project-card, .article-card-more { min-height: 280px; }
    .project-card { padding: 25px 20px; }
    .project-card-link { font-size: 18px; }
    .article-img { height: 160px; }
    .article-content { padding: 20px; }
    .pain-card { padding: 25px 20px; }
    .feat-video-box { min-height: 250px; padding: 30px 20px; }
    .f-card { padding: 25px 20px 35px; }
    
    .mobile-swipe-hint { display: block; }
    .projects-grid, .articles-idx-grid, .pain-grid, .reviews-track { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: 15px; padding-bottom: 20px; -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%); mask-image: linear-gradient(to right, black 85%, transparent 100%); }
    .projects-grid::-webkit-scrollbar, .articles-idx-grid::-webkit-scrollbar, .pain-grid::-webkit-scrollbar, .reviews-track::-webkit-scrollbar { display: none; }
    .project-card, .article-card, .pain-card, .review-card { flex: 0 0 75vw; scroll-snap-align: start; }
    .article-card-more { flex-direction: column; flex: 0 0 75vw; min-height: 280px;}
    .article-card-more .more-icon { margin-bottom: 15px; }
    .article-card-more .more-text { writing-mode: horizontal-tb; transform: none; font-size: 16px; }
    .projects-grid::after, .articles-idx-grid::after, .pain-grid::after, .reviews-track::after { content: ''; flex: 0 0 10vw; }
    
    .menu-row { flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 15px; }
    .menu-left { padding-right: 0; text-align: left;}
    .menu-right { flex-direction: row; gap: 6px 12px; }
}