.catalog-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.catalog-hero {
    background: #ffffff;
    border: 1px solid #e0e4e8;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.catalog-hero h1 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 42px;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.catalog-hero p {
    max-width: 760px;
    color: #4b5563;
    font-size: 18px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.catalog-card {
    background: #ffffff;
    border: 1px solid #e0e4e8;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.04);
}

.catalog-card__image {
    display: block;
    height: 210px;
    background: #eef4ff;
}

.catalog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-card__image--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b5ed7;
    font-size: 54px;
    text-decoration: none;
}

.catalog-card__body {
    padding: 18px;
}

.catalog-card__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 900;
}

.catalog-card__top strong {
    color: #166534;
    background: #e8f8e8;
    border-radius: 999px;
    padding: 4px 9px;
}

.catalog-card h2 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.25;
}

.catalog-card h2 a {
    color: #111827;
}

.catalog-card h2 a:hover {
    color: #0b5ed7;
    text-decoration: none;
}

.catalog-card p {
    color: #374151;
    margin: 0;
}

.catalog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 800;
}

.catalog-detail {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.catalog-detail__header {
    background: #ffffff;
    border: 1px solid #e0e4e8;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.catalog-detail__header h1 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 46px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.catalog-detail__header h1 span {
    display: inline-flex;
    vertical-align: middle;
    margin-left: 10px;
    background: #e8f8e8;
    color: #166534;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 14px;
    font-weight: 900;
}

.catalog-detail__header p {
    color: #4b5563;
    font-size: 18px;
}

.catalog-detail__image {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.catalog-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}

.catalog-detail__section,
.catalog-contact-card {
    background: #ffffff;
    border: 1px solid #e0e4e8;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.04);
}

.catalog-detail__section h2,
.catalog-contact-card h3 {
    margin: 0 0 16px;
}

.catalog-detail__aside {
    position: sticky;
    top: 92px;
}

.catalog-contact-card p {
    margin: 0 0 12px;
    color: #374151;
}

.catalog-contact-card a {
    font-weight: 900;
}

@media (max-width: 900px) {
    .catalog-grid,
    .catalog-detail__layout {
        grid-template-columns: 1fr;
    }

    .catalog-detail__aside {
        position: static;
    }
}

@media (max-width: 760px) {
    .catalog-hero,
    .catalog-detail__header,
    .catalog-detail__section,
    .catalog-contact-card {
        padding: 20px;
        border-radius: 18px;
    }

    .catalog-hero h1,
    .catalog-detail__header h1 {
        font-size: 32px;
    }

    .catalog-card__image {
        height: 180px;
    }
}

/* Catalog split: specialists / companies */
.catalog-section-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-section-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid #e0e4e8;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-weight: 900;
    text-decoration: none;
}

.catalog-section-tabs a.is-active {
    background: #ef3340;
    border-color: #ef3340;
    color: #ffffff;
}

.catalog-section-tabs span {
    opacity: .72;
}

.catalog-info-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.catalog-info-strip div {
    padding: 16px;
    border: 1px solid #e0e4e8;
    border-radius: 18px;
    background: #ffffff;
}

.catalog-info-strip strong {
    display: block;
    color: #111827;
    font-weight: 950;
    margin-bottom: 4px;
}

.catalog-info-strip span {
    color: #64748b;
    font-size: 14px;
    line-height: 1.35;
}

.catalog-badge-business,
.catalog-badge-vip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 950;
}

.catalog-badge-business {
    background: linear-gradient(135deg, #161616, #3b2b08);
    color: #ffe08a !important;
}

.catalog-badge-vip {
    background: linear-gradient(135deg, #fff7d6, #ffe08a);
    color: #7a4b00 !important;
}

.catalog-card--specialist .catalog-card__image--empty {
    background: #eef6ff;
}

.catalog-card--company .catalog-card__image--empty {
    background: #fff7ed;
}

.catalog-empty {
    grid-column: 1 / -1;
    padding: 24px;
    border-radius: 18px;
    background: #ffffff;
    color: #64748b;
    font-weight: 800;
}

@media (max-width: 760px) {
    .catalog-info-strip {
        grid-template-columns: 1fr;
    }
}
