/*
Theme Name: YadCommercy
Theme URI: https://avisvrn36.ru
Author: YadCommercy
Author URI: https://avisvrn36.ru
Description: Премиальная адаптивная тема для коммерческого сайта поставщика компьютерной техники, сетевого оборудования и программного обеспечения YadCommercy (на базе FastBlog). Стиль Dark Cyber UI с акцентами neon-green и оптимизацией конверсий.
Version: 3.0.0
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yadcommercy
Tags: e-commerce, commercial, computer-hardware, technology, dark-theme, responsive, landing-page, custom-header, custom-menu, featured-images
*/

/* ==========================================================================
   Reset & Base Variables (YadCommercy Dark Cyber Design System)
   ========================================================================== */
:root {
    /* YadCommercy Brand Palette */
    --yad-bg: #090d16;
    --yad-bg-alt: #0c1220;
    --yad-card-bg: #111726;
    --yad-card-hover: #151d30;
    --yad-border: rgba(255, 255, 255, 0.08);
    --yad-border-light: rgba(255, 255, 255, 0.15);
    --yad-border-glow: rgba(0, 210, 106, 0.35);
    --yad-primary: #00d26a;
    --yad-primary-hover: #00ea76;
    --yad-primary-glow: rgba(0, 210, 106, 0.25);
    --yad-primary-dark: #008744;
    --yad-on-primary: #06150d;
    --yad-text: #f8fafc;
    --yad-text-dim: #cbd5e1;
    --yad-text-muted: #94a3b8;
    --yad-container: 1240px;
    --yad-radius-sm: 8px;
    --yad-radius-md: 14px;
    --yad-radius-lg: 20px;
    --yad-radius-full: 9999px;
    --yad-transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);

    /* FastBlog compatibility variables */
    --fb-header-bg: #090d16;
    --fb-header-text: #ffffff;
    --fb-header-accent: #00d26a;
    --fb-header-border: rgba(255, 255, 255, 0.08);
    
    --fb-bg-color: #090d16;
    --fb-text-color: #f8fafc;
    --fb-text-muted: #94a3b8;
    --fb-border-color: rgba(255, 255, 255, 0.08);
    
    --fb-cta-bg: #00d26a;
    --fb-cta-text: #06150d;
    
    --fb-font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --fb-menu-font: 'Montserrat', sans-serif;
    --fb-container-width: 1240px;
    --fb-header-height: 80px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: var(--fb-font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--fb-text-color);
    background-color: var(--fb-bg-color);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease, color 0.2s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   1. Layout & Containers
   ========================================================================== */
.fb-container {
    width: 100%;
    max-width: var(--fb-container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.fb-site-main {
    flex: 1 0 auto;
    padding-bottom: 60px;
}

.home .fb-site-main {
    padding-bottom: 0;
}


/* ==========================================================================
   2. Header & Navigation (Fixed on PC, Mobile Drawer)
   ========================================================================== */
.fb-header {
    width: 100%;
    position: relative;
    z-index: 1000;
}

.fb-header__nav-wrapper {
    background-color: var(--fb-header-bg);
    color: var(--fb-header-text);
    position: sticky;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    transition: background-color 0.2s ease;
    z-index: 1010;
}

.fb-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--fb-header-height);
}

.fb-header__branding {
    display: flex;
    align-items: center;
}

.fb-header__branding .custom-logo-link img {
    max-height: 55px;
    width: auto;
    display: block;
}

.fb-header__site-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--fb-header-text);
}

/* Навигация на ПК */
.fb-header__nav {
    display: none;
}

@media (min-width: 992px) {
    .fb-header__nav {
        display: block;
    }
}

.fb-menu--desktop {
    display: flex;
    align-items: center;
    gap: 36px;
}

.fb-menu--desktop > li {
    position: relative;
}

.fb-menu--desktop > li > a {
    font-family: var(--fb-menu-font);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--fb-header-text);
    padding: 10px 0;
    position: relative;
    display: inline-block;
}

.fb-menu--desktop > li > a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--fb-header-accent);
    transition: width 0.25s ease;
}

.fb-menu--desktop > li > a:hover::after,
.fb-menu--desktop > li.current-menu-item > a::after,
.fb-menu--desktop > li.current_page_item > a::after {
    width: 100%;
}

