* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --brand: #087BC5;
            --brand-dark: #0662a0;
            --brand-light: #e6f2fa;
            --brand-soft: rgba(8, 123, 197, 0.1);
            --brand-gradient: linear-gradient(135deg, #087BC5, #0a4d7a);
            --text-dark: #1e293b;
            --text-gray: #475569;
            --text-light: #64748b;
            --bg-light: #f8fafc;
            --white: #ffffff;
            --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
            --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
            --shadow-hover: 0 25px 30px -5px rgba(8, 123, 197, 0.2);
            --border-radius: 32px;
            --border-radius-md: 20px;
            --border-radius-sm: 12px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        body {
            font-family: 'Inter', sans-serif;
            color: var(--text-dark);
            background-color: var(--white);
            line-height: 1.5;
            overflow-x: hidden;
            width: 100%;
        }

        a { text-decoration: none; color: inherit; }
        ul { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
            width: 100%;
        }

        /* ========== ХЕДЕР ========== */
        .header {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            box-shadow: var(--shadow-sm);
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid rgba(8, 123, 197, 0.1);
        }

        .header__container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 80px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-icon {
            width: 48px;
            height: 48px;
            background: var(--brand-gradient);
            color: white;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            font-weight: 700;
            transform: rotate(-5deg);
            transition: var(--transition);
            box-shadow: 0 8px 16px -4px rgba(8, 123, 197, 0.3);
            flex-shrink: 0;
        }

        .logo:hover .logo-icon {
            transform: rotate(0deg) scale(1.05);
        }

        .logo-text {
            display: flex;
            flex-direction: column;
        }

        .logo-name {
            font-weight: 700;
            font-size: 18px;
            line-height: 1.3;
            color: var(--text-dark);
        }

        .logo-name span {
            color: var(--brand);
        }

        .logo-desc {
            font-size: 12px;
            color: var(--text-light);
        }

        /* Десктопные элементы */
        .desktop-actions {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .social-icons {
            display: flex;
            gap: 8px;
        }

        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--bg-light);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--brand);
            transition: var(--transition);
            font-size: 18px;
            border: 1px solid rgba(8, 123, 197, 0.1);
        }

        .social-icon:hover {
            background: var(--brand);
            color: white;
            transform: translateY(-3px) scale(1.1);
        }

        .phone-link {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            white-space: nowrap;
        }

        .phone-number {
            font-weight: 700;
            font-size: 18px;
            color: var(--text-dark);
            transition: color 0.2s;
        }

        .phone-number:hover {
            color: var(--brand);
        }

        .phone-label {
            font-size: 12px;
            color: var(--text-light);
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 24px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 14px;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            white-space: nowrap;
        }

        .btn-primary {
            background: var(--brand-gradient);
            color: white;
            box-shadow: 0 8px 16px -4px rgba(8, 123, 197, 0.4);
            position: relative;
            overflow: hidden;
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.6s;
        }

        .btn-primary:hover::before {
            left: 100%;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 24px -4px rgba(8, 123, 197, 0.6);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--brand);
            color: var(--brand);
        }

        .btn-outline:hover {
            background: var(--brand);
            color: white;
            transform: translateY(-2px);
        }

        .btn-sm {
            padding: 8px 16px;
            font-size: 13px;
        }

        /* Бургер кнопка - всегда видна */
        .burger-btn {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 24px;
            background: transparent;
            border: none;
            cursor: pointer;
            z-index: 1100;
            position: relative;
            margin-left: 15px;
        }

        .burger-btn span {
            width: 100%;
            height: 3px;
            background: var(--brand);
            border-radius: 4px;
            transition: var(--transition);
        }

        .burger-btn.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }

        .burger-btn.active span:nth-child(2) {
            opacity: 0;
            transform: translateX(-10px);
        }

        .burger-btn.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }

        /* Бургер панель - с таким же лого как в хедере */
        .burger-panel {
            position: fixed;
            top: 0;
            right: -100%;
            width: 100%;
            max-width: 420px;
            height: 100vh;
            background: var(--white);
            box-shadow: -10px 0 30px rgba(0,0,0,0.15);
            z-index: 1050;
            padding: 100px 30px 40px;
            overflow-y: auto;
            transition: right 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
            display: flex;
            flex-direction: column;
        }

        .burger-panel.active {
            right: 0;
        }

        .panel-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            background: var(--bg-light);
            border: none;
            border-radius: 50%;
            font-size: 20px;
            color: var(--text-dark);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .panel-close:hover {
            background: var(--brand);
            color: white;
            transform: rotate(90deg);
        }

        .panel-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #e2e8f0;
        }

        .panel-logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .panel-logo-icon {
            width: 48px;
            height: 48px;
            background: var(--brand-gradient);
            color: white;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            font-weight: 700;
            transform: rotate(-5deg);
            box-shadow: 0 8px 16px -4px rgba(8, 123, 197, 0.3);
            flex-shrink: 0;
        }

        .panel-logo-text {
            display: flex;
            flex-direction: column;
        }

        .panel-logo-name {
            font-weight: 700;
            font-size: 18px;
            line-height: 1.3;
            color: var(--text-dark);
        }

        .panel-logo-name span {
            color: var(--brand);
        }

        .panel-logo-desc {
            font-size: 12px;
            color: var(--text-light);
        }

        .panel-nav {
            display: grid;
            grid-template-columns: 1fr;
            gap: 6px;
            margin-bottom: 30px;
        }

        .panel-link {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 18px;
            background: var(--bg-light);
            border-radius: var(--border-radius-sm);
            font-weight: 500;
            color: var(--text-dark);
            transition: var(--transition);
            border-left: 4px solid transparent;
            font-size: 15px;
        }

        .panel-link i {
            width: 20px;
            color: var(--brand);
        }

        .panel-link:hover {
            background: var(--brand-light);
            border-left-color: var(--brand);
            transform: translateX(5px);
        }

        .panel-footer {
            margin-top: auto;
            border-top: 1px solid #e2e8f0;
            padding-top: 25px;
        }

        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            backdrop-filter: blur(5px);
            z-index: 1040;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s;
        }

        .overlay.active {
            opacity: 1;
            pointer-events: auto;
        }



        /* ========== МОДАЛЬНЫЕ ОКНА ========== */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            backdrop-filter: blur(5px);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: white;
            border-radius: var(--border-radius);
            max-width: 460px;
            width: 90%;
            padding: 30px 25px;
            position: relative;
            animation: scaleIn 0.3s ease;
            max-height: 90vh;
            overflow-y: auto;
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--text-gray);
            transition: color 0.2s;
        }

        .modal-close:hover {
            color: var(--brand);
        }

        .modal-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--text-dark);
        }

        .modal-subtitle {
            font-size: 15px;
            color: var(--text-gray);
            margin-bottom: 25px;
        }

        .form-step {
            display: block;
        }

        .form-step.hidden {
            display: none;
        }

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

        .form-label {
            display: block;
            font-weight: 500;
            margin-bottom: 6px;
            color: var(--text-dark);
            font-size: 14px;
        }

        .form-input {
            width: 100%;
            padding: 14px 16px;
            border: 2px solid #e2e8f0;
            border-radius: var(--border-radius-sm);
            font-size: 15px;
            transition: var(--transition);
        }

        .form-input:focus {
            border-color: var(--brand);
            outline: none;
            box-shadow: 0 0 0 3px var(--brand-soft);
        }

        .form-input.error {
            border-color: #ef4444;
        }

        .form-hint {
            color: #64748b;
            font-size: 13px;
            line-height: 1.35;
            margin: -2px 0 8px;
        }

        .form-multiselect {
            position: relative;
        }

        .form-multiselect-summary {
            align-items: center;
            border: 2px solid #e2e8f0;
            border-radius: var(--border-radius-sm);
            cursor: pointer;
            display: flex;
            font-size: 15px;
            justify-content: space-between;
            min-height: 48px;
            padding: 13px 16px;
            user-select: none;
            width: 100%;
        }

        .form-multiselect-summary::-webkit-details-marker {
            display: none;
        }

        .form-multiselect-summary::after {
            color: #64748b;
            content: "⌄";
            font-size: 18px;
            line-height: 1;
            margin-left: 12px;
        }

        .form-multiselect[open] .form-multiselect-summary {
            border-color: var(--brand);
            box-shadow: 0 0 0 3px var(--brand-soft);
        }

        .form-multiselect.has-value .form-multiselect-summary {
            border-color: var(--brand);
            background: var(--brand-soft);
        }

        .form-multiselect[open] .form-multiselect-summary::after {
            transform: rotate(180deg);
        }

        .form-multiselect .form-checkbox-group,
        .form-multiselect .form-choice-group {
            background: #fff;
            border: 2px solid #e2e8f0;
            border-radius: var(--border-radius-sm);
            box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
            margin-top: 8px;
            padding: 8px;
        }

        .form-multiselect-title {
            color: #0f172a;
            font-size: 14px;
            font-weight: 800;
            grid-column: 1 / -1;
            line-height: 1.25;
            padding: 4px 4px 2px;
        }

        .form-checkbox-group,
        .form-choice-group {
            display: grid;
            gap: 8px;
            max-height: min(320px, 48vh);
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        .form-messenger-grid,
        .form-time-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .form-messenger-grid .form-multiselect-done,
        .form-time-grid .form-multiselect-done {
            grid-column: 1 / -1;
        }

        .form-check-option {
            align-items: center;
            border: 2px solid #e2e8f0;
            border-radius: var(--border-radius-sm);
            cursor: pointer;
            display: flex;
            gap: 10px;
            min-height: 44px;
            padding: 10px 12px;
            transition: var(--transition);
        }

        .form-check-option:has(input:checked) {
            border-color: var(--brand);
            background: var(--brand-soft);
        }

        .form-check-option input {
            accent-color: var(--brand);
            height: 22px;
            min-width: 22px;
            width: 22px;
        }

        .form-check-option input[type="checkbox"] {
            border-radius: 4px;
        }

        .form-checkbox-group.error .form-check-option,
        .form-choice-group.error .form-check-option,
        .form-choice-select.error .form-multiselect-summary {
            border-color: #ef4444;
        }

        .form-multiselect-done {
            background: var(--brand);
            border: 0;
            border-radius: var(--border-radius-sm);
            color: #fff;
            cursor: pointer;
            font-weight: 700;
            min-height: 42px;
            padding: 10px 14px;
            width: 100%;
        }

        .form-input-large,
        input[type="date"].form-input {
            font-size: 18px;
            min-height: 56px;
            padding: 14px 16px;
        }

        input[type="date"].form-input::-webkit-calendar-picker-indicator {
            cursor: pointer;
            min-height: 28px;
            min-width: 28px;
            opacity: .85;
        }

        select.form-input {
            appearance: auto;
            background-color: #fff;
        }

        .form-input-select-note { display: none; }

        textarea.form-input {
            line-height: 1.45;
            min-height: 118px;
            resize: vertical;
        }

        .consult-review-card {
            border: 2px solid #dbeafe;
            border-radius: var(--border-radius-sm);
            margin-bottom: 18px;
            padding: 14px;
            background: #f8fbff;
        }

        .consult-review-title {
            color: var(--text-dark);
            font-size: 16px;
            font-weight: 800;
            margin-bottom: 10px;
        }

        .consult-review-row {
            border-top: 1px solid #e2e8f0;
            display: grid;
            gap: 4px;
            padding: 9px 0;
        }

        .consult-review-row:first-child {
            border-top: 0;
        }

        .consult-review-row span {
            color: #64748b;
            font-size: 13px;
        }

        .consult-review-row strong {
            color: var(--text-dark);
            font-size: 14px;
            line-height: 1.35;
            overflow-wrap: anywhere;
        }

        .error-message {
            color: #ef4444;
            font-size: 13px;
            margin-top: 4px;
        }

        .form-footer {
            display: flex;
            gap: 12px;
            margin-top: 25px;
        }

        .form-footer .btn {
            flex: 1;
            padding: 12px 16px;
        }

        .step-indicator {
            display: flex;
            gap: 8px;
            margin-bottom: 25px;
        }

        .step-dot {
            flex: 1;
            height: 4px;
            background: #e2e8f0;
            border-radius: 2px;
        }

        .step-dot.active {
            background: var(--brand);
        }

        .success-message {
            text-align: center;
            padding: 20px 0;
        }

        .success-message i {
            font-size: 56px;
            color: var(--brand);
            margin-bottom: 15px;
        }

        .success-message h3 {
            font-size: 22px;
            margin-bottom: 8px;
        }

        .success-message p {
            color: var(--text-gray);
            margin-bottom: 20px;
        }

        @keyframes scaleIn {
            from { transform: scale(0.9); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

        /* ========== HERO ========== */
        .hero {
            padding: 60px 0;
            background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(8,123,197,0.1) 0%, transparent 70%);
            border-radius: 50%;
            top: -200px;
            right: -200px;
            animation: float 20s infinite;
        }

        .hero::after {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(8,123,197,0.05) 0%, transparent 70%);
            border-radius: 50%;
            bottom: -100px;
            left: -100px;
            animation: float 15s infinite reverse;
        }

        @keyframes float {
            0% { transform: translate(0, 0); }
            50% { transform: translate(30px, 30px); }
            100% { transform: translate(0, 0); }
        }

        .hero__grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
            position: relative;
            z-index: 2;
        }

        .hero__badge {
            display: inline-block;
            background: var(--brand-soft);
            color: var(--brand);
            padding: 8px 20px;
            border-radius: 40px;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 20px;
            border: 1px solid rgba(8, 123, 197, 0.2);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(8, 123, 197, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(8, 123, 197, 0); }
            100% { box-shadow: 0 0 0 0 rgba(8, 123, 197, 0); }
        }

        .hero__title {
            font-size: 52px;
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 20px;
            letter-spacing: -0.02em;
        }

        .hero__title span {
            color: var(--brand);
            position: relative;
            display: inline-block;
        }

        .hero__title span::after {
            content: '';
            position: absolute;
            bottom: 5px;
            left: 0;
            width: 100%;
            height: 8px;
            background: rgba(8, 123, 197, 0);
            z-index: -1;
            border-radius: 4px;
        }

        .hero__text {
            font-size: 18px;
            color: var(--text-gray);
            margin-bottom: 30px;
            max-width: 90%;
        }

        .hero__stats {
            display: flex;
            gap: 40px;
            margin: 40px 0 0;
        }

        .stat-item {
            display: flex;
            flex-direction: column;
            position: relative;
			align-items: center;
        }

        .stat-item::after {
            content: '';
            position: absolute;
            right: -20px;
            top: 10%;
            height: 80%;
            width: 1px;
            background: rgba(8, 123, 197, 0.2);
        }

        .stat-item:last-child::after {
            display: none;
        }

        .stat-num {
            font-size: 36px;
            font-weight: 700;
            color: var(--brand);
            line-height: 1.2;
        }

        .stat-desc {
            font-size: 14px;
            color: var(--text-light);
        }

        .hero__image {
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
            transition: transform 0.6s;
        }

        .hero__image:hover {
            transform: perspective(1000px) rotateY(0) rotateX(0);
        }

        /* ========== СЕКЦИИ ========== */
        .section {
            padding: 80px 0;
        }

        .section-header {
            text-align: center;
            max-width: max-content;
            margin: 0 auto 50px;
        }

        .section-title {
            font-size: 42px;
            font-weight: 700;
            margin-bottom: 20px;
            letter-spacing: -0.02em;
            position: relative;
            display: inline-block;
        }

        .section-title span {
            color: var(--brand);
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
           /* background: var(--brand-gradient);*/
            border-radius: 3px;
        }

        .section-desc {
            font-size: 18px;
            color: var(--text-gray);
        }

        /* Сетки */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
            margin-top: 40px;
        }

        .categories-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin: 30px 0;
        }

        .cases-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
        }

        .articles-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
        }

        .faq-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            align-items: start;
        }

        .reviews-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
        }

        .work-steps {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            margin-top: 40px;
        }

        .partners-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 30px;
            align-items: center;
            margin-top: 40px;
        }

        /* Карточки преимуществ */
        .service-card {
            background: var(--white);
            padding: 30px 20px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 1px solid rgba(0,0,0,0.02);
            display: flex;
            flex-direction: column;
            height: 100%;
            position: relative;
            overflow: hidden;
            text-align: center;
        }

        .service-card::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--brand-gradient);
            transform: scaleX(0);
            transition: transform 0.4s;
            transform-origin: left;
        }

        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
        }

        .service-card:hover::after {
            transform: scaleX(1);
        }

        .service-icon {
            width: 70px;
            height: 70px;
            background: var(--brand-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 28px;
            color: var(--brand);
            transition: var(--transition);
        }

        .service-card:hover .service-icon {
            background: var(--brand);
            color: white;
            transform: scale(1.1) rotate(5deg);
        }

        .service-card h3 {
            font-size: 18px;
            margin-bottom: 10px;
            font-weight: 600;
        }

        .service-card p {
            color: var(--text-gray);
            font-size: 14px;
            line-height: 1.5;
        }

        /* Табы услуг */
        .services-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
            margin: 40px 0;
        }

        .service-tab {
            padding: 14px 32px;
            background: var(--white);
            border: 2px solid var(--brand-light);
            border-radius: 50px;
            font-weight: 600;
            font-size: 16px;
            color: var(--text-dark);
            cursor: pointer;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .service-tab::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(8,123,197,0.1), transparent);
            transition: left 0.6s;
        }

        .service-tab:hover {
            border-color: var(--brand);
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

        .service-tab:hover::before {
            left: 100%;
        }

        .service-tab.active {
            background: var(--brand-gradient);
            border-color: var(--brand);
            color: white;
            box-shadow: 0 8px 16px -4px rgba(8, 123, 197, 0.4);
        }

        /* Категории услуг */
        .category-card {
            background: var(--white);
            border-radius: var(--border-radius-md);
            padding: 25px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 1px solid rgba(8, 123, 197, 0.1);
            cursor: pointer;
            position: relative;
            overflow: hidden;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .category-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 0;
            background: var(--brand-gradient);
            transition: height 0.4s;
        }

        .category-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
        }

        .category-card:hover::before {
            height: 100%;
        }

        .category-icon {
            width: 60px;
            height: 60px;
            background: var(--brand-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 24px;
            color: var(--brand);
            transition: var(--transition);
        }

        .category-card:hover .category-icon {
            background: var(--brand);
            color: white;
            transform: scale(1.1) rotate(5deg);
        }

        .category-card h4 {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .category-card p {
            font-size: 14px;
            color: var(--text-gray);
            margin-bottom: 15px;
            flex-grow: 1;
        }

        .category-link {
            display: flex;
            align-items: center;
            gap: 5px;
            color: var(--brand);
            font-weight: 500;
            font-size: 14px;
            margin-top: auto;
        }

        .view-all-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--brand);
            font-weight: 600;
            font-size: 16px;
            padding: 12px 28px;
            border: 2px solid var(--brand-light);
            border-radius: 50px;
            transition: var(--transition);
        }

        .view-all-link:hover {
            background: var(--brand);
            color: white;
            gap: 12px;
        }

        /* Успешные дела */
        .case-card {
            background: var(--white);
            border-radius: var(--border-radius-md);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            height: 100%;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .case-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
        }

        .case-image {
            height: 160px;
            background: linear-gradient(135deg, var(--brand-light), var(--white));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 48px;
            color: var(--brand);
            position: relative;
            overflow: hidden;
        }

        .case-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.6s;
        }

        .case-card:hover .case-image::before {
            left: 100%;
        }

        .case-content {
            padding: 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .case-category {
            display: inline-block;
            font-size: 12px;
            font-weight: 600;
            color: var(--brand);
            background: var(--brand-light);
            padding: 4px 12px;
            border-radius: 30px;
            margin-bottom: 12px;
            align-self: flex-start;
        }

        .case-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .case-desc {
            font-size: 14px;
            color: var(--text-gray);
            margin-bottom: 15px;
            flex-grow: 1;
            line-height: 1.5;
        }

        .case-result {
            font-weight: 700;
            color: var(--brand);
            margin-top: auto;
            font-size: 16px;
        }

        /* Статьи */
        .article-card {
            background: var(--white);
            border-radius: var(--border-radius-md);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .article-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
        }

        .article-image {
            height: 160px;
            background: var(--brand-light);
            position: relative;
            overflow: hidden;
        }

        .article-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.6s;
        }

        .article-card:hover .article-image::before {
            left: 100%;
        }

        .article-date {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--brand);
            color: white;
            padding: 5px 12px;
            border-radius: 30px;
            font-size: 12px;
            font-weight: 600;
            z-index: 2;
        }

        .article-content {
            padding: 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .article-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 12px;
            line-height: 1.4;
        }

        .article-excerpt {
            font-size: 14px;
            color: var(--text-gray);
            margin-bottom: 15px;
            flex-grow: 1;
            line-height: 1.5;
        }

        .article-link {
            color: var(--brand);
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: auto;
            font-size: 14px;
        }

        .article-link:hover {
            gap: 12px;
        }

        /* FAQ */
        .faq-categories {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
            margin-bottom: 40px;
        }

        .faq-category-btn {
            padding: 10px 24px;
            background: var(--white);
            border: 2px solid var(--brand-light);
            border-radius: 40px;
            font-weight: 600;
            font-size: 14px;
            color: var(--text-dark);
            cursor: pointer;
            transition: var(--transition);
        }

        .faq-category-btn:hover {
            background: var(--brand-light);
            border-color: var(--brand);
            transform: translateY(-2px);
        }

        .faq-category-btn.active {
            background: var(--brand);
            border-color: var(--brand);
            color: white;
        }

        .faq-item {
            background: var(--white);
            border-radius: var(--border-radius-sm);
            padding: 20px;
            transition: var(--transition);
            cursor: pointer;
            border: 1px solid rgba(8, 123, 197, 0.1);
        }

        .faq-item:hover {
            background: var(--bg-light);
            border-color: var(--brand);
            transform: translateY(-3px);
            box-shadow: var(--shadow);
        }

        .faq-question {
            font-weight: 600;
            font-size: 16px;
            margin-bottom: 8px;
            color: var(--text-dark);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .faq-question i {
            color: var(--brand);
            transition: transform 0.3s;
        }

        .faq-item.active .faq-question i {
            transform: rotate(180deg);
        }

        .faq-answer {
            font-size: 14px;
            color: var(--text-gray);
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
        }

        .faq-item.active .faq-answer {
            max-height: 300px;
            margin-top: 15px;
        }

        .faq-category-badge {
            display: inline-block;
            font-size: 11px;
            font-weight: 600;
            color: var(--brand);
            background: var(--brand-light);
            padding: 3px 10px;
            border-radius: 30px;
            margin-bottom: 10px;
        }

        /* Отзывы */
        .reviews-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin-bottom: 40px;
        }

        .review-tab-btn {
            padding: 12px 28px;
            background: var(--white);
            border: 2px solid var(--brand-light);
            border-radius: 40px;
            font-weight: 600;
            font-size: 14px;
            color: var(--text-dark);
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .review-tab-btn i { font-size: 18px; }

        .review-tab-btn:hover {
            background: var(--brand-light);
            border-color: var(--brand);
            transform: translateY(-2px);
        }

        .review-tab-btn.active {
            background: var(--brand);
            border-color: var(--brand);
            color: white;
        }
        .review-tab-btn.active i { color: white; }

        .reviews-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            margin-bottom: 40px;
        }

        .review-card {
            background: var(--white);
            border-radius: var(--border-radius-md);
            padding: 25px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 1px solid rgba(8, 123, 197, 0.1);
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .review-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
        }

        .review-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }

        .review-avatar {
            width: 50px;
            height: 50px;
            background: var(--brand-gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 20px;
            flex-shrink: 0;
        }

        .review-info h4 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .review-platform {
            font-size: 12px;
            color: var(--text-light);
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .review-rating {
            color: #fbbf24;
            margin-bottom: 12px;
            font-size: 14px;
        }

        .review-text {
            font-size: 14px;
            color: var(--text-gray);
            line-height: 1.6;
            margin-bottom: 15px;
            font-style: italic;
            flex-grow: 1;
        }

        .review-date {
            font-size: 12px;
            color: var(--text-light);
            text-align: right;
        }

        /* Кнопки для отзывов */
        .reviews-footer {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 20px;
        }

        .review-platform-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            background: var(--white);
            border: 2px solid var(--brand-light);
            border-radius: 40px;
            font-weight: 600;
            font-size: 14px;
            color: var(--text-dark);
            transition: var(--transition);
        }

        .review-platform-link:hover {
            background: var(--brand);
            border-color: var(--brand);
            color: white;
            transform: translateY(-2px);
        }

        .review-platform-link i {
            color: var(--brand);
            transition: color 0.3s;
        }

        .review-platform-link:hover i {
            color: white;
        }

        /* Цены */
        .prices-block {
            background: var(--brand-gradient);
            border-radius: var(--border-radius);
            padding: 60px;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .prices-block::before {
            content: '';
            position: absolute;
            width: 300px;
            height: 300px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            top: -100px;
            right: -100px;
            animation: float 20s infinite;
        }

        .prices-block::after {
            content: '';
            position: absolute;
            width: 200px;
            height: 200px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            bottom: -50px;
            left: -50px;
            animation: float 15s infinite reverse;
        }

        .prices-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px 30px;
            margin: 30px 0;
            position: relative;
            z-index: 2;
        }

        .price-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 0;
            border-bottom: 1px solid rgba(255,255,255,0.2);
            font-size: 18px;
        }

        .price-value {
            font-weight: 700;
            font-size: 22px;
            padding-left: 10px;
            display: flex;
            justify-content: flex-end;
            min-width: fit-content;
        }

        /* Схема работы */
        .work-step {
            text-align: center;
            position: relative;
        }

        .work-step:not(:last-child)::after {
            content: '→';
            position: absolute;
            right: -20px;
            top: 30px;
            font-size: 24px;
            color: var(--brand);
            font-weight: 600;
        }

        .step-number {
            width: 60px;
            height: 60px;
            background: var(--brand);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 700;
            margin: 0 auto 20px;
            box-shadow: 0 10px 20px -5px rgba(8, 123, 197, 0.3);
        }

        .work-step h4 {
            font-size: 18px;
            margin-bottom: 10px;
        }

        .work-step p {
            font-size: 14px;
            color: var(--text-gray);
        }

        /* Партнеры */
        .partner-item {
            background: var(--white);
            padding: 20px;
            border-radius: var(--border-radius-sm);
            box-shadow: var(--shadow-sm);
            text-align: center;
            transition: var(--transition);
            opacity: 0.7;
        }

        .partner-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
            opacity: 1;
        }

        .partner-item img {
            max-width: 100%;
            height: auto;
            filter: grayscale(100%);
            transition: filter 0.3s;
        }

        .partner-item:hover img {
            filter: grayscale(0);
        }

        /* Офисы */
        .offices-section {
            padding: 80px 0;
            background: var(--bg-light);
        }

        .offices-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 40px;
        }

        .office-card {
            background: var(--white);
            border-radius: var(--border-radius-md);
            padding: 30px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 1px solid rgba(8, 123, 197, 0.1);
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .office-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
        }

        .office-icon {
            width: 60px;
            height: 60px;
            background: var(--brand-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 24px;
            color: var(--brand);
            transition: var(--transition);
        }

        .office-card:hover .office-icon {
            background: var(--brand);
            color: white;
            transform: scale(1.1);
        }

        .office-name {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--text-dark);
        }

        .office-address {
            font-size: 15px;
            color: var(--text-gray);
            margin-bottom: 20px;
            line-height: 1.5;
            flex-grow: 1;
        }

        .office-details {
            border-top: 1px solid #e2e8f0;
            padding-top: 20px;
        }

        .office-hours {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
            color: var(--text-dark);
            font-size: 14px;
        }

        .office-hours i {
            color: var(--brand);
            width: 20px;
        }

        .office-phone {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
            color: var(--text-dark);
            font-size: 16px;
            font-weight: 600;
        }

        .office-phone i {
            color: var(--brand);
            width: 20px;
        }

        .office-phone-small {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
            color: var(--text-dark);
            font-size: 14px;
            margin-left: 30px;
        }

        .office-email {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--brand);
            font-size: 14px;
            margin-top: 10px;
        }

        .office-email i {
            width: 20px;
        }

        /* Кнопка "Наверх" */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 54px;
            height: 54px;
            background: var(--brand-gradient);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 99;
            box-shadow: var(--shadow-lg);
            border: none;
        }

        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 20px 30px -5px rgba(8, 123, 197, 0.5);
        }

        /* Футер */
        .footer {
            background: #0f172a;
            color: #94a3b8;
            padding: 70px 0 30px;
            position: relative;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--brand-gradient);
        }

        .footer a {
            color: #94a3b8;
            transition: color 0.2s;
        }

        .footer a:hover {
            color: white;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 3fr 2fr;
            gap: 35px;
            margin-bottom: 50px;
        }

        .footer-links {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }

        .footer-links-column p {
            font-weight: 600;
            color: white;
            margin-bottom: 20px;
            font-size: 18px;
            position: relative;
            display: inline-block;
        }

        .footer-links-column p::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 30px;
            height: 2px;
            background: var(--brand);
        }

        .footer-links-column ul li {
            margin-bottom: 12px;
        }

        .footer-links-column ul li a {
            font-size: 14px;
            transition: padding-left 0.3s;
        }

        .footer-links-column ul li a:hover {
            padding-left: 5px;
            color: var(--brand);
        }

        .footer-contacts p {
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 14px;
        }

        .footer-contacts i {
            color: var(--brand);
            width: 20px;
        }

        .footer-copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid #1e293b;
            font-size: 14px;
        }

        /* ========== АДАПТИВНОСТЬ ========== */
        
        @media (max-width: 1199px) {
            .hero__title { font-size: 44px; }
            .services-grid { grid-template-columns: repeat(4, 1fr); }
            .offices-grid { grid-template-columns: repeat(3, 1fr); }
        }

        @media (max-width: 991px) {
            .header__container { height: 70px; }
            
            .desktop-actions .social-icons { display: none; }
            
            .hero__grid { 
                grid-template-columns: 1fr; 
                gap: 40px; 
            }
            .hero__content { text-align: center; }
            .hero__text { max-width: 100%; margin: 0 auto; }
            .hero__stats { justify-content: center; }
            .hero__stats .stat-item::after { display: none; }
            
            .services-grid { 
                grid-template-columns: repeat(2, 1fr); 
                gap: 20px;
            }
            
            .categories-grid { 
                grid-template-columns: repeat(2, 1fr); 
            }
            
            .cases-grid,
            .articles-grid,
            .reviews-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .faq-grid { grid-template-columns: 1fr; }
            
            .work-steps {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .work-step:not(:last-child)::after {
                display: none;
            }
            
            .partners-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .offices-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .footer-grid { 
                grid-template-columns: 1fr 1fr; 
                gap: 30px; 
            }
            .footer-links { grid-column: span 2; }
        }

        @media (max-width: 767px) {
            .container { padding: 0 16px; }
            
            .header__container { height: 65px; }
            
            .logo-name { 
                font-size: 14px; 
                white-space: nowrap;
            }
            .logo-desc { display: none; }
            .logo-icon { 
                width: 40px; 
                height: 40px; 
                font-size: 22px; 
            }
            
            .desktop-actions { display: none; }
            .burger-btn { display: flex; }
            
            .hero {
                padding: 40px 0;
            }
            
            .hero__title { 
                font-size: 32px; 
            }
            
            .hero__text {
                font-size: 16px;
                margin-bottom: 25px;
            }
            
            .hero__stats { 
                flex-direction: column; 
                align-items: center; 
                gap: 15px; 
                margin-top: 25px;
            }
            
            .stat-item {
                align-items: center;
            }
            
            .section { 
                padding: 50px 0; 
            }
            
            .section-title { 
                font-size: 28px; 
            }
            
            .section-desc {
                font-size: 16px;
            }
            
            .services-grid { 
                grid-template-columns: 1fr; 
                gap: 15px;
            }
            
            .service-card {
                padding: 25px 15px;
            }
            
            .services-tabs {
                gap: 8px;
            }
            
            .service-tab {
                padding: 10px 20px;
                font-size: 14px;
                width: 100%;
                text-align: center;
            }
            
            .categories-grid { 
                grid-template-columns: 1fr; 
                gap: 15px;
            }
            
            .cases-grid,
            .articles-grid,
            .reviews-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            .reviews-footer {
                flex-direction: column;
                gap: 10px;
            }
            
            .review-platform-link {
                width: 100%;
                justify-content: center;
            }
            
            .faq-categories {
                gap: 8px;
            }
            
            .faq-category-btn {
                padding: 8px 16px;
                font-size: 13px;
                width: 100%;
                text-align: center;
            }
            
            .faq-grid {
                gap: 15px;
            }
            
            .faq-item {
                padding: 15px;
            }
            
            .prices-block {
                padding: 30px 20px;
            }
            
            .prices-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }
            
            .price-item {
                font-size: 16px;
                padding: 12px 0;
            }
            
            .price-value {
                font-size: 18px;
            }
            
            .work-steps {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .work-step {
                padding: 0 15px;
            }
            
            .step-number {
                width: 50px;
                height: 50px;
                font-size: 20px;
            }
            
            .partners-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }
            
            .partner-item {
                padding: 15px;
            }
            
            .offices-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .office-card {
                padding: 25px;
            }
            
            .footer {
                padding: 50px 0 20px;
            }
            
            .footer-grid { 
                grid-template-columns: 1fr; 
                gap: 30px; 
            }
            
            .footer-links { 
                grid-column: auto; 
                grid-template-columns: 1fr 1fr;
                gap: 20px;
            }
            
            .footer-contacts p {
                font-size: 13px;
            }
            
            .burger-panel { 
                max-width: 100%; 
                padding: 80px 16px 30px; 
            }
            
            .panel-link {
                padding: 12px 14px;
                font-size: 14px;
            }
            
            .back-to-top { 
                bottom: 20px; 
                right: 20px; 
                width: 44px; 
                height: 44px; 
            }
        }

        @media (max-width: 575px) {
            .logo-name {
                font-size: 13px;
            }
            
            .hero__title { 
                font-size: 28px; 
            }
            
            .hero__text {
                font-size: 15px;
            }
            
            .btn { 
                width: 100%; 
            }
            
            .hero__content .btn {
                width: 100%;
                margin-bottom: 10px;
            }
            
            .section-title { 
                font-size: 26px; 
            }
            
            .footer-links {
                grid-template-columns: 1fr;
            }
            
            .partners-grid {
                grid-template-columns: 1fr;
            }

            .modal {
                align-items: flex-start;
                justify-content: center;
                overflow: hidden;
                padding: 0;
            }

            .modal-content {
                border-radius: 0;
                height: 100dvh;
                max-height: 100dvh;
                overflow-y: auto;
                overscroll-behavior: contain;
                padding: 18px 16px calc(28px + env(safe-area-inset-bottom));
                width: 100%;
                -webkit-overflow-scrolling: touch;
            }

            .modal .form-footer {
                background: linear-gradient(180deg, rgba(255,255,255,0), #fff 18px, #fff 100%);
                bottom: 0;
                flex-direction: column-reverse;
                margin: 18px -16px -18px;
                padding: 26px 16px 18px;
                position: sticky;
                z-index: 2;
            }

            .modal .form-footer .btn {
                min-height: 48px;
                white-space: normal;
                width: 100%;
            }

            .modal-title {
                font-size: 21px;
            }

            .modal-subtitle {
                margin-bottom: 16px;
            }

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

            .form-input,
            .form-multiselect-summary {
                font-size: 16px;
                min-height: 48px;
            }

            input[type="date"].form-input {
                font-size: 18px;
                min-height: 58px;
            }

            textarea.form-input {
                min-height: 132px;
            }

            .form-check-option {
                min-height: 48px;
                padding: 12px;
            }
        }

        @media (max-width: 900px) and (orientation: landscape) {
            .burger-panel {
                padding-top: 60px;
            }
            
            .panel-nav {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .modal-content {
                max-height: 80vh;
            }
        }


        /* ========== КАРТОЧКИ УСПЕШНЫХ ДЕЛ (горизонтальный layout) ========== */
.case-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
   /* gap: 20px;*/
    padding: 25px;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.case-image {
    width: 100px;
    height: 100px;
    min-width: 100px;
    border-radius: 14px;
    background: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--brand);
    overflow: hidden;
    transition: var(--transition);
}

.case-card:hover .case-image {
    /*background: var(--brand);*/
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 0px 25px;
}

.case-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand);
    background: var(--brand-light);
    padding: 4px 12px;
    border-radius: 30px;
    align-self: flex-start;
}

