
        :root {
            --bg-body: #1e1e1e;
            --bg-surface: rgba(40, 40, 45, 0.85);
            --bg-surface-strong: rgba(30, 30, 35, 0.92);
            --accent: #ff5e3a;
            --accent-alt: #f97316;
            --accent-soft: rgba(255, 94, 58, 0.18);
            --text-primary: #f8fafc;
            --text-secondary: #b0b7c5;
            --border-color: rgba(180, 180, 190, 0.2);
            --border-strong: rgba(200, 200, 210, 0.3);
            --radius-lg: 28px;
            --radius-md: 20px;
            --radius-sm: 12px;
            --shadow-soft: 0 28px 60px rgba(0, 0, 0, 0.6);
            --shadow-card: 0 14px 28px rgba(0, 0, 0, 0.5);
            --container-width: 1280px;
            --transition: 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', 'Open Sans', sans-serif;
            background-color: var(--bg-body);
            color: var(--text-primary);
            line-height: 1.6;
        }

        .container {
            width: min(100% - 40px, var(--container-width));
            margin: 0 auto;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 24px;
            border-radius: 999px;
            font-weight: 600;
            font-size: 0.95rem;
            border: 1px solid transparent;
            transition: all var(--transition);
            cursor: pointer;
            background: transparent;
        }

        .btn--primary {
            background: linear-gradient(135deg, var(--accent), #ff8c5a);
            color: #0f172a;
            box-shadow: 0 12px 30px rgba(255, 94, 58, 0.35);
        }

        .btn--primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 18px 34px rgba(255, 94, 58, 0.4);
        }

        .btn--secondary {
            border: 1px solid var(--border-strong);
            color: var(--text-primary);
        }

        .btn--secondary:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

        .btn--ghost {
            background: rgba(255, 255, 255, 0.08);
        }

        .btn--ghost:hover {
            background: rgba(255, 255, 255, 0.15);
        }

        .hero {
            position: relative;
            min-height: 90vh;
            display: flex;
            align-items: center;
            background: linear-gradient(180deg, rgba(20, 20, 20, 0.8) 0%, rgba(10, 10, 10, 0.95) 100%), url('/kazan/img/1.jpg') center/cover no-repeat;
            margin-bottom: 60px;
        }

        .hero__overlay {
            width: 100%;
            padding: 60px 0 80px;
        }

        .hero__content {
            display: grid;
            gap: 24px;
            text-align: left;
            backdrop-filter: blur(12px);
            background: rgba(20, 20, 20, 0.6);
            padding: 50px 50px;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-soft);
        }

        .hero__logo {
            font-family: 'Montserrat', sans-serif;
            font-size: 4rem;
            font-weight: 700;
            line-height: 1.1;
            color: white;
            text-shadow: 0 0 20px var(--accent);
        }

        .hero__content p {
            font-size: 1.2rem;
            color: var(--text-secondary);
            max-width: 600px;
        }

        .hero__actions {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            margin-top: 16px;
        }

        .panel-gallery {
            margin: 80px 0;
        }

        .panel-container {
            display: flex;
            gap: 24px;
            flex-wrap: wrap;
        }

        .panel {
            flex: 1 1 200px;
            min-height: 260px;
            border-radius: var(--radius-lg);
            background-size: cover;
            background-position: center;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-card);
            cursor: pointer;
            transition: flex 0.4s ease, transform 0.3s;
            position: relative;
            overflow: hidden;
        }

        .panel::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            opacity: 0.5;
            transition: opacity 0.3s;
        }

        .panel:hover::before {
            opacity: 0.8;
        }

        .panel.active {
            flex: 2;
        }

        .locations {
            margin: 80px 0;
        }

        .locations__header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            gap: 24px;
            margin-bottom: 32px;
            flex-wrap: wrap;
        }

        .locations__header h2 {
            font-family: 'Montserrat', sans-serif;
            font-size: 2.5rem;
            font-weight: 500;
            letter-spacing: 0.02em;
            color: white;
            margin-bottom: 0.25rem;
        }

        .locations__header p {
            color: var(--text-secondary);
            max-width: 600px;
            font-weight: 400;
        }

        .locations__stats {
            background: rgba(255,255,255,0.06);
            padding: 12px 24px;
            border-radius: var(--radius-sm);
            border: 1px solid rgba(180,180,190,0.15);
            font-weight: 600;
        }

        .search-section {
            background: rgba(30, 30, 35, 0.82);
            border-radius: 3rem;
            padding: 0.3rem;
            display: flex;
            border: 1px solid var(--border-color);
            margin: 2rem 0;
        }

        .search-input {
            flex: 1;
            border: none;
            padding: 0 1.5rem;
            font-size: 1rem;
            border-radius: 3rem;
            outline: none;
            background: transparent;
            color: var(--text-primary);
        }

        .search-input::placeholder {
            color: #8f9fb1;
        }

        .search-btn {
            background: var(--accent);
            border: none;
            border-radius: 3rem;
            padding: 0.8rem 2.5rem;
            color: #0f172a;
            font-weight: 600;
            cursor: pointer;
            transition: 0.2s;
        }

        .search-btn:hover {
            background: #ff784b;
        }

        .objects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.8rem;
            margin-top: 2rem;
        }

        .object-card {
            background: var(--bg-surface);
            border-radius: var(--radius-md);
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            backdrop-filter: blur(8px);
            transition: transform 0.2s, border-color 0.2s;
        }

        .object-card:hover {
            transform: translateY(-4px);
            border-color: var(--accent);
        }

        .card-address {
            font-size: 1.2rem;
            font-weight: 600;
            color: white;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .card-address i {
            color: var(--accent);
        }

        .yandex-link {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            background: rgba(255,255,255,0.08);
            padding: 0.4rem 1.2rem;
            border-radius: 2rem;
            color: var(--text-secondary);
            font-size: 0.9rem;
            margin: 0.5rem 0 1rem;
            border: 1px solid var(--border-color);
        }

        .yandex-link:hover {
            background: rgba(255,255,255,0.15);
            color: var(--accent);
        }

        .contact-row {
            display: flex;
            align-items: center;
            gap: 0.7rem;
            margin: 0.5rem 0;
            color: var(--text-secondary);
        }

        .contact-icon {
            width: 1.8rem;
            color: var(--accent);
            font-size: 1.1rem;
        }

        .phone-number {
            font-weight: 500;
            color: var(--text-primary);
        }

        .phone-number:hover {
            color: var(--accent);
        }

        .email {
            color: var(--text-secondary);
        }

        /* Блок для юридических лиц */
        .corporate-block {
            background: var(--bg-surface-strong);
            border-radius: var(--radius-lg);
            padding: 2.5rem;
            margin: 80px 0;
            border: 1px solid var(--border-color);
        }

        .corporate-label {
            background: var(--accent);
            color: #0f172a;
            padding: 0.2rem 1.2rem;
            border-radius: 2rem;
            font-size: 0.8rem;
            font-weight: 700;
            display: inline-block;
            margin-bottom: 1rem;
        }

        .corporate-block h2 {
            font-family: 'Montserrat', sans-serif;
            font-size: 2.2rem;
            font-weight: 500;
            letter-spacing: 0.02em;
            color: white;
            margin-bottom: 1rem;
        }

        .corporate-block p {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
            max-width: 800px;
        }

        .advantage-list {
            list-style: none;
            margin: 2rem 0;
        }

        .advantage-list li {
            margin: 1rem 0;
            display: flex;
            align-items: center;
            gap: 1rem;
            color: var(--text-secondary);
        }

        .advantage-list li i {
            color: var(--accent);
            width: 1.8rem;
            font-size: 1.2rem;
        }

        .corporate-contacts {
            background: rgba(0,0,0,0.3);
            border-radius: var(--radius-md);
            padding: 2rem;
            border: 1px solid var(--border-color);
            margin-top: 2rem;
        }

        .corporate-contacts p {
            margin-bottom: 0.75rem;
        }

        /* Исправление: стили для ссылок, кроме кнопок */
        .corporate-contacts a:not(.btn) {
            color: var(--accent);
            font-weight: 500;
        }

        .corporate-contacts a:not(.btn):hover {
            text-decoration: underline;
        }

        /* Блок общих контактов */
        .common-contacts {
            background: var(--bg-surface);
            border-radius: var(--radius-md);
            padding: 2rem;
            margin: 40px 0;
            border: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .common-contacts h3 {
            font-size: 1.5rem;
            font-weight: 500;
            color: white;
        }

        .common-contacts p {
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .common-contacts i {
            color: var(--accent);
            width: 1.5rem;
        }

        .common-contacts a {
            color: var(--text-primary);
            font-weight: 500;
        }

        .common-contacts a:hover {
            color: var(--accent);
        }

        .uds-popup {
            position: fixed;
            inset: 50% auto auto 50%;
            transform: translate(-50%, -50%);
            width: min(90vw, 520px);
            background: var(--bg-surface-strong);
            border-radius: var(--radius-lg);
            border: 1px solid var(--accent);
            box-shadow: var(--shadow-soft);
            z-index: 2000;
            padding: 20px;
            backdrop-filter: blur(12px);
        }

        .uds-popup.hidden {
            display: none;
        }

        .uds-popup__image {
            width: 100%;
            border-radius: var(--radius-md);
            margin-bottom: 20px;
        }

        .uds-popup__close {
            position: absolute;
            top: 14px;
            right: 14px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: none;
            background: rgba(20, 20, 20, 0.86);
            cursor: pointer;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }

        .uds-popup__close:hover {
            background: var(--accent);
            color: #0f172a;
        }

        .uds-button {
            position: fixed;
            right: 28px;
            bottom: 28px;
            padding: 14px 26px;
            border-radius: 999px;
            border: none;
            background: linear-gradient(135deg, var(--accent-alt), #ffb347);
            color: #0f172a;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 18px 40px rgba(249, 115, 22, 0.45);
            z-index: 1500;
            transition: transform var(--transition), box-shadow var(--transition);
        }

        .uds-button:hover {
            transform: translateY(-4px);
            box-shadow: 0 28px 50px rgba(249, 115, 22, 0.5);
        }

        footer {
            text-align: center;
            padding: 2rem;
            border-top: 1px solid var(--border-color);
            color: var(--text-secondary);
            margin-top: 60px;
        }

        @media (max-width: 768px) {
            .hero__logo {
                font-size: 3rem;
            }
            .panel-container {
                flex-direction: column;
            }
            .panel {
                min-height: 180px;
            }
            .common-contacts {
                flex-direction: column;
                align-items: flex-start;
            }
        }
    