.fb-menu--desktop > li.current-menu-item > a,
.fb-menu--desktop > li.current_page_item > a {
    color: var(--fb-header-accent);
}

/* Кнопка гамбургера для мобильных */
.fb-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--fb-header-text);
    background: transparent;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.fb-menu-toggle__icon {
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 992px) {
    .fb-menu-toggle {
        display: none;
    }
}

.fb-menu-toggle__icon--close {
    display: none;
}

.fb-menu-toggle.is-active .fb-menu-toggle__icon--open {
    display: none;
}

.fb-menu-toggle.is-active .fb-menu-toggle__icon--close {
    display: block;
}

/* Мобильная панель меню */
.fb-mobile-drawer {
    display: none;
    background-color: var(--fb-header-bg);
    border-top: 1px solid var(--fb-header-border);
    padding: 20px 0 30px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
    z-index: 1005;
    max-height: calc(100vh - var(--fb-header-height));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.fb-mobile-drawer.is-open {
    display: block !important;
    animation: fbFadeDown 0.25s ease-out;
}

@keyframes fbFadeDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fb-menu--mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Пункты меню на мобильном: горизонтальные, белый жирный шрифт на темном фоне */
.fb-menu--mobile > li > a {
    display: block;
    font-family: var(--fb-menu-font);
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.fb-menu--mobile > li > a:hover,
.fb-menu--mobile > li > a:active,
.fb-menu--mobile > li.current-menu-item > a {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
    color: var(--fb-header-accent);
}

/* Опциональный фоновый баннер шапки (соотношение 10:3, адаптивное отображение без обрезки) */
.fb-header__banner {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background-color: var(--fb-header-bg);
}

.fb-header__banner-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

/* ==========================================================================
   3. Страница блога (Blog Page) & Заголовки
   ========================================================================== */
.fb-blog-page {
    padding-top: 40px;
}

.fb-page-header {
    margin-bottom: 36px;
}

.fb-page-title {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--fb-text-color);
}

.fb-page-description {
    font-size: 1rem;
    color: var(--fb-text-muted);
    margin-top: 8px;
}

/* ==========================================================================
   4. Сетка статей (Blog Grid) & Карточка (Card)
   ========================================================================== */
.fb-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}

@media (min-width: 768px) {
    .fb-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (min-width: 992px) {
    .fb-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 30px;
    }
}

/* Карточка статьи */
.fb-card {
    display: flex;
    flex-direction: column;
}

.fb-card__image-link {
    display: block;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 2px;
}

/* Соотношение сторон фото карточки */
.fb-card__image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: #f1f1f1;
    overflow: hidden;
}

/* Пропорции миниатюр: 1:1, 4:5, 9:16, 16:9, 5:4 */
.fb-ratio--1-1 .fb-card__image-wrapper,
.fb-card--ratio-1-1 .fb-card__image-wrapper {
    aspect-ratio: 1 / 1 !important;
}

.fb-ratio--4-5 .fb-card__image-wrapper,
.fb-card--ratio-4-5 .fb-card__image-wrapper {
    aspect-ratio: 4 / 5 !important;
}

.fb-ratio--9-16 .fb-card__image-wrapper,
.fb-card--ratio-9-16 .fb-card__image-wrapper {
    aspect-ratio: 9 / 16 !important;
}

.fb-ratio--16-9 .fb-card__image-wrapper,
.fb-card--ratio-16-9 .fb-card__image-wrapper {
    aspect-ratio: 16 / 9 !important;
}

.fb-ratio--5-4 .fb-card__image-wrapper,
.fb-card--ratio-5-4 .fb-card__image-wrapper {
    aspect-ratio: 5 / 4 !important;
}

.fb-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fb-card__image-link:hover .fb-card__img {
    transform: scale(1.04);
}

.fb-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e5e5e5;
    color: #888888;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.fb-card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fb-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: var(--fb-text-color);
}

.fb-card__title a {
    color: inherit;
}

.fb-card__title a:hover {
    opacity: 0.75;
}