.case-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    margin: 0;
}

.case-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    margin: 0;
}

.case-result {
    font-weight: 600;
    color: var(--brand);
    font-size: 14px;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.case-card:hover .case-result {
    gap: 8px;
}

/* Сетка */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

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

    .case-card {
       // padding: 20px;
        gap: 15px;
    }
}

        /* ========== ХЛЕБНЫЕ КРОШКИ ========== */
.breadcrumbs {
    padding: 20px 0;
}

.breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

@media (max-width: 767px) {
 .breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
}

.breadcrumbs ul li {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.breadcrumbs ul li a {
    color: var(--text-light);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 400;
}

.breadcrumbs ul li a:hover {
    color: var(--brand);
}

.breadcrumbs-separator {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 300;
    margin: 0 2px;
}

.breadcrumbs-current {
    color: var(--brand);
    font-size: 14px;
    font-weight: 600;
    padding-bottom: 2px;
}

/* ---------- СТРАНИЦА КОНТАКТОВ ---------- */

/* Головной офис - контейнер */
.hq-card {
    background: var(--white);
    border: 2px solid var(--brand);
    padding: 35px 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
}

.hq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.hq-left { }
.hq-right { display: flex; flex-direction: column; gap: 15px;  padding-left: 0;}
.hq-title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.hq-address { font-size: 16px; line-height: 1.6; margin-bottom: 15px; color: var(--brand); font-weight: 500; }
.hq-btn { margin-top: 10px; }

/* Филиалы */
.branch-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
}

