/* ===== Переменные ===== */
:root {
    --color-primary: #0a4d8c;
    --color-primary-dark: #073867;
    --color-accent: #e8262b;
    --color-accent-dark: #b81e22;
    --color-text: #1d2939;
    --color-text-muted: #667085;
    --color-border: #e4e7ec;
    --color-bg: #ffffff;
    --color-bg-alt: #f4f6f9;
    --color-bg-dark: #1a2433;
    --radius: 4px;
    --radius-lg: 8px;
    --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.08);
    --shadow-md: 0 4px 12px rgba(16, 24, 40, 0.10);
    --container: 1240px;
    --font: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.55;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--color-accent); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.25; color: var(--color-text); font-weight: 700; }
h1 { font-size: 38px; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }

/* ===== Layout ===== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.section { padding: 64px 0; }
.section--alt { background: var(--color-bg-alt); }
.section-title {
    font-size: 28px;
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 12px;
}
.section-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 60px; height: 3px;
    background: var(--color-accent);
}

/* ===== Кнопки ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, transform .15s;
    text-decoration: none;
}
.btn:hover { background: var(--color-accent-dark); color: #fff; }
.btn--primary { background: var(--color-primary); }
.btn--primary:hover { background: var(--color-primary-dark); }
.btn--outline {
    background: transparent;
    border: 1.5px solid #fff;
    color: #fff;
}
.btn--outline:hover { background: #fff; color: var(--color-primary); }
.btn--sm { padding: 8px 16px; font-size: 13px; }

/* ===== Topbar ===== */
.topbar {
    background: var(--color-bg-dark);
    color: #c4cad3;
    font-size: 13px;
    padding: 8px 0;
}
.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.topbar__contacts { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__contacts a { color: #c4cad3; }
.topbar__contacts a:hover { color: #fff; }

/* ===== Header ===== */
.header {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.header__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    /* только вертикальный padding — боковой приходит из .container */
    padding-top: 18px;
    padding-bottom: 18px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.logo__mark {
    width: 44px; height: 44px;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -.5px;
}
.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo__name { font-weight: 800; font-size: 18px; color: var(--color-text); }
.logo__tag { font-size: 11px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .5px; }

.header__phone {
    text-align: right;
    line-height: 1.3;
}
.header__phone strong {
    display: block;
    font-size: 18px;
    color: var(--color-text);
    font-weight: 700;
}
.header__phone span { font-size: 12px; color: var(--color-text-muted); }

/* ===== Nav ===== */
.nav {
    background: var(--color-primary);
}
.nav__list {
    display: flex;
    flex-wrap: wrap;
}
.nav__list > li { position: relative; }
.nav__list > li > a {
    display: block;
    padding: 14px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: background .15s;
}
.nav__list > li > a:hover,
.nav__list > li.active > a { background: var(--color-primary-dark); color: #fff; }
.nav__submenu {
    position: absolute;
    top: 100%; left: 0;
    min-width: 260px;
    background: #fff;
    box-shadow: var(--shadow-md);
    border-top: 3px solid var(--color-accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .15s, transform .15s, visibility .15s;
    z-index: 10;
}
.nav__list > li:hover .nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav__submenu a {
    display: block;
    padding: 10px 18px;
    color: var(--color-text);
    font-size: 14px;
    border-bottom: 1px solid var(--color-border);
}
.nav__submenu a:hover { background: var(--color-bg-alt); color: var(--color-primary); }
.nav__submenu a:last-child { border-bottom: none; }

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, #0a4d8c 0%, #073867 100%);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute;
    right: -100px; top: 50%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(232,38,43,0.18) 0%, transparent 70%);
    transform: translateY(-50%);
    pointer-events: none;
}
.hero__inner {
    position: relative;
    max-width: 680px;
}
.hero h1 {
    color: #fff;
    font-size: 44px;
    margin-bottom: 20px;
}
.hero p {
    font-size: 18px;
    color: #c4d3e5;
    margin-bottom: 32px;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Карточки направлений ===== */
.directions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.direction {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.direction:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
    color: inherit;
}
.direction__icon {
    width: 64px; height: 64px;
    margin: 0 auto 18px;
    background: var(--color-bg-alt);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--color-primary);
    font-size: 28px;
    transition: background .2s, color .2s;
}
.direction:hover .direction__icon { background: var(--color-primary); color: #fff; }
.direction h3 { font-size: 17px; margin-bottom: 10px; }
.direction p { font-size: 14px; color: var(--color-text-muted); margin: 0; }

/* ===== Преимущества ===== */
.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}
.advantage { display: flex; gap: 16px; }
.advantage__num {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: var(--color-accent);
    color: #fff;
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 20px;
}
.advantage h3 { font-size: 16px; margin-bottom: 6px; }
.advantage p { font-size: 14px; color: var(--color-text-muted); margin: 0; }

/* ===== О компании (превью) ===== */
.about-preview {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}
.about-preview__img {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    display: grid;
    place-items: center;
    color: var(--color-text-muted);
    font-size: 14px;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}
.stat {
    border-left: 3px solid var(--color-accent);
    padding: 4px 0 4px 16px;
}
.stat strong {
    display: block;
    font-size: 28px;
    color: var(--color-primary);
    font-weight: 800;
}
.stat span { font-size: 13px; color: var(--color-text-muted); }

/* ===== Форма обратной связи ===== */
.callback {
    background: linear-gradient(135deg, #0a4d8c 0%, #073867 100%);
    color: #fff;
    padding: 56px 0;
}
.callback__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
}
.callback h2 { color: #fff; }
.callback p { color: #c4d3e5; }
.callback__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.callback__form input,
.callback__form textarea {
    padding: 13px 16px;
    border: 1.5px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    outline: none;
}
.callback__form input::placeholder,
.callback__form textarea::placeholder { color: #9bb1cc; }
.callback__form input:focus,
.callback__form textarea:focus { border-color: var(--color-accent); }
.callback__form textarea {
    grid-column: 1 / -1;
    min-height: 90px;
    resize: vertical;
}
.callback__form .btn { grid-column: 1 / -1; justify-content: center; }
.callback__form .form-note {
    grid-column: 1 / -1;
    font-size: 12px;
    color: #9bb1cc;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bg-dark);
    color: #9aa3b0;
    padding: 56px 0 0;
    font-size: 14px;
}
.footer a { color: #c4cad3; }
.footer a:hover { color: #fff; }
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer h4 {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 18px;
}
.footer ul li { margin-bottom: 8px; }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}
.footer__logo { margin-bottom: 16px; }
.footer__logo .logo__name { color: #fff; }
.footer__logo .logo__tag { color: #9aa3b0; }

/* ===== Хлебные крошки ===== */
.breadcrumbs {
    padding: 16px 0;
    font-size: 13px;
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
}
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs span { margin: 0 8px; color: #c4cad3; }

/* ===== Page header ===== */
.page-header {
    padding: 36px 0 28px;
}
.page-header h1 { margin: 0; font-size: 32px; }

/* ===== Каталог категорий (плитка) ===== */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.category-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    color: inherit;
}
.category-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    color: inherit;
}
.category-card__img {
    aspect-ratio: 1;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    margin-bottom: 16px;
    display: grid;
    place-items: center;
    color: var(--color-text-muted);
    font-size: 12px;
}
.category-card h3 { font-size: 15px; margin-bottom: 4px; }
.category-card p { font-size: 12px; color: var(--color-text-muted); margin: 0; }

/* ===== Layout категория: сайдбар + сетка товаров ===== */
.layout-aside {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
}
.sidebar {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    align-self: start;
    position: sticky;
    top: 110px;
}
.sidebar h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--color-text-muted);
    margin: 0 0 12px;
}
.sidebar ul li a {
    display: block;
    padding: 8px 10px;
    border-radius: var(--radius);
    color: var(--color-text);
    font-size: 14px;
}
.sidebar ul li a:hover { background: var(--color-bg-alt); color: var(--color-primary); }
.sidebar ul li.active a { background: var(--color-primary); color: #fff; }
.sidebar__group { margin-bottom: 24px; }
.sidebar__group:last-child { margin-bottom: 0; }

/* ===== Сетка товаров ===== */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.product {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, border-color .2s;
}
.product:hover { box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.product__img {
    aspect-ratio: 1;
    background: var(--color-bg-alt);
    display: grid;
    place-items: center;
    color: var(--color-text-muted);
    font-size: 12px;
}
.product__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.product__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    flex: 1;
}
.product__name:hover { color: var(--color-primary); }
.product__sku { font-size: 12px; color: var(--color-text-muted); }
.product__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 6px;
}
.product__price {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 15px;
}

/* ===== Карточка товара (детальная) ===== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.product-gallery__main {
    aspect-ratio: 1;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    display: grid;
    place-items: center;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}
.product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.product-gallery__thumbs > div {
    aspect-ratio: 1;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
}
.product-gallery__thumbs > div.active { border-color: var(--color-primary); }
.product-info__sku { color: var(--color-text-muted); font-size: 13px; margin-bottom: 8px; }
.product-info__price {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-primary);
    margin: 16px 0 24px;
}
.product-info__actions { display: flex; gap: 12px; margin-bottom: 24px; }
.product-specs {
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
}
.product-specs h3 { font-size: 16px; margin-bottom: 12px; }
.product-specs table { width: 100%; border-collapse: collapse; font-size: 14px; }
.product-specs td {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
}
.product-specs td:first-child { color: var(--color-text-muted); width: 50%; }
.product-specs td:last-child { font-weight: 500; }

/* ===== Контакты ===== */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}
.contact-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.contact-card h3 { font-size: 18px; margin-bottom: 16px; color: var(--color-primary); }
.contact-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
}
.contact-card ul li:last-child { border-bottom: none; }
.contact-card strong { display: inline-block; min-width: 130px; color: var(--color-text-muted); font-weight: 500; }
.map-placeholder {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    aspect-ratio: 21/9;
    display: grid;
    place-items: center;
    color: var(--color-text-muted);
}

/* ===== Topbar: заметка справа ===== */
.topbar__note { color: #9aa3b0; }

/* ===== Header: телефон + кнопка ===== */
.header__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}
.header__phone strong a { color: var(--color-text); }
.header__phone strong a:hover { color: var(--color-primary); }

/* ===== Nav: заголовки групп в подменю ===== */
.nav__submenu-label {
    padding: 10px 18px 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
    font-weight: 600;
}

/* ===== Два направления (главная) ===== */
.dir-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.dir-split__card {
    display: block;
    background: #fff;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 28px;
    color: inherit;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}
.dir-split__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--color-accent);
    color: inherit;
}
.dir-split__label {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 8px;
}
.dir-split__card h3 { font-size: 22px; margin-bottom: 16px; }
.dir-split__list { margin-bottom: 20px; }
.dir-split__list li {
    padding: 7px 0 7px 20px;
    position: relative;
    font-size: 14px;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}
.dir-split__list li:last-child { border-bottom: none; }
.dir-split__list li::before {
    content: "";
    position: absolute;
    left: 0; top: 15px;
    width: 6px; height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}
.dir-split__more { font-weight: 600; font-size: 14px; color: var(--color-primary); }

/* ===== Изображения в карточках ===== */
.category-card__img { overflow: hidden; padding: 10px; }
.category-card__img img {
    width: 100%; height: 100%;
    object-fit: contain;
}
.category-card__img--empty {
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: center;
    padding: 8px;
}
.about-preview__img { overflow: hidden; padding: 0; }
.about-preview__img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Page header ===== */
.page-header__lead {
    font-size: 17px;
    color: var(--color-text-muted);
    max-width: 780px;
    margin: 10px 0 0;
}
.section--tight { padding: 32px 0 64px; }

/* ===== Контентная статья ===== */
.content { min-width: 0; }
.content h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 16px;
}
.content h2:first-child { margin-top: 0; }
.content__lead {
    font-size: 17px;
    line-height: 1.65;
    padding-left: 18px;
    border-left: 3px solid var(--color-accent);
    color: var(--color-text);
}

/* ===== Список с галочками ===== */
.check-list { margin-bottom: 1em; }
.check-list li {
    position: relative;
    padding: 6px 0 6px 28px;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 4px; top: 13px;
    width: 8px; height: 8px;
    border-right: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    transform: rotate(45deg);
}

/* ===== Сетка характеристик / состава ===== */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.spec-item {
    display: flex;
    gap: 14px;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    padding: 16px;
}
.spec-item > span {
    flex-shrink: 0;
    font-weight: 800;
    font-size: 13px;
    color: var(--color-primary);
    opacity: .55;
    padding-top: 2px;
}
.spec-item strong { display: block; font-size: 15px; margin-bottom: 3px; }
.spec-item p { margin: 0; font-size: 13px; color: var(--color-text-muted); }

/* ===== Что мы можем (карточки возможностей) ===== */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.cap {
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-primary);
    border-radius: var(--radius);
    padding: 18px 20px;
    transition: border-left-color .2s, box-shadow .2s;
}
.cap:hover { border-left-color: var(--color-accent); box-shadow: var(--shadow-sm); }
.cap h3 { font-size: 16px; margin-bottom: 6px; }
.cap p { margin: 0; font-size: 14px; color: var(--color-text-muted); }

/* ===== Этапы работы ===== */
.steps {
    display: grid;
    gap: 16px;
}
.steps--wide { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step > span {
    flex-shrink: 0;
    width: 32px; height: 32px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
}
.step strong { display: block; margin-bottom: 3px; }
.step p { margin: 0; font-size: 14px; color: var(--color-text-muted); }

/* ===== Фотоблоки ===== */
.figures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 28px 0;
}
.figure { margin: 0; }
.figure img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: var(--color-bg-alt);
}
.figure figcaption {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 8px;
}

