/*
Theme Name: MirShtor
Theme URI: https://mirshtor.by
Description: Кастомная тема для рольштор и жалюзи MirShtor
Version: 1.0
Author: MirShtor
*/

/* ===========================
   1. БАЗОВЫЕ СТИЛИ И СБРОС
   =========================== */
* { box-sizing: border-box; }

:root{
    --ms-sand-50: #fbf8f2;
    --ms-sand-100: #f6f1e7;
    --ms-sand-200: #efe6d7;
    --ms-graphite-900: #1f1f1f;
    --ms-graphite-800: #2b2b2b;
    --ms-graphite-700: #3b3b3b;
    --ms-graphite-500: #6b6b6b;
    --ms-white: #ffffff;

    /* Акцент для кнопок/ссылок (тёплый песочно‑золотой) */
    --ms-accent: #b88a3b;
    --ms-accent-hover: #a07731;
    --ms-accent-soft: rgba(184, 138, 59, 0.14);
    --ms-border: rgba(31, 31, 31, 0.10);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--ms-sand-100);
    color: var(--ms-graphite-800);
    line-height: 1.6;
}

/* Принудительно Inter везде */
html, body, button, input, textarea, select {
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* =========================================================
   Shortcode gallery + lightbox
   ========================================================= */
.ms-gallery{
    display: grid;
    grid-template-columns: repeat(var(--ms-g-cols, 4), minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}
@media (max-width: 900px){
    .ms-gallery{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
    .ms-gallery{ grid-template-columns: 1fr; }
}
.ms-gallery__item{
    display: block;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(31,31,31,0.08);
    background: rgba(255,255,255,0.9);
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ms-gallery__item:hover{
    transform: translateY(-3px);
    box-shadow: 0 22px 55px rgba(184, 138, 59, 0.16);
    border-color: rgba(184,138,59,0.28);
}
.ms-gallery__item img{
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.ms-lightbox{
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
}
.ms-lightbox.is-open{ display: block; }
.ms-lightbox__backdrop{
    position: absolute;
    inset: 0;
    background: rgba(31,31,31,0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.ms-lightbox__dialog{
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
}
.ms-lightbox__img{
    max-width: min(1100px, 92vw);
    max-height: 86vh;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    background: #fff;
}
.ms-lightbox__close{
    position: absolute;
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.ms-lightbox__nav{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}
.ms-lightbox__nav--prev{ left: 18px; }
.ms-lightbox__nav--next{ right: 18px; }
.ms-lightbox__close:hover,
.ms-lightbox__nav:hover{
    background: rgba(255,255,255,0.20);
}
.ms-lightbox-open body{
    overflow: hidden;
}

/* =========================================================
   Home: "Популярные товары" shortcode [products]
   Ограничиваем ширину и делаем мягкий дизайн
   ========================================================= */
body.home .entry-content > h2{
    max-width: 1400px;
    margin: 35px auto 18px;
    padding: 0 20px;
    font-weight: 900;
    color: var(--ms-graphite-900);
}
body.home .entry-content > h2 + .woocommerce{
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 20px 10px;
}
body.home .entry-content > h2 + .woocommerce ul.products{
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
}
@media (max-width: 1200px){
    body.home .entry-content > h2 + .woocommerce ul.products{
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 900px){
    body.home .entry-content > h2 + .woocommerce ul.products{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 520px){
    body.home .entry-content > h2 + .woocommerce ul.products{
        grid-template-columns: 1fr !important;
    }
}

/* Немного мягче карточки в этом блоке */
body.home .entry-content > h2 + .woocommerce ul.products li.product{
    background: rgba(255,255,255,0.92);
    border-color: rgba(31,31,31,0.06);
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}
body.home .entry-content > h2 + .woocommerce ul.products li.product a img{
    border-radius: 0;
    aspect-ratio: 4 / 5;
}
body.home .entry-content > h2 + .woocommerce ul.products li.product .woocommerce-loop-product__title{
    min-height: 0;
    font-size: 14px;
}
body.home .entry-content > h2 + .woocommerce ul.products li.product .price{
    font-size: 16px;
}

/* SiteOrigin/Editor иногда оборачивает контент — дублируем селекторы */
body.home .entry-content .textwidget > h2,
body.home .entry-content .siteorigin-widget-tinymce > h2,
body.home .entry-content .siteorigin-widget-tinymce h2{
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
body.home .entry-content .textwidget > h2 + .woocommerce,
body.home .entry-content .siteorigin-widget-tinymce > h2 + .woocommerce,
body.home .entry-content .siteorigin-widget-tinymce h2 + .woocommerce,
body.home .entry-content .woocommerce.columns-4{
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Any page: WooCommerce [products] blocks (editor content) */
.page .entry-content .woocommerce:not(.woocommerce-page),
.page .entry-content .woocommerce{
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
.page .entry-content .woocommerce ul.products{
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
}
@media (max-width: 1200px){
    .page .entry-content .woocommerce ul.products{ grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (max-width: 900px){
    .page .entry-content .woocommerce ul.products{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px){
    .page .entry-content .woocommerce ul.products{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
body.home .entry-content .woocommerce.columns-4 ul.products{
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 16px !important;
}
/* Шорткод товаров на главной: делаем область фото выше (как в каталоге) */
body.home .entry-content .woocommerce.columns-4 ul.products li.product a img{
    aspect-ratio: 3 / 4;
    width: 100% !important;
    height: 210px !important;
    object-fit: cover;
}
@media (max-width: 1100px){
    body.home .entry-content .woocommerce.columns-4 ul.products li.product a img{
        height: 190px !important;
    }
}
@media (max-width: 640px){
    body.home .entry-content .woocommerce.columns-4 ul.products li.product a img{
        height: 160px !important;
    }
}
@media (max-width: 1400px){
    body.home .entry-content .woocommerce.columns-4 ul.products{
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 1200px){
    body.home .entry-content .woocommerce.columns-4 ul.products{
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 900px){
    body.home .entry-content .woocommerce.columns-4 ul.products{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 520px){
    body.home .entry-content .woocommerce.columns-4 ul.products{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Р РЋР С”РЎР‚РЎвЂ№Р Р†Р В°Р ВµР С РІР‚СљР вЂ™ Р С”Р С•РЎР‚Р В·Р С‘Р Р…РЎС“РІР‚Сњ Р Р† Р В±Р В»Р С•Р С”Р Вµ Р С—Р С•Р С—РЎС“Р В»РЎРЏРЎР‚Р Р…РЎвЂ№РЎвЂ¦ РЎвЂљР С•Р Р†Р В°РЎР‚Р С•Р Р† */
body.home .entry-content .woocommerce.columns-4 ul.products li.product .button,
body.home .entry-content .woocommerce.columns-4 ul.products li.product a.button,
body.home .entry-content .woocommerce.columns-4 ul.products li.product .add_to_cart_button{
    display: none !important;
}

/* Р вЂР ВµР В»РЎвЂ№Р в„– РЎвЂћР С•Р Р… Р С‘Р СР ВµР Р…Р Р…Р С• Р Т‘Р В»РЎРЏ WooCommerce (Р С”Р В°РЎвЂљР В°Р В»Р С•Р С–/РЎвЂљР С•Р Р†Р В°РЎР‚РЎвЂ№) */
body.woocommerce,
body.woocommerce-page{
    background: #fff;
}

/* Р ВРЎРѓР С—РЎР‚Р В°Р Р†Р В»Р ВµР Р…Р С‘Р Вµ Р С”Р В°РЎР‚РЎвЂљР С‘Р Р…Р С•Р С” */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }

/* ===========================
   2. Р РЋР вЂўР СћР С™Р С’ Р В Р С™Р С›Р СњР СћР вЂўР в„ўР СњР вЂўР В 
   =========================== */
/* Р вЂќР В»РЎРЏ РЎРѓРЎвЂљРЎР‚Р В°Р Р…Р С‘РЎвЂ , Р С–Р Т‘Р Вµ Р Р…РЎС“Р В¶Р Р…РЎвЂ№ Р В±Р ВµР В»РЎвЂ№Р Вµ Р С—Р С•Р В»РЎРЏ (Р вЂР В»Р С•Р С–, Р РЋР В°Р в„–Р Т‘Р В±Р В°РЎР‚РЎвЂ№) */
.container {
    max-width: 1300px;
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 80vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    padding: 40px;
}

/* Р С›РЎвЂљРЎРѓРЎвЂљРЎС“Р С— Р С”Р С•Р Р…РЎвЂљР ВµР Р…РЎвЂљР В° РЎРѓР Р†Р ВµРЎР‚РЎвЂ¦РЎС“, РЎвЂЎРЎвЂљР С•Р В±РЎвЂ№ Р Р…Р Вµ Р С—РЎР‚РЎРЏРЎвЂљР В°Р В»РЎРѓРЎРЏ Р С—Р С•Р Т‘ РЎвЂћР С‘Р С”РЎРѓР С‘РЎР‚Р С•Р Р†Р В°Р Р…Р Р…Р С•Р в„– РЎв‚¬Р В°Р С—Р С”Р С•Р в„– */
.site-content-wrapper {
    padding-top: 10px;
}

/* ===========================
   3. HEADER & MENU (PREMIUM GLASS)
   =========================== */

/* --- Р РЋРЎвЂљР ВµР С”Р В»РЎРЏР Р…Р Р…Р В°РЎРЏ Р РЃР В°Р С—Р С”Р В° --- */
.site-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75); /* Р СџР С•Р В»РЎС“Р С—РЎР‚Р С•Р В·РЎР‚Р В°РЎвЂЎР Р…РЎвЂ№Р в„– Р В±Р ВµР В»РЎвЂ№Р в„– */
    backdrop-filter: blur(20px) saturate(180%); /* Р В­РЎвЂћРЎвЂћР ВµР С”РЎвЂљ РЎРѓРЎвЂљР ВµР С”Р В»Р В° */
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Р С™Р В»Р В°РЎРѓРЎРѓ Р Т‘Р В»РЎРЏ РЎРѓР С”РЎР‚РЎвЂ№РЎвЂљР С‘РЎРЏ РЎв‚¬Р В°Р С—Р С”Р С‘ Р С—РЎР‚Р С‘ РЎРѓР С”РЎР‚Р С•Р В»Р В»Р Вµ Р Р†Р Р…Р С‘Р В· (Р Т‘Р С•Р В±Р В°Р Р†Р В»РЎРЏР ВµРЎвЂљРЎРѓРЎРЏ JS) */
.site-header.header-hidden {
    transform: translateY(-100%);
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Р вЂњРЎР‚РЎС“Р С—Р С—Р С‘РЎР‚Р С•Р Р†Р С”Р В° Р вЂєР С•Р С–Р С• + Р РЋР С•РЎвЂ РЎРѓР ВµРЎвЂљР С‘ (Р РЋР В»Р ВµР Р†Р В°) */
.header-left-group {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* --- Р вЂєР С•Р С–Р С•РЎвЂљР С‘Р С— --- */
.site-branding a { text-decoration: none; display: flex; align-items: center; }
.custom-logo { height: 45px; width: auto; max-height: 45px; transition: 0.3s; }
.site-branding img { max-height: 45px; width: auto; }
.site-branding a:hover .custom-logo { transform: scale(1.05); }

/* Р вЂ”Р В°Р С—Р В°РЎРѓР Р…Р С•Р в„– РЎвЂљР ВµР С”РЎРѓРЎвЂљР С•Р Р†РЎвЂ№Р в„– Р В»Р С•Р С–Р С•, Р ВµРЎРѓР В»Р С‘ Р Р…Р ВµРЎвЂљ Р С”Р В°РЎР‚РЎвЂљР С‘Р Р…Р С”Р С‘ */
.text-logo { font-size: 24px; font-weight: 800; color: #333; letter-spacing: -1px; }
.text-logo .highlight { color: var(--ms-accent); }

/* --- Р РЋР С•РЎвЂ РЎРѓР ВµРЎвЂљР С‘ Р Р† РЎв‚¬Р В°Р С—Р С”Р Вµ (Р С™РЎР‚РЎС“Р С–Р В»РЎвЂ№Р Вµ Р С‘Р С”Р С•Р Р…Р С”Р С‘) --- */
.header-socials {
    display: flex;
    gap: 12px;
    padding-left: 25px;
    border-left: 1px solid rgba(0,0,0,0.1); /* Р вЂ™Р ВµРЎР‚РЎвЂљР С‘Р С”Р В°Р В»РЎРЉР Р…Р В°РЎРЏ РЎвЂЎР ВµРЎР‚РЎвЂљР В° */
    height: 30px;
    align-items: center;
}

.header-socials a {
    display: block;
    line-height: 0;
}

.header-socials img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Р СџР С•Р Т‘Р Т‘Р ВµРЎР‚Р В¶Р С”Р В° SVG-Р С‘Р С”Р С•Р Р…Р С•Р С” Р Р† РЎв‚¬Р В°Р С—Р С”Р Вµ */
.header-socials svg,
.mobile-socials-icons svg {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    padding: 7px;
    background: rgba(255,255,255,0.95);
    color: var(--ms-accent);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.header-socials a:hover svg,
.mobile-socials-icons a:hover svg {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.10);
}

.header-socials a:hover img {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(184, 138, 59, 0.25);
}

/* --- Р СљР ВµР Р…РЎР‹ (Desktop) --- */
/* Р В­РЎвЂљР С•РЎвЂљ РЎРѓРЎвЂљР С‘Р В»РЎРЉ Р С—РЎР‚Р С‘Р СР ВµР Р…РЎРЏР ВµРЎвЂљРЎРѓРЎРЏ Р Т‘Р В»РЎРЏ РЎРЊР С”РЎР‚Р В°Р Р…Р С•Р Р† РЎв‚¬Р С‘РЎР‚Р Вµ 901px (Р СџР С™) */
@media (min-width: 901px) {
    
    .main-navigation ul {
        display: flex;
        margin: 0; padding: 0;
        list-style: none;
        gap: 5px; 
    }

    .main-navigation ul li { position: relative; }

    .main-navigation ul li a {
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        color: #444;
        padding: 10px 18px;
        border-radius: 50px;
        transition: all 0.3s ease;
        position: relative;
        letter-spacing: 0.5px;
        display: flex;
        align-items: center; /* Р вЂ™РЎвЂ№РЎР‚Р В°Р Р†Р Р…Р С‘Р Р†Р В°Р Р…Р С‘Р Вµ РЎвЂљР ВµР С”РЎРѓРЎвЂљР В° Р С‘ РЎРѓРЎвЂљРЎР‚Р ВµР В»Р С”Р С‘ */
        gap: 8px; /* Р В Р В°РЎРѓРЎРѓРЎвЂљР С•РЎРЏР Р…Р С‘Р Вµ Р Т‘Р С• РЎРѓРЎвЂљРЎР‚Р ВµР В»Р С”Р С‘ */
    }

    /* Р В­РЎвЂћРЎвЂћР ВµР С”РЎвЂљ Р С—РЎР‚Р С‘ Р Р…Р В°Р Р†Р ВµР Т‘Р ВµР Р…Р С‘Р С‘ (Hover) */
    .main-navigation ul li:hover > a {
        background: var(--ms-accent-soft);
        color: var(--ms-accent);
    }

    /* Р С’Р С”РЎвЂљР С‘Р Р†Р Р…РЎвЂ№Р в„– Р С—РЎС“Р Р…Р С”РЎвЂљ Р СР ВµР Р…РЎР‹ */
    .main-navigation ul li.current-menu-item > a {
        background: var(--ms-accent);
        color: #fff;
        box-shadow: 0 6px 18px rgba(184, 138, 59, 0.22);
    }

    /* Р СџРЎС“Р Р…Р С”РЎвЂљ Р’В«Р С™Р ВµР в„–РЎРѓРЎвЂ№Р’В» РІР‚вЂќ Р С•РЎвЂљР Т‘Р ВµР В»РЎРЉР Р…Р В°РЎРЏ Р С”Р Р…Р С•Р С—Р С”Р В° Р Р† Р СР ВµР Р…РЎР‹ */
    .main-navigation ul li#menu-item-1818 > a {
        background: var(--ms-accent);
        color: #fff !important;
        box-shadow: 0 6px 18px rgba(184, 138, 59, 0.22);
    }
    .main-navigation ul li#menu-item-1818:hover > a {
        background: var(--ms-accent-hover);
        color: #fff !important;
        box-shadow: 0 10px 25px rgba(184, 138, 59, 0.25);
    }
    .main-navigation ul li#menu-item-1818.current-menu-item > a {
        background: var(--ms-accent-hover);
        color: #fff !important;
    }
    .main-navigation ul li#menu-item-1818.menu-item-has-children > a::after {
        border-color: #fff;
        opacity: 0.95;
    }

    /* --- Р РЋР СћР В Р вЂўР вЂєР С›Р В§Р С™Р В Р вЂќР вЂєР Р‡ Р вЂ™Р В«Р СџР С’Р вЂќР С’Р В®Р В©Р вЂўР вЂњР С› Р РЋР СџР ВР РЋР С™Р С’ (Р СћР С•Р В»РЎРЉР С”Р С• Р СџР С™) --- */
    /* Р вЂќР С•Р В±Р В°Р Р†Р В»РЎРЏР ВµР С РЎРѓРЎвЂљРЎР‚Р ВµР В»Р С•РЎвЂЎР С”РЎС“ РЎвЂљР С•Р В»РЎРЉР С”Р С• РЎР‚Р С•Р Т‘Р С‘РЎвЂљР ВµР В»РЎРЏР С */
    .main-navigation ul li.menu-item-has-children > a::after {
        content: '';
        border: solid currentColor; /* Р В¦Р Р†Р ВµРЎвЂљ Р В±Р ВµРЎР‚Р ВµРЎвЂљРЎРѓРЎРЏ Р С•РЎвЂљ РЎвЂљР ВµР С”РЎРѓРЎвЂљР В° */
        border-width: 0 2px 2px 0;
        display: inline-block;
        padding: 2.5px; /* Р В Р В°Р В·Р СР ВµРЎР‚ РЎРѓРЎвЂљРЎР‚Р ВµР В»Р С”Р С‘ */
        transform: rotate(45deg) translateY(-2px);
        transition: transform 0.3s ease;
        opacity: 0.6;
    }

    /* Р СџРЎР‚Р С‘ Р Р…Р В°Р Р†Р ВµР Т‘Р ВµР Р…Р С‘Р С‘ РЎРѓРЎвЂљРЎР‚Р ВµР В»Р С”Р В° Р С—Р С•Р Р†Р С•РЎР‚Р В°РЎвЂЎР С‘Р Р†Р В°Р ВµРЎвЂљРЎРѓРЎРЏ */
    .main-navigation ul li.menu-item-has-children:hover > a::after {
        transform: rotate(-135deg) translateY(-2px);
        opacity: 1;
    }
    
    /* Р вЂўРЎРѓР В»Р С‘ Р В°Р С”РЎвЂљР С‘Р Р†Р Р…РЎвЂ№Р в„– Р С—РЎС“Р Р…Р С”РЎвЂљ, РЎРѓРЎвЂљРЎР‚Р ВµР В»Р С”Р В° РЎРѓРЎвЂљР В°Р Р…Р С•Р Р†Р С‘РЎвЂљРЎРѓРЎРЏ Р В±Р ВµР В»Р С•Р в„– */
    .main-navigation ul li.current-menu-item.menu-item-has-children > a::after {
        border-color: #fff;
    }

    /* --- Р вЂ™Р В«Р СџР С’Р вЂќР С’Р В®Р В©Р вЂўР вЂў Р СљР вЂўР СњР В® (Р СџР С™) --- */
    .main-navigation ul .sub-menu {
        position: absolute;
        top: 100%; left: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        min-width: 240px;
        width: max-content;
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        border-radius: 12px;
        padding: 10px;
        
        /* Р РЋР С”РЎР‚РЎвЂ№РЎвЂљР С• Р С—Р С• РЎС“Р СР С•Р В»РЎвЂЎР В°Р Р…Р С‘РЎР‹ */
        opacity: 0; visibility: hidden;
        transform: translateY(15px) scale(0.98);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        
        border: 1px solid rgba(255, 255, 255, 0.5);
        margin-top: 10px;
        z-index: 1001;
        
        display: flex; flex-direction: column; /* Р вЂ™Р ВµРЎР‚РЎвЂљР С‘Р С”Р В°Р В»РЎРЉР Р…РЎвЂ№Р в„– РЎРѓР С—Р С‘РЎРѓР С•Р С” */
    }

    /* Подменю 2-го уровня: открывать вбок (справа) */
    .main-navigation ul .sub-menu .sub-menu{
        top: 0;
        left: 100%;
        margin-top: 0;
        transform: translateX(12px) scale(0.98);
    }
    .main-navigation ul .sub-menu li:hover > .sub-menu{
        opacity: 1; visibility: visible;
        transform: translateX(0) scale(1);
    }

    /* Стрелка внутри выпадающего меню для пунктов со вложенными подпунктами */
    .main-navigation ul .sub-menu li.menu-item-has-children > a::after{
        content: '';
        margin-left: auto;
        border: solid currentColor;
        border-width: 0 2px 2px 0;
        display: inline-block;
        padding: 2.5px;
        transform: rotate(-45deg);
        opacity: 0.55;
    }
    .main-navigation ul .sub-menu li.menu-item-has-children:hover > a::after{ opacity: 1; }

    /* Р СџР С•Р С”Р В°Р В·РЎвЂ№Р Р†Р В°Р ВµР С Р С—РЎР‚Р С‘ Р Р…Р В°Р Р†Р ВµР Т‘Р ВµР Р…Р С‘Р С‘ */
    .main-navigation ul li:hover > .sub-menu {
        opacity: 1; visibility: visible;
        transform: translateY(0) scale(1);
    }

    .main-navigation ul .sub-menu li { margin: 0; width: 100%; }
    
    .main-navigation ul .sub-menu a {
        border-radius: 8px;
        margin-bottom: 2px;
        color: #555;
        text-transform: none;
        font-size: 15px;
        padding: 12px 20px;
        justify-content: flex-start;
    }
    
    /* Р Р€Р В±Р С‘РЎР‚Р В°Р ВµР С РЎРѓРЎвЂљРЎР‚Р ВµР В»Р С•РЎвЂЎР С”РЎС“ РЎС“ Р Р†Р В»Р С•Р В¶Р ВµР Р…Р Р…РЎвЂ№РЎвЂ¦ РЎРѓРЎРѓРЎвЂ№Р В»Р С•Р С”, РЎвЂЎРЎвЂљР С•Р В±РЎвЂ№ Р Р…Р Вµ Р Т‘РЎС“Р В±Р В»Р С‘РЎР‚Р С•Р Р†Р В°Р В»Р В°РЎРѓРЎРЉ */
    .main-navigation ul .sub-menu a::after { content: none !important; }

    .main-navigation ul .sub-menu a:hover {
        background: var(--ms-accent-soft);
        color: var(--ms-accent);
        transform: translateX(5px);
    }
}

/* Р РЋРЎвЂљР С‘Р В»Р С‘ hover РЎС“Р В¶Р Вµ Р С•Р С—РЎР‚Р ВµР Т‘Р ВµР В»Р ВµР Р…РЎвЂ№ Р Р†РЎвЂ№РЎв‚¬Р Вµ Р Р† Р СР ВµР Т‘Р С‘Р В°-Р В·Р В°Р С—РЎР‚Р С•РЎРѓР Вµ @media (min-width: 901px) */

/* Р С’Р С”РЎвЂљР С‘Р Р†Р Р…РЎвЂ№Р в„– Р С—РЎС“Р Р…Р С”РЎвЂљ Р СР ВµР Р…РЎР‹ (Р Р†РЎРѓР ВµР С–Р Т‘Р В° Р В·Р ВµР В»Р ВµР Р…РЎвЂ№Р в„–) - РЎРѓРЎвЂљР С‘Р В»Р С‘ РЎС“Р В¶Р Вµ Р С•Р С—РЎР‚Р ВµР Т‘Р ВµР В»Р ВµР Р…РЎвЂ№ Р Р†РЎвЂ№РЎв‚¬Р Вµ Р Р† Р СР ВµР Т‘Р С‘Р В°-Р В·Р В°Р С—РЎР‚Р С•РЎРѓР Вµ */

/* --- Р СљР С•Р В±Р С‘Р В»РЎРЉР Р…Р В°РЎРЏ Р В°Р Т‘Р В°Р С—РЎвЂљР В°РЎвЂ Р С‘РЎРЏ Р СљР ВµР Р…РЎР‹ --- */
.menu-toggle { display: none; }

/* ===========================
   Р СљР С›Р вЂР ВР вЂєР В¬Р СњР С›Р вЂў Р СљР вЂўР СњР В® (STYLE & ANIMATION)
   =========================== */

@media (max-width: 900px) {
    /* Р РЋР С”РЎР‚РЎвЂ№Р Р†Р В°Р ВµР С РЎРѓР С•РЎвЂ РЎРѓР ВµРЎвЂљР С‘ Р Р† РЎв‚¬Р В°Р С—Р С”Р Вµ (Р С•Р Р…Р С‘ Р Р†Р Р…Р С‘Р В·РЎС“) */
    .header-socials { display: none; }

    /* Р вЂєР С•Р С–Р С• Р С”Р С•Р СР С—Р В°Р С”РЎвЂљР Р…Р ВµР Вµ Р Р…Р В° Р СР С•Р В±Р С‘Р В»Р С”Р Вµ */
    .header-inner { height: 64px; }
    .header-left-group { gap: 14px; }
    .custom-logo { height: 32px; }
    .text-logo { font-size: 18px; }
    .site-branding img { max-height: 32px; width: auto; }
    
    /* Р С™Р Р…Р С•Р С—Р С”Р В° Р вЂњР В°Р СР В±РЎС“РЎР‚Р С–Р ВµРЎР‚ */
    .menu-toggle {
        display: flex; flex-direction: column; justify-content: space-between;
        width: 30px; height: 20px;
        background: transparent; border: none; padding: 0; cursor: pointer; z-index: 2000;
        margin-left: auto; /* Р СџРЎР‚Р С‘Р В¶Р С‘Р СР В°Р ВµР С Р Р†Р С—РЎР‚Р В°Р Р†Р С• */
    }
    .bar { background: #333; width: 100%; height: 2px; border-radius: 2px; transition: 0.3s; }
    
    .menu-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); }

    /* Р РЃРЎвЂљР С•РЎР‚Р С”Р В° Р СР ВµР Р…РЎР‹ */
    .main-navigation {
        position: fixed; top: 0; right: 0;
        width: 85%; max-width: 320px; height: 100vh;
        background: #f4f6f8; /* Р РЋР Р†Р ВµРЎвЂљР В»РЎвЂ№Р в„– РЎвЂћР С•Р Р… */
        padding-top: 90px;
        padding-bottom: 40px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        transform: translateX(100%);
        transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        display: flex; flex-direction: column;
        overflow-y: auto; /* Р вЂўРЎРѓР В»Р С‘ Р СР ВµР Р…РЎР‹ Р Т‘Р В»Р С‘Р Р…Р Р…Р С•Р Вµ, Р СР С•Р В¶Р Р…Р С• РЎРѓР С”РЎР‚Р С•Р В»Р В»Р С‘РЎвЂљРЎРЉ */
    }
    .main-navigation.toggled { transform: translateX(0); }
    
    .main-navigation ul { 
        display: flex; 
        flex-direction: column; 
        gap: 10px; 
        padding: 0 20px; 
        width: 100%;
        list-style: none;
        margin: 0;
    }

    /* --- Р РЋР СћР ВР вЂєР В¬ Р С™Р СњР С›Р СџР С›Р С™ Р СљР вЂўР СњР В® --- */
    .main-navigation ul li {
        width: 100%;
        position: relative;
    }

    .main-navigation ul li a { 
        font-size: 16px; 
        font-weight: 600;
        color: #333;
        background: #fff; /* Р вЂР ВµР В»Р В°РЎРЏ Р С”Р В°РЎР‚РЎвЂљР С•РЎвЂЎР С”Р В° */
        padding: 15px 20px;
        border-radius: 12px; /* Р вЂ”Р В°Р С”РЎР‚РЎС“Р С–Р В»Р ВµР Р…Р Р…РЎвЂ№Р Вµ РЎС“Р С–Р В»РЎвЂ№ */
        box-shadow: 0 2px 5px rgba(0,0,0,0.03);
        display: flex;
        align-items: center;
        justify-content: space-between; /* Р СћР ВµР С”РЎРѓРЎвЂљ РЎРѓР В»Р ВµР Р†Р В°, РЎРѓРЎвЂљРЎР‚Р ВµР В»Р С”Р В° РЎРѓР С—РЎР‚Р В°Р Р†Р В° */
        transition: 0.2s;
    }

    .main-navigation ul li a:active {
        transform: scale(0.98); /* Р В­РЎвЂћРЎвЂћР ВµР С”РЎвЂљ Р Р…Р В°Р В¶Р В°РЎвЂљР С‘РЎРЏ */
        background: #eee;
    }

    .main-navigation ul li#menu-item-1818 > a {
        background: #27ae60;
        color: #fff !important;
        box-shadow: 0 4px 14px rgba(39, 174, 96, 0.3);
    }
    .main-navigation ul li#menu-item-1818 > a:active {
        background: #219150;
        color: #fff !important;
    }
    .main-navigation ul li#menu-item-1818.menu-item-has-children > a::after {
        border-color: rgba(255, 255, 255, 0.95);
    }
    .main-navigation ul li#menu-item-1818.menu-item-has-children.submenu-open > a {
        background: #219150;
        color: #fff !important;
    }

    /* --- Р РЋР СћР В Р вЂўР вЂєР С›Р В§Р С™Р С’ --- */
    /* Р вЂќР С•Р В±Р В°Р Р†Р В»РЎРЏР ВµР С РЎРѓРЎвЂљРЎР‚Р ВµР В»Р С•РЎвЂЎР С”РЎС“ РЎвЂљР С•Р В»РЎРЉР С”Р С• РЎвЂљР ВµР С Р С—РЎС“Р Р…Р С”РЎвЂљР В°Р С, Р С–Р Т‘Р Вµ Р ВµРЎРѓРЎвЂљРЎРЉ Р Т‘Р ВµРЎвЂљР С‘ */
    .main-navigation ul li.menu-item-has-children > a::after {
        content: '';
        border: solid #27ae60;
        border-width: 0 2px 2px 0;
        display: inline-block;
        padding: 3px;
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        margin-left: 10px;
    }

    /* Р СџР С•Р Р†Р С•РЎР‚Р С•РЎвЂљ РЎРѓРЎвЂљРЎР‚Р ВµР В»Р С•РЎвЂЎР С”Р С‘ Р С—РЎР‚Р С‘ Р С•РЎвЂљР С”РЎР‚РЎвЂ№РЎвЂљР С‘Р С‘ (Р С”Р В»Р В°РЎРѓРЎРѓ .active Р Т‘Р С•Р В±Р В°Р Р†Р В»РЎРЏР ВµР С JS-Р С•Р С) */
    .main-navigation ul li.menu-item-has-children.submenu-open > a::after {
        transform: rotate(-135deg);
    }

    /* Р вЂ™РЎвЂ№Р Т‘Р ВµР В»РЎРЏР ВµР С РЎР‚Р С•Р Т‘Р С‘РЎвЂљР ВµР В»РЎРЏ РЎвЂ Р Р†Р ВµРЎвЂљР С•Р С, Р С”Р С•Р С–Р Т‘Р В° Р С•РЎвЂљР С”РЎР‚РЎвЂ№РЎвЂљ */
    .main-navigation ul li.menu-item-has-children.submenu-open > a {
        color: #27ae60;
        box-shadow: 0 4px 12px rgba(39, 174, 96, 0.15);
    }

    /* --- Р вЂ™Р В«Р СџР С’Р вЂќР С’Р В®Р В©Р вЂўР вЂў Р СљР вЂўР СњР В® (Р С’Р Р…Р С‘Р СР В°РЎвЂ Р С‘РЎРЏ) --- */
    .main-navigation ul .sub-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
        width: 100%;
        
        /* Р РЋР С”РЎР‚РЎвЂ№РЎвЂљР С•Р Вµ РЎРѓР С•РЎРѓРЎвЂљР С•РЎРЏР Р…Р С‘Р Вµ */
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        visibility: hidden;
        
        /* Р СџР В»Р В°Р Р†Р Р…Р В°РЎРЏ Р В°Р Р…Р С‘Р СР В°РЎвЂ Р С‘РЎРЏ */
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: none;
    }

    /* Р С›РЎвЂљР С”РЎР‚РЎвЂ№РЎвЂљР С•Р Вµ РЎРѓР С•РЎРѓРЎвЂљР С•РЎРЏР Р…Р С‘Р Вµ */
    .main-navigation ul li.menu-item-has-children.submenu-open > .sub-menu {
        max-height: 1000px; /* Р вЂќР С•РЎРѓРЎвЂљР В°РЎвЂљР С•РЎвЂЎР Р…Р С• Р В±Р С•Р В»РЎРЉРЎв‚¬Р С•Р Вµ РЎвЂЎР С‘РЎРѓР В»Р С•, РЎвЂЎРЎвЂљР С•Р В±РЎвЂ№ Р Р†Р В»Р ВµР В·Р В»Р С• Р Р†РЎРѓРЎвЂ */
        opacity: 1;
        visibility: visible;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    /* Р РЋРЎРѓРЎвЂ№Р В»Р С”Р С‘ Р Р†Р Р…РЎС“РЎвЂљРЎР‚Р С‘ Р С—Р С•Р Т‘Р СР ВµР Р…РЎР‹ */
    .main-navigation ul .sub-menu a {
        background: transparent; /* Р вЂР ВµР В· РЎвЂћР С•Р Р…Р В° */
        box-shadow: none;
        padding: 10px 15px 10px 30px; /* Р С›РЎвЂљРЎРѓРЎвЂљРЎС“Р С— РЎРѓР В»Р ВµР Р†Р В° Р В±Р С•Р В»РЎРЉРЎв‚¬Р Вµ (Р В»Р ВµРЎРѓР ВµР Р…Р С”Р В°) */
        font-size: 14px;
        color: #666;
        border-radius: 8px;
    }
    .main-navigation ul .sub-menu a:hover {
        color: #27ae60;
        background: rgba(39, 174, 96, 0.05);
    }
    /* Р Р€Р В±Р С‘РЎР‚Р В°Р ВµР С РЎРѓРЎвЂљРЎР‚Р ВµР В»Р С•РЎвЂЎР С”РЎС“ РЎС“ Р Р†Р В»Р С•Р В¶Р ВµР Р…Р Р…РЎвЂ№РЎвЂ¦ РЎРѓРЎРѓРЎвЂ№Р В»Р С•Р С” */
    .main-navigation ul .sub-menu a::after { content: none; }


    /* --- Р СџР С›Р вЂќР вЂ™Р С’Р вЂє Р СљР вЂўР СњР В® (Р СљР С›Р вЂР ВР вЂєР В¬Р СњР В«Р в„ў) --- */
    .mobile-menu-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: auto; /* Р СџРЎР‚Р С‘Р В¶Р С‘Р СР В°Р ВµР С Р С” Р Р…Р С‘Р В·РЎС“ */
        padding-top: 30px;
        width: 100%;
    }

    .online-status {
        display: flex; align-items: center; gap: 10px;
        background: rgba(39, 174, 96, 0.1);
        padding: 8px 20px; border-radius: 30px; margin-bottom: 20px;
    }
    .status-text { font-size: 14px; font-weight: 700; color: #27ae60; text-transform: uppercase; }
    .pulsing-dot {
        width: 10px; height: 10px; background-color: #27ae60; border-radius: 50%;
        animation: pulse-green 2s infinite;
    }
    @keyframes pulse-green {
        0% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7); }
        70% { box-shadow: 0 0 0 10px rgba(39, 174, 96, 0); }
        100% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0); }
    }
    
    .mobile-socials-icons { display: flex; gap: 20px; }
    .mobile-socials-icons img { width: 45px; height: 45px; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: 0.2s; }
    .mobile-socials-icons a:active img { transform: scale(0.95); }
}

/* ===========================
   4. Р С™Р С›Р СњР СћР вЂўР СњР Сћ Р В Р РЋР С’Р в„ўР вЂќР вЂР С’Р В Р В«
   =========================== */
.content-area-sidebar {
    display: flex;
    gap: 40px;
}

.site-main-with-sidebar { width: 72%; }
.site-sidebar { width: 28%; }

/* Р вЂ™Р С‘Р Т‘Р В¶Р ВµРЎвЂљРЎвЂ№ РЎРѓР В°Р в„–Р Т‘Р В±Р В°РЎР‚Р В° */
.site-sidebar .widget-item {
    background: #fcfcfc;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}
.widget-title { margin-top: 0; font-size: 1.2rem; border-bottom: 2px solid #333; display: inline-block; padding-bottom: 5px; }

/* Р С’Р Т‘Р В°Р С—РЎвЂљР С‘Р Р† РЎРѓР В°Р в„–Р Т‘Р В±Р В°РЎР‚Р С•Р Р† */
@media (max-width: 1024px) {
    .container { width: 100%; padding: 20px; }
    .content-area-sidebar { flex-direction: column; }
    .site-main-with-sidebar, .site-sidebar { width: 100%; }
}

/* ===========================
   5. Р РЋР С›Р вЂ™Р В Р вЂўР СљР вЂўР СњР СњР В«Р в„ў Р СџР С›Р вЂќР вЂ™Р С’Р вЂє (GLASS DARK)
   =========================== */
.site-footer-modern {
    background: #111;
    background: linear-gradient(135deg, #1a1c20 0%, #0f1012 100%);
    color: #fff;
    padding: 40px 15px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

/* Р В­РЎвЂћРЎвЂћР ВµР С”РЎвЂљ РЎРѓРЎвЂљР ВµР С”Р В»Р В° (Р Т‘Р ВµР С”Р С•РЎР‚) */
.site-footer-modern::before {
    content: '';
    position: absolute;
    top: -50px; left: -50px;
    width: 200px; height: 200px;
    background: rgba(46, 204, 113, 0.1);
    filter: blur(80px);
    border-radius: 50%;
    z-index: 0;
}

.footer-inner-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Р РЋР ВµРЎвЂљР С”Р В° Р С—Р С•Р Т‘Р Р†Р В°Р В»Р В° */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;width: 1300px;
    margin: auto;
}

.footer-heading {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 40px; height: 3px;
    background: #27ae60;
    border-radius: 2px;
}

/* Р РЋРЎвЂљР С‘Р В»Р С‘ Р Р†Р С‘Р Т‘Р В¶Р ВµРЎвЂљР С•Р Р† Р С—Р С•Р Т‘Р Р†Р В°Р В»Р В° */
.contact-item {
    display: flex; align-items: center; margin-bottom: 20px;
    background: rgba(255,255,255, 0.03); padding: 12px;
    border-radius: 10px; border: 1px solid rgba(255,255,255, 0.05); transition: 0.3s;
}
.contact-item:hover { background: rgba(255,255,255, 0.08); transform: translateX(5px); }

.contact-icon {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    background: rgba(39, 174, 96, 0.2); color: #27ae60; border-radius: 50%; margin-right: 15px;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-label { font-size: 12px; color: #888; margin: 0; text-transform: uppercase; letter-spacing: 1px; }
.contact-value { font-weight: 600; color: #fff; }

.social-grid { display: flex; gap: 10px; margin-top: 20px; }
.social-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 80px; height: 80px; background: rgba(255,255,255,0.05);
    border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); font-size: 10px; color: #aaa;
}
.social-card:hover { background: #fff; color: #111; transform: translateY(-3px); }
.social-icon svg { width: 24px; height: 24px; margin-bottom: 5px; }

.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 12px; }
.footer-menu a { display: flex; align-items: center; color: #ccc; font-size: 15px; padding-left: 0; transition: 0.3s; }
.menu-icon { margin-right: 10px; color: #27ae60; opacity: 0; transition: 0.3s; transform: translateX(-10px); }
.footer-menu a:hover { color: #fff; padding-left: 10px; }
.footer-menu a:hover .menu-icon { opacity: 1; transform: translateX(0); }

.company-logo { max-width: 180px; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: 0.8; }
.feature { display: flex; align-items: center; margin-bottom: 15px; }
.feature-icon { color: #27ae60; margin-right: 15px; }
.feature-icon svg { width: 28px; height: 28px; }
.feature-title { font-weight: bold; margin: 0; color: #fff; line-height: 1.2; }
.feature-desc { font-size: 12px; color: #888; margin: 0; }
.company-desc { margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); color: #777; font-size: 13px; }
.company-desc a { color: #aaa; text-decoration: underline; }

/* Р С™Р Р…Р С•Р С—Р С”Р В° Р Р…Р В°Р Р†Р ВµРЎР‚РЎвЂ¦ */
.scroll-top {
    position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
    background: #27ae60; color: #fff; border: none; border-radius: 50%;
    cursor: pointer; box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: 0.3s; z-index: 100;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-5px); background: #2ecc71; }
.scroll-top svg { width: 24px; height: 24px; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr;width: stretch; }
}

/* Р С™Р В°РЎР‚РЎвЂљР С‘Р Р…Р С”Р С‘ */
.entry-content img {
    height: auto;
    max-width: 100%;
}

/* ===========================
   7. Р РЋР СћР С’Р СњР вЂќР С’Р В Р СћР СњР С›Р вЂў Р вЂ™Р В«Р В Р С’Р вЂ™Р СњР ВР вЂ™Р С’Р СњР ВР вЂў WP
   =========================== */
.alignright { float: right; margin-left: 30px; margin-bottom: 20px; margin-top: 5px; }
.alignleft { float: left; margin-right: 30px; margin-bottom: 20px; margin-top: 5px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: 20px; }
.clear { clear: both; }

/* ===========================
   8. Р РЋР СџР вЂўР В¦. Р С™Р вЂєР С’Р РЋР РЋ Р вЂќР вЂєР Р‡ Р В¦Р вЂўР СњР СћР В Р С›Р вЂ™Р С™Р В Р ВР С™Р С›Р СњР С›Р С™ Р вЂ™ Р С™Р С›Р СњР СћР вЂўР СњР СћР вЂў
   =========================== */
/* Р вЂўРЎРѓР В»Р С‘ РЎвЂљРЎвЂ№ Р С‘РЎРѓР С—Р С•Р В»РЎРЉР В·РЎС“Р ВµРЎв‚¬РЎРЉ Р Р†Р С‘Р Т‘Р В¶Р ВµРЎвЂљ РЎРѓ Р С‘Р С”Р С•Р Р…Р С”Р В°Р СР С‘ Р Р† РЎвЂљР ВµР В»Р Вµ РЎРѓРЎвЂљРЎР‚Р В°Р Р…Р С‘РЎвЂ РЎвЂ№ */
.messengers-centered {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}
.messengers-centered img {
    display: block !important;
    width: 54px !important;
    height: 54px !important;
    margin: 0 !important;
}
.messengers-centered .messenger-link:hover {
    transform: translateY(-5px);
}
/* ===========================
   Р СљР С›Р вЂР ВР вЂєР В¬Р СњР В«Р вЂў "Р В¤Р ВР РЃР С™Р В" (Р РЋР СћР С’Р СћР Р€Р РЋ + Р ВР С™Р С›Р СњР С™Р В)
   =========================== */

/* Р РЋР С”РЎР‚РЎвЂ№Р Р†Р В°Р ВµР С Р В±Р В»Р С•Р С” Р С—Р С• РЎС“Р СР С•Р В»РЎвЂЎР В°Р Р…Р С‘РЎР‹ (Р Р…Р В° Р СџР С™) */
.mobile-menu-footer {
    display: none;
}

/* Р С’Р Р…Р С‘Р СР В°РЎвЂ Р С‘РЎРЏ Р С—РЎС“Р В»РЎРЉРЎРѓР В°РЎвЂ Р С‘Р С‘ (Р В·Р ВµР В»Р ВµР Р…Р В°РЎРЏ Р Р†Р С•Р В»Р Р…Р В°) */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(39, 174, 96, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
    }
}

/* Р СњР В°РЎРѓРЎвЂљРЎР‚Р С•Р в„–Р С”Р С‘ Р Т‘Р В»РЎРЏ Р СР С•Р В±Р С‘Р В»РЎРЉР Р…РЎвЂ№РЎвЂ¦ РЎРЊР С”РЎР‚Р В°Р Р…Р С•Р Р† */
@media (max-width: 900px) {
    
    /* Р СџР С•Р С”Р В°Р В·РЎвЂ№Р Р†Р В°Р ВµР С Р В±Р В»Р С•Р С” Р С—Р С•Р Т‘ Р СР ВµР Р…РЎР‹ */
    .mobile-menu-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 40px; /* Р С›РЎвЂљРЎРѓРЎвЂљРЎС“Р С— Р С•РЎвЂљ РЎРѓРЎРѓРЎвЂ№Р В»Р С•Р С” Р СР ВµР Р…РЎР‹ */
        padding-top: 30px;
        border-top: 1px solid rgba(0,0,0,0.05);
        width: 100%;
    }

    /* Р вЂР В»Р С•Р С” РЎРѓРЎвЂљР В°РЎвЂљРЎС“РЎРѓР В° "Р СњР В° РЎРѓР Р†РЎРЏР В·Р С‘" */
    .online-status {
        display: flex;
        align-items: center;
        gap: 10px;
        background: rgba(39, 174, 96, 0.1); /* Р РЋР Р†Р ВµРЎвЂљР В»Р С•-Р В·Р ВµР В»Р ВµР Р…Р В°РЎРЏ Р С—Р В»Р В°РЎв‚¬Р С”Р В° */
        padding: 8px 20px;
        border-radius: 30px;
        margin-bottom: 20px;
    }

    .status-text {
        font-size: 14px;
        font-weight: 700;
        color: #27ae60;
        text-transform: uppercase;
    }

    /* Р СљР С‘Р С–Р В°РЎР‹РЎвЂ°Р В°РЎРЏ РЎвЂљР С•РЎвЂЎР С”Р В° */
    .pulsing-dot {
        width: 10px;
        height: 10px;
        background-color: #27ae60;
        border-radius: 50%;
        animation: pulse-green 2s infinite; /* Р вЂР ВµРЎРѓР С”Р С•Р Р…Р ВµРЎвЂЎР Р…Р В°РЎРЏ Р В°Р Р…Р С‘Р СР В°РЎвЂ Р С‘РЎРЏ */
    }

    /* Р ВР С”Р С•Р Р…Р С”Р С‘ РЎРѓР С•РЎвЂ РЎРѓР ВµРЎвЂљР ВµР в„– Р Р…Р В° Р СР С•Р В±Р С‘Р В»РЎРЉР Р…Р С•Р С */
    .mobile-socials-icons {
        display: flex;
        gap: 20px;
    }

    .mobile-socials-icons img {
        width: 45px; /* Р В§РЎС“РЎвЂљРЎРЉ Р С”РЎР‚РЎС“Р С—Р Р…Р ВµР Вµ, РЎвЂЎРЎвЂљР С•Р В±РЎвЂ№ РЎС“Р Т‘Р С•Р В±Р Р…Р С• Р Р…Р В°Р В¶Р С‘Р СР В°РЎвЂљРЎРЉ Р С—Р В°Р В»РЎРЉРЎвЂ Р ВµР С */
        height: 45px;
        border-radius: 50%;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        transition: 0.2s;
    }

    .mobile-socials-icons a:active img {
        transform: scale(0.95); /* Р В­РЎвЂћРЎвЂћР ВµР С”РЎвЂљ Р Р…Р В°Р В¶Р В°РЎвЂљР С‘РЎРЏ */
    }
}
/* Р Р€Р В±Р С‘РЎР‚Р В°Р ВµР С Р В·Р В°Р Т‘Р ВµРЎР‚Р В¶Р С”РЎС“ Р С”Р В»Р С‘Р С”Р В° Р Р…Р В° Р СР С•Р В±Р С‘Р В»РЎРЉР Р…РЎвЂ№РЎвЂ¦ */
.main-navigation a,
.menu-toggle {
    touch-action: manipulation;
}

/* Р В¤Р С‘Р С”РЎРѓ Р Т‘Р В»РЎРЏ iOS, РЎвЂЎРЎвЂљР С•Р В±РЎвЂ№ Р Р…Р Вµ Р В·Р В°Р В»Р С‘Р С—Р В°Р В» РЎвЂ¦Р С•Р Р†Р ВµРЎР‚ */
@media (hover: none) {
    .main-navigation ul li a:hover {
        background: #fff; /* Р Р€Р В±Р С‘РЎР‚Р В°Р ВµР С РЎРЊРЎвЂћРЎвЂћР ВµР С”РЎвЂљ Р Р…Р В°Р Р†Р ВµР Т‘Р ВµР Р…Р С‘РЎРЏ Р С—РЎР‚Р С‘ РЎвЂљР В°РЎвЂЎР Вµ */
        color: #333;
    }
    /* Р С›РЎРѓРЎвЂљР В°Р Р†Р В»РЎРЏР ВµР С РЎвЂ Р Р†Р ВµРЎвЂљ РЎвЂљР С•Р В»РЎРЉР С”Р С• Р Т‘Р В»РЎРЏ Р В°Р С”РЎвЂљР С‘Р Р†Р Р…Р С•Р С–Р С• Р С”Р В»Р В°РЎРѓРЎРѓР В° */
    .main-navigation ul li.menu-item-has-children.submenu-open > a {
        color: #27ae60;
        background: rgba(39, 174, 96, 0.05);
    }
}
/* ===========================
   HERO SECTION STYLES
   =========================== */

.hero-section {
    position: relative;
    width: 100%;
    min-height: 550px; /* Р В¤Р С‘Р С”РЎРѓР С‘РЎР‚Р С•Р Р†Р В°Р Р…Р Р…Р В°РЎРЏ Р Р†РЎвЂ№РЎРѓР С•РЎвЂљР В° Р Т‘Р В»РЎРЏ Р Т‘Р ВµРЎРѓР С”РЎвЂљР С•Р С—Р В° */
    height: 75vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Р В¤Р С•Р Р… Р Р…Р В°Р В»Р С•Р В¶Р ВµР Р…Р С‘РЎРЏ */
.hero-overlay-light {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.95) 0%,   
        rgba(255,255,255,0.90) 45%,   
        rgba(255,255,255,0.6) 100%);
    z-index: 1;
}

.hero-container {
    max-width: 1300px; width: 100%; margin: 0 auto; padding: 0 20px;
    position: relative; z-index: 2;
}

.hero-grid-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Р РЋР ВµРЎвЂљР С”Р В° */
    gap: 50px;
    align-items: center;
}

/* --- Р вЂєР вЂўР вЂ™Р С’Р Р‡ Р В§Р С’Р РЋР СћР В¬ --- */
.hero-title.text-dark {
    font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 25px;
    color: #222;
}
.highlight-city {
    color: #27ae60; background: rgba(39, 174, 96, 0.1); 
    padding: 2px 12px; border-radius: 8px; display: inline-block;
}
.type-effect::after { content: '|'; color: #27ae60; animation: blink 1s infinite; margin-left: 2px; }

.hero-subtitle.text-gray {
    font-size: 1.15rem; line-height: 1.6; color: #555; margin-bottom: 40px; max-width: 550px;
}

/* Р С™Р Р…Р С•Р С—Р С”Р С‘ */
.hero-buttons { display: flex; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }

.btn-primary {
    background: #27ae60; color: #fff; padding: 15px 30px; border-radius: 50px;
    font-weight: 700; font-size: 14px; text-transform: uppercase; text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.3); transition: 0.3s;
}
.btn-primary:hover { background: #219150; transform: translateY(-3px); color: #fff; }
.btn-primary svg { width: 18px; height: 18px; }

.btn-outline-dark {
    background: transparent; border: 2px solid #333; color: #333;
    padding: 15px 30px; border-radius: 50px; font-weight: 700; font-size: 14px;
    text-transform: uppercase; text-decoration: none; transition: 0.3s;
}
.btn-outline-dark:hover { background: #333; color: #fff; transform: translateY(-3px); }

/* Р вЂњР В°Р В»Р С•РЎвЂЎР С”Р С‘ */
.hero-features { display: flex; gap: 20px; font-weight: 600; font-size: 14px; color: #333; }
.h-feature { display: flex; align-items: center; gap: 6px; }
.hf-check { 
    background: #27ae60; color: #fff; width: 18px; height: 18px; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; 
}

/* --- Р СџР В Р С’Р вЂ™Р С’Р Р‡ Р В§Р С’Р РЋР СћР В¬ (VERTICAL CAROUSEL) --- */
.hero-visual {
    position: relative;
    height: 450px; /* Р вЂ™РЎвЂ№РЎРѓР С•РЎвЂљР В° Р Р†Р С‘Р Т‘Р С‘Р СР С•Р в„– Р С•Р В±Р В»Р В°РЎРѓРЎвЂљР С‘ Р С”Р В°РЎР‚РЎС“РЎРѓР ВµР В»Р С‘ */
    display: flex; justify-content: center; align-items: center;
}

/* Р С›Р В±Р ВµРЎР‚РЎвЂљР С”Р В° РЎРѓ Р С–РЎР‚Р В°Р Т‘Р С‘Р ВµР Р…РЎвЂљР Р…РЎвЂ№Р СР С‘ Р СР В°РЎРѓР С”Р В°Р СР С‘ */
.vertical-carousel-wrapper {
    position: relative;
    width: 320px;
    height: 100%;
    overflow: hidden;
    /* Р вЂњРЎР‚Р В°Р Т‘Р С‘Р ВµР Р…РЎвЂљР Р…РЎвЂ№Р Вµ Р СР В°РЎРѓР С”Р С‘, РЎвЂЎРЎвЂљР С•Р В±РЎвЂ№ РЎРѓР С”РЎР‚РЎвЂ№РЎвЂљРЎРЉ Р С•Р В±РЎР‚Р ВµР В·Р С”РЎС“ РЎРѓР Р†Р ВµРЎР‚РЎвЂ¦РЎС“ Р С‘ РЎРѓР Р…Р С‘Р В·РЎС“ */
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.vertical-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Р С’Р Р…Р С‘Р СР В°РЎвЂ Р С‘РЎРЏ Р Т‘Р Р†Р С‘Р В¶Р ВµР Р…Р С‘РЎРЏ */
    animation: scrollVertical 25s linear infinite; 
    /* Р СџР В°РЎС“Р В·Р В° Р С—РЎР‚Р С‘ Р Р…Р В°Р Р†Р ВµР Т‘Р ВµР Р…Р С‘Р С‘ Р СРЎвЂ№РЎв‚¬Р С”Р С•Р в„– */
}
.vertical-track:hover {
    animation-play-state: paused;
}

/* Р РЋР В°Р СР В° Р С”Р В°РЎР‚РЎвЂљР С•РЎвЂЎР С”Р В° */
.v-card-glass {
    flex-shrink: 0; /* Р СњР Вµ РЎРѓР В¶Р С‘Р СР В°РЎвЂљРЎРЉ */
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 20px;
    display: flex; align-items: center; gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    transform: translateZ(0); /* Р вЂќР В»РЎРЏ GPU РЎС“РЎРѓР С”Р С•РЎР‚Р ВµР Р…Р С‘РЎРЏ */
}

.v-card-glass:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(39, 174, 96, 0.15);
    cursor: default;
}

.vc-icon {
    width: 50px; height: 50px;
    background: rgba(39, 174, 96, 0.1); color: #27ae60;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.vc-icon svg { width: 28px; height: 28px; }

.vc-content h3 { font-size: 16px; font-weight: 700; margin: 0 0 4px; color: #222; }
.vc-content p { font-size: 13px; color: #666; margin: 0; line-height: 1.3; }

/* Р С’Р СњР ВР СљР С’Р В¦Р ВР Р‡ Р СџР В Р С›Р С™Р В Р Р€Р СћР С™Р В */
@keyframes scrollVertical {
    0% { transform: translateY(-50%); } /* Р СњР В°РЎвЂЎР С‘Р Р…Р В°Р ВµР С, Р С”Р С•Р С–Р Т‘Р В° Р В»Р ВµР Р…РЎвЂљР В° РЎРѓР Т‘Р Р†Р С‘Р Р…РЎС“РЎвЂљР В° Р Р†Р Р†Р ВµРЎР‚РЎвЂ¦ */
    100% { transform: translateY(0); }  /* Р вЂўР Т‘Р ВµР С Р Р†Р Р…Р С‘Р В· Р С” Р Р…Р В°РЎвЂЎР В°Р В»РЎС“ */
}
/* Р вЂўРЎРѓР В»Р С‘ Р Р…РЎС“Р В¶Р Р…Р С• РЎРѓР Р…Р С‘Р В·РЎС“-Р Р†Р Р†Р ВµРЎР‚РЎвЂ¦, Р С—Р С•Р СР ВµР Р…РЎРЏР в„– Р В·Р Р…Р В°РЎвЂЎР ВµР Р…Р С‘РЎРЏ Р СР ВµРЎРѓРЎвЂљР В°Р СР С‘ (0 -> -50%) */

/* Р С’Р СњР ВР СљР С’Р В¦Р ВР В Р СџР С›Р Р‡Р вЂ™Р вЂєР вЂўР СњР ВР Р‡ */
@keyframes blink { 50% { opacity: 0; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { opacity: 0; animation: fadeInUp 0.8s forwards; }
.delay-1 { animation-delay: 0.2s; } 
.delay-2 { animation-delay: 0.4s; } 
.delay-3 { animation-delay: 0.6s; }

/* Р СљР С›Р вЂР ВР вЂєР В¬Р СњР С’Р Р‡ Р С’Р вЂќР С’Р СџР СћР С’Р В¦Р ВР Р‡ */
@media (max-width: 900px) {
    .hero-section { height: auto; padding: 120px 0 60px; text-align: center; }
    .hero-grid-split { grid-template-columns: 1fr; gap: 40px; }
    .hero-title.text-dark { font-size: 2.2rem; }
    .hero-buttons { justify-content: center; }
    .hero-features { justify-content: center; }
    
    /* Р СњР В° Р СР С•Р В±Р С‘Р В»Р С”Р Вµ Р С”Р В°РЎР‚РЎС“РЎРѓР ВµР В»РЎРЉ РЎвЂЎРЎС“РЎвЂљРЎРЉ Р Р…Р С‘Р В¶Р Вµ */
    .hero-visual { height: 350px; }
    .vertical-carousel-wrapper { width: 100%; max-width: 340px; }
}
/* =========================
   PROCESS TIMELINE STYLES
   ========================= */

.process-section {
    padding: 100px 0;
    background: #fff; /* Р вЂР ВµР В»РЎвЂ№Р в„– РЎвЂћР С•Р Р… Р Т‘Р В»РЎРЏ РЎвЂЎР С‘РЎРѓРЎвЂљР С•РЎвЂљРЎвЂ№ */
    color: #333;
    overflow: hidden;
}

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

/* Р вЂ”Р С’Р вЂњР С›Р вЂєР С›Р вЂ™Р С›Р С™ */
.proc-header { text-align: center; margin-bottom: 80px; }
.proc-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 15px; color: #222; }
.proc-title .highlight-text { color: #27ae60; }
.proc-subtitle { font-size: 1.1rem; color: #666; max-width: 600px; margin: 0 auto; }

/* Р СћР С’Р в„ўР СљР вЂєР С’Р в„ўР Сњ Р С™Р С›Р СњР СћР вЂўР в„ўР СњР вЂўР В  */
.process-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 40px; /* Р СљР ВµРЎРѓРЎвЂљР С• Р С—Р С•Р Т‘ Р С”РЎР‚РЎС“Р В¶Р С•РЎвЂЎР С”Р С‘ */
}

/* Р вЂєР ВР СњР ВР В (Р В¤Р С›Р Сњ Р В Р вЂ”Р С’Р СџР С›Р вЂєР СњР вЂўР СњР ВР вЂў) */
.line-bg, .line-fill {
    position: absolute;
    top: 30px; /* Р В¦Р ВµР Р…РЎвЂљРЎР‚ Р С‘Р С”Р С•Р Р…Р С”Р С‘ */
    left: 0;
    height: 4px;
    border-radius: 4px;
}
.line-bg {
    width: 100%;
    background: #f0f0f0;
    z-index: 0;
}
.line-fill {
    width: 0%; /* Р ВР В·Р Р…Р В°РЎвЂЎР В°Р В»РЎРЉР Р…Р С• 0 */
    background: #27ae60;
    z-index: 1;
    transition: width 2s cubic-bezier(0.25, 1, 0.5, 1); /* Р СџР В»Р В°Р Р†Р Р…Р С•Р Вµ Р В·Р В°Р С—Р С•Р В»Р Р…Р ВµР Р…Р С‘Р Вµ */
}
/* Р С™Р В»Р В°РЎРѓРЎРѓ, Р С”Р С•РЎвЂљР С•РЎР‚РЎвЂ№Р в„– Р Т‘Р С•Р В±Р В°Р Р†Р С‘РЎвЂљ JS */
.process-timeline.active .line-fill { width: 100%; }


/* Р РЃР С’Р вЂњ */
.proc-step {
    position: relative;
    width: 18%; /* 5 РЎв‚¬Р В°Р С–Р С•Р Р† Р С—Р С• ~20% */
    text-align: center;
    z-index: 2;
    opacity: 0; transform: translateY(30px); /* Р вЂќР В»РЎРЏ Р В°Р Р…Р С‘Р СР В°РЎвЂ Р С‘Р С‘ Р С—Р С•РЎРЏР Р†Р В»Р ВµР Р…Р С‘РЎРЏ */
    transition: 0.6s ease;
}

.proc-step.visible {
    opacity: 1; transform: translateY(0);
}

/* Р ВР С™Р С›Р СњР С™Р С’ Р В Р СњР С›Р СљР вЂўР В  */
.step-icon-wrap {
    position: relative;
    width: 60px; height: 60px;
    margin: 0 auto 30px;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
    border: 4px solid #f0f0f0; /* Р РЋР ВµРЎР‚Р В°РЎРЏ РЎР‚Р В°Р СР С”Р В° РЎРѓР Р…Р В°РЎвЂЎР В°Р В»Р В° */
    border-radius: 50%;
    transition: 0.5s;
    transition-delay: 0.3s; /* Р вЂ“Р Т‘Р ВµР С Р С—Р С•Р С”Р В° Р В»Р С‘Р Р…Р С‘РЎРЏ Р Т‘Р С•Р в„–Р Т‘Р ВµРЎвЂљ */
}
/* Р С™Р С•Р С–Р Т‘Р В° Р В°Р С”РЎвЂљР С‘Р Р†Р Р…Р С• */
.proc-step.visible .step-icon-wrap {
    border-color: #27ae60;
    box-shadow: 0 0 0 8px rgba(39, 174, 96, 0.1);
    transform: scale(1.1);
}

.step-num {
    position: absolute;
    top: -30px; left: 50%; transform: translateX(-50%);
    font-size: 14px; font-weight: 800; color: #ccc;
    transition: 0.4s;
}
.proc-step.visible .step-num { color: #27ae60; top: -35px; }

.step-icon {
    width: 24px; height: 24px; color: #aaa;
    transition: 0.4s;
}
.step-icon svg { width: 100%; height: 100%; }
.proc-step.visible .step-icon { color: #27ae60; }


/* Р С™Р С’Р В Р СћР С›Р В§Р С™Р С’ Р РЋ Р СћР вЂўР С™Р РЋР СћР С›Р Сљ (Р РЋРЎвЂљР ВµР С”Р В»Р С•) */
.glass-card {
    background: #f9f9f9;
    padding: 25px 20px;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: 0.3s;
}
.proc-step.visible .glass-card {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.glass-card:hover {
    border-color: #27ae60;
    transform: translateY(-5px);
}

.glass-card h3 {
    font-size: 1.1rem; font-weight: 700; margin: 0 0 10px;
    color: #222;
}
.glass-card p {
    font-size: 0.85rem; line-height: 1.5; color: #666; margin: 0;
}
.glass-card strong { color: #27ae60; }

/* Р вЂ”Р С’Р вЂќР вЂўР В Р вЂ“Р С™Р В Р С’Р СњР ВР СљР С’Р В¦Р ВР В (Р В§Р СћР С›Р вЂР В« Р РЃР вЂєР В Р СџР С› Р С›Р В§Р вЂўР В Р вЂўР вЂќР В) */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.6s; } /* Р вЂ“Р Т‘Р ВµР С Р В·Р В°Р С—Р С•Р В»Р Р…Р ВµР Р…Р С‘РЎРЏ Р В»Р С‘Р Р…Р С‘Р С‘ */
.delay-3 { transition-delay: 1.0s; }
.delay-4 { transition-delay: 1.4s; }
.delay-5 { transition-delay: 1.8s; }


/* Р С™Р СњР С›Р СџР С™Р С’ Р вЂ™Р СњР ВР вЂ”Р Р€ */
.proc-cta { text-align: center; margin-top: 60px; }
.btn-proc {
    display: inline-block; padding: 16px 40px;
    background: #27ae60; color: #fff;
    border-radius: 50px; font-weight: 700; text-decoration: none; text-transform: uppercase;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}
.btn-proc:hover { background: #219150; transform: translateY(-3px); }


/* Р С’Р вЂќР С’Р СџР СћР ВР вЂ™ (Р вЂ™Р вЂўР В Р СћР ВР С™Р С’Р вЂєР В¬Р СњР С’Р Р‡ Р вЂєР вЂўР СњР СћР С’ Р СњР С’ Р СљР С›Р вЂР ВР вЂєР В¬Р СњР С›Р Сљ) */
@media (max-width: 992px) {
    .process-timeline {
        flex-direction: column;
        padding-top: 0;
        padding-left: 30px; /* Р СљР ВµРЎРѓРЎвЂљР С• Р С—Р С•Р Т‘ Р В»Р С‘Р Р…Р С‘РЎР‹ РЎРѓР В»Р ВµР Р†Р В° */
    }

    /* Р вЂєР С‘Р Р…Р С‘РЎРЏ РЎРѓРЎвЂљР В°Р Р…Р С•Р Р†Р С‘РЎвЂљРЎРѓРЎРЏ Р Р†Р ВµРЎР‚РЎвЂљР С‘Р С”Р В°Р В»РЎРЉР Р…Р С•Р в„– */
    .line-bg, .line-fill {
        width: 4px;
        height: 100%;
        top: 0; left: 0; /* Р РЋР В»Р ВµР Р†Р В° */
    }
    .line-fill {
        height: 0%; width: 4px;
        transition: height 2.5s ease;
    }
    .process-timeline.active .line-fill { height: 100%; width: 4px; }

    /* Р РЃР В°Р С–Р С‘ Р Т‘РЎР‚РЎС“Р С– Р С—Р С•Р Т‘ Р Т‘РЎР‚РЎС“Р С–Р С•Р С */
    .proc-step {
        width: 100%;
        display: flex;
        align-items: flex-start;
        text-align: left;
        margin-bottom: 40px;
        transform: translateX(20px); /* Р вЂ™РЎвЂ№Р ВµР В·Р Т‘ РЎРѓР С—РЎР‚Р В°Р Р†Р В° */
        transition-delay: 0s !important; /* Р Р€Р В±Р С‘РЎР‚Р В°Р ВµР С Р Т‘Р С•Р В»Р С–Р С‘Р Вµ Р В·Р В°Р Т‘Р ВµРЎР‚Р В¶Р С”Р С‘, Р Р…Р В° Р СР С•Р В± Р В»РЎС“РЎвЂЎРЎв‚¬Р Вµ Р В±РЎвЂ№РЎРѓРЎвЂљРЎР‚Р ВµР Вµ */
    }
    .proc-step.visible { transform: translateX(0); }

    /* Р ВР С”Р С•Р Р…Р С”Р В° РЎРѓР В»Р ВµР Р†Р В° Р Р…Р В° Р В»Р С‘Р Р…Р С‘Р С‘ */
    .step-icon-wrap {
        margin: 0 20px 0 -30px; /* Р РЋР Т‘Р Р†Р С‘Р С–Р В°Р ВµР С Р Р†Р В»Р ВµР Р†Р С• Р Р…Р В° Р В»Р С‘Р Р…Р С‘РЎР‹ */
        flex-shrink: 0;
        width: 50px; height: 50px;
        background: #fff;
    }
    .step-num { display: none; } /* Р СњР С•Р СР ВµРЎР‚ Р СР С•Р В¶Р Р…Р С• РЎС“Р В±РЎР‚Р В°РЎвЂљРЎРЉ Р С‘Р В»Р С‘ Р С—Р С•Р Т‘Р Р†Р С‘Р Р…РЎС“РЎвЂљРЎРЉ */

    .glass-card { width: 100%; padding: 20px; }
}
/* =========================
   SEO TEXT SECTION STYLES
   ========================= */

.seo-text-section {
    padding: 80px 0;
    background: #fff;
    color: #333;
}

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

.seo-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Р СћР ВµР С”РЎРѓРЎвЂљРЎС“ Р В±Р С•Р В»РЎРЉРЎв‚¬Р Вµ Р СР ВµРЎРѓРЎвЂљР В° */
    gap: 60px;
    align-items: center;
}

/* --- Р СћР вЂўР С™Р РЋР СћР С›Р вЂ™Р С’Р Р‡ Р В§Р С’Р РЋР СћР В¬ --- */
.seo-title {
    font-size: 2.2rem; font-weight: 800; line-height: 1.2; margin-bottom: 25px; color: #222;
}
.seo-title .highlight-text {
    color: #27ae60; position: relative;
    display: inline-block;
}

.seo-body p {
    font-size: 1rem; line-height: 1.7; margin-bottom: 20px; color: #555;
}
.seo-body strong { color: #222; font-weight: 700; }

.seo-subtitle {
    font-size: 1.4rem; font-weight: 700; margin: 30px 0 20px; color: #222;
}

/* Р РЋР СџР ВР РЋР С›Р С™ Р СџР В Р вЂўР ВР СљР Р€Р В©Р вЂўР РЋР СћР вЂ™ */
.seo-benefits-list {
    list-style: none; padding: 0; margin: 0 0 30px 0;
}
.seo-benefits-list li {
    display: flex; gap: 15px; margin-bottom: 15px;
}

.sb-icon {
    flex-shrink: 0;
    width: 24px; height: 24px;
    background: #27ae60; color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-top: 3px; /* Р вЂ™РЎвЂ№РЎР‚Р В°Р Р†Р Р…Р С‘Р Р†Р В°Р Р…Р С‘Р Вµ Р С—Р С• Р С—Р ВµРЎР‚Р Р†Р С•Р в„– РЎРѓРЎвЂљРЎР‚Р С•Р С”Р Вµ */
}
.sb-icon svg { width: 14px; height: 14px; }

.sb-text { font-size: 1rem; line-height: 1.5; color: #555; }
.sb-text strong { color: #333; font-weight: 700; }

/* CTA Block Р Р†Р Р…РЎС“РЎвЂљРЎР‚Р С‘ РЎвЂљР ВµР С”РЎРѓРЎвЂљР В° */
.seo-cta-box {
    background: #f4f8f6;
    border-left: 4px solid #27ae60;
    padding: 20px;
    border-radius: 0 10px 10px 0;
}
.seo-cta-box p { margin: 0; font-weight: 600; color: #333; }

/* --- Р вЂ™Р ВР вЂ”Р Р€Р С’Р вЂєР В¬Р СњР С’Р Р‡ Р В§Р С’Р РЋР СћР В¬ (Р В¤Р С›Р СћР С›) --- */
.seo-visual {
    position: relative;
    display: flex; justify-content: center;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: visible; /* Р В§РЎвЂљР С•Р В±РЎвЂ№ Р С—Р В»Р В°РЎв‚¬Р С”Р В° РЎвЂљР С•РЎР‚РЎвЂЎР В°Р В»Р В° */
    max-width: 450px;
}

.image-wrapper img {
    width: 100%; height: auto;
    border-radius: 20px;
    display: block;
    position: relative; z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Р СџР В»Р В°РЎв‚¬Р С”Р В° Р С•Р С—РЎвЂ№РЎвЂљР В° */
.experience-badge {
    position: absolute;
    bottom: 40px; left: -30px;
    background: #fff;
    padding: 15px 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 3;
    display: flex; align-items: center; gap: 15px;
    animation: floatBadge 4s ease-in-out infinite;
}

.eb-years {
    font-size: 2.5rem; font-weight: 900; color: #27ae60; line-height: 1;
}
.eb-text {
    font-size: 0.9rem; font-weight: 600; color: #333; line-height: 1.2;
}

/* Р вЂќР ВµР С”Р С•РЎР‚ РЎРѓР В·Р В°Р Т‘Р С‘ (РЎР‚Р В°Р СР С”Р В°) */
.image-decor {
    position: absolute;
    top: 20px; right: -20px;
    width: 100%; height: 100%;
    border: 2px solid #27ae60;
    border-radius: 20px;
    z-index: 1;
    opacity: 0.3;
}

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

/* Р С’Р вЂќР С’Р СџР СћР ВР вЂ™ */
@media (max-width: 900px) {
    .seo-text-section { padding: 50px 0; }
    .seo-grid { grid-template-columns: 1fr; gap: 40px; }
    .seo-visual { order: -1; /* Р В¤Р С•РЎвЂљР С• РЎРѓР Р†Р ВµРЎР‚РЎвЂ¦РЎС“ Р Р…Р В° Р СР С•Р В±Р С‘Р В»РЎРЉР Р…Р С•Р С */ }
    .image-wrapper { max-width: 100%; }
    .image-wrapper img { max-height: 400px; object-fit: cover; object-position: top; }
    .experience-badge { left: 20px; bottom: 20px; }
}
/* =========================
   DARK FAQ & GEO SECTION
   ========================= */

.dark-info-section {
    position: relative;
    padding: 60px 0;
    background: #0f1115; /* Р СћР ВµР СР Р…РЎвЂ№Р в„– РЎвЂћР С•Р Р… */
    color: #fff;
    overflow: hidden;
}

/* Р В¤Р С•Р Р… (Glow) */
.di-glow {
    position: absolute; top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulseGlow 8s infinite alternate;
}
@keyframes pulseGlow { 0% { transform: scale(1); } 100% { transform: scale(1.2); } }

.di-container {
    max-width: 1350px; margin: 0 auto; padding: 0 20px;
    position: relative; z-index: 2;
}

.di-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Р вЂќР Р†Р Вµ Р С”Р С•Р В»Р С•Р Р…Р С”Р С‘ */
    gap: 60px;
    align-items: start; /* Р вЂ™РЎвЂ№РЎР‚Р В°Р Р†Р Р…Р С‘Р Р†Р В°Р Р…Р С‘Р Вµ Р С—Р С• Р Р†Р ВµРЎР‚РЎвЂ¦РЎС“ */
}

.di-title {
    font-size: 2.2rem; font-weight: 800; margin-bottom: 30px;
}
.di-subtitle {
    color: #aaa; margin-bottom: 30px; font-size: 0.95rem; line-height: 1.5;
}
.highlight-text { color: #27ae60; border-bottom: 2px solid rgba(39, 174, 96, 0.3); }

/* --- FAQ STYLES --- */
.faq-wrapper { display: flex; flex-direction: column; gap: 15px; }

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}
.faq-item:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.15); }
.faq-item.active { border-color: #27ae60; background: rgba(39, 174, 96, 0.05); }

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 600; font-size: 1.05rem;
}
.faq-icon {
    font-size: 24px; color: #27ae60; font-weight: 300; transition: 0.3s;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 20px;
    color: #ccc; font-size: 0.95rem; line-height: 1.6;
}
.faq-item.active .faq-answer { padding-bottom: 20px; }

/* --- GEO STYLES --- */
.geo-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.geo-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    transition: 0.3s;
}
.geo-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.06); }
.geo-card.wide { grid-column: span 2; }

.geo-region {
    font-size: 1rem; color: #fff; margin: 0 0 15px;
    padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1);
}

.geo-links {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.geo-links a {
    font-size: 13px; color: #aaa;
    text-decoration: none;
    padding: 4px 10px;
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
    transition: 0.2s;
}
.geo-links a:hover {
    color: #fff; background: #27ae60;
}

/* Р С’Р вЂќР С’Р СџР СћР ВР вЂ™ */
@media (max-width: 900px) {
    .di-grid { grid-template-columns: 1fr; gap: 50px; }
    .geo-grid-wrapper { grid-template-columns: 1fr; }
    .geo-card.wide { grid-column: span 1; }
}
/* =========================
   PLATFORMS SECTION STYLES
   ========================= */

.platforms-section {
    position: relative;
    padding: 100px 0;
    background: #0f1115; /* Р СћР ВµР СР Р…РЎвЂ№Р в„– РЎвЂћР С•Р Р… */
    color: #fff;

    overflow: hidden;
}

.plt-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    position: relative; z-index: 2;
}

/* Р вЂ”Р С’Р вЂњР С›Р вЂєР С›Р вЂ™Р С›Р С™ */
.plt-header { text-align: center; margin-bottom: 60px; }
.plt-title { font-size: 2.8rem; font-weight: 800; margin-bottom: 15px; }
.plt-title .highlight-text { 
    background: linear-gradient(90deg, #ffcc00, #4285f4);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.plt-subtitle { font-size: 1.1rem; color: #aaa; max-width: 600px; margin: 0 auto; }

/* Р РЋР вЂўР СћР С™Р С’ Р С™Р С’Р В Р СћР С›Р В§Р вЂўР С™ */
.plt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Р С™Р С’Р В Р СћР С›Р В§Р С™Р С’ Р С›Р вЂР В©Р ВР вЂў Р РЋР СћР ВР вЂєР В */
.plt-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
}

.plt-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Р С™Р С›Р СњР СћР вЂўР СњР Сћ Р вЂ™Р СњР Р€Р СћР В Р В */
.plt-content { position: relative; z-index: 2; }

.plt-top { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.plt-top h3 { font-size: 1.8rem; font-weight: 800; margin: 0; }

.plt-icon {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 24px;
    background: #fff;
}
.yandex-icon { color: #000; }
.google-icon { color: #4285f4; }

.plt-desc { font-size: 1.05rem; color: #ccc; line-height: 1.5; margin-bottom: 30px; min-height: 50px; }

/* Р РЋР СџР ВР РЋР С›Р С™ Р СџР В Р вЂўР ВР СљР Р€Р В©Р вЂўР РЋР СћР вЂ™ */
.plt-features { list-style: none; padding: 0; margin: 0; }
.plt-features li { display: flex; gap: 15px; margin-bottom: 20px; }
.plt-features li:last-child { margin-bottom: 0; }

.plt-features strong { display: block; font-size: 1.1rem; color: #fff; margin-bottom: 4px; }
.plt-features span { display: block; font-size: 0.9rem; color: #999; line-height: 1.4; }

/* Р вЂњР С’Р вЂєР С›Р В§Р С™Р В */
.check-y { color: #ffcc00; font-weight: 900; font-size: 1.2rem; }
.check-g { color: #4285f4; font-weight: 900; font-size: 1.2rem; }

/* Р В¤Р С›Р СњР С›Р вЂ™Р В«Р вЂў Р вЂєР С›Р вЂњР С›Р СћР ВР СџР В« (SVG) */
.bg-logo-yandex, .bg-logo-google {
    position: absolute;
    bottom: -20px; right: -20px;
    width: 250px; height: 250px;
    opacity: 0.05;
    transition: 0.5s;
    z-index: 1;
    transform: rotate(-10deg);
}
.bg-logo-yandex { color: #ffcc00; }
.bg-logo-google { color: #4285f4; }

/* Р ТђР С›Р вЂ™Р вЂўР В  Р В­Р В¤Р В¤Р вЂўР С™Р СћР В« (Р РЋР вЂ™Р вЂўР В§Р вЂўР СњР ВР вЂў) */
.plt-overlay-color {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; z-index: 0;
    transition: 0.5s;
}
.y-grad { background: radial-gradient(circle at top right, rgba(255, 204, 0, 0.15), transparent 60%); }
.g-grad { background: radial-gradient(circle at top right, rgba(66, 133, 244, 0.15), transparent 60%); }

/* YANDEX HOVER */
.plt-card.yandex:hover .bg-logo-yandex { opacity: 0.2; transform: rotate(0) scale(1.1); }
.plt-card.yandex:hover .plt-overlay-color { opacity: 1; }
.plt-card.yandex:hover { border-color: #ffcc00; box-shadow: 0 10px 40px rgba(255, 204, 0, 0.1); }

/* GOOGLE HOVER */
.plt-card.google:hover .bg-logo-google { opacity: 0.2; transform: rotate(0) scale(1.1); }
.plt-card.google:hover .plt-overlay-color { opacity: 1; }
.plt-card.google:hover { border-color: #4285f4; box-shadow: 0 10px 40px rgba(66, 133, 244, 0.1); }


/* --- FOOTER / SYNERGY BOX --- */
.synergy-box {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px;
}
.sb-info h3 { font-size: 1.5rem; margin: 0 0 10px; color: #fff; }
.sb-info p { margin: 0; color: #ccc; line-height: 1.5; }

.btn-plt {
    flex-shrink: 0;
    background: #27ae60; color: #fff;
    padding: 16px 32px; border-radius: 50px;
    font-weight: 700; text-decoration: none; text-transform: uppercase;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.2);
}
.btn-plt:hover { background: #219150; transform: translateY(-3px); }

/* Р С’Р вЂќР С’Р СџР СћР ВР вЂ™ */
@media (max-width: 900px) {
    .plt-grid { grid-template-columns: 1fr; gap: 30px; }
    .synergy-box { flex-direction: column; text-align: center; }
    .btn-plt { width: 100%; text-align: center; }
}
/* =========================
   LIGHT REVIEWS STYLES
   ========================= */

.reviews-light-section {
    padding: 100px 0;
    background: #f8f9fc;
    color: #333;
    position: relative;
    overflow: hidden;
}

/* ANIMATED BLOBS */
.rev-blob {
    position: absolute; border-radius: 50%; filter: blur(80px);
    opacity: 0.6; z-index: 0;
    animation: floatBlob 10s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
}
.blob-1 { top: -50px; left: -50px; width: 400px; height: 400px; background: #d5f5e3; }
.blob-2 { bottom: -50px; right: -50px; width: 500px; height: 500px; background: #e8e8e8; animation-delay: -5s; }
@keyframes floatBlob { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(40px, 40px) scale(1.1); } }

.rev-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }

.rev-header { text-align: center; margin-bottom: 60px; }
.rev-title { font-size: 2.8rem; font-weight: 800; margin-bottom: 15px; color: #222; }
.rev-title .highlight-text { color: #27ae60; }
.rev-subtitle { color: #666; font-size: 1.1rem; max-width: 600px; margin: 0 auto; line-height: 1.5; }

/* GRID (3 columns) */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* CARD */
.rev-card {
    background: #fff; border-radius: 20px; padding: 30px;
    display: flex; flex-direction: column;
    transition: 0.3s; border: 1px solid transparent;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    height: 100%; /* Р С›Р Т‘Р С‘Р Р…Р В°Р С”Р С•Р Р†Р В°РЎРЏ Р Р†РЎвЂ№РЎРѓР С•РЎвЂљР В° */
}
.rev-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(39, 174, 96, 0.15);
    border-color: rgba(39, 174, 96, 0.3);
}

.rev-top { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 0.9rem; }
.rev-stars { color: #ffc107; letter-spacing: 2px; }
.rev-date { color: #999; font-size: 0.85rem; font-weight: 500; }

.rev-client { font-size: 1.2rem; font-weight: 700; margin: 0 0 15px; color: #222; }
.rev-text { font-size: 0.95rem; line-height: 1.6; color: #555; flex-grow: 1; margin-bottom: 25px; font-style: italic; }

/* AUTHOR AVATARS */
.rev-author { display: flex; align-items: center; gap: 15px; border-top: 1px solid #eee; padding-top: 20px; }
.ra-avatar {
    width: 40px; height: 40px; background: #27ae60; color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.ra-avatar.color-2 { background: #9b59b6; }
.ra-avatar.color-3 { background: #e67e22; }
.ra-avatar.color-4 { background: #34495e; }
.ra-avatar.color-5 { background: #e91e63; }
.ra-avatar.color-6 { background: #3498db; }

.ra-info { display: flex; flex-direction: column; }
.ra-info strong { font-size: 0.95rem; color: #333; }
.ra-info span { font-size: 0.8rem; color: #888; }

/* FOOTER & BUTTON */
.rev-footer { text-align: center; }
.btn-rev {
    background: transparent; border: 2px solid #27ae60; color: #27ae60;
    padding: 14px 35px; border-radius: 50px;
    font-weight: 700; cursor: pointer; text-transform: uppercase;
    transition: 0.3s; font-size: 14px;
}
.btn-rev:hover { background: #27ae60; color: #fff; box-shadow: 0 10px 30px rgba(39, 174, 96, 0.2); }

/* MODAL */
.rev-modal-overlay {
    display: none; position: fixed; z-index: 3000; left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
    align-items: center; justify-content: center;
}
.rev-modal-box {
    background: #fff; width: 90%; max-width: 450px;
    padding: 40px; border-radius: 20px;
    text-align: center; position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2); animation: zoomInRev 0.3s;
}
@keyframes zoomInRev { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.rev-modal-close { position: absolute; top: 15px; right: 20px; font-size: 30px; cursor: pointer; color: #aaa; transition: 0.3s; }
.rev-modal-close:hover { color: #000; }
.rev-modal-box h3 { color: #222; font-size: 1.8rem; margin: 0 0 10px; }
.rev-modal-box p { color: #666; margin-bottom: 25px; font-size: 0.9rem; }

.rm-input, .rm-textarea {
    width: 100%; background: #f9f9f9; border: 1px solid #eee;
    padding: 15px; border-radius: 10px; color: #333;
    margin-bottom: 15px; outline: none; font-family: inherit;
}
.rm-input:focus, .rm-textarea:focus { border-color: #27ae60; background: #fff; }
.rm-textarea { height: 100px; resize: none; }

.rm-stars-select { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 20px; color: #666; }
.stars-rating span { font-size: 24px; cursor: pointer; color: #ddd; transition: 0.2s; }
.stars-rating span.active, .stars-rating span:hover { color: #ffc107; }

.rm-btn {
    width: 100%; padding: 15px; background: #27ae60; color: #fff; border: none;
    border-radius: 50px; font-weight: 700; cursor: pointer;
    text-transform: uppercase; transition: 0.3s;
}
.rm-btn:hover { background: #219150; }

/* ADAPTIVE */
@media (max-width: 900px) {
    .reviews-grid { 
        grid-template-columns: 1fr;
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px;
    }
    .rev-card { min-width: 85vw; scroll-snap-align: center; }
}
/* ========================
   LIGHT ANIMATED SECTION
   ======================== */

.light-animated-services {
    position: relative;
    padding: 80px 0 120px; /* Р С›РЎвЂљРЎРѓРЎвЂљРЎС“Р С— РЎРѓР Р…Р С‘Р В·РЎС“ Р В±Р С•Р В»РЎРЉРЎв‚¬Р Вµ Р С‘Р В·-Р В·Р В° Р Р†Р С•Р В»Р Р…РЎвЂ№ */
    background: #f8f9fc; /* Р С›РЎвЂЎР ВµР Р…РЎРЉ Р В»Р ВµР С–Р С”Р С‘Р в„– РЎРѓР ВµРЎР‚Р С•-Р С–Р С•Р В»РЎС“Р В±Р С•Р в„– Р С•РЎвЂљРЎвЂљР ВµР Р…Р С•Р С” */
    overflow: hidden;
}

/* --- Р С’Р СњР ВР СљР С’Р В¦Р ВР Р‡ Р В¤Р С›Р СњР С’ (BLOBS) --- */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: 0;
    animation: floatBlob 10s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
}
.blob-1 {
    top: -50px; left: -50px; width: 400px; height: 400px;
    background: #d5f5e3; /* Р С›РЎвЂЎР ВµР Р…РЎРЉ РЎРѓР Р†Р ВµРЎвЂљР В»РЎвЂ№Р в„– Р В·Р ВµР В»Р ВµР Р…РЎвЂ№Р в„– */
}
.blob-2 {
    bottom: 0; right: -50px; width: 500px; height: 500px;
    background: #e8e8e8; /* Р РЋР Р†Р ВµРЎвЂљР В»Р С•-РЎРѓР ВµРЎР‚РЎвЂ№Р в„– */
    animation-delay: -5s;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 40px) scale(1.1); }
}

.ls-container {
    position: relative;
    max-width: 1300px; margin: 0 auto; padding: 0 20px;
    z-index: 1;
}

/* Р вЂ”Р С’Р вЂњР С›Р вЂєР С›Р вЂ™Р С›Р С™ */
.ls-title {
    text-align: center; font-size: 2.5rem; font-weight: 800; color: #222;
    margin-bottom: 50px;
}
.highlight-text { color: #27ae60; position: relative; display: inline-block; }
/* Р СџР С•Р Т‘РЎвЂЎР ВµРЎР‚Р С”Р С‘Р Р†Р В°Р Р…Р С‘Р Вµ Р В·Р В°Р С–Р С•Р В»Р С•Р Р†Р С”Р В° */
.highlight-text::after {
    content: ''; position: absolute; bottom: 2px; left: 0; width: 100%; height: 8px;
    background: rgba(39, 174, 96, 0.15); z-index: -1; transform: skewX(-10deg);
}

/* Р РЋР вЂўР СћР С™Р С’ */
.ls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

/* Р С™Р С’Р В Р СћР С›Р В§Р С™Р С’ */
.ls-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 25px;
    text-decoration: none;
    display: flex; flex-direction: column; justify-content: space-between;
    min-height: 180px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); /* Р С›РЎвЂЎР ВµР Р…РЎРЉ Р СРЎРЏР С–Р С”Р В°РЎРЏ РЎвЂљР ВµР Р…РЎРЉ */
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Р ТђР С•Р Р†Р ВµРЎР‚ РЎРЊРЎвЂћРЎвЂћР ВµР С”РЎвЂљ Р С”Р В°РЎР‚РЎвЂљР С•РЎвЂЎР С”Р С‘ */
.ls-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 40px rgba(39, 174, 96, 0.1);
    border-color: rgba(39, 174, 96, 0.2);
}

.ls-card-title {
    font-size: 1.4rem; font-weight: 700; color: #333; margin: 0 0 15px; line-height: 1.2;
}

.ls-price {
    font-size: 1rem; color: #666; font-weight: 500;
    display: inline-block; background: #f4f6f8; padding: 6px 12px; border-radius: 8px;
    transition: 0.3s;
}

/* Р РЋРЎвЂљРЎР‚Р ВµР В»Р С•РЎвЂЎР С”Р В° */
.ls-arrow {
    position: absolute; bottom: 25px; right: 25px;
    width: 35px; height: 35px;
    border-radius: 50%; background: #f4f6f8;
    display: flex; align-items: center; justify-content: center;
    color: #999; transition: 0.3s;
}
.ls-arrow svg { width: 20px; height: 20px; }

/* Р ТђР С•Р Р†Р ВµРЎР‚ Р Р…Р В° РЎРЊР В»Р ВµР СР ВµР Р…РЎвЂљРЎвЂ№ */
.ls-card:hover .ls-price { background: #27ae60; color: #fff; }
.ls-card:hover .ls-arrow { background: #27ae60; color: #fff; transform: translateX(5px); }

/* --- Р С›Р РЋР С›Р вЂР С’Р Р‡ Р С™Р С’Р В Р СћР С›Р В§Р С™Р С’ SEO --- */
.ls-card.seo-accent-card {
    border: 2px solid #27ae60; /* Р вЂ”Р ВµР В»Р ВµР Р…Р В°РЎРЏ РЎР‚Р В°Р СР С”Р В° РЎРѓРЎР‚Р В°Р В·РЎС“ */
}
.ls-card.seo-accent-card .ls-price.free-text {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    font-weight: 700;
}
.ls-card.seo-accent-card:hover .ls-price.free-text {
    background: #27ae60; color: #fff;
}

/* --- Р вЂ™Р С›Р вЂєР СњР С’ (SVG DIVIDER) --- */
.wave-divider {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    overflow: hidden; line-height: 0;
    transform: rotate(180deg); /* Р СџР ВµРЎР‚Р ВµР Р†Р ВµРЎР‚Р Р…РЎС“Р В»Р С‘, РЎвЂЎРЎвЂљР С•Р В±РЎвЂ№ РЎРѓР СР С•РЎвЂљРЎР‚Р ВµР В»Р В° Р Р†Р Р…Р С‘Р В· */
}
.wave-divider svg {
    position: relative; display: block;
    width: calc(130% + 1.3px); height: 80px;
}
.wave-divider .shape-fill { fill: #ffffff; } /* Р В¦Р Р†Р ВµРЎвЂљ РЎРѓР В»Р ВµР Т‘РЎС“РЎР‹РЎвЂ°Р ВµР С–Р С• Р В±Р В»Р С•Р С”Р В° (Р С•Р В±РЎвЂ№РЎвЂЎР Р…Р С• Р В±Р ВµР В»РЎвЂ№Р в„–) */

/* --- Р С’Р СњР ВР СљР С’Р В¦Р ВР Р‡ Р СџР С›Р Р‡Р вЂ™Р вЂєР вЂўР СњР ВР Р‡ --- */
.fade-on-scroll { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.fade-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Р С’Р вЂќР С’Р СџР СћР ВР вЂ™ */
@media (max-width: 768px) {
    .ls-grid { grid-template-columns: 1fr; }
    .ls-card { min-height: auto; flex-direction: row; align-items: center; padding: 20px; }
    .ls-arrow { position: relative; bottom: auto; right: auto; background: transparent; }
    .ls-card-title { font-size: 1.1rem; margin-bottom: 5px; }
    .ls-price { font-size: 0.9rem; }
}
/* CSS Р РЋР СћР ВР вЂєР В (Р С›Р вЂР СњР С›Р вЂ™Р вЂєР вЂўР СњР СњР В«Р вЂў) */
.calc-section { width: 100%; padding: 60px 0 100px; background: #fff; color: #333; }
.calc-container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }

/* Header & Grid */
.calc-header { margin-bottom: 40px; }
.calc-header h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 15px; color: #222; }
.highlight-text { color: #27ae60; }
.calc-subtitle { font-size: 1.1rem; color: #666; max-width: 600px; line-height: 1.5; }
.calc-grid { display: grid; grid-template-columns: 1fr 380px; gap: 50px; align-items: start; }

/* Tabs */
.calc-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.c-tab { padding: 10px 24px; border-radius: 50px; background: #f4f6f8; color: #555; font-weight: 600; font-size: 15px; cursor: pointer; transition: 0.3s; border: 1px solid transparent; }
.c-tab:hover { background: #e0e4e8; }
.c-tab.active { background: #27ae60; color: #fff; box-shadow: 0 5px 15px rgba(39, 174, 96, 0.25); }
.c-tab-content { display: none; animation: fadeInCalc 0.4s ease; }
.c-tab-content.active { display: block; }
@keyframes fadeInCalc { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Items */
.c-item { display: flex; justify-content: space-between; align-items: center; padding: 20px 25px; margin-bottom: 15px; background: #fff; border: 1px solid #eee; border-radius: 16px; cursor: pointer; transition: all 0.2s; }
.c-item:hover { border-color: #27ae60; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transform: translateX(5px); }
.c-name { font-size: 16px; font-weight: 700; color: #333; display: flex; align-items: center; gap: 8px; }
.c-info { display: flex; flex-direction: column; gap: 5px; }
.c-controls { display: flex; align-items: center; gap: 20px; }
.c-price { font-weight: 700; font-size: 16px; color: #333; }
.c-price.free { color: #27ae60; }
.c-desc-mobile { display: none; font-size: 13px; color: #27ae60; font-weight: 600; }
/* Р СџР С•Р Т‘РЎРѓР С”Р В°Р В·Р С”Р С‘: overflow visible РІР‚вЂќ Р С‘Р Р…Р В°РЎвЂЎР Вµ Р С•Р В±РЎР‚Р ВµР В·Р В°РЎР‹РЎвЂљРЎРѓРЎРЏ; РЎвЂљР ВµР С”РЎРѓРЎвЂљ Р СџР С›Р вЂќ Р С‘Р С”Р С•Р Р…Р С”Р С•Р в„– РІР‚вЂќ Р Р…Р Вµ РЎС“РЎвЂ¦Р С•Р Т‘Р С‘РЎвЂљ Р С—Р С•Р Т‘ fixed-РЎв‚¬Р В°Р С—Р С”РЎС“ (z-index:1000) */
.calc-section .calc-left,
.calc-section .c-tab-content { overflow: visible; }
.calc-section .c-item {
    overflow: visible;
    position: relative;
    z-index: 0;
}
.calc-section .c-item:has(.c-tooltip-icon:hover),
.calc-section .c-item:has(.c-tooltip-icon:focus),
.calc-section .c-item:has(.c-tooltip-icon.is-open) {
    z-index: 10;
}
.c-tooltip-icon {
    width: 20px; height: 20px; border-radius: 50%; background: #eee; color: #888; font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; position: relative; cursor: help; flex-shrink: 0;
    outline: none;
}
.c-tooltip-text {
    position: absolute;
    top: calc(100% + 8px);
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    width: min(260px, calc(100vw - 32px));
    background: #222;
    color: #fff;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s, visibility 0.2s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    z-index: 3;
}
.c-tooltip-icon:hover .c-tooltip-text,
.c-tooltip-icon:focus .c-tooltip-text,
.c-tooltip-icon.is-open .c-tooltip-text {
    opacity: 1;
    visibility: visible;
}
.c-tooltip-icon.is-open .c-tooltip-text { pointer-events: auto; }

/* Switch */
.c-switch { position: relative; width: 50px; height: 28px; }
.c-switch input { opacity: 0; width: 0; height: 0; }
.c-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 34px; }
.c-slider:before { position: absolute; content: ""; height: 22px; width: 22px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
input:checked + .c-slider { background-color: #27ae60; }
input:checked + .c-slider:before { transform: translateX(22px); }

/* Sticky Right Column */
.calc-right { position: sticky; top: 40px; }
.calc-summary-card { background: #fff; padding: 40px 30px; border-radius: 24px; box-shadow: 0 20px 60px rgba(0,0,0,0.08); position: relative; overflow: hidden; border: 1px solid #f0f0f0; text-align: center; }
.csc-header h3 { margin: 0 0 5px; font-size: 1.4rem; color: #222; }
.csc-header p { margin: 0; color: #888; font-size: 0.9rem; }
.csc-total { margin: 30px 0; color: #27ae60; font-weight: 900; }
.csc-total .currency { font-size: 1.5rem; vertical-align: top; margin-right: 5px; }
.csc-total #totalSum { font-size: 3.5rem; line-height: 1; }
.csc-divider { height: 1px; background: #eee; margin: 0 20px 20px; }
.csc-body { margin-bottom: 25px; color: #666; font-size: 14px; line-height: 1.5; }
.btn-calc-submit { display: inline-flex; justify-content: center; align-items: center; width: 100%; padding: 18px; background: #27ae60; color: #fff; font-size: 16px; font-weight: 700; border: none; border-radius: 50px; cursor: pointer; text-transform: uppercase; letter-spacing: 0.5px; transition: 0.3s; position: relative; z-index: 2; box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3); }
.btn-calc-submit:hover { background: #219150; transform: translateY(-2px); }

/* Socials */
.calc-socials-block { margin-top: 30px; position: relative; z-index: 2; }
.cs-text { font-size: 13px; color: #999; margin-bottom: 12px; font-weight: 500; }
.cs-icons { display: flex; justify-content: center; gap: 15px; }
.cs-link img { width: 40px; height: 40px; transition: 0.3s; }
.cs-link:hover img { transform: scale(1.1); }
.calc-panda-bg { position: absolute; bottom: -20px; right: -20px; width: 150px; opacity: 0.1; pointer-events: none; z-index: 1; filter: grayscale(100%); }

/* Modal */
.c-modal-overlay { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); align-items: center; justify-content: center; }
.c-modal-box { background: #fff; width: 90%; max-width: 400px; padding: 40px; border-radius: 20px; text-align: center; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.3); animation: zoomIn 0.3s; }
@keyframes zoomIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.c-modal-close { position: absolute; top: 15px; right: 20px; font-size: 30px; cursor: pointer; color: #aaa; transition: 0.3s; z-index: 5; }
.c-modal-close:hover { color: #000; }
.c-modal-icon { width: 60px; height: 60px; background: rgba(39, 174, 96, 0.1); color: #27ae60; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.success-icon { background: #27ae60; color: #fff; }
.c-modal-icon svg { width: 30px; height: 30px; }
.c-modal-input { width: 100%; padding: 15px; border: 2px solid #eee; border-radius: 12px; font-size: 18px; font-weight: 600; text-align: center; margin-bottom: 20px; transition: 0.3s; outline: none; font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: 0.5px; }
.c-modal-input:focus { border-color: #27ae60; }
.c-modal-btn { width: 100%; padding: 16px; background: #27ae60; color: #fff; border: none; border-radius: 50px; font-size: 16px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.c-modal-btn:hover { background: #219150; }
.c-policy { font-size: 11px; color: #999; margin-top: 15px; }

/* Р С’Р вЂќР С’Р СџР СћР ВР вЂ™ */
@media (max-width: 992px) {
    .calc-grid { grid-template-columns: 1fr; gap: 30px; }
    .calc-right { position: relative; top: 0; }
    .csc-total #totalSum { font-size: 3rem; }
}
@media (max-width: 600px) {
    .c-item { flex-direction: column; align-items: flex-start; gap: 15px; }
    .c-controls { width: 100%; justify-content: space-between; }
    .c-price { display: none; }
    .c-desc-mobile { display: block; margin-top: 5px; }
    .calc-header h2 { font-size: 2rem; }
    .c-modal-input { font-size: 16px; }
}
/* =========================
   SINGLE POST WITH SIDEBAR (FIXED)
   ========================= */

.single-page-wrapper {
    background: #f9f9f9;
    padding: 60px 0 100px;
    color: #333;
}

/* 1. Р ВР вЂ”Р СљР вЂўР СњР ВР вЂє Р РЃР ВР В Р ВР СњР Р€ Р СњР С’ 1300px */
.sp-container {
    max-width: 1300px; 
    margin: 0 auto; 
    padding: 0 20px;
}

/* 2. Р ВР РЋР СџР В Р С’Р вЂ™Р ВР вЂє Р РЋР вЂўР СћР С™Р Р€ Р вЂќР вЂєР Р‡ STICKY */
.sp-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 50px;
    /* Р Р€Р В±РЎР‚Р В°Р В» align-items: start, РЎвЂЎРЎвЂљР С•Р В±РЎвЂ№ Р С”Р С•Р В»Р С•Р Р…Р С”Р С‘ Р В±РЎвЂ№Р В»Р С‘ Р С•Р Т‘Р Р…Р С•Р в„– Р Р†РЎвЂ№РЎРѓР С•РЎвЂљРЎвЂ№ */
    align-items: stretch; 
}

/* --- Р РЋР СћР С’Р СћР В¬Р Р‡ --- */
.sp-content {
    background: #fff;
    padding: 60px; /* Р В§РЎС“РЎвЂљРЎРЉ Р В±Р С•Р В»РЎРЉРЎв‚¬Р Вµ Р Р†Р С•Р В·Р Т‘РЎС“РЎвЂ¦Р В° Р Р†Р Р…РЎС“РЎвЂљРЎР‚Р С‘ */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    /* Р вЂ™Р В°Р В¶Р Р…Р С•: Р ВµРЎРѓР В»Р С‘ РЎвЂљРЎС“РЎвЂљ Р ВµРЎРѓРЎвЂљРЎРЉ overflow:hidden, sticky РЎРѓР В»Р С•Р СР В°Р ВµРЎвЂљРЎРѓРЎРЏ. Р СџРЎР‚Р С•Р Р†Р ВµРЎР‚РЎРЉ! */
}

.article-header { margin-bottom: 30px; text-align: center; } /* Р В¦Р ВµР Р…РЎвЂљРЎР‚Р С‘РЎР‚РЎС“Р ВµР С Р В·Р В°Р С–Р С•Р В»Р С•Р Р†Р С•Р С” */
.article-meta {
    font-size: 13px; color: #999; margin-bottom: 15px;
    text-transform: uppercase; font-weight: 700; letter-spacing: 1px;
}
.article-meta .cat { color: #27ae60; margin-left: 10px; }

.article-title {
    font-size: 2.8rem; line-height: 1.2; font-weight: 800; color: #222; margin: 0;
}

.article-image {
    margin-bottom: 40px; border-radius: 16px; overflow: hidden;
    max-height: 500px; /* Р С›Р С–РЎР‚Р В°Р Р…Р С‘РЎвЂЎР С‘Р С Р Р†РЎвЂ№РЎРѓР С•РЎвЂљРЎС“ РЎвЂћР С•РЎвЂљР С•, РЎвЂЎРЎвЂљР С•Р В±РЎвЂ№ Р Р…Р Вµ Р В±РЎвЂ№Р В»Р С• Р С–Р С‘Р С–Р В°Р Р…РЎвЂљРЎРѓР С”Р С‘Р С */
}
.article-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Р СћР ВР СџР С›Р вЂњР В Р С’Р В¤Р ВР С™Р С’ */
.article-body { font-size: 18px; line-height: 1.7; color: #444; }
.article-body p { margin-bottom: 25px; }
.article-body h2 { font-size: 2rem; margin: 50px 0 25px; font-weight: 800; color: #222; }
.article-body h3 { font-size: 1.5rem; margin: 40px 0 20px; font-weight: 700; }
.article-body ul { margin-bottom: 25px; padding-left: 20px; }
.article-body li { margin-bottom: 10px; }
.article-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 30px 0; }
.article-body a { color: #27ae60; text-decoration: underline; }
.article-body blockquote {
    border-left: 4px solid #27ae60; padding: 20px 30px;
    background: #f4f6f8; font-style: italic; margin: 40px 0; border-radius: 0 10px 10px 0;
}

/* --- Р РЋР С’Р в„ўР вЂќР вЂР С’Р В  (Р ВР РЋР СџР В Р С’Р вЂ™Р вЂєР вЂўР СњР С›) --- */
.sp-sidebar {
    /* Р В Р С•Р Т‘Р С‘РЎвЂљР ВµР В»РЎРЉРЎРѓР С”Р С‘Р в„– Р В±Р В»Р С•Р С” РЎР‚Р В°РЎРѓРЎвЂљРЎРЏР С–Р С‘Р Р†Р В°Р ВµРЎвЂљРЎРѓРЎРЏ Р Р…Р В° Р Р†РЎРѓРЎР‹ Р Р†РЎвЂ№РЎРѓР С•РЎвЂљРЎС“ РЎРѓР ВµРЎвЂљР С”Р С‘ */
    height: 100%; 
}

.sidebar-sticky {
    /* Р РЋР В°Р С Р В»Р С‘Р С—Р С”Р С‘Р в„– РЎРЊР В»Р ВµР СР ВµР Р…РЎвЂљ */
    position: -webkit-sticky; /* Р вЂќР В»РЎРЏ Safari */
    position: sticky; 
    top: 100px; /* Р С›РЎвЂљРЎРѓРЎвЂљРЎС“Р С— РЎРѓР Р†Р ВµРЎР‚РЎвЂ¦РЎС“ Р С—РЎР‚Р С‘ Р С—РЎР‚Р С‘Р В»Р С‘Р С—Р В°Р Р…Р С‘Р С‘ */
    z-index: 10;
}

.sb-widget {
    background: #fff; padding: 30px;
    border-radius: 20px; margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.sb-widget h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 20px; color: #222; }

/* Р вЂ™Р С‘Р Т‘Р В¶Р ВµРЎвЂљ CTA */
.cta-widget {
    background: #222; color: #fff; text-align: center;
    background-image: linear-gradient(135deg, rgba(39,174,96,0.22), rgba(255,255,255,0.06));
    background-size: cover;
}
.cta-widget h3 { color: #fff; margin-bottom: 10px; }
.cta-widget p { font-size: 0.95rem; color: #ccc; margin-bottom: 20px; line-height: 1.5; }
.btn-sb {
    display: inline-block; padding: 14px 30px;
    background: #27ae60; color: #fff; text-decoration: none;
    border-radius: 50px; font-weight: 700; font-size: 14px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}
.btn-sb:hover { background: #219150; transform: translateY(-3px); }

/* Р вЂ™Р С‘Р Т‘Р В¶Р ВµРЎвЂљ Р С™Р С•Р Р…РЎвЂљР В°Р С”РЎвЂљРЎвЂ№ */
.sb-contacts { display: flex; flex-direction: column; gap: 15px; }
.sb-link {
    display: flex; align-items: center; gap: 12px;
    color: #444; text-decoration: none; font-weight: 600; font-size: 15px;
    transition: 0.2s; padding: 10px; background: #f9f9f9; border-radius: 10px;
}
.sb-link span { font-size: 20px; }
.sb-link:hover { color: #27ae60; background: #f0fdf4; transform: translateX(5px); }

/* Р вЂ™Р С‘Р Т‘Р В¶Р ВµРЎвЂљ Р СџР С•РЎРѓРЎвЂљРЎвЂ№ */
.sb-posts-list { display: flex; flex-direction: column; gap: 20px; }
.sb-post-item {
    display: flex; gap: 15px; text-decoration: none; align-items: center;
    transition: 0.2s;
}
.sb-post-item:hover .sb-post-info h4 { color: #27ae60; }

.sb-post-img {
    width: 80px; height: 80px; flex-shrink: 0;
    border-radius: 12px; overflow: hidden;
    background: #f0f0f0;
}
.sb-post-img img { width: 100%; height: 100%; object-fit: cover; }

.sb-post-info h4 {
    font-size: 14px; font-weight: 700; color: #333; margin: 0 0 5px;
    line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.sb-date { font-size: 11px; color: #999; }

/* Р С’Р вЂќР С’Р СџР СћР ВР вЂ™ */
@media (max-width: 1100px) {
    .sp-grid { grid-template-columns: 1fr; gap: 40px; }
    .sp-sidebar { 
        order: 2; /* Р РЋР В°Р в„–Р Т‘Р В±Р В°РЎР‚ Р С—Р С•Р Т‘ РЎРѓРЎвЂљР В°РЎвЂљРЎРЉР ВµР в„– */
        height: auto; 
    }
    .sidebar-sticky { position: static; } /* Р С›РЎвЂљР С”Р В»РЎР‹РЎвЂЎР В°Р ВµР С sticky Р Р…Р В° Р СР С•Р В±Р С‘Р В»Р С”Р Вµ */
    .sp-content { padding: 30px 20px; }
    .article-title { font-size: 2rem; }
    .article-image { max-height: 300px; }
}
/* --- Р С›РЎвЂћР С•РЎР‚Р СР В»Р ВµР Р…Р С‘Р Вµ РЎРѓРЎвЂљР В°РЎвЂљР ВµР в„– (Modern Blog) --- */

/* Р вЂ™Р Р†Р С•Р Т‘Р Р…РЎвЂ№Р в„– РЎвЂљР ВµР С”РЎРѓРЎвЂљ (Р вЂєР С‘Р Т‘) */
.lead-text {
    font-size: 1.15em;
    line-height: 1.6;
    color: #222;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Р вЂР В»Р С•Р С” РЎРѓР С•Р Т‘Р ВµРЎР‚Р В¶Р В°Р Р…Р С‘РЎРЏ */
.article-toc {
    background: #f4f6f8;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 40px;
    border-left: 4px solid #27ae60;
}
.article-toc h3 { margin-top: 0; font-size: 1.2rem; }
.article-toc ul { margin-bottom: 0; padding-left: 20px; }
.article-toc li { margin-bottom: 8px; }
.article-toc a { text-decoration: none; color: #333; font-weight: 600; border-bottom: 1px solid transparent; }
.article-toc a:hover { color: #27ae60; border-color: #27ae60; }

/* Р В¦Р С‘РЎвЂљР В°РЎвЂљРЎвЂ№ Р С‘ Pro Tips */
blockquote {
    background: #e8f5e9; /* Р РЋР Р†Р ВµРЎвЂљР В»Р С•-Р В·Р ВµР В»Р ВµР Р…РЎвЂ№Р в„– РЎвЂћР С•Р Р… */
    padding: 20px 25px;
    border-radius: 10px;
    border-left: none; /* Р Р€Р В±Р С‘РЎР‚Р В°Р ВµР С РЎРѓРЎвЂљР В°Р Р…Р Т‘Р В°РЎР‚РЎвЂљР Р…РЎС“РЎР‹ Р В»Р С‘Р Р…Р С‘РЎР‹, Р Т‘Р ВµР В»Р В°Р ВµР С РЎРѓР Р†Р С•РЎР‹ */
    position: relative;
    margin: 30px 0;
}
blockquote::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 4px; background: #27ae60;
    border-radius: 4px 0 0 4px;
}
blockquote p { margin: 0; }
blockquote a { font-weight: 700; color: #27ae60; }

/* Р В Р В°Р В·Р Т‘Р ВµР В»Р С‘РЎвЂљР ВµР В»РЎРЉ */
.article-divider {
    border: 0;
    height: 1px;
    background: #eee;
    margin: 50px 0;
}

/* Р РЋРЎРѓРЎвЂ№Р В»Р С”Р С‘ Р Р†Р Р…РЎС“РЎвЂљРЎР‚Р С‘ РЎвЂљР ВµР С”РЎРѓРЎвЂљР В° */
.article-body a {
    color: #27ae60;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: 0.2s;
}
.article-body a:hover {
    background: #27ae60;
    color: #fff;
    text-decoration: none;
}

/* Р вЂР В»Р С•Р С” Р В·Р В°Р С”Р В»РЎР‹РЎвЂЎР ВµР Р…Р С‘РЎРЏ (CTA) */
.article-conclusion {
    background: #222;
    color: #fff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 50px;
    background-image: linear-gradient(135deg, rgba(39,174,96,0.22), rgba(255,255,255,0.06));
}
.article-conclusion h3 { color: #fff; font-size: 1.8rem; margin-top: 0; }
.article-conclusion p { color: #ccc; margin-bottom: 25px; }

.btn-article-cta {
    display: inline-block;
    padding: 14px 35px;
    background: #27ae60;
    color: #fff !important; /* Force РЎвЂ Р Р†Р ВµРЎвЂљ РЎвЂљР ВµР С”РЎРѓРЎвЂљР В° */
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
}
.btn-article-cta:hover {
    background: #219150;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}
/* Р СџР В»Р В°Р Р†Р Р…РЎвЂ№Р в„– РЎРѓР С”РЎР‚Р С•Р В»Р В» Р Т‘Р В»РЎРЏ Р Р†РЎРѓР ВµР С–Р С• РЎРѓР В°Р в„–РЎвЂљР В° */
html {
    scroll-behavior: smooth;
}

/* Р С›РЎвЂљРЎРѓРЎвЂљРЎС“Р С— Р Т‘Р В»РЎРЏ РЎРЏР С”Р С•РЎР‚Р ВµР в„– (РЎвЂЎРЎвЂљР С•Р В±РЎвЂ№ Р СР ВµР Р…РЎР‹ Р Р…Р Вµ Р В·Р В°Р С”РЎР‚РЎвЂ№Р Р†Р В°Р В»Р С• Р В·Р В°Р С–Р С•Р В»Р С•Р Р†Р С•Р С”) */
/* Р вЂўРЎРѓР В»Р С‘ РЎС“ Р Р†Р В°РЎРѓ РЎвЂћР С‘Р С”РЎРѓР С‘РЎР‚Р С•Р Р†Р В°Р Р…Р Р…Р В°РЎРЏ РЎв‚¬Р В°Р С—Р С”Р В° 80px, РЎРѓРЎвЂљР В°Р Р†РЎРЉРЎвЂљР Вµ РЎвЂљРЎС“РЎвЂљ 100px Р С‘Р В»Р С‘ 120px */
:target {
    scroll-margin-top: 100px; 
}

/* Р вЂќР В»РЎРЏ Р СР С•Р В±Р С‘Р В»РЎРЉР Р…РЎвЂ№РЎвЂ¦ РЎС“РЎРѓРЎвЂљРЎР‚Р С•Р в„–РЎРѓРЎвЂљР Р† Р СР С•Р В¶Р Р…Р С• РЎРѓР Т‘Р ВµР В»Р В°РЎвЂљРЎРЉ Р С•РЎвЂљРЎРѓРЎвЂљРЎС“Р С— Р СР ВµР Р…РЎРЉРЎв‚¬Р Вµ */
@media (max-width: 768px) {
    :target {
        scroll-margin-top: 80px;
    }
}
/* =========================
   FIX MOBILE OVERFLOW
   ========================= */

@media (max-width: 768px) {
    
    /* 1. Р вЂ”Р В°Р С—РЎР‚Р ВµРЎвЂ°Р В°Р ВµР С Р С–Р С•РЎР‚Р С‘Р В·Р С•Р Р…РЎвЂљР В°Р В»РЎРЉР Р…РЎвЂ№Р в„– РЎРѓР С”РЎР‚Р С•Р В»Р В» РЎС“ Р Р†РЎРѓР ВµР в„– РЎРѓРЎвЂљРЎР‚Р В°Р Р…Р С‘РЎвЂ РЎвЂ№ */
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* 2. Р С›Р С–РЎР‚Р В°Р Р…Р С‘РЎвЂЎР С‘Р Р†Р В°Р ВµР С Р С”Р С•Р Р…РЎвЂљР ВµР в„–Р Р…Р ВµРЎР‚РЎвЂ№ РЎРѓРЎвЂљР В°РЎвЂљРЎРЉР С‘ */
    .single-page-wrapper, 
    .sp-container, 
    .sp-grid,
    .sp-content {
        max-width: 100%;
        box-sizing: border-box; /* Р В§РЎвЂљР С•Р В±РЎвЂ№ Р С•РЎвЂљРЎРѓРЎвЂљРЎС“Р С—РЎвЂ№ Р Р…Р Вµ РЎР‚Р В°РЎРѓРЎв‚¬Р С‘РЎР‚РЎРЏР В»Р С‘ Р В±Р В»Р С•Р С” */
    }

    /* 3. Р Р€Р СР ВµР Р…РЎРЉРЎв‚¬Р В°Р ВµР С Р С•РЎвЂљРЎРѓРЎвЂљРЎС“Р С—РЎвЂ№ Р Р†Р Р…РЎС“РЎвЂљРЎР‚Р С‘ РЎРѓРЎвЂљР В°РЎвЂљРЎРЉР С‘ Р Р…Р В° РЎвЂљР ВµР В»Р ВµРЎвЂћР С•Р Р…Р Вµ */
    .sp-content {
        padding: 30px 15px !important; /* Р вЂРЎвЂ№Р В»Р С• Р В±Р С•Р В»РЎРЉРЎв‚¬Р Вµ, Р Т‘Р ВµР В»Р В°Р ВµР С Р С”Р С•Р СР С—Р В°Р С”РЎвЂљР Р…Р ВµР Вµ */
    }

    /* 4. Р С™Р В°РЎР‚РЎвЂљР С‘Р Р…Р С”Р С‘ Р С‘ Р вЂ™Р С‘Р Т‘Р ВµР С• - РЎРѓРЎвЂљРЎР‚Р С•Р С–Р С• Р С—Р С• РЎв‚¬Р С‘РЎР‚Р С‘Р Р…Р Вµ РЎРЊР С”РЎР‚Р В°Р Р…Р В° */
    .article-body img,
    .article-body iframe,
    .article-body video {
        max-width: 100% !important;
        height: auto !important;
    }

    /* 5. Р СћР С’Р вЂР вЂєР ВР В¦Р В« (Р РЋР В°Р СР В°РЎРЏ РЎвЂЎР В°РЎРѓРЎвЂљР В°РЎРЏ Р С—РЎР‚Р С‘РЎвЂЎР С‘Р Р…Р В°) */
    /* Р вЂќР ВµР В»Р В°Р ВµР С РЎвЂљР В°Р В±Р В»Р С‘РЎвЂ РЎС“ РЎРѓР С”РЎР‚Р С•Р В»Р В»РЎРЏРЎвЂ°Р ВµР в„–РЎРѓРЎРЏ Р Р†Р Р…РЎС“РЎвЂљРЎР‚Р С‘, Р Р…Р Вµ Р В»Р С•Р СР В°РЎРЏ РЎРѓР В°Р в„–РЎвЂљ */
    .article-body table {
        display: block;
        width: 100%;
        overflow-x: auto; /* Р вЂњР С•РЎР‚Р С‘Р В·Р С•Р Р…РЎвЂљР В°Р В»РЎРЉР Р…Р В°РЎРЏ Р С—РЎР‚Р С•Р С”РЎР‚РЎС“РЎвЂљР С”Р В° РЎвЂљР С•Р В»РЎРЉР С”Р С• РЎС“ РЎвЂљР В°Р В±Р В»Р С‘РЎвЂ РЎвЂ№ */
        -webkit-overflow-scrolling: touch;
    }

    /* 6. Р вЂќР В»Р С‘Р Р…Р Р…РЎвЂ№Р Вµ РЎРѓР В»Р С•Р Р†Р В° (Р Р…Р В°Р С—РЎР‚Р С‘Р СР ВµРЎР‚, РЎРѓРЎРѓРЎвЂ№Р В»Р С”Р С‘) Р С—Р ВµРЎР‚Р ВµР Р…Р С•РЎРѓР С‘Р С Р С—РЎР‚Р С‘Р Р…РЎС“Р Т‘Р С‘РЎвЂљР ВµР В»РЎРЉР Р…Р С• */
    .article-body {
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
    }
    
    /* Р ВРЎРѓР С—РЎР‚Р В°Р Р†Р В»РЎРЏР ВµР С Р С•РЎвЂљРЎРѓРЎвЂљРЎС“Р С—РЎвЂ№ РЎС“ РЎвЂ Р С‘РЎвЂљР В°РЎвЂљ Р Р…Р В° Р СР С•Р В±Р С‘Р В»РЎРЉР Р…Р С•Р С */
    .article-body blockquote {
        margin: 20px 0;
        padding: 15px;
    }
} 

/* =========================
   INVERTED MONOLITH STYLES
   ========================= */

.monolith-portfolio-inverted {
    width: 100%;
    background: #fff;
}

.mpi-header {
    text-align: center; padding: 60px 20px 40px;
    max-width: 800px; margin: 0 auto;
}
.mpi-header h2 { font-size: 2.5rem; font-weight: 800; margin: 0 0 10px; color: #222; }
.mpi-header .highlight-text { color: #27ae60; }
.mpi-header p { color: #888; font-size: 1rem; margin: 0; line-height: 1.55; max-width: 640px; margin-left: auto; margin-right: auto; }

/* Р РЋР вЂўР СћР С™Р С’ Р вЂР вЂўР вЂ” Р С›Р СћР РЋР СћР Р€Р СџР С›Р вЂ™ */
.mpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Р С”Р С•Р В»Р С•Р Р…Р С”Р С‘ */
    width: 100%;
    margin: 0; padding: 0; gap: 0;
}

/* Р В­Р вЂєР вЂўР СљР вЂўР СњР Сћ */
.mpi-item {
    position: relative;
    display: block;
    height: 450px;
    overflow: hidden;
    text-decoration: none;
    z-index: 1;
    background: #000;
}

/* Р С™Р С’Р В Р СћР ВР СњР С™Р С’ (Р вЂ™Р С‘Р Т‘Р Р…Р В°, Р Р…Р С• Р С—Р С•Р Т‘ РЎРѓРЎвЂљР ВµР С”Р В»Р С•Р С) */
.mpi-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

/* Р С›Р вЂ™Р вЂўР В Р вЂєР вЂўР в„ў (Р РЋР СћР вЂўР С™Р вЂєР С›) - Р вЂ™Р ВР вЂќР ВР Сљ Р СџР С› Р Р€Р СљР С›Р вЂєР В§Р С’Р СњР ВР В® */
.mpi-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    
    /* Р В­Р В¤Р В¤Р вЂўР С™Р Сћ Р СљР С’Р СћР С›Р вЂ™Р С›Р вЂњР С› Р РЋР СћР вЂўР С™Р вЂєР С’ */
    background: rgba(20, 20, 20, 0.65); /* Р СћР ВµР СР Р…РЎвЂ№Р в„– РЎвЂћР С•Р Р… */
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); /* Р РЋР С‘Р В»РЎРЉР Р…Р С•Р Вµ РЎР‚Р В°Р В·Р СРЎвЂ№РЎвЂљР С‘Р Вµ */
    
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    padding: 30px;
    transition: all 0.5s ease;
}

/* Р ВР СњР В¤Р С› Р вЂР вЂєР С›Р С™ (Р вЂ”Р В°Р С–Р С•Р В»Р С•Р Р†Р С•Р С”, Р С•Р С—Р С‘РЎРѓР В°Р Р…Р С‘Р Вµ) */
.mpi-info {
    transition: all 0.4s ease;
    transform: translateY(0);
    opacity: 1; /* Р вЂ™Р С‘Р Т‘Р ВµР Р… Р С—Р С• РЎС“Р СР С•Р В»РЎвЂЎР В°Р Р…Р С‘РЎР‹ */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.mpi-cat {
    display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 2px;
    color: #27ae60; font-weight: 700; margin-bottom: 15px;
    text-align: center;
}
.mpi-title {
    font-size: 1.8rem; font-weight: 800; margin: 0 0 15px; color: #fff;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: break-word;
}
.mpi-desc {
    font-size: 1rem; color: #ccc; margin: 0 auto; max-width: 300px;
    text-align: center;
}

/* Р С™Р СњР С›Р СџР С™Р С’ (Р РЋР С™Р В Р В«Р СћР С’ Р СџР С› Р Р€Р СљР С›Р вЂєР В§Р С’Р СњР ВР В®) */
.mpi-btn-wrapper {
    position: absolute; /* Р С’Р В±РЎРѓР С•Р В»РЎР‹РЎвЂљ, РЎвЂЎРЎвЂљР С•Р В±РЎвЂ№ Р В±РЎвЂ№РЎвЂљРЎРЉ Р С—Р С• РЎвЂ Р ВµР Р…РЎвЂљРЎР‚РЎС“ */
    top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8);
    opacity: 0; /* Р РЋР С”РЎР‚РЎвЂ№РЎвЂљР В° */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mpi-btn {
    display: inline-block;
    padding: 14px 35px;
    border: 2px solid #27ae60;
    background: #27ae60; color: #fff;
    border-radius: 50px;
    font-size: 14px; font-weight: 700; text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ============================
   HOVER Р В­Р В¤Р В¤Р вЂўР С™Р СћР В« (Р СљР С’Р вЂњР ВР Р‡)
   ============================ */

/* 1. Р С™Р В°РЎР‚РЎвЂљР С‘Р Р…Р С”Р В° РЎвЂЎРЎС“РЎвЂљРЎРЉ Р В·РЎС“Р СР С‘РЎвЂљРЎРѓРЎРЏ */
.mpi-item:hover img {
    transform: scale(1.1);
}

/* 2. Р РЋРЎвЂљР ВµР С”Р В»Р С• Р С‘РЎРѓРЎвЂЎР ВµР В·Р В°Р ВµРЎвЂљ (РЎРѓРЎвЂљР В°Р Р…Р С•Р Р†Р С‘РЎвЂљРЎРѓРЎРЏ Р С—РЎР‚Р С•Р В·РЎР‚Р В°РЎвЂЎР Р…РЎвЂ№Р С) */
.mpi-item:hover .mpi-overlay {
    background: rgba(0,0,0,0.2); /* Р вЂєР ВµР С–Р С”Р С•Р Вµ Р В·Р В°РЎвЂљР ВµР СР Р…Р ВµР Р…Р С‘Р Вµ Р Т‘Р В»РЎРЏ Р С”Р С•Р Р…РЎвЂљРЎР‚Р В°РЎРѓРЎвЂљР В° Р С”Р Р…Р С•Р С—Р С”Р С‘ */
    backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);
}

/* 3. Р СћР ВµР С”РЎРѓРЎвЂљ Р С‘РЎРѓРЎвЂЎР ВµР В·Р В°Р ВµРЎвЂљ (РЎС“Р ВµР В·Р В¶Р В°Р ВµРЎвЂљ Р Р†Р Р†Р ВµРЎР‚РЎвЂ¦) */
.mpi-item:hover .mpi-info {
    opacity: 0;
    transform: translateY(-30px);
}

/* 4. Р С™Р Р…Р С•Р С—Р С”Р В° Р С—Р С•РЎРЏР Р†Р В»РЎРЏР ВµРЎвЂљРЎРѓРЎРЏ */
.mpi-item:hover .mpi-btn-wrapper {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ============================
   Р СџР С›Р РЋР вЂєР вЂўР вЂќР СњР ВР в„ў Р вЂР вЂєР С›Р С™ (Р РЋР СћР С’Р СћР ВР В§Р СњР В«Р в„ў)
   ============================ */
.mpi-item.last-item .static-green {
    background: rgba(39, 174, 96, 0.95); /* Р вЂ”Р ВµР В»Р ВµР Р…РЎвЂ№Р в„– Р Р†РЎРѓР ВµР С–Р Т‘Р В° */
    backdrop-filter: none;
}
.mpi-item.last-item:hover .static-green {
    background: rgba(30, 30, 30, 0.95); /* Р СћР ВµР СР Р…Р ВµР ВµРЎвЂљ Р С—РЎР‚Р С‘ Р Р…Р В°Р Р†Р ВµР Т‘Р ВµР Р…Р С‘Р С‘ */
}
.mpi-item.last-item .mpi-info { opacity: 1 !important; transform: none !important; margin-bottom: 20px;}
.mpi-item.last-item .mpi-cat { color: #fff; opacity: 0.7; }
.mpi-item.last-item .mpi-btn-wrapper.show-always {
    position: relative; top: auto; left: auto; transform: none; opacity: 1;
    align-self: center;
}
.mpi-btn.white { background: #fff; color: #27ae60; border-color: #fff; }

/* Р С’Р вЂќР С’Р СџР СћР ВР вЂ™Р СњР С›Р РЋР СћР В¬ */
@media (max-width: 1100px) {
    .mpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .mpi-grid { grid-template-columns: 1fr; }
    .mpi-item { height: 320px; }
    
    /* Р СњР ВµРЎвЂљ hover: РЎвЂљР ВµР С”РЎРѓРЎвЂљ Р С—Р С• Р С—РЎР‚Р В°Р Р†Р С•Р СРЎС“ Р С”РЎР‚Р В°РЎР‹; Р Р…Р В° Р СџР С™ РІР‚вЂќ Р С—Р С• РЎвЂ Р ВµР Р…РЎвЂљРЎР‚РЎС“ (Р В±Р В°Р В·Р С•Р Р†РЎвЂ№Р Вµ РЎРѓРЎвЂљР С‘Р В»Р С‘ Р Р†РЎвЂ№РЎв‚¬Р Вµ) */
    .mpi-overlay {
        align-items: flex-end;
        justify-content: flex-end;
        text-align: right;
        padding: 24px 20px 40px;
    }
    .mpi-info {
        opacity: 1;
        transform: translateY(0);
        padding-bottom: 0;
        text-align: right;
    }
    .mpi-cat,
    .mpi-title {
        text-align: right;
    }
    .mpi-btn-wrapper { display: none; } /* Р Р€Р В±Р С‘РЎР‚Р В°Р ВµР С Р С”Р Р…Р С•Р С—Р С”РЎС“ Р Р…Р В° Р СР С•Р В±, РЎвЂЎРЎвЂљР С•Р В±РЎвЂ№ Р Р…Р Вµ Р СР ВµРЎв‚¬Р В°Р В»Р В° РЎвЂљР ВµР С”РЎРѓРЎвЂљРЎС“ */
    .mpi-desc { display: none; } /* Р РЋР С”РЎР‚РЎвЂ№Р Р†Р В°Р ВµР С Р С•Р С—Р С‘РЎРѓР В°Р Р…Р С‘Р Вµ Р Р…Р В° Р СР С•Р В±, РЎвЂљР С•Р В»РЎРЉР С”Р С• Р В·Р В°Р С–Р С•Р В»Р С•Р Р†Р С•Р С” */
    .mpi-item.last-item .mpi-btn-wrapper.show-always { align-self: flex-end; }
}
/* =========================
   CASE STUDY STYLES (LAPTOP ONLY)
   ========================= */

.case-study-wrapper {
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

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

/* --- HEADER --- */
.cs-header { padding: 80px 0 40px; text-align: center; }

.cs-meta { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.cs-tag { 
    background: #f4f6f8; color: #555; padding: 6px 14px; 
    border-radius: 50px; font-size: 12px; font-weight: 700; text-transform: uppercase; 
}

.cs-title { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px; color: #222; }
.highlight-text { color: #27ae60; }
.cs-subtitle { font-size: 1.2rem; color: #666; max-width: 800px; margin: 0 auto 40px; }

.btn-live-site {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 30px; border-radius: 50px;
    background: #27ae60; color: #fff; text-decoration: none;
    font-weight: 700; transition: 0.3s;
}
.btn-live-site:hover { background: #219150; transform: translateY(-3px); }
.btn-live-site svg { width: 18px; height: 18px; }

/* --- MOCKUP SECTION (ONLY LAPTOP) --- */
.cs-mockup-section { padding: 40px 0 80px; background: #f9f9f9; border-radius: 30px; margin: 0 20px; }
.mockup-grid {
    display: flex; justify-content: center; /* Р В¦Р ВµР Р…РЎвЂљРЎР‚Р С‘РЎР‚РЎС“Р ВµР С */
}

/* Р СњР С›Р Р€Р СћР вЂР Р€Р С™ */
.browser-mockup {
    width: 100%; 
    max-width: 950px; /* Р РЃР С‘РЎР‚Р С‘Р Р…Р В° Р Р…Р С•РЎС“РЎвЂљР В±РЎС“Р С”Р В° */
    background: #fff; 
    border-radius: 12px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.15);
    overflow: hidden; 
    border: 1px solid #e0e0e0;
    display: flex; flex-direction: column;
}

.browser-header {
    background: #f0f0f0; padding: 12px 15px;
    display: flex; align-items: center; gap: 8px;
    border-bottom: 1px solid #ccc;
    flex-shrink: 0; z-index: 2;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.browser-address {
    margin-left: 15px; background: #fff; flex-grow: 1;
    padding: 4px 10px; border-radius: 4px; font-size: 11px; color: #555; text-align: center;
}
.browser-address a { text-decoration: none; color: inherit; }

/* --- VIEWPORT Р вЂќР вЂєР Р‡ IFRAME (SCALING LOGIC) --- */
.browser-viewport {
    width: 100%;
    height: 550px; /* Р вЂ™РЎвЂ№РЎРѓР С•РЎвЂљР В° Р С•Р С”Р Р…Р В° Р Р…Р В° Р СџР С™ */
    overflow: hidden;
    position: relative;
    background: #fff;
}

.browser-viewport iframe {
    /* Р СџР С™ Р вЂ™Р вЂўР В Р РЋР ВР Р‡: Р РЋР С‘Р СРЎС“Р В»РЎРЏРЎвЂ Р С‘РЎРЏ Р СР С•Р Р…Р С‘РЎвЂљР С•РЎР‚Р В° 1600px+ */
    width: 175.44%; 
    height: 175.44%;
    transform: scale(0.57);
    transform-origin: 0 0;
    border: none;
    display: block;
}

.mockup-hint { text-align: center; margin-top: 40px; font-size: 0.9rem; color: #999; }

/* --- INFO GRID --- */
.cs-info { padding: 80px 0; }
.info-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
    border-bottom: 1px solid #eee; padding-bottom: 60px;
}
.info-item h3 { font-size: 1.1rem; color: #999; text-transform: uppercase; margin-bottom: 15px; letter-spacing: 1px; }
.info-item p { font-size: 1.15rem; font-weight: 600; line-height: 1.5; margin: 0; }
.info-item.highlight p { color: #27ae60; font-size: 1.25rem; }

/* --- PROCESS --- */
.cs-process { padding: 80px 0; }
.cs-sec-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 60px; text-align: center; }

.process-list {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px;
}
.proc-card {
    background: #f9f9f9; padding: 40px; border-radius: 20px;
    position: relative; overflow: hidden; transition: 0.3s;
}
.proc-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

.pc-num {
    font-size: 4rem; font-weight: 900; color: rgba(39, 174, 96, 0.1);
    position: absolute; top: 20px; right: 20px; line-height: 1;
}
.proc-card h4 { font-size: 1.4rem; font-weight: 700; margin: 0 0 15px; position: relative; color: #222; }
.proc-card p { font-size: 1rem; color: #555; line-height: 1.6; margin: 0; position: relative; }

/* --- REVIEW --- */
.cs-review { padding: 0 0 100px; }
.review-box {
    background: #f0fdf4; border: 1px solid #27ae60;
    padding: 60px; border-radius: 30px;
    text-align: center; position: relative; max-width: 900px; margin: 0 auto;
}
.rb-quote {
    font-size: 6rem; color: #27ae60; opacity: 0.3; line-height: 0;
    position: absolute; top: 40px; left: 40px; font-family: serif;
}
.rb-text { font-size: 1.2rem; font-style: italic; line-height: 1.6; color: #333; margin-bottom: 30px; position: relative; z-index: 2; }
.rb-author strong { display: block; color: #27ae60; }
.rb-author span { color: #888; font-size: 0.9rem; }

/* --- CTA --- */
.cs-cta { padding-bottom: 100px; }
.cta-inner {
    background: #0f1115; color: #fff;
    text-align: center; padding: 60px 20px; border-radius: 30px;
    background-image: linear-gradient(135deg, rgba(39,174,96,0.18), rgba(255,255,255,0.05));
}
.cta-inner h2 { font-size: 2.5rem; margin-bottom: 15px; }
.cta-inner p { font-size: 1.1rem; color: #aaa; margin-bottom: 30px; }
.btn-case-order {
    display: inline-block; padding: 16px 40px;
    background: #27ae60; color: #fff; text-decoration: none;
    border-radius: 50px; font-weight: 700;
    transition: 0.3s;
}
.btn-case-order:hover { background: #219150; box-shadow: 0 10px 30px rgba(39, 174, 96, 0.3); }

/* ANIMATION */
.fade-up { opacity: 0; transform: translateY(30px); transition: 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }

/* ADAPTIVE */
@media (max-width: 1100px) {
    .mockup-grid { gap: 30px; flex-direction: column; align-items: center; }
    .browser-viewport iframe { pointer-events: none; }
}

@media (max-width: 900px) {
    .cs-title { font-size: 2.2rem; }
    .info-grid, .process-list { grid-template-columns: 1fr; }
    .review-box { padding: 40px 20px; }
    .rb-quote { top: 20px; left: 10px; }
    
    /* --- Р СљР С›Р вЂР ВР вЂєР В¬Р СњР С’Р Р‡ Р С’Р вЂќР С’Р СџР СћР С’Р В¦Р ВР Р‡ Р В¤Р В Р вЂўР в„ўР СљР С’ --- */
    .browser-viewport {
        height: 400px; 
    }
    .browser-viewport iframe {
        /* Р СњР В° Р СР С•Р В±Р С‘Р В»РЎРЉР Р…Р С•Р С - Р В°Р С”Р С”РЎС“РЎР‚Р В°РЎвЂљР Р…Р В°РЎРЏ Р СР С•Р В±Р С‘Р В»РЎРЉР Р…Р В°РЎРЏ Р Р†Р ВµРЎР‚РЎРѓР С‘РЎРЏ РЎРѓР В°Р в„–РЎвЂљР В° */
        width: 133.33%; 
        height: 133.33%;
        transform: scale(0.75); 
    }
}
/* =========================
   CASES PAGE STYLES
   ========================= */

.cases-page-wrapper {
    color: #333; background: #fff;
}

.cp-container {
    max-width: 1300px; margin: 0 auto; padding: 0 20px;
    position: relative; z-index: 2;
}

/* --- HERO & FILTERS --- */
.cp-hero { padding: 80px 0 60px; text-align: center; }

.cp-label {
    display: inline-block; background: #f0f2f5; color: #27ae60;
    padding: 6px 14px; border-radius: 50px; font-weight: 700;
    font-size: 13px; text-transform: uppercase; margin-bottom: 20px;
}

.cp-title {
    font-size: 3rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px; color: #222;
}
.cp-title .highlight-text { color: #27ae60; position: relative; }
.cp-title .highlight-text::after { content: ''; position: absolute; bottom: 5px; left: 0; width: 100%; height: 8px; background: rgba(39, 174, 96, 0.15); z-index: -1; transform: skewX(-10deg); }

.cp-subtitle { font-size: 1.1rem; color: #666; max-width: 700px; margin: 0 auto 50px; line-height: 1.6; }

.cp-portfolio-note {
    max-width: 720px;
    margin: 48px auto 0;
    padding: 22px 26px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.65;
    color: #555;
    background: #f8faf9;
    border: 1px solid #e8eee9;
    border-radius: 16px;
}

/* Р В¤Р С‘Р В»РЎРЉРЎвЂљРЎР‚РЎвЂ№ */
.cp-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.filter-btn {
    border: 1px solid #eee; background: #fff;
    padding: 12px 25px; border-radius: 50px;
    font-size: 14px; font-weight: 600; color: #555;
    cursor: pointer; transition: 0.3s;
    font-family: inherit;
}
.filter-btn:hover { border-color: #27ae60; color: #27ae60; }
.filter-btn.active { background: #27ae60; border-color: #27ae60; color: #fff; box-shadow: 0 5px 15px rgba(39, 174, 96, 0.2); }

/* --- GRID SECTION --- */
.cp-grid-section { padding-bottom: 100px; min-height: 600px; }

.cases-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}

/* Р С™Р С’Р В Р СћР С›Р В§Р С™Р С’ */
.case-card { display: block; text-decoration: none; transition: 0.3s; }
.case-card:hover .cc-title { color: #27ae60; }

.cc-image {
    position: relative; border-radius: 20px; overflow: hidden;
    height: 230px; margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.cc-image img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease;
}
.case-card:hover .cc-image img { transform: scale(1.05); }

.cc-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.3s;
}
.case-card:hover .cc-overlay { opacity: 1; }

.cc-btn {
    background: #fff; color: #222; padding: 12px 25px; border-radius: 50px;
    font-weight: 700; font-size: 13px; text-transform: uppercase;
    transform: translateY(20px); transition: 0.4s;
}
.case-card:hover .cc-btn { transform: translateY(0); }

/* Р ВР Р…РЎвЂћР С• */
.cc-tags { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.cc-tags span {
    font-size: 11px; text-transform: uppercase; font-weight: 700; color: #999;
    background: #f5f5f5; padding: 4px 10px; border-radius: 6px;
}
/* Р СћР ВµР С– Р Т‘Р В»РЎРЏ РЎРѓРЎвЂљР В°РЎР‚РЎвЂљР В°Р С—Р С•Р Р† */
.tag-startup { background: #27ae60 !important; color: #fff !important; }

.cc-title { font-size: 1.5rem; font-weight: 800; color: #222; margin: 0 0 10px; transition: 0.3s; }
.cc-desc { font-size: 0.95rem; color: #666; line-height: 1.5; margin: 0; }

/* Р РЋР С”РЎР‚РЎвЂ№РЎвЂљР С‘Р Вµ Р С—РЎР‚Р С‘ РЎвЂћР С‘Р В»РЎРЉРЎвЂљРЎР‚Р В°РЎвЂ Р С‘Р С‘ */
.case-card.hide { display: none; }
.case-card.show { animation: popIn 0.5s ease; }

@keyframes popIn { from{opacity:0; transform:scale(0.95);} to{opacity:1; transform:scale(1);} }

/* --- CTA FOOTER --- */
.cp-cta { padding-bottom: 80px; }
.cta-box {
    background: #0f1115; color: #fff;
    border-radius: 30px; padding: 60px 40px; text-align: center;
    background-image: linear-gradient(135deg, rgba(39,174,96,0.18), rgba(255,255,255,0.05));
    position: relative; overflow: hidden;
}
.cta-box h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 15px; position: relative; z-index: 2; }
.cta-box p { font-size: 1.1rem; color: #aaa; margin-bottom: 30px; position: relative; z-index: 2; }

.btn-case-order {
    display: inline-block; padding: 16px 40px;
    background: #27ae60; color: #fff; border-radius: 50px; font-weight: 700; text-decoration: none;
    transition: 0.3s; position: relative; z-index: 2;
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.3);
}
.btn-case-order:hover { background: #219150; transform: translateY(-3px); }

/* Р С’Р СњР ВР СљР С’Р В¦Р ВР Р‡ */
.fade-up { opacity: 0; transform: translateY(30px); transition: 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Р С’Р вЂќР С’Р СџР СћР ВР вЂ™ */
@media (max-width: 1000px) {
    .cases-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .cp-title { font-size: 2.5rem; }
}
@media (max-width: 600px) {
    .cases-grid { grid-template-columns: 1fr; }
    .cp-filters { gap: 8px; }
    .filter-btn { font-size: 13px; padding: 10px 18px; }
    .cta-box { padding: 40px 20px; }
    .cta-box h2 { font-size: 2rem; }
}
/* =========================
   NARROW CTA STRIP STYLES
   ========================= */

.cta-narrow-strip {
    position: relative;
    width: 100%;
    padding: 40px 0; /* Р Р€Р В·Р С”Р С‘Р в„– Р С•РЎвЂљРЎРѓРЎвЂљРЎС“Р С— РЎРѓР Р†Р ВµРЎР‚РЎвЂ¦РЎС“ Р С‘ РЎРѓР Р…Р С‘Р В·РЎС“ */
    background: #0f1115; /* Р СћР ВµР СР Р…РЎвЂ№Р в„– РЎвЂћР С•Р Р… */
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    border-top: 1px solid rgba(255,255,255,0.05); /* Р СћР С•Р Р…Р С”Р В°РЎРЏ Р В»Р С‘Р Р…Р С‘РЎРЏ РЎРѓР Р†Р ВµРЎР‚РЎвЂ¦РЎС“ Р Т‘Р В»РЎРЏ РЎРѓРЎвЂљР С‘Р В»РЎРЏ */
}

/* Р С’Р СњР ВР СљР ВР В Р С›Р вЂ™Р С’Р СњР СњР В«Р в„ў Р В¤Р С›Р Сњ */
.ns-glow {
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: 1;
    animation: moveStripGlow 10s infinite alternate ease-in-out;
}
.glow-1 { top: -200px; left: 0; background: #27ae60; }
.glow-2 { bottom: -200px; right: 0; background: #1a4d3a; animation-delay: -5s; }

@keyframes moveStripGlow {
    0% { transform: translateX(0); }
    100% { transform: translateX(50px); }
}

/* Р С™Р С›Р СњР СћР вЂўР в„ўР СњР вЂўР В  */
.ns-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    position: relative; z-index: 2;
}

.ns-flex {
    display: flex;
    justify-content: space-between; /* Р СћР ВµР С”РЎРѓРЎвЂљ РЎРѓР В»Р ВµР Р†Р В°, Р С‘Р С”Р С•Р Р…Р С”Р С‘ РЎРѓР С—РЎР‚Р В°Р Р†Р В° */
    align-items: center;
}

/* Р вЂєР вЂўР вЂ™Р С’Р Р‡ Р РЋР СћР С›Р В Р С›Р СњР С’ (Р СћР вЂўР С™Р РЋР Сћ) */
.ns-title {
    color: #fff; font-size: 1.8rem; font-weight: 700; margin: 0 0 5px;
    line-height: 1.2;
}
.ns-subtitle {
    color: #aaa; font-size: 1rem; margin: 0; font-weight: 400;
}

/* Р СџР В Р С’Р вЂ™Р С’Р Р‡ Р РЋР СћР С›Р В Р С›Р СњР С’ (Р ВР С™Р С›Р СњР С™Р В) */
.ns-socials {
    display: flex; gap: 15px;
}

/* Р С™Р В Р Р€Р вЂњР вЂєР В«Р вЂў Р ВР С™Р С›Р СњР С™Р В */
.ns-icon {
    position: relative;
    width: 55px; height: 55px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05); /* Р СџРЎР‚Р С•Р В·РЎР‚Р В°РЎвЂЎР Р…РЎвЂ№Р в„– РЎвЂћР С•Р Р… */
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
}
.ns-icon img {
    width: 28px; height: 28px;
    transition: 0.3s;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

/* Р В­РЎвЂћРЎвЂћР ВµР С”РЎвЂљРЎвЂ№ Р С—РЎР‚Р С‘ Р Р…Р В°Р Р†Р ВµР Т‘Р ВµР Р…Р С‘Р С‘ */
.ns-icon:hover { transform: translateY(-3px) scale(1.1); }

/* Telegram Hover */
.ns-icon.tg:hover { background: rgba(0, 136, 204, 0.2); border-color: #0088cc; box-shadow: 0 0 15px rgba(0, 136, 204, 0.5); }
/* Viber Hover */
.ns-icon.vb:hover { background: rgba(115, 96, 242, 0.2); border-color: #7360f2; box-shadow: 0 0 15px rgba(115, 96, 242, 0.5); }
/* WhatsApp Hover */
.ns-icon.wa:hover { background: rgba(37, 211, 102, 0.2); border-color: #25d366; box-shadow: 0 0 15px rgba(37, 211, 102, 0.5); }

/* TOOLTIP (Р вЂ™РЎРѓР С—Р В»РЎвЂ№Р Р†Р В°РЎв‚¬Р С”Р В°) */
.tooltip {
    position: absolute; bottom: -35px; left: 50%; transform: translateX(-50%);
    background: #fff; color: #222; font-size: 12px; font-weight: 700;
    padding: 4px 10px; border-radius: 4px;
    opacity: 0; visibility: hidden; transition: 0.3s; pointer-events: none;
    white-space: nowrap;
}
.tooltip::before {
    content: ''; position: absolute; top: -4px; left: 50%; margin-left: -4px;
    border-left: 4px solid transparent; border-right: 4px solid transparent;
    border-bottom: 4px solid #fff;
}
.ns-icon:hover .tooltip { opacity: 1; visibility: visible; bottom: -40px; }

/* Р С’Р СњР ВР СљР С’Р В¦Р ВР Р‡ Р СџР С›Р Р‡Р вЂ™Р вЂєР вЂўР СњР ВР Р‡ */
.fade-left { opacity: 0; transform: translateX(-30px); transition: 0.8s ease; }
.fade-right { opacity: 0; transform: translateX(30px); transition: 0.8s ease; }
.visible { opacity: 1; transform: translateX(0); }

/* Р С’Р вЂќР С’Р СџР СћР ВР вЂ™ (Р СљР С›Р вЂР ВР вЂєР В¬Р СњР В«Р в„ў) */
@media (max-width: 768px) {
    .ns-flex { flex-direction: column; text-align: center; gap: 25px; }
    .ns-title { font-size: 1.5rem; }
    .ns-subtitle { font-size: 0.95rem; }
    .ns-socials { gap: 20px; }
    .ns-icon { width: 50px; height: 50px; }
    .tooltip { display: none; } /* Р СњР В° РЎвЂљР ВµР В»Р ВµРЎвЂћР С•Р Р…Р Вµ РЎвЂљРЎС“Р В»РЎвЂљР С‘Р С—РЎвЂ№ Р Р…Р Вµ Р Р…РЎС“Р В¶Р Р…РЎвЂ№ */.h-feature {
    display: flex;
    gap: 6px;
    flex-wrap: wrap !important;
    justify-content: space-evenly;
}
}
/* =========================
   BLOG CAROUSEL STYLES
   ========================= */

.blog-carousel-section {
    padding: 80px 0;
    background: var(--ms-sand-100);
    color: var(--ms-graphite-800);
    overflow: hidden;
}

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

/* HEADER */
.bc-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 40px;
}
.bc-title {
    font-size: 2.5rem; font-weight: 800; margin: 0; color: #222;
}
.bc-title .highlight-text { color: var(--ms-accent); }

/* NAV BUTTONS */
.bc-nav { display: flex; gap: 15px; }
.bc-btn {
    width: 50px; height: 50px;
    border-radius: 50%; border: 1px solid #eee;
    background: #fff; color: #222;
    font-size: 20px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.bc-btn:hover {
    background: var(--ms-accent); border-color: rgba(184,138,59,0.45); color: #fff;
    transform: scale(1.1);
}

/* TRACK (CAROUSEL) */
.bc-track-wrapper {
    overflow: hidden; /* Р РЋР С”РЎР‚РЎвЂ№Р Р†Р В°Р ВµР С РЎРѓР С”РЎР‚Р С•Р В»Р В»Р В±Р В°РЎР‚ */
    margin: 0 -20px; padding: 20px; /* Р С™Р С•Р СР С—Р ВµР Р…РЎРѓР В°РЎвЂ Р С‘РЎРЏ РЎвЂљР ВµР Р…Р ВµР в„– */
}

.bc-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    /* Р РЋР С”РЎР‚РЎвЂ№Р Р†Р В°Р ВµР С РЎРѓР С”РЎР‚Р С•Р В»Р В»Р В±Р В°РЎР‚ Р Р†Р С‘Р В·РЎС“Р В°Р В»РЎРЉР Р…Р С• */
    scrollbar-width: none; 
    -ms-overflow-style: none;
}
.bc-track::-webkit-scrollbar { display: none; }

.bc-loader { width: 100%; text-align: center; color: #999; padding: 40px; }

/* POST CARD */
.post-card {
    min-width: 350px; /* Р РЃР С‘РЎР‚Р С‘Р Р…Р В° Р С”Р В°РЎР‚РЎвЂљР С•РЎвЂЎР С”Р С‘ */
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    scroll-snap-align: start;
    display: flex; flex-direction: column;
    text-decoration: none;
    border: 1px solid #f0f0f0;
}
.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 55px rgba(184, 138, 59, 0.18);
    border-color: rgba(184, 138, 59, 0.28);
}

/* IMAGE */
.pc-img-wrap {
    height: 220px; overflow: hidden; position: relative;
}
.pc-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.post-card:hover .pc-img { transform: scale(1.1); }

/* CONTENT */
.pc-content {
    padding: 25px;
    display: flex; flex-direction: column; flex-grow: 1;
}
.pc-date {
    font-size: 12px; color: #999; text-transform: uppercase;
    margin-bottom: 10px; font-weight: 600; letter-spacing: 1px;
}
.pc-title {
    font-size: 1.2rem; font-weight: 700; color: #222;
    margin: 0 0 15px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pc-link {
    margin-top: auto;
    font-size: 14px; font-weight: 800; color: var(--ms-accent);
    display: flex; align-items: center; gap: 5px;
    transition: 0.3s;
}
.pc-link svg { width: 16px; height: 16px; transition: 0.3s; }
.post-card:hover .pc-link svg { transform: translateX(5px); }

/* FOOTER */
.bc-footer { text-align: center; margin-top: 20px; }
.btn-all-posts {
    display: inline-block; padding: 14px 35px;
    border: 2px solid rgba(184,138,59,0.55); color: var(--ms-accent); background: transparent;
    border-radius: 50px; font-weight: 700; text-decoration: none;
    transition: 0.3s;
}
.btn-all-posts:hover { background: var(--ms-accent); border-color: var(--ms-accent); color: #fff; }

/* ANIMATION */
.fade-up-scroll { opacity: 0; transform: translateY(30px); transition: 0.8s ease; }
.fade-up-scroll.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }

/* ADAPTIVE */
@media (max-width: 768px) {
    .bc-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .bc-nav { align-self: flex-end; }
    .bc-title { font-size: 2rem; }
    .post-card { min-width: 280px; }
}
	/* Р вЂќР С•Р В±Р В°Р Р†РЎРЉ РЎРЊРЎвЂљР С• Р Р† РЎРѓРЎвЂљР С‘Р В»РЎРЉ */
.pc-img-wrap {
    height: 220px; 
    overflow: hidden; 
    position: relative;
    background: #f4f6f8; /* Р В¦Р Р†Р ВµРЎвЂљ РЎвЂћР С•Р Р…Р В°, Р ВµРЎРѓР В»Р С‘ Р С”Р В°РЎР‚РЎвЂљР С‘Р Р…Р С”Р С‘ Р Р…Р ВµРЎвЂљ */
    display: flex; 
    align-items: center; 
    justify-content: center;
}
/* Р вЂўРЎРѓР В»Р С‘ Р С”Р В°РЎР‚РЎвЂљР С‘Р Р…Р С”Р С‘ РЎРѓР С•Р Р†РЎРѓР ВµР С Р Р…Р ВµРЎвЂљ, Р С—Р С•Р С”Р В°Р В·РЎвЂ№Р Р†Р В°Р ВµР С Р В·Р В°Р С–Р В»РЎС“РЎв‚¬Р С”РЎС“ Р С”РЎР‚Р В°РЎРѓР С‘Р Р†Р С• */
.pc-img-wrap img {
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    transition: transform 0.6s ease;
}
/* Р вЂўРЎРѓР В»Р С‘ Р С–РЎР‚РЎС“Р В·Р С‘РЎвЂљРЎРѓРЎРЏ Р В·Р В°Р С–Р В»РЎС“РЎв‚¬Р С”Р В° (Р В»Р С•Р С–Р С•РЎвЂљР С‘Р С—), Р Т‘Р ВµР В»Р В°Р ВµР С Р ВµР С–Р С• Р Р…Р Вµ Р Р…Р В° Р Р†Р ВµРЎРѓРЎРЉ РЎРЊР С”РЎР‚Р В°Р Р…, Р В° Р В°Р С”Р С”РЎС“РЎР‚Р В°РЎвЂљР Р…Р С• */
.pc-img-wrap img.is-placeholder {
    width: 50%;
    height: auto;
    object-fit: contain;
    opacity: 0.5;
}
/* Р РЋР ВµР С”РЎвЂ Р С‘РЎРЏ LIGHT ANIMATED SECTION РЎС“Р В¶Р Вµ Р С•Р С—РЎР‚Р ВµР Т‘Р ВµР В»Р ВµР Р…Р В° Р Р†РЎвЂ№РЎв‚¬Р Вµ - РЎС“Р Т‘Р В°Р В»Р ВµР Р… Р Т‘РЎС“Р В±Р В»Р С‘Р С”Р В°РЎвЂљ */
/* =========================
   MODERN MODAL STYLES (UPDATED)
   ========================= */

.cm-overlay {
    display: none;
    position: fixed; z-index: 99999;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.cm-overlay.active,
.cm-overlay.cm-open { display: flex; opacity: 1; }

.cm-box {
    background: #fff;
    width: 90%; max-width: 380px;
    border-radius: 30px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding-top: 50px;
}
.cm-overlay.active .cm-box,
.cm-overlay.cm-open .cm-box { transform: translateY(0) scale(1); }

/* PANDA */
.cm-panda-wrapper {
    position: absolute; top: -60px; left: 0; width: 100%;
    display: flex; justify-content: center; pointer-events: none;
}
.cm-panda-circle {
    width: 100px; height: 100px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    display: flex; align-items: center; justify-content: center;
    border: 5px solid #fff;
    overflow: hidden;
}
.cm-panda-circle img {
    width: 100%; height: 100%; object-fit: cover;
    transform: translateY(5px);
}

.cm-close {
    position: absolute; top: 15px; right: 15px;
    background: #f0f2f5; border: none;
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #666; cursor: pointer; transition: 0.2s; z-index: 5;
}
.cm-close:hover { background: #e0e0e0; color: #000; transform: rotate(90deg); }
.cm-close svg { width: 20px; height: 20px; }

.cm-content { padding: 10px 30px 40px; text-align: center; }
.cm-content h3 { font-size: 1.6rem; margin: 0 0 10px; font-weight: 800; color: #222; }
.cm-content p { font-size: 1rem; color: #666; margin-bottom: 25px; line-height: 1.5; }

/* BUTTONS */
.cm-links { display: flex; flex-direction: column; gap: 12px; }

.cm-btn {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 20px; border-radius: 16px;
    text-decoration: none; font-weight: 600; font-size: 15px; color: #fff;
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.cm-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.cm-btn:active { transform: scale(0.98); }

/* ICON BOX FIX */
.cm-icon-box {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; flex-shrink: 0;
}
/* Р С™Р В°РЎР‚РЎвЂљР С‘Р Р…Р С”Р С‘ (PNG) */
.cm-icon-box img {
    width: 100%; height: 100%; object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); /* Р СћР ВµР Р…РЎРЉ Р Т‘Р В»РЎРЏ Р В»Р С•Р С–Р С•РЎвЂљР С‘Р С—Р С•Р Р† */
}
/* Р вЂ™Р ВµР С”РЎвЂљР С•РЎР‚ (Р СћР ВµР В»Р ВµРЎвЂћР С•Р Р…) */
.cm-icon-box svg { width: 26px; height: 26px; }

.cm-arrow { opacity: 0.6; font-size: 18px; transition: 0.3s; }
.cm-btn:hover .cm-arrow { opacity: 1; transform: translateX(5px); }

/* Colors */
.telegram { background: linear-gradient(135deg, #229ED9 0%, #1a8cc4 100%); }
.whatsapp { background: linear-gradient(135deg, #25D366 0%, #1ebc59 100%); }
.viber    { background: linear-gradient(135deg, #7360F2 0%, #5f4bc9 100%); }
.phone    { background: linear-gradient(135deg, #333333 0%, #111111 100%); }

/* Animation */
.cm-overlay.active .fade-in-btn,
.cm-overlay.cm-open .fade-in-btn {
    animation: fadeInUpBtn 0.5s ease forwards;
    animation-delay: var(--d);
    opacity: 0; transform: translateY(20px);
}
@keyframes fadeInUpBtn { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 480px) {
    .cm-box { padding: 30px 20px; }
    .cm-btn { font-size: 15px; }
}
/* Р РЋРЎвЂљР В°РЎвЂљРЎС“РЎРѓ Р С›Р Р…Р В»Р В°Р в„–Р Р… */
.cm-status-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
}

.status-text {
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
}

/* Р СџРЎС“Р В»РЎРЉРЎРѓР С‘РЎР‚РЎС“РЎР‹РЎвЂ°Р В°РЎРЏ РЎвЂљР С•РЎвЂЎР С”Р В° */
.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #27ae60; /* Р СћР Р†Р С•Р в„– РЎвЂћР С‘РЎР‚Р СР ВµР Р…Р Р…РЎвЂ№Р в„– Р В·Р ВµР В»Р ВµР Р…РЎвЂ№Р в„– */
    border-radius: 50%;
    position: relative;
    display: block;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #27ae60;
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}
/* =========================
   BLOG PAGE STYLES
   ========================= */

.blog-page-container {
    max-width: 1300px; margin: 0 auto; padding: 96px 20px 90px;
}

/* HEADER */
.blog-header { text-align: center; margin-bottom: 60px; }
.bh-title { font-size: 3rem; font-weight: 900; margin-bottom: 15px; color: var(--ms-graphite-900); }
.highlight-text { color: var(--ms-accent); position: relative; display: inline-block; }
.highlight-text::after { content: ''; position: absolute; bottom: 5px; left: 0; width: 100%; height: 8px; background: var(--ms-accent-soft); z-index: -1; }
.bh-subtitle { font-size: 1.1rem; color: #666; max-width: 600px; margin: 0 auto; }

/* --- HERO POST (Р СџР ВµРЎР‚Р Р†Р В°РЎРЏ РЎРѓРЎвЂљР В°РЎвЂљРЎРЉРЎРЏ) --- */
.hero-post {
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px;
    align-items: center; margin-bottom: 80px;
    background: rgba(255,255,255,0.92); border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
    overflow: hidden; border: 1px solid #f0f0f0;
    transition: 0.3s; text-decoration: none; color: inherit;
}
.hero-post:hover { transform: translateY(-5px); box-shadow: 0 25px 70px rgba(184, 138, 59, 0.16); border-color: rgba(184, 138, 59, 0.28); }

.hp-img-wrap { 
    height: 450px; overflow: hidden; position: relative; background: #f4f6f8; 
    display: flex; align-items: center; justify-content: center;
}
.hp-img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.hero-post:hover .hp-img { transform: scale(1.05); }

.hp-content { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.hp-date { font-size: 13px; text-transform: uppercase; color: #999; font-weight: 700; margin-bottom: 15px; letter-spacing: 1px; }
.hp-title { font-size: 2.2rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; color: #222; transition: 0.3s; }
.hero-post:hover .hp-title { color: var(--ms-accent); }
.hp-excerpt { font-size: 1rem; line-height: 1.6; color: #555; margin-bottom: 30px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hp-link { font-weight: 800; color: var(--ms-accent); display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; font-size: 14px; }

/* --- GRID POSTS (Р С›РЎРѓРЎвЂљР В°Р В»РЎРЉР Р…РЎвЂ№Р Вµ) --- */
.blog-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}

.grid-post {
    background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 1px solid #f0f0f0;
    transition: 0.3s; text-decoration: none; color: inherit;
    display: flex; flex-direction: column;
}
.grid-post:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: rgba(184, 138, 59, 0.28); }

.gp-img-wrap { 
    height: 240px; overflow: hidden; position: relative; background: #f4f6f8;
    display: flex; align-items: center; justify-content: center;
}
.gp-img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.grid-post:hover .gp-img { transform: scale(1.1); }

/* Р вЂ”Р В°Р С–Р В»РЎС“РЎв‚¬Р С”Р В° (Р В»Р С•Р С–Р С•РЎвЂљР С‘Р С—) Р Т‘Р С•Р В»Р В¶Р Р…Р В° Р В±РЎвЂ№РЎвЂљРЎРЉ Р С—Р С• РЎвЂ Р ВµР Р…РЎвЂљРЎР‚РЎС“ Р С‘ Р Р…Р Вµ РЎР‚Р В°РЎРѓРЎвЂљРЎРЏР Р…РЎС“РЎвЂљР В° */
.hp-img.is-placeholder, .gp-img.is-placeholder {
    width: 50%; height: auto; object-fit: contain; opacity: 0.5;
}

.gp-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.gp-date { font-size: 12px; color: #999; font-weight: 600; margin-bottom: 10px; }
.gp-title { font-size: 1.3rem; font-weight: 700; line-height: 1.3; margin-bottom: 15px; color: #222; transition: 0.3s; }
.grid-post:hover .gp-title { color: var(--ms-accent); }
.gp-excerpt { font-size: 0.9rem; color: #666; line-height: 1.5; margin-bottom: 20px; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gp-footer { border-top: 1px solid #eee; padding-top: 15px; margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.gp-read { font-size: 13px; font-weight: 800; color: var(--ms-accent); }

/* ACTIONS */
.blog-actions { text-align: center; margin-top: 60px; }
.btn-load-more {
    background: #fff; border: 2px solid #27ae60; color: #27ae60;
    padding: 14px 40px; border-radius: 50px; font-weight: 700; font-size: 14px;
    cursor: pointer; text-transform: uppercase; transition: 0.3s;
}
.btn-load-more:hover { background: #27ae60; color: #fff; }

.loader-spinner {
    border: 4px solid #f3f3f3; border-top: 4px solid #27ae60;
    border-radius: 50%; width: 40px; height: 40px;
    animation: spin 1s linear infinite; margin: 0 auto 20px;
    display: none; 
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.fade-up { opacity: 0; transform: translateY(30px); transition: 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ADAPTIVE */
@media (max-width: 992px) {
    .hero-post { grid-template-columns: 1fr; }
    .hp-img-wrap { height: 300px; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .blog-header { text-align: left; }
    .bh-title { font-size: 2.2rem; }
    .blog-grid { grid-template-columns: 1fr; }
    .hp-title { font-size: 1.5rem; }
}

/* =========================================================
   MirShtor palette overrides (Р С—Р ВµРЎРѓР С•Р С” / Р С–РЎР‚Р В°РЎвЂћР С‘РЎвЂљ / Р В±Р ВµР В»РЎвЂ№Р в„– + Р В°Р С”РЎвЂ Р ВµР Р…РЎвЂљ)
   ========================================================= */

/* Р С’Р С”РЎвЂ Р ВµР Р…РЎвЂљ Р Р†Р СР ВµРЎРѓРЎвЂљР С• Р В·Р ВµР В»РЎвЂР Р…Р С•Р С–Р С• */
.text-logo .highlight,
.header-socials svg,
.mobile-socials-icons svg,
.article-body a,
.gp-read {
    color: var(--ms-accent) !important;
}

.btn-sb,
.btn-case-order,
.btn-article-cta,
.c-modal-btn,
.btn-load-more:hover {
    background: var(--ms-accent) !important;
}
.btn-sb:hover,
.btn-case-order:hover,
.btn-article-cta:hover,
.c-modal-btn:hover {
    background: var(--ms-accent-hover) !important;
}

.btn-load-more {
    border-color: var(--ms-accent) !important;
    color: var(--ms-accent) !important;
}

.grid-post:hover { border-color: var(--ms-accent) !important; }
.grid-post:hover .gp-title { color: var(--ms-accent) !important; }
.loader-spinner { border-top-color: var(--ms-accent) !important; }

/* Р СљР С•Р Т‘Р В°Р В»Р С”Р С‘ / РЎРЊР В»Р ВµР СР ВµР Р…РЎвЂљРЎвЂ№ РЎРѓ Р С—Р С•Р Т‘РЎРѓР Р†Р ВµРЎвЂљР С”Р С•Р в„– */
.c-modal-icon { background: var(--ms-accent-soft) !important; color: var(--ms-accent) !important; }
.article-body blockquote { border-left-color: var(--ms-accent) !important; }

/* Р вЂњР В»Р С•Р В±Р В°Р В»РЎРЉР Р…Р С• Р С–Р В°РЎРѓР С‘Р С Р С•РЎРѓРЎвЂљР В°Р Р†РЎв‚¬Р С‘Р ВµРЎРѓРЎРЏ "Р В·Р ВµР В»РЎвЂР Р…РЎвЂ№Р Вµ" Р С—РЎР‚Р В°Р Р†Р С‘Р В»Р В° */
.status-text,
.menu-icon,
.feature-icon,
.pulsing-dot,
.pulse-dot{
    color: var(--ms-accent) !important;
    background-color: var(--ms-accent) !important;
}

/* Р РЃР В°Р С—Р С”Р В° Р С”Р В°Р С” Р Р…Р В° РЎРѓР С”РЎР‚Р С‘Р Р…Р Вµ (Р СРЎРЏР С–Р С”Р С‘Р в„– Р С—Р ВµРЎРѓР С•РЎвЂЎР Р…РЎвЂ№Р в„– РЎвЂћР С•Р Р…) */
.site-header {
    background: rgba(251, 248, 242, 0.86) !important;
    border-bottom: 1px solid rgba(31, 31, 31, 0.06) !important;
}

/* === Р СњР С•Р Р†РЎвЂ№Р в„– Р С—Р С•Р Т‘Р Р†Р В°Р В» MirShtor === */
.ms-footer{
    background: var(--ms-graphite-900);
    color: rgba(255,255,255,0.86);
    position: relative;
}
.ms-footer__inner{
    max-width: 1300px;
    margin: 0 auto;
    padding: 70px 20px 40px;
    position: relative;
}
.ms-footer__grid{
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 45px;
    align-items: start;
}
.ms-footer__logo{
    display: inline-flex;
    width: 180px;
    margin-bottom: 18px;
}
.ms-footer__logo img{ width: 100%; height: auto; filter: drop-shadow(0 10px 25px rgba(0,0,0,0.25)); }
.ms-footer__title{
    margin: 0 0 14px;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.92);
}
.ms-footer__contacts{ display: grid; gap: 8px; margin: 10px 0 16px; }
.ms-footer__contact{
    color: rgba(255,255,255,0.88);
    font-weight: 700;
}
.ms-footer__contact:hover{ color: #fff; }
.ms-footer__socials{ display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.ms-footer__social{
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.82);
    background: rgba(255,255,255,0.04);
}
.ms-footer__social:hover{
    border-color: rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.07);
    color: #fff;
}
.ms-footer__cta{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 999px;
    background: var(--ms-accent);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.2px;
    box-shadow: 0 14px 35px rgba(184, 138, 59, 0.22);
}
.ms-footer__cta:hover{ background: var(--ms-accent-hover); transform: translateY(-2px); }
.ms-footer__list{ list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ms-footer__list a{
    color: rgba(255,255,255,0.76);
    text-decoration: none;
}
.ms-footer__list a:hover{ color: #fff; }
.ms-footer__divider{
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 22px 0;
}
.ms-footer__bottom{
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.ms-footer__legal{
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255,255,255,0.70);
    display: grid;
    gap: 10px;
}

@media (max-width: 1000px){
    .ms-footer__grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
    .ms-footer__inner{ padding: 55px 16px 35px; }
    .ms-footer__grid{ grid-template-columns: 1fr; gap: 34px; }
    .ms-footer__logo{ width: 160px; }
}

/* =========================================================
   Footer (shtory-ftr-*) РІР‚вЂќ Р С”Р В°Р С” Р Р† Р С—РЎР‚Р С‘РЎРѓР В»Р В°Р Р…Р Р…Р С•Р С РЎв‚¬Р В°Р В±Р В»Р С•Р Р…Р Вµ
   ========================================================= */
.shtory-ftr-section {
    --sand: #D6C7B3;
    --graphite: #262626;
    --text-muted: #A0A0A0;
    --white: #FFFFFF;
    --border-color: rgba(255, 255, 255, 0.1);

    background-color: var(--graphite);
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--white);
    padding: 80px 0 40px;
    position: relative;
    width: 100%;
}

.shtory-ftr-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.shtory-ftr-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
}

.shtory-ftr-logo {
    display: block;
    margin-bottom: 30px;
}

.shtory-ftr-logo img {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 12px 30px rgba(0,0,0,0.25));
}

.shtory-ftr-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.shtory-ftr-contact-link {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.shtory-ftr-contact-link[href^="tel"] {
    font-size: 24px;
    font-weight: 700;
    color: var(--sand);
}

.shtory-ftr-contact-link:hover {
    color: var(--sand);
}

.shtory-ftr-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
}

.shtory-ftr-social-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.shtory-ftr-social-link:hover {
    border-color: var(--sand);
    color: var(--graphite);
    background-color: var(--sand);
}

.shtory-ftr-cta-btn {
    display: inline-block;
    background: var(--sand);
    color: var(--graphite);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.shtory-ftr-cta-btn:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.shtory-ftr-title {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 25px 0;
}

.shtory-ftr-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.shtory-ftr-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.shtory-ftr-list a:hover {
    color: var(--sand);
    transform: translateX(8px);
}

.shtory-ftr-divider {
    height: 1px;
    background: var(--border-color);
    margin: 35px 0;
}

.shtory-ftr-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.shtory-ftr-legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #777;
    font-size: 12px;
    line-height: 1.6;
}

.shtory-ftr-legal strong {
    color: var(--text-muted);
    font-weight: 500;
}

.shtory-ftr-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--sand);
    color: var(--graphite);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.shtory-ftr-scroll-top.visible{
    opacity: 0.85;
    pointer-events: auto;
}

.shtory-ftr-scroll-top:hover {
    opacity: 1;
    transform: translateY(-5px);
    background: var(--white);
}

.shtory-ftr-scroll-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 992px) {
    .shtory-ftr-grid {
        grid-template-columns: 1fr 1fr;
    }
    .shtory-ftr-col:first-child {
        grid-column: 1 / -1;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .shtory-ftr-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Mobile footer: centered + compact */
    .shtory-ftr-col{
        text-align: center;
    }
    .shtory-ftr-logo{
        margin: 0 auto 18px;
    }
    .shtory-ftr-logo img{
        margin-left: auto;
        margin-right: auto;
    }
    .shtory-ftr-contacts{
        align-items: center;
    }
    .shtory-ftr-socials{
        justify-content: center;
        margin-bottom: 18px;
    }
    .shtory-ftr-cta-btn{
        width: 100%;
        max-width: 320px;
    }
    .shtory-ftr-title{
        margin: 0 0 14px 0;
    }
    .shtory-ftr-list{
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 18px;
        justify-items: center;
    }
    .shtory-ftr-list a:hover{
        transform: none;
    }
    .shtory-ftr-divider{
        margin: 22px 0;
    }
    .shtory-ftr-bottom{
        margin-top: 36px;
        padding-top: 22px;
        text-align: center;
    }
    .shtory-ftr-legal{
        align-items: center;
    }
    .shtory-ftr-scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* =========================================================
   WooCommerce catalog styling (cards + left accordion sidebar)
   ========================================================= */
.ms-shop.container{
    background: #fff;
    box-shadow: none;
    /* РЎвЂћР С‘Р С”РЎРѓР С‘РЎР‚Р С•Р Р†Р В°Р Р…Р Р…Р В°РЎРЏ РЎв‚¬Р В°Р С—Р С”Р В°: РЎвЂЎРЎвЂљР С•Р В±РЎвЂ№ Р В·Р В°Р С–Р С•Р В»Р С•Р Р†Р С•Р С” Р Р…Р Вµ РЎС“РЎвЂ¦Р С•Р Т‘Р С‘Р В» Р С—Р С•Р Т‘ Р СР ВµР Р…РЎР‹ */
    padding: 96px 20px 40px !important;
    max-width: 1300px;
}
.ms-shop-layout{
    gap: 30px;
    align-items: flex-start;
}
.ms-shop-main--full{
    width: 100% !important;
}
.ms-shop-main{
    width: 100% !important; /* Р С—Р ВµРЎР‚Р ВµР В±Р С‘Р Р†Р В°Р ВµР С Р В±Р В°Р В·Р С•Р Р†РЎвЂ№Р Вµ 72% */
}
.ms-shop-sidebar{
    width: 320px !important;
    flex: 0 0 320px;
    position: sticky;
    top: 92px;
}
@media (max-width: 820px){
    .ms-shop-layout{ flex-direction: column; }

    /* Mobile: sidebar becomes offcanvas filter panel */
    .ms-shop-sidebar{
        width: min(92vw, 360px) !important;
        flex: 0 0 auto !important;
        position: fixed !important;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 99997;
        background: rgba(255,255,255,0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-right: 1px solid rgba(31,31,31,0.10);
        padding: 18px 14px 90px;
        overflow: auto;
        transform: translateX(-105%);
        transition: transform 0.22s ease;
        box-shadow: 18px 0 55px rgba(0,0,0,0.18);
    }
    body.ms-filter-open .ms-shop-sidebar{ transform: translateX(0); }

    .ms-shop-sidebar__close{
        position: sticky;
        top: 6px;
        margin-left: auto;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        border: 1px solid rgba(31,31,31,0.10);
        background: rgba(255,255,255,0.9);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        z-index: 1;
    }
    .ms-shop-sidebar__close svg{ width: 22px; height: 22px; color: var(--ms-graphite-900); }

    .ms-shop-main{ width: 100% !important; }
}

/* Mobile filter button */
.ms-shop-mobile-filter{
    display: none;
    margin: 6px 0 10px;
}
@media (max-width: 820px){
    .ms-shop-mobile-filter{ display: flex; justify-content: flex-start; }
}
.ms-filter-btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(31,31,31,0.12);
    background: rgba(255,255,255,0.90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.10);
    color: var(--ms-graphite-900);
    font-weight: 900;
    cursor: pointer;
}
.ms-filter-btn svg{ width: 20px; height: 20px; color: var(--ms-accent); }
.ms-filter-btn:hover{ transform: translateY(-1px); box-shadow: 0 16px 38px rgba(0,0,0,0.14); border-color: rgba(184,138,59,0.28); }

/* Overlay for offcanvas */
.ms-filter-overlay{
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99996;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
body.ms-filter-open .ms-filter-overlay{ display: block; }
body.ms-filter-open{ overflow: hidden; }

/* Breadcrumbs */
.ms-breadcrumbs{
    margin: 6px 0 14px;
}
.ms-breadcrumbs .woocommerce-breadcrumb{
    font-size: 13px;
    font-weight: 700;
    color: rgba(31,31,31,0.55);
}
.ms-breadcrumbs .woocommerce-breadcrumb a{
    color: rgba(31,31,31,0.65);
}
.ms-breadcrumbs .woocommerce-breadcrumb a:hover{
    color: var(--ms-accent);
}

/* =========================================================
   Floating actions (bottom-left): messengers + call
   ========================================================= */
.ms-fab{
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 99998;
    display: grid;
    gap: 10px;
    pointer-events: none;
}
.ms-fab *{ pointer-events: auto; }

.ms-fab__btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(31,31,31,0.10);
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 14px 38px rgba(0,0,0,0.12);
    color: var(--ms-graphite-900);
    font-weight: 900;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: 0.2s;
    justify-content: center;
}
.ms-fab__btn svg{
    width: 22px;
    height: 22px;
    color: var(--ms-accent);
}
.ms-fab__btn span{
    display: none;
}
.ms-fab__btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.16);
    border-color: rgba(184,138,59,0.28);
}
.ms-fab__btn--mess{
    background: var(--ms-accent);
    border-color: rgba(184,138,59,0.40);
    color: #fff;
}
.ms-fab__btn--mess svg{ color: #fff; }
.ms-fab__btn--mess:hover{
    background: var(--ms-accent-hover);
}

.ms-fab__stack{
    display: grid;
    gap: 10px;
    align-items: start;
    justify-items: start;
    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: 0.22s ease;
}
.ms-fab__stack.is-open{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.ms-fab__item{
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(31,31,31,0.10);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    transition: 0.2s;
    color: var(--ms-graphite-900);
}
.ms-fab__item svg{
    width: 22px;
    height: 22px;
    color: var(--ms-accent);
}
.ms-fab__item:hover{
    transform: translateY(-2px);
    border-color: rgba(184,138,59,0.30);
}

@media (max-width: 640px){
    .ms-fab{ left: 14px; bottom: 14px; }
    .ms-fab__btn{ width: 52px; height: 52px; }
}
.ms-shop-sidebar .widget-item{
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(31,31,31,0.08);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.ms-shop-sidebar .widget-title{
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 12px;
    font-weight: 900;
    color: var(--ms-graphite-900);
}

.ms-shop-cta{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--ms-accent);
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.2px;
    box-shadow: 0 18px 40px rgba(184, 138, 59, 0.22);
}
.ms-shop-cta:hover{
    background: var(--ms-accent-hover);
    transform: translateY(-2px);
}

/* Price filter */
.ms-shop-sidebar .widget_price_filter .price_slider_wrapper{
    margin-top: 8px;
}
.ms-shop-sidebar .widget_price_filter .ui-slider{
    background: rgba(31,31,31,0.10);
    border-radius: 999px;
    height: 6px;
}
.ms-shop-sidebar .widget_price_filter .ui-slider .ui-slider-range{
    background: var(--ms-accent);
}
.ms-shop-sidebar .widget_price_filter .ui-slider .ui-slider-handle{
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--ms-accent);
    top: -6px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}
.ms-shop-sidebar .widget_price_filter .price_label{
    color: rgba(31,31,31,0.65);
    font-weight: 700;
}
.ms-shop-sidebar .widget_price_filter button.button{
    background: var(--ms-accent);
    border: none;
    color: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 900;
}
.ms-shop-sidebar .widget_price_filter button.button:hover{ background: var(--ms-accent-hover); }

/* Categories accordion */
.ms-shop-sidebar .widget_product_categories .product-categories,
.ms-shop-sidebar .widget_product_categories .product-categories ul{
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.ms-shop-sidebar .widget_product_categories .cat-item{
    border-bottom: 1px solid rgba(31,31,31,0.06);
    padding: 10px 0;
}
.ms-shop-sidebar .widget_product_categories .cat-item:last-child{ border-bottom: none; }
.ms-shop-sidebar .widget_product_categories .cat-item > a{
    color: var(--ms-graphite-900);
    font-weight: 800;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    flex: 1 1 auto;
    padding: 10px 12px;
    border-radius: 14px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.ms-shop-sidebar .widget_product_categories .cat-item > a:hover{ color: var(--ms-accent); }
.ms-shop-sidebar .widget_product_categories .cat-item > a:hover{
    background: var(--ms-accent-soft);
    transform: translateX(6px);
}
.ms-shop-sidebar .widget_product_categories .children{
    margin-top: 10px;
    padding-left: 12px;
    border-left: 2px solid rgba(184,138,59,0.25);
}
.ms-cat-toggle{
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(31,31,31,0.10);
    background: rgba(255,255,255,0.6);
    color: var(--ms-graphite-900);
    cursor: pointer;
    margin-left: auto;
    transition: 0.2s;
}
.ms-cat-toggle:hover{
    border-color: rgba(184,138,59,0.35);
    background: rgba(184,138,59,0.10);
}
.ms-cat-row{
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Infinite scroll loader */
.ms-inf-sentinel{
    display: flex;
    justify-content: center;
    padding: 24px 0 10px;
}
.ms-inf-loader{
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}
.ms-inf-dot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ms-accent);
    opacity: 0.25;
    animation: msInfPulse 1s infinite ease-in-out;
}
.ms-inf-dot:nth-child(2){ animation-delay: 0.15s; }
.ms-inf-dot:nth-child(3){ animation-delay: 0.3s; }
@keyframes msInfPulse{
    0%, 100% { transform: translateY(0); opacity: 0.25; }
    50% { transform: translateY(-4px); opacity: 0.9; }
}
.ms-cat-count{
    color: rgba(31,31,31,0.55);
    font-weight: 700;
    font-size: 12px;
    margin-left: 6px;
    white-space: nowrap;
}

/* Product grid cards */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering{
    margin-bottom: 18px;
}

/* Р вЂ”Р В°Р С–Р С•Р В»Р С•Р Р†Р С•Р С” Р С”Р В°РЎвЂљР В°Р В»Р С•Р С–Р В° Р С‘ Р С•РЎвЂљРЎРѓРЎвЂљРЎС“Р С—РЎвЂ№ */
.woocommerce .woocommerce-products-header{
    margin: 0 0 18px;
}
.woocommerce .woocommerce-products-header__title{
    margin: 0 0 8px;
    font-weight: 900;
    color: var(--ms-graphite-900);
}
.woocommerce ul.products{
    /* WooCommerce РЎвЂЎР В°РЎРѓРЎвЂљР С• Р В·Р В°Р Т‘Р В°РЎвЂРЎвЂљ float/width РІР‚вЂќ Р С—РЎР‚Р С‘Р Р…РЎС“Р Т‘Р С‘РЎвЂљР ВµР В»РЎРЉР Р…Р С• Р С—Р ВµРЎР‚Р ВµР С•Р С—РЎР‚Р ВµР Т‘Р ВµР В»РЎРЏР ВµР С */
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    grid-auto-flow: dense !important;
}

/* CRITICAL: WooCommerce clearfix (::before/::after) в grid становится "первым элементом" и создаёт пустую ячейку */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce .products::before,
.woocommerce .products::after{
    content: none !important;
    display: none !important;
}

/* FIX: РІР‚СљР С—РЎС“РЎРѓРЎвЂљР В°РЎРЏ Р С—Р ВµРЎР‚Р Р†Р В°РЎРЏ РЎРЏРЎвЂЎР ВµР в„–Р С”Р В°РІР‚Сњ (РЎРЊР В»Р ВµР СР ВµР Р…РЎвЂљ Р ВµРЎРѓРЎвЂљРЎРЉ, Р Р…Р С• РЎРѓР С”РЎР‚РЎвЂ№РЎвЂљ РЎвЂЎР ВµРЎР‚Р ВµР В· visibility/opacity) */
.woocommerce ul.products > li{
    visibility: visible !important;
    opacity: 1 !important;
}
.woocommerce ul.products li.product,
.woocommerce ul.products li.product.first{
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
}
@media (max-width: 1100px){
    .woocommerce ul.products{ grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px){
    .woocommerce ul.products{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 420px){
    .woocommerce ul.products{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
.woocommerce ul.products li.product{
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    clear: none !important;
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(31,31,31,0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Р Р€Р В±Р С‘РЎР‚Р В°Р ВµР С Р С”Р Р…Р С•Р С—Р С”РЎС“ РІР‚СљР вЂ™ Р С”Р С•РЎР‚Р В·Р С‘Р Р…РЎС“РІР‚Сњ Р Р† Р С”Р В°РЎР‚РЎвЂљР С•РЎвЂЎР С”Р В°РЎвЂ¦ */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product button.button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product a.add_to_cart_button{
    display: none !important;
}

/* Р СњР В° РЎРѓР В»РЎС“РЎвЂЎР В°Р в„–, Р ВµРЎРѓР В»Р С‘ РЎвЂљР ВµР СР В°/Р С—Р В»Р В°Р С–Р С‘Р Р… Р С—РЎР‚РЎРЏРЎвЂЎР ВµРЎвЂљ Р С—Р ВµРЎР‚Р Р†РЎвЂ№Р в„– РЎвЂљР С•Р Р†Р В°РЎР‚ */
.woocommerce ul.products li.product:first-child{
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Р вЂўРЎРѓР В»Р С‘ WooCommerce Р Р†РЎРѓРЎвЂљР В°Р Р†Р В»РЎРЏР ВµРЎвЂљ clearing-РЎРЊР В»Р ВµР СР ВµР Р…РЎвЂљРЎвЂ№ РІР‚вЂќ РЎРѓР С”РЎР‚РЎвЂ№Р Р†Р В°Р ВµР С */
.woocommerce ul.products .clear,
.woocommerce ul.products li.clear{
    display: none !important;
}

/* Р вЂўРЎРѓР В»Р С‘ Р Р† РЎРѓР С—Р С‘РЎРѓР С”Р Вµ Р ВµРЎРѓРЎвЂљРЎРЉ РІР‚СљРЎРѓР В»РЎС“Р В¶Р ВµР В±Р Р…РЎвЂ№Р ВµРІР‚Сњ РЎРЊР В»Р ВµР СР ВµР Р…РЎвЂљРЎвЂ№ РІР‚вЂќ Р Р…Р Вµ Р Т‘Р В°РЎвЂР С Р С‘Р С Р В·Р В°Р Р…Р С‘Р СР В°РЎвЂљРЎРЉ РЎРЏРЎвЂЎР ВµР в„–Р С”Р С‘ grid */
.woocommerce ul.products > li:not(.product){
    display: none !important;
}

/* Р вЂўРЎРѓР В»Р С‘ Р Р†Р Т‘РЎР‚РЎС“Р С– Р Р†РЎРѓРЎвЂљР В°Р Р†Р В»РЎРЏР ВµРЎвЂљРЎРѓРЎРЏ Р С—РЎС“РЎРѓРЎвЂљР С•Р в„– li.product */
.woocommerce ul.products li.product:empty{
    display: none !important;
}

/* Р вЂ™РЎвЂ№РЎв‚¬Р Вµ Р С”Р В°РЎР‚РЎвЂљР С‘Р Р…Р С”Р В° */
.woocommerce ul.products li.product a img{
    aspect-ratio: 3 / 4;
}

/* Р В¤Р С‘Р С”РЎРѓР С‘РЎР‚РЎС“Р ВµР С РЎР‚Р ВµР В°Р В»РЎРЉР Р…РЎС“РЎР‹ Р Р†РЎвЂ№РЎРѓР С•РЎвЂљРЎС“ Р С—РЎР‚Р ВµР Р†РЎРЉРЎР‹ (РЎС“ Woo Р Р† HTML width/height 300x240) */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img{
    height: 420px;
    object-fit: cover;
}
@media (max-width: 1100px){
    .woocommerce ul.products li.product a.woocommerce-LoopProduct-link img{ height: 380px; }
}
@media (max-width: 640px){
    .woocommerce ul.products li.product a.woocommerce-LoopProduct-link img{ height: 320px; }
}

/* Р С™Р В°РЎР‚РЎвЂљР С•РЎвЂЎР С”Р В° Р С‘Р Р…РЎвЂљР ВµРЎР‚Р ВµРЎРѓР Р…Р ВµР Вµ: Р СРЎРЏР С–Р С”Р С‘Р в„– РІР‚СљР С—Р ВµРЎРѓР С•РЎвЂЎР Р…РЎвЂ№Р в„–РІР‚Сњ Р Р…Р С‘Р В· */
.woocommerce ul.products li.product{
    position: relative;
}
.woocommerce ul.products li.product::after{
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 90px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(246,241,231,0.92) 60%, rgba(246,241,231,1) 100%);
    pointer-events: none;
    z-index: 1;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price{
    position: relative;
    z-index: 2;
}
.woocommerce ul.products li.product .price{
    padding-bottom: 18px;
}

/* Р Р€Р В±Р С‘РЎР‚Р В°Р ВµР С РІР‚СљР Т‘РЎвЂ№РЎР‚Р С”РЎС“РІР‚Сњ Р С•РЎвЂљ first/clear РЎС“ WooCommerce */
.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last,
.woocommerce ul.products li.product:nth-child(3n+1){
    clear: none !important;
}

/* Р РЋР С”РЎР‚РЎвЂ№Р Р†Р В°Р ВµР С Р С—Р В°Р С–Р С‘Р Р…Р В°РЎвЂ Р С‘РЎР‹ (Р С‘Р Р…РЎвЂћР С‘Р Р…Р С‘РЎвЂљ-РЎРѓР С”РЎР‚Р С•Р В»Р В») */
.woocommerce .woocommerce-pagination{
    display: none !important;
}

/* =========================================================
   Single product (modern layout)
   ========================================================= */
.ms-product{
    background: #fff;
}
.ms-product__inner{
    max-width: 1300px;
    margin: 0 auto;
    padding: 96px 20px 50px;
}
.single-product .ms-breadcrumbs{ margin-top: 0; }
.ms-product__grid{
    display: grid;
    grid-template-columns: 1.25fr 0.9fr;
    gap: 28px;
    align-items: start;
}
@media (max-width: 980px){
    .ms-product__grid{ grid-template-columns: 1fr; }
}
.ms-product__gallery{
    background: rgba(251,248,242,0.55);
    border: 1px solid rgba(31,31,31,0.08);
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.06);
}
.ms-product__summary{
    position: sticky;
    top: 92px;
}
@media (max-width: 980px){
    .ms-product__summary{ position: static; top: auto; }
}
.ms-product__summaryCard{
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(31,31,31,0.10);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 18px 55px rgba(0,0,0,0.08);
}
.ms-product__summaryCard .product_title{
    font-size: 28px;
    line-height: 1.15;
    margin: 0 0 10px;
    font-weight: 900;
    color: var(--ms-graphite-900);
}
.ms-product__summaryCard .price{
    color: var(--ms-accent);
    font-weight: 900;
    font-size: 20px;
    margin: 6px 0 12px;
}
.ms-product__summaryCard .woocommerce-product-details__short-description{
    color: rgba(31,31,31,0.70);
    font-size: 15px;
    line-height: 1.55;
}

/* Single product: style the repeated "contact + table" block in short description */
.single-product .woocommerce-product-details__short-description table{
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(31,31,31,0.10);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0,0,0,0.06);
    margin: 10px 0 14px;
}
.single-product .woocommerce-product-details__short-description table td{
    padding: 10px 12px;
    border-bottom: 1px solid rgba(31,31,31,0.07);
    font-size: 14px;
    color: rgba(31,31,31,0.78);
}
.single-product .woocommerce-product-details__short-description table tr:last-child td{
    border-bottom: none;
}
.single-product .woocommerce-product-details__short-description table td:first-child{
    font-weight: 900;
    color: rgba(31,31,31,0.85);
    width: 48%;
}

.single-product .woocommerce-product-details__short-description strong{
    display: inline-block;
    margin: 8px 0 8px;
    font-weight: 1000;
    color: var(--ms-graphite-900);
}

/* Buttons in short description (legacy .buttontovar) */
.single-product .woocommerce-product-details__short-description .buttontovar,
.single-product .woocommerce-product-details__short-description a .buttontovar{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(31,31,31,0.12);
    background: rgba(255,255,255,0.9);
    color: var(--ms-graphite-900);
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s;
}
.single-product .woocommerce-product-details__short-description .buttontovar:hover{
    background: var(--ms-accent-soft);
    border-color: rgba(184,138,59,0.28);
    transform: translateY(-1px);
}

/* New CTA buttons wrapper (injected via JS) */
.single-product .woocommerce-product-details__short-description .ms-prod-cta{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px 0 14px;
}
.single-product .woocommerce-product-details__short-description .ms-prod-cta a{
    text-decoration: none;
}
.single-product .woocommerce-product-details__short-description .ms-prod-cta .ms-prod-cta__btn{
    width: 100%;
    height: 46px;
    border-radius: 16px;
    border: 1px solid rgba(31,31,31,0.12);
    background: rgba(255,255,255,0.9);
    color: var(--ms-graphite-900);
    font-weight: 1000;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.single-product .woocommerce-product-details__short-description .ms-prod-cta .ms-prod-cta__btn--primary{
    background: var(--ms-accent);
    color: #fff;
    border-color: rgba(184,138,59,0.40);
    box-shadow: 0 18px 40px rgba(184, 138, 59, 0.22);
}
.single-product .woocommerce-product-details__short-description .ms-prod-cta .ms-prod-cta__btn:hover{
    transform: translateY(-1px);
}
.single-product .woocommerce-product-details__short-description .ms-prod-cta .ms-prod-cta__btn--primary:hover{
    background: var(--ms-accent-hover);
}

/* Icons row in short description */
.single-product .woocommerce-product-details__short-description p:has(img),
.single-product .woocommerce-product-details__short-description{
    overflow: visible;
}
.single-product .woocommerce-product-details__short-description img.wp-image-837,
.single-product .woocommerce-product-details__short-description img.wp-image-840,
.single-product .woocommerce-product-details__short-description img.wp-image-839,
.single-product .woocommerce-product-details__short-description a[href^="viber://"] img,
.single-product .woocommerce-product-details__short-description a[href^="https://t.me/"] img,
.single-product .woocommerce-product-details__short-description a[href*="instagram.com"] img{
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px;
    display: inline-block !important;
    box-shadow: 0 10px 22px rgba(0,0,0,0.10);
    border: 1px solid rgba(31,31,31,0.10);
}
.single-product .woocommerce-product-details__short-description a[href^="viber://"],
.single-product .woocommerce-product-details__short-description a[href^="https://t.me/"],
.single-product .woocommerce-product-details__short-description a[href*="instagram.com"]{
    display: inline-flex;
    margin-right: 10px;
    vertical-align: middle;
}

@media (max-width: 640px){
    .single-product .woocommerce-product-details__short-description .ms-prod-cta{
        grid-template-columns: 1fr;
    }
}
.ms-product__summaryCard form.cart{
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(31,31,31,0.08);
}
.ms-product__summaryCard button.single_add_to_cart_button{
    width: 100%;
    border-radius: 16px;
    padding: 14px 16px;
    background: var(--ms-accent);
    border: none;
    font-weight: 900;
}
.ms-product__summaryCard button.single_add_to_cart_button:hover{
    background: var(--ms-accent-hover);
}
.ms-product__cta{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}
.ms-product__ctaBtn{
    border: none;
    border-radius: 16px;
    padding: 14px 16px;
    background: var(--ms-accent);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}
.ms-product__ctaBtn:hover{ background: var(--ms-accent-hover); }
.ms-product__ctaCall{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(31,31,31,0.12);
    background: rgba(255,255,255,0.8);
    color: var(--ms-graphite-900);
    font-weight: 900;
}
.ms-product__ctaCall:hover{
    border-color: rgba(184,138,59,0.30);
    background: var(--ms-accent-soft);
}
.ms-product__tabs{
    margin-top: 26px;
}
.single-product .woocommerce-tabs{
    background: rgba(251,248,242,0.55);
    border: 1px solid rgba(31,31,31,0.08);
    border-radius: 22px;
    padding: 18px;
}
.single-product .woocommerce-tabs ul.tabs{
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border: none;
}
.single-product .woocommerce-tabs ul.tabs li{
    border: none;
    background: transparent;
    padding: 0;
}
.single-product .woocommerce-tabs ul.tabs li a{
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(31,31,31,0.10);
    font-weight: 900;
    color: var(--ms-graphite-900);
}
.single-product .woocommerce-tabs ul.tabs li.active a{
    background: #fff;
    color: var(--ms-graphite-900);
    border-color: rgba(184,138,59,0.55);
    box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}

.woocommerce ul.products li.product:hover{
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(0,0,0,0.10);
    border-color: rgba(184,138,59,0.35);
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.woocommerce ul.products li.product a img{
    margin: 0;
    border-radius: 0;
    /* Высокая область фото в карточке (вертикальнее) */
    aspect-ratio: 3 / 4;
    object-fit: cover;
    width: 100% !important;
    height: 210px !important;
}
@media (max-width: 1100px){
    .woocommerce ul.products li.product a img{ height: 190px !important; }
}
@media (max-width: 640px){
    .woocommerce ul.products li.product a img{ height: 160px !important; }
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
    padding: 14px 14px 6px;
    font-size: 14px;
    font-weight: 900;
    color: var(--ms-graphite-900);
    min-height: 44px;
    text-align: left;
}
.woocommerce ul.products li.product .price{
    padding: 0 14px 12px;
    font-weight: 900;
    color: var(--ms-accent);
    text-align: left;
    opacity: 1 !important;
}
.woocommerce ul.products li.product .button{
    margin: 0 14px 14px !important;
    width: calc(100% - 28px);
    text-align: center;
    border-radius: 14px !important;
    background: var(--ms-accent);
    color: #fff;
    border: none;
    padding: 12px 14px;
    font-weight: 900;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    line-height: 1.2 !important;
    min-height: 44px;
}
.woocommerce ul.products li.product .button:hover{
    background: var(--ms-accent-hover);
}

/* === Callback modal (Р С•Р В±РЎР‚Р В°РЎвЂљР Р…РЎвЂ№Р в„– Р В·Р Р†Р С•Р Р…Р С•Р С”) === */
.cm-box{
    background: #fff !important;
}
.cm-callback{
    text-align: left;
}
.cm-callback__brand{
    display: flex;
    justify-content: center;
    margin-top: -10px;
    margin-bottom: 10px;
}
.cm-callback__logo{
    width: 150px;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.12));
}
.cm-callback__title{
    margin: 10px 0 6px;
    font-size: 22px;
    font-weight: 900;
    color: var(--ms-graphite-900);
    text-align: center;
}
.cm-callback__subtitle{
    margin: 0 0 18px;
    color: rgba(31,31,31,0.65);
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
}
.cm-callback__form{
    display: grid;
    gap: 12px;
}
.cm-field{
    display: grid;
    gap: 6px;
}
.cm-field__label{
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: rgba(31,31,31,0.70);
}
.cm-field__input{
    width: 100%;
    padding: 14px 14px;
    border-radius: 14px;
    border: 1px solid var(--ms-border);
    background: var(--ms-sand-50);
    color: var(--ms-graphite-900);
    font-size: 16px;
    outline: none;
    transition: 0.2s;
}
.cm-field__input:focus{
    border-color: rgba(184,138,59,0.55);
    box-shadow: 0 0 0 4px rgba(184,138,59,0.16);
    background: #fff;
}
.cm-submit{
    margin-top: 6px;
    width: 100%;
    border: none;
    cursor: pointer;
    border-radius: 999px;
    padding: 15px 18px;
    font-weight: 900;
    letter-spacing: 0.2px;
    background: var(--ms-accent);
    color: #fff;
    transition: 0.2s;
    box-shadow: 0 18px 40px rgba(184, 138, 59, 0.24);
}
.cm-submit:hover{ background: var(--ms-accent-hover); transform: translateY(-1px); }
.cm-submit:disabled{ opacity: 0.7; cursor: not-allowed; transform: none; }
.cm-note{
    font-size: 12px;
    color: rgba(31,31,31,0.55);
    text-align: center;
    line-height: 1.45;
    margin-top: 2px;
}
.cm-success{
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--ms-accent-soft);
    border: 1px solid rgba(184,138,59,0.35);
    color: var(--ms-graphite-900);
    font-weight: 700;
    font-size: 13px;
    text-align: center;
}

/* =========================================================
   Home page blocks (migrated from home1.txt)
   ========================================================= */
/* --- HOME1 styles (moved from css/ms-home1.css) --- */
/* Hero Swiper (адаптирован под mirshtor.by, классы сохранены) */
.sandver-hero {
  --sandver-accent: #d4b07a;        /* тёплый акцент под шторы */
  --sandver-accent-deep: #8b6b3f;
  --sandver-accent-glow: rgba(212, 176, 122, 0.35);
  --sandver-hero-content-max: 1320px;
  width: 100%;
  height: 70vh;
  min-height: 620px;
  background: #0b0f14;
  position: relative;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow: hidden;
}
.sandver-hero .swiper { width: 100%; height: 100%; }
.sandver-hero .swiper-slide.hero-slide,
.sandver-hero .swiper .swiper-slide {
  position: relative;
  overflow: hidden;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  box-sizing: border-box;
  min-width: 0;
}
.sandver-hero .hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--sandver-hero-content-max);
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 36px;
  padding-left: clamp(12px, 2.5vw, 22px);
  padding-right: clamp(12px, 2.5vw, 22px);
  box-sizing: border-box;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center;
}
.sandver-hero .slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 8s ease-out;
  transform: scale(1.1);
}
.sandver-hero .swiper-slide-active .slide-bg { transform: scale(1); }
.sandver-hero .hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 15, 20, 0.94) 0%,
    rgba(11, 15, 20, 0.60) 42%,
    rgba(11, 15, 20, 0.22) 72%,
    rgba(11, 15, 20, 0.05) 100%
  );
  z-index: 2;
  pointer-events: none;
}
.sandver-hero .hero-container { position: relative; width: 100%; color: #fff; min-width: 0; }
.sandver-hero .hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(212, 176, 122, 0.12);
  border: 1px solid rgba(212, 176, 122, 0.55);
  padding: 8px 20px;
  border-radius: 100px;
  color: var(--sandver-accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateX(-24px);
  transition: 0.8s ease-out 0.3s;
}
.sandver-hero .hero-title {
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 18px;
  opacity: 0;
  transform: translateX(-28px);
  transition: 0.8s ease-out 0.5s;max-width: 900px;
}
.sandver-hero .hero-title span {
  color: var(--sandver-accent);
  text-shadow: 0 0 36px var(--sandver-accent-glow);
}
.sandver-hero .hero-description {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(226, 232, 240, 0.88);
  max-width: min(56rem, 100%);
  margin: 0 0 34px;
  line-height: 1.65;
  opacity: 0;
  transform: translateX(-20px);
  transition: 0.8s ease-out 0.7s;
}
.sandver-hero .swiper-slide-active .hero-badge,
.sandver-hero .swiper-slide-active .hero-title,
.sandver-hero .swiper-slide-active .hero-description,
.sandver-hero .swiper-slide-active .hero-actions {
  opacity: 1;
  transform: translateX(0);
}

/* Fallback: если Swiper не инициализировался, не прячем текст */
.sandver-hero .myHeroSwiper:not(.swiper-initialized) .hero-badge,
.sandver-hero .myHeroSwiper:not(.swiper-initialized) .hero-title,
.sandver-hero .myHeroSwiper:not(.swiper-initialized) .hero-description,
.sandver-hero .myHeroSwiper:not(.swiper-initialized) .hero-actions{
  opacity: 1 !important;
  transform: none !important;
}
.sandver-hero .myHeroSwiper:not(.swiper-initialized) .slide-bg{
  transform: scale(1) !important;
}
.sandver-hero .hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px 30px;
  opacity: 0;
  transition: 0.8s ease-out 0.9s;
}
.sandver-hero .btn-gold {
  padding: 18px 38px;
  background: linear-gradient(135deg, var(--sandver-accent) 0%, var(--sandver-accent-deep) 100%);
  color: #0b0f14;
  text-decoration: none;
  font-weight: 800;
  border-radius: 12px;
  font-size: 16px;
  transition: 0.3s;
  box-shadow: 0 10px 30px var(--sandver-accent-glow);
}
.sandver-hero .btn-gold:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(212, 176, 122, 0.45);
  filter: brightness(1.06);
  color: #0b0f14;
}
.sandver-hero .hero-contact { display: flex; flex-direction: column; text-align: left; }
.sandver-hero .hero-contact span:first-child { font-size: 13px; color: rgba(148,163,184,.95); margin-bottom: 4px; }
.sandver-hero .hero-contact a,
.sandver-hero .hero-contact .hero-contact-line {
  font-size: 19px;
  color: #f8fafc;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}
.sandver-hero .hero-contact a:hover { color: var(--sandver-accent); }
.sandver-hero .nav-wrapper {
  position: absolute;
  bottom: 44px;
  right: clamp(20px, 6vw, 72px);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 18px;
}
.sandver-hero .counter { color: #fff; font-size: 17px; font-weight: 300; letter-spacing: 2px; }
.sandver-hero .counter span { color: var(--sandver-accent); font-weight: 800; }
.sandver-hero .swiper-pagination-progressbar {
  top: auto !important;
  bottom: 0 !important;
  height: 4px !important;
  background: rgba(255, 255, 255, 0.14) !important;
}
.sandver-hero .swiper-pagination-progressbar-fill {
  background: linear-gradient(90deg, var(--sandver-accent-deep), var(--sandver-accent)) !important;
}
@media (max-width: 768px) {
  .sandver-hero { height: auto; min-height: min(85vh, 720px); }
  /* mobile: push hero content below fixed header */
  .sandver-hero .hero-inner { padding: 120px 20px 100px; justify-content: center; }
  .sandver-hero .hero-container { text-align: center; }
  .sandver-hero .hero-slide::after { background: rgba(11, 15, 20, 0.70); }
  .sandver-hero .hero-actions { flex-direction: column; justify-content: center; }
  .sandver-hero .hero-contact { text-align: center; align-items: center; }
  .sandver-hero .nav-wrapper { right: 50%; transform: translateX(50%); bottom: 36px; }
}

/* =========================================================
   Landing: standardnye-rolshtory
   ========================================================= */
.ms-landing{
    background: #fff;
}
.ms-landing-container{
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}
.ms-landing-hero{
    position: relative;
    padding: 96px 0 54px;
    overflow: hidden;
    background: #0b0f14;
    color: #fff;
}
.ms-landing-hero__bg{
    position: absolute;
    inset: 0;
    background-image: var(--ms-landing-hero-bg, url('https://mirshtor.by/wp-content/uploads/2026/05/rolshtory-soligorsk.jpg'));
    background-size: cover;
    background-position: center;
    opacity: 0.65;
    transform: scale(1.08);
}
.ms-landing-hero::after{
    content:'';
    position:absolute;
    inset:0;
    background: linear-gradient(90deg, rgba(11,15,20,0.92) 0%, rgba(11,15,20,0.55) 55%, rgba(11,15,20,0.15) 100%);
    pointer-events:none;
}
.ms-landing-hero__inner{
    position: relative;
    z-index: 2;
}
.ms-landing-hero__content{
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}
.ms-landing-hero__badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(212,176,122,0.55);
    background: rgba(212,176,122,0.12);
    color: #d4b07a;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}
.ms-landing-hero__title{
    margin: 0 0 14px;
    font-weight: 1000;
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    line-height: 1.1;
}
.ms-landing-hero__title span{ color: #d4b07a; }
.ms-landing-hero__desc{
    margin: 0 0 22px;
    max-width: 880px;
    color: rgba(226,232,240,0.88);
    font-size: 16px;
    line-height: 1.65;
}
.ms-landing-hero__actions{
    display:flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items:center;
}
.ms-landing-hero__btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 15px;
    line-height: 1.1;
    font-weight: 800;
    cursor:pointer;
    transition: 0.2s;
}
.ms-landing-hero__btn:hover{
    transform: translateY(-1px);
    background: rgba(255,255,255,0.18);
}
.ms-landing-hero__btn--primary{
    background: var(--ms-accent);
    border-color: rgba(184,138,59,0.40);
    box-shadow: 0 18px 40px rgba(184, 138, 59, 0.22);
}
.ms-landing-hero__btn--primary:hover{ background: var(--ms-accent-hover); }
.ms-landing-hero__btn:focus-visible{
    outline: none;
    box-shadow: 0 0 0 4px rgba(212, 176, 122, 0.20);
}
.ms-landing-hero__note{
    margin-top: 14px;
    font-size: 13px;
    color: rgba(226,232,240,0.72);
}
.ms-landing-block{
    padding: 44px 0;
}
.ms-landing-head{
    text-align:center;
    margin-bottom: 18px;
}
.ms-landing-h2{
    margin: 0 0 8px;
    font-weight: 1000;
    font-size: clamp(22px, 3vw, 34px);
    color: var(--ms-graphite-900);
}
.ms-landing-sub{
    margin: 0 auto;
    max-width: 860px;
    color: rgba(31,31,31,0.62);
}
.ms-landing-empty{
    text-align:center;
    padding: 20px;
    border-radius: 18px;
    background: rgba(251,248,242,0.7);
    border: 1px solid rgba(31,31,31,0.08);
}
.ms-landing-empty a{ color: var(--ms-accent); font-weight: 900; }

.ms-landing-products ul.products{
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 16px !important;
}
@media (max-width: 1200px){
    .ms-landing-products ul.products{ grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (max-width: 900px){
    .ms-landing-products ul.products{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px){
    .ms-landing-products ul.products{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* ===== home1 block ===== */

/* Общие настройки секции */
.ms-catalog-section {
    padding: 60px 0;
    font-family: 'Inter', 'Roboto', sans-serif;
}

.ms-catalog-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Сетка (Grid) */
.ms-grid {
    display: grid;
    /* Автоматическое заполнение: минимум 260px, максимум - сколько влезет */
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px; /* Расстояние между карточками */
}

/* Карточка товара */
.ms-card {
    border-radius: 16px;
    overflow: hidden; /* Чтобы картинка не вылезала за скругления */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%; /* Одинаковая высота карточек */
    position: relative;
    border: 1px solid rgba(0,0,0,0.02);
}

/* Эффект наведения на карточку */
.ms-card:hover {
    transform: translateY(-10px); /* Подпрыгивание */
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

/* Обертка картинки */
.ms-card-image-wrap {
    width: 100%;
    height: 240px; /* Фиксированная высота фото */
    overflow: hidden;
    position: relative;
}

.ms-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Картинка заполняет блок без искажений */
    transition: transform 0.6s ease;
}

/* Zoom картинки при наведении */
.ms-card:hover .ms-card-image-wrap img {
    transform: scale(1.1);
}

/* Стикер с ценой на фото */
.ms-price-tag {
    position: absolute;background: #ffffffcf;
    bottom: 10px;
    right: 10px;
    color: #42ad70; /* Ваш зеленый цвет */
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

/* Контент карточки */
.ms-card-content {
    padding: 25px;
    display: flex;background: linear-gradient(4deg, #ffffff, transparent);
    flex-direction: column;
    flex-grow: 1; /* Растягиваем контент */
    text-align: center;
}

.ms-card-content h3 {
    font-size: 20px;
    font-weight: 800;
    color: #333;
    margin: 0 0 10px 0;
}

.ms-card-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1; /* Текст занимает свободное место, толкая кнопку вниз */
}

/* Кнопка */
.ms-card-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 0;
    background: #f7f7f7;
    color: #333;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    text-transform: uppercase;
    font-size: 14px;
}

.ms-card-btn:hover {
    background: #ffca28; /* Желтый при наведении (как в шапке) */
    border-color: #ffca28;
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 202, 40, 0.3);
}

/* Works section (gallery) */
.ms-works{
    padding: 40px 0 10px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
.ms-works__title{
    margin: 0 0 18px;
    text-align: center;
    font-weight: 1000;
    letter-spacing: -0.6px;
    color: var(--ms-graphite-900);
    font-size: clamp(24px, 3.2vw, 40px);
}
.ms-works__cta{
    display: flex;
    justify-content: center;
    margin-top: 18px;
}
.ms-works__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--ms-accent);
    color: #fff !important;
    font-weight: 900;
    letter-spacing: 0.2px;
    box-shadow: 0 18px 40px rgba(184, 138, 59, 0.22);
    border: 1px solid rgba(184,138,59,0.40);
    transition: 0.2s;
}
.ms-works__btn:hover{
    background: var(--ms-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 22px 50px rgba(184, 138, 59, 0.28);
}

/* Анимация появления при скролле (опционально) */
@keyframes fadeInUpCard {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.ms-card {
    animation: fadeInUpCard 0.6s ease-out forwards;
    opacity: 0; /* Изначально скрыто для анимации */
}

/* Задержка анимации для каждой карточки для эффекта "лесенки" */
.ms-card:nth-child(1) { animation-delay: 0.1s; }
.ms-card:nth-child(2) { animation-delay: 0.2s; }
.ms-card:nth-child(3) { animation-delay: 0.3s; }
.ms-card:nth-child(4) { animation-delay: 0.4s; }
.ms-card:nth-child(5) { animation-delay: 0.1s; }
.ms-card:nth-child(6) { animation-delay: 0.2s; }
.ms-card:nth-child(7) { animation-delay: 0.3s; }
.ms-card:nth-child(8) { animation-delay: 0.4s; }

/* Адаптивность для мобильных */
@media (max-width: 600px) {
    .ms-grid {
        grid-template-columns: 1fr; /* Одна колонка */
        gap: 20px;
    }
    
    .ms-card-image-wrap {
        height: 200px;
    }
    
    .ms-card-content {
        padding: 20px;
    }
}

/* ===== home1 block ===== */

/* Montserrat font is enqueued in functions.php */

    .ms-measurer-section {
        --ms-sand: #D6C7B3;
        --ms-graphite: #2F2F2F;
        --ms-light: #F9F7F4;
        --ms-white: #FFFFFF;
        
        width: 100%;
        background: linear-gradient(90deg, var(--ms-light) 0%, #F0EDE8 100%);
        overflow: hidden;
        font-family: 'Montserrat', sans-serif;
        padding: 60px 0;
        position: relative;
    }

    .ms-measurer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Левая часть: Контент */
    .ms-measurer-content {
        flex: 1;
        max-width: 600px;
        z-index: 2;
        opacity: 0;
        transform: translateX(-50px);
        animation: msFadeInLeft 1s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .ms-measurer-badge {
        display: inline-block;
        background: var(--ms-sand);
        color: var(--ms-graphite);
        padding: 8px 20px;
        border-radius: 50px;
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }

    .ms-measurer-content h2 {
        font-size: clamp(30px, 5vw, 48px);
        font-weight: 800;
        color: var(--ms-graphite);
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .ms-measurer-content p {
        font-size: 18px;
        color: #555;
        margin-bottom: 35px;
        line-height: 1.6;
    }

    .ms-measurer-phones {
        margin-bottom: 35px;
    }

    .ms-measurer-phone-link {
        display: block;
        font-size: clamp(24px, 4vw, 36px);
        font-weight: 700;
        color: var(--ms-graphite);
        text-decoration: none;
        transition: color 0.3s ease;
        margin-bottom: 5px;
    }

    .ms-measurer-phone-link:hover {
        color: var(--ms-sand);
    }

    .ms-measurer-worktime {
        font-size: 14px;
        color: #888;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .ms-measurer-worktime::before {
        content: '';
        width: 8px;
        height: 8px;
        background: #4CAF50;
        border-radius: 50%;
    }

    /* Кнопка */
    .ms-measurer-btn {
        background: var(--ms-graphite);
        color: var(--ms-white);
        border: none;
        padding: 22px 45px;
        border-radius: 50px;
        font-size: 16px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

    .ms-measurer-btn:hover {
        background: var(--ms-sand);
        color: var(--ms-graphite);
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(214, 199, 179, 0.4);
    }

    /* Правая часть: Фото */
    .ms-measurer-image {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        position: relative;
        opacity: 0;
        transform: translateX(50px);
        animation: msFadeInRight 1s 0.3s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .ms-measurer-image img {
        max-width: 120%;
        height: auto;
        /* Анимация легкого покачивания */
        animation: msFloat 6s ease-in-out infinite;
        filter: drop-shadow(0 20px 50px rgba(0,0,0,0.1));
    }

    /* Декоративный элемент сзади */
    .ms-measurer-blob {
        position: absolute;
        width: 500px;
        height: 500px;
        background: var(--ms-sand);
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.15;
        top: -100px;
        right: -100px;
        z-index: 1;
    }

    /* Анимации */
    @keyframes msFadeInLeft {
        to { opacity: 1; transform: translateX(0); }
    }

    @keyframes msFadeInRight {
        to { opacity: 1; transform: translateX(0); }
    }

    @keyframes msFloat {
        0%, 100% { transform: translateY(0) rotate(0deg); }
        50% { transform: translateY(-20px) rotate(2deg); }
    }

    /* Адаптивность */
    @media (max-width: 992px) {
        .ms-measurer-container {
            flex-direction: column;
            text-align: center;
        }
        .ms-measurer-content {
            max-width: 100%;
            margin-bottom: 50px;
        }
        .ms-measurer-image {
            justify-content: center;
            width: 100%;
        }
        .ms-measurer-image img {
            max-width: 80%;
        }
        .ms-measurer-worktime {
            justify-content: center;
        }
    }

/* ===== home1 block ===== */

/* --- Секция "Почему мы" --- */
.ms-why-section {
    padding: 80px 0;
}

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

/* Заголовок секции */
.ms-why-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: #333;
    margin-bottom: 50px;
}

.ms-why-title span {
    color: #ffca28; /* Золотой акцент */
    position: relative;
    display: inline-block;
}

/* Сетка карточек */
.ms-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки */
    gap: 30px;
}

/* Карточка */
.ms-why-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Мягкая тень */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    height: 100%; /* Одинаковая высота */
    box-sizing: border-box;
}

/* Эффект при наведении */
.ms-why-card:hover {
    transform: translateY(-10px); /* Всплытие */
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-color: rgba(255, 202, 40, 0.3);
}

/* Круг для иконки */
.ms-icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fff9c4 0%, #fff 100%); /* Светло-желтый градиент */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 5px 15px rgba(255, 202, 40, 0.2);
    transition: transform 0.3s ease;
}

.ms-why-card:hover .ms-icon-circle {
    transform: scale(1.1) rotate(5deg); /* Иконка чуть увеличивается и поворачивается */
    background: #ffca28; /* Становится яркой */
}

/* Сами иконки (SVG) */
.ms-svg-icon {
    width: 40px;
    height: 40px;
    fill: #fbc02d; /* Темно-желтый цвет иконки */
    transition: fill 0.3s ease;
}

.ms-why-card:hover .ms-svg-icon {
    fill: #fff; /* При наведении иконка белеет */
}

/* Текст карточки */
.ms-why-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #222;
    margin-bottom: 15px;
}

.ms-why-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Адаптив */
@media (max-width: 900px) {
    .ms-why-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшете */
    }
}

@media (max-width: 600px) {
    .ms-why-grid {
        grid-template-columns: 1fr; /* 1 колонка на телефоне */
        gap: 20px;
    }
    .ms-why-title {
        font-size: 28px;
    }
    .ms-why-card {
        padding: 30px 20px;
    }
}

/* ===== home1 block ===== */

/* Montserrat font is enqueued in functions.php */

    .ms-seo-v2 {
        --sand: #D6C7B3;
        --graphite: #2F2F2F;
        --light: #F9F7F4;
        --white: #FFFFFF;
        font-family: 'Montserrat', sans-serif;
        color: var(--graphite);
        line-height: 1.7;
        background: var(--white);
    }

    .ms-seo-container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 60px 20px;
    }

    /* Анимации */
    /* Fallback: не прячем контент, если JS не сработал */
    .reveal { opacity: 1; transform: none; transition: all 0.8s ease; }
    .reveal.active { opacity: 1; transform: translateY(0); }

    /* Заголовки */
    .ms-seo-title { font-size: clamp(28px, 5vw, 42px); font-weight: 700; text-transform: uppercase; margin-bottom: 40px; text-align: center; }
    .ms-seo-h2 { font-size: 28px; font-weight: 700; margin-bottom: 25px; position: relative; }
    .ms-seo-h2::after { content: ''; display: block; width: 50px; height: 3px; background: var(--sand); margin-top: 10px; }

    /* Lead + steps (landing SEO text blocks) */
    .ms-seo-lead{
        margin: 14px 0 26px;
        font-size: 16px;
        line-height: 1.75;
        opacity: 0.92;
    }
    .ms-seo-steps{
        margin: 12px 0 0;
        padding-left: 18px;
        display: grid;
        gap: 8px;
    }
    .ms-seo-steps li{ line-height: 1.65; }

    /* Гибкий блок: Текст + Фото */
    .ms-side-block {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
        margin: 60px 0;
    }

    .ms-side-block.reverse { grid-template-columns: 1.1fr 0.9fr; direction: rtl; }
    .ms-side-block.reverse .ms-side-content { direction: ltr; }

    .ms-side-img {
        position: relative;
        border-radius: 30px;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    }

    .ms-side-img img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 1s ease;
    }

    .ms-side-img:hover img { transform: scale(1.05); }

    /* Преимущества */
    .ms-benefits-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        margin: 40px 0;
    }

    .ms-benefit-card {
        background: var(--light);
        padding: 30px;
        border-radius: 20px;
        transition: 0.3s;
        height: 100%;
    }

    .ms-benefit-card:hover { background: var(--sand); color: white; transform: translateY(-5px); }
    .ms-benefit-card h4 { font-weight: 700; margin-bottom: 10px; }

    /* Стили для типов рольштор */
    .ms-types-grid { display: grid; gap: 15px; margin-top: 20px; }
    .ms-type-tag { 
        padding: 15px 25px; 
        background: #fff; 
        border-radius: 50px; 
        border: 1px solid var(--sand); 
        display: flex; 
        justify-content: space-between;
        align-items: center;
        font-weight: 600;
    }

    /* Этапы работы */
    .ms-steps-v2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-top: 40px; }
    .ms-step-v2 { position: relative; }
    .ms-step-num { font-size: 48px; font-weight: 800; color: var(--sand); opacity: 0.4; margin-bottom: -20px; display: block; }
    .ms-step-v2 b { display: block; font-size: 18px; margin-bottom: 5px; }

    /* CTA */
    .ms-cta-v2 {
        background: var(--graphite);
        border-radius: 40px;
        padding: 60px;
        text-align: center;
        color: white;
        margin-top: 80px;
    }

    .ms-btn-v2 {
        background: var(--sand);
        color: var(--graphite);
        padding: 20px 45px;
        border-radius: 50px;
        font-weight: 700;
        text-transform: uppercase;
        border: none;
        cursor: pointer;
        margin-top: 30px;
        transition: 0.3s;
    }

    .ms-btn-v2:hover { background: white; transform: scale(1.05); }

    @media (max-width: 850px) {
        .ms-side-block, .ms-side-block.reverse { grid-template-columns: 1fr; }
        .ms-side-img { order: -1; margin-bottom: 30px; }
    }

/* ===== home1 block ===== */

/* --- Секция FAQ: Glass Style --- */
.ms-glass-faq {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    
    padding: 80px 0;
    font-family: 'Inter', 'Roboto', sans-serif;
    
    /* Фон с мягким градиентом, чтобы стекло "играло" */
    background-color: #f4f7f6;
    background-image: 
        radial-gradient(at 0% 0%, rgba(255, 202, 40, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(41, 121, 255, 0.05) 0px, transparent 50%);
}

.ms-container-faq {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовок */
.ms-glass-title {
    text-align: center;
    font-size: 38px;
    font-weight: 800;
    color: #333;
    margin-bottom: 50px;
    letter-spacing: -1px;
}

.ms-glass-title span {
    background: linear-gradient(135deg, #ffca28 0%, #ffb300 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

/* --- Стеклянный Аккордеон --- */
.ms-glass-item {
    margin-bottom: 20px;
    border-radius: 16px;
    
    /* Эффект матового стекла */
    background: rgba(255, 255, 255, 0.6); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ms-glass-item:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: #fff;
}

/* Активное состояние (открыто) */
.ms-glass-item[open] {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 40px rgba(255, 202, 40, 0.15); /* Золотистое свечение */
    border-color: rgba(255, 202, 40, 0.3);
}

/* Вопрос (Кликабельная зона) */
summary.ms-glass-summary {
    padding: 22px 30px;
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
    color: #444;
    position: relative;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

summary.ms-glass-summary::-webkit-details-marker {
    display: none;
}

.ms-glass-item[open] summary.ms-glass-summary {
    color: #000;
}

/* --- Анимированная кнопка-плюсик --- */
.ms-icon-plus {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Пружинистый эффект */
    position: relative;
    flex-shrink: 0;
    margin-left: 20px;
}

/* Линии плюса */
.ms-icon-plus::before,
.ms-icon-plus::after {
    content: '';
    position: absolute;
    background-color: #ffca28;
    border-radius: 2px;
    transition: all 0.3s;
}

.ms-icon-plus::before { width: 14px; height: 2px; } /* Горизонталь */
.ms-icon-plus::after { width: 2px; height: 14px; } /* Вертикаль */

/* Анимация при открытии */
.ms-glass-item[open] .ms-icon-plus {
    transform: rotate(135deg); /* Поворот */
    background: #ffecb3; /* Фон меняется */
    box-shadow: 0 0 0 4px rgba(255, 202, 40, 0.2);
}

.ms-glass-item[open] .ms-icon-plus::before,
.ms-glass-item[open] .ms-icon-plus::after {
    background-color: #e65100; /* Цвет крестика становится темнее */
}

/* Ответ */
.ms-glass-answer {
    padding: 0 30px 30px 30px;
    color: #555;
    line-height: 1.6;
    font-size: 16px;
    opacity: 0;
    animation: textFadeIn 0.5s forwards 0.1s; /* Плавное появление текста */
}

@keyframes textFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ссылка внутри */
.ms-link-glass {
    color: #e65100;
    text-decoration: none;
    border-bottom: 1px dashed #e65100;
    transition: all 0.2s;
}
.ms-link-glass:hover {
    background: rgba(255, 202, 40, 0.2);
}

/* Адаптив */
@media (max-width: 600px) {
    .ms-glass-title { font-size: 28px; }
    summary.ms-glass-summary { padding: 18px 20px; font-size: 16px; }
    .ms-glass-answer { padding: 0 20px 25px 20px; }
    .ms-icon-plus { width: 30px; height: 30px; }
    .ms-icon-plus::before { width: 12px; }
    .ms-icon-plus::after { height: 12px; }
}

/* ===== home1 block ===== */

/* --- Секция Отзывов (Исправленная) --- */
.ms-reviews-section {
    /* Магия для растягивания на всю ширину экрана */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    
    background-color: #f7f9fc; /* Приятный светло-серо-голубой оттенок */
    padding: 50px 0;
    box-sizing: border-box; /* Чтобы отступы не ломали ширину */
}

/* FIX: horizontal scrollbar on desktop (100vw sections + -50vw margins) */
html, body{
    overflow-x: hidden;
}

/* Center simple section headings inserted via editor */
.ms-center-title{
    text-align: center;
}
.ms-glass-faq,
.ms-reviews-section{
    overflow-x: clip;
}

.ms-container {
    max-width: 1300px;
    margin: 0 auto; /* Центрируем контент внутри полосы */
    padding: 0 20px;
}

.ms-section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 50px;
}

.ms-section-title span {
    color: #ffca28; /* Золотой акцент */
}

/* Сетка отзывов */
.ms-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки */
    gap: 30px;
    margin-bottom: 50px;
}

/* Карточка отзыва */
.ms-review-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); /* Очень легкая тень */
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.ms-review-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* Верх карточки */
.ms-review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.ms-avatar-circle {
    width: 50px;
    height: 50px;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0; /* Чтобы круг не сплющивался */
}

.ms-user-info h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: 700;
}

.ms-review-date {
    font-size: 13px;
    color: #999;
    margin-top: 2px;
    display: block;
}

/* Звезды */
.ms-stars {
    color: #ffca28;
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* Текст */
.ms-review-text {
    font-size: 14px !important;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    flex-grow: 1;
}

/* Кавычка */
.ms-quote-icon {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 60px;
    line-height: 1;
    color: #f2f2f2;
    font-family: serif;
    z-index: 0;
    pointer-events: none;
}

/* Кнопка */
.ms-reviews-btn-wrap {
    text-align: center;
}

.ms-btn-review {
    background: #fff;
    border: 2px solid #ffca28;
    color: #333;
    padding: 16px 45px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 0.5px;
}

.ms-btn-review:hover {
    background: #ffca28;
    color: #fff;
    box-shadow: 0 10px 25px rgba(255, 202, 40, 0.3);
    transform: translateY(-2px);
}

/* Адаптив */
@media (max-width: 900px) {
    .ms-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ms-reviews-grid {
        grid-template-columns: 1fr;
    }
    .ms-section-title {
        font-size: 28px;
    }
}