.branch-metro { min-height: 28px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.branch-metro i { color: var(--brand); }
.branch-metro span { font-weight: 600; color: var(--text-dark); }
.branch-name { font-size: 20px; margin-bottom: 10px; min-height: 30px; }
.branch-addr { font-size: 15px; line-height: 1.5; margin-bottom: 10px; color: var(--text-gray); flex-grow: 1; }
.branch-sched { min-height: 24px; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
.branch-sched i { color: var(--brand); width: 16px; }
.branch-sched span { font-size: 14px; color: var(--text-gray); }
.branch-contacts { margin-bottom: 15px; }
.branch-action { margin-top: auto; }
.branch-empty { display: flex; align-items: center; justify-content: center; min-height: 200px; color: var(--text-light); }

/* Фильтры */
.contacts-filters-wrap { display: flex; gap: 15px; margin-bottom: 30px; flex-wrap: wrap; }
.contacts-select-inline { padding: 12px 20px; border: 2px solid var(--brand-light); font-size: 15px; font-family: 'Inter', sans-serif; background: white; cursor: pointer; min-width: 200px; }
.contacts-city-heading { font-size: 24px; font-weight: 700; margin-bottom: 25px; color: var(--text-dark); }

/* CTA */
.cta-wrap { background: var(--brand); color: white; padding: 60px 0; }
.cta-inner { text-align: center; }
.cta-title { font-size: 36px; margin-bottom: 15px; }
.cta-subtitle { font-size: 18px; margin-bottom: 30px; }
.cta-info { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.cta-info-item { display: flex; align-items: center; gap: 10px; }
.cta-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* ---------- СТРАНИЦА ОБ АДВОКАТЕ ---------- */

.about-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-hero-text p { font-size: 18px; color: var(--text-gray); line-height: 1.6; margin-bottom: 20px; }
.about-hero-text p.sub { font-size: 16px; }
.about-hero-stats { display: flex; gap: 40px; margin-bottom: 30px; }
.about-hero-btn { margin-top: 30px; }
.about-hero-img { border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-hero-img img { width: 100%; height: auto; display: block; }

/* Сетки */
.about-edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.about-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.about-spec-grid { grid-template-columns: repeat(4, 1fr); }
.about-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* Карточка команды */
.team-card-avatar { width: 100px; height: 100px; overflow: hidden; font-size: 40px; margin-bottom: 20px; }
.team-card-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-card-name { font-size: 20px; }
.team-card-post { color: var(--brand); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.team-card-desc { font-size: 14px; color: var(--text-gray); line-height: 1.5; }

/* Цитата */
.about-quote { background: var(--brand-gradient); color: white; padding: 80px 0; text-align: center; }
.about-quote blockquote { font-size: 24px; font-weight: 500; line-height: 1.6; max-width: 800px; margin: 0 auto 20px; }
.about-quote .author { font-size: 18px; opacity: 0.9; }

.hq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ========================================== */
/*          МЕДИА-ЗАПРОСЫ                     */
/* ========================================== */

/* Планшеты (до 991px) */
@media (max-width: 991px) {
    /* --- Контакты --- */
    .hq-grid { grid-template-columns: 1fr; gap: 25px; }
    .hq-card { padding: 25px; }
    .hq-title-row { flex-wrap: wrap; }
    .cta-title { font-size: 28px; }
    .contacts-city-heading { font-size: 20px; }
    .contacts-select-inline { min-width: auto; flex: 1; }

    /* --- Об адвокате --- */
    .about-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-hero-text { text-align: center; }
    .about-hero-stats { justify-content: center; }
    .about-hero-btn { text-align: center; }
    .about-hero-img { max-width: 400px; margin: 0 auto; }
    .about-edu-grid { grid-template-columns: repeat(2, 1fr); }
    .about-why-grid { grid-template-columns: repeat(2, 1fr); }
    .about-spec-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .about-team-grid { grid-template-columns: repeat(2, 1fr); }
    .about-quote blockquote { font-size: 20px; }
}

/* Мобильные (до 767px) */
@media (max-width: 767px) {
    /* --- Контакты --- */
    .hq-card { padding: 20px; }
    .hq-address { font-size: 14px; }
    .contacts-filters-wrap { flex-direction: column; }
    .contacts-select-inline { width: 100%; }
    .contacts-city-heading { font-size: 18px; }
    .branch-name { font-size: 18px; }
    .cta-info { gap: 15px; flex-direction: column; align-items: center; }
    .cta-btns { flex-direction: column; align-items: center; }
    .cta-btns .btn { width: 100%; max-width: 300px; }

    /* --- Об адвокате --- */
    .about-hero-grid { grid-template-columns: 1fr; }
    .about-hero-stats { flex-direction: column; gap: 15px; align-items: flex-start; }
    .about-hero-stats .stat-item { flex-direction: row; gap: 8px; align-items: baseline; }
    .about-hero-stats .stat-item::after { display: none; }
    .about-edu-grid { grid-template-columns: 1fr; }
    .about-why-grid { grid-template-columns: 1fr; }
    .about-spec-grid { grid-template-columns: 1fr !important; }
    .about-team-grid { grid-template-columns: 1fr; }
    .about-quote { padding: 50px 0; }
    .about-quote blockquote { font-size: 18px; }
    .hero__title { font-size: 28px !important; }
    .section-title { font-size: 26px !important; }
}

/* Маленькие мобильные (до 575px) */
@media (max-width: 575px) {
    /* --- Контакты --- */
    .hq-card { padding: 15px; }
    .hq-grid { gap: 15px; }
    .cta-title { font-size: 24px; }
    .cta-subtitle { font-size: 16px; }
    .branch-card { min-height: auto; }

    /* --- Об адвокате --- */
    .hero__title { font-size: 24px !important; }
    .section-title { font-size: 22px !important; }
    .hero__badge { font-size: 12px; padding: 6px 15px; }
    .stat-num { font-size: 28px !important; }
    .about-hero-stats { gap: 10px; }
    .about-quote blockquote { font-size: 16px; }
}

        /* Исправление для stat-item на мобильных */
.stat-item {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
}

/* На мобильных - цифра и текст друг под другом */
@media (max-width: 767px) {
    .stat-item {
        flex-direction: column !important;
        align-items: center !important;
        gap: 5px !important;
        text-align: center;
    }

    .stat-num {
        font-size: 32px !important;
        line-height: 1.2;
    }

    .stat-desc {
        font-size: 13px;
        text-align: center;
    }

    /* Убираем горизонтальное расположение */
    .about-hero-stats {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }

    .about-hero-stats .stat-item::after {
        display: none !important;
    }
}

@media (max-width: 575px) {
    .stat-num {
        font-size: 28px !important;
    }

    .stat-desc {
        font-size: 12px;
    }
}

  /* Центрирование hero-блока на мобильных */
@media (max-width: 767px) {
    .about-hero-text {
        text-align: center !important;
    }

    .about-hero-stats {
        justify-content: center !important;
        align-items: center !important;
    }

    .about-hero-btn {
        text-align: center !important;
    }
}

        /* ========== ПАГИНАЦИЯ ========== */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination ul li {
    display: flex;
    align-items: center;
}

.pagination ul li a,
.pagination ul li b {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.pagination ul li a {
    color: var(--text-dark);
    background: var(--white);
    border-color: var(--brand-light);
}

.pagination ul li a:hover {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.pagination ul li b {
    color: white;
    background: var(--brand);
    border-color: var(--brand);
    font-weight: 600;
}

.pagination ul li a.prev,
.pagination ul li a.next {
    gap: 0;
}

.pagination ul li a.prev svg,
.pagination ul li a.next svg {
    width: 10px;
    height: 18px;
}

.pagination ul li a.prev:hover svg path,
.pagination ul li a.next:hover svg path {
    stroke: white;
}

@media (max-width: 767px) {
    .pagination ul li a,
    .pagination ul li b {
        min-width: 36px;
        height: 36px;
        font-size: 14px;
    }
}



        /* ========== ДЕТАЛЬНАЯ СТРАНИЦА УСПЕШНОГО ДЕЛА ========== */

/* Строка 1: два блока в ряд */
.case-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

/* Блок "Дело выиграно" */
.case-detail-win {
    background: var(--brand-gradient);
    color: white;
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
}

.case-detail-win__badge {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    opacity: 0.85;
}

.case-detail-win__text {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
}

/* Блок "Юрист" */
.case-detail-lawyer {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
}

.case-detail-lawyer__header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.case-detail-lawyer__photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.case-detail-lawyer__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-detail-lawyer__icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--brand);
    flex-shrink: 0;
}

.case-detail-lawyer__position {
    color: var(--brand);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.case-detail-lawyer__name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.case-detail-lawyer__profile {
    font-size: 14px;
    color: var(--text-gray);
}

.case-detail-lawyer__notes {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

/* Блоки "Суть дела" и "Решение суда" */
.case-detail-block {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.case-detail-block--result {
    background: var(--brand-light);
    border-left: 4px solid var(--brand);
}

.case-detail-block__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.case-detail-block__text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
}

.case-detail-block--result .case-detail-block__text {
    color: var(--text-dark);
}

/* Адаптивность */
@media (max-width: 767px) {
    .case-detail-row {
        grid-template-columns: 1fr;
    }

    .case-detail-lawyer__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .case-detail-win,
    .case-detail-lawyer,
    .case-detail-block {
        padding: 20px;
    }
}

        /* ========== ИЗОБРАЖЕНИЕ В ДЕТАЛЬНОЙ СТАТЬЕ ========== */
.article-detail-image {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    max-height: 450px; /* Максимальная высота */
}

.article-detail-image img {
    width: 100%;
    height: 450px; /* Фиксированная высота */
    object-fit: cover; /* Обрезает изображение, сохраняя пропорции */
    display: block;
}

/* На мобильных — меньше высота */
@media (max-width: 767px) {
    .article-detail-image {
        max-height: 300px;
    }

    .article-detail-image img {
        height: 300px;
    }
}

@media (max-width: 575px) {
    .article-detail-image {
        max-height: 220px;
    }

    .article-detail-image img {
        height: 220px;
    }
}



        /* ========== КАРТА САЙТА ========== */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.sitemap-column {
    min-width: 0;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-list--level-0 {
    /* Корневые элементы */
}

.sitemap-list--level-0 > li {
    background: var(--white);
    border-radius: var(--border-radius-sm);
    padding: 18px 22px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(8, 123, 197, 0.08);
    transition: var(--transition);
}

.sitemap-list--level-0 > li:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.sitemap-list--level-0 > li > a {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.sitemap-list--level-0 > li > a:hover {
    color: var(--brand);
}

/* Подуровни */
.sitemap-list--level-1 {
    margin-top: 10px;
    padding-left: 0;
    border-top: 1px solid #e2e8f0;
    padding-top: 10px;
}

.sitemap-list--level-1 > li {
    padding: 6px 0;
}

.sitemap-list--level-1 > li > a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding: 4px 0;
}

.sitemap-list--level-1 > li > a:hover {
    color: var(--brand);
    padding-left: 5px;
}

.sitemap-list--level-2,
.sitemap-list--level-3 {
    padding-left: 16px;
    margin-top: 4px;
}

.sitemap-list--level-2 > li,
.sitemap-list--level-3 > li {
    padding: 3px 0;
}

.sitemap-list--level-2 > li > a,
.sitemap-list--level-3 > li > a {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.sitemap-list--level-2 > li > a:hover,
.sitemap-list--level-3 > li > a:hover {
    color: var(--brand);
}

.sitemap-desc {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

/* Адаптивность */
@media (max-width: 991px) {
    .sitemap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 767px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sitemap-list--level-0 > li {
        padding: 14px 16px;
    }

    .sitemap-list--level-0 > li > a {
        font-size: 16px;
    }
}

        /* ========== СПИСОК ЦЕН (ОДНА КОЛОНКА) ========== */
.prices-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 30px 0;
    position: relative;
    z-index: 2;
}

.price-item--full {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 18px;
    gap: 20px;
}

.price-item--full:last-child {
    border-bottom: none;
}

.price-item--full span:first-child {
    flex: 1;
    font-weight: 400;
}

.price-item--full .price-value {
    font-weight: 700;
    font-size: 22px;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 575px) {
    .price-item--full {
        font-size: 15px;
        padding: 14px 0;
    }

    .price-item--full .price-value {
        font-size: 18px;
    }
}


        /* ========== ПОИСК В ХЕДЕРЕ ========== */
.header-search-bar {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 600px;
    height: 80px;
    background: var(--white);
    display: flex;
    align-items: center;
    padding: 0 24px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}

.header-search-bar.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.header-search-bar form {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.header-search-bar input {
    flex: 1;
    border: 2px solid var(--brand-light);
    border-radius: 40px;
    padding: 12px 20px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}

.header-search-bar input:focus {
    border-color: var(--brand);
}

.header-search-bar button[type="submit"] {
    background: var(--brand);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.header-search-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 18px;
    padding: 8px;
    flex-shrink: 0;
}

.header-search-close:hover {
    color: var(--brand);
}

/* header__container должен быть position: relative */
.header__container {
    position: relative;
}

@media (max-width: 767px) {
    .header-search-bar {
        max-width: 100%;
        height: 65px;
        padding: 0 16px;
    }
}

        /* ========== ПОИСК В ХЕДЕРЕ (поверх desktop-actions) ========== */
.desktop-actions {
    position: relative;
}

.desktop-actions__content {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: opacity 0.2s;
}

.desktop-actions.search-active .desktop-actions__content {
    opacity: 0;
    pointer-events: none;
}

.header-search-overlay {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
}

.header-search-overlay form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border-radius: 40px;
    padding: 4px 4px 4px 20px;
    border: 2px solid var(--brand);
    box-shadow: 0 4px 20px rgba(8, 123, 197, 0.15);
    width: 100%;
}

.header-search-overlay input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    background: transparent;
    padding: 10px 0;
    min-width: 0;
}

.header-search-overlay button[type="submit"] {
    background: var(--brand);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.header-search-close-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 16px;
    padding: 8px 10px 8px 0;
    flex-shrink: 0;
}

.header-search-close-btn:hover {
    color: var(--brand);
}

.ur {
  display: flex;
    justify-content: center;
    flex-wrap: wrap;
   padding-bottom: 30px;
}

.ur p{
 margin-left: 20px;
margin-right: 20px;   
}




/* ========== COOKIE CONSENT ========== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -8px 30px rgba(0,0,0,0.12);
    z-index: 9999;
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.active {
    transform: translateY(0);
}

.cookie-consent__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-consent__text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    flex: 1;
}

.cookie-consent__text a {
    color: var(--brand);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-consent__buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .cookie-consent {
        padding: 16px 0;
    }
    
    .cookie-consent__container {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    
    .cookie-consent__text {
        font-size: 13px;
    }
    
    .cookie-consent__buttons {
        justify-content: stretch;
    }
    
    .cookie-consent__buttons .btn {
        flex: 1;
    }
}

html.cookie-show .cookie-consent {
    transform: translateY(0);
}


/* ========== МОБИЛЬНАЯ ПАНЕЛЬ КОНТАКТОВ ========== */
.mobile-contacts-bar {
    display: none;
    background: var(--white);
    border-bottom: 1px solid rgba(8, 123, 197, 0.1);
    padding: 10px 0;
}

.mobile-contacts-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mobile-contacts-bar__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    text-decoration: none;
    white-space: nowrap;
}

.mobile-contacts-bar__phone i {
    color: var(--brand);
    font-size: 14px;
}

.mobile-contacts-bar__phone:hover {
    color: var(--brand);
}

.mobile-contacts-bar__social {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mobile-contacts-bar__social .social-icon {
    width: 34px;
    height: 34px;
    font-size: 14px;
}

/* Показываем только на мобильных */
@media (max-width: 767px) {
    .mobile-contacts-bar {
        display: block;
    }
}


.brand-text {
    color: var(--brand);
}





/* ===== ДИЗАЙН-ТОКЕНЫ (стандарт сайта) ===== */
.vr-page{
  --blue:#087BC5; --blue2:#0A4D7A; --grad:linear-gradient(135deg,#087BC5,#0A4D7A);
  --ink:#1E293B; --sub:#475569; --muted:#64748B;
  --border:#E2E8F0; --bg:#F8FAFC; --iconbg:#E6F2FA; --white:#fff;
  --shadow-card:0 20px 25px -5px rgba(0,0,0,.05);
  --shadow-sm:0 6px 16px -4px rgba(0,0,0,.05);
  --radius:20px; --radius-sm:12px;
  font-family:'Inter',sans-serif; color:var(--ink); -webkit-font-smoothing:antialiased;
}
.vr-page *{box-sizing:border-box;margin:0;padding:0}
.vr-page .wrap{max-width:1280px;margin:0 auto;}
.vr-page h2.sec{font-size:32px;font-weight:700;color:var(--ink);margin-bottom:24px;line-height:1.25}
.vr-page h3.sub{font-size:22px;font-weight:700;color:var(--ink);margin:32px 0 14px;line-height:1.3}
.vr-page p,.vr-page li{font-size:16px;line-height:1.6;color:var(--sub)}
.vr-page p+p{margin-top:14px}
.vr-page .blue{color:var(--blue)}
.vr-page ul.dots{list-style:none;margin:6px 0}
.vr-page ul.dots li{position:relative;padding-left:22px;margin-bottom:10px}
.vr-page ul.dots li::before{content:"";position:absolute;left:0;top:9px;width:7px;height:7px;border-radius:50%;background:var(--blue)}
.vr-page ol.steps{list-style:none;counter-reset:s;margin:6px 0}
.vr-page ol.steps li{position:relative;padding-left:42px;margin-bottom:14px;counter-increment:s}
.vr-page ol.steps li::before{content:counter(s);position:absolute;left:0;top:0;width:28px;height:28px;border-radius:50%;background:var(--blue);color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center}
.vr-page .callout{background:var(--bg);border-left:3px solid var(--blue);border-radius:var(--radius-sm);padding:16px 18px;margin:14px 0}
.vr-page .callout p{color:var(--ink)}
.vr-page .callout p+p{color:var(--sub)}
.vr-page .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:15px 32px;border-radius:40px;background:var(--grad);color:#fff;font-weight:600;font-size:16px;text-decoration:none;border:none;cursor:pointer}
.vr-page .hero h1{font-size:42px;font-weight:700;line-height:1.2;color:var(--ink);margin-bottom:18px}
.vr-page .hero .lead{font-size:18px;line-height:1.6;color:var(--sub);max-width:760px;margin-bottom:28px}
.vr-page ul.take{list-style:none}
.vr-page ul.take li{position:relative;padding-left:22px;margin-bottom:14px;color:var(--sub)}
.vr-page ul.take li::before{content:"";position:absolute;left:0;top:9px;width:7px;height:7px;border-radius:50%;background:var(--blue)}
.vr-page ul.take b{color:var(--ink);font-weight:600}
.vr-page .adv{display:flex;gap:32px;align-items:flex-start}
.vr-page .adv .photo{flex:0 0 320px;height:400px;border-radius:var(--radius);background:var(--iconbg) center/cover no-repeat;background-image:url('https://vrutskii.com/upload/medialibrary/36b/pzajpvxz7smv1zvle09plwbovzxbjai0.jpg')}
.vr-page .adv h3.name{font-size:22px;font-weight:700;color:var(--ink);margin-bottom:6px}
.vr-page .adv .role{font-size:14px;color:var(--muted);margin-bottom:18px}
.vr-page .adv .indiv{font-size:16px;line-height:1.7;color:var(--sub)}
.vr-page .grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:8px}
.vr-page .sit-card{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow-sm);background:#fff}
.vr-page .sit-card span{font-size:16px;font-weight:600;color:var(--ink);line-height:1.4}
.vr-page .sit-card .arr{flex:0 0 auto;color:var(--blue);font-size:20px}
.vr-page .faq-item{border:1px solid rgba(8,123,197,.12);border-radius:var(--radius-sm);padding:20px 22px;margin-bottom:14px;background:#fff}
.vr-page .faq-item .q{font-size:17px;font-weight:600;color:var(--ink);margin-bottom:8px}
.vr-page .faq-item .a{font-size:16px;line-height:1.6;color:var(--sub)}
.vr-page .sec-sub{font-size:18px;color:var(--sub);margin:-12px 0 24px}
@media(max-width:900px){
  .vr-page .wrap{padding:0 16px}.vr-page .hero h1{font-size:26px}.vr-page h2.sec{font-size:22px}
  .vr-page .grid2{grid-template-columns:1fr}.vr-page .adv{flex-direction:column}.vr-page .adv .photo{flex:none;width:100%;height:320px}
}


/* ========== СТРАНИЦА СИТУАЦИИ ========== */
.sit-page {
    --navy: #1E293B;
    --blue: #087BC5;
    --blue-d: #0668a7;
    --muted: #6B7A8D;
    --bg: #FFFFFF;
    --soft: #F6F8FB;
    --line: #E6EAF0;
    --green: #0E9F6E;
    --green-d: #067647;
    font-family: 'Inter', sans-serif;
    color: var(--navy);
    background: var(--bg);
    line-height: 1.62;
    font-size: 16px;
}

.sit-page * {
    box-sizing: border-box;
}

/* ---------- ХЛЕБНЫЕ КРОШКИ ---------- */
.sit-crumbs {
    font-size: 14px;
    color: var(--muted);
    padding: 30px 0 15px;
}

.sit-crumbs a {
    color: var(--text-light, #64748b);
    text-decoration: none;
    transition: color 0.3s;
}

.sit-crumbs a:hover {
    color: var(--blue);
}

.sit-crumbs span {
    color: var(--text-light, #64748b);
}

.sit-crumbs .sit-crumbs__sep {
    margin: 0 8px;
    color: #cbd5e1;
}

.sit-crumbs .sit-crumbs__current {
    color: var(--blue);
    font-weight: 600;
}

/* ---------- ИКОНКИ SVG ---------- */
.sit-ic {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    stroke: var(--blue);
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}

/* ---------- HERO ---------- */
.sit-hero {
    padding: 10px 0 30px;
    border-bottom: 1px solid var(--line);
}

.sit-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    background: var(--brand-light, #E6F2FA);
    border-radius: 40px;
    padding: 6px 18px;
    margin-bottom: 16px;
}

.sit-hero h1 {
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
    width: -webkit-fill-available;
}

.sit-hero h1 .sit-hero__accent {
    color: var(--blue);
}

.sit-lead {
    font-size: 18px;
    color: var(--text-gray, #475569);
    margin: 0 0 20px;
    max-width: 760px;
}

.sit-hero__cta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.sit-trustline {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
    color: var(--muted);
    font-size: 14px;
}

.sit-trustline b {
    color: var(--navy);
    font-weight: 600;
}

/* ---------- СЕТКА ---------- */
.sit-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
    padding: 30px 0 50px;
}

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

/* ---------- СЕКЦИИ ---------- */
.sit-section {
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.sit-section:last-of-type {
    border-bottom: 0;
}

.sit-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ---------- КОРОТКИЙ ОТВЕТ ---------- */
.sit-answer {
    display: flex;
    gap: 14px;
    background: #F1FBF6;
    border: 1px solid #CDEBD9;
    border-radius: 14px;
    padding: 20px;
}

.sit-answer__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-weight: 700;
    font-size: 18px;
}

.sit-answer b {
    color: var(--green-d);
}

.sit-answer__text {
    font-size: 16px;
    line-height: 1.6;
}

/* ---------- НУМЕРОВАННЫЙ СПИСОК ---------- */
.sit-steps {
    counter-reset: s;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sit-steps li {
    counter-increment: s;
    position: relative;
    padding: 12px 0 12px 48px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    line-height: 1.5;
}

.sit-steps li:last-child {
    border-bottom: 0;
}

.sit-steps li::before {
    content: counter(s);
    position: absolute;
    left: 0;
    top: 10px;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #0a5587;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

/* ---------- ПОДЗАГОЛОВОК В СЕКЦИИ ---------- */
.sit-sub {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 10px;
    color: var(--navy);
}

/* ---------- МАРКИРОВАННЫЙ СПИСОК ---------- */
.sit-dots {
    margin: 8px 0 0;
    padding-left: 20px;
    list-style-type: disc;
}

.sit-dots li {
    margin: 8px 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-gray, #475569);
}

/* ---------- СПИСОК С ГАЛОЧКАМИ ---------- */
.sit-take {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sit-take li {
    position: relative;
    padding: 10px 0 10px 32px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    line-height: 1.5;
}

.sit-take li:last-child {
    border-bottom: 0;
}

.sit-take li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 13px;
    width: 14px;
    height: 8px;
    border-left: 2.4px solid var(--green);
    border-bottom: 2.4px solid var(--green);
    transform: rotate(-45deg);
}

/* ---------- БЛОК С УСЛУГОЙ ---------- */
.sit-service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #D6EAF8;
    background: #F2F8FD;
    border-radius: 14px;
    padding: 18px 24px;
    margin-top: 20px;
}

.sit-service-row > div:first-child {
    flex: 1;
    min-width: 0;
}

.sit-service-row__name {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

.sit-service-row__desc {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.sit-service-row .sit-btn {
    flex-shrink: 0;
    align-self: center;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .sit-service-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sit-service-row .sit-btn {
        align-self: stretch;
        justify-content: center;
    }
}

/* ---------- АДВОКАТ ---------- */
.sit-lawyer {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 560px) {
    .sit-lawyer {
        grid-template-columns: 1fr;
    }
}

.sit-lawyer img {
    width: 160px;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--line);
}

.sit-lawyer__name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--navy);
}

.sit-lawyer__reg {
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 14px;
}

.sit-lawyer__text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray, #475569);
    margin-bottom: 14px;
}

.sit-lawyer__link {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.sit-lawyer__link:hover {
    text-decoration: underline;
}

/* ---------- FAQ ---------- */
.sit-faq details {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 10px;
}

.sit-faq summary {
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
}

.sit-faq summary::-webkit-details-marker {
    display: none;
}

.sit-faq summary::before {
    content: "+";
    color: var(--blue);
    font-weight: 800;
    margin-right: 10px;
    font-size: 18px;
}

.sit-faq details[open] summary::before {
    content: "–";
}

.sit-faq p {
    margin: 12px 0 0;
    color: #3a4859;
    font-size: 15px;
    line-height: 1.6;
}

/* ---------- ПОХОЖИЕ СИТУАЦИИ ---------- */
.sit-related {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 560px) {
    .sit-related {
        grid-template-columns: 1fr;
    }
}

.sit-related a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 15px 18px;
    text-decoration: none;
    color: var(--navy);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
}

.sit-related a:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.sit-related a span {
    color: var(--blue);
    font-size: 18px;
}

/* ---------- ФИНАЛЬНЫЙ CTA ---------- */
.sit-final {
    text-align: center;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 36px 24px;
    margin-top: 30px;
}

.sit-final h2 {
    justify-content: center;
    margin-bottom: 10px;
}

.sit-final__sub {
    color: var(--muted);
    margin: 0 0 18px;
    font-size: 16px;
}

.sit-final__btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- САЙДБАР ---------- */
.sit-sidebar {
    position: sticky;
    top: 100px;
}

.sit-scard {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 14px;
    background: #fff;
}

.sit-scard--dark {
    background: #0a5587;
    color: #e8eef6;
    border: 0;
}

.sit-scard--dark .sit-scard__muted {
    color: #9fb3c9;
    font-size: 13px;
}

.sit-price {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
    font-size: 14px;
}

.sit-price:last-child {
    border-bottom: 0;
}

.sit-toc a {
    display: block;
    color: var(--navy);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
}

.sit-toc a:last-child {
    border-bottom: 0;
}

.sit-toc a:hover {
    color: var(--blue);
}

/* ---------- КНОПКИ ---------- */
.sit-btn {
    background: var(--blue);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 13px 24px;
    font: 700 15px 'Inter', sans-serif;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.15s;
}

.sit-btn:hover {
    background: var(--blue-d);
    color: #fff;
}

.sit-btn--ghost {
    background: #fff;
    color: var(--navy);
    border: 1px solid var(--line);
}

.sit-btn--ghost:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: #fff;
}

.sit-btn--wide {
    display: flex;
    width: 100%;
}

/* ---------- АДАПТИВНОСТЬ ---------- */
@media (max-width: 767px) {
    .sit-hero h1 {
        font-size: 28px;
    }
    
    .sit-lead {
        font-size: 16px;
    }
    
    .sit-grid {
        gap: 0;
        padding-top: 10px;
    }
    
    .sit-section {
        padding: 20px 0;
    }
    
    .sit-section h2 {
        font-size: 20px;
    }
    
    .sit-sidebar {
        position: static;
    }
    
    .sit-related {
        grid-template-columns: 1fr;
    }
}

.sit-section {
    scroll-margin-top: 100px;
}

/* ========== TRUST CARDS (в hero) ========== */
.sit-trust-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 18px;
}

.sit-trust-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 32px;
    box-shadow: 0 2px 5px rgba(15,23,42,.04), 0 22px 34px rgba(15,23,42,.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    min-height: 140px;
}

.sit-trust-card strong {
    font-size: 23px;
    line-height: 29px;
    color: var(--blue);
}

.sit-trust-card span {
    margin-top: 12px;
    font-size: 17px;
    line-height: 23px;
    color: #4C5A6F;
    font-weight: 700;
}

/* ========== WARNING BLOCK ========== */
.sit-warning__subtitle {
    margin: 0 0 24px;
    color: var(--text-gray, #475569);
    font-size: 15.5px;
    line-height: 24px;
    padding-left: 30px;
}

.sit-warning-box {
    background: #FFF1F2;
    border: 1px solid #FECDD3;
    border-radius: 16px;
    padding: 18px 20px;
}

.sit-warn-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px solid #FECDD3;
}

.sit-warn-item:last-child {
    border-bottom: 0;
}

.sit-warn-mark {
    width: 26px;
    height: 26px;
    border-radius: 13px;
    background: #BE123C;
    color: white;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    margin-top: 3px;
    font-size: 14px;
}

.sit-warn-item p {
    margin: 0;
    color: var(--text-dark, #1e293b);
    font-size: 15.5px;
    line-height: 24px;
}

/* ========== DOCS BLOCK ========== */
.sit-docs__subtitle {
    margin: 0 0 24px;
    color: var(--text-gray, #475569);
    font-size: 15.5px;
    line-height: 24px;
    padding-left: 30px;
}

.sit-docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
    margin-top: 22px;
}

.sit-doc-card {
    border: 1px solid #E6EAF0;
    border-radius: 14px;
    background: white;
    position: relative;
    padding: 15px 24px 15px 34px;
    min-height: 92px;
}

.sit-doc-card::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 17px;
    width: 4px;
    height: calc(100% - 34px);
    border-radius: 2px;
    background: var(--blue);
}

.sit-doc-card strong {
    display: block;
    font-size: 16px;
    line-height: 23px;
    color: var(--text-dark, #1e293b);
}

.sit-doc-card p {
    margin: 4px 0 0;
    color: var(--text-gray, #475569);
    font-size: 14px;
    line-height: 21px;
}

/* Адаптивность для новых блоков */
@media (max-width: 991px) {
    .sit-trust-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sit-docs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .sit-trust-cards {
        grid-template-columns: 1fr;
    }
    
    .sit-trust-card {
        min-height: 100px;
        padding: 20px;
    }
    
    .sit-warning__subtitle,
    .sit-docs__subtitle {
        padding-left: 0;
    }
}

/* Адаптивность для фото адвоката */
@media (max-width: 560px) {
    .sit-lawyer img {
        width: 100%;
        height: auto;
    }
}

.sit-ic-warn {
    width: 20px;
    height: 20px;
    color: #BE123C;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
}

/* ========================================== */
/*       СТРАНИЦА СТАТЬИ (article -st)         */
/* ========================================== */
.article-st-page {
    --b: #087bc5;
    --bd: #0a4d7a;
    --t: #1e293b;
    --m: #64748b;
    --m2: #4c5a6f;
    --br: #e2e8f0;
    --soft: #f2f8fd;
    --sb: #e8f3fb;
    --g: #067647;
    --gb: #f1fbf6;
    --sh: 0 14px 28px rgba(15,23,42,.04);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--t);
}

/* ---------- HERO ---------- */
.article-st-hero {
    position: relative;
    padding: 28px 0 30px;
    margin-bottom: 40px;
}

/* ---------- ТЕГИ ---------- */
.article-st-tags {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    margin-bottom: 24px;
    overflow: hidden;
    max-height: 32px;
    transition: max-height 0.3s ease;
}
.article-st-tags--expanded {
    max-height: none;
    flex-wrap: wrap;
}
.article-st-tag {
    height: 32px;
    padding: 8px 14px;
    border-radius: 16px;
    background: var(--sb);
    color: var(--b);
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
    border: none;
    cursor: default;
}
.article-st-tag--more {
    display: none;
    background: transparent;
    color: var(--m);
    font-weight: 600;
    cursor: pointer;
    border: 1px dashed var(--br);
}

/* ---------- ЗАГОЛОВОК ---------- */
.article-st-hero h1 {
    width: 790px;
    max-width: 100%;
    margin: 0;
    color: #1a2231;
    font-size: 42px;
    line-height: 1.12;
    letter-spacing: -.02em;
    font-weight: 800;
}

/* ---------- HERO CONTENT ---------- */
.article-st-hero-content {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}
.article-st-hero-text {
    min-width: 0;
}

/* ---------- МЕТА ---------- */
.article-st-meta {
    display: flex;
    align-items: center;
    margin-top: 38px;
    width: 790px;
    max-width: 100%;
}
.article-st-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--sb);
    color: var(--b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
}
.article-st-ainfo {
    margin-left: 16px;
    flex: 1;
    min-width: 0;
}
.article-st-aname {
    font-size: 18px;
    font-weight: 800;
}
.article-st-arole {
    font-size: 15px;
    color: var(--m);
    margin-top: 4px;
}
.article-st-adate {
    font-size: 14px;
    color: #697991;
    margin-top: 6px;
}
.article-st-ok {
    margin-left: 16px;
    height: 40px;
    border-radius: 20px;
    padding: 0 16px;
    background: var(--gb);
    color: var(--g);
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ---------- ОБЛОЖКА ---------- */
.article-st-cover {
    width: 340px;
    height: 270px;
    border: 1px solid var(--br);
    border-radius: 28px;
    background: linear-gradient(135deg, #eaf6ff, #bddff7);
    box-shadow: var(--sh);
    overflow: hidden;
    flex-shrink: 0;
}
.article-st-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================== */
/*               КАРТОЧКИ                     */
/* ========================================== */

/* Базовая карточка */
.article-st-card {
    border: 1px solid var(--br);
    border-radius: 22px;
    box-shadow: var(--sh);
    margin: 20px 0 42px;
    background: #fff;
}

/* Комментарий адвоката */
.article-st-comment {
    position: relative;
    padding: 24px 28px 26px;
    overflow: hidden;
    background: #fff;
}
.article-st-comment::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: var(--b);
}
.article-st-comment b {
    display: block;
    color: var(--b);
    font-size: 16px;
    margin-bottom: 14px;
    font-weight: 700;
}
.article-st-comment div {
    font-size: 16px;
    line-height: 1.6;
    color: var(--m);
}

/* CTA в тексте */
.article-st-inline {
    padding: 32px 28px;
    background: var(--soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}
.article-st-inline h3 {
    margin: 0;
    font-size: 22px;
    color: var(--t);
    font-weight: 700;
}
.article-st-inline p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--m);
    max-width: 520px;
}

/* Правовая база */
.article-st-legal {
    padding: 28px;
    background: var(--soft);
}
.article-st-legal h2 {
    padding: 0;
    margin: 0 0 20px;
    font-size: 32px;
    color: var(--t);
    font-weight: 700;
}
.article-st-legal ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.article-st-legal li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--m);
}
.article-st-legal li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--b);
    font-weight: 800;
}
.article-st-legal li:last-child {
    margin-bottom: 0;
}

/* ========================================== */
/*            ПОСЛЕ СТАТЬИ                    */
/* ========================================== */

/* Полезно / Поделиться */
.article-st-useful {
    padding: 32px 28px;
    text-align: center;
    background: #fff;
}
.article-st-useful h2 {
    font-size: 26px;
    margin: 0 0 12px;
    color: var(--t);
    font-weight: 700;
}
.article-st-useful p {
    color: var(--m);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 24px;
}
.article-st-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
}

/* Что читать дальше */
.article-st-related {
    padding: 28px;
    margin-top: 20px;
    background: #fff;
}
.article-st-related h2 {
    font-size: 26px;
    margin: 0 0 20px;
    color: var(--t);
    font-weight: 700;
}
.article-st-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--br);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s, padding 0.2s, margin 0.2s;
}
.article-st-row:first-of-type {
    border-top: 0;
}
.article-st-row:hover {
    background: var(--soft);
    margin: 0 -12px;
    padding: 14px 12px;
    border-radius: 12px;
}
.article-st-type {
    color: var(--b);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 70px;
}
.article-st-rtitle {
    font-size: 16px;
    font-weight: 600;
    flex: 1;
    min-width: 0;
}
.article-st-arr {
    color: var(--b);
    font-weight: 800;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.article-st-row:hover .article-st-arr {
    transform: translateX(4px);
}

/* ========================================== */
/*               ТЕКСТ СТАТЬИ                 */
/* ========================================== */
.article-st-text {
    width: 100%;
}
.article-st-text p {
    margin: 0 0 22px;
    color: var(--m);
    font-size: 16px;
    line-height: 1.6;
}
.article-st-text h2 {
    margin: 0 0 24px;
    padding-top: 20px;
    font-size: 32px;
    line-height: 1.22;
    color: var(--t);
    font-weight: 700;
}
.article-st-text h3 {
    margin: 0 0 16px;
    font-size: 22px;
    line-height: 1.3;
    color: var(--t);
    font-weight: 700;
}
.article-st-text ul {
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}
.article-st-text li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--m);
}
.article-st-text li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--b);
    font-weight: 800;
}

