/* Базовые сбросы */
:root {
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-primary-soft: #e6f2ff;
    --color-text: #1a1a1a;
    --color-text-muted: #64748b;
    --color-surface: #ffffff;
    --color-surface-alt: #f9fafb;
    --radius-btn: 10px;
    --radius-card: 16px;
    --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-card-hover: 0 10px 24px rgba(0, 0, 0, 0.08);
    --color-codelab: #2563eb;
    --color-codelab-soft: #dbeafe;
    --color-techspot: #ea580c;
    --color-techspot-soft: #ffedd5;
    --color-logipoint: #16a34a;
    --color-logipoint-soft: #dcfce7;
    --color-optidesk: #6366f1;
    --color-optidesk-soft: #e0e7ff;
    --color-bitpdf: #be123c;
    --color-bitpdf-soft: #ffe4e6;
    --color-restapi: #6d28d9;
    --color-restapi-soft: #ede9fe;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: var(--color-text);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Утилиты */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
}

.nowrap {
    white-space: nowrap;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-btn);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-family: inherit;
    font-size: 16px;
}

.btn--primary {
    background: var(--color-primary);
    color: white;
}

.btn--primary:hover {
    background: var(--color-primary-hover);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn--outline:hover {
    background: var(--color-primary);
    color: white;
}

.section--alt {
    background: var(--color-surface-alt);
}

.btn--small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn--full {
    width: 100%;
    text-align: center;
}

/* Шапка */
.site-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo a {
    text-decoration: none;
}

.logo__brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    line-height: 1.2;
}

.logo__tagline {
    font-size: 12px;
    color: #666;
}

.main-nav__list {
    display: flex;
    gap: 24px;
    list-style: none;
    align-items: center;
}

.main-nav__link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
    background: none;
    border: 0;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.main-nav__link:hover,
.main-nav__item.active > .main-nav__link,
.main-nav__item.active > .main-nav__trigger {
    color: #2563eb;
}

.main-nav__item--dropdown {
    position: relative;
}

.main-nav__trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.main-nav__chevron {
    font-size: 10px;
    transition: transform 0.2s;
}

.main-nav__item--dropdown:hover .main-nav__chevron,
.main-nav__item--dropdown:focus-within .main-nav__chevron {
    transform: rotate(180deg);
}

.main-nav__dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    margin: 0;
    padding: 8px;
    list-style: none;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s, visibility 0.15s;
    z-index: 120;
}

.main-nav__item--dropdown:hover .main-nav__dropdown,
.main-nav__item--dropdown:focus-within .main-nav__dropdown,
.main-nav__item--dropdown.is-open .main-nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.main-nav__item--dropdown.is-open .main-nav__chevron {
    transform: rotate(180deg);
}

.main-nav__dropdown-link {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}

.main-nav__dropdown-link:hover,
.main-nav__dropdown-link.is-active {
    background: var(--color-primary-soft);
}

.main-nav__dropdown-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.main-nav__dropdown-hint {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--color-text-muted);
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-contacts__phone {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background: #333;
    border-radius: 3px;
}

