﻿
/* =============================================
ЭлектроМастер Аксу — Таблица стилей
============================================= */
/* ПЕРЕМЕННЫЕ */
:root  {
    --yellow: #FFD600;
    --yellow-dark: #C9A900;
    --dark: #111118;
    --dark2: #1C1C27;
    --dark3: #252535;
    --text: #F0EFE8;
    --text-muted: #9998A8;
    --accent: #FFD600;
    --radius: 16px;
}
*  {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html  {
    scroll-behavior: smooth;
}
body  {
    font-family: 'Manrope', sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
}
/* =============================================
NAV
============================================= */
nav  {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 5%;
    background: rgba(17,17,24,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,214,0,0.1);
}
.nav-logo  {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: var(--yellow);
    letter-spacing: -0.5px;
}
.nav-logo span  {
    color: var(--text);
}
.nav-links  {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-links a  {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover  {
    color: var(--yellow);
}
.nav-cta  {
    background: var(--yellow);
    color: var(--dark);
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover  {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,214,0,0.35);
}
/* =============================================
HAMBURGER
============================================= */
.hamburger  {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 200;
}
.hamburger span  {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s, width 0.3s;
    transform-origin: left center;
}
.hamburger.open span:nth-child(1)  {
    transform: rotate(45deg) translate(1px, -1px);
}
.hamburger.open span:nth-child(2)  {
    opacity: 0;
    width: 0;
}
.hamburger.open span:nth-child(3)  {
    transform: rotate(-45deg) translate(1px, 1px);
}
/* =============================================
SIDEBAR DRAWER
============================================= */
.drawer-overlay  {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(0,0,0,0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.drawer-overlay.open  {
    opacity: 1;
    pointer-events: all;
}
.drawer  {
    position: fixed;
    top: 0;
    right: -320px;
    bottom: 0;
    width: 300px;
    z-index: 160;
    background: var(--dark2);
    border-left: 1px solid rgba(255,214,0,0.15);
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-y: auto;
}
.drawer.open  {
    right: 0;
}
.drawer-header  {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.drawer-logo  {
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    font-weight: 900;
    color: var(--yellow);
}
.drawer-close  {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 22px;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
}
.drawer-close:hover  {
    color: var(--yellow);
}
.drawer-nav  {
    padding: 32px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
}
.drawer-nav li a  {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.drawer-nav li a:hover  {
    background: rgba(255,214,0,0.1);
    color: var(--yellow);
}
.drawer-nav li a .d-icon  {
    font-size: 20px;
    width: 28px;
    text-align: center;
}
.drawer-footer  {
    padding: 24px 28px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.drawer-phone  {
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    font-weight: 900;
    color: var(--yellow);
    text-decoration: none;
    display: block;
    margin-bottom: 14px;
}
.drawer-cta  {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--yellow);
    color: var(--dark);
    padding: 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.drawer-cta:hover  {
    opacity: 0.85;
}
/* =============================================
HERO
============================================= */
.hero  {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
}
.hero-bg  {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(255,214,0,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(255,214,0,0.04) 0%, transparent 60%);
}
.hero-grid  {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,214,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,214,0,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 70% 50%, black, transparent);
}
.hero-content  {
    position: relative;
    max-width: 700px;
}
.hero-badge  {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,214,0,0.12);
    border: 1px solid rgba(255,214,0,0.3);
    color: var(--yellow);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 28px;
    animation: fadeUp 0.6s ease both;
}
.hero-badge::before  {
    content: '⚡';
}
h1  {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    animation: fadeUp 0.6s 0.1s ease both;
}
h1 .accent  {
    color: var(--yellow);
}
.hero-sub  {
    margin-top: 24px;
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 520px;
    animation: fadeUp 0.6s 0.2s ease both;
}
.hero-actions  {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.3s ease both;
}
.btn-primary  {
    background: var(--yellow);
    color: var(--dark);
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover  {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255,214,0,0.4);
}
.btn-outline  {
    background: transparent;
    color: var(--text);
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.2);
    transition: border-color 0.15s, color 0.15s;
}
.btn-outline:hover  {
    border-color: var(--yellow);
    color: var(--yellow);
}
.hero-stats  {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    animation: fadeUp 0.6s 0.4s ease both;
}
.stat-num  {
    font-family: 'Unbounded', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--yellow);
}
.stat-label  {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}
/* =============================================
ОБЩИЕ СТИЛИ СЕКЦИЙ
============================================= */
section  {
    padding: 100px 5%;
}
.section-tag  {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,214,0,0.1);
    color: var(--yellow);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.section-title  {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
}
.section-title .accent  {
    color: var(--yellow);
}
/* =============================================
УСЛУГИ
============================================= */
.services-bg  {
    background: var(--dark);
}
.services-grid  {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 56px;
}
.service-card  {
    background: var(--dark2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    cursor: default;
}
.service-card:hover  {
    transform: translateY(-6px);
    border-color: rgba(255,214,0,0.3);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.service-icon  {
    width: 56px;
    height: 56px;
    background: rgba(255,214,0,0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}
.service-card h3  {
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.service-card p  {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}
.service-price  {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
    color: var(--text-muted);
}
.service-price strong  {
    color: var(--yellow);
    font-size: 18px;
}
/* =============================================
ПОЧЕМУ МЫ
============================================= */
.why-section  {
    background: var(--dark2);
}
.why-grid  {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 56px;
}
.why-item  {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 32px;
}
.why-num  {
    font-family: 'Unbounded', sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: rgba(255,214,0,0.2);
    line-height: 1;
    min-width: 48px;
}
.why-item h4  {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}
.why-item p  {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}
.why-visual  {
    background: var(--dark3);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255,214,0,0.1);
    text-align: center;
}
.bolt-icon  {
    font-size: 80px;
    line-height: 1;
    filter: drop-shadow(0 0 40px rgba(255,214,0,0.5));
    margin-bottom: 24px;
}
.why-visual h3  {
    font-family: 'Unbounded', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--yellow);
}
.why-visual p  {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}
/* =============================================
ПРОЦЕСС
============================================= */
.process-section  {
    background: var(--dark);
}
.process-steps  {
    display: flex;
    gap: 0;
    margin-top: 56px;
    position: relative;
}
.process-steps::before  {
    content: '';
    position: absolute;
    top: 32px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(90deg, var(--yellow), transparent);
    z-index: 0;
}
.step  {
    flex: 1;
    text-align: center;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}
.step-circle  {
    width: 64px;
    height: 64px;
    background: var(--dark2);
    border: 2px solid var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Unbounded', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: var(--yellow);
}
.step h4  {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}
.step p  {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}
/* =============================================
ОТЗЫВЫ
============================================= */
.reviews-section  {
    background: var(--dark2);
}
.reviews-grid  {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 56px;
}
.review-card  {
    background: var(--dark3);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 28px;
}
.stars  {
    color: var(--yellow);
    font-size: 16px;
    margin-bottom: 14px;
}
.review-text  {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    font-style: italic;
}
.review-author  {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.avatar  {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--yellow), #ff9500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
}
.author-name  {
    font-size: 14px;
    font-weight: 600;
}
.author-meta  {
    font-size: 12px;
    color: var(--text-muted);
}
/* =============================================
СТАТЬИ
============================================= */
.articles-section  {
    background: var(--dark3);
}
.articles-grid  {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 56px;
}
.article-card  {
    background: var(--dark2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.article-card:hover  {
    transform: translateY(-6px);
    border-color: rgba(255,214,0,0.3);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.article-thumb  {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    position: relative;
    overflow: hidden;
}
.article-thumb-1  {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}
.article-thumb-2  {
    background: linear-gradient(135deg, #1c1f2e 0%, #0d1117 100%);
}
.article-thumb-3  {
    background: linear-gradient(135deg, #1a2020 0%, #0d1a1a 100%);
}
.article-thumb-4  {
    background: linear-gradient(135deg, #1f1a0d 0%, #2a2010 100%);
}
.article-thumb::after  {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.4));
}
.article-cat  {
    display: inline-flex;
    align-items: center;
    background: rgba(255,214,0,0.15);
    color: var(--yellow);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}
.article-body  {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.article-body h3  {
    font-family: 'Unbounded', sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
    line-height: 1.4;
}
.article-body p  {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
}
.article-meta  {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 12px;
    color: var(--text-muted);
}
.article-read  {
    color: var(--yellow);
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}
.article-card:hover .article-read  {
    gap: 8px;
}
/* =============================================
CTA / КОНТАКТЫ
============================================= */
.cta-section  {
    background: var(--yellow);
    padding: 100px 5%;
    text-align: center;
}
.cta-section h2  {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -2px;
    margin-bottom: 20px;
}
.cta-section p  {
    font-size: 18px;
    color: rgba(0,0,0,0.6);
    margin-bottom: 40px;
}
.cta-phone  {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 900;
    color: var(--dark);
    text-decoration: none;
    display: block;
    margin-bottom: 32px;
    transition: opacity 0.2s;
}
.cta-phone:hover  {
    opacity: 0.75;
}
.btn-dark  {
    background: var(--dark);
    color: var(--yellow);
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.15s;
}
.btn-dark:hover  {
    transform: translateY(-3px);
}
/* =============================================
FOOTER
============================================= */
footer  {
    background: var(--dark2);
    padding: 40px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-logo  {
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    font-weight: 900;
    color: var(--yellow);
}
.footer-copy  {
    font-size: 13px;
    color: var(--text-muted);
}
.footer-links  {
    display: flex;
    gap: 24px;
}
.footer-links a  {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
}
.footer-links a:hover  {
    color: var(--yellow);
}
/* =============================================
АНИМАЦИИ
============================================= */
@keyframes fadeUp  {
    from  {
        opacity: 0;
        transform: translateY(20px);
    }
    to    {
        opacity: 1;
        transform: translateY(0);
    }
}
/* =============================================
АДАПТИВНОСТЬ
============================================= */
@media (max-width: 768px)  {
    .nav-links  {
        display: none;
    }
    .why-grid  {
        grid-template-columns: 1fr;
    }
    .process-steps  {
        flex-direction: column;
        gap: 32px;
    }
    .process-steps::before  {
        display: none;
    }
    .hero-stats  {
        gap: 24px;
        flex-wrap: wrap;
    }
    footer  {
        flex-direction: column;
        text-align: center;
    }
}
/* =============================================
СТИЛИ СТРАНИЦЫ ARTICLE
============================================= */
/* =============================================
СТИЛИ СТРАНИЦЫ СТАТЬИ
============================================= */
/* HERO СТАТЬИ */
.article-hero  {
    padding: 140px 5% 60px;
    background: var(--dark2);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
}
.article-hero::before  {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(255,214,0,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.breadcrumb  {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.breadcrumb a  {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover  {
    color: var(--yellow);
}
.breadcrumb-sep  {
    color: rgba(255,255,255,0.2);
}
.breadcrumb-current  {
    color: var(--text);
}
.article-hero-cat  {
    display: inline-flex;
    align-items: center;
    background: rgba(255,214,0,0.12);
    color: var(--yellow);
    border: 1px solid rgba(255,214,0,0.25);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.article-hero h1  {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(26px, 4vw, 52px);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
    max-width: 800px;
    animation: none;
}
.article-hero-lead  {
    margin-top: 20px;
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 680px;
}
.article-meta-row  {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.meta-item  {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}
.meta-item strong  {
    color: var(--text);
}
.meta-dot  {
    color: rgba(255,255,255,0.15);
    font-size: 18px;
}
/* LAYOUT: КОНТЕНТ + САЙДБАР */
.article-layout  {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    padding: 60px 5% 100px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
/* КОНТЕНТ СТАТЬИ */
.article-content  {
    min-width: 0;
}
/* ═══════════════════════════════════════
ГАЛЕРЕЯ ИЗОБРАЖЕНИЙ (1 / 2 / 3 фото)
═══════════════════════════════════════ */
.article-gallery  {
    margin: 0 0 44px 0;
}
/* Галерея внутри текста статьи */
.prose .article-gallery  {
    margin: 36px 0;
}
/* Все картинки — общие свойства */
.article-gallery .gallery-grid img  {
    object-fit: cover;
    display: block;
    width: 100%;
    cursor: zoom-in;
    transition: transform 0.3s;
}
.article-gallery .gallery-grid img:hover  {
    transform: scale(1.02);
}
/* ── 1 изображение ── */
.article-gallery.imgs-1 .gallery-grid  {
    border-radius: var(--radius);
    overflow: hidden;
}
.article-gallery.imgs-1 .gallery-grid img  {
    height: 440px;
    border-radius: var(--radius);
}
/* ── 2 изображения ── */
.article-gallery.imgs-2 .gallery-grid  {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    border-radius: var(--radius);
    overflow: hidden;
}
.article-gallery.imgs-2 .gallery-grid img  {
    height: 340px;
}
/* ── 3 изображения: большое слева, два справа ── */
.article-gallery.imgs-3 .gallery-grid  {
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 230px 230px;
    gap: 6px;
    border-radius: var(--radius);
    overflow: hidden;
}
.article-gallery.imgs-3 .gallery-grid img:first-child  {
    grid-column: 1;
    grid-row: 1 / 3;
    /* занимает обе строки */
    height: 100%;
}
.article-gallery.imgs-3 .gallery-grid img:nth-child(2)  {
    grid-column: 2;
    grid-row: 1;
    height: 100%;
}
.article-gallery.imgs-3 .gallery-grid img:nth-child(3)  {
    grid-column: 2;
    grid-row: 2;
    height: 100%;
}
.gallery-caption  {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}
/* ── Мобильная адаптация галереи ── */
@media (max-width: 600px)  {
    .article-gallery.imgs-2 .gallery-grid,
    .article-gallery.imgs-3 .gallery-grid  {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .article-gallery.imgs-2 .gallery-grid img,
    .article-gallery.imgs-3 .gallery-grid img,
    .article-gallery.imgs-3 .gallery-grid img:first-child,
    .article-gallery.imgs-3 .gallery-grid img:nth-child(2),
    .article-gallery.imgs-3 .gallery-grid img:nth-child(3)  {
        grid-column: 1;
        grid-row: auto;
        height: 220px;
    }
    .article-gallery.imgs-1 .gallery-grid img  {
        height: 260px;
    }
}
/* ЛАЙТБОКС */
.lightbox  {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.lightbox.open  {
    opacity: 1;
    pointer-events: all;
}
.lightbox img  {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.lightbox-close  {
    position: absolute;
    top: 24px;
    right: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 28px;
    line-height: 1;
    transition: color 0.2s;
}
.lightbox-close:hover  {
    color: var(--yellow);
}
/* ТИПОГРАФИКА СТАТЬИ */
.prose h2  {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 900;
    letter-spacing: -0.8px;
    color: var(--text);
    margin: 48px 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.prose h3  {
    font-family: 'Unbounded', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--text);
    margin: 32px 0 14px;
}
.prose p  {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.prose strong  {
    color: var(--text);
    font-weight: 700;
}
.prose ul, .prose ol  {
    padding-left: 24px;
    margin-bottom: 24px;
}
.prose li  {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.prose li::marker  {
    color: var(--yellow);
}
.prose blockquote  {
    margin: 32px 0;
    padding: 24px 28px;
    background: rgba(255,214,0,0.06);
    border-left: 3px solid var(--yellow);
    border-radius: 0 12px 12px 0;
}
.prose blockquote p  {
    font-size: 17px;
    font-style: italic;
    color: var(--text);
    margin: 0;
    line-height: 1.7;
}
.prose .warn-box  {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255, 80, 80, 0.08);
    border: 1px solid rgba(255, 80, 80, 0.2);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 28px 0;
}
.prose .warn-box .warn-icon  {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}
.prose .warn-box p  {
    margin: 0;
    color: var(--text);
    font-size: 15px;
}
.prose .tip-box  {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255,214,0,0.07);
    border: 1px solid rgba(255,214,0,0.2);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 28px 0;
}
.prose .tip-box .tip-icon  {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}
.prose .tip-box p  {
    margin: 0;
    color: var(--text);
    font-size: 15px;
}
/* ТЕГИ */
.article-tags  {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.tag  {
    background: var(--dark3);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.tag:hover  {
    border-color: rgba(255,214,0,0.3);
    color: var(--yellow);
}
/* ПОДЕЛИТЬСЯ */
.article-share  {
    margin-top: 40px;
    padding: 28px;
    background: var(--dark2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.share-label  {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-right: 4px;
}
.share-btn  {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
    border: none;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
}
.share-btn:hover  {
    opacity: 0.8;
}
.share-wa  {
    background: #25D366;
    color: #fff;
}
.share-tg  {
    background: #229ED9;
    color: #fff;
}
.share-copy  {
    background: var(--dark3);
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.1);
}
/* ПОХОЖИЕ СТАТЬИ */
.related-section  {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.related-section h2  {
    font-family: 'Unbounded', sans-serif;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 28px;
}
.related-grid  {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.related-card  {
    background: var(--dark2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: border-color 0.2s, transform 0.2s;
}
.related-card:hover  {
    border-color: rgba(255,214,0,0.3);
    transform: translateY(-3px);
}
.related-icon  {
    font-size: 28px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255,214,0,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.related-card h4  {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 6px;
}
.related-card span  {
    font-size: 11px;
    color: var(--text-muted);
}
/* САЙДБАР */
.article-sidebar  {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
/* ВИДЖЕТ ВЫЗОВА МАСТЕРА (главный) */
.sidebar-cta  {
    background: var(--yellow);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    position: sticky;
    top: 100px;
}
.sidebar-cta-icon  {
    font-size: 40px;
    margin-bottom: 12px;
}
.sidebar-cta h3  {
    font-family: 'Unbounded', sans-serif;
    font-size: 17px;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}
.sidebar-cta p  {
    font-size: 13px;
    color: rgba(0,0,0,0.6);
    margin-bottom: 20px;
    line-height: 1.5;
}
.sidebar-phone  {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-size: 17px;
    font-weight: 900;
    color: var(--dark);
    text-decoration: none;
    margin-bottom: 12px;
    transition: opacity 0.2s;
}
.sidebar-phone:hover  {
    opacity: 0.7;
}
.sidebar-cta-btn  {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--dark);
    color: var(--yellow);
    padding: 13px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.2s;
    margin-bottom: 10px;
}
.sidebar-cta-btn:hover  {
    opacity: 0.85;
}
.sidebar-wa  {
    display: block;
    width: 100%;
    text-align: center;
    background: #25D366;
    color: #fff;
    padding: 13px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.sidebar-wa:hover  {
    opacity: 0.85;
}
/* ОГЛАВЛЕНИЕ */
.sidebar-toc  {
    background: var(--dark2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 24px;
}
.sidebar-toc h4  {
    font-family: 'Unbounded', sans-serif;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.toc-list  {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.toc-list li a  {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
    line-height: 1.4;
    transition: background 0.2s, color 0.2s;
}
.toc-list li a:hover  {
    background: rgba(255,214,0,0.08);
    color: var(--yellow);
}
.toc-list li a.active  {
    background: rgba(255,214,0,0.1);
    color: var(--yellow);
}
.toc-num  {
    font-family: 'Unbounded', sans-serif;
    font-size: 11px;
    font-weight: 900;
    color: var(--yellow);
    flex-shrink: 0;
    margin-top: 1px;
}
/* БЫСТРЫЕ ФАКТЫ */
.sidebar-facts  {
    background: var(--dark2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 24px;
}
.sidebar-facts h4  {
    font-family: 'Unbounded', sans-serif;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.fact-item  {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.fact-item:last-child  {
    border-bottom: none;
}
.fact-icon  {
    font-size: 18px;
    flex-shrink: 0;
}
.fact-text  {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}
.fact-text strong  {
    color: var(--text);
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}
/* АДАПТИВНОСТЬ */
@media (max-width: 600px)  {
    .article-meta-row  {
        gap: 14px;
    }
}
/* =============================================
MOBILE FIX — скрыть sidebar CTA
============================================= */
@media screen and (max-width: 768px)  {
    .article-sidebar .sidebar-cta,
    .sidebar-cta,
    div.sidebar-cta  {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}
/* =============================================
BOOTSTRAP + MOBILE FIXES
============================================= */
body  {
    width: 100%;
    overflow-x: hidden;
}
.container,
.container-fluid  {
    max-width: 100%;
}
img  {
    max-width: 100%;
    height: auto;
}
nav.navbar  {
    padding: 14px 5%;
}
.hero,
.article-hero,
section,
.article-layout  {
    width: 100%;
}
.hero-content,
.article-content,
.article-sidebar  {
    width: 100%;
}
.services-grid > *,
.reviews-grid > *,
.articles-grid > *,
.related-grid > *  {
    display: flex;
}
.service-card,
.review-card,
.article-card,
.related-card  {
    width: 100%;
}
@media (max-width: 992px)  {
    .nav-cta  {
        display: none;
    }
    .hero  {
        padding: 120px 20px 60px;
        min-height: auto;
    }
    .hero-sub  {
        font-size: 16px;
    }
    .hero-stats  {
        gap: 16px;
    }
    .hero-stats > div  {
        min-width: 110px;
    }
    .article-layout  {
        grid-template-columns: 1fr;
        padding: 40px 20px 80px;
    }
    .article-sidebar  {
        order: -1;
    }
    .sidebar-cta,
    .sidebar-toc,
    .sidebar-facts  {
        position: static !important;
    }
    .process-steps  {
        gap: 24px;
    }
    .why-visual  {
        margin-top: 20px;
    }
}
@media (max-width: 768px)  {
    nav.navbar  {
        padding: 12px 16px;
    }
    .nav-logo  {
        font-size: 15px;
    }
    h1,
    .article-hero h1  {
        line-height: 1.15;
        letter-spacing: -1px;
    }
    .hero-actions,
    .article-share  {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-primary,
    .btn-outline,
    .share-btn,
    .sidebar-cta-btn,
    .sidebar-wa  {
        width: 100%;
        text-align: center;
    }
    .services-grid,
    .reviews-grid,
    .articles-grid,
    .related-grid  {
        margin-top: 32px;
    }
    .service-card,
    .review-card,
    .article-card  {
        padding: 22px;
    }
    .article-meta-row  {
        gap: 12px;
    }
    .prose p,
    .prose li  {
        font-size: 15px;
        line-height: 1.75;
    }
    footer  {
        padding: 32px 20px;
    }
}
@media (max-width: 576px)  {
    .hero  {
        padding-top: 100px;
    }
    .hero-badge,
    .section-tag,
    .article-hero-cat  {
        font-size: 11px;
    }
    .hero-stats  {
        flex-direction: column;
        align-items: flex-start;
    }
    .step  {
        padding: 0;
    }
    .article-hero  {
        padding: 110px 16px 40px;
    }
    .article-gallery.imgs-1 .gallery-grid img,
    .article-gallery.imgs-2 .gallery-grid img,
    .article-gallery.imgs-3 .gallery-grid img  {
        height: 200px !important;
    }
    .drawer  {
        width: 85%;
        right: -100%;
    }
}
/* =============================================
FIXED NAVBAR RESPONSIVE
============================================= */
nav.navbar  {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: nowrap;
}
.nav-links  {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}
.nav-links li  {
    list-style: none;
}
.nav-links a  {
    white-space: nowrap;
}
.nav-right  {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}
.hamburger  {
    flex-shrink: 0;
}
@media (max-width: 992px)  {
    .nav-links  {
        display: none !important;
    }
    nav.navbar  {
        padding: 14px 20px;
    }
    .nav-logo  {
        font-size: 16px;
    }
    .nav-right  {
        gap: 10px;
    }
    .nav-cta  {
        padding: 10px 18px;
        font-size: 13px;
    }
}
@media (max-width: 768px)  {
    .nav-cta  {
        display: none !important;
    }
    nav.navbar  {
        gap: 12px;
    }
}

/* =============================================
   SERVICE CARD FIX
   ============================================= */

.service-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.service-card .d-flex.flex-column {
    height: 100%;
}

.service-card h3 {
    margin-bottom: 14px;
    line-height: 1.3;
}

.service-description {
    display: block;
    width: 100%;
    line-height: 1.7;
}

.service-price {
    margin-top: auto !important;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    width: 100%;
}

@media (max-width: 768px) {
    .service-card {
        min-height: auto;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-description {
        font-size: 14px;
    }
}


/* =============================================
   REVIEW CARD FIX
   ============================================= */

.review-card {
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.review-card .d-flex.flex-column {
    height: 100%;
}

.review-description {
    line-height: 1.8;
    display: block;
    width: 100%;
}

.review-author {
    margin-top: auto !important;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    align-items: center;
}

.review-author .avatar {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .review-card {
        min-height: auto;
    }

    .review-description {
        font-size: 14px;
    }
}

/* =============================================
   SCROLL TO TOP BUTTON
   ============================================= */

.scroll-top-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: #FFD600;
    color: #111118;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 999;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(255, 214, 0, 0.35);
}

@media (max-width: 768px) {
    .scroll-top-btn {
        width: 46px;
        height: 46px;
        right: 16px;
        bottom: 16px;
        font-size: 20px;
    }
}

/* =============================================
   ARTICLE CARD LINK
   ============================================= */

.article-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
    color: inherit;
}

.article-card-link:hover {
    color: inherit;
}

.article-card-link .article-card {
    height: 100%;
}

.article-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.article-link:hover {
    color: inherit;
}

.article-card {
    height: 100%;
}