/* ===== Блок продукта (раздел пищевого оборудования) ===== */
.prod-block {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
    padding: 28px 0;
    border-top: 1px solid var(--color-border);
    scroll-margin-top: 120px;
}
.prod-block:first-of-type { border-top: none; }
.prod-block__img {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
}
.prod-block__img img { width: 100%; height: 100%; object-fit: cover; }
.prod-block__img--empty {
    display: grid;
    place-items: center;
    font-size: 13px;
    color: var(--color-text-muted);
}
.prod-block__body h2 { margin-top: 0; }
.prod-block__note {
    font-size: 13px;
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    padding: 10px 14px;
    margin: 0;
}

/* ===== Врезка-призыв ===== */
.callout {
    margin-top: 40px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: 28px;
    border-left: 4px solid var(--color-accent);
}
.callout h3 { margin-bottom: 8px; }
.callout p { color: var(--color-text-muted); }

/* ===== Сайдбар: блок-призыв ===== */
.sidebar__cta {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}
.sidebar__cta strong { display: block; margin-bottom: 6px; font-size: 15px; }
.sidebar__cta p { font-size: 13px; color: var(--color-text-muted); }

/* ===== Карточки статей ===== */
.article-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 22px;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform .2s, box-shadow .2s, border-top-color .2s;
}
.article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--color-accent);
    color: inherit;
}
.article-card__date {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--color-text-muted);
}
.article-card h3 { font-size: 17px; margin: 0; }
.article-card p { font-size: 14px; color: var(--color-text-muted); margin: 0; flex: 1; }
.article-card__more { font-size: 14px; font-weight: 600; color: var(--color-primary); }