/* Hero секция */
.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 80px;
    min-height: min(82vh, 760px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 55%, #eef2ff 100%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__bg-layer {
    position: absolute;
    inset: -40% -20%;
    opacity: 0.45;
    background: linear-gradient(-60deg, #e0e7ff 50%, #dbeafe 50%);
    animation: hero-bg-slide 14s ease-in-out infinite alternate;
}

.hero__bg-layer--2 {
    animation-duration: 18s;
    opacity: 0.35;
}

.hero__bg-layer--3 {
    animation-duration: 22s;
    opacity: 0.25;
}

@keyframes hero-bg-slide {
    0% { transform: translateX(-12%); }
    100% { transform: translateX(12%); }
}

.hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero__content {
    max-width: 640px;
}

.hero__title {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero__title-accent {
    color: var(--color-primary);
}

.hero__subtitle {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--color-text-muted);
    margin-bottom: 32px;
    max-width: 560px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
    text-decoration: none;
}

.hero-pill i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.hero-pill span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.hero-pill strong {
    font-size: 16px;
    color: var(--color-text);
}

.hero-pill--codelab i { background: var(--color-codelab-soft); color: var(--color-codelab); }
.hero-pill--techspot i { background: var(--color-techspot-soft); color: var(--color-techspot); }
.hero-pill--logipoint i { background: var(--color-logipoint-soft); color: var(--color-logipoint); }

/* Заголовки секций */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header__title {
    font-size: 36px;
    margin-bottom: 12px;
}

.section-header__subtitle {
    font-size: 18px;
    color: #666;
}

.section-header__subtitle--narrow {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-header__eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.section-header__link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 48px;
}

/* Сетка продуктов */
.product-highlight {
    padding: 80px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
}

.product-card--featured {
    border: 2px solid #2563eb;
    transform: scale(1.05);
}

.product-card__icon {
    width: 48px;
    height: 48px;
    background: #e6f2ff;
    border-radius: 12px;
    margin-bottom: 16px;
	
	display: flex;          /* Включаем flexbox */
    justify-content: center; /* Выравниваем по горизонтали (по центру) */
    align-items: center;     /* Выравниваем по вертикали (по центру) */

}

.product-card__title {
    font-size: 20px;
    margin-bottom: 12px;
}

.product-card__description {
    color: #666;
    margin-bottom: 16px;
}

.product-card__features {
    list-style: none;
    margin-bottom: 20px;
    color: #4b5563;
    font-size: 14px;
}

.product-card__features li {
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.product-card__features li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.product-card__footer {
    margin-top: auto;
}

.product-grid--optidesk {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto 48px;
}

.product-grid--codelab-products {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1140px;
    margin: 0 auto 48px;
}

.product-grid--codelab-products .product-card--featured {
    transform: none;
}

.product-card--restapi {
    border-color: var(--color-restapi-soft);
}

.product-card--restapi.product-card--featured {
    border-color: var(--color-restapi);
}

.product-card--restapi .product-card__icon {
    background: var(--color-restapi-soft);
    color: var(--color-restapi);
}

.product-card--restapi .product-card__features li::before {
    color: var(--color-restapi);
}

.product-card--restapi.product-card--featured .btn--primary {
    background: var(--color-restapi);
}

.product-card--restapi.product-card--featured .btn--primary:hover {
    background: #5b21b6;
}

.product-card--restapi .btn--outline {
    border-color: var(--color-restapi);
    color: var(--color-restapi);
}

.product-card--restapi .btn--outline:hover {
    background: var(--color-restapi);
    color: #fff;
}

.section-header--nested-first {
    margin-top: 0;
}

.product-highlight__more {
    margin: 8px 0 0;
    text-align: center;
}

.product-highlight__more a {
    font-weight: 500;
    color: var(--color-codelab);
    text-decoration: none;
}

.product-highlight__more a:hover {
    color: var(--color-primary-hover);
}

.product-card--optidesk {
    border-color: var(--color-optidesk-soft);
}

.product-card--optidesk.product-card--featured {
    border-color: var(--color-optidesk);
}

.product-card--optidesk .product-card__icon {
    background: var(--color-optidesk-soft);
    color: var(--color-optidesk);
}

.product-card--optidesk .product-card__features li::before {
    color: var(--color-optidesk);
}

.product-card--bitpdfwriter {
    border-color: var(--color-bitpdf-soft);
}

.product-card--bitpdfwriter .product-card__icon {
    background: var(--color-bitpdf-soft);
    color: var(--color-bitpdf);
}

.product-card--bitpdfwriter .product-card__features li::before {
    color: var(--color-bitpdf);
}

.product-card__footer--split {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.section-header--nested {
    margin-top: 8px;
    margin-bottom: 28px;
}

.section-header__title--sm {
    font-size: 28px;
}

.product-card__link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

/* Карточки подразделений */
.divisions {
    padding: 80px 0;
}

.divisions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.divisions-grid--compact .division-card {
    padding: 28px 24px 24px;
    background: var(--color-surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top: 4px solid #e5e7eb;
}

.division-card--codelab { border-top-color: var(--color-codelab); }
.division-card--techspot { border-top-color: var(--color-techspot); }
.division-card--logipoint { border-top-color: var(--color-logipoint); }

.division-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.division-card--codelab .division-card__icon { background: var(--color-codelab-soft); color: var(--color-codelab); }
.division-card--techspot .division-card__icon { background: var(--color-techspot-soft); color: var(--color-techspot); }
.division-card--logipoint .division-card__icon { background: var(--color-logipoint-soft); color: var(--color-logipoint); }

.division-card__title {
    font-size: 24px;
    margin-bottom: 4px;
}

.division-card__badge {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.division-card__lead {
    font-size: 15px;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
}

.division-card__tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.division-card__tags li {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--color-surface-alt);
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.divisions-grid--compact .division-card .btn--full {
    margin-top: auto;
}

.trust {
    padding: 56px 0 72px;
}

.trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.trust__item {
    padding: 20px;
    background: var(--color-surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

.trust__value {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.trust__label {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.45;
}

.trust__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* Блок с системными блоками */
.products-showcase {
    padding: 80px 0;
}

.showcase-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-content__title {
    font-size: 36px;
    margin-bottom: 20px;
}

.showcase-content__description {
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 24px;
}

.showcase-content__list {
    list-style: none;
    margin-bottom: 32px;
}

.showcase-content__list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
}

.showcase-content__list li::before {
    content: "✓";
    color: var(--color-techspot);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.showcase-image__placeholder {
    background: #e5e7eb;
    height: 300px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}

.showcase-image__placeholder img {
    width: 100%;
    height: 100%; /* Растягиваем на всю высоту родителя */
    object-fit: cover; /* Изображение покроет всю площадь, сохраняя пропорции */
    display: block; /* Убираем возможный отступ снизу у inline-элементов */
}

/* Проекты */
.projects {
    padding: 80px 0;
    background: #f9fafb;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.project-card:hover {
    transform: translateY(-4px);
}

.project-card__edit {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    color: #605dff;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.project-card__edit:hover,
.project-card__edit:focus {
    background: #605dff;
    color: #fff;
    text-decoration: none;
    transform: scale(1.05);
}

.project-card__title-link {
    color: inherit;
    text-decoration: none;
}

.project-card__title-link:hover,
.project-card__title-link:focus {
    color: #2563eb;
    text-decoration: none;
}

.project-card__image--link {
    display: block;
    text-decoration: none;
}

.project-card__link--external {
    margin-left: 12px;
}

.project-card__image {
    height: 200px;
    background: #e5e7eb;
}

.project-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.project-card__tag {
    display: inline-block;
    padding: 4px 12px;
    background: #e6f2ff;
    color: #2563eb;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.project-card__title {
    font-size: 18px;
    margin-bottom: 8px;
}

.project-card__description {
    color: #666;
    font-size: 14px;
}

/* Контакты */
.contacts {
    padding: 80px 0;
}

.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contacts-info__title {
    font-size: 36px;
    margin-bottom: 16px;
}

.contacts-info__text {
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 32px;
}

.contacts-info__hint {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.55;
}

.contacts-info__hint a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.contacts-info__hint a:hover {
    text-decoration: underline;
}

.contacts-list {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.contact-item__label {
    width: 150px;
    color: #666;
}

.contact-item__value {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
}

.contact-item__value:hover {
    color: #2563eb;
}

.contacts-address {
    font-style: normal;
    color: #4b5563;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
}

/* Форма */
.callback-form {
    background: #f9fafb;
    padding: 32px;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #2563eb;
}

.form-note {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 16px;
}

/* Модальное окно */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.modal__content {
    position: relative;
    background: white;
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1001;
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.modal__title {
    font-size: 24px;
    margin-bottom: 24px;
}

/* Мобильное меню */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 99;
}

.mobile-menu__list {
    list-style: none;
}

.mobile-menu__list li {
    margin-bottom: 16px;
}

.mobile-menu__group-label {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.mobile-menu__sub {
    margin-bottom: 8px !important;
    padding-left: 12px;
}

.mobile-menu__sub a {
    font-size: 16px !important;
}

.mobile-menu__divider {
    height: 1px;
    margin: 8px 0 16px !important;
    background: #e5e7eb;
}

.mobile-menu__list a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    display: block;
    padding: 8px 0;
}

.mobile-menu__phone {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.mobile-menu__phone a {
    color: #2563eb;
    font-weight: 600;
}

/* Футер */
.site-footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

.footer-wrapper {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
}

.footer-logo {
    font-size: 32px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 16px;
}

.footer-copyright__text {
    color: #9ca3af;
    font-size: 14px;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-nav__title {
    color: white;
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-nav__list {
    list-style: none;
}

.footer-nav__list li {
    margin-bottom: 8px;
}

.footer-nav__list a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-nav__list a:hover {
    color: white;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero__aside {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-pill {
        flex: 1 1 calc(50% - 8px);
        min-width: 240px;
    }

    .product-grid,
    .divisions-grid,
    .projects-grid,
    .trust__grid,
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .main-nav,
    .header-contacts {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 56px 0 64px;
    }

    .hero__title {
        font-size: 36px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero-pill {
        flex: 1 1 100%;
    }

    .product-grid,
    .divisions-grid,
    .projects-grid,
    .trust__grid,
    .contacts-wrapper,
    .showcase-wrapper,
    .footer-nav,
    .services-grid,
    .solutions-grid,
    .directions-grid {
        grid-template-columns: 1fr;
    }

    .product-card--featured {
        transform: none;
    }

    .contact-item {
        flex-direction: column;
        gap: 4px;
    }

    .contact-item__label {
        width: auto;
    }

    .contacts-wrapper {
        gap: 30px;
    }

    .modal__content {
        padding: 30px 20px;
    }
}

/* Страницы направлений */
.division-page--codelab {
    --dp-accent: var(--color-codelab);
    --dp-accent-hover: #1d4ed8;
    --dp-soft: var(--color-codelab-soft);
    --dp-hero-bg: linear-gradient(135deg, #eff6ff 0%, #dbeafe 55%, #f8fafc 100%);
}

.division-page--techspot {
    --dp-accent: var(--color-techspot);
    --dp-accent-hover: #c2410c;
    --dp-soft: var(--color-techspot-soft);
    --dp-hero-bg: linear-gradient(135deg, #fff7ed 0%, #ffedd5 55%, #f8fafc 100%);
}

.division-page--logipoint {
    --dp-accent: var(--color-logipoint);
    --dp-accent-hover: #15803d;
    --dp-soft: var(--color-logipoint-soft);
    --dp-hero-bg: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 55%, #f8fafc 100%);
}

.division-page--optidesk {
    --dp-accent: var(--color-optidesk);
    --dp-accent-hover: #4f46e5;
    --dp-soft: var(--color-optidesk-soft);
    --dp-hero-bg: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 55%, #f8fafc 100%);
}

.division-page--bitpdfwriter {
    --dp-accent: var(--color-bitpdf);
    --dp-accent-hover: #9f1239;
    --dp-soft: var(--color-bitpdf-soft);
    --dp-hero-bg: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 55%, #f8fafc 100%);
}

.division-page--restapi {
    --dp-accent: var(--color-restapi);
    --dp-accent-hover: #5b21b6;
    --dp-soft: var(--color-restapi-soft);
    --dp-hero-bg: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 55%, #f8fafc 100%);
}

.division-page .btn--primary {
    background: var(--dp-accent);
}

.division-page .btn--primary:hover {
    background: var(--dp-accent-hover);
}

.division-page .btn--outline {
    border-color: var(--dp-accent);
    color: var(--dp-accent);
}

.division-page .btn--outline:hover {
    background: var(--dp-accent);
    color: #fff;
}

.division-page .section-header__eyebrow {
    color: var(--dp-accent);
}

.dp-hero {
    padding: 48px 0 56px;
    background: var(--dp-hero-bg);
}

.dp-hero__grid {
    display: block;
}

.dp-hero__main {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 40px;
    row-gap: 16px;
    align-items: end;
}

.dp-hero__back {
    grid-column: 1 / -1;
}

.dp-hero__badge,
.dp-hero__title,
.dp-hero__lead {
    grid-column: 1;
}

.dp-hero__stats {
    display: grid;
    gap: 12px;
    grid-column: 2;
    grid-row: 2 / span 3;
    align-self: end;
    min-width: 0;
    width: min(220px, 100%);
}

.dp-hero__actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dp-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    margin-bottom: 20px;
}

.dp-hero__back:hover {
    color: var(--dp-accent);
}

.dp-hero__badge {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--dp-soft);
    color: var(--dp-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.dp-hero__title {
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.1;
    margin-bottom: 16px;
}

.dp-hero__lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-muted);
    max-width: 640px;
    margin-bottom: 0;
}

.dp-hero__stat {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 16px 20px;
    backdrop-filter: blur(6px);
}

.dp-hero__stat strong {
    display: block;
    font-size: 22px;
    color: var(--dp-accent);
    margin-bottom: 4px;
}

.dp-hero__stat span {
    font-size: 13px;
    color: var(--color-text-muted);
}

.dp-section {
    padding: 72px 0;
}

.dp-section--alt {
    background: var(--color-surface-alt);
}

.dp-section--stack {
    padding-bottom: 56px;
}

.dp-feature-grid {
    display: grid;
    gap: 24px;
}

.dp-feature-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.dp-feature-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.dp-card {
    background: var(--color-surface);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-card);
    padding: 28px;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s, transform 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dp-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.dp-card--featured {
    border-color: var(--dp-accent);
    box-shadow: 0 0 0 1px var(--dp-accent), var(--shadow-card);
}

.dp-card--wide {
    grid-column: span 1;
}

.dp-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--dp-soft);
    color: var(--dp-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 16px;
}

.dp-card__title {
    font-size: 20px;
    margin-bottom: 10px;
}

.dp-card__text {
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.55;
}

.dp-card__label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--dp-accent);
    margin: 12px 0 8px;
}

.dp-card__tag {
    display: inline-block;
    margin-top: auto;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: var(--dp-soft);
    color: var(--dp-accent);
}

.dp-card__list {
    list-style: none;
    margin-bottom: 16px;
}

.dp-card__list li {
    padding: 6px 0 6px 22px;
    position: relative;
    color: #374151;
    font-size: 15px;
    line-height: 1.45;
}

.dp-card__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--dp-accent);
    font-weight: 700;
    font-size: 13px;
}

.dp-card__list--compact li {
    padding-top: 4px;
    padding-bottom: 4px;
}

.dp-products-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: 32px;
    padding: 24px 28px;
    border-radius: var(--radius-card);
    border: 1px solid var(--color-codelab-soft, #fed7aa);
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.06) 0%, rgba(234, 88, 12, 0.02) 100%);
}

.dp-products-cta__text {
    margin: 0;
    max-width: 560px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.dp-products-cta--optidesk {
    border-color: var(--color-optidesk-soft);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(99, 102, 241, 0.02) 100%);
}

.dp-products-cta--restapi {
    border-color: #ddd6fe;
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.08) 0%, rgba(109, 40, 217, 0.02) 100%);
}

.dp-products-cta--bitpdfwriter {
    border-color: var(--color-bitpdf-soft);
    background: linear-gradient(135deg, rgba(190, 18, 60, 0.08) 0%, rgba(190, 18, 60, 0.02) 100%);
}

.dp-products-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.dp-card--case {
    padding: 28px 32px;
}

.dp-card__footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.dp-card__tag--muted {
    background: #f3f4f6;
    color: var(--color-text-muted);
}

.dp-card__highlight {
    margin-top: 16px;
    padding: 16px;
    border-radius: 12px;
    background: var(--color-surface-alt);
    border-left: 3px solid var(--dp-accent);
}

.dp-card__highlight h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.dp-card__highlight p {
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.dp-card__price {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
    color: var(--color-text-muted);
}

.dp-card__price strong {
    font-size: 20px;
    color: var(--dp-accent);
}

.dp-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.dp-stack__item {
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--color-surface);
    border: 1px solid #e5e7eb;
    font-weight: 500;
    font-size: 14px;
}

.division-page--codelab .dp-stack__item {
    border-color: #bfdbfe;
    color: var(--color-codelab);
}

.division-page--techspot .dp-stack__item {
    border-color: #fed7aa;
    color: var(--color-techspot);
}

.division-page--logipoint .dp-stack__item {
    border-color: #bbf7d0;
    color: var(--color-logipoint);
}

.logipoint-inside {
    margin-bottom: 1.25rem;
}

.logipoint-stack {
    justify-content: center;
}

.logipoint-steps {
    margin-bottom: 1rem;
}

.logipoint-article-list {
    max-width: 48rem;
}

.logipoint-cta-secondary {
    padding-bottom: 2.5rem;
}

.division-page--optidesk .dp-stack__item {
    border-color: var(--color-optidesk-soft);
    color: var(--color-optidesk);
}

.division-page--bitpdfwriter .dp-stack__item {
    border-color: var(--color-bitpdf-soft);
    color: var(--color-bitpdf);
}

.division-page--restapi .dp-stack__item {
    border-color: #ddd6fe;
    color: #6d28d9;
}

.dp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.dp-pricing-card {
    position: relative;
    background: var(--color-surface);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-card);
    padding: 32px 28px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.dp-pricing-card--featured {
    border: 2px solid var(--dp-accent);
    transform: scale(1.03);
}

.dp-pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dp-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
}

.dp-pricing-card__title {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--dp-accent);
}

.dp-pricing-card__desc {
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-size: 15px;
}

.dp-pricing-card__price {
    font-size: 28px;
    font-weight: 700;
    margin-top: 16px;
}

.dp-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dp-step {
    background: var(--color-surface);
    border-radius: var(--radius-card);
    padding: 24px 20px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.dp-step__num {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--dp-soft);
    color: var(--dp-accent);
    font-weight: 700;
    margin-bottom: 12px;
}

.dp-step__title {
    font-size: 17px;
    margin-bottom: 8px;
}

.dp-step p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.dp-cta {
    padding: 0 0 72px;
}

.dp-cta__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 48px;
    border-radius: var(--radius-card);
    background: var(--dp-hero-bg);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.dp-cta__title {
    font-size: 26px;
    margin-bottom: 8px;
}

.dp-cta__text {
    color: var(--color-text-muted);
    max-width: 520px;
    line-height: 1.55;
}

.dp-cta__btn {
    flex-shrink: 0;
}

.careers-banner__inner--division {
    margin-bottom: 0;
}

.division-hub-note {
    margin-top: 32px;
    text-align: center;
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.55;
}

.division-hub-note a:not(.btn) {
    color: var(--color-codelab);
    font-weight: 500;
    text-decoration: none;
}

.division-hub-note a:not(.btn):hover {
    text-decoration: underline;
}

.dp-section--compact {
    padding-top: 0;
    padding-bottom: 32px;
}

.dp-callout {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid #fcd34d;
    background: #fffbeb;
}

.dp-callout--disclosure {
    display: block;
    padding: 0;
    margin-bottom: 32px;
    overflow: hidden;
}

.dp-callout--disclosure .dp-callout__trigger {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.dp-callout--disclosure .dp-callout__trigger::-webkit-details-marker {
    display: none;
}

.dp-callout--disclosure .dp-callout__icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
    margin: 0;
}

.dp-callout--disclosure .dp-callout__summary-text {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: #92400e;
    line-height: 1.4;
}

.dp-callout--disclosure .dp-callout__trigger::after {
    content: "+";
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fef3c7;
    color: #b45309;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    transition: transform 0.2s ease;
}

.dp-callout--disclosure[open] .dp-callout__trigger::after {
    content: "−";
}

.dp-callout--disclosure .dp-callout__body {
    padding: 0 18px 18px 68px;
    border-top: 1px solid #fde68a;
}

.dp-callout--disclosure .dp-callout__title {
    padding-top: 16px;
}

@media (max-width: 640px) {
    .dp-callout--disclosure .dp-callout__body {
        padding-left: 18px;
    }
}

.dp-callout--warning {
    border-color: #fbbf24;
}

.dp-callout__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fef3c7;
    color: #b45309;
    font-size: 18px;
}

.dp-callout__title {
    font-size: 18px;
    margin-bottom: 10px;
}

.dp-callout__body p {
    color: #78350f;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.55;
}

.dp-callout__body p:last-child {
    margin-bottom: 0;
}

.dp-callout__note {
    font-size: 14px;
    opacity: 0.9;
}

.dp-pre {
    margin: 0 0 16px;
    padding: 16px;
    border-radius: 10px;
    background: #1e293b;
    color: #e2e8f0;
    font-size: 13px;
    line-height: 1.5;
    overflow-x: auto;
    white-space: pre;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.dp-card--diagram .dp-card__list {
    margin-top: 16px;
}

.dp-card__list--mono li {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 14px;
}

.dp-card__list--check li::before {
    content: "✓";
    color: var(--dp-accent);
    font-weight: bold;
    margin-right: 8px;
}

.dp-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 820px;
}

.dp-faq__item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    padding: 0 20px;
}

.dp-faq__item summary {
    cursor: pointer;
    font-weight: 600;
    padding: 16px 0;
    list-style: none;
}

.dp-faq__item summary::-webkit-details-marker {
    display: none;
}

.dp-faq__item p {
    padding-bottom: 16px;
    color: var(--color-text-muted);
    line-height: 1.55;
}

@media (max-width: 992px) {
    .product-grid--codelab-products {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}

.dp-section--shop {
    padding-top: 48px;
    padding-bottom: 56px;
}

.techspot-shop-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 32px 36px;
    border-radius: var(--radius-card);
    border: 1px dashed #fed7aa;
    background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
}

.techspot-shop-banner__title {
    font-size: 22px;
    margin: 8px 0 10px;
}

.techspot-shop-banner__text {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.55;
    max-width: 640px;
}

.techspot-shop-banner__actions {
    flex-shrink: 0;
}

.techspot-bitkassa-lead {
    max-width: 42rem;
    margin: 0 auto 1.5rem;
}

.division-page--techspot .techspot-bitkassa-card .dp-card__footer-row {
    margin-top: 12px;
}

.techspot-pc-trust {
    margin-bottom: 1.5rem;
    border-color: #fdba74;
    background: linear-gradient(135deg, #fff7ed 0%, #fff 100%);
}

.techspot-pc-trust .dp-card__title {
    color: #9a3412;
}

.techspot-pc-questions {
    margin-bottom: 2rem;
}

.section-header--compact {
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
}

.section-header__title--sm {
    font-size: 1.25rem;
}

.techspot-pc-cta-link {
    font-weight: 600;
}

.techspot-pc-catalog {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: 1.75rem;
    padding: 20px 22px;
    border: 1px solid #fdba74;
    border-radius: var(--radius-card);
    background: #fff;
}

.techspot-pc-catalog__title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #9a3412;
}

.techspot-pc-catalog__text {
    margin: 0;
    max-width: 52rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--color-text-muted);
}

.techspot-pc-catalog__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.showcase-content__shop-link {
    margin-top: 12px;
}

@media (max-width: 768px) {
    .techspot-shop-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
}

/* Flash-сообщения */
.site-flash {
    padding: 14px 0;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}

.site-flash--success {
    background: #ecfdf5;
    color: #065f46;
    border-bottom: 1px solid #a7f3d0;
}

.site-flash--error {
    background: #fef2f2;
    color: #991b1b;
    border-bottom: 1px solid #fecaca;
}

/* Партнёры и клиенты */
.partners-clients {
    padding: 72px 0;
    background: var(--color-surface);
}

.partners-clients__block--clients {
    margin-top: 56px;
    padding-top: 56px;
    border-top: 1px solid #e5e7eb;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    min-height: 132px;
    padding: 20px 16px 16px;
    border-radius: var(--radius-card);
    border: 1px solid #e5e7eb;
    background: var(--color-surface);
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.partner-card__logo {
    display: block;
    max-width: 100%;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
}

a.partner-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
    text-decoration: none;
}

.partner-card--codelab { border-top: 3px solid var(--color-codelab); }
.partner-card--techspot { border-top: 3px solid var(--color-techspot); }
.partner-card--logipoint { border-top: 3px solid var(--color-logipoint); }

a.partner-card--logipoint:hover {
    border-color: var(--color-logipoint-soft);
}

.partner-card__name {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text);
    margin-bottom: 8px;
}

