

/* Start:/local/templates/unt24-2026/styles/bitrix24.css?17793299888433*/
/* ====== Стили страницы /bitrix24/ ======
 * Все цвета — через CSS-переменные из colors.css / theme-tokens.css.
 * Подключается только на /bitrix24/ и /en/bitrix24/ через SetAdditionalCSS().
 */

/* --- Hero ---------------------------------------------------------------- */
.b24-hero {
    background:
        radial-gradient(ellipse at top right,
            color-mix(in srgb, var(--accent-b24) 28%, transparent),
            transparent 60%),
        var(--bg);
    border-bottom: 1px solid var(--border);
}

html[data-theme="light"] .b24-hero {
    background:
        radial-gradient(ellipse at top right,
            color-mix(in srgb, var(--accent-b24-soft) 22%, transparent),
            transparent 60%),
        var(--bg);
}

.b24-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-b24);
    color: #fff;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.b24-hero__image {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 48px -16px rgba(0, 0, 0, 0.4);
}

/* --- Capability grid ----------------------------------------------------- */
.b24-caps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}
@media (max-width: 768px) {
    .b24-caps { grid-template-columns: repeat(2, 1fr); }
}

.b24-cap {
    padding: var(--space-6);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.b24-cap__title {
    color: var(--text-strong);
    font-weight: 600;
    margin-bottom: var(--space-2);
}
.b24-cap__desc {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

/* --- Feature-hero (фокусный блок Вайбкод) -------------------------------- */
.b24-feature {
    background: var(--bg-card-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
}
@media (min-width: 768px) {
    .b24-feature { padding: var(--space-12); }
}

.b24-feature h3 {
    color: var(--text-strong);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
}
.b24-feature h3:first-child { margin-top: 0; }

.b24-feature p,
.b24-feature li {
    color: var(--text-muted);
    line-height: 1.6;
}

.b24-feature ol,
.b24-feature ul {
    margin-left: 1.2em;
}
.b24-feature ol li,
.b24-feature ul li {
    margin-bottom: var(--space-2);
}

.b24-feature a {
    color: var(--accent-b24);
    text-decoration: underline;
}
html[data-theme="light"] .b24-feature a { color: var(--accent-b24); }

/* --- Screenshots --------------------------------------------------------- */
.b24-screenshot {
    margin: var(--space-6) 0;
}
.b24-screenshot__img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: #fff;  /* скрины Б24 в светлой палитре, на тёмной — карточка */
}
.b24-screenshot__caption {
    margin-top: var(--space-2);
    font-size: var(--text-xs);
    color: var(--text-faint);
    text-align: right;
}

/* --- Cards grid (остальные новинки) ------------------------------------- */
.b24-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}
@media (max-width: 1024px) {
    .b24-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .b24-cards { grid-template-columns: 1fr; }
}

.b24-card {
    padding: var(--space-4) var(--space-6);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.15s ease;
}
.b24-card:hover {
    border-color: var(--accent-b24);
}
.b24-card__title {
    color: var(--text-strong);
    font-weight: 600;
    margin-bottom: var(--space-2);
}
.b24-card__desc {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.5;
}

/* --- Compare 2col (cloud vs on-premise) --------------------------------- */
.b24-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}
@media (max-width: 768px) {
    .b24-compare { grid-template-columns: 1fr; }
}

.b24-compare__col {
    padding: var(--space-8);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
}
.b24-compare__col h4 {
    color: var(--text-strong);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
}
.b24-compare__col ul {
    color: var(--text-muted);
    list-style: disc;
    margin-left: 1.2em;
    margin-bottom: var(--space-6);
    flex: 1;
}
.b24-compare__col ul li { margin-bottom: var(--space-2); }

/* --- How we help -------------------------------------------------------- */
.b24-help ul {
    list-style: none;
    padding: 0;
}
.b24-help ul li {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    line-height: 1.55;
}
.b24-help ul li:last-child { border-bottom: none; }
.b24-help ul li strong {
    color: var(--text-strong);
    font-weight: 600;
}
.b24-help ul li a {
    color: var(--accent-b24);
    text-decoration: underline;
}

/* --- FAQ ---------------------------------------------------------------- */
.b24-faq details {
    border-bottom: 1px solid var(--border);
    padding: var(--space-4) 0;
}
.b24-faq details:last-child { border-bottom: none; }

.b24-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-strong);
    padding-right: var(--space-6);
    position: relative;
    list-style: none;
}
.b24-faq summary::-webkit-details-marker { display: none; }
.b24-faq summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    color: var(--accent-b24);
    font-size: var(--text-xl);
    font-weight: 400;
    transition: transform 0.15s ease;
}
.b24-faq details[open] summary::after {
    content: '−';
}

.b24-faq details > *:not(summary) {
    margin-top: var(--space-3);
    color: var(--text-muted);
    line-height: 1.6;
}
.b24-faq details a {
    color: var(--accent-b24);
    text-decoration: underline;
}

/* --- Sources ------------------------------------------------------------ */
.b24-sources {
    margin-top: var(--space-16);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
    font-size: var(--text-xs);
    color: var(--text-faint);
}
.b24-sources h4 {
    color: var(--text-muted);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-3);
}
.b24-sources ul {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-3);
}
.b24-sources li { padding: 2px 0; word-break: break-all; }
.b24-sources a { color: var(--text-muted); text-decoration: underline; }

/* --- Section titles ----------------------------------------------------- */
.b24-section { margin-top: var(--space-16); }
.b24-section h2 {
    color: var(--text-strong);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}
.b24-section__lead {
    color: var(--text-muted);
    margin-bottom: var(--space-8);
    max-width: 48rem;
}

/* --- CTA buttons in hero ------------------------------------------------ */
.b24-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: var(--space-3) var(--space-6);
    background: var(--accent-b24);
    color: #fff;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease;
}
.b24-cta-primary:hover {
    background: var(--accent-b24-soft);
}

.b24-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: var(--space-3) var(--space-6);
    background: transparent;
    color: var(--text-strong);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s ease;
}
.b24-cta-secondary:hover {
    border-color: var(--accent-b24);
}

/* End */
/* /local/templates/unt24-2026/styles/bitrix24.css?17793299888433 */
