/* ——— здесь весь CSS из предыдущего финального кода ——— */
        /* он полностью сохранён, включая адаптив, анимацию и т.д. */
        :root {
            --bg-main: #f6f1ea;        /* основной фон */
            --bg-card: #ffffff;        /* карточки */
            --bg-light: #f0e9df;       /* секции */
            --text-main: #3b2a23;      /* основной текст */
            --text-muted: #7a6a5f;     /* вторичный текст */
            --accent: #b84a3a;         /* тёплый красно-коричневый */
            --accent-hover: #9e3d30;
            --border-soft: #e2d8cc;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
        }

        body {
            background: var(--bg-main);
            color: var(--text-main);
            line-height: 1.6;
            overflow-x: hidden;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* ===== HEADER ===== */
        header {
            background: #fff;
            border-bottom: 1px solid var(--border-soft);
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(10px);
            background: rgba(255, 255, 255, 0.95);
        }

        .header-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 20px;
            font-weight: 700;
            letter-spacing: -0.5px;
            color: var(--text-main);
        }

        nav a {
            margin-left: 30px;
            font-size: 14px;
            color: var(--text-muted);
            transition: color 0.2s ease;
            position: relative;
        }

        nav a:hover {
            color: var(--text-main);
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: width 0.3s ease;
        }

        nav a:hover::after {
            width: 100%;
        }

        .header-contacts a {
            margin-left: 20px;
            font-size: 15px;
            font-weight: 600;
            color: var(--accent);
            border: 1px solid var(--accent);
            padding: 8px 16px;
            border-radius: 30px;
            transition: 0.2s;
        }

        .header-contacts a:hover {
            background: var(--accent);
            color: white;
        }

        .btn {
            background: linear-gradient(135deg, #b84a3a, #cf6a55);
            color: #fff;
            padding: 12px 22px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            display: inline-block;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .btn:hover {
            background: var(--accent-hover);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(184, 74, 58, 0.2);
        }

        /* ===== ИКОНКИ ===== */
        .benefit-icon {
            width: 42px;
            height: 42px;
            margin: 0 auto 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(184, 74, 58, 0.08);
            color: var(--accent);
        }

        .benefit-icon svg {
            width: 22px;
            height: 22px;
        }

        /* ===== HERO ===== */
        .hero {
            background: url("../hero/hero.jpg") center / cover no-repeat;
            padding: 140px 0 180px;
            position: relative;
            overflow: hidden;
        }

        .hero > .container {
            margin: 0 auto;
            max-width: 900px;
            position: relative;
            z-index: 2;
            background: rgba(255, 255, 255, 0.72);
            padding: 40px;
            border-radius: 16px;
            backdrop-filter: blur(2px);
        }

        .hero h1 {
            font-size: 48px;
            max-width: 700px;
            line-height: 1.1;
            font-weight: 800;
            letter-spacing: -0.5px;
            color: #2b1d18;
            text-shadow: 0 6px 20px rgba(0,0,0,0.15);
        }

        .hero h1 span {
            color: var(--accent);
            display: inline-block;
        }

        .hero p {
            margin-top: 20px;
            font-size: 18px;
            color: #5a4a3f;
            max-width: 600px;
            font-weight: 500;
        }

        .hero-actions {
            margin-top: 40px;
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .hero-actions .btn.secondary {
            background: rgba(255, 255, 255, 0.6);
            border: 1px solid var(--accent);
            color: var(--accent);
        }

        .hero-actions .btn.secondary:hover {
            background: rgba(184, 74, 58, 0.08);
            border-color: var(--accent-hover);
            transform: translateY(-2px);
        }

        /* ===== SECTIONS ===== */
        section {
            padding: 100px 0;
            position: relative;
        }

        .section-title {
            font-size: 32px;
            margin-bottom: 50px;
            font-weight: 700;
            letter-spacing: -0.5px;
            color: var(--text-main);
        }

        .section-subtitle {
            max-width: 600px;
            color: var(--text-muted);
            margin: -30px auto 40px;
            text-align: center;
            font-size: 16px;
            line-height: 1.6;
        }

        /* ===== BENEFITS ===== */
        .benefits {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 30px;
        }

        .benefit {
            background: var(--bg-card);
            padding: 30px;
            border-radius: 10px;
            border: 1px solid var(--border-soft);
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0,0,0,0.04);
        }

        .benefit::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--accent);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .benefit:hover {
            transform: translateY(-5px);
            border-color: var(--border-soft);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
        }

        .benefit:hover::before {
            transform: scaleX(1);
        }

        .benefit h3 {
            margin-bottom: 15px;
            font-size: 18px;
            font-weight: 600;
            color: var(--text-main);
        }

        .benefit p {
            color: var(--text-muted);
            font-size: 14px;
        }

        .benefit.highlight {
            border-color: var(--accent);
            background: linear-gradient(to bottom, #fff, rgba(184, 74, 58, 0.04));
        }

        /* ===== STATS ===== */
        .stats {
            padding-top: 60px;
            padding-bottom: 60px;
            margin-top: -80px;
            position: relative;
            z-index: 3;
        }

        .stats .benefit {
            background: var(--bg-card);
            padding: 35px;
            border: 1px solid var(--border-soft);
            box-shadow: 0 6px 15px rgba(0,0,0,0.06);
            border-radius: 14px;
        }

        .stats .benefit::before {
            display: none;
        }

        .stats .benefit h3 {
            font-size: 34px;
            color: var(--accent);
            margin-bottom: 10px;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .stats .benefit p {
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 13px;
            opacity: 0.9;
            font-weight: 500;
            color: var(--text-muted);
        }

        /* ===== PARTNERS ===== */
        .partners-intro {
            color: var(--text-muted);
            margin-bottom: 30px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            text-align: center;
            font-size: 16px;
        }

        /* ===== PROPERTY TYPES ===== */
        .types {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 30px;
        }

        .type-card {
            background: var(--bg-card);
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid var(--border-soft);
            transition: all 0.3s ease;
            position: relative;
            box-shadow: 0 8px 20px rgba(0,0,0,0.04);
        }

        .type-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent);
            box-shadow: 0 12px 30px rgba(184, 74, 58, 0.1);
        }

        .type-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .type-card:hover img {
            transform: scale(1.05);
        }

        .type-card div {
            padding: 20px;
            font-weight: 600;
            font-size: 16px;
            color: var(--text-main);
        }

        /* ===== ABOUT ===== */
        .about {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .about p {
            color: var(--text-muted);
            margin-bottom: 15px;
            font-size: 16px;
        }

        .about img {
            width: 100%;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        /* ===== LEADERSHIP ===== */
        .leadership {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .leadership h3 {
            margin-bottom: 15px;
            font-size: 24px;
            color: var(--text-main);
            font-weight: 600;
        }

        .leadership p {
            color: var(--text-muted);
            margin-bottom: 15px;
            font-size: 16px;
            line-height: 1.7;
        }

        .leadership img {
            width: 100%;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .leadership-badge {
            display: inline-block;
            background: var(--accent);
            color: #fff;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 12px;
            margin-bottom: 15px;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .leadership-quote {
            color: var(--text-muted);
            font-style: italic;
            border-left: 3px solid var(--accent);
            padding-left: 15px;
            margin-top: 20px;
            font-size: 16px;
            line-height: 1.7;
        }

        /* ===== REVIEWS ===== */
        .reviews {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }

        .review {
            background: var(--bg-card);
            padding: 30px;
            border-radius: 10px;
            border: 1px solid var(--border-soft);
            transition: all 0.3s ease;
            position: relative;
            box-shadow: 0 8px 20px rgba(0,0,0,0.04);
        }

        .review:hover {
            transform: translateY(-5px);
            border-color: var(--accent);
            box-shadow: 0 12px 25px rgba(184, 74, 58, 0.08);
        }

        .review::before {
            content: "❝";
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 40px;
            color: var(--accent);
            opacity: 0.2;
            font-family: serif;
        }

        .review p {
            color: var(--text-muted);
            font-style: italic;
            line-height: 1.7;
            position: relative;
            z-index: 1;
        }

        .review span {
            display: block;
            margin-top: 15px;
            font-weight: 600;
            color: var(--text-main);
        }

        /* ===== CONTACT ===== */
        .contact {
            background: var(--bg-light);
            position: relative;
        }

        .contact::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--accent), transparent);
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
        }

        .contact p {
            color: var(--text-muted);
            margin-bottom: 10px;
            font-size: 16px;
        }

        .contact a[href^="tel:"],
        .contact a[href^="mailto:"] {
            color: var(--accent);
            text-decoration: none;
            transition: color 0.2s ease;
            font-weight: 500;
        }

        .contact a[href^="tel:"]:hover,
        .contact a[href^="mailto:"]:hover {
            color: var(--accent-hover);
            text-decoration: underline;
        }

        .contact iframe {
            width: 100%;
            height: 350px;
            border: none;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            border: 1px solid var(--border-soft);
        }

        /* ===== FORM SECTION ===== */
        .form-section {
            background: var(--bg-light);
            padding: 80px 0;
            position: relative;
        }

        .form-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--accent), transparent);
        }

        .form-container {
            max-width: 600px;
            margin: 0 auto;
            text-align: center;
        }

        .form-container h2 {
            margin-bottom: 30px;
            color: var(--text-main);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-control {
            width: 100%;
            padding: 15px;
            background: #fff;
            border: 1px solid var(--border-soft);
            border-radius: 6px;
            color: var(--text-main);
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .form-control:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(184, 74, 58, 0.15);
        }

        .submit-btn {
            background: var(--accent);
            color: white;
            padding: 15px 30px;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            width: 100%;
            transition: all 0.3s ease;
        }

        .submit-btn:hover {
            background: var(--accent-hover);
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(184, 74, 58, 0.2);
        }

        /* ===== PHOTO STORY BLOCK ===== */
        .photo-block {
            max-width: 1200px;
            margin: 60px auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .photo-block.reverse {
            grid-template-columns: 1fr 1fr;
        }

        .photo-block img {
            width: 100%;
            min-height: 360px;
            object-fit: cover;
        }

        .photo-block p {
            font-size: 16px;
            color: var(--text-muted);
            margin-bottom: 15px;
            line-height: 1.7;
        }

        .photo-badge {
            display: inline-block;
            background: var(--accent);
            color: #fff;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            margin-bottom: 15px;
            letter-spacing: .4px;
        }

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

        /* ===== EMOTIONAL BLOCK ===== */
        .emotional-block {
            padding: 120px 0;
            background: linear-gradient(to bottom, var(--bg-main), #f9f5f0);
            text-align: center;
        }

        .emotional-block .section-title {
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .emotional-block p {
            max-width: 600px;
            margin: 0 auto 30px;
            color: var(--text-muted);
            font-size: 18px;
            line-height: 1.7;
        }

        /* ===== FOOTER CTA ===== */
        .footer-cta {
            background: url("../hero/footer.jpg") center / cover no-repeat;
            padding: 100px 0;
            margin-top: 100px;
            position: relative;
            color: #fff;
            width: 100%;
            overflow: hidden;
        }

        .footer-cta-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: center;
            text-align: center;
        }

        .footer-cta-content {
            max-width: 600px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.75);
            padding: 40px;
            border-radius: 16px;
            backdrop-filter: blur(2px);
        }

        .footer-cta-badge {
            display: inline-block;
            background: rgba(184, 74, 58, 0.15);
            color: var(--accent);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: .4px;
            margin-bottom: 20px;
        }

        .footer-cta h2 {
            font-size: 48px;
            max-width: 700px;
            line-height: 1.1;
            font-weight: 800;
            letter-spacing: -0.5px;
            color: #2b1d18;
            margin-bottom: 20px;
            text-shadow: 0 6px 20px rgba(0,0,0,0.15);
        }

        .footer-cta p {
            margin-top: 20px;
            font-size: 18px;
            color: #5a4a3f;
            max-width: 600px;
            font-weight: 500;
            margin-bottom: 30px;
        }

        .footer-cta .btn {
            background: #fff;
            color: var(--accent);
        }

        .footer-cta .btn:hover {
            background: #f5f5f5;
        }

        /* ===== FOOTER ===== */
        footer {
            background: #fff;
            border-top: 1px solid var(--border-soft);
            padding: 40px 0;
            text-align: center;
            font-size: 13px;
            color: var(--text-muted);
            position: relative;
        }

        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--accent), transparent);
        }

        footer a {
            color: var(--accent);
            margin: 0 10px;
            transition: color 0.2s ease;
            font-weight: 500;
        }

        footer a:hover {
            color: var(--accent-hover);
            text-decoration: underline;
        }

        .footer-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 10px;
        }

        /* ===== НОВЫЕ БЛОКИ ===== */

        /* Гарантии */
        .guarantee-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .guarantee-item {
            background: rgba(184, 74, 58, 0.03);
            padding: 20px;
            border-radius: 8px;
            border-left: 3px solid var(--accent);
            text-align: left;
        }

        .guarantee-item h4 {
            font-size: 18px;
            margin-bottom: 8px;
            color: var(--text-main);
        }

        .guarantee-item p {
            color: var(--text-muted);
            font-size: 14px;
        }

        /* FAQ */
        .faq-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 30px;
        }

        .faq-item {
            background: var(--bg-card);
            padding: 25px;
            border-radius: 10px;
            border: 1px solid var(--border-soft);
        }

        .faq-item h4 {
            font-size: 18px;
            margin-bottom: 12px;
            color: var(--text-main);
            font-weight: 600;
        }

        .faq-item p {
            color: var(--text-muted);
            font-size: 15px;
            line-height: 1.6;
        }

        @media (max-width: 768px) {
            .faq-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Фиксированная кнопка WhatsApp */
        .fixed-wa {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: #25D366;
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
            transition: 0.3s;
            z-index: 999;
        }

        .fixed-wa:hover {
            transform: scale(1.1);
            background: #20bd5a;
        }

        .fixed-wa svg {
            width: 30px;
            height: 30px;
            fill: white;
        }

        /* Кнопка "Наверх" */
        .go-top {
            position: fixed;
            bottom: 30px;
            left: 30px;
            background: var(--accent);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: 0.3s;
            border: none;
            z-index: 998;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .go-top.show {
            opacity: 1;
            visibility: visible;
        }

        .go-top:hover {
            background: var(--accent-hover);
            transform: translateY(-3px);
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 900px) {
            .about,
            .leadership,
            .contact-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .hero h1 {
                font-size: 36px;
            }

            .hero > .container {
                padding: 30px;
            }
        }

        @media (max-width: 768px) {
            .header-inner {
                flex-direction: column;
                gap: 15px;
            }

            nav {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                gap: 15px;
            }

            nav a {
                margin: 0;
                font-size: 13px;
            }

            .hero {
                padding: 100px 0 140px;
            }

            .hero h1 {
                font-size: 32px;
                text-align: center;
            }

            .hero p {
                text-align: center;
                font-size: 16px;
            }

            .hero-actions {
                text-align: center;
                justify-content: center;
            }

            .hero-actions .btn {
                display: block;
                width: 100%;
                max-width: 250px;
            }

            .hero-actions .btn.secondary {
                margin-left: 0;
            }

            section {
                padding: 60px 0;
            }

            .section-title {
                font-size: 28px;
                text-align: center;
                margin-bottom: 30px;
            }

            .benefits,
            .types,
            .reviews {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .benefit,
            .type-card,
            .review {
                padding: 20px;
            }

            .contact iframe {
                height: 250px;
            }

            .stats {
                margin-top: -60px;
                padding-top: 40px;
            }

            .hero > .container {
                padding: 20px;
                max-width: 95%;
            }

            .fixed-wa {
                bottom: 20px;
                right: 20px;
                width: 50px;
                height: 50px;
            }

            .go-top {
                bottom: 20px;
                left: 20px;
                width: 45px;
                height: 45px;
            }
        }

        /* ===== ANIMATION ===== */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            opacity: 0;
        }

        .fade-in.visible {
            animation: fadeInUp 0.6s ease forwards;
        }
/* ===== Catalog Pages (apartments/houses/lands/newbuilds) ===== */
body.catalog-page {
    background: #f4f5f7;
    color: var(--text-main);
}

body.catalog-page main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

body.catalog-page h1 {
    font-size: 28px;
    margin-bottom: 24px;
}

body.catalog-page .cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

body.catalog-page .card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border: 1px solid var(--border-soft);
}

body.catalog-page .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

body.catalog-page .card-content {
    padding: 16px;
}

body.catalog-page .card h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

body.catalog-page .card p {
    font-size: 14px;
    color: #555;
}

body.catalog-page .card .btn {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #b84a3a, #cf6a55);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
}

body.catalog-page .card .btn:hover {
    background: var(--accent-hover);
}

body.catalog-page .listing-tools {
    margin-bottom: 24px;
}

body.catalog-page .filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

body.catalog-page .filters label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

body.catalog-page .filters input {
    padding: 10px 12px;
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    background: #fff;
    color: var(--text-main);
}

body.catalog-page .filter-reset {
    padding: 10px 14px;
}

body.catalog-page .results-count {
    font-size: 14px;
    color: var(--text-muted);
}

.card-meta {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}

.loading-state {
    grid-column: 1 / -1;
    color: var(--text-muted);
}

body.catalog-page .modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    align-items: center;
    justify-content: center;
}

