/* Каталог: города, хаб, карточки объектов */
.catalog-hub-section {
    padding-bottom: 48px;
}

.catalog-hub-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1180px;
    margin: 32px auto 0;
}

@media (max-width: 767px) {
    .catalog-hub-cards {
        grid-template-columns: 1fr;
    }
}

.catalog-hub-card {
    display: block;
    border-radius: 24px;
    min-height: 220px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.catalog-hub-card-buy {
    background: linear-gradient(135deg, #60724f 0%, #4a5a3f 100%);
    color: #f0ebe6;
}

.catalog-hub-card-rent {
    background: linear-gradient(135deg, #8a9a7e 0%, #60724f 100%);
    color: #f0ebe6;
}

.catalog-hub-card-inner {
    padding: 36px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.catalog-hub-card-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin: 0 0 12px;
}

.catalog-hub-card-desc {
    margin: 0;
    opacity: 0.95;
    font-size: 1rem;
    line-height: 1.5;
}

.catalog-breadcrumbs {
    max-width: 1180px;
    margin: 0 auto 16px;
    font-size: 0.9rem;
    color: #555;
}

.catalog-breadcrumbs a {
    color: #60724f;
    text-decoration: none;
}

.catalog-breadcrumbs a:hover {
    text-decoration: underline;
}

.catalog-bc-sep {
    margin: 0 8px;
    color: #aaa;
}

.catalog-city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1180px;
    margin: 24px auto 48px;
}

.catalog-city-card-link {
    text-decoration: none;
    color: inherit;
}

.catalog-city-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease;
    height: 100%;
}

.catalog-city-card-link:hover .catalog-city-card {
    transform: translateY(-3px);
}

.catalog-city-card-img-wrap {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

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

.catalog-city-card-body {
    padding: 20px;
}

.catalog-city-card-title {
    font-size: 1.25rem;
    margin: 0 0 8px;
    color: #222;
}

.catalog-city-card-desc {
    font-size: 0.95rem;
    color: #555;
    margin: 0 0 12px;
    line-height: 1.45;
}

.catalog-city-card-meta {
    font-size: 0.9rem;
    color: #60724f;
    font-weight: 600;
}

.catalog-city-header {
    max-width: 900px;
    margin: 0 auto 24px;
    text-align: center;
}

.catalog-city-h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin: 0 0 16px;
}

.catalog-city-lead {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin: 0 0 20px;
}

.catalog-city-cta-top {
    margin-bottom: 24px;
}

.catalog-city-hero-wrap {
    max-width: 1180px;
    margin: 0 auto 32px;
    border-radius: 20px;
    overflow: hidden;
}

.catalog-city-hero {
    width: 100%;
    height: auto;
    display: block;
    max-height: 480px;
    object-fit: cover;
}

.prose-content {
    max-width: 800px;
    margin: 0 auto 32px;
    line-height: 1.65;
    color: #333;
}

.prose-content h2,
.prose-content h3 {
    margin-top: 1.5em;
    color: #222;
}

.catalog-city-gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    max-width: 1180px;
    margin: 0 auto 32px;
    padding-bottom: 8px;
}

.catalog-city-gallery-item {
    flex: 0 0 280px;
    scroll-snap-align: start;
    margin: 0;
}

.catalog-city-gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

.catalog-city-gallery figcaption {
    font-size: 0.85rem;
    color: #666;
    margin-top: 6px;
}

.catalog-city-faq-item {
    border: 1px solid #e8e4df;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.catalog-city-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: #333;
}

.catalog-city-faq-a {
    margin-top: 10px;
    color: #555;
    font-size: 0.95rem;
}

.catalog-city-showcase {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #eee;
}

.catalog-showcase-h2 {
    text-align: center;
    margin-bottom: 24px !important;
}

.catalog-city-all-wrap {
    text-align: center;
    margin-top: 32px;
}

.catalog-prop-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.catalog-prop-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    background: #60724f;
    color: #f0ebe6;
}

.catalog-prop-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: #60724f;
    font-size: 0.95rem;
}

.catalog-float-btn {
    position: fixed;
    z-index: 80;
    bottom: 28px;
    right: 28px;
    padding: 14px 22px;
    border-radius: 100px;
    border: none;
    background: #60724f;
    color: #f0ebe6;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
    .catalog-float-btn {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: 20px;
    }
}

.catalog-float-btn.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.catalog-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px auto 48px;
}

.catalog-pager-link {
    color: #60724f;
    font-weight: 600;
    text-decoration: none;
}

.catalog-pager-link:hover {
    text-decoration: underline;
}

.catalog-empty-msg {
    text-align: center;
    color: #666;
    grid-column: 1 / -1;
}