.partner-card__role {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.clients-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 20px;
    margin: 0;
    padding: 0;
}

.client-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px;
    border-radius: var(--radius-card);
    background: var(--color-surface-alt);
    border: 1px solid #e5e7eb;
}

.client-card__name {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-text);
}

.client-card__desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.partners-clients__more {
    text-align: center;
    margin-top: 28px;
    font-size: 15px;
}

.partners-clients__more a {
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: none;
}

.partners-clients__more a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .partners-grid,
    .clients-grid {
        grid-template-columns: 1fr;
    }

    .partners-clients {
        padding: 56px 0;
    }
}

@media (max-width: 992px) {
    .dp-hero__main {
        grid-template-columns: 1fr;
    }

    .dp-hero__stats {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 20px;
        margin-bottom: 4px;
    }

    .dp-hero__stat {
        padding: 12px 10px;
    }

    .dp-hero__stat strong {
        font-size: clamp(17px, 4.8vw, 22px);
        white-space: nowrap;
    }

    .dp-hero__stat span {
        font-size: 11px;
        line-height: 1.3;
    }

    .dp-feature-grid--2,
    .dp-feature-grid--3,
    .dp-pricing-grid,
    .dp-steps {
        grid-template-columns: 1fr;
    }

    .dp-pricing-card--featured {
        transform: none;
    }

    .dp-cta__box {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }
}