.fb-card__date {
    font-size: 0.82rem;
    color: var(--fb-text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   5. Индикатор бесконечной подгрузки (Infinite Sentinel)
   ========================================================================== */
.fb-infinite-sentinel {
    min-height: 60px;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fb-spinner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fb-spinner__dot {
    width: 10px;
    height: 10px;
    background-color: var(--fb-text-color);
    border-radius: 50%;
    animation: fbBounce 0.6s infinite alternate;
}

.fb-spinner__dot:nth-child(2) {
    animation-delay: 0.2s;
}

.fb-spinner__dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fbBounce {
    to {
        opacity: 0.2;
        transform: translateY(-6px);
    }
}

.fb-infinite-message {
    font-size: 0.9rem;
    color: var(--fb-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   6. Страница отдельной статьи (Single Post)
   ========================================================================== */
.fb-single-container {
    max-width: 940px;
    padding-top: 36px;
}

.fb-single-post {
    display: flex;
    flex-direction: column;
}

/* Кнопки соцсетей НАД заголовком статьи:
   на ПК 4 в ряд, на мобильном 2х2 */
.fb-post-social-bar {
    margin-bottom: 24px;
}

.fb-post-social-bar__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (min-width: 768px) {
    .fb-post-social-bar__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}

.fb-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 14px;
    background-color: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    color: var(--fb-text-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fb-social-btn:hover {
    background-color: #111111;
    color: #ffffff;
    border-color: #111111;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.fb-social-btn__icon {
    display: flex;
    align-items: center;
}

.fb-social-btn__icon svg {
    width: 18px;
    height: 18px;
}

.fb-social-btn__text {
    letter-spacing: 0.5px;
}

/* Заголовок статьи */
.fb-single-post__header {
    margin-bottom: 24px;
}

.fb-single-post__title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--fb-text-color);
}

@media (min-width: 768px) {
    .fb-single-post__title {
        font-size: 2.5rem;
    }
}

/* Фото статьи */
.fb-single-post__featured-media {
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
}

.fb-single-post__img {
    width: 100%;
    height: auto;
    display: block;
}

/* Мета-информация (Автор, дата) */
.fb-single-post__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--fb-text-muted);
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--fb-border-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fb-single-post__meta-divider {
    color: #cccccc;
}

.fb-single-post__category a {
    color: var(--fb-text-color);
    font-weight: 600;
}

/* Контент статьи (Типографика) */
.fb-prose {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2b2b2b;
}

.fb-prose p {
    margin-bottom: 1.5em;
}

.fb-prose h2 {
    font-size: 1.65rem;
    font-weight: 800;
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    line-height: 1.3;
}

.fb-prose h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.6em;
}

.fb-prose ul, .fb-prose ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.fb-prose ul {
    list-style: disc;
}

.fb-prose ol {
    list-style: decimal;
}

.fb-prose li {
    margin-bottom: 0.5em;
}

.fb-prose blockquote {
    border-left: 4px solid var(--fb-text-color);
    padding: 12px 24px;
    margin: 2em 0;
    background-color: #fafafa;
    font-style: italic;
}

.fb-prose img {
    margin: 2em 0;
    border-radius: 4px;
}

/* Теги статьи */
.fb-single-post__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 30px 0;
}

.fb-tag-pill {
    padding: 6px 14px;
    background-color: #f1f1f1;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #555555;
    transition: all 0.2s ease;
}

.fb-tag-pill:hover {
    background-color: #111111;
    color: #ffffff;
}

/* Кнопка возврата ко всем статьям */
.fb-single-post__back {
    margin: 36px 0 50px;
    padding-top: 24px;
    border-top: 1px solid var(--fb-border-color);
}

.fb-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background-color: transparent;
    border: 1px solid var(--fb-border-color);
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--fb-text-color);
    transition: all 0.2s ease;
}

.fb-back-btn:hover {
    background-color: #111111;
    color: #ffffff;
    border-color: #111111;
    transform: translateX(-4px);
}

.fb-back-btn__icon {
    display: flex;
    align-items: center;
}

/* Блок похожих статей в конце */
.fb-related-posts {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--fb-border-color);
}

