/* base - Updated: 28.02.2026 */

/* Шрифты Inter (400, 500, 600) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/view/fonts/inter-v20-cyrillic_latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/view/fonts/inter-v20-cyrillic_latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/view/fonts/inter-v20-cyrillic_latin-600.woff2') format('woff2');
}

/* Шрифты Manrope (600, 700, 800) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/view/fonts/manrope-v20-cyrillic_latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/view/fonts/manrope-v20-cyrillic_latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/view/fonts/manrope-v20-cyrillic_latin-800.woff2') format('woff2');
}

/* === 1. VARIABLES === */
:root {
    --primary: #0f172a;        
    
    /* ВОЗВРАЩЕН ОРИГИНАЛЬНЫЙ ЦВЕТ БРЕНДА */
    --accent: #ff6b4a;        
    --accent-hover: #ff8669;
    
    --blue-tech: #60a5fa;
    --bg-light: #f8fafc;        
    --text-grey: #475569;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --radius-ui: 16px;
    --radius-card: 32px;
    --pad-mobile-x: 20px;
    --pad-mobile-y: 30px;
    --container: 1200px;
    --border: rgba(255,255,255,0.8);
    --heading-navy: #1e293b;
    --dark-bg: linear-gradient(145deg, #1e293b, #0f172a);
}

/* === 2. RESET & BODY === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
h1, h2, h3, h4 { font-family: 'Manrope', sans-serif; font-weight: 800; color: var(--heading-navy); }
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
main { padding-top: 120px; flex: 1; }

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 25px;
    left: 25px;
    right: 25px;
    z-index: 9999;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-radius: 20px;
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.active {
    transform: translateY(0);
}
.cookie-text {
    font-size: 0.95rem;
    color: var(--text-grey);
    line-height: 1.5;
}
.cookie-text a {
    color: var(--blue-tech);
    font-weight: 600;
    text-decoration: none;
}
.cookie-text a:hover {
    color: var(--accent);
    text-decoration: underline;
}
.btn-cookie {
    padding: 10px 24px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* === UTILS === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; width: 100%; }
hr { border: none; border-top: 1px solid #e2e8f0; margin: 40px 0; }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; } .mt-30 { margin-top: 30px; } .mt-40 { margin-top: 40px; } 
.mt-60 { margin-top: 60px; } .mt-80 { margin-top: 80px; }
.mb-40 { margin-bottom: 40px; } .mb-60 { margin-bottom: 60px; } .mb-80 { margin-bottom: 80px; }
.blog-empty { text-align: center; width: 100%; color: #94a3b8; }
.icon-mobile { display: none; }
.icon-pc { display: inline-block; }
.icon-svg-wrapper { display: inline-flex; align-items: center; margin-right: 8px; vertical-align: middle; }
.error-container { padding-top: 100px; text-align: center; }

@media (min-width: 901px) {
    .hide-on-desktop { display: none !important; }
}

/* === 3. BACKGROUND BLOBS === */
.bg-decor { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6; will-change: transform; }
.blob-1 { width: 600px; height: 600px; background: #ff6b4a; top: -200px; right: -100px; animation: float 20s infinite alternate; }
.blob-2 { width: 500px; height: 500px; background: #60a5fa; bottom: -100px; left: -100px; animation: float 15s infinite alternate-reverse; }
.blob-3 { width: 300px; height: 300px; background: #c084fc; top: 40%; left: 30%; opacity: 0.4; animation: float 18s infinite alternate; }
@keyframes float { 0% { transform: translate(0, 0); } 100% { transform: translate(50px, 50px); } }

/* === ОПТИМИЗАЦИЯ ПРОИЗВОДИТЕЛЬНОСТИ ДЛЯ МОБИЛЬНЫХ === */
@media (max-width: 900px) {
    .blob { display: none !important; } 
    .bg-decor { 
        display: block !important; 
        background: 
            radial-gradient(circle at 90% -10%, rgba(255, 107, 74, 0.4) 0%, transparent 50%),
            radial-gradient(circle at -10% 110%, rgba(96, 165, 250, 0.4) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(192, 132, 252, 0.2) 0%, transparent 60%);
    }
}

/* === 4. GLASSMORPHISM === */
.glass { background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border); box-shadow: var(--glass-shadow); }
.glass-dark { background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(12px); color: #fff; }

/* === 5. HEADER === */
.site-header { position: fixed; top: 20px; left: 20px; right: 20px; border-radius: var(--radius-ui); z-index: 1000; max-width: var(--container); margin: 0 auto; transform: translate3d(0, 0, 0); will-change: transform; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 70px; padding: 0 20px; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); position: relative; z-index: 1002; white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; }
.logo span { color: var(--accent); }
.footer-col .logo.white { color: #fff; margin-bottom: 15px; opacity: 1; }
.footer-col .logo.white span { color: #fff; }
.header-menu-wrapper { display: flex; align-items: center; width: 100%; flex: 1; }
.nav-menu { display: flex; gap: 30px; margin: 0 auto; padding-left: 60px; }
.nav-link { font-weight: 600; color: var(--text-grey); font-size: 0.95rem; white-space: nowrap; }
.nav-link:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 15px; margin-left: auto; flex-shrink: 0; }
.lang-switch { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.5); padding: 5px 10px; border-radius: 20px; margin-right: 20px; }
.lang-switch a { font-weight: 700; color: var(--text-grey); font-size: 0.85rem; padding: 2px 4px; }
.lang-switch a.active { color: var(--accent); }
.login-link { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); font-size: 0.95rem; cursor: pointer; padding: 5px 10px; }
.login-link:hover { color: var(--accent); }
.login-link i { font-size: 1.2rem; }
.burger { display: none; cursor: pointer; font-size: 1.8rem; color: var(--primary); z-index: 1002; position: relative; }

/* === 6. BUTTONS === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; background: var(--accent); color: var(--white); border-radius: 50px; font-weight: 700; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: 0.3s; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255, 107, 74, 0.3); }
.btn-sm { padding: 10px 24px; font-size: 0.95rem; }
.btn-glow { box-shadow: 0 4px 15px rgba(255, 107, 74, 0.4); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-full { width: 100%; }
.btn-std { width: 100%; background: var(--primary); color: #fff; border: none; display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: 50px; font-weight: 700; font-size: 1rem; transition: 0.3s; }
.btn-std:hover { background: #334155; transform: translateY(-2px); }

/* === 7. FOOTER === */
.site-footer { padding: 60px 0 20px; margin-top: 100px; border-radius: var(--radius-ui) var(--radius-ui) 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { margin-bottom: 20px; color: #ffffff; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #94a3b8; }
.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; color: #94a3b8; font-size: 0.9rem; } 
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.9rem; color: #94a3b8; } 
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: #94a3b8; transition: 0.3s; } 
.footer-bottom-links a:hover { color: #fff; }

/* === 8. ALERTS & FAQ === */
.alert-box { display: flex; gap: 15px; padding: 20px; border-radius: 16px; margin-top: 30px; text-align: left; }
.alert-center { max-width: 600px; margin-left: auto; margin-right: auto; }
.alert-success { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); }
.alert-success .alert-icon { color: #10b981; font-size: 1.8rem; }
.alert-error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); }
.alert-error .alert-icon { color: #ef4444; font-size: 1.8rem; }
.alert-info { background: rgba(96, 165, 250, 0.1); border: 1px solid rgba(96, 165, 250, 0.2); }
.alert-info .alert-icon { color: var(--blue-tech); font-size: 1.8rem; }
.alert-content h4 { margin-bottom: 5px; font-size: 1.1rem; }
.alert-content p { color: var(--text-grey); font-size: 0.95rem; margin: 0; }

details { border-bottom: 1px solid #f1f5f9; overflow: hidden; }
details:last-child { border-bottom: none; }
summary { padding: 25px 0; font-weight: 600; cursor: pointer; position: relative; display: flex; justify-content: space-between; align-items: center; color: var(--primary); font-size: 1.1rem; transition: 0.3s; }
summary::after { content: '+'; font-size: 1.5rem; color: var(--accent); font-weight: 300; transition: 0.3s; }
details[open] summary::after { transform: rotate(45deg); }
details[open] summary { color: var(--accent); }
.faq-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s ease-out; }
details[open] .faq-content { grid-template-rows: 1fr; }
.faq-inner { overflow: hidden; }
.faq-answer { padding: 0 20px 25px 0; color: var(--text-grey); line-height: 1.6; }
.faq-summary-title { 
    color: inherit; 
    transition: 0.3s; 
    display: inline; 
    font-size: inherit; 
    font-weight: inherit; 
    margin: 0; 
    display:inline; font-size:inherit; font-weight:inherit; margin:0;
}

/* === 9. PAGE HEADERS === */
.page-header { text-align: center; padding: 60px 0 40px; }
.page-header-title { font-size: 2.2rem; margin-bottom: 15px; color: var(--heading-navy); line-height: 1.2; font-weight: 800; font-family: 'Manrope', sans-serif; text-wrap: balance; overflow-wrap: break-word; }
.page-header-desc { font-size: 1.1rem; color: var(--text-grey); max-width: 650px; margin: 0 auto; line-height: 1.6; }
.page-header-title.mb-0, .page-header-desc.mb-0 { margin-bottom: 0; }

/* === 10. ARTICLE ITEMS (BLOG) === */
.article-item { 
    background: #ffffff !important; 
    display: flex; flex-direction: column; 
    height: 100%; 
    border-radius: var(--radius-card); 
    padding: 20px; 
    border: 1px solid var(--border); 
    box-shadow: var(--glass-shadow); 
    transition: 0.4s; 
    text-decoration: none; 
}
.article-item:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }

.article-thumb { width: 100%; margin-bottom: 20px; }
.article-thumb img { 
    width: 100%; aspect-ratio: 16/10; object-fit: cover; 
    border-radius: 5px; 
    display: block; 
}

.article-content { display: flex; flex-direction: column; flex-grow: 1; }
.article-title { font-size: 1.3rem; font-weight: 800; color: var(--heading-navy); margin-bottom: 12px; line-height: 1.3; }
.article-intro { font-size: 0.95rem; color: var(--text-grey); line-height: 1.6; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.article-footer { 
    display: flex; justify-content: space-between; align-items: center; 
    margin-top: auto; 
    padding-top: 15px; 
    border-top: 1px solid #f1f5f9; 
}
.article-meta { display: flex; gap: 12px; align-items: center; color: var(--text-grey); font-size: 0.85rem; margin-bottom: 0 !important; }
.article-meta i { color: #64748b !important; font-size: 1.1rem; } 
.article-date { color: #64748b !important; } 

.article-read-more { color: var(--accent) !important; font-size: 0.95rem; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; transition: 0.3s ease; }
.article-item:hover .article-read-more { color: var(--accent-hover) !important; transform: translateX(4px); }

/* === 11. 404 PAGE === */
.error-wrapper { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.error-card { text-align: center; padding: 60px 40px; max-width: 600px; width: 100%; border-radius: var(--radius-card); border: 1px solid var(--border); box-shadow: var(--glass-shadow); margin: 0 auto; }
.error-art { font-size: 8rem; font-weight: 900; line-height: 1; color: var(--accent); margin-bottom: 20px; font-family: 'Manrope', sans-serif; }
.error-subtitle { margin-bottom: 15px; font-size: 2.2rem; }
.error-intro { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.6; }
.error-suggestion { font-size: 1rem; margin-bottom: 30px; line-height: 1.6; }
.error-btn { min-width: 220px; }

/* === BASE RESPONSIVE === */
@media (max-width: 900px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        bottom: 15px;
        left: 15px;
        right: 15px;
    }
    .btn-cookie { width: 100%; }

    .mb-80 { margin-bottom: 50px; } .mt-80 { margin-top: 50px; }
    .mb-60 { margin-bottom: 40px; } .mt-60 { margin-top: 40px; }
    .icon-mobile { display: inline-block; }
    .icon-pc { display: none; }
    .container { padding: 0 10px; }
    .burger { display: flex; align-items: center; justify-content: center; height: 40px; width: 40px; font-weight: 800; font-size: 2rem; color: var(--primary); z-index: 1002; position: relative; }
    
    .site-header { top: 10px; left: 10px; right: 10px; border-radius: 24px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transform: translate3d(0,0,0); box-shadow: 0 4px 20px rgba(0,0,0,0.05); border: 1px solid rgba(255,255,255,0.6); }
    
    .header-inner { padding: 0 20px; }
    main { padding-top: 100px; }
    .header-menu-wrapper { position: absolute; top: 0; left: 0; right: 0; width: 100%; height: auto; max-height: calc(100vh - 40px); background: #ffffff; border-radius: 24px; padding: 90px 20px 40px 20px; gap: 0; z-index: 999; transition: opacity 0.3s ease, transform 0.3s ease; opacity: 0; pointer-events: none; transform: translateY(-20px); box-shadow: 0 20px 60px rgba(0,0,0,0.15); display: flex; flex-direction: column; justify-content: flex-start; align-items: center; overflow-y: auto; }
    .header-menu-wrapper.open { opacity: 1; pointer-events: all; transform: translateY(0); }
    .header-menu-wrapper.open * { animation: none; opacity: 1; }
    nav { width: 100%; display: flex; align-items: center; margin-top: 0; order: 2; margin-bottom: 40px; }
    .nav-menu { flex-direction: column; text-align: center; gap: 20px; margin: 0 auto; padding: 0; width: 100%; }
    
    .nav-link { 
        font-family: 'Manrope', sans-serif; 
        font-size: 1.9rem; 
        font-weight: 800; 
        color: var(--heading-navy); 
        letter-spacing: -0.02em; 
    }
    
    .header-actions { display: contents; }
    .lang-switch { order: 3; display: flex; justify-content: space-evenly; width: 100%; align-self: center; background: transparent; margin: 0; padding: 0; border: none; margin-bottom: 40px; }
    .lang-switch a { width: 50px; height: 50px; border-radius: 50%; background: #f1f5f9; color: var(--text-grey); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; transition: 0.2s; border: 1px solid transparent; }
    .lang-switch a.active { background: var(--primary); color: #fff; transform: scale(1.1); box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2); }
    
    .btn-order-header { order: 1; display: inline-flex; justify-content: center; padding: 12px 28px; font-size: 1rem; min-width: 220px; margin-bottom: 40px; box-shadow: 0 10px 25px rgba(255, 107, 74, 0.25); }
    
    .login-link { order: 4; width: 100%; justify-content: center; padding: 12px; border: none; border-radius: 50px; margin-top: 0; color: var(--text-grey); }
    .login-link:hover { background: #f8fafc; color: var(--primary); }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .site-footer { padding: 40px var(--pad-mobile-x); margin: 0 10px 10px 10px; border-radius: 24px; width: auto; }
    .site-footer .container { padding: 0; }
    .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
    .footer-bottom-links { flex-direction: column; gap: 10px; width: 100%; }
    
    .page-header { padding: 30px 0 20px; }
    .page-header-title { font-size: 1.9rem; max-width: 100%; padding: 0 20px; margin-left: auto; margin-right: auto; }
    .page-header-desc { font-size: 1rem; padding: 0 20px; }

    .blog-grid { display: grid; grid-template-columns: 1fr; gap: 25px; }
    .article-item { 
        border-radius: 24px; 
        padding: 20px !important; 
        margin-top: 2px; 
    }
    .article-thumb { margin-bottom: 15px; }
    .article-thumb img { border-radius: 5px; } 

    .blog-grid .article-intro {
        display: block; 
        -webkit-line-clamp: unset;
        margin-bottom: 10px; 
    }

    .error-card { padding: 40px 20px; }
    .error-art { font-size: 6rem; }
    .error-subtitle { font-size: 1.8rem; }
}


/* home - Updated: 28.02.2026 */

/* === HERO SECTION === */
.hero-section { padding: 60px 20px 30px 20px; border-radius: var(--radius-card); text-align: center; margin-top: 20px; max-width: 1140px; margin-left: auto; margin-right: auto; }
.hero-inner { max-width: 800px; margin: 0 auto; }
.hero-title { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 20px; color: var(--heading-navy); line-height: 1.2; }
.hero-desc { font-size: 1.2rem; color: #475569; margin-bottom: 40px; }
.hero-desc-price { max-width: 600px; margin: 0 auto 30px; }
.hero-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn-demo { display: flex; align-items: center; gap: 8px; }

/* Изменен margin-top с 60px на 40px для идеальной симметрии с hero-desc */
.mockup-container { margin-top: 40px; display: flex; justify-content: center; }
.mockup-wrapper { display: block; text-decoration: none; width: 100%; max-width: 900px; transition: transform 0.3s; position: relative; }
.mockup-wrapper:hover { transform: translateY(-5px); }
.monitor-frame { position: relative; background: #1e293b; border-radius: 12px; padding: 12px; box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.4); z-index: 2; }
.monitor-screen { position: relative; border-radius: 4px; overflow: hidden; background: #000; font-size: 0; aspect-ratio: 16/9; }
.monitor-screen img { width: 100%; height: 100%; object-fit: cover; }

/* Используем attr() для получения текста из HTML-атрибута data-hover-text */
.monitor-screen::after { content: attr(data-hover-text) ' \2197'; position: absolute; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.5rem; font-weight: 700; opacity: 0; transition: 0.3s; backdrop-filter: blur(2px); pointer-events: none; }

.mockup-wrapper:hover .monitor-screen::after { opacity: 1; }
.monitor-stand { height: 40px; width: 120px; background: #334155; margin: 0 auto; position: relative; z-index: 1; }
.monitor-base { height: 8px; width: 220px; background: #1e293b; margin: 0 auto; border-radius: 4px; position: relative; z-index: 1; box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* На десктопе iphone-frame скрыт (показывается monitor-frame) */
.iphone-frame { display: none; border-radius: 32px !important; border: 6px solid #1e293b !important; background: #000 !important; overflow: hidden !important; box-shadow: 0 15px 30px rgba(0,0,0,0.25) !important; aspect-ratio: 1 / 2 !important; }
.iphone-frame img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }

/* === COMMON SECTIONS === */
.section-header { text-align: center; margin-top: 60px; margin-bottom: 30px; }
.section-header-left { text-align: left; margin-top: 0; margin-bottom: 20px; }
.section-title { font-size: 2.0rem; margin-bottom: 10px; } 
.section-title-sm { font-size: 1.8rem; }
.section-sub { color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; }
.section-sub-dark { color: var(--primary); max-width: 600px; margin: 0 auto; font-weight: 500; }

/* === FAQ SECTION (Глобальный белый блок) === */
.faq-section { background: #fff; border-radius: var(--radius-card); padding: 40px; border: 1px solid var(--border); box-shadow: var(--glass-shadow); }

/* === PROCESS SECTION === */
.process-section { background: var(--dark-bg); color: #fff; padding: 80px 40px; margin-top: 60px; position: relative; overflow: hidden; box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3); border-radius: var(--radius-card); max-width: 1140px; width: calc(100% - 40px); margin-left: auto; margin-right: auto; -webkit-font-smoothing: antialiased; }
.process-section.no-mt { margin-top: 0; padding-bottom: 60px; }
.process-section .section-title, .process-header-wrapper .section-title { color: #ffffff; }
.process-header-wrapper { position: relative; z-index: 2; text-align: center; margin-bottom: 50px; max-width: 800px; margin-left: auto; margin-right: auto; }
.process-steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-top: 50px; position: relative; max-width: 900px; margin-left: auto; margin-right: auto; }
.process-steps::before { content: ''; position: absolute; top: 35px; left: calc((100% - 80px) / 6); right: calc((100% - 80px) / 6); height: 2px; background: rgba(255,255,255,0.1); border-top: 2px dashed rgba(255,255,255,0.3); z-index: 0; }
.step-item { position: relative; z-index: 1; text-align: center; }
.step-icon-box { width: 70px; height: 70px; background: #192336; border: 1px solid var(--blue-tech); border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--blue-tech); position: relative; z-index: 2; transition: 0.3s; }
.step-item:hover .step-icon-box, .step-item.active .step-icon-box { background: var(--blue-tech); color: #fff; box-shadow: 0 0 20px rgba(96, 165, 250, 0.4); border-color: var(--blue-tech); }
.step-item h3 { font-size: 1.2rem; margin-bottom: 10px; color: #fff; }
.step-item p { font-size: 0.95rem; color: #94a3b8; line-height: 1.5; }

/* Финальный текст процесса (Ракета) - Убрана рамка, оставлена только верхняя линия */
.process-final-wrapper { text-align: center; margin: 50px auto 0; padding-top: 30px; max-width: 800px; border-top: 1px solid rgba(255,255,255,0.15); }
.process-final-text { font-size: 1.2rem; font-weight: 700; color: #fff; margin: 0; }

/* === BENTO GRID (Home Features) === */
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, auto); gap: 20px; margin-top: 40px; max-width: 1140px; margin-left: auto; margin-right: auto; }
.bento-card:nth-child(1) { grid-area: 1 / 1 / 3 / 3; }
.bento-card:nth-child(2) { grid-area: 1 / 3 / 3 / 4; }
.bento-card:nth-child(3) { grid-area: 1 / 4 / 2 / 5; }
.bento-card:nth-child(4) { grid-area: 3 / 3 / 4 / 4; }
.bento-card:nth-child(5) { grid-area: 3 / 1 / 4 / 3; }
.bento-card:nth-child(6) { grid-area: 2 / 4 / 4 / 5; }

/* ИСПРАВЛЕНИЕ ВОЗДУХА: Весь контент во всех карточках прижимаем к верхнему краю */
.bento-card { background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: var(--radius-card); padding: 30px; display: flex; flex-direction: column; justify-content: flex-start; transition: 0.4s; position: relative; height: 100%; }
.bento-card:hover { background: rgba(255, 255, 255, 0.95); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }

.bento-icon { font-size: 3rem; margin-bottom: 20px; color: var(--accent); display: flex; align-items: center; transition: 0.3s; }
.bento-title { font-size: 1.3rem; margin-bottom: 10px; transition: 0.3s; }
.bento-text { font-size: 0.95rem; color: var(--text-grey); transition: 0.3s; }

.bento-dark { background: var(--primary); color: #fff; }
.bento-dark .bento-title { color: #fff; }
.bento-dark .bento-text { color: #cbd5e1; }
.bento-dark .bento-icon { color: #60a5fa; }
.bento-dark:hover { background: #fff; border-color: var(--primary); }
.bento-dark:hover .bento-title { color: var(--primary); } 
.bento-dark:hover .bento-text { color: var(--text-grey); }

.bento-accent { background: linear-gradient(135deg, #ff6b4a, #ff9f43); color: #fff; }
.bento-accent .bento-text, .bento-accent .bento-icon, .bento-accent .bento-title { color: #fff; }
.bento-accent:hover { background: #fff; border-color: var(--accent); }
.bento-accent:hover .bento-title, .bento-accent:hover .bento-icon { color: var(--accent) !important; }
.bento-accent:hover .bento-text { color: var(--text-grey); }

/* Контейнеры для прижимания контента к низу (чтобы "воздух" оставался снизу карточки) */
.bento-action,
.bento-bottom-highlight { margin-top: auto; padding-top: 20px; }
.bento-bottom-highlight { font-weight: 700; color: var(--accent); }

/* ИСПРАВЛЕНИЕ ССЫЛКИ: сюда перенесли inline стили */
.bento-link { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 800; transition: 0.3s; }
.bento-accent:hover .bento-link { color: var(--accent); }


/* Animation Hints */
.scroll-hint, .scroll-dots { display: none; }
@keyframes hintHandMove { 0% { transform: translateX(20px); opacity: 1; } 100% { transform: translateX(-20px); opacity: 0; } }

/* === RESPONSIVE === */
@media (max-width: 900px) {
    /* Фикс заголовков на мобильных */
    .section-title { font-size: 1.7rem; max-width: 280px; margin: 0 auto 15px auto; line-height: 1.25; text-align: center; }
    .section-header-left .section-title { text-align: center; margin-left: auto; margin-right: auto; max-width: 100%; }

    /* Добавляем "воздух" для подзаголовков (сужаем ширину строки) */
    .section-sub, .section-sub-dark { padding: 0 20px; font-size: 0.95rem; line-height: 1.5; }

    .hero-section, .bento-card { border-radius: 24px; }
    /* Меняем margin-top: 0 на margin-top: 10px для идеальной синхронизации с bio */
    .hero-section { margin-top: 10px; padding-top: 40px; padding-bottom: 20px; }
    .hero-btns { flex-direction: column; align-items: center; width: 100%; gap: 15px; }
    /* Кнопки строго 250px, как ширина айфона */
    .hero-btns .btn, .hero-btns .btn-outline { width: 250px; min-width: 250px; }
    
    .bento-grid { grid-template-columns: 1fr; gap: 20px; }
    .bento-card { grid-area: auto !important; }
    
    .process-section { width: calc(100% - 20px); margin-left: auto; margin-right: auto; padding: 60px 20px; }
    .process-steps { display: flex; flex-direction: column; gap: 40px; margin-top: 20px; padding-right: 10px; }
    .process-steps::before { display: none; }
    .step-item { display: flex; flex-direction: row; align-items: flex-start; text-align: left; padding-left: 0; z-index: 1; max-width: 100%; position: relative; }
    .step-item:not(:last-child)::after { content: ''; position: absolute; left: 35px; top: 70px; bottom: -40px; width: 0; border-left: 2px dashed rgba(255,255,255,0.3); z-index: 0; }
    .step-icon-box { margin: 0 20px 0 0; flex-shrink: 0; position: relative; z-index: 2; }
    .step-item > div { padding-top: 5px; }
    
    /* Ракета - отступы на мобильных без рамок */
    .process-final-wrapper { margin-top: 40px; padding-top: 30px; max-width: 100%; }
    .faq-section { padding: 30px 20px; }

    .monitor-frame, .monitor-stand, .monitor-base { display: none; }
    /* Показываем айфон на мобильном и применяем стили */
    .iphone-frame { display: block; position: relative !important; margin: -10px auto 0 auto !important; width: 250px !important; height: auto !important; }
    
    .scroll-hint i { display: inline-block; color: var(--primary); animation: hintHandMove 2s infinite ease-in-out; }
    .scroll-hint { display: block !important; text-align: center; width: 100%; margin-top: 0; padding-bottom: 20px; font-size: 2.5rem; opacity: 0.8; }
}

/* pricing - Updated: 28.02.2026 */

/* === PRICING CARDS === */
.pricing-wrapper { display: flex; gap: 15px; margin-top: 30px; justify-content: center; align-items: flex-end; scroll-padding: 0 var(--pad-mobile-x); }
.pricing-card { flex: 1; max-width: 350px; padding: 30px; border-radius: var(--radius-card); background: rgba(255,255,255,0.7); border: 1px solid #fff; backdrop-filter: blur(10px); text-align: center; transition: 0.3s; position: relative; flex-shrink: 0; display: flex; flex-direction: column; }
.pricing-card.standard { border-color: var(--primary); }
.pricing-card.vip { background: #fff; border: 2px solid var(--accent); transform: scale(1.05); z-index: 10; box-shadow: 0 20px 50px rgba(255, 107, 74, 0.15); padding: 40px 30px; }
.badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.price-title { font-size: 1.2rem; font-weight: 700; color: var(--text-grey); text-transform: uppercase; letter-spacing: 1px; }
.price-title.vip { color: var(--accent); }
.price-tag { font-size: 2.8rem; font-weight: 800; margin: 15px 0; color: var(--primary); line-height: 1; }
.price-tag span { font-size: 1rem; color: var(--text-grey); font-weight: 500; }
.price-desc { font-size: 0.9rem; color: var(--text-grey); margin-bottom: 25px; }

/* Прижимаем кнопку к самому низу карточки */
.pricing-card .btn { margin-top: auto; }

/* === COMPARISON TABLE === */
.comparison-table-wrapper { margin: 60px auto 0; max-width: 1140px; background: rgba(255,255,255,0.5); border-radius: var(--radius-card); padding: 40px; backdrop-filter: blur(10px); display: flex; flex-direction: column; }
.table-scroll-container { overflow-x: auto; width: 100%; padding-bottom: 5px; }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.comparison-table th, .comparison-table td { padding: 15px; text-align: center; border-bottom: 1px solid rgba(0,0,0,0.05); }
.comparison-table th:first-child, .comparison-table td:first-child { text-align: left; font-weight: 600; color: var(--primary); padding-left: 20px; }
.comparison-table th { font-size: 1.1rem; color: var(--primary); padding-bottom: 20px; }
.comparison-table .highlight-col { background: rgba(255, 107, 74, 0.05); color: var(--accent); font-weight: 700; }
.comparison-table td i { font-size: 1.2rem; }
.comparison-table .ph-check { color: var(--accent); }
.comparison-table .ph-x { color: var(--text-grey); opacity: 0.5; }

/* === SEGMENTATION GRID === */
.seg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; max-width: 1140px; margin-left: auto; margin-right: auto; }
.seg-col { display: flex; flex-direction: column; gap: 20px; }
.seg-card { border-radius: var(--radius-card); padding: 30px; display: flex; flex-direction: column; justify-content: flex-start; transition: 0.4s; position: relative; border: 1px solid rgba(255,255,255,0.7); height: 100%; }
.seg-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.seg-icon { font-size: 3rem; margin-bottom: 20px; display: flex; align-items: center; color: var(--blue-tech); }
.seg-title { font-size: 1.3rem; font-weight: 800; color: var(--primary); margin-bottom: 5px; }
.seg-subtitle { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; color: var(--text-grey); margin-bottom: 15px; letter-spacing: 0.5px; }
.seg-text { font-size: 0.95rem; color: var(--text-grey); line-height: 1.6; }
.seg-badge { position: absolute; top: 20px; right: 20px; font-size: 0.75rem; font-weight: 800; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.seg-card-start { background: rgba(255,255,255,0.7); backdrop-filter: blur(10px); }
.seg-card-start .seg-badge { background: #e2e8f0; color: var(--text-grey); }
.seg-card-std { background: linear-gradient(135deg, #ff6b4a, #ff9f43); border: none; color: #fff; }
.seg-card-std .seg-title { color: #fff; }
.seg-card-std .seg-subtitle, .seg-card-std .seg-text { color: rgba(255,255,255,0.9); }
.seg-card-std .seg-icon { color: #fff; }
.seg-card-std .seg-badge { background: #fff; color: var(--accent); }

/* ИСПРАВЛЕНИЯ ДЛЯ VIP КАРТОЧКИ: Цвета и размер заголовка */
.seg-card-vip { background: var(--primary); color: #fff; border: 1px solid var(--primary); padding: 40px; }
.seg-card-vip .seg-title { color: #fff; } 
.seg-card-vip .seg-subtitle { color: #fff; font-size: 1rem; } 
.seg-card-vip .seg-text { color: #cbd5e1; font-size: 1.05rem; }
.seg-card-vip .seg-icon { color: var(--accent) !important; font-size: 4rem; } 
.seg-card-vip .seg-badge { background: var(--accent); color: #fff; } 

.vip-features-list { margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); }
.vip-features-title { color: #fff; font-weight: 700; margin-bottom: 20px; font-size: 1.1rem; } 
.vip-feat-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.vip-feat-check { color: var(--accent); font-size: 1.2rem; margin-top: 2px; } 
.vip-feat-content h4 { color: #fff; font-size: 1.05rem; margin-bottom: 3px; font-weight: 600; }
.vip-feat-content p { color: #94a3b8; font-size: 0.9rem; line-height: 1.4; margin: 0; }

/* === SECURITY (Pricing Page) === */
.sec-features-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 60px; }

/* Security Box - Убраны отступы справа/снизу на ПК, чтобы заголовок встал ровно с FAQ */
.security-box { height: 100%; display: flex; flex-direction: column; justify-content: flex-start; padding: 0 20px 0 0; }
.security-box p { font-size: 1.05rem; line-height: 1.6; color: var(--text-grey); margin-bottom: 30px; }
.security-icons { display: flex; gap: 20px; font-size: 2.5rem; color: var(--blue-tech); }


/* === PRICING RESPONSIVE === */
@media (max-width: 900px) {
    .pricing-card, .comparison-table-wrapper { border-radius: 24px; }
    .seg-grid { grid-template-columns: 1fr; }
    .seg-card { padding: 25px; } 
    .seg-card-vip { padding: 30px 20px; }
    
    .pricing-wrapper { 
        display: flex; 
        flex-direction: row; 
        align-items: stretch; 
        justify-content: flex-start; 
        overflow-x: auto; 
        scroll-snap-type: x mandatory; 
        -webkit-overflow-scrolling: touch; 
        scrollbar-width: none; 
        width: calc(100% + 20px); 
        margin-left: -10px; 
        padding: 30px var(--pad-mobile-x); 
        gap: 15px; 
        scroll-padding: 0 var(--pad-mobile-x); 
        margin-top: 0; 
    }
    .pricing-wrapper::-webkit-scrollbar { display: none; }
    
    /* Выравниваем padding для всех карточек, чтобы кнопки на мобильном были на одной идеальной линии */
    .pricing-card { min-width: 75vw; max-width: 300px; scroll-snap-align: center; scroll-snap-stop: always; margin-right: 0; transform: none !important; padding: 30px; }
    .pricing-card.vip { padding: 30px; }
    
    .pricing-card:last-child { margin-right: var(--pad-mobile-x); }
    .comparison-table-wrapper { margin: 40px 0; padding: 20px var(--pad-mobile-x); width: 100%; }
    .table-scroll-container { margin-right: calc(-1 * var(--pad-mobile-x)); padding-right: var(--pad-mobile-x); }
    .vip-features-list { border-top: none; margin-top: 25px; padding-top: 0; }
    
    /* Адаптация блока безопасности */
    .sec-features-wrapper { display: flex; flex-direction: column; gap: 40px; margin-top: 40px; }
    
    /* Мобильная безопасность - возвращен полупрозрачный блок Glassmorphism */
    .security-box { 
        height: auto; 
        text-align: center; 
        padding: 30px 20px; 
        background: rgba(255, 255, 255, 0.4); 
        backdrop-filter: blur(10px); 
        border: 1px solid var(--border); 
        border-radius: var(--radius-card); 
    }
    .security-icons { justify-content: center; }

    /* Центрируем и сужаем заголовки (включая FAQ) на мобильных для компактности */
    .section-header-left { text-align: center; margin-bottom: 20px; }
    .section-header-left .section-title { 
        max-width: 280px; 
        margin: 0 auto; 
        line-height: 1.25;
    }
}

/* article - Updated: 28.02.2026 */

/* === REVIEWS & SCROLL === */
.reviews-wall { column-count: 3; column-gap: 20px; margin-top: 40px; }
.review-item { break-inside: avoid; margin-bottom: 20px; background: rgba(255,255,255,0.8); padding: 25px; border-radius: var(--radius-card); border: 1px solid rgba(255,255,255,0.9); box-shadow: 0 4px 6px rgba(0,0,0,0.01); display: flex; flex-direction: column; gap: 15px; }
.review-top { display: flex; align-items: flex-start; gap: 15px; } 
.review-avatar-placeholder { width: 60px; height: 60px; border-radius: 50%; background: #e2e8f0; display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 1.8rem; flex-shrink: 0; overflow: hidden; }
.review-avatar-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.review-meta { display: flex; flex-direction: column; justify-content: center; padding-top: 5px; }
.review-author { font-weight: 700; color: var(--primary); font-size: 1rem; line-height: 1.2; margin-bottom: 4px; }
.review-date { font-size: 0.85rem; color: #94a3b8; }
.review-stars { color: var(--accent); font-size: 0.9rem; margin-top: 2px; }
.review-stars-svg { display: flex; gap: 2px; color: #ffb400; margin-top: 5px; }
.review-stars-svg svg { width: 16px; height: 16px; fill: currentColor; }
.review-text { color: #475569; font-size: 0.95rem; line-height: 1.5; }
.review-text p { margin-bottom: 10px; } 

/* === BLOG GRID === */
/* Сравняли gap с главной страницей (20px вместо 30px) */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; align-items: stretch; }
.blog-grid-home { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 30px; }

.article-item { background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(10px); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 20px; box-shadow: var(--glass-shadow); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; text-decoration: none; height: 100%; position: relative; }
.article-item:hover { transform: translateY(-8px); box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08); background: #fff; border-color: #fff; }

/* Уменьшили закругление плитки блога до строгих 5px */
.article-thumb { width: 100%; aspect-ratio: 16 / 10; border-radius: 5px; overflow: hidden; background: var(--bg-light); position: relative; flex-shrink: 0; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.article-item:hover .article-thumb img { transform: scale(1.05); }

.article-content { padding: 20px 0 0 0; display: flex; flex-direction: column; flex: 1; }
/* Увеличен отступ СВЕРХУ от заголовка (снизу от даты) с 12px до 18px */
.article-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 0.85rem; color: #94a3b8; font-weight: 600; }
.article-meta i { font-size: 1.1rem; color: var(--blue-tech); margin-right: 4px; vertical-align: middle; }
.article-date { color: #94a3b8; }
/* Увеличен отступ СНИЗУ от заголовка (до интро) с 12px до 18px */
.article-title { font-size: 1.25rem; font-weight: 800; color: var(--heading-navy); margin-bottom: 18px; line-height: 1.4; transition: color 0.3s ease; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-item:hover .article-title { color: var(--accent); }
.article-intro { font-size: 0.95rem; color: var(--text-grey); line-height: 1.6; margin-bottom: 25px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.article-read-more { font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 5px; font-size: 0.95rem; transition: all 0.3s ease; margin-top: auto; }
.article-item:hover .article-read-more { color: var(--accent); gap: 10px; }

/* === ARTICLE PAGE & TYPOGRAPHY === */
.article-container { max-width: 900px; margin: 0 auto; }

/* Хлебные крошки */
.breadcrumbs { padding: 20px 50px 30px; font-size: 0.9rem; color: #94a3b8; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.breadcrumbs a { color: var(--primary); transition: 0.3s; text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { color: var(--text-grey); font-weight: 400; }
.bc-sep { color: #cbd5e1; font-weight: 400; }

.article-card { background: #fff; border-radius: var(--radius-card); padding: 50px; box-shadow: var(--glass-shadow); border: 1px solid var(--border); margin-bottom: 40px; }
.article-h1 { font-size: 2.2rem; line-height: 1.2; margin-bottom: 20px; color: var(--heading-navy); }

/* Мета-строка под H1 */
.meta-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.95rem; color: #64748b; margin-bottom: 40px; font-weight: 500; padding-bottom: 20px; border-bottom: 1px solid #f1f5f9; }
.meta-left { display: flex; align-items: center; }
.meta-right { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.meta-author-link { display: flex; align-items: center; gap: 10px; color: var(--primary); font-weight: 700; transition: 0.3s; }
.meta-author-link:hover { color: var(--accent); }
.meta-author-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.meta-divider { width: 4px; height: 4px; background: #cbd5e1; border-radius: 50%; }

/* Интерактивный Рейтинг */
.article-rating { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.stars-outer { display: inline-flex; gap: 2px; color: #fbbf24; font-size: 1.15rem; transition: 0.3s; }
.article-rating:not([data-voted="1"]) .stars-outer { cursor: pointer; }
.rating-text { font-size: 1rem; color: var(--heading-navy); font-weight: 800; display: inline-flex; align-items: center; gap: 4px; }
.rating-cnt-wrap { color: #94a3b8; font-weight: 500; font-size: 0.85rem; }
.rating-success-msg { color: #10b981; font-size: 1.2rem; display: none; opacity: 0; transform: scale(0.5); transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); margin-left: 2px; }
.rating-success-msg.show { display: inline-block; opacity: 1; transform: scale(1); }

/* Главное фото: уменьшили закругление до 5px */
.article-hero-img { margin-bottom: 40px; border-radius: 5px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.article-hero-img img { width: 100%; height: auto; display: block; object-fit: cover; }

/* Типографика статьи (Строго 1rem) */
.content-typography p { font-size: 1rem; line-height: 1.8; color: #334155; margin-bottom: 20px; }
.content-typography h2 { font-size: 2.0rem; margin: 40px 0 20px; color: var(--heading-navy); }
.content-typography h3 { font-size: 1.6rem; margin: 30px 0 15px; color: var(--heading-navy); }
.content-typography h4 { font-size: 1.4rem; margin: 25px 0 10px; color: var(--heading-navy); }
.content-typography a { color: var(--blue-tech); text-decoration: none; font-weight: 600; transition: 0.3s; }
.content-typography a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.content-typography blockquote { border-left: 4px solid var(--accent); padding-left: 20px; font-style: italic; color: #64748b; margin: 30px 0; font-size: 1rem; }

/* Стили списков (Строго 1rem) */
.content-typography ul { list-style: disc; margin-left: 25px; margin-bottom: 25px; padding-left: 0; }
.content-typography ul li { margin-bottom: 12px; font-size: 1rem; line-height: 1.8; color: #334155; padding-left: 5px; }
.content-typography ul li::marker { color: var(--accent); font-size: 1.2em; }

.content-typography ol { list-style: decimal; margin-left: 25px; margin-bottom: 25px; padding-left: 0; }
.content-typography ol li { margin-bottom: 12px; font-size: 1rem; line-height: 1.8; color: #334155; padding-left: 5px; }
.content-typography ol li::marker { color: var(--accent); font-weight: 800; font-size: 1.05em; }

/* Дополнительные фото: уменьшили закругление до 5px */
.content-img-wrapper { margin: 40px 0; text-align: center; }
.content-img-wrapper img { width: 100%; height: auto; display: block; border-radius: 5px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); margin: 0 auto; }

/* CTA внутри статьи */
.article-cta-box { background: linear-gradient(135deg, rgba(96, 165, 250, 0.08), rgba(59, 130, 246, 0.03)); border: 1px solid rgba(96, 165, 250, 0.2); border-radius: 20px; padding: 30px; display: flex; align-items: center; gap: 25px; margin: 50px 0; }
.article-cta-box .cta-icon { font-size: 3.5rem; flex-shrink: 0; line-height: 1; }
.article-cta-box .cta-info { flex: 1; }
.article-cta-box h4 { margin-bottom: 8px; font-size: 1.3rem; color: var(--heading-navy); font-weight: 800; font-family: 'Manrope', sans-serif; }
.article-cta-box p { margin-bottom: 0; color: var(--text-grey); font-size: 1rem; line-height: 1.5; }
.article-cta-box .cta-action { flex-shrink: 0; }

/* Блок Поделиться и Иконки Соцсетей */
.share-block { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 50px; padding-top: 30px; border-top: 1px solid #f1f5f9; }
.share-block strong { color: var(--heading-navy); font-size: 1.1rem; }
.share-icons { display: flex; gap: 15px; flex-wrap: wrap; }
.share-icon { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; text-decoration: none; transition: 0.3s; border: none; box-shadow: 0 4px 6px rgba(0,0,0,0.05); background: var(--text-grey); }
.share-icon svg { width: 22px; height: 22px; fill: #fff; transition: 0.3s; }
.share-icon:hover { transform: translateY(-3px); background: var(--heading-navy); box-shadow: 0 8px 15px rgba(0,0,0,0.15); }

/* Заголовки секций над карточками (прижаты влево) */
.outside-section-title { font-size: 2.0rem; text-align: left; margin: 60px 0 40px 0; padding-left: 40px; color: var(--heading-navy); font-weight: 800; font-family: 'Manrope', sans-serif; width: 100%; line-height: 1.2; }

/* Карточка автора в подвале статьи */
.author-block-bottom { background: #fff; border-radius: var(--radius-card); padding: 40px; margin-bottom: 50px; border: 1px solid var(--border); box-shadow: var(--glass-shadow); display: block; }
.abb-main { display: flex; flex-direction: column; gap: 25px; }

/* Верхняя часть (2 колонки: Текст и Фото) */
.abb-top-cols { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.abb-col-text { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.abb-col-img { width: 30%; min-width: 200px; flex-shrink: 0; display: flex; justify-content: center; align-items: center; }

.abb-name { font-size: 2.2rem; font-weight: 800; color: var(--heading-navy); line-height: 1.15; margin-bottom: 12px; }
.abb-img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 4px solid #f8fafc; box-shadow: 0 4px 15px rgba(0,0,0,0.05); flex-shrink: 0; }
.abb-intro { font-size: 1.05rem; color: var(--primary); font-weight: 400; line-height: 1.6; margin-bottom: 15px; max-width: 100%; }
.abb-profile-link-wrapper { margin: 0; }

/* 3 Строка: Призыв к партнерству (с верхним разделителем) */
.abb-row-3 { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; padding-top: 25px; border-top: 1px solid #f1f5f9; }
.abb-cta-text { font-size: 1rem; color: var(--text-grey); font-weight: 500; margin: 0; line-height: 1.5; }

/* Обновлены цвета ссылок профиля и партнера */
.abb-profile-link-inline { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-tech); font-weight: 800; font-size: 1.05rem; text-decoration: none; transition: 0.3s; }
.abb-profile-link-inline:hover { color: var(--primary); transform: translate(2px, -2px); }

.abb-partner-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent); font-size: 1.05rem; transition: 0.3s; text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 2px; }
.abb-partner-link:hover { color: var(--accent-hover); border-color: var(--accent-hover); gap: 10px; }
.abb-partner-link i { font-size: 1.1rem; transition: 0.3s; }

/* Еще от автора (Список - стиль один в один как у FAQ) */
.more-articles-block { margin-bottom: 60px; background: #fff; border-radius: var(--radius-card); border: 1px solid var(--border); box-shadow: var(--glass-shadow); padding: 40px; }
.more-articles-list { display: flex; flex-direction: column; }
.ma-list-item { display: flex; justify-content: space-between; align-items: center; padding: 25px 0; border-bottom: 1px solid #f1f5f9; transition: 0.3s; text-decoration: none; gap: 20px; font-weight: 600; color: var(--primary); font-size: 1.1rem; }
.ma-list-item:last-child { border-bottom: none; }
.ma-list-title { flex: 1; transition: 0.3s; line-height: 1.4; padding-right: 15px; }
.ma-arrow { font-size: 1.5rem; color: var(--accent); font-weight: 300; transition: 0.3s; }

.ma-list-item:hover { color: var(--accent); }
.ma-list-item:hover .ma-list-title { color: var(--accent); }
.ma-list-item:hover .ma-arrow { transform: translateX(5px); }

/* Расширенный список (Editorial List) для страницы Автора */
.ed-list-item { display: flex; justify-content: space-between; align-items: center; padding: 30px 0; border-bottom: 1px solid #f1f5f9; transition: 0.3s; text-decoration: none; gap: 20px; }
.ed-list-item:last-child { border-bottom: none; }
.ed-list-content { flex: 1; display: flex; flex-direction: column; gap: 8px; padding-right: 15px; }
.ed-list-title { font-size: 1.4rem; font-weight: 800; color: var(--heading-navy); line-height: 1.3; transition: 0.3s; }
.ed-list-meta { font-size: 0.85rem; color: #94a3b8; font-weight: 600; display: flex; align-items: center; }
.ed-list-meta i { margin-right: 4px; font-size: 1rem; }
.ed-list-intro { font-size: 1rem; color: var(--text-grey); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 5px; }

.ed-list-item:hover .ed-list-title { color: var(--accent); }
.ed-list-item:hover .ma-arrow { transform: translateX(5px); color: var(--accent); }

/* Ссылка "Назад в блог" (левое выравнивание) */
.back-to-blog { text-align: left; margin-top: 40px; margin-bottom: 60px; padding-left: 40px; }
.back-to-blog a { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-tech); font-weight: 800; font-size: 1.05rem; transition: 0.3s; text-decoration: none; }
.back-to-blog a:hover { color: var(--primary); transform: translateX(-4px); }
.back-to-blog a i { font-size: 1.1rem; transition: 0.3s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    /* Сравняли gap для планшетов (20px вместо 25px) */
    .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 900px) {
    /* Сетка блога: правильные отступы без костылей */
    .blog-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }

    .bio-page-container { margin-top: 0; }

    /* Компенсируем отступ от шапки: меньше сверху, чуть больше снизу */
    .breadcrumbs { padding: 10px var(--pad-mobile-x) 25px; }

    /* Больше воздуха в блоке мета-данных */
    .meta-row { flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 25px; margin-bottom: 30px; }
    .meta-right { gap: 10px; width: 100%; }
    
    /* Уменьшен отступ ПЕРЕД линией (margin-top) */
    .share-block { flex-direction: column; align-items: flex-start; text-align: left; padding-bottom: 15px; margin-top: 30px; padding-top: 20px; }
    .share-icons { justify-content: flex-start; max-width: 260px; margin: 0; gap: 12px; }
    
    /* Сетка автора: Единая структура 2 колонок (как на ПК, без складывания в столбик) */
    .abb-main { gap: 20px; }
    .abb-top-cols { flex-direction: row; align-items: flex-start; gap: 15px; }
    
    /* Пропорция 60% на 40% для текста и фото */
    .abb-col-text { flex: 0 0 60%; width: 60%; }
    .abb-col-img { flex: 1; width: auto; min-width: 0; justify-content: flex-end; }
    
    .abb-name { font-size: 1.5rem; width: 100%; margin-bottom: 16px; }
    
    /* Увеличенное фото с защитой от сплющивания */
    .abb-img { width: 120px; height: 120px; max-width: 100%; height: auto; aspect-ratio: 1 / 1; }
    
    .abb-intro { font-size: 0.95rem; margin-bottom: 15px; }
    .abb-cta-text { font-size: 0.95rem; margin-bottom: 0; }
    .abb-row-3 { padding-top: 20px; }
    
    .ma-list-item { flex-direction: row; align-items: center; justify-content: space-between; gap: 15px; padding: 20px 0; }
    .ma-list-title { padding-right: 0; font-size: 1.05rem; }
    .ma-arrow { font-size: 1.3rem; }

    /* Мобильный Editorial List */
    .ed-list-item { padding: 25px 0; align-items: flex-start; }
    .ed-list-content { padding-right: 0; gap: 10px; }
    .ed-list-title { font-size: 1.25rem; }
    .ed-list-intro { font-size: 0.95rem; -webkit-line-clamp: 3; }
    .ed-list-item .ma-arrow { margin-top: 4px; }

    .scroll-wrapper-mobile { background: linear-gradient(to bottom, #ffffff, #f8fafc); border-radius: var(--radius-card); padding: 0; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid rgba(255,255,255,0.6); position: relative; }
    .glass-mobile-wrapper { background: rgba(255, 255, 255, 0.6); }
    .mobile-scroll-track { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
    
    .mobile-scroll-track .review-item, .mobile-scroll-track .article-item { flex: 0 0 100%; width: 100%; min-width: 100%; scroll-snap-align: center; flex-shrink: 0; margin-bottom: 0; box-shadow: none; border: none; border-radius: 0; border-right: 1px solid #e2e8f0; background: transparent; padding: var(--pad-mobile-y) var(--pad-mobile-x); height: auto; display: flex; flex-direction: column; justify-content: flex-start; }
    .mobile-scroll-track .review-item:last-child, .mobile-scroll-track .article-item:last-child { border-right: none; }
    .mobile-scroll-track .review-avatar-placeholder { width: 85px; height: 85px; font-size: 2.5rem; margin-right: 20px; border: 2px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.05); flex-shrink: 0; }
    .mobile-scroll-track .review-top { align-items: center; width: 100%; }
    .mobile-scroll-track .review-author { font-size: 1.1rem; }
    .mobile-scroll-track .review-text { margin-top: 15px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; font-size: 1rem; color: var(--text-grey); line-height: 1.6; width: 100%; }

    .mobile-scroll-track .article-item { padding: var(--pad-mobile-y) var(--pad-mobile-x); }
    /* Мобильный скролл блога: уменьшено закругление до 5px */
    .mobile-scroll-track .article-thumb { border-radius: 5px; width: 100%; height: 200px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); aspect-ratio: auto; }
    .mobile-scroll-track .article-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .mobile-scroll-track .article-content { padding: 20px 0 0 0; }

    /* --- ИСПРАВЛЕНИЕ: Отменяем обрезку заголовков ТОЛЬКО на странице блога --- */
    .blog-grid .article-item .article-title {
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
        white-space: normal;
    }
    /* ------------------------------------------------------------------------ */
    
    .reviews-wall, .blog-grid-home { display: block; column-count: auto; column-gap: 0; margin-top: 0; background: transparent; box-shadow: none; padding: 0; border: none; width: 100%; margin-left: 0; }
    .scroll-hint i { display: inline-block; color: var(--primary); }
    .scroll-hint { display: block !important; text-align: center; width: 100%; margin-top: 0; padding-bottom: 20px; font-size: 2.5rem; opacity: 0.8; }
    @keyframes hintHandMove { 0% { transform: translateX(20px); opacity: 1; } 100% { transform: translateX(-20px); opacity: 0; } }

    .scroll-dots { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 15px 0 25px; width: 100%; }
    .scroll-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-grey); opacity: 0.2; }
    .scroll-dots .dot.active { opacity: 1; background: var(--accent); width: 20px; border-radius: 4px; }
    .mobile-scroll-track::-webkit-scrollbar { display: none; }
    .mobile-scroll-track { -ms-overflow-style: none; scrollbar-width: none; }

    .article-card { padding: var(--pad-mobile-y) var(--pad-mobile-x); border-radius: 24px; }
    
    .outside-section-title { font-size: 1.7rem; margin: 50px 0 30px 0; padding-left: var(--pad-mobile-x); line-height: 1.25; text-align: left; max-width: 100%; }
    
    /* Сравняли паддинг для обоих блоков под статьей */
    .author-block-bottom { padding: 40px var(--pad-mobile-x); }
    .more-articles-block { padding: 30px var(--pad-mobile-x); }
    
    .back-to-blog { padding-left: var(--pad-mobile-x); margin-top: 20px; }

    /* Больше воздуха над H1 */
    .article-h1 { font-size: 1.9rem; max-width: 85%; margin-bottom: 25px; }
    
    /* Уменьшен отступ H2, выровнен шрифт списков */
    .content-typography p { font-size: 1rem; }
    .content-typography h2 { font-size: 1.7rem; margin: 30px 0 15px; }
    .content-typography h3 { font-size: 1.4rem; }
    .content-typography h4 { font-size: 1.2rem; margin: 20px 0 10px; color: var(--heading-navy); }
    .content-typography ul li, .content-typography ol li { font-size: 1rem; }
}

/* contacts - Updated: 26.02.2026 (Responsive top margin for glass cards & center form titles) */

/* === CONTACTS PAGE === */
.contacts-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contacts-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(10px); border: 1px solid var(--border); border-radius: 24px; padding: 30px; transition: 0.4s; display: flex; flex-direction: column; justify-content: flex-start; text-decoration: none; }
.contact-card:hover { transform: translateY(-5px); background: #fff; box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.contact-card.full { grid-column: span 2; }
.contact-icon { font-size: 2.5rem; color: var(--blue-tech); margin-bottom: 15px; }
.contact-title { font-size: 0.85rem; text-transform: uppercase; font-weight: 800; color: var(--text-grey); margin-bottom: 5px; letter-spacing: 0.5px; }

/* Правильный перенос для длинных email */
.contact-value { font-size: 1.3rem; font-weight: 800; color: var(--primary); margin-bottom: 5px; display: inline-block; word-break: break-word; }

.contact-card:hover .contact-value { color: var(--accent); }
.contact-desc { font-size: 0.95rem; color: var(--text-grey); line-height: 1.4; }

.contact-card-tg { background: linear-gradient(135deg, #60a5fa, #3b82f6); border: none; color: #fff; }
.contact-card-tg .contact-icon { color: #fff; }
.contact-card-tg .contact-title { color: rgba(255,255,255,0.8); }
.contact-card-tg .contact-value { color: #fff; font-size: 1.4rem; }
.contact-card-tg .contact-desc { color: rgba(255,255,255,0.9); }
.contact-card-tg:hover { box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3); background: linear-gradient(135deg, #3b82f6, #2563eb); }
.contact-card-tg:hover .contact-value { color: #fff; }

/* === REQUISITES & DOCS PAGE (Glassmorphism Layout) === */
.req-glass-card { max-width: 800px; margin: 0 auto; margin-top: 20px; cursor: default; display: block; padding: 40px; }
.req-glass-card:hover { transform: none; background: rgba(255, 255, 255, 0.6); box-shadow: var(--glass-shadow); }
.req-title-main { margin-bottom: 30px; }
.req-list { display: flex; flex-direction: column; gap: 20px; }
.req-row { display: flex; gap: 40px; flex-wrap: wrap; }
.req-item .contact-desc { margin-bottom: 4px; }
.req-val { font-size: 1.15rem; font-weight: 800; color: var(--primary); display: inline-block; word-break: break-word; }

/* === FORMS (Contacts, Order, Login, Reviews) === */
.contacts-col-form,
.order-form-wrapper,
.login-form-wrapper,
.review-form-wrapper { 
    padding: 40px; border-radius: var(--radius-card); background: #fff; 
    border: 1px solid var(--border); box-shadow: var(--glass-shadow); 
}
.order-form-wrapper { max-width: 600px; margin: 0 auto; }
.login-form-wrapper { max-width: 400px; margin: 0 auto; }

.form-title { margin-bottom: 25px; font-size: 2.0rem; font-weight: 800; color: var(--heading-navy); }
.form-group { margin-bottom: 20px; text-align: left; }
.form-label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 0.95rem; color: var(--primary); }
.form-control { width: 100%; padding: 14px 16px; border: 1px solid #e2e8f0; border-radius: 12px; font-family: inherit; font-size: 1rem; color: var(--primary); background: var(--bg-light); transition: 0.3s; }
.form-control:focus { outline: none; border-color: var(--blue-tech); box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.15); background: #fff; }
select.form-control { cursor: pointer; }
select.form-control:invalid { color: #94a3b8; }
textarea.form-control { resize: vertical; min-height: 120px; }
.text-red { color: #ef4444; }

/* Утилиты отступов и форматирования */
.hero-narrow { max-width: 800px; margin: 0 auto; }
.alert-narrow { max-width: 600px; margin: 0 auto; }
.btn-full { width: 100%; }
.mt-10 { margin-top: 10px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-0 { margin-bottom: 0; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.text-center { text-align: center; }
.text-grey { color: var(--text-grey); }
.title-sm { font-size: 2.0rem; font-weight: 800; color: var(--heading-navy); }

/* === НИЖНИЙ SEO БЛОК (Только для страницы Отзывов) === */
.seo-bottom-wrapper { max-width: 800px; margin: 40px auto 0; padding: 40px; background: rgba(255, 255, 255, 0.5); border-radius: 24px; border: 1px solid var(--border); }
.seo-bottom-wrapper h2 { font-size: 2.0rem; color: var(--heading-navy); margin-bottom: 15px; text-align: left; }
.seo-bottom-wrapper h3 { font-size: 1.6rem; color: var(--heading-navy); margin-top: 25px; margin-bottom: 10px; text-align: left; }
.seo-bottom-wrapper p { font-size: 1rem; line-height: 1.7; color: var(--text-grey); margin-bottom: 15px; text-align: left; }
.seo-bottom-wrapper a { color: var(--blue-tech); font-weight: 600; text-decoration: none; transition: 0.3s; }
.seo-bottom-wrapper a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* === MASONRY GRID & РЕВЬЮ КАРТОЧКИ === */
.reviews-masonry { column-count: 3; column-gap: 30px; width: 100%; margin-top: 20px; }
.reviews-masonry .review-item { break-inside: avoid; margin-bottom: 30px; display: inline-block; width: 100%; background: #fff; border-radius: var(--radius-card); padding: 25px; border: 1px solid var(--border); box-shadow: var(--glass-shadow); transition: 0.3s; }
.reviews-masonry .review-item:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }

/* Элементы карточки отзыва */
.review-top { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.avatar-wrapper { overflow: hidden; display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 80px; height: 80px; border-radius: 50%; background: var(--bg-light); }
.avatar-img { width: 100%; height: 100%; object-fit: cover; }
.avatar-icon { font-size: 2.5rem; color: var(--text-grey); }
.review-meta { display: flex; flex-direction: column; gap: 6px; justify-content: center; height: 80px; }
.review-author { font-weight: 700; font-size: 1.1rem; color: var(--heading-navy); line-height: 1.2; }
.review-stars { display: flex; color: #fbbf24; font-size: 1.1rem; line-height: 1; }
.review-date { font-size: 0.9rem; color: #94a3b8; line-height: 1.2; }
.review-text { font-size: 0.95rem; line-height: 1.6; color: var(--text-grey); margin-top: 10px; }
.review-text a { color: var(--blue-tech); font-weight: 600; text-decoration: none; transition: 0.3s; }
.review-text a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* === ПАГИНАЦИЯ === */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 50px; flex-wrap: wrap; }
.page-link { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: var(--primary); text-decoration: none; font-weight: 700; transition: 0.3s; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.page-link:hover { background: var(--bg-light); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0,0,0,0.05); color: var(--blue-tech); border-color: #cbd5e1; }
.page-link.active { background: var(--blue-tech); color: #fff; border-color: var(--blue-tech); pointer-events: none; }

/* === МОДАЛЬНОЕ ОКНО === */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(5px); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; padding: 20px; box-sizing: border-box; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { position: relative; width: 100%; max-width: 500px; transform: scale(0.95) translateY(20px); transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); max-height: 90vh; overflow-y: auto; }
.modal-overlay.active .modal-content { transform: scale(1) translateY(0); }
.modal-close { position: absolute; top: 20px; right: 20px; background: rgba(241, 245, 249, 0.8); border: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--text-grey); cursor: pointer; transition: 0.3s; z-index: 10; }
.modal-close:hover { background: #e2e8f0; color: var(--primary); transform: rotate(90deg); }
.modal-desc { font-size: 0.95rem; color: var(--text-grey) !important; margin-top: 8px; line-height: 1.4; }

/* Элементы формы логина и другие ссылки */
.form-label-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.form-label-row .form-label { margin-bottom: 0; }
.forgot-link { font-size: 0.85rem; color: var(--accent); font-weight: 600; text-decoration: none; transition: 0.3s; }
.forgot-link:hover { color: var(--blue-tech); text-decoration: underline; }
.login-footer { text-align: center; margin-top: 25px; font-size: 0.95rem; color: var(--text-grey); }
.login-footer .login-link { color: var(--primary); font-weight: 700; text-decoration: none; transition: 0.3s; }
.login-footer .login-link:hover { color: var(--accent); }
.form-agree { font-size: 0.85rem; color: #94a3b8; text-align: center; margin-top: 20px; line-height: 1.5; }
.form-agree a { color: var(--primary); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(15, 23, 42, 0.2); text-underline-offset: 3px; }
.form-agree a:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* === DOCUMENT PAGES === */
.document-content-wrapper { max-width: 800px; margin: 0 auto; background: #fff; padding: 50px; border-radius: var(--radius-card); border: 1px solid var(--border); box-shadow: var(--glass-shadow); }
.document-content h3 { margin-top: 30px; margin-bottom: 15px; font-size: 1.6rem; color: var(--primary); }
.document-content p { line-height: 1.7; color: var(--text-grey); margin-bottom: 15px; font-size: 1rem; }
.document-content a { color: var(--blue-tech); font-weight: 600; text-decoration: none; transition: 0.3s; }
.document-content a:hover { color: var(--accent); }
.document-content strong { color: var(--primary); }
.document-content ul { margin-left: 20px; color: var(--text-grey); margin-bottom: 15px; line-height: 1.7; list-style-type: disc; }
.document-content li { margin-bottom: 8px; }
.document-content .lead { font-size: 1.05rem; font-weight: 500; color: var(--heading-navy); margin-bottom: 25px; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .reviews-masonry { column-count: 2; column-gap: 20px; }
    .reviews-masonry .review-item { margin-bottom: 20px; }
}

@media (max-width: 900px) {
    .contacts-layout { grid-template-columns: 1fr; gap: 30px; }
    .contacts-bento { grid-template-columns: 1fr; gap: 15px; }
    .contact-card.full { grid-column: span 1; }
    .contact-card { padding: 25px; }
    
    /* Добавлены формы и карточка документов в мобильные отступы */
    .contacts-col-form, .order-form-wrapper, .login-form-wrapper, .review-form-wrapper, .req-glass-card { 
        padding: 30px 20px; 
    }
    
    /* Специфичные настройки документов для мобильных (отступ сверху стал 5px!) */
    .req-glass-card { margin-top: 10px; } 
    .req-title-main { margin-bottom: 25px; }
    .req-list { gap: 15px; }
    .req-row { gap: 40px; flex-direction: column; }
    .req-val { font-size: 1.05rem; }

    /* Делаем кнопки в формах на всю ширину для удобного тапа на мобильных */
    .contacts-col-form .btn, .order-form-wrapper .btn-form-submit, .login-form-wrapper .btn-form-submit, .review-form-wrapper .btn-form-submit { 
        display: block !important; margin: 0 !important; width: 100% !important; 
    }
    
    .seo-bottom-wrapper { padding: 25px 20px; margin-top: 30px; }

    /* Синхронизация типографики для мобильных устройств */
    .form-title, .title-sm, .seo-bottom-wrapper h2 { font-size: 1.7rem; }
    .seo-bottom-wrapper h3, .document-content h3 { font-size: 1.4rem; }
}

@media (max-width: 768px) {
    .reviews-masonry { column-count: 1; display: flex; flex-direction: column; gap: 20px; }
    .reviews-masonry .review-item { margin-bottom: 0; }
    
    /* Модалка: Классическое поведение по центру на мобильных, с отступами со всех сторон */
    .modal-content { margin: 0; padding-top: 60px !important; max-height: 100%; }
    .modal-close { top: 15px; right: 15px; }
}

/* bio - Updated: 23.02.2026 */

/* === BIO HEADER (Grid & Layout) === */
.bio-first-block { margin-top: 20px; }

.bio-header-grid { display: grid; grid-template-columns: 1fr 150px; gap: 0 40px; align-items: start; }
.bio-header-text { grid-column: 1 / 2; display: flex; flex-direction: column; }
.bio-header-img { grid-column: 2 / 3; grid-row: 1 / 3; display: flex; justify-content: flex-end; }
.bio-header-actions { grid-column: 1 / 2; margin-top: 40px; }

/* Специфичные отступы и элементы карточки автора */
.bio-main-title { margin-bottom: 25px; line-height: 1.3; }
.bio-divider { border-top: 1px solid #f1f5f9; margin-bottom: 30px; }
.bio-name { margin-bottom: 8px; }
.bio-intro { margin-bottom: 0; }
.bio-action-wrap { margin-top: 15px; }

/* Сетка иконок соцсетей */
.bio-socials-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* === BIO CTA BUTTON === */
.content-typography a.bio-btn-partner,
.bio-btn-partner { display: inline-flex; align-items: center; gap: 8px; color: var(--accent) !important; font-weight: 800; font-size: 1.05rem; text-decoration: none !important; transition: all 0.3s ease; }
.content-typography a.bio-btn-partner:hover,
.bio-btn-partner:hover { color: var(--heading-navy) !important; transform: translateX(4px); text-decoration: none !important; }
.bio-btn-partner i { font-size: 1.1rem; transition: 0.3s; }

/* === BIO BOTTOM CTA (Под текстом "Об авторе") === */
.bio-bottom-cta { margin-top: 40px; padding-top: 30px; border-top: 1px solid #f1f5f9; text-align: left; }
.bio-bottom-cta-text { font-size: 1rem; color: var(--heading-navy); font-weight: 800; margin-bottom: 25px; line-height: 1.6; }

/* === УТИЛИТЫ И ТЕКСТ === */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* === ЦВЕТНЫЕ ИКОНКИ СОЦСЕТЕЙ === */
.bio-colored-icon { border: none; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: 0.3s; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; }
.bio-colored-icon svg { fill: #ffffff !important; width: 22px; height: 22px; transition: 0.3s; }
.bio-colored-icon:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0,0,0,0.15); }

/* Фирменные цвета для кружков */
.color-telegram { background: #0088cc; }
.color-whatsapp { background: #25D366; }
.color-viber { background: #7360f2; }
.color-signal { background: #3A76F0; }
.color-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); }
.color-facebook { background: #1877F2; }
.color-youtube { background: #FF0000; }
.color-tiktok { background: #000000; }
.color-linkedin { background: #0A66C2; }
.color-pinterest { background: #E60023; }
.color-email { background: #ef4444; }
.color-phone { background: #10b981; }
.color-site { background: var(--blue-tech); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .bio-first-block { margin-top: 10px; }
    
    .bio-header-grid { grid-template-columns: 60% 1fr; gap: 0 15px; }
    .bio-header-text { grid-column: 1 / 2; }
    .bio-header-img { grid-column: 2 / 3; grid-row: 1 / 2; justify-content: flex-end; }
    
    /* Воздух после верхней ссылки (отодвигает иконки и фото, если текст короткий) */
    .bio-action-wrap { margin-bottom: 25px; }
    
    .bio-header-actions { grid-column: 1 / 3; grid-row: 2 / 3; margin-top: 30px; }
    
    /* Воздух после нижней ссылки (внутри блока "Об авторе") */
    .bio-bottom-cta { padding-bottom: 20px; }
}