@media (max-width: 640px) {
    .dp-hero__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .dp-hero__stat {
        padding: 10px 6px;
        text-align: center;
    }

    .dp-hero__stat strong {
        font-size: 16px;
    }

    .dp-hero__stat span {
        font-size: 10px;
    }

    .dp-section {
        padding: 56px 0;
    }
}

/* Ошибки формы */
.help-block {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
    margin-bottom: 0;
}

.has-error .form-control {
    border-color: #dc2626;
}

/* Страница проектов */
.projects-page {
    padding-bottom: 60px;
}

.page-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f2ff 100%);
    padding: 60px 0;
    text-align: center;
}

.page-hero__title {
    font-size: 48px;
    margin-bottom: 16px;
}

.page-hero__subtitle {
    font-size: 20px;
    color: #4b5563;
}

/* Фильтр проектов */
.projects-filter {
    padding: 40px 0;
    border-bottom: 1px solid #e5e7eb;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tab:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.filter-tab.active {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

/* Категории проектов */
.project-category {
    margin-bottom: 60px;
}

.project-category:last-child {
    margin-bottom: 0;
}

.project-category__title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    font-size: 28px;
}

.project-category__badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    color: white;
    font-size: 16px;
    font-weight: 500;
}

/* Карточка проекта (обновленная) */
.project-card {
    position: relative;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.project-card__image {
    height: 220px;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    position: relative;
}

.project-card__content {
    padding: 24px;
}

.project-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.project-card__date {
    color: #666;
    font-size: 14px;
}

.project-card__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-card__tag {
    padding: 4px 12px;
    background: #f3f4f6;
    border-radius: 20px;
    font-size: 12px;
    color: #4b5563;
}

.project-card__title {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.project-card__description {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.project-card__description--html ul,
.project-card__description--html ol {
    margin: 0.5rem 0 1rem;
    padding-left: 1.25rem;
}

.project-card__description--html p {
    margin: 0 0 0.75rem;
}

.project-card__description--html h3,
.project-card__description--html h4 {
    margin: 0 0 0.5rem;
    font-size: 15px;
    color: #333;
}

.project-card__link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.project-card__link:hover {
    text-decoration: underline;
}

.projects-grid .project-card__description {
    flex: 1;
    margin-bottom: 0;
}

.project-card__footer {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}

.project-card__footer .project-card__link--external {
    margin-left: 0;
}

/* Страница одного проекта */
.project-page__hero {
    padding: 40px 0 32px;
    background: linear-gradient(180deg, var(--color-surface-alt) 0%, var(--color-surface) 100%);
    border-bottom: 1px solid #e5e7eb;
}

.project-page__hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.project-page__back {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
}

.project-page__back:hover {
    color: var(--color-primary);
}

.project-page__edit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--radius-btn);
    border: 1px solid #e5e7eb;
    background: var(--color-surface);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
}

.project-page__edit:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.project-page__hero-body {
    max-width: 780px;
}

.project-page__badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--project-accent) 12%, white);
    color: var(--project-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.project-page__title {
    margin: 0 0 16px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    font-weight: 700;
    color: var(--color-text);
}

.project-page__lead {
    margin: 0;
    max-width: 680px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.project-page__cover {
    padding: 32px 0 0;
    background: var(--color-surface);
}

.project-page__figure {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-card);
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-card);
    background: #111;
}

.project-page__cover-img {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    object-position: center;
}

.project-page__content {
    padding: 40px 0 72px;
    background: var(--color-surface);
}

.project-page__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
    align-items: start;
}

.project-page__article {
    font-size: 17px;
    line-height: 1.75;
    color: #374151;
}

.project-page__article.project-card__description--html > p:first-child {
    font-size: 18px;
    color: var(--color-text);
}

.project-page__meta-card {
    position: sticky;
    top: 24px;
    padding: 24px;
    border-radius: var(--radius-card);
    border: 1px solid #e5e7eb;
    background: var(--color-surface-alt);
}

.project-page__meta-title {
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
}

.project-page__meta-list {
    margin: 0 0 20px;
}

.project-page__meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.project-page__meta-row:last-child {
    border-bottom: 0;
}

.project-page__meta-row dt {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-muted);
}

.project-page__meta-row dd {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    color: var(--color-text);
}

.project-page__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-page__tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--color-surface);
    border: 1px solid #e5e7eb;
    font-size: 12px;
    font-weight: 500;
    color: #4b5563;
}

.project-page__aside-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-page__external {
    margin: 16px 0 0;
    font-size: 14px;
}

.project-page__external a {
    color: var(--color-primary);
    text-decoration: none;
}

.project-page__external a:hover {
    text-decoration: underline;
}

.project-page__related {
    padding: 0 0 56px;
    background: var(--color-surface-alt);
}

.projects-grid--related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-page__cta {
    margin-top: 0;
}

.section-header--left {
    text-align: left;
    margin-bottom: 28px;
}

.section-header--left .section-header__title {
    margin-bottom: 0;
}

.project-page--techspot .project-page__hero {
    background: linear-gradient(180deg, var(--color-techspot-soft) 0%, var(--color-surface) 100%);
}

.project-page--codelab .project-page__hero {
    background: linear-gradient(180deg, var(--color-codelab-soft) 0%, var(--color-surface) 100%);
}

.project-page--logipoint .project-page__hero {
    background: linear-gradient(180deg, var(--color-logipoint-soft) 0%, var(--color-surface) 100%);
}