.fb-related-posts__heading {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.fb-related-posts__grid {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .fb-related-posts__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   7. Подвал (Footer)
   ========================================================================== */
.fb-footer {
    background-color: var(--fb-footer-bg, #ffffff);
    border-top: 1px solid var(--fb-border-color);
    padding: 60px 0 40px;
    margin-top: auto;
}

.fb-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* 1. Верхняя CTA-кнопка */
.fb-footer__cta-wrap {
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

.fb-footer__cta-btn {
    display: inline-block;
    background-color: var(--fb-cta-bg);
    color: var(--fb-cta-text);
    padding: 16px 40px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.fb-footer__cta-btn:hover {
    transform: translateY(-2px);
    opacity: 0.92;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

/* 2. Средняя строка: Соцсети и Карта */
.fb-footer__row {
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.fb-footer__col-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111111;
    margin: 0 0 16px 0;
}

/* Колонка соцсетей (слева на ПК, сверху на моб) */
.fb-footer__col--socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fb-footer__social-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.fb-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.92rem;
    font-weight: 600;
}

/* Иконки без текста (круглые кнопки) */
.fb-footer__social-link--icon-only {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #222222;
}

.fb-footer__social-link--icon-only:hover {
    background-color: #111111;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Ссылки с подписью/текстом (бейджи) */
.fb-footer__social-link--with-text {
    padding: 10px 18px;
    border-radius: 30px;
    background-color: #f5f5f5;
    color: #222222;
    gap: 10px;
}

.fb-footer__social-link--with-text:hover {
    background-color: #111111;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fb-footer__social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.fb-footer__social-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.fb-footer__social-text {
    line-height: 1;
}

/* Колонка карты (справа на ПК, снизу на моб) */
.fb-footer__col--map {
    width: 100%;
}

.fb-footer__map-frame {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    background-color: #f0f0f0;
    line-height: 0;
}

.fb-footer__map-frame iframe {
    width: 100% !important;
    height: 260px !important;
    min-height: 240px;
    border: 0;
    display: block;
}

/* Адаптивная сетка на ПК (от 860px) */
@media (min-width: 860px) {
    .fb-footer__row--two-cols {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
    }

    .fb-footer__row--two-cols .fb-footer__col--socials {
        align-items: flex-start;
        text-align: left;
    }

    .fb-footer__row--two-cols .fb-footer__social-list {
        justify-content: flex-start;
    }

    .fb-footer__row--single {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 3. Копирайт */
.fb-footer__copyright {
    font-size: 0.85rem;
    color: var(--fb-footer-copyright-color, var(--fb-text-muted));
    text-align: center;
    width: 100%;
    padding-top: 10px;
}

.fb-footer__copyright p {
    color: inherit;
}

/* 404 Page */
.fb-404-container {
    padding: 80px 20px;
    text-align: center;
}

.fb-404-title {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    color: #111111;
    margin-bottom: 16px;
}

.fb-404-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.fb-404-text {
    color: var(--fb-text-muted);
    margin-bottom: 30px;
}

.fb-btn--primary {
    display: inline-block;
    background-color: #111111;
    color: #ffffff;
    padding: 12px 28px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}


/* ==========================================================================
   Справочник / Карточка организации (Spravochnik CPT)
   ========================================================================== */

.fb-spravochnik-single {
    max-width: 960px;
    margin: 40px auto 80px;
    padding: 0 20px;
}

.fb-org-card {
    background: #ffffff;
    border: 1px solid var(--fb-border-color, #e5e5e5);
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.fb-org-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.fb-org-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--fb-text-muted, #737373);
    text-decoration: none;
    transition: color 0.2s;
}

.fb-org-back-link:hover {
    color: var(--fb-text-color, #111111);
}

.fb-org-cat-badge {
    background: #f3f4f6;
    color: #374151;
    padding: 4px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.fb-org-cat-badge:hover {
    background: #e5e7eb;
}

.fb-org-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--fb-border-color, #e5e5e5);
}

.fb-org-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 12px;
    color: var(--fb-text-color, #111111);
}

.fb-org-leader-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    font-size: 15px;
    color: var(--fb-text-muted, #555555);
}

.fb-org-leader-item,
.fb-org-leader-phone {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.fb-org-leader__label {
    font-weight: 700;
    color: var(--fb-text-color, #111111);
}

.fb-org-leader__name {
    font-weight: 600;
    color: #1e293b;
}

.fb-org-thumbnail {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
}

.fb-org-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Сетка реквизитов */
.fb-org-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.fb-org-detail-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.fb-org-detail-icon {
    flex-shrink: 0;
    color: #2563eb;
    margin-top: 2px;
}

.fb-org-detail-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: var(--fb-text-muted, #737373);
    margin-bottom: 4px;
}

.fb-org-phones-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fb-org-phone-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.fb-org-phone-link, .fb-org-link {
    font-size: 15px;
    font-weight: 600;
    color: #1d4ed8;
    text-decoration: none;
}

.fb-org-phone-link:hover, .fb-org-link:hover {
    text-decoration: underline;
}

.fb-org-phone-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    background: #e2e8f0;
    color: #334155;
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 1.4;
}

/* Соцсети */
.fb-org-socials-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 36px;
}

.fb-org-socials-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--fb-text-color, #111111);
}

.fb-org-socials-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fb-org-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.15s, opacity 0.15s;
}

.fb-org-social-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.fb-org-social--vk { background: #0077ff; }
.fb-org-social--ok { background: #ee8208; }
.fb-org-social--max { background: #0ea5e9; }

/* Секция описания и карты */
.fb-org-section-heading {
    font-size: 20px;
    font-weight: 700;
    margin: 36px 0 16px;
    color: var(--fb-text-color, #111111);
    position: relative;
}

.fb-org-map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--fb-border-color, #e5e5e5);
    background: #f9fafb;
    min-height: 380px;
}

.fb-yamap-iframe-wrapper iframe {
    display: block;
    width: 100%;
}

.fb-org-no-map {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: #6b7280;
    font-size: 14px;
    margin: 0;
    padding: 30px 20px;
}

@media (max-width: 768px) {
    .fb-org-card {
        padding: 24px 20px;
    }
    .fb-org-header {
        flex-direction: column-reverse;
    }
    .fb-org-title {
        font-size: 22px;
    }
    .fb-org-details-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   YADCOMMERCY - DARK CYBER COMMERCIAL DESIGN SYSTEM (Crypgo Style)
   ========================================================================== */

/* Global body styling for YadCommercy */
body {
    background-color: var(--yad-bg, #090d16);
    color: var(--yad-text, #f8fafc);
    font-family: var(--fb-font-family);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--yad-transition);
}

/* -------------------------------------------------------------
   1. TOP UTILITY BAR & HEADER
   ------------------------------------------------------------- */
.yad-topbar {
    background-color: #06090f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8125rem;
    color: var(--yad-text-muted, #94a3b8);
    padding: 7px 0;
    line-height: 1.4;
}

.yad-topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.yad-topbar__address {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.yad-topbar__contacts {
    display: inline-flex;
    align-items: center;
    gap: 20px;
}

.yad-topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--yad-text-dim, #cbd5e1);
}

.yad-topbar__item:hover {
    color: var(--yad-primary, #00d26a);
}

.yad-topbar__item--phone strong {
    color: #ffffff;
    font-weight: 700;
}

.yad-topbar__icon {
    width: 14px;
    height: 14px;
    color: var(--yad-primary, #00d26a);
    flex-shrink: 0;
}

/* Main Navbar */
.yad-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(9, 13, 22, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.yad-navbar {
    width: 100%;
}

.yad-navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.yad-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.yad-branding__link {
    display: inline-flex;
    align-items: center;
}

.yad-branding__logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}

.yad-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 28px;
}

.yad-menu li a {
    color: var(--yad-text-dim, #cbd5e1);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 8px 4px;
    position: relative;
    transition: var(--yad-transition);
}

.yad-menu li a:hover,
.yad-menu li.current-menu-item > a,
.yad-menu li a.is-active {
    color: #ffffff;
}

.yad-menu li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--yad-primary, #00d26a);
    border-radius: 2px;
    transition: var(--yad-transition);
}

.yad-menu li a:hover::after,
.yad-menu li.current-menu-item > a::after {
    width: 100%;
}

.yad-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Pill Buttons */
.yad-btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--yad-radius-full, 9999px);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: var(--yad-transition);
    white-space: nowrap;
}

.yad-btn-pill--primary {
    background-color: var(--yad-primary, #00d26a);
    color: var(--yad-on-primary, #06150d);
    box-shadow: 0 4px 20px -4px var(--yad-primary-glow, rgba(0, 210, 106, 0.4));
}

.yad-btn-pill--primary:hover {
    background-color: var(--yad-primary-hover, #00ea76);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px -2px var(--yad-primary-glow, rgba(0, 210, 106, 0.5));
}

.yad-btn-pill--outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.yad-btn-pill--outline:hover {
    border-color: var(--yad-primary, #00d26a);
    color: var(--yad-primary, #00d26a);
    background: rgba(0, 210, 106, 0.06);
    transform: translateY(-2px);
}

.yad-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
}

/* Mobile drawer adjustments */
.yad-mobile-drawer {
    background-color: #0c1220;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.yad-mobile-menu {
    list-style: none;
    padding: 20px 0 10px;
}

.yad-mobile-menu li a {
    display: block;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.yad-mobile-drawer__contacts {
    padding: 15px 0 25px;
}

.yad-mobile-drawer__btn {
    width: 100%;
}

/* -------------------------------------------------------------
   2. HERO ZONE (Crypgo Dark Landing Style)
   ------------------------------------------------------------- */
.yad-hero {
    position: relative;
    padding: 80px 0 60px;
    background-color: var(--yad-bg, #090d16);
    overflow: hidden;
}

.yad-hero__ambient {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    opacity: 0.14;
    z-index: 1;
}

.yad-hero__ambient--left {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, #00d26a 0%, rgba(0, 210, 106, 0) 70%);
}

.yad-hero__ambient--right {
    bottom: -150px;
    right: -150px;
    background: radial-gradient(circle, #38bdf8 0%, rgba(56, 189, 248, 0) 70%);
}

.yad-hero__container {
    position: relative;
    z-index: 2;
}

.yad-hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.yad-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--yad-radius-full, 9999px);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--yad-text-dim, #cbd5e1);
}

.yad-pill--green {
    border-color: rgba(0, 210, 106, 0.3);
    background: rgba(0, 210, 106, 0.08);
    color: #00d26a;
}

.yad-pill__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--yad-primary, #00d26a);
    box-shadow: 0 0 10px var(--yad-primary, #00d26a);
    animation: yadPulse 2s infinite ease-in-out;
}

@keyframes yadPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.yad-hero__badge-wrap {
    margin-bottom: 20px;
}

.yad-hero__title {
    font-family: var(--fb-menu-font);
    font-size: 3.125rem;
    font-weight: 900;
    line-height: 1.14;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 24px;
}

.yad-text-accent {
    color: var(--yad-primary, #00d26a);
    text-shadow: 0 0 25px rgba(0, 210, 106, 0.35);
}

.yad-hero__desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--yad-text-muted, #94a3b8);
    max-width: 580px;
    margin-bottom: 34px;
}

.yad-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.yad-hero__btn {
    padding: 14px 28px;
    font-size: 1rem;
}

/* 3D Glass Tech Card (Crypgo Style on right) */
.yad-tech-card {
    position: relative;
    background: linear-gradient(135deg, rgba(21, 29, 48, 0.8) 0%, rgba(13, 18, 31, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--yad-radius-lg, 20px);
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--yad-transition);
}

.yad-tech-card:hover {
    border-color: rgba(0, 210, 106, 0.35);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 35px rgba(0, 210, 106, 0.15);
    transform: translateY(-4px);
}

.yad-tech-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 22px;
}

.yad-tech-card__indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yad-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--yad-primary, #00d26a);
    box-shadow: 0 0 10px #00d26a;
}

.yad-indicator-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--yad-text-dim, #cbd5e1);
}

.yad-tech-badge {
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(0, 210, 106, 0.12);
    color: var(--yad-primary, #00d26a);
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.yad-tech-card__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.yad-tech-card__subtitle {
    font-size: 0.875rem;
    color: var(--yad-text-muted, #94a3b8);
    margin-bottom: 22px;
    line-height: 1.5;
}

.yad-tech-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.yad-tech-card__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--yad-transition);
}

.yad-tech-card__item:hover {
    background: rgba(0, 210, 106, 0.04);
    border-color: rgba(0, 210, 106, 0.2);
}

.yad-tech-card__icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 210, 106, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--yad-primary, #00d26a);
}

.yad-tech-card__icon-box svg {
    width: 18px;
    height: 18px;
}

.yad-tech-card__item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.yad-tech-card__item-text strong {
    font-size: 0.9375rem;
    color: #ffffff;
    font-weight: 700;
}

.yad-tech-card__item-text span {
    font-size: 0.8125rem;
    color: var(--yad-text-muted, #94a3b8);
}

/* Stats Row (Screenshot 2 style) */
.yad-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.yad-stat-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--yad-radius-md, 14px);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: var(--yad-transition);
}

.yad-stat-item:hover {
    border-color: rgba(0, 210, 106, 0.3);
    background: rgba(0, 210, 106, 0.03);
    transform: translateY(-2px);
}

.yad-stat-item__num {
    font-family: var(--fb-menu-font);
    font-size: 2.25rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.yad-stat-item__lbl {
    font-size: 0.875rem;
    color: var(--yad-text-muted, #94a3b8);
    font-weight: 500;
}

/* -------------------------------------------------------------
   3. SECTION SHARED STYLING
   ------------------------------------------------------------- */
.yad-section {
    padding: 90px 0;
    position: relative;
}

.yad-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 54px;
}

.yad-section-title {
    font-family: var(--fb-menu-font);
    font-size: 2.375rem;
    font-weight: 900;
    color: #ffffff;
    margin-top: 14px;
    margin-bottom: 14px;
    line-height: 1.2;
}

.yad-section-desc {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--yad-text-muted, #94a3b8);
    margin: 0;
}

/* -------------------------------------------------------------
   4. SERVICES SECTION ("Карточки услуг" - 3 колонки)
   ------------------------------------------------------------- */
.yad-services {
    background-color: #0b0f1a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.yad-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.yad-service-card {
    background: var(--yad-card-bg, #111726);
    border: 1px solid var(--yad-border, rgba(255, 255, 255, 0.08));
    border-radius: var(--yad-radius-lg, 20px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--yad-transition);
}

.yad-service-card:hover {
    border-color: var(--yad-border-glow, rgba(0, 210, 106, 0.35));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 210, 106, 0.12);
    transform: translateY(-6px);
}

.yad-service-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #090d16;
    overflow: hidden;
}

.yad-service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.yad-service-card:hover .yad-service-card__img {
    transform: scale(1.04);
}

.yad-service-card__body {
    padding: 28px 24px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.yad-service-card__title {
    font-size: 1.1875rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 12px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.yad-service-card__title a {
    color: #ffffff;
}

.yad-service-card__title a:hover {
    color: var(--yad-primary, #00d26a);
}

.yad-service-card__desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--yad-text-muted, #94a3b8);
    margin-bottom: 24px;
    flex-grow: 1;
}

.yad-service-card__footer {
    margin-top: auto;
}

.yad-btn-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background-color: #172033;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--yad-radius-sm, 8px);
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--yad-transition);
}

.yad-btn-card:hover {
    background-color: var(--yad-primary, #00d26a);
    color: var(--yad-on-primary, #06150d);
    border-color: var(--yad-primary, #00d26a);
    box-shadow: 0 4px 18px rgba(0, 210, 106, 0.35);
}

/* -------------------------------------------------------------
   5. SOFTWARE SECTION ("Программное обеспечение" - 4 колонки)
   ------------------------------------------------------------- */
.yad-software {
    background-color: var(--yad-bg, #090d16);
}

.yad-software-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.yad-soft-card {
    background: var(--yad-card-bg, #111726);
    border: 1px solid var(--yad-border, rgba(255, 255, 255, 0.08));
    border-radius: var(--yad-radius-lg, 20px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--yad-transition);
}

.yad-soft-card:hover {
    border-color: var(--yad-border-glow, rgba(0, 210, 106, 0.35));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35), 0 0 25px rgba(0, 210, 106, 0.1);
    transform: translateY(-5px);
}

.yad-soft-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #0d121f;
    overflow: hidden;
}

.yad-soft-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.yad-soft-card:hover .yad-soft-card__img {
    transform: scale(1.05);
}

.yad-soft-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(9, 13, 22, 0.85);
    border: 1px solid rgba(0, 210, 106, 0.3);
    color: var(--yad-primary, #00d26a);
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.4px;
    backdrop-filter: blur(8px);
}

.yad-soft-card__body {
    padding: 22px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.yad-soft-card__title {
    font-size: 1.0625rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ffffff;
    line-height: 1.3;
}

.yad-soft-card__title a {
    color: #ffffff;
}

.yad-soft-card__title a:hover {
    color: var(--yad-primary, #00d26a);
}

.yad-soft-card__desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--yad-text-muted, #94a3b8);
    margin-bottom: 20px;
    flex-grow: 1;
}

.yad-soft-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--yad-primary, #00d26a);
    font-size: 0.875rem;
    font-weight: 700;
    margin-top: auto;
    transition: var(--yad-transition);
}

.yad-soft-card__link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* -------------------------------------------------------------
   6. FOOTER & CONTACTS SECTION (Скриншот 5 лендинга)
   ------------------------------------------------------------- */
.yad-footer {
    background-color: #06090f;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.yad-contacts-section {
    padding: 80px 0 60px;
}

.yad-contacts-banner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    background: linear-gradient(135deg, rgba(17, 23, 38, 0.9) 0%, rgba(11, 15, 26, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--yad-radius-lg, 20px);
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.yad-contacts-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d26a 0%, #38bdf8 100%);
}

.yad-contacts-banner__title {
    font-family: var(--fb-menu-font);
    font-size: 2.125rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    margin: 18px 0 16px;
    text-transform: uppercase;
}

.yad-contacts-banner__desc {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--yad-text-dim, #cbd5e1);
    margin-bottom: 26px;
}

.yad-contacts-banner__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yad-contacts-banner__features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--yad-text-dim, #cbd5e1);
    font-size: 0.9375rem;
}

.yad-contacts-banner__features li svg {
    width: 18px;
    height: 18px;
    color: var(--yad-primary, #00d26a);
    flex-shrink: 0;
}

.yad-contacts-banner__features li strong {
    color: #ffffff;
}

/* Contact Cards Grid */
.yad-contacts-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.yad-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--yad-radius-md, 14px);
    padding: 16px 20px;
    transition: var(--yad-transition);
}

.yad-contact-card:hover {
    border-color: rgba(0, 210, 106, 0.4);
    background: rgba(0, 210, 106, 0.04);
    transform: translateX(4px);
}

.yad-contact-card--phone {
    background: rgba(0, 210, 106, 0.08);
    border-color: rgba(0, 210, 106, 0.3);
}

.yad-contact-card__icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 210, 106, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yad-primary, #00d26a);
    flex-shrink: 0;
}

.yad-contact-card__icon-wrap svg {
    width: 22px;
    height: 22px;
}

.yad-contact-card__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.yad-contact-card__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--yad-text-muted, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.yad-contact-card__value {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.yad-contact-card__value--highlight {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--yad-primary, #00d26a);
}

/* Footer Bottom Bar */
.yad-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 26px 0;
}

.yad-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.yad-footer__branding {
    display: flex;
    align-items: center;
    gap: 16px;
}

.yad-footer__logo-text {
    font-family: var(--fb-menu-font);
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
}

.yad-footer__desc {
    font-size: 0.8125rem;
    color: var(--yad-text-muted, #94a3b8);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 16px;
}

.yad-footer__copy p {
    font-size: 0.8125rem;
    color: var(--yad-text-muted, #94a3b8);
    margin: 0;
}

/* -------------------------------------------------------------
   7. RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
    .yad-hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .yad-hero__title {
        font-size: 2.5rem;
    }
    .yad-hero__stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .yad-services-grid {
        grid-template-columns: 1fr;
    }
    .yad-software-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .yad-contacts-banner {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    .yad-topbar {
        display: none;
    }
    .yad-nav, .yad-header__actions {
        display: none;
    }
    .yad-menu-toggle {
        display: block;
    }
    .yad-hero {
        padding: 40px 0;
    }
    .yad-hero__title {
        font-size: 2rem;
    }
    .yad-hero__stats {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 36px;
        padding-top: 24px;
    }
    .yad-section {
        padding: 50px 0;
    }
    .yad-section-title {
        font-size: 1.75rem;
    }
    .yad-software-grid {
        grid-template-columns: 1fr;
    }
    .yad-footer__desc {
        display: none;
    }
    .yad-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
