/**
 * Страница «О проекте» (/about/) - Модуль 5. Дизайн по макету AboutPage.dc.html (tusovka-ds),
 * пиксель-в-пиксель. Полноширинный hero + контент в .site-container (единая ширина).
 */

.ibd-ab-main { padding: 0; background: #f4f5fb; color: #1f2937; line-height: 1.6; }

/* ── HERO ── */
.ibd-ab-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #eaf1f6 0%, #fff7ec 55%, #fff7ec 100%);
    padding: 60px 0 66px;
}
.ibd-ab-hero-glow {
    display: block;
    position: absolute;
    inset: 0;
    opacity: 0.6;
    pointer-events: none;
    background:
        radial-gradient(circle at 14% 18%, rgba(245, 130, 10, 0.16), transparent 42%),
        radial-gradient(circle at 86% 90%, rgba(232, 120, 91, 0.14), transparent 46%);
}
.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 #d9ebf9;
    color:#b45309;
    font-weight: 700;
    font-size: 12.5px;
    padding: 6px 13px;
    border-radius: 999px;
    box-shadow: 0 6px 16px -10px rgba(245, 130, 10, 0.5);
    margin-bottom: 18px;
}
.ibd-ab-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #F5820A; }
.ibd-ab-h1 {
    font-size: clamp(2.1rem, 5.6vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin: 0 0 14px;
    color: #1f2937;
}
.ibd-ab-sub {
    font-size: clamp(1.05rem, 2.3vw, 1.28rem);
    color: #6b7280;
    margin: 0 auto 28px;
    max-width: 52ch;
}
.ibd-ab-hero-btns { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── Кнопки ── */
.ibd-ab-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.26s ease, filter 0.2s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.ibd-ab-btn--grad {
    font-weight: 800;
    font-size: 15.5px;
    padding: 15px 26px;
    border-radius: 14px;
    color: #fff;
    background: #F5820A;
    box-shadow: 0 14px 30px -8px rgba(245, 130, 10, 0.5);
}
.ibd-ab-btn--grad:hover { transform: translateY(-2px); filter: brightness(1.04); }
.ibd-ab-btn--grad:active { transform: translateY(0) scale(0.99); }
.ibd-ab-btn--ghost {
    font-weight: 700;
    font-size: 15px;
    padding: 15px 22px;
    border-radius: 14px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    color: #4b5563;
}
.ibd-ab-btn--ghost:hover { background: #eaf1f6; border-color: #f8dcc1; color:#b45309; }

/* ── Контент ── */
.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: 0 12px 26px -8px rgba(245, 130, 10, 0.5);
    color: #fff;
    margin-bottom: 20px;
}
.ibd-ab-h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 14px; }
.ibd-ab-intro p { font-size: 17px; color: #4b5563; 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: 15.5px; color: #9ca3af; margin: 0; }

/* ── Принципы ── */
.ibd-ab-values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ibd-ab-value {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1px solid #eef0f6;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 12px 30px -22px rgba(17, 24, 39, 0.4);
    transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.24s ease, border-color 0.2s ease;
}
.ibd-ab-value:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -22px rgba(17, 24, 39, 0.3); border-color: #f8dcc1; }
.ibd-ab-value-ic { width: 52px; height: 52px; flex: none; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.ibd-ab-value-body { min-width: 0; }
.ibd-ab-value h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 5px; }
.ibd-ab-value p { font-size: 14px; color: #6b7280; margin: 0; }

/* ── Как это работает ── */
.ibd-ab-how { scroll-margin-top: 96px; }
.ibd-ab-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ibd-ab-step {
    position: relative;
    background: #fff;
    border: 1px solid #eef0f6;
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: 0 12px 30px -22px rgba(17, 24, 39, 0.4);
    overflow: hidden;
    transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.24s ease;
}
.ibd-ab-step:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(17, 24, 39, 0.3); }
.ibd-ab-step-num { position: absolute; top: -8px; inset-inline-end: 2px; font-size: 74px; font-weight: 800; color: #f4f5fb; line-height: 1; letter-spacing: -0.04em; }
.ibd-ab-step-body { position: relative; }
.ibd-ab-step-ic { width: 46px; height: 46px; border-radius: 13px; 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: #c7cbd8; margin-bottom: 5px; }
.ibd-ab-step h3 { font-size: 15.5px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 5px; }
.ibd-ab-step p { font-size: 13.5px; color: #6b7280; margin: 0; }

/* ── Справочник бизнесов ── */
.ibd-ab-dir {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
    background: #fff;
    border: 1px solid #eef0f6;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 14px 34px -24px rgba(17, 24, 39, 0.4);
}
.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: clamp(1.4rem, 3vw, 1.85rem); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; }
.ibd-ab-dir-text { font-size: 15.5px; color: #4b5563; 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: 14.5px; color: #374151; }
.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 #eef0f6;
    box-shadow: 0 18px 40px -22px rgba(17, 24, 39, 0.4);
    background: linear-gradient(135deg, #eaf1f6, #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 #eef0f6;
    border-radius: 14px;
    padding: 12px 15px;
    box-shadow: 0 16px 34px -16px rgba(17, 24, 39, 0.4);
    display: flex;
    align-items: center;
    gap: 11px;
}
.ibd-ab-dir-badge-score { width: 40px; height: 40px; border-radius: 11px; 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: 800; font-size: 14px; }
.ibd-ab-dir-badge-sub { font-size: 12px; color: #9ca3af; }

/* ── CTA-блок ── */
.ibd-ab-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
    background: linear-gradient(135deg, #eaf1f6, #fff7ec);
    border: 1px solid #d9ebf9;
    border-radius: 20px;
    padding: 32px 34px;
}
.ibd-ab-cta h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 7px; }
.ibd-ab-cta-text { font-size: 15.5px; color: #6b7280; margin: 0; }
.ibd-ab-cta-actions { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; justify-content: center; }
.ibd-ab-cta-actions .ibd-ab-btn--grad { font-size: 14.5px; padding: 15px 22px; border-radius: 13px; box-shadow: 0 12px 28px -8px rgba(245, 130, 10, 0.55); }
.ibd-ab-cta-actions .ibd-ab-btn--ghost { font-size: 14.5px; padding: 14px 16px; border-radius: 13px; }
/* Текст на оранжевом: белый на #F5820A - 2.6:1, цвет не меняем. Крупный и жирный
   (WCAG «крупный текст»: от 18.66px при 700+) плюс лёгкая тёмная тень у букв. */
.ibd-ab-btn--grad,
.ibd-ab-cta-actions .ibd-ab-btn--grad { font-size: 19px; 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: 13.5px; }
.ibd-ab-flinks a { color: #6b7280; text-decoration: none; font-weight: 600; }
.ibd-ab-flinks a:hover { color:#b45309; }
.ibd-ab-flinks .ibd-ab-dot { width: 4px; height: 4px; border-radius: 50%; background: #c7cbd8; flex: none; }

/* ── Видимый фокус (WCAG 2.4.7) ── */
.ibd-ab-btn:focus-visible, .ibd-ab-flinks a:focus-visible { outline: 2px solid var(--tusovka-primary, #f5820a); 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, .ibd-ab-value, .ibd-ab-step { transition: none !important; }
}
