/* Обёртка двух блоков на главной */
.fc-home {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
}

/* Карточка-блок, растянута по ширине контейнера */
.fc-section {
    width: 100%;
    border-radius: 40px;
    padding: 45px;
    box-sizing: border-box;
}

/* Общие настройки для блоков с фоном */
.fc-section--image-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Верхний блок */
.fc-section--top {
    min-height: 342px;
}

/* Нижний блок */
.fc-section--bottom {
    min-height: 362px;
}

/* Внутренняя сетка */
.fc-section-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    height: 100%;
}

/* Специально для нижнего блока:
   текст слева, пилюли справа по центру */
.fc-section-inner--bottom {
    align-items: center;
}

/* Левая колонка с текстом */
.fc-section-text {
    max-width: 430px; /* чуть уже, как на макете */
}

/* Правая колонка (под пилюли / пустота / логотип) */
.fc-section-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

/* “пустая” колонка в первом блоке */
.fc-section-ghost {
    flex: 1;
}

/* === Тексты === */

/* Заголовок */
.fc-title {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: #1f242b;
}

/* Подзаголовок */
.fc-subtitle {
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: #4b4f57;
}

/* Описание */
.fc-desc {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
    color: #4b4f57;
}

/* === Кнопки === */

.fc-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.fc-btn--primary {
    background: #5500ff;
    color: #ffffff;
}

.fc-btn--yellow {
    background: #ffc900;
    color: #000000;
}

/* === Пилюли во втором блоке === */

.fc-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 460px;
    justify-content: flex-end; /* чтобы они висели справа, как в макете */
}

.fc-pill {
    padding: 8px 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-size: 16px;
    white-space: nowrap;
    color: #333;
}

/* Правая колонка с логотипом в первом блоке */
.fc-section-logo {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Сам логотип FC в первом блоке */
.fc-section-logo-img {
    width: 217px;
    height: 252px;
    object-fit: contain;
    display: block;
}

/* ==== Тюнинг ПИЛЮЛЬ во втором (нижнем) блоке ==== */

/* Сами пилюли – начинаем слева направо */
.fc-section--bottom .fc-pills {
    justify-content: flex-start;   /* вместо flex-end */
    align-items: flex-start;
    position: relative;
    left: 10px;  /* чуть правее (подбери 12–24 по вкусу) */
    top: 40px;    /* чуть ниже (можно 6–12) */
}