@media (max-width: 992px) {
    .project-page__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .project-page__meta-card {
        position: static;
    }

    .projects-grid--related {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .project-page__hero {
        padding: 28px 0 24px;
    }

    .project-page__hero-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-page__lead {
        font-size: 16px;
    }

    .project-page__content {
        padding: 28px 0 56px;
    }

    .projects-grid--related {
        grid-template-columns: 1fr;
    }
}

/* CTA блок */
.cta-section {
    padding: 80px 0;
    background: #f9fafb;
    margin-top: 60px;
}

.cta-block {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-block__title {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-block__text {
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 32px;
}

.btn--large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Адаптивность для страницы проектов */
@media (max-width: 768px) {
    .page-hero__title {
        font-size: 36px;
    }

    .page-hero__subtitle {
        font-size: 18px;
    }

    .filter-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-tab {
        text-align: center;
    }

    .project-category__title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cta-block__title {
        font-size: 28px;
    }
}

section.development-directions, section.services, section.solutions, section.contacts-details, section.projects-list, section.about-content {
	padding-top: 48px;
}

/* Страница «О компании» */
.about-page {
    padding-bottom: 60px;
    background: #fff;
}

.about-content {
    padding-bottom: 80px;
}

.about-content__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

.about-content__main {
    font-size: 17px;
    line-height: 1.7;
    color: #374151;
}

.about-content__main > p {
    margin-bottom: 20px;
}

.about-section-title {
    font-size: 28px;
    margin: 40px 0 20px;
    text-align: left;
    color: #1a1a1a;
}

.about-list {
    margin: 0 0 8px 20px;
    color: #4b5563;
}

.about-list li {
    margin-bottom: 10px;
}

.about-content__aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.about-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
}

.about-card__title {
    font-size: 18px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.about-card__phone {
    font-size: 22px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.about-card__phone:hover {
    text-decoration: underline;
}

.about-entity {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.about-entity:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.about-entity__name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a1a1a;
}

.about-entity__inn,
.about-entity__address,
.about-entity__note {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 4px;
}

.about-entity__note {
    color: #2563eb;
    font-style: italic;
}

.about-office {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.about-office:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.about-office__name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a1a1a;
}

.about-office__address {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.about-office__note {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 4px;
}

.contacts-info__note {
    font-size: 14px;
    color: #6b7280;
    margin: -4px 0 20px;
    padding-left: 132px;
}

.contacts-info__note--lead {
    padding-left: 0;
    margin: 20px 0;
    line-height: 1.55;
}

.contacts-local {
    margin-top: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: var(--color-surface-alt);
}

.contacts-local__summary {
    padding: 14px 18px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.contacts-local__summary::-webkit-details-marker {
    display: none;
}

.contacts-local__body {
    padding: 0 18px 18px;
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.55;
}

.contacts-local__name {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.contacts-local__map {
    display: inline-block;
    margin-top: 10px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.contacts-local__map:hover {
    text-decoration: underline;
}

.section-title--page {
    margin-bottom: 32px;
}

/* Страница контактов */
.contacts-page {
    padding-bottom: 60px;
    background: #fff;
}

.contacts-details {
    padding-bottom: 60px;
}

.contacts-details__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contacts-info__title {
    font-size: 22px;
    margin: 32px 0 16px;
}

.contacts-info__title:first-of-type {
    margin-top: 0;
}

.contacts-info__item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.contacts-info__item--phone {
    border-bottom: none;
    padding-bottom: 24px;
    margin-bottom: 8px;
}

.contacts-info__label {
    flex: 0 0 120px;
    color: #6b7280;
    font-size: 14px;
}

.contacts-info__value {
    color: #1a1a1a;
    text-decoration: none;
    font-style: normal;
}

.contacts-info__value--large {
    font-size: 24px;
    font-weight: 600;
    color: #2563eb;
}

.contacts-departments {
    margin-top: 32px;
}

.contacts-departments__title {
    font-size: 18px;
    margin-bottom: 16px;
}

.department-item {
    margin-bottom: 16px;
}

.department-item__title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.department-item a {
    color: #2563eb;
    text-decoration: none;
}

.contacts-form-wrapper .contact-form {
    background: #f9fafb;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

.contacts-form__title {
    font-size: 22px;
    margin-bottom: 24px;
}

.map-section {
    padding-bottom: 60px;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 992px) {
    .about-content__grid,
    .contacts-details__grid {
        grid-template-columns: 1fr;
    }

    .about-content__aside {
        position: static;
    }

    .contacts-info__note {
        padding-left: 0;
    }
}

.careers-banner {
    padding: 56px 0;
}

.careers-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px;
    background: linear-gradient(135deg, #fff7ed 0%, #eff6ff 100%);
    border-radius: var(--radius-card);
    border: 1px solid #e2e8f0;
}

.careers-banner__eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-logipoint);
    margin-bottom: 8px;
}

.careers-banner__title {
    font-size: 28px;
    margin-bottom: 12px;
}

.careers-banner__text {
    color: var(--color-text-muted);
    max-width: 560px;
}

.careers-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

.careers-inline {
    padding: 48px 0 64px;
}

.careers-inline__box {
    text-align: center;
    padding: 40px;
    background: var(--color-surface-alt);
    border-radius: var(--radius-card);
    border: 1px solid #e2e8f0;
}

.careers-inline__box p {
    max-width: 560px;
    margin: 12px auto 24px;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .careers-banner__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }

    .careers-banner__actions {
        width: 100%;
    }

    .careers-banner__actions .btn {
        flex: 1 1 auto;
        text-align: center;
    }
}

/* Blog */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 920px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: var(--color-surface);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.blog-card--with-cover {
    flex-direction: row;
}

.blog-card__cover-link {
    flex: 0 0 280px;
    display: block;
    line-height: 0;
}

.blog-card__cover {
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
}

.blog-card__body {
    padding: 28px 32px;
    flex: 1;
}

.blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-bottom: 8px;
}

.blog-card__division {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}

.blog-card__division--codelab {
    background: #e6f2ff;
    color: #1d4ed8;
}

.blog-card__division--techspot {
    background: #ecfdf5;
    color: #047857;
}

.blog-card__division--logipoint {
    background: #fff7ed;
    color: #c2410c;
}

.blog-card__division--bit-crm-cdek {
    background: #ecfdf3;
    color: #047857;
}

.blog-article__cover-wrap {
    max-height: 420px;
    overflow: hidden;
    background: #0f172a;
}

.blog-article__cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.blog-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-bottom: 12px;
}

.blog-article__meta .blog-article__date {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .blog-card--with-cover {
        flex-direction: column;
    }

    .blog-card__cover-link {
        flex: none;
    }

    .blog-card__cover {
        min-height: 180px;
        max-height: 220px;
    }
}

.blog-card__date {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.blog-card__title {
    font-size: 1.35rem;
    margin: 0 0 12px;
}

.blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.blog-card__title a:hover {
    color: var(--color-primary);
}

.blog-card__excerpt {
    color: var(--color-text-muted);
    margin: 0 0 12px;
}

.blog-card__more {
    font-weight: 500;
}

.blog-card__tags,
.blog-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.blog-article__tags {
    margin-top: 8px;
    margin-bottom: 16px;
}

.blog-toolbar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
    padding: 20px 22px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-card);
}

.blog-search__label,
.blog-filters__label,
.blog-tags-block__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.blog-search__row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.blog-search__input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-btn);
    font: inherit;
    background: #fff;
}

.blog-search__input:focus {
    outline: 2px solid rgba(37, 99, 235, 0.35);
    border-color: var(--color-primary);
}

.blog-filters__chips,
.blog-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-chip,
.blog-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: var(--color-text);
    font-size: 0.875rem;
    line-height: 1.3;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.blog-chip:hover,
.blog-tag:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.blog-chip--active,
.blog-tag--active {
    border-color: var(--color-primary);
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-primary);
    font-weight: 600;
}

.blog-tag--sm {
    font-size: 0.75rem;
    padding: 4px 10px;
}

.blog-tag__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 5px;
    border-radius: 999px;
    background: #e2e8f0;
    color: var(--color-text-muted);
    font-size: 0.6875rem;
    font-weight: 700;
}

.blog-tag--active .blog-tag__count {
    background: rgba(37, 99, 235, 0.15);
    color: var(--color-primary);
}

.blog-hero__eyebrow {
    margin: 0 0 12px;
    font-size: 0.9375rem;
}

.blog-hero__eyebrow a {
    color: var(--color-primary);
    text-decoration: none;
}

.blog-hero__eyebrow a:hover {
    text-decoration: underline;
}

.blog-empty {
    color: var(--color-text-muted);
    padding: 24px 0;
}

@media (max-width: 640px) {
    .blog-search__row {
        flex-direction: column;
    }

    .blog-search__btn {
        width: 100%;
    }
}

