/**
 * Heavy Truck Child Theme — стили внутренних шаблонов.
 *
 * Подключается на: О компании, Контакты, FAQ, блог-архив, single post.
 * НЕ подключается на: главной (heavy-main.css), 404 (heavy-404.css), WooCommerce (heavy-woo.css).
 *
 * Все правила скоуплены под .heavy-page. Кнопки/типографика наследуются от .heavy-home
 * (wrapper main имеет оба класса — см. шаблоны).
 */

/* =========================================================================
   БАЗА — общая для всех шаблонов
   ========================================================================= */
.heavy-page {
    overflow-x: hidden;
    max-width: 100%;
    background: var(--heavy-white);
    color: var(--heavy-black);
    padding-top: 0;
}
.heavy-page section { max-width: 100%; overflow-x: clip; }

.heavy-page, .heavy-page * { box-sizing: border-box; }
.heavy-page img { max-width: 100%; height: auto; display: block; }

.heavy-page h1, .heavy-page h2, .heavy-page h3, .heavy-page h4, .heavy-page h5 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    -webkit-hyphens: none;
}

/* =========================================================================
   HERO — общий для всех страниц кроме блога/single (там частично переопределён)
   ========================================================================= */
.heavy-page .heavy-page-hero {
    background: var(--heavy-black);
    color: var(--heavy-white);
    padding: 168px 0 90px;
    position: relative;
    overflow: hidden;
}
.admin-bar .heavy-page .heavy-page-hero { padding-top: 200px; }
@media (max-width: 782px) {
    .admin-bar .heavy-page .heavy-page-hero { padding-top: 214px; }
}

/* ── Хлебные крошки в hero ── */
.heavy-page .heavy-breadcrumbs {
    margin: 0 0 20px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.heavy-page .heavy-breadcrumbs-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.heavy-page .heavy-breadcrumbs-item {
    list-style: none !important;
    margin: 0 !important;
    color: rgba(255,255,255,0.55);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.heavy-page .heavy-breadcrumbs-item:not(:last-child)::after {
    content: '/';
    color: rgba(255,255,255,0.25);
    margin-left: 4px;
}
.heavy-page .heavy-breadcrumbs-item a {
    color: rgba(255,255,255,0.65) !important;
    text-decoration: none !important;
    transition: color 0.2s;
    border-bottom: 1px solid transparent;
}
.heavy-page .heavy-breadcrumbs-item a:hover {
    color: var(--heavy-accent) !important;
    border-bottom-color: var(--heavy-accent);
}
.heavy-page .heavy-breadcrumbs-item span[aria-current="page"] {
    color: var(--heavy-white);
    font-weight: 500;
}
.heavy-page .heavy-page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--heavy-accent), transparent);
}
.heavy-page .heavy-page-hero::after {
    content: none;
}
.heavy-page .heavy-page-hero-inner {
    max-width: 880px;
    position: relative;
    z-index: 2;
}
.heavy-page .heavy-page-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid var(--heavy-accent);
    color: var(--heavy-accent);
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.heavy-page .heavy-page-hero-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(36px, 5vw, 64px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--heavy-white) !important;
    margin: 0 0 24px !important;
}
.heavy-page .heavy-page-hero-title .accent { color: var(--heavy-accent) !important; }

.heavy-page .heavy-page-hero-desc {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--heavy-gray-300);
    margin: 0;
    max-width: 720px;
}

/* =========================================================================
   CTA — общая нижняя секция
   ========================================================================= */
.heavy-page .heavy-page-cta {
    background: var(--heavy-gray-100);
    padding: 100px 0;
    border-top: 1px solid var(--heavy-gray-200);
}
.heavy-page .heavy-page-cta-inner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.heavy-page .heavy-page-cta-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(28px, 4vw, 48px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--heavy-black) !important;
    margin: 0 0 16px !important;
}
.heavy-page .heavy-page-cta-title .accent { color: var(--heavy-accent) !important; }
.heavy-page .heavy-page-cta-desc {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--heavy-gray-700);
    margin: 0 0 32px;
}
.heavy-page .heavy-page-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================================================
   ABOUT — О компании
   ========================================================================= */

/* STATS */
.heavy-about .heavy-page-stats {
    padding: 80px 0;
    background: var(--heavy-white);
}
.heavy-about .heavy-page-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--heavy-gray-200);
    border: 1px solid var(--heavy-gray-200);
}
.heavy-about .heavy-page-stat {
    background: var(--heavy-white);
    padding: 40px 32px;
    text-align: center;
    transition: background 0.3s;
}
.heavy-about .heavy-page-stat:hover { background: var(--heavy-gray-50); }
.heavy-about .heavy-page-stat-value {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--heavy-accent);
    margin-bottom: 12px;
}
.heavy-about .heavy-page-stat-label {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--heavy-gray-700);
    line-height: 1.4;
}

/* SPLIT (фото + текст) */
.heavy-about .heavy-page-split {
    background: var(--heavy-white);
}
.heavy-about .heavy-page-split-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 540px;
}
.heavy-about .heavy-page-split-media {
    background: var(--heavy-gray-100);
    position: relative;
    overflow: hidden;
}
.heavy-about .heavy-page-split-media-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--heavy-gray-500);
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background:
        repeating-linear-gradient(45deg, var(--heavy-gray-100) 0 10px, var(--heavy-gray-150) 10px 20px);
}
.heavy-about .heavy-page-split-media-placeholder i { font-size: 56px; opacity: 0.4; }

