* ==========================================================================
   RBT SERVICE — MASTER CSS 2026 + BLOG 2026 (DARK THEME)
   Версия: 4.1 | ФИКС: мобильный Hero (background-position: top center)
   ========================================================================== */


/* ═══════════════════════════════════════════════════════════════════════════
   ЧАСТЬ 1. ГЛОБАЛЬНО
   ═══════════════════════════════════════════════════════════════════════════ */
html, body {
    max-width: 100% !important;
    overflow-x: clip !important;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.elementor-section,
.e-con,
.elementor-top-section {
    overflow: visible !important;
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }


/* ═══════════════════════════════════════════════════════════════════════════
   ЧАСТЬ 2. ФОКУС (A11Y)
   ═══════════════════════════════════════════════════════════════════════════ */
* { -webkit-tap-highlight-color: transparent; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible, .ast-menu-toggle:focus-visible, .menu-item a:focus-visible, div[id*="ast-mobile-popup"] *:focus-visible {
    outline: 2px solid #2563eb !important;
    outline-offset: 4px !important;
    border-radius: 4px !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2) !important;
    transition: all 0.2s ease !important;
}

a:focus:not(:focus-visible), button:focus:not(:focus-visible), :focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   ЧАСТЬ 3. МЕНЮ ASTRA
   ═══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 922px) {
    .main-navigation ul ul li:hover > a,
    .main-header-menu .sub-menu li:hover > a {
        background-color: #f8fafc !important;
        color: #0f172a !important;
        padding-left: 25px !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
}

@media (max-width: 921px) {
    div[id*="ast-mobile-popup"], .ast-mobile-popup-drawer, .ast-mobile-popup-wrap, .ast-mobile-popup-inner, .ast-mobile-popup-content, .ast-mobile-popup-container, .ast-mobile-menu-wrap {
        background-color: #ffffff !important;
    }
    .ast-mobile-popup-content .menu-item a, .ast-mobile-popup-inner .menu-item a, .main-header-menu .menu-item a, .ast-mobile-popup-wrap .menu-item a {
        font-family: 'Montserrat', sans-serif !important;
        font-size: 17px !important;
        font-weight: 600 !important;
        color: #0f172a !important;
        padding: 16px 20px !important;
        border-bottom: 1px solid #f1f5f9 !important;
        display: block !important;
        transition: all 0.3s ease !important;
        text-align: left !important;
    }
    .ast-mobile-popup-content .menu-item a:active, .main-header-menu .menu-item a:active { background-color: #f8fafc !important; }
    .menu-item.ast-sub-menu-opened > a { color: #0f172a !important; font-weight: 800 !important; background-color: #f1f5f9 !important; border-bottom: 1px solid #e2e8f0 !important; }
    .ast-mobile-popup-close, .ast-mobile-popup-close-focus, button.ast-mobile-popup-close { background: #f1f5f9 !important; border-radius: 50% !important; width: 40px !important; height: 40px !important; display: flex !important; align-items: center !important; justify-content: center !important; box-shadow: none !important; color: #0f172a !important; }
    .ast-mobile-popup-close svg { fill: #0f172a !important; width: 20px !important; height: 20px !important; }
    .ast-menu-toggle svg, .ast-menu-toggle .ast-icon { display: none !important; }
    .ast-menu-toggle { background: transparent !important; border: none !important; position: absolute !important; right: 15px !important; top: 5px !important; width: 45px !important; height: 45px !important; display: block !important; }
    .ast-menu-toggle::before, .ast-menu-toggle::after { content: '' !important; position: absolute !important; top: 50% !important; left: 50% !important; background-color: #0f172a !important; transition: all 0.3s ease !important; border-radius: 2px !important; }
    .ast-menu-toggle::before { width: 14px !important; height: 2px !important; margin-top: -1px !important; margin-left: -7px !important; }
    .ast-menu-toggle::after { width: 2px !important; height: 14px !important; margin-top: -7px !important; margin-left: -1px !important; }
    .menu-item.ast-sub-menu-opened > .ast-menu-toggle::after { transform: rotate(90deg) scale(0) !important; background-color: #0f172a !important; }
    .menu-item.ast-sub-menu-opened > .ast-menu-toggle::before { background-color: #0f172a !important; transform: rotate(180deg) !important; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   ЧАСТЬ 4. КАСТОМНАЯ ШАПКА RBT LIGHT
   ═══════════════════════════════════════════════════════════════════════════ */
.rbt-light-header {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    height: clamp(64px, 4.5vw, 80px);
    background: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 99999 !important;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}
.rbt-light-header:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}
.rbt-light-container { max-width: 1280px; width: 100%; height: 100%; margin: 0 auto; padding: 0 clamp(15px, 2vw, 24px); display: flex; justify-content: space-between; align-items: center; box-sizing: border-box; }
.rbt-light-logo { color: #0f172a; font-size: clamp(20px, 0.6vw + 14px, 24px); font-weight: 800; text-decoration: none; letter-spacing: -0.5px; white-space: nowrap; }
.rbt-logo-gold {
    background: linear-gradient(135deg, #F59E0B 0%, #FFB81C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.rbt-light-menu-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(4px, 0.5vw, 10px); }
.rbt-light-link { color: #334155; font-size: clamp(13px, 0.25vw + 11px, 15px); font-weight: 600; text-decoration: none; cursor: pointer; padding: clamp(8px, 0.6vw, 12px) clamp(12px, 1vw, 18px); border-radius: 50px; display: flex; align-items: center; gap: clamp(4px, 0.4vw, 8px); transition: all 0.3s ease; box-sizing: border-box; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.rbt-light-trigger { background: transparent !important; border: 0 !important; font: inherit !important; color: #334155 !important; margin: 0 !important; appearance: none !important; outline: none !important; box-shadow: none !important; }
.rbt-light-trigger:focus, .rbt-light-trigger:active { background: transparent !important; color: #334155 !important; }
@media (hover: hover) and (min-width: 992px) {
    .rbt-light-link:hover, .rbt-light-dropdown:hover .rbt-light-trigger, .rbt-light-dropdown.open .rbt-light-trigger { background: #f1f5f9 !important; color: #0f172a !important; }
    .rbt-light-dropdown:hover .rbt-light-arrow { color: #0f172a !important; }
}
.rbt-menu-ico { font-size: clamp(14px, 0.4vw, 16px); transition: transform 0.3s ease; }
.rbt-light-link:hover .rbt-menu-ico { transform: scale(1.15) rotate(-5deg); }
.rbt-light-arrow { font-size: 10px; margin-left: 2px; color: #94a3b8; transition: transform 0.3s ease; }
.rbt-light-dropdown.open .rbt-light-arrow { transform: rotate(180deg); color: #0f172a !important; }
.rbt-light-dropdown { position: relative; }
.rbt-light-megamenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: clamp(460px, 42vw, 620px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: clamp(16px, 1.5vw, 24px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100000;
}
@media (min-width: 992px) { .rbt-light-dropdown:hover .rbt-light-megamenu, .rbt-light-dropdown.open .rbt-light-megamenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(8px); } }
.rbt-light-subgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(6px, 0.8vw, 14px); }
.rbt-light-subgrid a { color: #475569; font-size: clamp(13px, 0.2vw + 11px, 14px); font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: clamp(6px, 0.6vw, 10px); padding: clamp(8px, 0.6vw, 12px) clamp(10px, 0.8vw, 14px); border-radius: 12px; transition: all 0.2s ease; }
.rbt-light-subgrid a:hover { color: #0f172a; background: #f8fafc; transform: translateX(4px); }
.rbt-light-checkbox { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.rbt-mobile-logo-inside { display: none; }
body.admin-bar .rbt-light-header { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .rbt-light-header { top: 46px; } }
#wpadminbar { z-index: 99999999 !important; }

@media (max-width: 991px) {
    .rbt-light-header { height: clamp(60px, 14vw, 72px); background: rgba(255, 255, 255, 0.95); }
    .rbt-light-phone-box { display: none; }
    .rbt-light-checkbox:focus-visible ~ .rbt-light-burger { outline: 2px solid #2563eb !important; outline-offset: 3px !important; }
    .rbt-light-burger { display: flex; align-items: center; justify-content: center; width: clamp(44px, 11vw, 48px); height: clamp(44px, 11vw, 48px); min-width: 44px; min-height: 44px; background: #f1f5f9; border-radius: 50%; cursor: pointer; z-index: 100002 !important; transition: all 0.3s ease; -webkit-tap-highlight-color: transparent; }
    .rbt-light-burger:hover { background: #e2e8f0; transform: scale(1.05); }
    .rbt-burger-box { display: flex; flex-direction: column; justify-content: space-between; width: clamp(18px, 5.5vw, 22px); height: clamp(12px, 3.5vw, 14px); }
    .rbt-burger-box span { display: block; width: 100%; height: 2.5px; background: #0f172a; border-radius: 4px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
    .rbt-light-nav { position: fixed; top: 0; left: 0; width: 100% !important; height: 100vh; height: 100dvh; background: #ffffff; padding: 20px clamp(18px, 5vw, 26px) 40px; padding-top: calc(20px + env(safe-area-inset-top)); padding-bottom: calc(40px + env(safe-area-inset-bottom)); box-sizing: border-box; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 100001 !important; overflow-y: auto; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; }
    .rbt-mobile-logo-inside { display: flex; align-items: center; height: 50px; margin-bottom: clamp(20px, 4vw, 30px); border-bottom: 2px solid #f1f5f9; padding-bottom: 15px; }
    .rbt-mobile-logo-inside .rbt-light-logo { font-size: clamp(20px, 5vw, 26px); }
    .rbt-light-menu-list { flex-direction: column; align-items: flex-start; gap: clamp(8px, 2vw, 12px); width: 100%; }
    .rbt-light-link { font-size: clamp(16px, 4.5vw, 19px); width: 100%; justify-content: space-between; border-bottom: 1px solid #f1f5f9; border-radius: 0; padding: clamp(14px, 3.5vw, 18px) clamp(10px, 2.5vw, 12px); min-height: 48px; white-space: normal; }
    .rbt-light-link:hover { background: #f8fafc; border-radius: 12px; color: #0f172a; }
    .rbt-light-megamenu { position: static; transform: none !important; width: 100% !important; background: #f8fafc; border: none; border-radius: 16px; padding: clamp(12px, 3vw, 16px); box-shadow: none; margin-top: 8px; display: none; opacity: 1; visibility: visible; box-sizing: border-box; }
    .rbt-light-dropdown.open .rbt-light-megamenu { display: block !important; }
    .rbt-light-subgrid { grid-template-columns: 1fr; gap: 6px; }
    .rbt-light-subgrid a { font-size: clamp(14px, 4vw, 16px); padding: clamp(12px, 3vw, 15px); border-bottom: 1px solid rgba(0,0,0,0.03); color: #334155; min-height: 44px; }
    .rbt-light-checkbox:checked ~ .rbt-light-nav { transform: translateX(0); }
    .rbt-light-checkbox:checked ~ .rbt-light-burger { background: #2563eb; }
    .rbt-light-checkbox:checked ~ .rbt-light-burger span { background: #ffffff; }
    .rbt-light-checkbox:checked ~ .rbt-light-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .rbt-light-checkbox:checked ~ .rbt-light-burger span:nth-child(2) { opacity: 0; }
    .rbt-light-checkbox:checked ~ .rbt-light-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 380px) {
    .rbt-light-logo { font-size: 18px; }
    .rbt-light-link { font-size: 15px; padding: 12px 10px; }
    .rbt-light-nav { padding-left: 16px; padding-right: 16px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   ЧАСТЬ 5. HERO-БЛОК (ЗАФИКСИРОВАНО)
   ═══════════════════════════════════════════════════════════════════════════ */
.rbt-hero-section {
    width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 140px 0 90px 0 !important;
    position: relative !important; background: transparent !important; min-height: clamp(500px, 40vw, 650px) !important;
    display: flex !important; align-items: center !important; justify-content: flex-start !important; box-sizing: border-box !important; overflow: visible !important; z-index: 1;
}
.rbt-hero-section::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
    background-color: #0B1120;
    background-image: linear-gradient(90deg,
        #0B1120 0%,
        #0B1120 30%,
        rgba(11, 17, 32, 0.92) 45%,
        rgba(11, 17, 32, 0.6) 60%,
        rgba(11, 17, 32, 0.2) 75%,
        rgba(11, 17, 32, 0.05) 100%),
        url("https://remont-samara163.ru/wp-content/uploads/2025/01/2323.webp") !important;
    background-size: cover !important; background-position: right center !important; background-repeat: no-repeat !important; z-index: -1; pointer-events: none;
}
.rbt-hero-container { width: 100% !important; max-width: 1280px !important; margin: 0 auto !important; padding: 0 clamp(20px, 5vw, 40px) !important; box-sizing: border-box !important; display: flex !important; justify-content: flex-start !important; }
.rbt-hero-content { max-width: 60% !important; width: 100% !important; display: flex !important; flex-direction: column !important; gap: 24px !important; position: relative !important; z-index: 10 !important; text-align: left !important; }
.rbt-hero-title { margin: 0 !important; font-family: "Montserrat", sans-serif !important; font-size: clamp(32px, 3vw + 14px, 52px) !important; font-weight: 800 !important; color: #FFFFFF !important; line-height: 1.15 !important; letter-spacing: -1px !important; text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important; text-align: left !important; display: block !important; text-wrap: balance; }
.rbt-hero-title span {
    background: linear-gradient(135deg, #FFD700 0%, #FFB81C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline !important;
    text-shadow: 0 0 40px rgba(255, 184, 28, 0.3);
}
.rbt-hero-subtitle { margin: 0 !important; font-size: clamp(15px, 0.5vw + 12px, 18px) !important; line-height: 1.7 !important; color: #CBD5E1 !important; font-family: "Montserrat", sans-serif !important; text-align: left !important; display: block !important; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important; max-width: 90%; }
.rbt-hero-features { display: flex !important; flex-direction: column !important; gap: 16px !important; width: 100% !important; margin-top: 10px; }
.rbt-feature-item {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 16px !important;
    padding: 16px 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}
.rbt-feature-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateX(8px) !important;
    border-color: rgba(255, 184, 28, 0.3) !important;
}
.rbt-feature-item::before { content: attr(data-icon) !important; font-size: 24px !important; line-height: 1 !important; flex-shrink: 0 !important; display: inline-block !important; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.rbt-feature-item strong { color: #FFFFFF !important; font-size: 15px !important; font-weight: 700 !important; display: block !important; text-align: left !important; margin: 0 !important; letter-spacing: 0.3px; }
.rbt-feature-item small { color: #94A3B8 !important; font-size: 13px !important; display: block !important; margin-top: 4px !important; text-align: left !important; line-height: 1.4; }

@media (max-width: 1024px) {
    .rbt-hero-content { max-width: 75% !important; }
    .rbt-hero-section::before { background-position: right -40px center !important; }
}

@media (max-width: 768px) {
    .rbt-hero-section { width: 100% !important; margin: 0 !important; padding: 120px 15px 60px 15px !important; text-align: center !important; min-height: auto !important; }
    .rbt-hero-section::before {
        /* фото-баннер: 3 мастера в ряд (100% ширины), градиент уходит в navy */
        background-image: linear-gradient(to bottom, rgba(11, 17, 32, 0.35) 0%, rgba(11, 17, 32, 0.78) 62%, rgba(11, 17, 32, 0.97) 88%, #0B1120 100%), url("https://remont-samara163.ru/wp-content/uploads/2025/01/2323.webp") !important;
        background-position: top center !important;
        background-size: 100% auto !important;
        background-repeat: no-repeat !important;
    }
    .rbt-hero-container { padding: 0 !important; justify-content: center !important; }
    .rbt-hero-content { max-width: 100% !important; align-items: center !important; gap: 24px !important; text-align: center !important; }
    .rbt-hero-title { font-size: clamp(28px, 7vw, 36px) !important; text-align: center !important; }
    .rbt-hero-subtitle { font-size: clamp(14px, 4vw, 16px) !important; text-align: center !important; max-width: 100%; }
    .rbt-feature-item { text-align: left; width: 100% !important; flex-direction: column; align-items: flex-start; padding: 16px !important; }
    .rbt-feature-item::before { margin-bottom: -8px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   ЧАСТЬ 6. КНОПКИ 2026
   ═══════════════════════════════════════════════════════════════════════════ */
@keyframes rbt-shimmer {
    0% { transform: translateX(-100%) skewX(-20deg); }
    100% { transform: translateX(200%) skewX(-20deg); }
}

@keyframes rbt-glow-pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(255, 184, 28, 0.35), 0 0 0 0 rgba(255, 184, 28, 0.4); }
    50% { box-shadow: 0 14px 40px rgba(255, 184, 28, 0.5), 0 0 0 8px rgba(255, 184, 28, 0); }
}

.rbt-hero-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    align-self: flex-start;
    background: linear-gradient(135deg, #FFD700 0%, #FFB81C 50%, #FF9500 100%) !important;
    background-size: 200% 200% !important;
    color: #0f172a !important;
    border: none !important;
    padding: 18px 48px !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: clamp(14px, 0.4vw + 11px, 16px) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    overflow: hidden !important;
    isolation: isolate;
    box-shadow:
        0 10px 30px rgba(255, 184, 28, 0.35),
        0 4px 12px rgba(255, 149, 0, 0.25),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1) !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    outline: none !important;
    margin-top: 15px !important;
    box-sizing: border-box !important;
    min-height: 56px;
    animation: rbt-glow-pulse 3s ease-in-out infinite;
}
.rbt-hero-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: translateX(-100%) skewX(-20deg);
    z-index: 1;
    pointer-events: none;
}
.rbt-hero-btn::after {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 100%);
    border-radius: 50px 50px 0 0;
    pointer-events: none;
    z-index: 0;
}
.rbt-hero-btn > * { position: relative; z-index: 2; }

@media (hover: hover) {
    .rbt-hero-btn:hover {
        background-position: 100% 100% !important;
        color: #0f172a !important;
        transform: translateY(-6px) scale(1.03) !important;
        box-shadow:
            0 20px 50px rgba(255, 184, 28, 0.5),
            0 8px 20px rgba(255, 149, 0, 0.35),
            inset 0 2px 0 rgba(255, 255, 255, 0.7),
            inset 0 -2px 0 rgba(0, 0, 0, 0.1) !important;
    }
    .rbt-hero-btn:hover::before { animation: rbt-shimmer 0.8s ease forwards; }
}
.rbt-hero-btn:active {
    transform: translateY(-2px) scale(0.99) !important;
    transition-duration: 0.1s !important;
}

.rbt-service-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    background: linear-gradient(135deg, #FFB81C 0%, #FF9500 100%) !important;
    color: #1e293b !important;
    text-decoration: none !important;
    padding: 12px 22px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    overflow: hidden !important;
    isolation: isolate;
    box-shadow:
        0 4px 14px rgba(255, 184, 28, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.rbt-service-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: translateX(-100%) skewX(-20deg);
    pointer-events: none;
    z-index: 1;
}
@media (hover: hover) {
    .rbt-service-btn:hover {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
        color: #ffffff !important;
        transform: translateY(-3px) scale(1.04) !important;
        box-shadow:
            0 10px 25px rgba(15, 23, 42, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
        border-color: rgba(255, 184, 28, 0.6) !important;
    }
    .rbt-service-btn:hover::before { animation: rbt-shimmer 0.6s ease forwards; }
}
.rbt-service-btn:active { transform: translateY(-1px) scale(0.98) !important; }

.rbt-steps-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #1e293b !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 16px 38px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase;
    border-radius: 50px !important;
    overflow: hidden !important;
    isolation: isolate;
    border: 2px solid #1e293b !important;
    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    min-height: 52px;
    z-index: 1;
}
.rbt-steps-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #FFD700 0%, #FFB81C 50%, #FF9500 100%);
    background-size: 200% 200%;
    border-radius: 50px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.35s ease;
}
@media (hover: hover) {
    .rbt-steps-btn:hover {
        color: #0f172a !important;
        border-color: #FFB81C !important;
        transform: translateY(-4px) scale(1.02) !important;
        box-shadow:
            0 15px 35px rgba(255, 184, 28, 0.45),
            0 0 30px rgba(255, 184, 28, 0.25),
            inset 0 2px 0 rgba(255, 255, 255, 0.4) !important;
    }
    .rbt-steps-btn:hover::before { opacity: 1; }
}
.rbt-steps-btn:active { transform: translateY(-1px) scale(0.99) !important; }

.rbt-toggle-btn {
    position: relative !important;
    display: block !important;
    text-align: center !important;
    margin: 30px auto 0 !important;
    background: linear-gradient(135deg, #FFD700 0%, #FFB81C 100%) !important;
    background-size: 200% 200% !important;
    color: #1e293b !important;
    border: none !important;
    padding: 16px 48px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    border-radius: 50px !important;
    cursor: pointer !important;
    overflow: hidden !important;
    isolation: isolate;
    box-shadow:
        0 8px 25px rgba(255, 184, 28, 0.35),
        inset 0 2px 0 rgba(255, 255, 255, 0.5) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    user-select: none;
}
.rbt-toggle-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: translateX(-100%) skewX(-20deg);
    pointer-events: none;
}
.rbt-toggle-btn:hover {
    background-position: 100% 100% !important;
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow:
        0 15px 40px rgba(255, 184, 28, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.7) !important;
}
.rbt-toggle-btn:hover::before { animation: rbt-shimmer 0.7s ease forwards; }
.rbt-toggle-btn:active { transform: translateY(-1px) scale(0.99) !important; }

.rbt-hidden-input:checked ~ .rbt-toggle-btn {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    color: #ffffff !important;
    box-shadow:
        0 8px 25px rgba(15, 23, 42, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.rbt-beautiful-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 56px !important;
    background: linear-gradient(135deg, #FFD700 0%, #FFB81C 100%) !important;
    background-size: 200% 200% !important;
    color: #0f172a !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    cursor: pointer !important;
    overflow: hidden !important;
    isolation: isolate;
    box-shadow:
        0 8px 25px rgba(255, 184, 28, 0.35),
        inset 0 2px 0 rgba(255, 255, 255, 0.5) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    margin-top: 10px !important;
    outline: none !important;
    font-family: 'Segoe UI', Roboto, sans-serif !important;
}
.rbt-beautiful-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: translateX(-100%) skewX(-20deg);
    pointer-events: none;
}
.rbt-beautiful-btn:hover {
    background-position: 100% 100% !important;
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow:
        0 15px 40px rgba(255, 184, 28, 0.5),
        0 0 0 4px rgba(255, 184, 28, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.7) !important;
}
.rbt-beautiful-btn:hover::before { animation: rbt-shimmer 0.7s ease forwards; }
.rbt-beautiful-btn:active { transform: translateY(-1px) scale(0.99) !important; }
.rbt-beautiful-btn:disabled {
    background: #94a3b8 !important;
    color: #f1f5f9 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
    animation: none !important;
}
.rbt-beautiful-btn:disabled::before { display: none; }

.rbt-light-phone-link {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #0f172a !important;
    font-size: clamp(13px, 0.3vw + 11px, 15px) !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    overflow: hidden;
    isolation: isolate;
    box-shadow:
        0 4px 12px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    white-space: nowrap;
}
.rbt-light-phone-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #FFD700 0%, #FFB81C 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.35s ease;
}
.rbt-light-phone-link:hover {
    color: #0f172a !important;
    border-color: #FFB81C !important;
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow:
        0 12px 30px rgba(255, 184, 28, 0.3),
        0 0 0 3px rgba(255, 184, 28, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}
.rbt-light-phone-link:hover::before { opacity: 1; }

.rbt-about-cta-phone {
    position: relative;
    color: #2563eb !important;
    font-size: 22px;
    font-weight: 800;
    text-decoration: none !important;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}
.rbt-about-cta-phone::after {
    content: '';
    position: absolute;
    left: 0; bottom: -4px;
    width: 0; height: 2px;
    background: linear-gradient(90deg, #2563eb, #FFB81C);
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.rbt-about-cta-phone:hover {
    color: #1e293b !important;
    transform: translateY(-2px);
    text-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.rbt-about-cta-phone:hover::after { width: 100%; }

.rbt-faq-question {
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    background: transparent;
    border-radius: 12px 12px 0 0;
}
.rbt-faq-question::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #FFB81C, #FF9500);
    border-radius: 4px;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: center;
    transition: all 0.3s ease;
}
.rbt-faq-item:hover .rbt-faq-question {
    padding-left: 30px;
    background: rgba(255, 184, 28, 0.03);
}
.rbt-faq-item:hover .rbt-faq-question::before {
    opacity: 1;
    transform: scaleY(1);
}
.rbt-faq-item[open] .rbt-faq-question {
    background: linear-gradient(90deg, rgba(255, 184, 28, 0.05), transparent);
}
.rbt-faq-item[open] .rbt-faq-question::before {
    opacity: 1;
    transform: scaleY(1);
}
.rbt-faq-item[open] .rbt-faq-question::after {
    transform: rotate(45deg);
    color: #FF9500;
}


/* ═══════════════════════════════════════════════════════════════════════════
   ЧАСТЬ 7. MOBILE — отключаем тяжёлые эффекты
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .rbt-hero-btn,
    .rbt-toggle-btn,
    .rbt-beautiful-btn {
        animation: none !important;
        width: 100% !important;
        align-self: stretch !important;
    }

    .rbt-hero-btn:hover,
    .rbt-toggle-btn:hover,
    .rbt-beautiful-btn:hover {
        transform: translateY(-2px) !important;
    }

    .rbt-hero-btn::before,
    .rbt-service-btn::before,
    .rbt-toggle-btn::before,
    .rbt-beautiful-btn::before {
        display: none;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   ЧАСТЬ 8. A11Y
   ═══════════════════════════════════════════════════════════════════════════ */
.rbt-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* ███████████████████████████████████████████████████████████████████████████
   ЧАСТЬ 9. BLOG 2026 — ТЁМНАЯ ТЕМА + ШАПКА (ФИНАЛ)
   ███████████████████████████████████████████████████████████████████████████ */

:root {
  --rbt-blog-bg: #0B1120;
  --rbt-blog-card: rgba(255, 255, 255, 0.04);
  --rbt-blog-line: rgba(255, 255, 255, 0.10);
  --rbt-blog-text: #E2E8F0;
  --rbt-blog-muted: #94A3B8;
  --rbt-blog-gold: #FFB81C;
}

.blog, .archive, .search, .single-post,
.blog .site-content, .archive .site-content, .search .site-content, .single-post .site-content {
  background: var(--rbt-blog-bg) !important;
  color: var(--rbt-blog-text);
}

.rbt-blog-hero-dark {
  position: relative;
  width: 100%;
  background-color: #0B1120;
  background-image: 
    linear-gradient(90deg, #0B1120 0%, #0B1120 35%, rgba(11, 17, 32, 0.6) 55%, rgba(11, 17, 32, 0.0) 100%),
    url("https://remont-samara163.ru/wp-content/uploads/2025/01/2323.webp");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  padding: 140px 0 80px;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
  margin: 0 auto;
}
.rbt-blog-hero-dark::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.12) 100%);
  pointer-events: none;
  z-index: 1;
}
.rbt-blog-hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  display: flex;
  justify-content: flex-start;
  position: relative;
  z-index: 2;
}
.rbt-blog-hero-content {
  max-width: 650px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}
.rbt-blog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: rgba(255, 184, 28, 0.15);
  color: #FFC93C;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255, 184, 28, 0.3);
  margin-bottom: 5px;
}
.rbt-blog-eyebrow svg { width: 14px; height: 14px; }
.rbt-blog-title {
  color: #FFFFFF !important;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0;
  text-wrap: balance;
}
.rbt-blog-title span {
  background: linear-gradient(135deg, #FFD700 0%, #FFB81C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.rbt-blog-desc {
  color: #CBD5E1 !important;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  max-width: 600px;
}
.rbt-blog-trust {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #94A3B8;
  width: fit-content;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.rbt-blog-trust strong { color: #FFFFFF; font-weight: 800; }
.rbt-blog-sep { width: 4px; height: 4px; background: #475569; border-radius: 50%; }

@media (max-width: 768px) {
  .rbt-blog-hero-dark { 
    padding: 120px 0 50px; 
    text-align: center; 
    background-position: center center;
    background-image: 
      linear-gradient(180deg, rgba(11, 17, 32, 0.85) 0%, rgba(11, 17, 32, 0.95) 100%),
      url("https://remont-samara163.ru/wp-content/uploads/2025/01/2323.webp");
  }
  .rbt-blog-hero-dark::after { display: none; }
  .rbt-blog-hero-container { justify-content: center; }
  .rbt-blog-hero-content { max-width: 100%; align-items: center; text-align: center; }
  .rbt-blog-eyebrow { align-self: center; }
  .rbt-blog-title { font-size: 28px; }
  .rbt-blog-desc { text-align: center; }
  .rbt-blog-trust { justify-content: center; }
}

#main .ast-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  margin: 0 !important;
}
#main .ast-article-post {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
.ast-article-post .post-thumb img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  border-radius: 12px 12px 0 0 !important;
  display: block;
}
.ast-article-post .ast-article-inner {
  background: var(--rbt-blog-card) !important;
  border: 1px solid var(--rbt-blog-line) !important;
  border-radius: 16px !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.ast-article-post .ast-article-inner:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 184, 28, 0.4) !important;
}
.ast-article-post .post-content {
  padding: 20px !important;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.ast-article-post .entry-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
}
.ast-article-post .entry-title a {
  color: #FFFFFF !important;
  text-decoration: none !important;
}
.ast-article-post .entry-title a:hover {
  color: var(--rbt-blog-gold) !important;
}
.ast-article-post .entry-content {
  color: var(--rbt-blog-muted) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin-bottom: 20px !important;
  flex-grow: 1;
}
.ast-article-post .entry-meta,
.ast-article-post .entry-meta * {
  color: #64748B !important;
  font-size: 12px !important;
}
.ast-article-post .ast-read-more-container a {
  display: inline-flex !important;
  background: var(--rbt-blog-gold) !important;
  color: #0B1120 !important;
  padding: 8px 16px !important;
  border-radius: 50px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
.ast-article-post .ast-read-more-container a:hover {
  background: #FFFFFF !important;
}
@media (max-width: 921px) {
  #main .ast-row { grid-template-columns: 1fr !important; }
  .ast-article-post .post-thumb img { height: 250px !important; }
}

.single .ast-single-post-featured-section {
  max-height: 450px !important;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 30px !important;
}
.single .ast-single-post-featured-section img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.single .entry-content {
  color: #CBD5E1 !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
}
.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4 {
  color: #FFFFFF !important;
  border-bottom: 2px solid var(--rbt-blog-line);
  padding-bottom: 8px;
  margin-top: 1.5em;
}
.single .entry-content a {
  color: var(--rbt-blog-gold) !important;
}
.single .entry-header .entry-title {
  color: #FFFFFF !important;
}
.single .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.single-post .rbt-team-section {
  margin-top: 60px !important;
  padding-top: 20px !important;
}
.single-post .rbt-master-card,
.single-post .rbt-feature-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.single-post .rbt-master-name,
.single-post .rbt-feature-title,
.single-post .rbt-team-heading,
.single-post .rbt-team-subtitle,
.single-post .rbt-team-text strong {
  color: #FFFFFF !important;
}
.single-post .rbt-master-role-line,
.single-post .rbt-master-meta li,
.single-post .rbt-master-meta li span,
.single-post .rbt-master-label,
.single-post .rbt-feature-desc,
.single-post .rbt-team-text {
  color: #CBD5E1 !important;
}
.single-post .rbt-team-heading mark {
  color: #FFFFFF !important;
  background: linear-gradient(180deg, transparent 60%, rgba(255, 184, 28, 0.4) 60%, rgba(255, 184, 28, 0.4) 90%, transparent 90%) !important;
}
.single-post .rbt-master-footer {
  border-top: 1px dashed rgba(255, 255, 255, 0.15) !important;
}
.single-post .rbt-master-id {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #94A3B8 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
.single-post .rbt-master-rating {
  color: #FFFFFF !important;
}
.single-post .entry-content p,
.single-post .entry-content li,
.single-post .entry-content blockquote,
.single-post .entry-content td {
  color: #CBD5E1 !important;
}

#secondary .widget {
  background: var(--rbt-blog-card) !important;
  border: 1px solid var(--rbt-blog-line) !important;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}
#secondary .widget-title {
  color: #FFFFFF !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  border-bottom: 2px solid var(--rbt-blog-line);
  padding-bottom: 10px;
  margin-bottom: 15px;
}
#secondary a {
  color: var(--rbt-blog-muted) !important;
}
#secondary a:hover {
  color: var(--rbt-blog-gold) !important;
}