body.catalog-page .modal-content {
    background: #fff;
    max-width: 800px;
    width: 90%;
    padding: 20px;
    border-radius: 8px;
    max-height: 90vh;
    overflow-y: auto;
}

body.catalog-page .modal img {
    width: 100%;
    margin-bottom: 10px;
}

body.catalog-page .close {
    float: right;
    cursor: pointer;
    font-size: 18px;
}

body.catalog-page .close-modal {
    border: none;
    background: transparent;
    line-height: 1;
}

/* Lands/Newbuilds variant details */
body.catalog-extended .card {
    display: flex;
    flex-direction: column;
}

body.catalog-extended .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

body.catalog-extended .card p {
    flex-grow: 1;
}

body.catalog-extended .btn {
    text-align: center;
}

body.catalog-extended .modal {
    z-index: 999;
}

body.catalog-extended .modal img {
    border-radius: 6px;
}

.hot-offers {
    padding-top: 20px;
}

.hot-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.hot-offer-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hot-offer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.hot-offer-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.hot-offer-content {
    padding: 16px;
}

.hot-offer-content h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.hot-offer-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 10px;
}

.hot-offer-tag {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
}

.hot-offer-price {
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
}

.contact-actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.whatsapp-btn {
    background: #25D366;
    border: none;
    color: white;
}

.telegram-btn {
    border: 1px solid #0088cc;
    color: #0088cc;
    background: white;
}

.form-note {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.footer-legal {
    font-size: 12px;
    opacity: .7;
}

.card-mortgage {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}