.heavy-about .heavy-page-split-media-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.heavy-about .heavy-page-split-body {
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--heavy-gray-50);
}
.heavy-about .heavy-page-split-label {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--heavy-accent);
    margin-bottom: 16px;
}
.heavy-about .heavy-page-split-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(28px, 3.5vw, 44px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--heavy-black) !important;
    margin: 0 0 24px !important;
}
.heavy-about .heavy-page-split-title .accent { color: var(--heavy-accent) !important; }
.heavy-about .heavy-page-split-desc {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--heavy-gray-700);
    margin: 0 0 28px;
}
.heavy-about .heavy-page-split-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.heavy-about .heavy-page-split-list li {
    position: relative;
    padding-left: 28px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--heavy-black);
}
.heavy-about .heavy-page-split-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 16px;
    height: 2px;
    background: var(--heavy-accent);
}

/* VALUES */
.heavy-about .heavy-page-values { background: var(--heavy-white); }
.heavy-about .heavy-page-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.heavy-about .heavy-page-value {
    background: var(--heavy-gray-50);
    border: 1px solid var(--heavy-gray-200);
    padding: 36px 28px;
    transition: border-color 0.3s, transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}
.heavy-about .heavy-page-value::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 3px;
    background: var(--heavy-accent);
    transition: width 0.4s;
}
.heavy-about .heavy-page-value:hover {
    border-color: var(--heavy-accent);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.15);
}
.heavy-about .heavy-page-value:hover::before { width: 100%; }
.heavy-about .heavy-page-value-icon {
    width: 56px;
    height: 56px;
    background: var(--heavy-black);
    color: var(--heavy-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: background 0.3s;
}
.heavy-about .heavy-page-value:hover .heavy-page-value-icon { background: var(--heavy-accent); }
.heavy-about .heavy-page-value-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: 20px !important;
    line-height: 1.1 !important;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--heavy-black) !important;
    margin: 0 0 12px !important;
}
.heavy-about .heavy-page-value-desc {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: var(--heavy-gray-700);
    margin: 0;
}

/* CERTIFICATES */
.heavy-about .heavy-page-certs { background: var(--heavy-white); }
.heavy-about .heavy-page-certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--heavy-gray-200);
    border: 1px solid var(--heavy-gray-200);
}
.heavy-about .heavy-page-cert {
    background: var(--heavy-gray-50);
    padding: 36px 28px;
    text-align: center;
    transition: background 0.3s;
}
.heavy-about .heavy-page-cert:hover { background: var(--heavy-white); }
.heavy-about .heavy-page-cert-icon {
    font-size: 32px;
    color: var(--heavy-accent);
    margin-bottom: 16px;
}
.heavy-about .heavy-page-cert-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--heavy-black);
    margin-bottom: 8px;
}
.heavy-about .heavy-page-cert-desc {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--heavy-gray-700);
    line-height: 1.45;
}

/* =========================================================================
   CONTACTS — Контакты
   ========================================================================= */
/* Заголовки мельче чтобы не упирались в ширину контейнера */
.heavy-contacts .heavy-page-hero-title {
    font-size: clamp(26px, 3.6vw, 46px) !important;
    line-height: 1.08 !important;
}
.heavy-contacts .section-title {
    font-size: clamp(22px, 3vw, 38px) !important;
    line-height: 1.1 !important;
}

.heavy-contacts .heavy-contacts-cards-section {
    background: var(--heavy-white);
    padding: 80px 0;
}
.heavy-contacts .heavy-contacts-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--heavy-gray-200);
    border: 1px solid var(--heavy-gray-200);
}
.heavy-contacts .heavy-contacts-card {
    display: block;
    background: var(--heavy-white);
    padding: 32px 28px;
    text-decoration: none !important;
    color: inherit !important;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
}
.heavy-contacts a.heavy-contacts-card { cursor: pointer; }
.heavy-contacts a.heavy-contacts-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 3px;
    background: var(--heavy-accent);
    transition: width 0.4s;
}
.heavy-contacts a.heavy-contacts-card:hover { background: var(--heavy-gray-50); }
.heavy-contacts a.heavy-contacts-card:hover::before { width: 100%; }
.heavy-contacts .heavy-contacts-card-icon {
    width: 48px;
    height: 48px;
    background: var(--heavy-black);
    color: var(--heavy-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 18px;
    transition: background 0.3s;
}
.heavy-contacts a.heavy-contacts-card:hover .heavy-contacts-card-icon { background: var(--heavy-accent); }
.heavy-contacts .heavy-contacts-card-label {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--heavy-gray-500);
    margin-bottom: 8px;
}
.heavy-contacts .heavy-contacts-card-value {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--heavy-black);
    margin-bottom: 10px;
    word-break: break-word;
}