.blog-article__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.blog-article__date {
    display: block;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.blog-article__body {
    max-width: 760px;
}

.blog-article__rating {
    max-width: 760px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.blog-article__rating-label {
    margin: 0 0 12px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.blog-article__rating-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-article__rating-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font: inherit;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.blog-article__rating-btn:hover:not(:disabled) {
    border-color: #94a3b8;
    background: #f8fafc;
}

.blog-article__rating-btn:active:not(:disabled) {
    transform: scale(0.98);
}

.blog-article__rating-btn:disabled {
    cursor: default;
    opacity: 0.85;
}

.blog-article__rating-btn.is-active.blog-article__rating-btn--up {
    border-color: #16a34a;
    background: #f0fdf4;
    color: #15803d;
}

.blog-article__rating-btn.is-active.blog-article__rating-btn--down {
    border-color: #dc2626;
    background: #fef2f2;
    color: #b91c1c;
}

.blog-article__rating-count {
    min-width: 1ch;
    font-size: 0.9rem;
    font-weight: 600;
}

.blog-article__rating-note {
    margin: 10px 0 0;
    font-size: 0.875rem;
    color: #64748b;
}

.blog-article__rating-note.is-hidden {
    display: none;
}

.blog-article__rating.is-busy {
    opacity: 0.7;
    pointer-events: none;
}

.blog-article__body .blog-article__shot {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 16px 0 8px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-card);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

@media (min-width: 768px) {
    .blog-article__body .blog-article__shot {
        width: 66.666%;
        max-width: 66.666%;
        margin-left: auto;
        margin-right: auto;
    }
}

.blog-article__body .blog-article__note {
    margin: 12px 0 16px;
    padding: 12px 16px;
    border-left: 4px solid #f59e0b;
    background: #fffbeb;
    border-radius: 0 var(--radius-card) var(--radius-card) 0;
    font-size: 0.95rem;
    line-height: 1.55;
}

.blog-article__body .blog-article__note--esp {
    border-left-color: #0d9488;
    background: #f0fdfa;
}

.blog-article__body .blog-article__cta--esp {
    margin: 20px 0 24px;
    padding: 20px 22px;
    border: 1px solid #99f6e4;
    border-radius: var(--radius-card);
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
}

.blog-article__body .blog-article__cta--esp h3 {
    margin: 0 0 12px;
    font-size: 1.15rem;
    line-height: 1.35;
    color: #0f766e;
}

.blog-article__body .blog-article__cta--esp p,
.blog-article__body .blog-article__cta--esp ol {
    margin: 0 0 12px;
}

.blog-article__body .blog-article__cta--esp ol {
    padding-left: 1.25rem;
}

.blog-article__body .blog-article__cta--esp li + li {
    margin-top: 6px;
}

.blog-article__body .blog-article__cta--esp p:last-child {
    margin-bottom: 0;
}

.blog-article__body .blog-article__note--atol {
    border-left-color: #2563eb;
    background: #eff6ff;
}

.blog-article__body .blog-article__cta--atol {
    margin: 20px 0 24px;
    padding: 20px 22px;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-card);
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
}

.blog-article__body .blog-article__cta--atol h3 {
    margin: 0 0 12px;
    font-size: 1.15rem;
    line-height: 1.35;
    color: #1d4ed8;
}

.blog-article__body .blog-article__cta--atol p {
    margin: 0 0 12px;
}

.blog-article__body .blog-article__cta-grid {
    display: grid;
    gap: 14px;
    margin: 16px 0;
}

@media (min-width: 768px) {
    .blog-article__body .blog-article__cta-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.blog-article__body .blog-article__cta-card {
    margin: 0;
    padding: 16px;
    border: 1px solid #dbeafe;
    border-radius: var(--radius-card);
    background: #fff;
}

.blog-article__body .blog-article__cta-card--featured {
    border-color: #93c5fd;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.blog-article__body .blog-article__cta-card h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: #1e3a8a;
}

.blog-article__body .blog-article__cta-card p {
    margin: 0 0 10px;
    font-size: 0.92rem;
}

.blog-article__body .blog-article__cta-btn {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #2563eb;
    border-radius: 8px;
    color: #1d4ed8;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.blog-article__body .blog-article__cta-btn--primary {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.blog-article__body .blog-article__cta-btn:hover {
    opacity: 0.92;
}

.blog-article__body .blog-article__cta--sdek-atol {
    margin: 20px 0 24px;
    padding: 20px 22px;
    border: 1px solid #86efac;
    border-radius: var(--radius-card);
    background: linear-gradient(135deg, #ecfdf5 0%, #f8fafc 100%);
}

.blog-article__body .blog-article__cta--sdek-atol h3 {
    margin: 0 0 12px;
    font-size: 1.15rem;
    line-height: 1.35;
    color: #047857;
}

.blog-article__body .blog-article__cta--sdek-atol p {
    margin: 0 0 12px;
}

.blog-article__body .blog-article__cta--sdek-atol p:last-child {
    margin-bottom: 0;
}

.blog-article__body .blog-article__cta--sdek-atol ul {
    margin: 0 0 14px;
    padding-left: 1.25rem;
}

.blog-article__body .blog-article__cta--sdek-atol li + li {
    margin-top: 6px;
}

.blog-article__body .blog-article__cta--sdek-atol .blog-article__cta-btn + .blog-article__cta-btn {
    margin-left: 8px;
}

.blog-article__body .blog-article__cta--sdek-atol .blog-article__cta-btn--primary {
    background: #059669;
    border-color: #059669;
    color: #fff;
}

.blog-article__note--sdek-atol {
    border-left-color: #10b981;
    background: #ecfdf5;
}

.bitcrm-sdek-atol__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 0;
}

.blog-list--compact .blog-card--compact {
    padding: 16px 20px;
    flex-direction: column;
}

.blog-list--compact .blog-card--compact .blog-card__body {
    padding: 0;
}

.blog-list--compact .blog-card__title {
    font-size: 1.05rem;
    margin: 0;
}

.dp-list {
    margin: 0;
    padding-left: 1.2rem;
}

.dp-list li {
    margin-bottom: 0.5rem;
}

.dp-code-block {
    margin-top: 24px;
}

.dp-code-block pre {
    margin: 0;
    padding: 20px;
    background: #1e293b;
    color: #e2e8f0;
    border-radius: var(--radius-card);
    overflow-x: auto;
    font-size: 0.82rem;
    line-height: 1.5;
}

.dp-card__link {
    display: inline-block;
    margin-top: 12px;
    font-weight: 500;
    color: var(--dp-accent);
}

.dp-card__link:hover {
    color: var(--dp-accent-hover);
}

/* REST API — документация */
.rad-doc {
    max-width: 100%;
}

.rad-doc__panel {
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--color-surface);
}

.rad-doc__heading {
    margin: 0;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--dp-soft);
    border-bottom: 1px solid #e2e8f0;
    color: var(--color-text);
}

.rad-doc__body {
    padding: 20px 24px 24px;
}

.rad-doc__body > p {
    margin: 0 0 12px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.rad-doc__subheading {
    margin: 24px 0 12px;
    font-size: 1rem;
    font-weight: 600;
}

.rad-doc__subheading:first-child {
    margin-top: 0;
}

.rad-doc__list {
    margin: 0 0 16px;
    padding-left: 1.25rem;
    color: var(--color-text-muted);
}

.rad-doc__list li {
    margin-bottom: 8px;
}

.rad-doc__note {
    margin-top: 16px;
    padding: 14px 16px;
    background: var(--dp-soft);
    border-radius: 10px;
    font-size: 0.925rem;
}

.rad-doc__hint {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 8px 0 0;
}

.rad-doc__pre {
    margin: 12px 0 20px;
    padding: 16px 18px;
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 0.82rem;
    line-height: 1.55;
}

.rad-doc__pre code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    white-space: pre;
}

.rad-doc__pre--json code {
    color: #cbd5e1;
}

.rad-doc__table-wrap {
    overflow-x: auto;
    margin: 12px 0 20px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.rad-doc__table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.rad-doc__table th,
.rad-doc__table td {
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #eef2f7;
}

.rad-doc__table th {
    background: var(--dp-soft);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--color-text-muted);
}

.rad-doc__table tbody tr:last-child td {
    border-bottom: none;
}

.rad-doc__table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.rad-doc__table code {
    font-size: 0.8rem;
    word-break: break-word;
}

.rad-api-examples {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rad-api-example {
    padding: 22px 24px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-card);
    background: var(--color-surface);
}

.rad-api-example__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-bottom: 10px;
}

.rad-api-example__title {
    margin: 0;
    font-size: 1.15rem;
}

.rad-api-example__lead {
    margin: 0 0 16px;
    color: var(--color-text-muted, #64748b);
    font-size: 0.95rem;
    line-height: 1.55;
}

.rad-api-example__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 767px) {
    .rad-api-example__grid {
        grid-template-columns: 1fr;
    }
}

.rad-api-example__label {
    margin: 0 0 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-muted, #64748b);
}

.rad-api-example__col .rad-doc__pre {
    margin: 0;
    max-height: 320px;
    overflow: auto;
}

.rad-api-example__footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.rad-api-example__errors {
    margin: 0 0 12px;
    font-size: 0.92rem;
    color: var(--color-text-muted, #64748b);
    line-height: 1.55;
}

.rad-api-example__articles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    font-size: 0.95rem;
}

