/* ===================================================
   ABOUT PAGE — відповідає дизайн-системі сайту
   =================================================== */

/* ── Hero ─────────────────────────────────────────── */
.about-hero {
    padding: 100px 0 80px;
}
.about-hero__title {
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 700;
    color: #111;
    line-height: 1.05;
    margin-bottom: 40px;
    text-transform: uppercase;
}
.about-hero__intro {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    color: #333;
    margin-bottom: 40px;
    max-width: 720px;
}
.about-hero__intro p { margin-bottom: 18px; }
.about-hero__intro p:last-child { margin-bottom: 0; }
.about-hero__intro strong { font-weight: 600; color: #111; }

/* ── Section base ─────────────────────────────────── */
.about-section {
    padding: 80px 0 0;
}
.about-section .bt {
    margin-bottom: 40px;
}

/* ── Directions — дизайн як #why ─────────────────── */
.about-directions-grid {
    background: #F5F5F7;
    border-radius: 8px;
    overflow: hidden;
    border: 1px dashed #DADADA;
    display: flex;
    flex-wrap: wrap;
}
.about-directions-grid li {
    list-style: none;
    box-sizing: border-box;
    width: 50%;
    position: relative;
    padding: 28px 32px 28px 120px;
    border-right: 1px dashed #DADADA;
    border-top: 1px dashed #DADADA;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-directions-grid li:nth-child(2n) { border-right: none; }
.about-directions-grid li:nth-child(1),
.about-directions-grid li:nth-child(2) { border-top: none; }

/* Numbered badge instead of icon */
.about-directions-grid li::before {
    content: counter(dir-counter, decimal-leading-zero);
    counter-increment: dir-counter;
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 72px;
    height: 72px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--blue, #002FFF);
    box-shadow: 0 2px 8px rgba(0,47,255,0.08);
    /* flex trick doesn't work with ::before, use line-height */
    line-height: 72px;
    text-align: center;
}
.about-directions-grid {
    counter-reset: dir-counter;
}
.about-directions-grid strong {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    display: block;
    margin-bottom: 6px;
}
.about-directions-grid span {
    font-size: 15px;
    font-weight: 300;
    color: #4C4C4C;
    line-height: 1.55;
}

/* ── Cases — теги-пілюлі ──────────────────────────── */
.about-cases-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.about-cases-grid li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: #F5F5F7;
    border-radius: 8px;
    border: 1px dashed #DADADA;
    font-size: 15px;
    font-weight: 400;
    color: #111;
    line-height: 1.3;
}
.about-cases-grid li::before {
    content: '';
    width: 8px;
    height: 8px;
    min-width: 8px;
    background: var(--blue, #002FFF);
    border-radius: 50%;
}

/* ── Geography ────────────────────────────────────── */
.about-geography-box {
    background: #F5F5F7;
    border-radius: 8px;
    border: 1px dashed #DADADA;
    padding: 32px 40px;
    font-size: 18px;
    font-weight: 300;
    color: #111;
    line-height: 1.65;
    max-width: 800px;
}

/* ── CTA section ──────────────────────────────────── */
.about-cta-section {
    padding-bottom: 80px;
}
.about-cta-text {
    font-size: 18px;
    font-weight: 300;
    color: #333;
    margin-bottom: 28px;
    max-width: 700px;
    line-height: 1.6;
}

/* FAQ — використовуємо стандартні .faq__item/.faq__question/.faq__answer з style.css */
/* Вони автоматично оброблюються jQuery в main.js */

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
    .about-directions-grid li {
        width: 100%;
        border-right: none;
    }
    .about-directions-grid li:nth-child(2) {
        border-top: 1px dashed #DADADA;
    }
}
@media (max-width: 768px) {
    .about-hero { padding: 56px 0 48px; }
    .about-hero__title { font-size: 32px; }
    .about-hero__intro { font-size: 16px; }
    .about-section { padding: 56px 0 0; }
    .about-cta-section { padding-bottom: 56px; }
    .about-directions-grid li {
        padding: 20px 20px 20px 96px;
        min-height: 90px;
    }
    .about-directions-grid li::before {
        width: 60px; height: 60px; line-height: 60px; font-size: 18px;
    }
    .about-geography-box { padding: 24px; font-size: 16px; }
    .about-faq__question { font-size: 16px; }
}