/* Email — тот же шрифт, но без uppercase чтобы адрес читался нормально */
.heavy-contacts a.heavy-contacts-card[href^="mailto:"] .heavy-contacts-card-value {
    text-transform: none !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere;
    line-height: 1.25 !important;
}
.heavy-contacts .heavy-contacts-card-meta {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 13px;
    line-height: 1.45;
    color: var(--heavy-gray-700);
}

/* MAP */
.heavy-contacts .heavy-contacts-map { padding: 60px 0 80px; background: var(--heavy-gray-50); }
.heavy-contacts .heavy-contacts-map-head { margin-bottom: 32px; }
.heavy-contacts .heavy-contacts-map-frame {
    background: var(--heavy-gray-100);
    border: 1px solid var(--heavy-gray-200);
    aspect-ratio: 21/9;
    position: relative;
    overflow: hidden;
}
.heavy-contacts .heavy-contacts-map-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    text-align: center;
    background:
        repeating-linear-gradient(45deg, var(--heavy-gray-100) 0 10px, var(--heavy-gray-150) 10px 20px);
}
.heavy-contacts .heavy-contacts-map-placeholder > i {
    font-size: 64px;
    color: var(--heavy-accent);
    opacity: 0.45;
}
.heavy-contacts .heavy-contacts-map-placeholder-label {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--heavy-gray-700);
}
.heavy-contacts .heavy-contacts-map-placeholder-addr {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    color: var(--heavy-gray-700);
    max-width: 520px;
    line-height: 1.5;
}

/* BRANCHES */
.heavy-contacts .heavy-contacts-branches { background: var(--heavy-white); }
.heavy-contacts .heavy-contacts-branches-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.heavy-contacts .heavy-contacts-branch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: var(--heavy-gray-50);
    border: 1px solid var(--heavy-gray-200);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    line-height: 1.2;
    transition: border-color 0.2s, color 0.2s;
}
.heavy-contacts .heavy-contacts-branch i { color: var(--heavy-gray-500); font-size: 14px; }
.heavy-contacts .heavy-contacts-branch.is-main {
    background: var(--heavy-black);
    color: var(--heavy-white);
    border-color: var(--heavy-black);
}
.heavy-contacts .heavy-contacts-branch.is-main i { color: var(--heavy-accent); }
.heavy-contacts .heavy-contacts-branch-tag {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--heavy-accent);
    padding: 4px 8px;
    border: 1px solid var(--heavy-accent);
}

/* REQUISITES */
.heavy-contacts .heavy-contacts-req {
    background: var(--heavy-gray-50);
    border-top: 1px solid var(--heavy-gray-200);
}
.heavy-contacts .heavy-contacts-req-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}
.heavy-contacts .heavy-contacts-req-label {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--heavy-accent);
    margin-bottom: 16px;
}
.heavy-contacts .heavy-contacts-req-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(26px, 3vw, 38px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--heavy-black) !important;
    margin: 0 0 16px !important;
}
.heavy-contacts .heavy-contacts-req-title .accent { color: var(--heavy-accent) !important; }
.heavy-contacts .heavy-contacts-req-desc {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--heavy-gray-700);
    margin: 0;
}
.heavy-contacts .heavy-contacts-req-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--heavy-white);
    border: 1px solid var(--heavy-gray-200);
    table-layout: fixed;
}
.heavy-contacts .heavy-contacts-req-table tr {
    border-bottom: 1px solid var(--heavy-gray-150);
}
.heavy-contacts .heavy-contacts-req-table tr:last-child { border-bottom: 0; }
.heavy-contacts .heavy-contacts-req-table th,
.heavy-contacts .heavy-contacts-req-table td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
    font-weight: 400;
    line-height: 1.4;
    word-break: break-word;
}
.heavy-contacts .heavy-contacts-req-table th {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--heavy-gray-500);
    width: 38%;
    background: var(--heavy-gray-50);
}
.heavy-contacts .heavy-contacts-req-table td {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    color: var(--heavy-black);
    font-weight: 500;
}

/* =========================================================================
   FAQ
   ========================================================================= */
