/* =========================================
   СТРАНИЦА "О БРАТЬЯХ" (ГЛОБАЛЬНЫЕ СТИЛИ)
   ========================================= */

.about-hero {
    padding-block: calc(var(--section-y) * 1.2);
    text-align: center;
}

.about-hero__title {
    font-family: var(--ff-head);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    margin-bottom: 16px;
}

.about-hero__lead {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-2);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
    align-items: center;
    margin-bottom: calc(var(--section-y) * 1.5);
}

.about-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--bg-700);
}

.about-text h2 {
    font-family: var(--ff-head);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--purple-2);
}

.about-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 16px;
}

/* Карточки преимуществ (допуски, снаряжение) */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
    margin-bottom: calc(var(--section-y) * 1.5);
}

.trust-card {
    background: var(--bg-700);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(20px, 3vw, 32px);
    transition: transform 0.25s, border-color 0.25s;
}

.trust-card:hover {
    transform: translateY(-4px);
    border-color: var(--purple-2);
}

.trust-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.15);
    color: var(--purple-2);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
}

.trust-card__icon svg {
    width: 24px;
    height: 24px;
}

.trust-card h3 {
    font-family: var(--ff-head);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.trust-card p {
    font-size: 14.5px;
    color: var(--text-2);
    line-height: 1.6;
}

/* CTA блок внизу */
.about-cta {
    text-align: center;
    background: var(--bg-700);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(32px, 5vw, 64px);
}

.about-cta h2 {
    font-family: var(--ff-head);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    margin-bottom: 16px;
}

.about-cta p {
    color: var(--text-2);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   ТИЗЕР НА ГЛАВНОЙ
   ========================================= */

.about-teaser {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--gap);
    align-items: center;
    padding: clamp(32px, 5vw, 64px);
    background: var(--bg-700);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.about-teaser__content .eyebrow {
    display: block;
    margin-bottom: 12px;
}

.about-teaser__content .h2 {
    margin-bottom: 16px;
}

.about-teaser__content .lead {
    margin-bottom: 32px;
    max-width: 500px;
}

.about-teaser__stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.about-teaser__stats .stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
}

.about-teaser__stats .stat__num {
    font-family: var(--ff-num);
    font-weight: 700;
    font-size: 32px;
    color: var(--purple-2);
    line-height: 1;
    margin-bottom: 8px;
}

.about-teaser__stats .stat__lbl {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.4;
}

/* =========================================
   ДОКУМЕНТЫ (ГЛОБАЛЬНЫЕ СТИЛИ)
   ========================================= */

.documents__section {
    margin-bottom: 48px;
}

.documents__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.document-card {
    background: var(--bg-700);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    position: relative;
}

.document-card:hover {
    transform: translateY(-4px);
    border-color: var(--purple-2);
}

.document-card__img-wrapper {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, #1e1830, #2a1f4a);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.document-card__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.4s ease;
}

.document-card:hover .document-card__img {
    transform: scale(1.05);
}

.document-card__zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 56px;
    height: 56px;
    background: rgba(139, 92, 246, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.document-card__zoom svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.document-card:hover .document-card__zoom {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.document-card__body {
    padding: 20px;
}

.document-card__title {
    font-family: var(--ff-head);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.document-card__meta {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.5;
}

.document-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--purple-2);
    margin-top: 12px;
}

.document-card__badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ok);
}

/* ===== ЛАЙТБОКС ДЛЯ ДОКУМЕНТОВ ===== */
.doc-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(14, 11, 20, 0.97);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.doc-lightbox.is-active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.doc-lightbox__content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doc-lightbox__img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.doc-lightbox__caption {
    margin-top: 20px;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    max-width: 700px;
    line-height: 1.5;
    padding: 0 20px;
}

.doc-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(139, 92, 246, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid var(--purple-2);
    border-radius: 50%;
    color: var(--purple-2);
    font-size: 24px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.doc-lightbox__close:hover {
    background: var(--purple-2);
    color: #fff;
    transform: rotate(90deg) scale(1.1);
}

/* =========================================
   АДАПТИВ (МОБИЛЬНЫЕ ПРАВКИ)
   ========================================= */

@media (max-width: 980px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-grid .about-image {
        order: -1;
        /* Фото сверху на планшете/мобилке */
    }

    .about-teaser {
        grid-template-columns: 1fr;
    }

    .about-teaser__stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .about-teaser__stats {
        grid-template-columns: 1fr;
    }

    /* Мобильные правки для документов */
    .documents__grid {
        grid-template-columns: 1fr;
    }

    .document-card__img-wrapper {
        height: 280px;
    }
}