.rad-api-example__articles-label {
    color: var(--color-text-muted, #64748b);
}

.rad-api-example__articles a {
    font-weight: 500;
    color: var(--dp-accent);
}

.rad-api-example__articles a:hover {
    color: var(--dp-accent-hover);
}

.rad-api-example__sep {
    color: #cbd5e1;
}

.rad-method {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.rad-method--post { background: #dbeafe; color: #1d4ed8; }
.rad-method--get { background: #dcfce7; color: #15803d; }
.rad-method--put { background: #fef3c7; color: #b45309; }
.rad-method--delete { background: #fee2e2; color: #b91c1c; }
.rad-method--warn { background: #fef3c7; color: #b45309; }

@media (max-width: 768px) {
    .rad-doc__body {
        padding: 16px;
    }

    .rad-doc__heading {
        padding: 14px 16px;
        font-size: 1rem;
    }
}

/* REST API changelog */
.rad-changelog {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rad-changelog__item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
}

.rad-changelog__item summary {
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 500;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rad-changelog__item summary::-webkit-details-marker {
    display: none;
}

.rad-changelog__item[open] summary {
    border-bottom: 1px solid #e2e8f0;
    background: var(--dp-soft);
}

.rad-changelog__ver {
    font-weight: 700;
    color: var(--dp-accent);
    font-family: ui-monospace, monospace;
}

.rad-changelog__date {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.rad-changelog__item ul {
    margin: 0;
    padding: 12px 16px 16px 36px;
    color: var(--color-text-muted);
    font-size: 0.925rem;
}

.rad-changelog__item li {
    margin-bottom: 6px;
}

.rad-changelog__item li:last-child {
    margin-bottom: 0;
}

/* --- BIT CRM landing & slides --- */
:root {
    --color-bitcrm: #1a2b4a;
    --color-bitcrm-accent: #f59e0b;
    --color-bitcrm-soft: #e8eef7;
    --color-bitcrm-cdek: #007a3d;
    --color-bitcrm-cdek-accent: #00a651;
    --color-bitcrm-cdek-soft: #e6f7ed;
}

.division-page--bitcrm {
    --dp-accent: var(--color-bitcrm);
    --dp-accent-hover: #0f1c33;
    --dp-soft: var(--color-bitcrm-soft);
    --dp-hero-bg: linear-gradient(135deg, #e8eef7 0%, #d4dff0 55%, #f8fafc 100%);
}

.division-page--bitcrm .dp-card--featured {
    border-color: var(--color-bitcrm-accent);
}

.bitcrm-hero-visual {
    padding-top: 0;
    margin-top: -16px;
}

.bitcrm-hero-visual__frame {
    margin: 0;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card-hover);
    border: 1px solid rgba(26, 43, 74, 0.08);
}

.bitcrm-hero-visual__frame img {
    display: block;
    width: 100%;
    height: auto;
}

.bitcrm-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.bitcrm-stats__item {
    background: var(--color-surface);
    border: 1px solid rgba(26, 43, 74, 0.08);
    border-radius: var(--radius-card);
    padding: 20px;
    text-align: center;
}

.bitcrm-stats__item strong {
    display: block;
    font-size: 28px;
    color: var(--color-bitcrm);
    margin-bottom: 4px;
}

.bitcrm-stats__item span {
    font-size: 14px;
    color: var(--color-text-muted);
}

.bitcrm-stack {
    justify-content: center;
}

.division-page--bitcrm .dp-stack__item {
    border-color: var(--color-bitcrm-soft);
    color: var(--color-bitcrm);
}

.division-page--bitcrm-cdek {
    --dp-accent: var(--color-bitcrm-cdek);
    --dp-accent-hover: #005c2e;
    --dp-soft: var(--color-bitcrm-cdek-soft);
    --dp-hero-bg: linear-gradient(135deg, #e6f7ed 0%, #c8ebd6 55%, #f8fafc 100%);
}

.division-page--bitcrm-cdek .dp-card--featured {
    border-color: var(--color-bitcrm-cdek-accent);
}

.division-page--bitcrm-cdek .bitcrm-stats__item strong {
    color: var(--color-bitcrm-cdek);
}

.division-page--bitcrm-cdek .dp-stack__item {
    border-color: var(--color-bitcrm-cdek-soft);
    color: var(--color-bitcrm-cdek);
}

.division-hub-note--center {
    text-align: center;
    margin-top: 16px;
}

.dp-card__text--lead {
    font-size: 1.125rem;
    line-height: 1.65;
}

.dp-products-cta--bitcrm {
    border-color: var(--color-bitcrm-soft);
    background: linear-gradient(135deg, #f8fafc 0%, var(--color-bitcrm-soft) 100%);
}

.bitcrm-article-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bitcrm-article-list__item {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    background: var(--color-surface);
    border: 1px solid rgba(26, 43, 74, 0.08);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bitcrm-article-list__item:hover {
    border-color: var(--color-bitcrm-accent);
    box-shadow: var(--shadow-card);
}

.bitcrm-article-list__num {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-bitcrm-accent);
}

.bitcrm-article-list__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bitcrm-article-list__body strong {
    font-size: 15px;
}

.bitcrm-article-list__body span {
    font-size: 14px;
    color: var(--color-text-muted);
}

.bitcrm-article-list__item > i {
    color: var(--color-bitcrm);
    opacity: 0.5;
}

/* --- Presentations (slides deck) --- */
.slides-deck {
    --slides-accent: #2563eb;
    --slides-bg: #0a1220;
    --slides-text: #f1f5f9;
    --slides-muted: #94a3b8;
}

.slides-deck--theme-bitcrm {
    --slides-accent: #f59e0b;
    --slides-bg: #0a1220;
}

.slides-deck--theme-cdek {
    --slides-accent: #00a651;
    --slides-bg: #071510;
}

.slides-deck--theme-default {
    --slides-accent: #2563eb;
    --slides-bg: #0a1220;
}

.body--slides {
    overflow: hidden;
    background: var(--slides-bg, #0a1220);
}

.slides-deck {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    color: var(--slides-text);
    display: flex;
    flex-direction: column;
}

.slides-deck__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    z-index: 2;
}

.slides-deck__back {
    color: #94a3b8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.slides-deck__back:hover {
    color: var(--slides-accent);
}

.slides-deck__nav-hint {
    color: #64748b;
}

.slides-deck__counter {
    font-weight: 600;
    color: var(--slides-accent);
}

.slides-deck__viewport {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.slides-deck__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px 80px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(24px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.slides-deck__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.slides-deck__inner {
    max-width: 900px;
    width: 100%;
}

.slides-deck__kicker {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slides-accent);
    margin-bottom: 16px;
}

.slides-deck__title {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    margin-bottom: 20px;
}

.slides-deck__title--hero {
    font-size: clamp(40px, 6vw, 64px);
}

.slides-deck__lead {
    font-size: clamp(18px, 2.5vw, 24px);
    line-height: 1.5;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.slides-deck__note {
    font-size: 16px;
    color: #94a3b8;
}

.slides-deck__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.slides-deck__list li {
    position: relative;
    padding-left: 24px;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.45;
    color: #e2e8f0;
}

.slides-deck__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--slides-accent);
}

.slides-deck__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.slides-deck__card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
}

.slides-deck__card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--slides-accent);
}

.slides-deck__card p {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.45;
}

.slides-deck__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.slides-deck__stat {
    text-align: center;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.slides-deck__stat strong {
    display: block;
    font-size: 36px;
    color: var(--slides-accent);
    margin-bottom: 4px;
}

.slides-deck__stat span {
    font-size: 14px;
    color: #94a3b8;
}

.slides-deck__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.slides-deck__btn-outline {
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #f1f5f9 !important;
}

.slides-deck__btn-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

.slides-deck__controls {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.slides-deck__btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.slides-deck__btn:hover {
    background: var(--slides-accent);
    border-color: var(--slides-accent);
    color: #0a1220;
}

.slides-deck__progress {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--slides-accent);
    transition: width 0.35s ease;
    z-index: 3;
}

@media (max-width: 768px) {
    .bitcrm-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .slides-deck__cards,
    .slides-deck__stats {
        grid-template-columns: 1fr;
    }

    .slides-deck__nav-hint {
        display: none;
    }

    .bitcrm-article-list__item {
        grid-template-columns: 40px 1fr;
    }

    .bitcrm-article-list__item > i {
        display: none;
    }
}

/* --- BitKassa product landing --- */
:root {
    --color-bitkassa: #0284C7;
    --color-bitkassa-cash: #0369A1;
    --color-bitkassa-card: #4338CA;
    --color-bitkassa-soft: #E0F2FE;
    --color-bitkassa-checkout: #10B981;
}

.division-page--bitkassa {
    --dp-accent: var(--color-bitkassa);
    --dp-accent-hover: #0369A1;
    --dp-soft: var(--color-bitkassa-soft);
}

.division-page--bitkassa .dp-card--featured {
    border-color: var(--color-bitkassa-checkout);
}

.product-card--bitkassa {
    border-color: var(--color-bitkassa-soft);
}

.product-card--bitkassa .product-card__icon {
    background: var(--color-bitkassa-soft);
    color: var(--color-bitkassa);
}

.product-card--bitkassa .product-card__features li::before {
    color: var(--color-bitkassa);
}

.product-card--bitkassa .btn--primary {
    background: var(--color-bitkassa);
}

.product-card--bitkassa .btn--primary:hover {
    background: var(--color-bitkassa-cash);
}

.product-card--bitkassa .btn--outline {
    border-color: var(--color-bitkassa);
    color: var(--color-bitkassa);
}

.product-card--bitkassa .btn--outline:hover {
    background: var(--color-bitkassa);
}

.product-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px 48px;
    align-items: center;
    padding: 32px 40px;
    margin-bottom: 48px;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.product-showcase--bitkassa {
    border-color: var(--color-bitkassa-soft);
    background: linear-gradient(135deg, #fff 0%, var(--color-bitkassa-soft) 55%, #f0f9ff 100%);
}

.product-showcase__eyebrow {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-bitkassa);
}

.product-showcase__head {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.product-showcase__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--color-bitkassa);
    color: #fff;
    font-size: 1.5rem;
}

.product-showcase__title {
    margin: 0 0 8px;
    font-size: 1.75rem;
    line-height: 1.2;
    color: #0f172a;
}

.product-showcase__lead {
    margin: 0;
    max-width: 42rem;
    font-size: 1rem;
    line-height: 1.55;
    color: #475569;
}

.product-showcase__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.product-showcase__tags li {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #0369a1;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--color-bitkassa-soft);
}

.product-showcase__aside {
    text-align: center;
    min-width: 220px;
    padding: 20px 24px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-bitkassa-soft);
}

.product-showcase__version {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-bitkassa);
}

.product-showcase__meta {
    margin: 8px 0 0;
    font-size: 0.85rem;
    color: #64748b;
}

.product-showcase__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.product-showcase__actions .btn {
    width: 100%;
    justify-content: center;
}

.product-showcase--bitkassa .btn--primary {
    background: var(--color-bitkassa);
}

.product-showcase--bitkassa .btn--primary:hover {
    background: var(--color-bitkassa-cash);
}

.product-showcase--bitkassa .btn--outline {
    border-color: var(--color-bitkassa);
    color: var(--color-bitkassa);
}

.product-showcase--bitkassa .btn--outline:hover {
    background: var(--color-bitkassa);
    color: #fff;
}

.product-showcase__note {
    margin: 14px 0 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #64748b;
}

@media (max-width: 900px) {
    .product-showcase {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .product-showcase__aside {
        min-width: 0;
    }

    .product-showcase__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .product-showcase__actions .btn {
        width: auto;
        flex: 1 1 auto;
    }
}

@media (max-width: 520px) {
    .product-showcase__head {
        flex-direction: column;
    }

    .product-showcase__actions {
        flex-direction: column;
    }

    .product-showcase__actions .btn {
        width: 100%;
    }
}

.dp-products-cta--bitkassa {
    border-color: var(--color-bitkassa-soft);
    background: linear-gradient(135deg, #f8fafc 0%, var(--color-bitkassa-soft) 100%);
}

.division-page--bitkassa .dp-stack__item {
    border-color: var(--color-bitkassa-soft);
    color: var(--color-bitkassa);
}

.bitkassa-bullets {
    padding-top: 0;
    margin-top: -1rem;
}

.bitkassa-bullets__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem 1.5rem;
    list-style: none;
    margin: 0;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid var(--color-bitkassa-soft);
    border-radius: 12px;
}

.bitkassa-bullets__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-text, #0F172A);
}

.bitkassa-bullets__list i {
    color: var(--color-bitkassa-checkout);
    margin-top: 0.2rem;
}

.bitkassa-download-note {
    margin: 1rem 0 0;
    text-align: center;
    color: #64748B;
    font-size: 0.9rem;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.bitkassa-download-note--hash {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.bitkassa-download-note__label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
}

.bitkassa-download-note__hash {
    display: block;
    max-width: 100%;
    padding: 0 0.25rem;
    font-size: 0.75rem;
    line-height: 1.45;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.bitkassa-screens {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.bitkassa-screens__item figcaption {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.75rem;
}

.bitkassa-screens__item figcaption span {
    color: #64748B;
    font-size: 0.9rem;
}

.bitkassa-screens__mock {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    border: 1px solid #CBD5E1;
    background: #E2E8F0;
    position: relative;
    overflow: hidden;
}

.bitkassa-screens__mock--checkout {
    background: linear-gradient(180deg, #E2E8F0 0%, #f8fafc 40%, #E2E8F0 100%);
}

.bitkassa-screens__mock--checkout::before,
.bitkassa-screens__mock--checkout::after {
    content: "";
    position: absolute;
    border-radius: 8px;
}

.bitkassa-screens__mock--checkout::before {
    top: 12%;
    left: 5%;
    width: 55%;
    height: 50%;
    background: #fff;
    border: 1px solid #CBD5E1;
}

.bitkassa-screens__mock--checkout::after {
    bottom: 8%;
    right: 5%;
    width: 32%;
    height: 28%;
    background: linear-gradient(135deg, #0369A1 0%, #4338CA 50%, #10B981 100%);
    opacity: 0.85;
}

.bitkassa-screens__mock--payment {
    background: #0F172A;
}

.bitkassa-screens__mock--payment::before {
    content: "";
    position: absolute;
    inset: 20% 15%;
    border-radius: 12px;
    background: linear-gradient(90deg, #0369A1 48%, #4338CA 52%);
}

.bitkassa-screens__mock--catalog {
    background: #fff;
}

.bitkassa-screens__mock--catalog::before {
    content: "";
    position: absolute;
    top: 15%;
    left: 8%;
    right: 8%;
    height: 12%;
    background: #0284C7;
    border-radius: 6px;
    opacity: 0.2;
}

.bitkassa-screens__mock--catalog::after {
    content: "";
    position: absolute;
    top: 32%;
    left: 8%;
    right: 8%;
    bottom: 15%;
    background: repeating-linear-gradient(
        180deg,
        #E2E8F0 0,
        #E2E8F0 14%,
        #fff 14%,
        #fff 28%
    );
    border: 1px solid #E2E8F0;
    border-radius: 6px;
}

.bitkassa-req-table-wrap,
.bitkassa-compare-table-wrap {
    overflow-x: auto;
}

.bitkassa-req-table,
.bitkassa-compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
}

.bitkassa-req-table th,
.bitkassa-req-table td,
.bitkassa-compare-table th,
.bitkassa-compare-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid #E2E8F0;
}

.bitkassa-req-table th,
.bitkassa-compare-table thead th,
.bitkassa-compare-table tbody th {
    font-weight: 600;
    color: #0F172A;
    background: #f8fafc;
    white-space: nowrap;
}

.bitkassa-compare-table tbody td:nth-child(2) {
    color: var(--color-bitkassa);
    font-weight: 500;
}

.bitkassa-migration {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.75rem;
    background: linear-gradient(135deg, #fff 0%, var(--color-bitkassa-soft) 100%);
    border: 1px solid var(--color-bitkassa-soft);
    border-radius: 16px;
}

.bitkassa-migration__icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--color-bitkassa);
    color: #fff;
    font-size: 1.5rem;
}

.bitkassa-migration__title {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
}

.bitkassa-migration__body p {
    margin: 0 0 0.75rem;
    color: #334155;
}

.bitkassa-capability-matrix {
    margin-bottom: 2rem;
}

.bitkassa-req-table__heading {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
}

.bitkassa-req-table-wrap + .bitkassa-req-table-wrap {
    margin-top: 1.5rem;
}

.bitkassa-migration--marking {
    border-color: #bae6fd;
}

.bitkassa-migration--license {
    border-color: var(--color-bitkassa-soft);
    background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
}

.bitkassa-footer-meta__line {
    text-align: center;
    font-size: 0.9rem;
    color: #64748B;
    margin: 0 0 1rem;
}

.bitkassa-footer-meta__line code {
    font-size: 0.8rem;
    word-break: break-all;
}

.bitkassa-screens__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #CBD5E1;
    background: #fff;
}

.bitkassa-screens__link {
    display: block;
}

.bitkassa-screens__link:hover .bitkassa-screens__img {
    border-color: var(--color-bitkassa);
}

.bitkassa-tagline {
    padding: 0.5rem 0 0;
    margin-top: -0.5rem;
}

.bitkassa-tagline p {
    margin: 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-bitkassa);
}

.bitkassa-disclaimer {
    margin: 1.25rem 0 0;
    padding: 0.85rem 1rem;
    border-left: 3px solid var(--color-bitkassa);
    background: #f8fafc;
    color: #475569;
    font-size: 0.95rem;
    border-radius: 0 8px 8px 0;
}

.bitkassa-changelog {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
    max-width: 48rem;
}

.bitkassa-changelog li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid var(--color-bitkassa-soft);
    border-radius: 10px;
    color: #334155;
}

.bitkassa-changelog i {
    color: var(--color-bitkassa);
    margin-top: 0.15rem;
}

.bitkassa-feature-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.bitkassa-feature-group__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
}

.bitkassa-feature-group__title i {
    color: var(--color-bitkassa);
}

.bitkassa-features-compact {
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .bitkassa-migration {
        flex-direction: column;
    }

    .bitkassa-feature-groups {
        grid-template-columns: 1fr;
    }
}

.bitkassa-release-history {
    margin-top: 1.5rem;
    max-width: 48rem;
}

.bitkassa-release-history summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--color-bitkassa);
}

.bitkassa-release-history__list {
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.bitkassa-release-history__list li {
    font-size: 0.92rem;
    color: #475569;
}

.bitkassa-release-history__date {
    color: #94a3b8;
    margin-left: 0.35rem;
}