.heavy-faq .heavy-faq-section { background: var(--heavy-white); }
.heavy-faq .heavy-faq-cats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.heavy-faq .heavy-faq-cat {
    background: var(--heavy-gray-50);
    border: 1px solid var(--heavy-gray-200);
    padding: 32px 28px;
}
.heavy-faq .heavy-faq-cat-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--heavy-gray-200);
    margin-bottom: 16px;
}
.heavy-faq .heavy-faq-cat-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--heavy-black);
    color: var(--heavy-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.heavy-faq .heavy-faq-cat-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: 22px !important;
    line-height: 1.1 !important;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--heavy-black) !important;
    margin: 0 !important;
}
.heavy-faq .heavy-faq-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* border-box, иначе width:100% на .heavy-faq-q + боковой padding вылезает за контейнер (overflow справа на мобилке) */
.heavy-faq .heavy-faq-cats,
.heavy-faq .heavy-faq-cat,
.heavy-faq .heavy-faq-item,
.heavy-faq .heavy-faq-q,
.heavy-faq .heavy-faq-a,
.heavy-faq .heavy-faq-a-inner { box-sizing: border-box; max-width: 100%; min-width: 0; }
/* текст вопроса — флекс-элемент; min-width:0 обязателен, иначе не переносится и тянет строку за край */
.heavy-faq .heavy-faq-q-text { min-width: 0; flex: 1 1 auto; overflow-wrap: anywhere; white-space: normal; }
.heavy-faq .heavy-faq-a-inner { overflow-wrap: anywhere; }
.heavy-faq .heavy-faq-item {
    border: 1px solid var(--heavy-gray-200);
    border-radius: 10px;
    background: var(--heavy-white);
    margin-bottom: 10px;
    overflow: hidden;
}
.heavy-faq .heavy-faq-item:last-child { margin-bottom: 0; }
.heavy-faq .heavy-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: transparent !important;
    border: 0 !important;
    cursor: pointer;
    text-align: left;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4;
    color: var(--heavy-black) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: color 0.2s;
}
.heavy-faq .heavy-faq-q:hover { color: var(--heavy-accent) !important; }
.heavy-faq .heavy-faq-q-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border: 1px solid var(--heavy-gray-300);
    background: var(--heavy-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--heavy-black);
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.3s;
}
.heavy-faq .heavy-faq-q[aria-expanded="true"] .heavy-faq-q-icon {
    background: var(--heavy-accent);
    color: var(--heavy-white);
    border-color: var(--heavy-accent);
}
/* Иконка +/− рисуется псевдоэлементами (чистый минус при раскрытии, без «ромба»).
   FontAwesome-плюс прячем — его поворот на 45° давал ромб/крестик. */
.heavy-faq .heavy-faq-q-icon { position: relative; transform: none !important; }
.heavy-faq .heavy-faq-q-icon i { display: none !important; }
.heavy-faq .heavy-faq-q-icon::before,
.heavy-faq .heavy-faq-q-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s;
}
.heavy-faq .heavy-faq-q-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.heavy-faq .heavy-faq-q[aria-expanded="true"] .heavy-faq-q-icon::after { opacity: 0; }
.heavy-faq .heavy-faq-a {
    max-height: 0;
    overflow: hidden;
    padding: 0; /* фикс: гасим протёкший из heavy-main.css .heavy-faq-a{padding:0 18px 16px} — иначе при max-height:0 (content-box) снизу торчала полоска ответа */
    transition: max-height 0.4s cubic-bezier(.2,.7,.2,1);
}
.heavy-faq .heavy-faq-a-inner {
    padding: 2px 18px 18px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: var(--heavy-gray-700);
}

/* =========================================================================
   BLOG (архив + single)
   ========================================================================= */
.heavy-blog .heavy-blog-section,
.heavy-post .heavy-post-related {
    background: var(--heavy-white);
}
.heavy-blog .heavy-blog-section { padding: 80px 0 100px; }

.heavy-blog .heavy-blog-grid,
.heavy-post .heavy-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.heavy-blog .heavy-blog-card,
.heavy-post .heavy-blog-card {
    position: relative;
    background: var(--heavy-white);
    border: 1px solid var(--heavy-gray-200);
    transition: border-color 0.3s, transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.heavy-blog .heavy-blog-card::before,
.heavy-post .heavy-blog-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 3px;
    background: var(--heavy-accent);
    transition: width 0.4s;
    z-index: 3;
}
.heavy-blog .heavy-blog-card:hover,
.heavy-post .heavy-blog-card:hover {
    border-color: var(--heavy-accent);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.15);
}
.heavy-blog .heavy-blog-card:hover::before,
.heavy-post .heavy-blog-card:hover::before { width: 100%; }

.heavy-blog .heavy-blog-card-link,
.heavy-post .heavy-blog-card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    text-indent: -9999px;
    overflow: hidden;
}

.heavy-blog .heavy-blog-card-media,
.heavy-post .heavy-blog-card-media {
    aspect-ratio: 16/10;
    background: var(--heavy-gray-100);
    position: relative;
    overflow: hidden;
}
.heavy-blog .heavy-blog-card-media img,
.heavy-post .heavy-blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
}
.heavy-blog .heavy-blog-card:hover .heavy-blog-card-media img,
.heavy-post .heavy-blog-card:hover .heavy-blog-card-media img {
    transform: scale(1.04);
}
.heavy-blog .heavy-blog-card-placeholder,
.heavy-post .heavy-blog-card-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--heavy-gray-300);
    font-size: 56px;
    background:
        repeating-linear-gradient(45deg, var(--heavy-gray-100) 0 10px, var(--heavy-gray-150) 10px 20px);
}
.heavy-blog .heavy-blog-card-cat,
.heavy-post .heavy-blog-card-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    padding: 5px 10px;
    background: var(--heavy-accent);
    color: var(--heavy-white);
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1.2;
}