/* ========================================== */
/*               КНОПКИ                       */
/* ========================================== */
.article-st-btn {
    height: 48px;
    border-radius: 999px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.article-st-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--b), var(--bd));
    box-shadow: 0 10px 22px rgba(8,123,197,.18);
}
.article-st-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(8,123,197,.28);
}
.article-st-btn--outline {
    color: var(--b);
    background: #fff;
    border: 1px solid var(--br);
}
.article-st-btn--outline:hover {
    background: var(--b);
    color: #fff;
    border-color: var(--b);
}
.article-st-btn--liked {
    background: var(--g) !important;
    color: #fff !important;
    border-color: var(--g) !important;
}

/* ========================================== */
/*            МЕНЮ ШАРИНГА                    */
/* ========================================== */
.article-st-share-menu {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
    padding: 16px;
    background: var(--soft);
    border-radius: 16px;
}
.article-st-share-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    color: #fff;
}
.article-st-share-link:hover {
    transform: translateY(-2px);
}
.article-st-share--vk { background: #0077FF; }
.article-st-share--tg { background: #0088CC; }
.article-st-share--wa { background: #25D366; }
.article-st-share--copy { background: #64748b; }

/* ========================================== */
/*          ФИНАЛЬНЫЙ CTA                     */
/* ========================================== */
.article-st-help {
    padding: 48px 0 60px;
    text-align: center;
}
.article-st-help h2 {
    margin: 0;
    font-size: 38px;
    color: var(--t);
    font-weight: 700;
}
.article-st-sub {
    margin-top: 14px;
    color: var(--m);
    font-size: 18px;
}
.article-st-contacts {
    display: flex;
    justify-content: center;
    gap: 44px;
    margin-top: 34px;
    flex-wrap: wrap;
}
.article-st-contact {
    width: 318px;
    height: 64px;
    border: 1px solid var(--br);
    border-radius: 18px;
    box-shadow: var(--sh);
    display: flex;
    align-items: center;
    padding: 0 22px;
    text-align: left;
    background: #fff;
    text-decoration: none;
}
.article-st-contact i {
    color: var(--b);
    font-style: normal;
    margin-right: 14px;
    font-size: 20px;
}
.article-st-contact b {
    font-size: 18px;
    color: var(--t);
}
.article-st-ha {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* ========================================== */
/*               АДАПТИВНОСТЬ                 */
/* ========================================== */
@media (max-width: 1280px) {
    .article-st-hero h1,
    .article-st-meta {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .article-st-hero {
        padding: 20px 0;
        margin-bottom: 24px;
    }
    .article-st-hero-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .article-st-cover {
        width: 100%;
        height: 220px;
        order: -1;
    }
    .article-st-hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .article-st-hero h1 {
        font-size: 26px;
    }
    .article-st-cover {
        height: 180px;
    }
    .article-st-meta {
        flex-wrap: wrap;
        width: 100%;
    }
    .article-st-ok {
        margin-left: 0;
        margin-top: 12px;
    }
    .article-st-text p,
    .article-st-text li {
        font-size: 15px;
    }
    .article-st-text h2 {
        font-size: 24px;
    }
    .article-st-help h2 {
        font-size: 28px;
    }
    .article-st-contacts {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .article-st-contact {
        width: 100%;
        max-width: 318px;
    }
    .article-st-ha {
        flex-direction: column;
        align-items: center;
    }
    .article-st-actions {
        flex-direction: column;
        align-items: center;
    }
    .article-st-tags {
        overflow-x: auto;
        width: 100%;
    }
    .article-st-tag--hide-mobile {
        display: none;
    }
    .article-st-tag--more {
        display: inline-flex;
        align-items: center;
    }
    .article-st-tags--expanded .article-st-tag--hide-mobile {
        display: inline-flex;
    }
    .article-st-tags--expanded .article-st-tag--more {
        display: none;
    }
}

/* === MESSENGER BRAND COLORS (added 2026-06-26) === */
.social-icon[href*="t.me"], .social-icon[href*="t.me"] i{color:#229ED9 !important}
.social-icon[href*="wa.me"], .social-icon[href*="wa.me"] i{color:#25D366 !important}
.social-icon[href*="max.ru"], .social-icon[href*="max.ru"] i{color:#7C4DFF !important}
.social-icon{transition:transform .12s}
.social-icon:hover{transform:translateY(-1px)}
