/* ============================================================
   PH_SOLUTION — объединённый тёмный блок:
   верх: «Под ключ» (5 этапов в линию)
   низ:  «Команда» (текст + 4 фото) + «Получить презентацию»
   ============================================================ */

.ph_solution {
    background: var(--ph-bg-dark);
    color: var(--ph-cream);
    padding: 90px var(--side-gutter, 28px);
    margin: 0 calc(var(--side-gutter, 28px) * -1);
}

/* ---------- Верх: «Под ключ» ---------- */
.ph_solution__top {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 60px;
    align-items: start;
    padding-bottom: 70px;
    border-bottom: 1px solid rgba(245, 239, 230, 0.12);
}
.ph_solution__label {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(245, 239, 230, 0.55);
    margin-bottom: 18px;
    font-weight: 500;
}
.ph_solution__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 2.6vw, 40px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: var(--ph-cream);
    margin: 0 0 22px;
}
.ph_solution__title em {
    font-style: italic;
    font-weight: 400;
    color: var(--ph-gold);
}
.ph_solution__sub {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(245, 239, 230, 0.65);
    font-weight: 300;
    max-width: 340px;
}

/* 5 этапов в линию */
.ph_solution__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
    position: relative;
}
.ph_solution__steps::before {
    /* тонкая горизонтальная линия через центр номеров */
    content: "";
    position: absolute;
    top: 18px;
    left: 14px;
    right: 14px;
    height: 1px;
    background: rgba(245, 239, 230, 0.18);
    z-index: 0;
}
.ph_solution__step {
    position: relative;
    padding-top: 0;
}
.ph_solution__step_num {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ph-bg-dark);
    border: 1px solid rgba(245, 239, 230, 0.35);
    color: var(--ph-cream);
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 22px;
}
.ph_solution__step_title {
    font-size: 14px;
    color: var(--ph-cream);
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: -0.005em;
}
.ph_solution__step_text {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(245, 239, 230, 0.6);
    font-weight: 300;
}

/* ---------- Низ: команда + презентация ---------- */
.ph_solution__bottom {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr minmax(260px, 320px);
    gap: 40px;
    align-items: stretch;
    padding-top: 50px;
}
.ph_solution__team_text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ph_solution__team_text .ph_solution__label {
    margin-bottom: 14px;
}
.ph_solution__team_title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--ph-cream);
    margin: 0 0 16px;
}
.ph_solution__team_desc {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(245, 239, 230, 0.6);
    font-weight: 300;
    margin: 0 0 24px;
    flex: 1;
}
.ph_solution__team_link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ph-cream);
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid rgba(245, 239, 230, 0.4);
    padding-bottom: 4px;
    align-self: flex-start;
    transition: 0.3s ease;
}
.ph_solution__team_link:hover {
    border-color: var(--ph-gold);
    color: var(--ph-gold);
}

/* 4 портрета команды в горизонтальном ряду */
.ph_solution__team_photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    align-items: stretch;
}
.ph_solution__team_photo {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: rgba(245, 239, 230, 0.04);
}
.ph_solution__team_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    filter: grayscale(0.15);
    transition: filter 0.4s ease, transform 0.5s ease;
}
.ph_solution__team_photo:hover img {
    filter: grayscale(0);
    transform: scale(1.04);
}

/* Блок «Хотите увидеть больше проектов?» — справа */
.ph_solution__more {
    background: rgba(245, 239, 230, 0.04);
    border: 1px solid rgba(245, 239, 230, 0.1);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ph_solution__more_title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.15;
    color: var(--ph-cream);
    margin: 0 0 14px;
}
.ph_solution__more_text {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(245, 239, 230, 0.6);
    font-weight: 300;
    margin: 0 0 24px;
}
.ph_solution__more_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: var(--ph-cream);
    color: var(--ph-text-dark);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: 0.3s ease;
}
.ph_solution__more_btn:hover {
    background: var(--ph-gold);
    color: var(--ph-text-dark);
}

/* ---------- Скрываем старые версии этих блоков ---------- */
.remont_steps,
.uners_team,
.inspiration {
    display: none !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .ph_solution__top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 50px; }
    .ph_solution__bottom { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; }
    .ph_solution__team_photos { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 740px) {
    .ph_solution { padding: 60px 22px; }
    .ph_solution__steps {
        grid-template-columns: 1fr 1fr;
        gap: 24px 18px;
    }
    .ph_solution__steps::before { display: none; }
    .ph_solution__team_photos { grid-template-columns: repeat(2, 1fr); }
}