.heavy-blog .heavy-blog-card-body,
.heavy-post .heavy-blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.heavy-blog .heavy-blog-card-meta,
.heavy-post .heavy-blog-card-meta {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--heavy-gray-500);
    display: flex;
    align-items: center;
    gap: 14px;
}
.heavy-blog .heavy-blog-card-date,
.heavy-post .heavy-blog-card-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.heavy-blog .heavy-blog-card-title,
.heavy-post .heavy-blog-card-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: 20px !important;
    line-height: 1.15 !important;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--heavy-black) !important;
    margin: 0 !important;
}
.heavy-blog .heavy-blog-card:hover .heavy-blog-card-title,
.heavy-post .heavy-blog-card:hover .heavy-blog-card-title {
    color: var(--heavy-accent) !important;
}
.heavy-blog .heavy-blog-card-excerpt {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: var(--heavy-gray-700);
}
.heavy-blog .heavy-blog-card-excerpt p { margin: 0; }
.heavy-blog .heavy-blog-card-foot,
.heavy-post .heavy-blog-card-foot {
    margin-top: auto;
    padding-top: 4px;
}
.heavy-blog .heavy-blog-card-readmore,
.heavy-post .heavy-blog-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--heavy-black);
    transition: color 0.2s, gap 0.2s;
}
.heavy-blog .heavy-blog-card:hover .heavy-blog-card-readmore,
.heavy-post .heavy-blog-card:hover .heavy-blog-card-readmore {
    color: var(--heavy-accent);
    gap: 14px;
}

/* PAGINATION (повторяет паттерн Woo для согласованности) */
.heavy-blog .heavy-blog-pagination {
    margin-top: 48px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.heavy-blog .heavy-blog-page .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    background: var(--heavy-white);
    border: 1px solid var(--heavy-gray-300);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--heavy-black);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.heavy-blog .heavy-blog-page a.page-numbers:hover {
    background: var(--heavy-black);
    color: var(--heavy-white);
    border-color: var(--heavy-black);
}
.heavy-blog .heavy-blog-page .page-numbers.current {
    background: var(--heavy-accent);
    color: var(--heavy-white);
    border-color: var(--heavy-accent);
}
.heavy-blog .heavy-blog-page .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    color: var(--heavy-gray-500);
}

/* EMPTY */
.heavy-blog .heavy-blog-empty {
    text-align: center;
    padding: 80px 40px;
    background: var(--heavy-gray-50);
    border: 1px dashed var(--heavy-gray-300);
}
.heavy-blog .heavy-blog-empty-icon {
    font-size: 56px;
    color: var(--heavy-gray-300);
    margin-bottom: 20px;
}
.heavy-blog .heavy-blog-empty-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: 24px !important;
    text-transform: uppercase;
    color: var(--heavy-black) !important;
    margin: 0 0 8px !important;
}
.heavy-blog .heavy-blog-empty-desc {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 15px;
    color: var(--heavy-gray-700);
    margin: 0;
}

/* =========================================================================
   SINGLE POST
   ========================================================================= */
.heavy-post .heavy-post-breadcrumbs {
    background: var(--heavy-gray-50);
    border-bottom: 1px solid var(--heavy-gray-200);
    padding: 16px 0;
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--heavy-gray-500);
}
.heavy-post .heavy-post-breadcrumbs a {
    color: var(--heavy-gray-700) !important;
    text-decoration: none !important;
    transition: color 0.2s;
}
.heavy-post .heavy-post-breadcrumbs a:hover { color: var(--heavy-accent) !important; }
.heavy-post .heavy-post-breadcrumbs .sep {
    margin: 0 10px;
    color: var(--heavy-gray-300);
}

.heavy-post .heavy-post-header {
    background: var(--heavy-white);
    padding: 60px 0 32px;
}
.heavy-post .heavy-post-header-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.heavy-post .heavy-post-cat {
    display: inline-block;
    padding: 6px 14px;
    background: var(--heavy-accent);
    color: var(--heavy-white) !important;
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none !important;
    margin-bottom: 24px;
    transition: background 0.2s;
}
.heavy-post .heavy-post-cat:hover { background: var(--heavy-accent-hover); }
.heavy-post .heavy-post-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(28px, 4vw, 52px) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--heavy-black) !important;
    margin: 0 0 24px !important;
}
.heavy-post .heavy-post-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--heavy-gray-500);
}
.heavy-post .heavy-post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.heavy-post .heavy-post-cover {
    padding: 24px 0 0;
    background: var(--heavy-white);
}
.heavy-post .heavy-post-cover-frame {
    aspect-ratio: 21/9;
    overflow: hidden;
    background: var(--heavy-gray-100);
    border: 1px solid var(--heavy-gray-200);
}
.heavy-post .heavy-post-cover-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.heavy-post .heavy-post-content {
    background: var(--heavy-white);
    padding: 60px 0 80px;
}
.heavy-post .heavy-post-content-inner {
    max-width: 820px;
    margin: 0 auto;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: var(--heavy-gray-900);
}
.heavy-post .heavy-post-content-inner > * { margin: 0 0 20px; }
.heavy-post .heavy-post-content-inner > *:last-child { margin-bottom: 0; }
.heavy-post .heavy-post-content-inner h2,
.heavy-post .heavy-post-content-inner h3 {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--heavy-black) !important;
    line-height: 1.1 !important;
    margin: 36px 0 14px !important;
}
.heavy-post .heavy-post-content-inner h2 { font-size: clamp(24px, 2.6vw, 32px) !important; }
.heavy-post .heavy-post-content-inner h3 { font-size: clamp(20px, 2.2vw, 26px) !important; }
.heavy-post .heavy-post-content-inner ul,
.heavy-post .heavy-post-content-inner ol { padding-left: 22px; }
.heavy-post .heavy-post-content-inner li { margin-bottom: 8px; }
.heavy-post .heavy-post-content-inner blockquote {
    border-left: 4px solid var(--heavy-accent);
    background: var(--heavy-gray-50);
    padding: 20px 24px;
    margin: 28px 0;
    font-size: 18px;
    font-style: italic;
    color: var(--heavy-black);
}
.heavy-post .heavy-post-content-inner img {
    width: 100%;
    height: auto;
    margin: 28px 0;
}
.heavy-post .heavy-post-content-inner a {
    color: var(--heavy-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Таблицы в теле статьи (GEO-приём: AI Overviews цитируют таблицы) */
.heavy-post .heavy-post-content-inner table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 15px;
    line-height: 1.5;
    border: 1px solid var(--heavy-gray-300);
}
.heavy-post .heavy-post-content-inner table thead th {
    background: var(--heavy-black);
    color: var(--heavy-white);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: left;
    padding: 12px 14px;
    border: 1px solid var(--heavy-gray-700);
}
.heavy-post .heavy-post-content-inner table td {
    padding: 11px 14px;
    border: 1px solid var(--heavy-gray-300);
    vertical-align: top;
    color: var(--heavy-gray-900);
}
.heavy-post .heavy-post-content-inner table tbody tr:nth-child(even) {
    background: var(--heavy-gray-50);
}
.heavy-post .heavy-post-content-inner table tbody tr:first-child td {
    border-top: none;
}
@media (max-width: 600px) {
    .heavy-post .heavy-post-content-inner table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.heavy-post .heavy-post-tags {
    max-width: 820px;
    margin: 40px auto 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.heavy-post .heavy-post-tags-label {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--heavy-gray-500);
    margin-right: 6px;
}
.heavy-post .heavy-post-tag {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--heavy-gray-300);
    background: var(--heavy-white);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--heavy-black) !important;
    text-decoration: none !important;
    transition: border-color 0.2s, color 0.2s;
}
.heavy-post .heavy-post-tag:hover {
    border-color: var(--heavy-accent);
    color: var(--heavy-accent) !important;
}

