/* ============================================================
   Страница «Об авторе» — /ob-avtore/
   ============================================================ */

/* ---- Hero ---- */
.about-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f0f6fd 0%, #e8f0fb 100%);
}

.about-hero__inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-hero__content {
    flex: 1;
    min-width: 0;
}

.about-hero__label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #005DAC;
    background: rgba(0, 93, 172, 0.1);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.about-hero__title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    color: #11172D;
    margin: 0 0 16px;
}

.about-hero__title::after {
    content: none !important;
}

.about-hero__subtitle {
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 600;
    color: #005DAC;
    line-height: 1.5;
    margin: 0 0 20px;
}

.about-hero__text {
    font-size: 16px;
    line-height: 1.75;
    color: #5D6584;
    margin: 0 0 32px;
    max-width: 540px;
}

.about-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.about-hero__photo {
    flex-shrink: 0;
    width: 420px;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 93, 172, 0.15);
}

.about-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- Кнопки ---- */
.about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.about-btn--primary {
    background: #005DAC;
    color: #fff;
    border: 2px solid #005DAC;
}

.about-btn--primary:hover {
    background: #004a8a;
    border-color: #004a8a;
    color: #fff;
}

.about-btn--outline {
    background: transparent;
    color: #005DAC;
    border: 2px solid #005DAC;
}

.about-btn--outline:hover {
    background: #005DAC;
    color: #fff;
}

.about-btn--white {
    background: #fff;
    color: #005DAC;
    border: 2px solid #fff;
}

.about-btn--white:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

/* ---- Цифры ---- */
.about-stats {
    padding: 0;
    position: relative;
    z-index: 1;
}

.about-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 93, 172, 0.1);
    margin-top: -40px;
    overflow: hidden;
}

.about-stats__item {
    padding: 36px 24px;
    text-align: center;
    position: relative;
}

.about-stats__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: #e8eff8;
}

.about-stats__number {
    display: block;
    font-size: 44px;
    font-weight: 800;
    color: #005DAC;
    line-height: 1;
    margin-bottom: 8px;
}

.about-stats__label {
    font-size: 14px;
    font-weight: 600;
    color: #5D6584;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ---- Секция заголовки ---- */
.about-section-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #11172D;
    line-height: 1.25;
    margin: 0 0 20px;
}

.about-section-title::after {
    content: none !important;
}

.about-section-title--center {
    text-align: center;
}

/* ---- Опыт ---- */
.about-experience {
    padding: 80px 0 60px;
    background: #fff;
}

.about-experience__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-experience__text p {
    font-size: 16px;
    line-height: 1.75;
    color: #5D6584;
    margin: 0 0 16px;
}

.about-experience__text a {
    color: #005DAC;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 93, 172, 0.3);
    transition: border-color 0.2s;
}

.about-experience__text a:hover {
    border-color: #005DAC;
}

/* ---- Подходы к работе ---- */
.about-approach {
    padding: 60px 0 80px;
    background: #f5f7fb;
}

.about-approach .about-section-title {
    margin-bottom: 48px;
}

.about-approach__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-approach__card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 2px 16px rgba(0, 92, 165, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.about-approach__card:hover {
    box-shadow: 0 10px 40px rgba(0, 92, 165, 0.14);
    transform: translateY(-4px);
}

.about-approach__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 93, 172, 0.08);
    color: #005DAC;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.about-approach__heading {
    font-size: 19px;
    font-weight: 700;
    color: #11172D;
    margin: 0 0 12px;
    line-height: 1.35;
}

.about-approach__card p {
    font-size: 15px;
    line-height: 1.7;
    color: #5D6584;
    margin: 0;
    flex: 1;
}

.about-approach__link {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #005DAC;
    text-decoration: none;
    transition: color 0.2s;
}

.about-approach__link:hover {
    color: #004a8a;
}

/* ---- Помощь / Обучение (видео + текст) ---- */
.about-help,
.about-education {
    padding: 60px 0;
}

.about-help {
    background: #fff;
}

.about-education {
    background: #f5f7fb;
}

.about-help__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-help__inner--reverse {
    direction: rtl;
}

.about-help__inner--reverse > * {
    direction: ltr;
}

.about-help__content p {
    font-size: 16px;
    line-height: 1.75;
    color: #5D6584;
    margin: 0 0 24px;
}

.about-help__content a:not(.about-btn) {
    color: #005DAC;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 93, 172, 0.3);
    transition: border-color 0.2s;
}

.about-help__content a:not(.about-btn):hover {
    border-color: #005DAC;
}

.about-help__video {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 93, 172, 0.1);
    aspect-ratio: 16 / 9;
    background: #11172D;
}

.about-help__video iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ---- CTA ---- */
.about-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #005DAC 0%, #003d75 100%);
}

.about-cta__inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.about-cta__title {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.25;
}

.about-cta__title::after {
    content: none !important;
}

.about-cta__text {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 36px;
}

.about-cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.about-cta__phone {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.about-cta__phone:hover {
    opacity: 0.8;
    color: #fff;
}

/* ---- Адаптив ---- */
@media (max-width: 1024px) {
    .about-hero__inner {
        gap: 40px;
    }

    .about-hero__photo {
        width: 340px;
        height: 340px;
    }

    .about-approach__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .about-hero {
        padding-top: 140px;
    }
}

@media (max-width: 768px) {
    .about-hero__inner {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about-hero__photo {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }

    .about-hero__text {
        max-width: 100%;
    }

    .about-hero__actions {
        justify-content: center;
    }

    .about-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -30px;
    }

    .about-stats__item:nth-child(2)::after {
        display: none;
    }

    .about-stats__item:nth-child(1)::after,
    .about-stats__item:nth-child(3)::after {
        top: auto;
        bottom: 0;
        left: 10%;
        width: 80%;
        height: 1px;
        top: auto;
    }

    .about-stats__number {
        font-size: 36px;
    }

    .about-experience__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-approach__grid {
        grid-template-columns: 1fr;
    }

    .about-help__inner,
    .about-help__inner--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .about-cta {
        padding: 60px 0;
    }

    .about-cta__actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .about-hero__photo {
        width: 220px;
        height: 220px;
        border-radius: 18px;
    }

    .about-stats__grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-stats__item {
        padding: 24px 16px;
    }

    .about-stats__number {
        font-size: 30px;
    }

    .about-stats__label {
        font-size: 12px;
    }

    .about-btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
    }
}
