
/* ==========================================
   DRAKKAR: адаптация первого экрана
   ========================================== */

/* Десктоп: делаем представление Павла заметнее */
@media (min-width: 851px) {

    .hero .captain-profile {
        display: flex;
        align-items: center;
        gap: 18px;
        padding: 16px 20px;
        margin-top: 26px;
        border: 1px solid rgba(212, 180, 119, .38);
        border-left: 3px solid #d4b477;
        border-radius: 6px;
        background: rgba(255, 255, 255, .055);
    }

    .hero .captain-profile img {
        width: 104px;
        height: 104px;
        flex: 0 0 104px;
        object-fit: cover;
    }

    .hero .captain-profile .profile-name {
        display: block;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.35;
    }

    .hero .captain-profile p {
        font-size: 16px;
        line-height: 1.5;
    }
}

/* Телефон и небольшие планшеты */
@media (max-width: 850px) {

    /* Вместо двух колонок создаём общую сетку */
    .hero .hero-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    /*
       Располагаем содержимое .hero-copy
       непосредственно в общей сетке.
    */
    .hero .hero-copy {
        display: contents;
    }

    /* 1. Подпись над заголовком */
    .hero .hero-copy > .eyebrow {
        grid-row: 1;
        margin-bottom: 12px;
    }

    /* 2. Заголовок */
    .hero .hero-copy > h1 {
        grid-row: 2;
        margin-bottom: 16px;
    }

    /* 3. Короткое описание */
    .hero .hero-description {
        grid-row: 3;
        margin-bottom: 14px;
    }

    /* 4. Иллюстрация с капитанами */
    .hero .hero-visual.experts-visual {
        grid-row: 4;
        width: 100%;
        margin: 0 auto 18px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero .experts-image {
        display: block;
        width: 100%;
        max-width: 460px;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: contain;
    }

    /* 5. Кнопки действий */
    .hero .hero-actions {
        grid-row: 5;
        margin-top: 0;
        margin-bottom: 22px;
    }

    /* 6. Блок Павла */
    .hero .captain-profile {
        grid-row: 6;
        display: flex;
        align-items: center;
        gap: 14px;
        width: 100%;
        padding: 15px;
        margin: 0 0 16px;
        border: 1px solid rgba(212, 180, 119, .38);
        border-left: 3px solid #d4b477;
        border-radius: 6px;
        background: rgba(255, 255, 255, .055);
    }

    .hero .captain-profile img {
        width: 76px;
        height: 76px;
        flex: 0 0 76px;
        object-fit: cover;
    }

    .hero .captain-profile .profile-name {
        display: block;
        font-size: 16px;
        line-height: 1.4;
    }

    .hero .captain-profile p {
        margin: 5px 0 0;
        font-size: 14px;
        line-height: 1.5;
    }
}

/* Очень узкие телефоны */
@media (max-width: 380px) {

    .hero .hero-visual.experts-visual {
        margin-bottom: 14px;
    }

    .hero .captain-profile {
        gap: 10px;
        padding: 12px;
    }

    .hero .captain-profile img {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

    .hero .captain-profile .profile-name {
        font-size: 15px;
    }

    .hero .captain-profile p {
        font-size: 13px;
    }
}