.heavy-post .heavy-post-share {
    max-width: 820px;
    margin: 32px auto 0;
    padding-top: 28px;
    border-top: 1px solid var(--heavy-gray-200);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.heavy-post .heavy-post-share-label {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--heavy-gray-500);
    margin-right: 8px;
}
.heavy-post .heavy-post-share-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--heavy-white) !important;
    border: 1px solid var(--heavy-gray-300) !important;
    color: var(--heavy-black) !important;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.heavy-post .heavy-post-share-btn:hover {
    background: var(--heavy-accent) !important;
    color: var(--heavy-white) !important;
    border-color: var(--heavy-accent) !important;
}
.heavy-post .heavy-post-share-copy.is-copied {
    background: #1A8245 !important;
    color: var(--heavy-white) !important;
    border-color: #1A8245 !important;
}
.heavy-post .heavy-post-share-copy.is-copied::after {
    content: '✓';
    position: absolute;
    margin-left: 26px;
    font-size: 18px;
}

.heavy-post .heavy-post-related {
    padding: 80px 0;
    border-top: 1px solid var(--heavy-gray-200);
}
.heavy-post .heavy-post-related-head { margin-bottom: 32px; }
.heavy-post .heavy-blog-grid--related {
    grid-template-columns: repeat(3, 1fr);
}

/* =========================================================================
   REVEAL (наследует базовую, чтобы анимации тоже работали)
   ========================================================================= */