.section-more { margin: 32px 0 0; }
.empty-note { color: var(--color-text-muted); }

/* ===== Страница статьи ===== */
.content--narrow { max-width: 760px; }
.content--narrow h2 { font-size: 22px; }
.article__meta { color: var(--color-text-muted); font-size: 14px; margin: 8px 0 0; }
.article__back {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    font-weight: 600;
}
.figure--wide { margin-bottom: 28px; }
.figure--wide img { aspect-ratio: 16/9; }

/* ===== Контакты: карта ===== */
.map-placeholder { text-align: center; padding: 20px; font-size: 14px; max-height: 320px; }

/* ===== Адаптив ===== */
@media (max-width: 960px) {
    .dir-split { grid-template-columns: 1fr; }
    .prod-block { grid-template-columns: 1fr; gap: 18px; }
    .prod-block__img { max-width: 340px; }
    .header__actions { margin-left: 0; }
    h1 { font-size: 28px; }
    .hero { padding: 56px 0; }
    .hero h1 { font-size: 32px; }
    .header__inner { flex-wrap: wrap; gap: 16px; }
    .about-preview,
    .callback__inner,
    .product-detail,
    .contacts-grid { grid-template-columns: 1fr; gap: 24px; }
    .layout-aside { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .nav__list { overflow-x: auto; flex-wrap: nowrap; }
    .nav__list > li > a { white-space: nowrap; }
    .nav__submenu { display: none; }
}
@media (max-width: 560px) {
    .section { padding: 40px 0; }
    .footer__grid { grid-template-columns: 1fr; }
    .callback__form { grid-template-columns: 1fr; }
    .topbar__inner { font-size: 12px; }
    /* Телефон — основной способ связи, оставляем видимым и убираем подпись */
    .header__phone { text-align: left; }
    .header__phone strong { font-size: 16px; }
    .header__phone span { display: none; }
    .header__actions { gap: 12px; flex-wrap: wrap; }
    .topbar__note { display: none; }
    .figures { grid-template-columns: 1fr; }
    .prod-block__img { max-width: none; }
}
