/**
 * Страница «О проекте» (/about/) - Модуль 5. Дизайн по макету AboutPage.dc.html (tusovka-ds),
 * пиксель-в-пиксель. Полноширинный hero + контент в .site-container (единая ширина).
 */

.ibd-ab-main { padding: 0; background: transparent; color: #1E2A32; line-height: 1.6; }

/* ── HERO ──
   Система макетов (qa/restyle/SPEC.md): ровная подложка #F3F8FC вместо градиента и «свечения». */
.ibd-ab-hero {
    position: relative;
    overflow: hidden;
    background: #F3F8FC;
    border-bottom: 1px solid #E3ECF2;
    padding: 60px 0 66px;
}
.ibd-ab-hero-glow { display: none; }
.ibd-ab-hero-inner { position: relative; text-align: center; }
.ibd-ab-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1px solid #E3ECF2;
    color:#b45309;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 13px;
    border-radius: 999px;
    box-shadow: none;
    margin-bottom: 18px;
}
.ibd-ab-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #F5820A; }
.ibd-ab-h1 {
    font-size: clamp(26px, 2vw, 38px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 14px;
    color: #1E2A32;
}
.ibd-ab-sub {
    font-size: clamp(1.05rem, 2.3vw, 1.125rem);
    color: #39505E;
    margin: 0 auto 28px;
    max-width: 52ch;
}
.ibd-ab-hero-btns { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── Кнопки: прямоугольные 12px, крупная CTA 52, без тени и подпрыгивания ── */
.ibd-ab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.ibd-ab-btn--grad {
    font-weight: 800;
    font-size: 16px;
    padding: 0 24px;
    border-radius: 12px;
    color: #fff;
    background: #F5820A;
    box-shadow: none;
}
/* color в :hover обязателен - глобальный a:hover темы иначе перекрашивает текст. */
.ibd-ab-btn--grad:hover { background: #DC7000; color: #fff; transform: none; filter: none; }
.ibd-ab-btn--grad:active { transform: none; }
.ibd-ab-btn--ghost {
    font-weight: 700;
    font-size: 16px;
    padding: 0 22px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #F5820A;
    color: #1E2A32;
}
.ibd-ab-btn--ghost:hover { background: #FFF7EC; border-color: #F5820A; color: #1E2A32; }

/* ── Контент ── */
/* Специфичность 0,2,0: .site-container темы (style.css, грузится позже) обнуляет padding-top/bottom. */
.ibd-ab-main .ibd-ab-content { padding-top: 56px; padding-bottom: 64px; }
.ibd-ab-section { margin-bottom: 64px; }

/* Reveal-on-scroll (включается only при JS без reduced-motion) */
.ibd-ab-anim .ibd-ab-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.ibd-ab-anim .ibd-ab-reveal.is-in { opacity: 1; transform: none; }

/* ── Что такое Tusovka ── */
.ibd-ab-intro { text-align: center; max-width: 60ch; margin: 0 auto 60px; }
.ibd-ab-intro-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #F5820A;
    box-shadow: none;
    color: #fff;
    margin-bottom: 20px;
}
.ibd-ab-h2 { font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 14px; color: #1E2A32; }
.ibd-ab-intro p { font-size: 17px; color: #39505E; margin: 0; }

/* ── Заголовок секции ── */
.ibd-ab-head { text-align: center; margin-bottom: 26px; }
.ibd-ab-head .ibd-ab-h2 { margin: 0 0 6px; }
.ibd-ab-head-sub { font-size: 16px; color: #5B7385; margin: 0; }

/* ── Принципы ── */
.ibd-ab-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ibd-ab-value {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1px solid #E3ECF2;
    border-radius: 16px;
    padding: 22px;
    box-shadow: none;
}
.ibd-ab-value-ic { width: 52px; height: 52px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.ibd-ab-value-body { min-width: 0; }
.ibd-ab-value h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 5px; color: #1E2A32; }
.ibd-ab-value p { font-size: 15px; color: #39505E; margin: 0; }

/* ── Как это работает ── */
.ibd-ab-how { scroll-margin-top: 96px; }
.ibd-ab-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ibd-ab-step {
    position: relative;
    background: #fff;
    border: 1px solid #E3ECF2;
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: none;
    overflow: hidden;
}
.ibd-ab-step-num { position: absolute; top: -8px; inset-inline-end: 2px; font-size: 74px; font-weight: 800; color: #F3F8FC; line-height: 1; letter-spacing: -0.04em; }
.ibd-ab-step-body { position: relative; }
.ibd-ab-step-ic { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.ibd-ab-step-label { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #5B7385; margin-bottom: 5px; }
.ibd-ab-step h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 5px; color: #1E2A32; }
.ibd-ab-step p { font-size: 14px; color: #39505E; margin: 0; }

/* ── Справочник бизнесов ── */
.ibd-ab-dir {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
    background: #fff;
    border: 1px solid #E3ECF2;
    border-radius: 16px;
    padding: 32px;
    box-shadow: none;
}
.ibd-ab-dir-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff7ed;
    color: #b45309;
    font-weight: 800;
    font-size: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid #fed7aa;
    margin-bottom: 14px;
}
.ibd-ab-dir h2 { font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 12px; color: #1E2A32; }
.ibd-ab-dir-text { font-size: 16px; color: #39505E; margin: 0 0 18px; }
.ibd-ab-dir-list { display: flex; flex-direction: column; gap: 10px; }
.ibd-ab-dir-li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #1E2A32; }
.ibd-ab-dir-check { width: 22px; height: 22px; flex: none; border-radius: 7px; background: rgba(16, 185, 129, 0.14); color: #047857; display: flex; align-items: center; justify-content: center; }
.ibd-ab-dir-vis { position: relative; }
.ibd-ab-dir-media {
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #E3ECF2;
    box-shadow: none;
    background: #FFF7EC;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f0a85e;
}
.ibd-ab-dir-media svg { width: 116px; height: 116px; opacity: 0.7; }
.ibd-ab-dir-badge {
    position: absolute;
    inset-block-end: -14px;
    inset-inline-start: -14px;
    background: #fff;
    border: 1px solid #E3ECF2;
    border-radius: 16px;
    padding: 12px 15px;
    box-shadow: 0 1px 2px rgba(30, 42, 50, .04);
    display: flex;
    align-items: center;
    gap: 11px;
}
.ibd-ab-dir-badge-score { width: 40px; height: 40px; border-radius: 10px; background: #F5820A; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; flex: none; }
.ibd-ab-dir-badge-name { font-weight: 700; font-size: 15px; color: #1E2A32; }
.ibd-ab-dir-badge-sub { font-size: 13px; color: #5B7385; }

/* ── CTA-блок - подложка #F3F8FC вместо градиента ── */
.ibd-ab-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
    background: #F3F8FC;
    border: 1px solid #E3ECF2;
    border-radius: 16px;
    padding: 32px 34px;
}
.ibd-ab-cta h2 { font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 7px; color: #1E2A32; }
.ibd-ab-cta-text { font-size: 16px; color: #39505E; margin: 0; }
.ibd-ab-cta-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
/* Кнопки в CTA-ряду - обычные 48 (в ряду их три-четыре). */
.ibd-ab-cta-actions .ibd-ab-btn--grad,
.ibd-ab-cta-actions .ibd-ab-btn--ghost { min-height: 48px; font-size: 16px; padding: 0 20px; border-radius: 12px; box-shadow: none; }
/* Текст на оранжевом: 16px 800 + тёмная тень букв (решение владельца 20.10 - размеры как в
   макетах, прежние 19px сняты). */
.ibd-ab-btn--grad,
.ibd-ab-cta-actions .ibd-ab-btn--grad { font-size: 16px; font-weight: 800; text-shadow: 0 1px 1px rgba(120, 50, 0, .35); }

/* ── Футер-ссылки ── */
.ibd-ab-flinks { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 8px 22px; flex-wrap: wrap; font-size: 14px; }
.ibd-ab-flinks a { color: #39505E; text-decoration: none; font-weight: 600; }
.ibd-ab-flinks a:hover { color: #1F6FA6; text-decoration: underline; }
.ibd-ab-flinks .ibd-ab-dot { width: 4px; height: 4px; border-radius: 50%; background: #9DB2C2; flex: none; }

/* ── Видимый фокус (WCAG 2.4.7) ── */
.ibd-ab-btn:focus-visible, .ibd-ab-flinks a:focus-visible { outline: 2px solid #2E86C1; outline-offset: 2px; }

/* ── Адаптив ── */
@media (max-width: 860px) {
    .ibd-ab-steps { grid-template-columns: 1fr 1fr; }
    .ibd-ab-dir { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .ibd-ab-values { grid-template-columns: 1fr; }
    .ibd-ab-cta { grid-template-columns: 1fr; text-align: center; }
    .ibd-ab-cta-actions { justify-content: center; }
}
@media (max-width: 480px) {
    .ibd-ab-steps { grid-template-columns: 1fr; }
    .ibd-ab-hero { padding: 38px 0 44px; }
    .ibd-ab-hero-btns { flex-direction: column; }
    .ibd-ab-hero-btns > * { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .ibd-ab-anim .ibd-ab-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .ibd-ab-btn { transition: none !important; }
}