.heavy-page [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform;
}
.heavy-page [data-reveal].in {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1200px) {
    .heavy-about .heavy-page-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .heavy-about .heavy-page-values-grid { grid-template-columns: repeat(2, 1fr); }
    .heavy-about .heavy-page-certs-grid { grid-template-columns: repeat(2, 1fr); }
    .heavy-about .heavy-page-split-body { padding: 80px 60px; }
    .heavy-contacts .heavy-contacts-cards { grid-template-columns: repeat(2, 1fr); }
    .heavy-blog .heavy-blog-grid,
    .heavy-post .heavy-blog-grid--related { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .heavy-page .heavy-page-hero { padding: 70px 0 60px; }
    .heavy-page .heavy-page-cta { padding: 70px 0; }

    .heavy-about .heavy-page-split-inner { grid-template-columns: 1fr; min-height: 0; }
    .heavy-about .heavy-page-split-media { aspect-ratio: 16/10; min-height: 320px; }
    .heavy-about .heavy-page-split-body { padding: 60px 40px; }

    .heavy-faq .heavy-faq-cats { grid-template-columns: 1fr; gap: 20px; }

    .heavy-contacts .heavy-contacts-req-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .heavy-contacts .heavy-contacts-map-frame { aspect-ratio: 16/10; }
}

@media (max-width: 640px) {
    .heavy-page .heavy-page-hero { padding: 50px 0 44px; }
    .heavy-page .heavy-page-hero-tag { font-size: 10px; padding: 6px 12px; margin-bottom: 20px; }
    .heavy-page .heavy-page-hero-desc { font-size: 15px; }

    .heavy-page .heavy-page-cta { padding: 50px 0; }
    .heavy-page .heavy-page-cta-desc { font-size: 15px; }
    .heavy-page .heavy-page-cta-actions .btn { width: 100%; }

    .heavy-about .heavy-page-stats { padding: 50px 0; }
    .heavy-about .heavy-page-stats-grid { grid-template-columns: 1fr; }
    .heavy-about .heavy-page-stat { padding: 28px 24px; }
    .heavy-about .heavy-page-stat-value { font-size: 44px; margin-bottom: 8px; }
    .heavy-about .heavy-page-values-grid,
    .heavy-about .heavy-page-certs-grid { grid-template-columns: 1fr; gap: 12px; }
    .heavy-about .heavy-page-value { padding: 28px 22px; }
    .heavy-about .heavy-page-value-icon { width: 48px; height: 48px; font-size: 20px; margin-bottom: 18px; }
    .heavy-about .heavy-page-value-title { font-size: 18px !important; }
    .heavy-about .heavy-page-cert { padding: 26px 22px; }
    .heavy-about .heavy-page-cert-icon { font-size: 26px; margin-bottom: 12px; }
    .heavy-about .heavy-page-cert-title { font-size: 16px; }
    .heavy-about .heavy-page-split-body { padding: 50px 24px; }
    .heavy-about .heavy-page-split-media { min-height: 240px; }

    .heavy-contacts .heavy-contacts-cards-section { padding: 50px 0; }
    .heavy-contacts .heavy-contacts-cards { grid-template-columns: 1fr; }
    .heavy-contacts .heavy-contacts-card { padding: 24px 22px; }
    .heavy-contacts .heavy-contacts-card-icon { width: 42px; height: 42px; font-size: 16px; margin-bottom: 14px; }
    .heavy-contacts .heavy-contacts-map { padding: 40px 0 50px; }
    .heavy-contacts .heavy-contacts-map-placeholder > i { font-size: 44px; }
    .heavy-contacts .heavy-contacts-map-placeholder-addr { font-size: 13px; }
    .heavy-contacts .heavy-contacts-branch { padding: 12px 16px; font-size: 15px; }

    .heavy-faq .heavy-faq-cat { padding: 24px 22px; }
    .heavy-faq .heavy-faq-cat-head { padding-bottom: 16px; margin-bottom: 12px; gap: 12px; }
    .heavy-faq .heavy-faq-cat-icon { width: 40px; height: 40px; font-size: 16px; }
    .heavy-faq .heavy-faq-cat-title { font-size: 18px !important; }
    .heavy-faq .heavy-faq-q { font-size: 14px !important; padding: 14px 16px; gap: 12px; }
    .heavy-faq .heavy-faq-q-icon { width: 24px; height: 24px; font-size: 10px; }
    .heavy-faq .heavy-faq-a-inner { padding: 2px 16px 16px; }
    .heavy-faq .heavy-faq-cat { padding: 20px 14px; }

    .heavy-blog .heavy-blog-section { padding: 50px 0 70px; }
    .heavy-blog .heavy-blog-grid,
    .heavy-post .heavy-blog-grid--related { grid-template-columns: 1fr; gap: 18px; }
    .heavy-blog .heavy-blog-card-body,
    .heavy-post .heavy-blog-card-body { padding: 22px 20px; gap: 12px; }
    .heavy-blog .heavy-blog-card-title,
    .heavy-post .heavy-blog-card-title { font-size: 18px !important; }

    .heavy-post .heavy-post-header { padding: 40px 0 24px; }
    .heavy-post .heavy-post-meta { gap: 14px; font-size: 11px; }
    .heavy-post .heavy-post-content { padding: 40px 0 60px; }
    .heavy-post .heavy-post-content-inner { font-size: 15px; line-height: 1.7; }
    .heavy-post .heavy-post-cover { padding: 16px 0 0; }
    .heavy-post .heavy-post-cover-frame { aspect-ratio: 16/10; }
    .heavy-post .heavy-post-related { padding: 50px 0; }
}

@media (max-width: 400px) {
    .heavy-page .heavy-page-hero-title { font-size: 28px !important; }
    .heavy-post .heavy-post-title { font-size: 24px !important; }
    .heavy-contacts .heavy-contacts-card-value { font-size: 18px; }
}

/* =========================================================================
   BLOG — чипы категорий + featured карточка + author-блок (расширение)
   ========================================================================= */
.heavy-blog .heavy-blog-cats {
    padding: 32px 0 8px;
    background: var(--heavy-white);
}
.heavy-blog .heavy-blog-cats-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.heavy-blog .heavy-blog-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--heavy-white);
    border: 1px solid var(--heavy-gray-300);
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--heavy-black) !important;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    line-height: 1.2;
}
.heavy-blog .heavy-blog-chip:hover {
    background: var(--heavy-gray-50);
    border-color: var(--heavy-accent);
    color: var(--heavy-accent) !important;
}
.heavy-blog .heavy-blog-chip.is-active {
    background: var(--heavy-black);
    color: var(--heavy-white) !important;
    border-color: var(--heavy-black);
}
.heavy-blog .heavy-blog-chip-count {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 10px;
    color: var(--heavy-gray-500);
    background: var(--heavy-gray-100);
    padding: 2px 6px;
    line-height: 1.2;
    transition: background 0.2s, color 0.2s;
}
.heavy-blog .heavy-blog-chip:hover .heavy-blog-chip-count {
    background: rgba(234, 92, 38, 0.12);
    color: var(--heavy-accent);
}
.heavy-blog .heavy-blog-chip.is-active .heavy-blog-chip-count {
    background: var(--heavy-accent);
    color: var(--heavy-white);
}

