/* main/static/main/css/container.css */
/* Базовая тема и общий вид страницы отдела цифровых решений */

/* Палитра и токены */
:root {
    --shell-bg: #0b1120;
    --shell-bg-soft: #f3f4f6;
    --shell-surface: #ffffff;
    --shell-surface-soft: #f9fafb;

    --shell-border-subtle: rgba(15, 23, 42, 0.06);
    --shell-border-strong: rgba(15, 23, 42, 0.14);

    --shell-text-main: #111827;
    --shell-text-muted: #6b7280;
    --shell-text-soft: #9ca3af;

    --shell-primary: #0f766e;
    --shell-primary-soft: rgba(15, 118, 110, 0.08);
    --shell-accent: #f97316;

    --shell-radius-lg: 1rem;
    --shell-radius-md: 0.9rem;
    --shell-radius-pill: 999px;

    --shell-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
    --shell-shadow-card: 0 8px 24px rgba(15, 23, 42, 0.04);

    --shell-spacing-section-y: 2.5rem;
}

/* Глобальные настройки */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body.app-body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--shell-bg-soft);
    color: var(--shell-text-main);
}

.app-main {
    padding: 2rem 0 3rem;
}

/* HERO-блок (о отделе) */

.hero-shell {
    padding: var(--shell-spacing-section-y) 0 2.2rem;
}

.hero-shell__eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--shell-text-soft);
    margin-bottom: 0.6rem;
}

.hero-shell__title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.hero-shell__subtitle {
    font-size: 0.98rem;
    color: var(--shell-text-muted);
    max-width: 32rem;
    margin-bottom: 0.85rem;
}

.hero-shell__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.hero-shell__pill {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.25rem 0.7rem;
    border-radius: var(--shell-radius-pill);
    background-color: var(--shell-primary-soft);
    color: var(--shell-primary);
}

.hero-shell__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.hero-shell__cta-primary {
    background-color: var(--shell-primary);
    border-color: var(--shell-primary);
    color: #ffffff;
    font-size: 0.9rem;
    padding-inline: 1.3rem;
}

.hero-shell__cta-secondary {
    font-size: 0.9rem;
    padding-inline: 1.2rem;
}

.hero-shell__note {
    font-size: 0.85rem;
    color: var(--shell-text-soft);
}

/* Правая информационная панель */

.hero-shell__panel {
    background-color: var(--shell-surface);
    border-radius: var(--shell-radius-lg);
    padding: 1.2rem 1.4rem;
    border: 1px solid var(--shell-border-subtle);
    box-shadow: var(--shell-shadow-soft);
    font-size: 0.9rem;
}

/* Плашка формата взаимодействия */

.hero-shell__format-pill {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.8rem;
    border-radius: var(--shell-radius-md);
    background: linear-gradient(
        135deg,
        rgba(15, 118, 110, 0.06),
        rgba(249, 115, 22, 0.08)
    );
    border: 1px solid rgba(15, 23, 42, 0.08);
    margin-bottom: 0.7rem;
}

.hero-shell__format-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--shell-radius-pill);
    background: radial-gradient(circle at 30% 30%, #fef9c3, #f97316);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.22);
    flex-shrink: 0;
}

.hero-shell__format-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.hero-shell__format-caption {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--shell-text-soft);
}

.hero-shell__format-main {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--shell-primary);
}

/* Строки с параметрами */

.hero-shell__panel-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.45rem;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.5);
}

.hero-shell__panel-row:last-of-type {
    border-bottom: none;
    margin-bottom: 0.6rem;
}

.hero-shell__panel-label {
    font-weight: 500;
    color: var(--shell-text-main);
}

.hero-shell__panel-value {
    color: var(--shell-text-muted);
    text-align: right;
}

.hero-shell__panel-footer {
    font-size: 0.8rem;
    color: var(--shell-text-soft);
}

/* Адаптив */

@media (max-width: 991.98px) {
    .hero-shell {
        padding-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-shell {
        padding: 2rem 0 1.8rem;
    }

    .hero-shell__panel {
        margin-top: 0.5rem;
    }

    .hero-shell__panel-value {
        text-align: left;
    }
}