/* FEATURED (sticky) пост */
.heavy-blog .heavy-blog-featured {
    padding: 32px 0 16px;
    background: var(--heavy-white);
}
.heavy-blog .heavy-blog-featured-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0;
    background: var(--heavy-black);
    color: var(--heavy-white);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s;
}
.heavy-blog .heavy-blog-featured-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--heavy-accent);
    z-index: 3;
}
.heavy-blog .heavy-blog-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.45);
}
.heavy-blog .heavy-blog-featured-media {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--heavy-gray-900);
    overflow: hidden;
}
.heavy-blog .heavy-blog-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.2,.7,.2,1), filter 0.4s;
}
.heavy-blog .heavy-blog-featured-card:hover .heavy-blog-featured-media img {
    transform: scale(1.04);
}
.heavy-blog .heavy-blog-featured-pin {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--heavy-accent);
    color: var(--heavy-white);
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1.2;
}
.heavy-blog .heavy-blog-featured-body {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    min-width: 0;
}
.heavy-blog .heavy-blog-featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--heavy-gray-300);
}
.heavy-blog .heavy-blog-featured-cat {
    padding: 5px 10px;
    background: var(--heavy-accent);
    color: var(--heavy-white);
    line-height: 1.2;
}
.heavy-blog .heavy-blog-featured-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.heavy-blog .heavy-blog-featured-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(24px, 3vw, 38px) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--heavy-white) !important;
    margin: 0 !important;
    transition: color 0.2s;
}
.heavy-blog .heavy-blog-featured-card:hover .heavy-blog-featured-title {
    color: var(--heavy-accent) !important;
}
.heavy-blog .heavy-blog-featured-excerpt {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--heavy-gray-300);
    margin: 0;
}
.heavy-blog .heavy-blog-featured-body .heavy-blog-card-readmore {
    color: var(--heavy-white);
    margin-top: 6px;
}
.heavy-blog .heavy-blog-featured-card:hover .heavy-blog-card-readmore {
    color: var(--heavy-accent);
}

/* AUTHOR-блок на single */
.heavy-post .heavy-post-author {
    max-width: 820px;
    margin: 40px auto 0;
    padding: 28px 28px;
    background: var(--heavy-gray-50);
    border: 1px solid var(--heavy-gray-200);
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 24px;
    align-items: flex-start;
    position: relative;
}
.heavy-post .heavy-post-author::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 60px; height: 3px;
    background: var(--heavy-accent);
}
.heavy-post .heavy-post-author-photo {
    width: 96px;
    height: 96px;
    overflow: hidden;
    border: 1px solid var(--heavy-gray-200);
    background: var(--heavy-white);
    display: flex;
    align-items: center;
    justify-content: center;
}
.heavy-post .heavy-post-author-photo img,
.heavy-post .heavy-post-author-avatar {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 0 !important;
    display: block;
}
.heavy-post .heavy-post-author-label {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--heavy-accent);
    margin-bottom: 6px;
}
.heavy-post .heavy-post-author-name {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: 20px !important;
    line-height: 1.1 !important;
    text-transform: uppercase;
    color: var(--heavy-black) !important;
    margin: 0 0 10px !important;
}
.heavy-post .heavy-post-author-name a {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 0.2s;
}
.heavy-post .heavy-post-author-name a:hover { color: var(--heavy-accent) !important; }
.heavy-post .heavy-post-author-desc {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--heavy-gray-700);
    margin: 0 0 12px;
}
.heavy-post .heavy-post-author-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--heavy-black) !important;
    text-decoration: none !important;
    transition: color 0.2s, gap 0.2s;
}
.heavy-post .heavy-post-author-link:hover {
    color: var(--heavy-accent) !important;
    gap: 12px;
}

/* Responsive */
@media (max-width: 992px) {
    .heavy-blog .heavy-blog-featured-card { grid-template-columns: 1fr; }
    .heavy-blog .heavy-blog-featured-body { padding: 32px 28px; }
}
@media (max-width: 640px) {
    .heavy-blog .heavy-blog-cats { padding: 20px 0 4px; }
    .heavy-blog .heavy-blog-chip { padding: 8px 14px; font-size: 12px !important; }
    .heavy-blog .heavy-blog-featured { padding: 20px 0 8px; }
    .heavy-blog .heavy-blog-featured-body { padding: 24px 22px; gap: 14px; }
    .heavy-blog .heavy-blog-featured-meta { gap: 10px; font-size: 10px; }
    .heavy-blog .heavy-blog-featured-excerpt { font-size: 14px; }

    .heavy-post .heavy-post-author {
        grid-template-columns: 64px 1fr;
        gap: 16px;
        padding: 22px 20px;
    }
    .heavy-post .heavy-post-author-photo { width: 64px; height: 64px; }
}
