    :root {
        --primary: #1e3b4f;
        --primary-dark: #152b3a;
        --primary-light: #2b4d63;
        --secondary: #b87c4b;
        --secondary-light: #c78f5e;
        --accent: #8aa3b0;
        --success: #4d7352;
        --danger: #b95b5b;
        --warning: #c99f4a;
        --light: #faf6f0;
        --light-warm: #f7efe5;
        --dark: #2c3a47;
        --gray: #6f7b88;
        --gray-light: #e9e1d9;
        --text: #33495f;
        --text-light: #6b7a8a;
        --bg-warm: #fcf7f2;
        --text-icon: #fcf7f2
    }

    body {
        font-family: 'Inter', 'Open Sans', sans-serif;
        color: var(--text);
        background-color: var(--bg-warm);
        line-height: 1.5;
    }

    /* ===== НАВИГАЦИЯ ===== */
    .navbar {
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .navbar.scrolled {
        padding: 0.5rem 0;
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
        box-shadow: 0 4px 25px rgba(0,0,0,0.2);
    }

    .navbar-brand {
        font-size: 1.6rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        color: white !important;
        text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .navbar-brand i {
        color: var(--secondary);
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    }

    .nav-link {
        font-weight: 500;
        color: rgba(255,255,255,0.85) !important;
        padding: 0.5rem 1rem !important;
        border-radius: 6px;
        transition: all 0.2s ease;
    }

    .nav-link:hover {
        color: white !important;
        background-color: rgba(255,255,255,0.1);
    }

    .nav-link.active {
        color: white !important;
        background-color: rgba(255,255,255,0.15);
        font-weight: 600;
    }

    /* ===== HERO СЕКЦИИ ===== */
    .hero-section {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        color: white;
        padding: 5rem 0;
        position: relative;
        overflow: hidden;
    }

    .hero-section-small {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        padding: 4rem 0 5rem;
        position: relative;
        overflow: hidden;
    }

    .hero-section::before,
    .hero-section-small::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -10%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        border-radius: 50%;
        animation: float 20s ease-in-out infinite;
    }

    .hero-section::after,
    .hero-section-small::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
        border-radius: 50%;
        animation: float 15s ease-in-out infinite reverse;
    }

    .hero-title {
        font-size: 3.2rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        line-height: 1.2;
        text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }

    .hero-title span {
        color: var(--secondary);
        position: relative;
        display: inline-block;
    }

    .hero-title span::after {
        content: '';
        position: absolute;
        bottom: 5px;
        left: 0;
        width: 100%;
        height: 8px;
        background: rgba(184, 124, 75, 0.3);
        z-index: -1;
    }

    .hero-text {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        opacity: 0.9;
        max-width: 600px;
    }

    @keyframes float {
        0%, 100% { transform: translate(0, 0) rotate(0deg); }
        33% { transform: translate(30px, -30px) rotate(5deg); }
        66% { transform: translate(-30px, 30px) rotate(-5deg); }
    }

    /* ===== АНИМАЦИИ ===== */
    @keyframes slideInLeft {
        from { opacity: 0; transform: translateX(-30px); }
        to { opacity: 1; transform: translateX(0); }
    }

    @keyframes slideInRight {
        from { opacity: 0; transform: translateX(30px); }
        to { opacity: 1; transform: translateX(0); }
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @keyframes slideInUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @keyframes pulse {
        0% { box-shadow: 0 0 0 0 rgba(184, 124, 75, 0.4); }
        70% { box-shadow: 0 0 0 10px rgba(184, 124, 75, 0); }
        100% { box-shadow: 0 0 0 0 rgba(184, 124, 75, 0); }
    }

    .animate-title { animation: slideInLeft 0.8s ease forwards; }
    .animate-text { animation: slideInRight 0.8s ease forwards; }
    .animate-fade { animation: fadeIn 1s ease forwards; }

    
    /* ===== О КОМПАНИИ ===== */
    .about-section {
        background: linear-gradient(135deg, var(--light-warm) 0%, white 100%);
        padding: 5rem 0;
        position: relative;
    }

    .about-card {
        background: white;
        border-radius: 24px;
        padding: 2.5rem;
        box-shadow: 0 20px 40px rgba(30, 59, 79, 0.05);
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    /* Убираем все линии у заголовка */
    .about-card h2 {
        border-bottom: none !important;
        margin-bottom: 1.5rem !important;
        padding-bottom: 0 !important;
    }

    /* Убираем все псевдоэлементы */
    .about-card h2::after,
    .about-card h2::before,
    .about-card::after,
    .about-card::before {
        content: none !important;
        display: none !important;
    }

    .feature-list {
        list-style: none;
        padding: 0;
    }

    .feature-list li {
        display: flex;
        align-items: flex-start;
        margin-bottom: 1.5rem;
    }

    .feature-list li i {
        color: var(--secondary);
        font-size: 1.5rem;
        margin-right: 1rem;
        margin-top: 0.2rem;
    }

    .feature-list li div h6 {
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 0.2rem;
    }

    .feature-list li div p {
        color: var(--text-light);
        margin-bottom: 0;
        font-size: 0.95rem;
    }

    .stats-block {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        border-radius: 24px;
        padding: 3rem;
        color: white;
        text-align: center;
        box-shadow: 0 20px 40px rgba(30, 59, 79, 0.2);
    }

    .stats-number {
        font-size: 5rem;
        font-weight: 700;
        line-height: 1;
        margin-bottom: 0.5rem;
        color: var(--secondary);
    }

    .stats-text {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        font-weight: 500;
    }

    .stats-desc {
        opacity: 0.9;
        font-size: 1rem;
    }
    
    /* ===== КАРТОЧКИ ===== */
    .card {
        border: none;
        border-radius: 16px;
        overflow: hidden;
        transition: all 0.3s ease;
        background: white;
        box-shadow: 0 8px 25px rgba(0,0,0,0.03);
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(30, 59, 79, 0.12);
        border-color: rgba(184, 124, 75, 0.2);
    }

    .card-body { padding: 2rem; }

    /* ===== КНОПКИ ===== */
    .btn {
        border-radius: 50px;
        padding: 0.7rem 2rem;
        font-weight: 500;
        transition: all 0.2s ease;
        font-size: 1rem;
        letter-spacing: 0.3px;
    }

    .btn-primary {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        border: none;
        color: white;
        box-shadow: 0 4px 10px rgba(30, 59, 79, 0.2);
    }

    .btn-primary:hover {
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(30, 59, 79, 0.25);
    }

    .btn-secondary {
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        border: none;
        color: white;
        box-shadow: 0 4px 10px rgba(184, 124, 75, 0.2);
    }

    .btn-secondary:hover {
        background: linear-gradient(135deg, #a86b3c 0%, #b87c4b 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(184, 124, 75, 0.25);
    }

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

    .btn-outline-primary:hover {
        background: var(--primary);
        border-color: var(--primary);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(30, 59, 79, 0.15);
    }

    /* ===== КНОПКА АУТЕНТИФИКАЦИИ ===== */
    .auth-btn {
        width: 100%;
        padding: 1.2rem 2rem;
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        color: white;
        border: none;
        border-radius: 50px;
        font-size: 1.2rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 15px 30px rgba(184, 124, 75, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        position: relative;
        letter-spacing: 0.5px;
        text-shadow: 0 2px 5px rgba(0,0,0,0.2);
        margin: 0;
    }

    .auth-btn:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 25px 40px rgba(184, 124, 75, 0.5);
        background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
        color: white;
    }

    .auth-btn:active {
        transform: translateY(0) scale(0.98);
    }

    /* ===== СТАТИСТИКА ===== */
    .stat-item {
        text-align: center;
        padding: 2rem;
        background: white;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.02);
        transition: all 0.3s;
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    .stat-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(30, 59, 79, 0.08);
        border-color: rgba(184, 124, 75, 0.2);
    }

    .stat-number {
        font-size: 3rem;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 0.5rem;
        line-height: 1;
    }

    .stat-label {
        font-size: 1.1rem;
        color: var(--text-light);
        font-weight: 500;
    }

        /* ---- Вариант 3 (акцентная рамка сверху) ---- */
        .card-accent-top {
        border-radius: 24px;
        background: white;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        border: 1px solid rgba(184, 124, 75, 0.25);
        transition: all 0.3s ease;
    }
    .card-accent-top:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(30, 59, 79, 0.12);
        border-color: var(--secondary);
    }
    .btn-primary-custom {
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        border: none;
        border-radius: 40px;
        padding: 0.5rem 1rem;
        font-weight: 600;
        color: white;
        transition: all 0.2s;
    }
    .btn-primary-custom:hover {
        background: linear-gradient(135deg, #a86b3c 0%, var(--secondary) 100%);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(184,124,75,0.3);
        color: white !important;
    }
    /* Новая стильная плашка для цены */
    .price-badge-accent {
        display: inline-block;
        padding: 0.35rem 0.9rem;
        border: 1.5px solid var(--secondary);
        border-radius: 40px;
        font-weight: 700;
        font-size: 1rem;
        color: var(--secondary);
        background: rgba(184, 124, 75, 0.05);
        transition: all 0.2s ease;
    }
    .card-accent-top:hover .price-badge-accent {
        background: var(--secondary);
        color: white;
        border-color: var(--secondary);
    }
    .text-secondary-custom {
        color: var(--secondary) !important;
    }
    .object-fit-cover {
        object-fit: cover;
    }

    /* ===== ФУТЕР ===== */
    .footer {
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
        color: white;
        padding: 4rem 0 2rem;
        margin-top: 5rem;
        position: relative;
        overflow: hidden;
    }

    .footer::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
        border-radius: 50%;
        animation: float 20s ease-in-out infinite;
    }

    .footer h5 {
        color: white;
        font-weight: 600;
        margin-bottom: 1.5rem;
        position: relative;
        display: inline-block;
    }

    .footer h5::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 40px;
        height: 3px;
        background: var(--secondary);
        border-radius: 2px;
    }

    .footer a {
        color: rgba(255,255,255,0.7);
        text-decoration: none;
        transition: all 0.2s;
        display: inline-block;
        margin-bottom: 0.5rem;
    }

    .footer a:hover {
        color: var(--secondary);
        transform: translateX(3px);
    }

    .social-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.1);
        border-radius: 12px;
        margin-right: 10px;
        transition: all 0.2s;
    }

    .social-links a:hover {
        background: var(--secondary);
        transform: translateY(-3px);
    }

    .social-links a i {
        font-size: 1.2rem;
        color: white;
    }

    /* ===== FLASH СООБЩЕНИЯ ===== */
    .flash-message-container .alert {
        border: none;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-left: 4px solid;
        font-weight: 500;
    }

    .alert-success {
        border-left-color: var(--success);
        background: linear-gradient(135deg, #ffffff 0%, #f4faf5 100%);
        color: var(--success);
    }

    .alert-danger {
        border-left-color: var(--danger);
        background: linear-gradient(135deg, #ffffff 0%, #fef5f5 100%);
        color: var(--danger);
    }

    /* ===== КАСТОМНЫЙ СКРОЛЛБАР ===== */
    ::-webkit-scrollbar { width: 10px; }
    ::-webkit-scrollbar-track { background: var(--gray-light); }
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        border-radius: 5px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    }

    /* ===== СТРАНИЦА УСЛУГ ===== */
    .services-card {
        border-radius: 20px;
        background: white;
        box-shadow: 0 10px 30px rgba(30, 59, 79, 0.05);
        border: 1px solid rgba(184, 124, 75, 0.1);
        transition: all 0.3s ease;
        height: 100%;
    }

    .services-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(30, 59, 79, 0.12);
        border-color: rgba(184, 124, 75, 0.2);
    }

    .services-card .icon-wrapper {
        background: rgba(184, 124, 75, 0.1);
        border-radius: 12px;
        padding: 1rem;
        display: inline-flex;
        margin-right: 1rem;
    }

    .services-card .icon-wrapper i {
        font-size: 2rem;
        color: var(--secondary);
    }

    .services-card .card-title {
        color: var(--primary);
        font-weight: 700;
        margin-bottom: 0;
    }

    .services-card .card-text {
        color: var(--text-light);
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .services-card .price {
        color: var(--secondary);
        font-weight: 700;
        font-size: 1.25rem;
    }

    .services-card .btn-order {
        background: var(--primary);
        color: white;
        border: none;
        border-radius: 50px;
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }

    .services-card .btn-order:hover {
        background: var(--secondary);
        transform: translateX(5px);
    }

    /* ===== ПРЕИМУЩЕСТВА ===== */
    .benefits-section {
        background: linear-gradient(135deg, #f7efe5 0%, #fcf7f2 100%);
        padding: 5rem 0;
    }

    .benefit-card {
        background: white;
        border-radius: 20px;
        padding: 2rem 1.5rem;
        text-align: center;
        box-shadow: 0 10px 30px rgba(30, 59, 79, 0.03);
        border: 1px solid rgba(184, 124, 75, 0.1);
        height: 100%;
        transition: all 0.3s ease;
    }

    .benefit-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(30, 59, 79, 0.08);
        border-color: rgba(184, 124, 75, 0.2);
    }

    .benefit-icon {
        width: 90px;
        height: 90px;
        background: rgba(184, 124, 75, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .benefit-icon i {
        font-size: 2.5rem;
        color: var(--secondary);
    }

    /* ===== CTA ===== */
    .cta-section {
        background: linear-gradient(135deg, var(--light-warm) 0%, white 100%);
        padding: 4rem 0;
    }

    .cta-card {
        background: white;
        border-radius: 30px;
        padding: 4rem;
        box-shadow: 0 30px 50px rgba(30, 59, 79, 0.08);
        border: 1px solid rgba(184, 124, 75, 0.15);
        text-align: center;
    }

    .cta-gradient {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        border-radius: 30px;
        padding: 4rem;
        text-align: center;
        box-shadow: 0 30px 50px rgba(30, 59, 79, 0.2);
    }

    .cta-gradient h2 { 
        color: white; 
        font-size: 2.2rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .cta-gradient p { 
        color: rgba(255,255,255,0.9);
        font-size: 1.2rem;
        margin-bottom: 2rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-gradient .btn-cta-primary {
        background: var(--secondary);
        color: white;
        border: none;
        border-radius: 50px;
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
        font-weight: 500;
        box-shadow: 0 10px 20px rgba(184, 124, 75, 0.3);
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        text-decoration: none;
    }

    .cta-gradient .btn-cta-primary:hover {
        background: #a86b3c;
        transform: translateY(-2px);
        box-shadow: 0 15px 25px rgba(184, 124, 75, 0.4);
        color: white;
    }

    .cta-gradient .btn-cta-outline {
        background: transparent;
        color: white;
        border: 2px solid white;
        border-radius: 50px;
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        text-decoration: none;
    }

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

    /* Адаптивность для CTA */
    @media (max-width: 768px) {
        .cta-gradient {
            padding: 2rem;
        }
        
        .cta-gradient h2 {
            font-size: 1.8rem;
        }
        
        .cta-gradient p {
            font-size: 1rem;
        }
        
        .cta-gradient .btn-cta-primary,
        .cta-gradient .btn-cta-outline {
            padding: 0.8rem 1.5rem;
            font-size: 1rem;
        }
    }

    /* ===== КАЛЬКУЛЯТОР ===== */

    /* Hero секция калькулятора */
    .calculator-hero {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        padding: 5rem 0;
        position: relative;
        overflow: hidden;
    }

    .calculator-hero .floating-circle {
        position: absolute;
        background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
        border-radius: 50%;
        z-index: 1;
    }

    .calculator-hero .circle-1 {
        width: 600px;
        height: 600px;
        top: -20%;
        right: -5%;
        animation: float-slow 20s ease-in-out infinite;
    }

    .calculator-hero .circle-2 {
        width: 500px;
        height: 500px;
        bottom: -30%;
        left: -10%;
        animation: float-medium 15s ease-in-out infinite reverse;
    }

    .calculator-hero .circle-3 {
        width: 300px;
        height: 300px;
        top: 20%;
        left: 10%;
        animation: float-fast 12s ease-in-out infinite;
    }

    .calculator-hero .particle {
        position: absolute;
        background: rgba(255,255,255,0.2);
        border-radius: 50%;
        z-index: 1;
        animation: float-particle 10s ease-in-out infinite;
    }

    .calculator-hero .particle-1 {
        width: 8px;
        height: 8px;
        top: 30%;
        left: 20%;
        animation-delay: 0s;
    }

    .calculator-hero .particle-2 {
        width: 12px;
        height: 12px;
        bottom: 25%;
        right: 20%;
        animation-delay: 2s;
    }

    .calculator-hero .particle-3 {
        width: 6px;
        height: 6px;
        top: 70%;
        left: 40%;
        animation-delay: 4s;
    }

    .calculator-hero .particle-4 {
        width: 10px;
        height: 10px;
        bottom: 40%;
        right: 35%;
        animation-delay: 1s;
    }

    .calculator-hero .container {
        position: relative;
        z-index: 2;
    }

    /* Карточка результата */
    .result-card-fixed {
        min-height: 500px;
        transition: all 0.3s ease;
        background: white;
        border-radius: 30px;
        box-shadow: 0 30px 60px rgba(30, 59, 79, 0.12) !important;
        border: 1px solid rgba(184, 124, 75, 0.15) !important;
        overflow: hidden;
    }

    /* Контейнер результата */
    .result-content {
        min-height: 400px;
        position: relative;
    }

    #calculationResult,
    #calculationPlaceholder {
        transition: opacity 0.3s ease, transform 0.3s ease;
        width: 100%;
    }

    /* Стили для отображения результата */
    #calculationResult .bg-primary {
        background: rgba(184, 124, 75, 0.1) !important;
        border-radius: 20px;
        padding: 2rem;
        margin-bottom: 2rem;
    }

    #calculationResult h2 {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--secondary);
        margin-bottom: 0;
        line-height: 1.2;
    }

    #calculationResult .bg-light {
        background: rgba(184, 124, 75, 0.02) !important;
        border-radius: 16px;
        padding: 1.5rem;
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    #calculationResult .border-bottom {
        border-bottom: 1px dashed rgba(184, 124, 75, 0.2) !important;
        padding-bottom: 0.75rem;
        margin-bottom: 0.75rem;
    }

    #calculationResult .fw-bold {
        color: var(--primary);
        font-size: 1.1rem;
    }

    /* Спиннер загрузки */
    .spinner-border {
        animation: spin 1s linear infinite;
        width: 3rem;
        height: 3rem;
        border-width: 0.25rem;
        border-color: var(--secondary) transparent transparent transparent;
    }

    @keyframes spin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    /* Инпуты формы */
    .form-select-lg,
    .form-control {
        padding: 1rem 1.5rem;
        border: 2px solid rgba(184, 124, 75, 0.2);
        border-radius: 50px;
        font-size: 1rem;
        color: var(--text);
        background-color: white;
        transition: all 0.3s ease;
    }

    .form-select-lg:focus,
    .form-control:focus {
        outline: none;
        border-color: var(--secondary);
        box-shadow: 0 0 0 4px rgba(184, 124, 75, 0.1);
    }

    /* Range слайдер */
    .form-range {
        width: 100%;
        height: 6px;
        background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
        border-radius: 3px;
        -webkit-appearance: none;
        appearance: none;
    }

    .form-range::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        background: white;
        border: 2px solid var(--secondary);
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .form-range::-webkit-slider-thumb:hover {
        transform: scale(1.2);
        background: var(--secondary);
    }

    /* Input group */
    .input-group-text {
        background: white;
        border: 2px solid rgba(184, 124, 75, 0.2);
        border-left: none;
        border-radius: 0 50px 50px 0;
        color: var(--secondary);
        font-weight: 600;
        padding: 1rem 1.5rem;
    }

    .input-group .form-control {
        border-right: none;
        border-radius: 50px 0 0 50px;
    }

    /* Кнопка расчета */
    .btn-primary {
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        border: none;
        color: white;
        font-weight: 600;
        font-size: 1.2rem;
        padding: 1.2rem;
        border-radius: 50px;
        box-shadow: 0 10px 25px rgba(184, 124, 75, 0.3);
        transition: all 0.3s ease;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 30px rgba(184, 124, 75, 0.4);
    }

    /* Карточка формы */
    .card {
        border: none !important;
        border-radius: 30px !important;
        overflow: hidden;
        background: white;
        box-shadow: 0 30px 60px rgba(30, 59, 79, 0.12) !important;
        border: 1px solid rgba(184, 124, 75, 0.15) !important;
    }

    .card h3 {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--primary);
    }

    /* Адаптивность */
    @media (max-width: 992px) {
        .result-card-fixed {
            min-height: auto;
            margin-top: 2rem;
        }
        
        .calculator-hero {
            padding: 3rem 0;
        }
        
        .calculator-hero h1 {
            font-size: 2.2rem;
        }
        
        .calculator-hero .lead {
            font-size: 1rem;
        }
        
        .card h3 {
            font-size: 1.5rem;
        }
    }

    @media (max-width: 768px) {
        .btn-primary {
            font-size: 1rem;
            padding: 1rem;
        }
        
        .form-select-lg,
        .form-control,
        .input-group-text {
            padding: 0.8rem 1.2rem;
            font-size: 0.95rem;
        }
        
        #calculationResult h2 {
            font-size: 2rem;
        }
    }

    /* Анимации */
    @keyframes float-slow {
        0%, 100% { transform: translate(0, 0) scale(1); }
        33% { transform: translate(40px, -40px) scale(1.05); }
        66% { transform: translate(-30px, 30px) scale(0.95); }
    }

    @keyframes float-medium {
        0%, 100% { transform: translate(0, 0) rotate(0deg); }
        25% { transform: translate(30px, -30px) rotate(5deg); }
        50% { transform: translate(-20px, 20px) rotate(-5deg); }
        75% { transform: translate(20px, 30px) rotate(3deg); }
    }

    @keyframes float-fast {
        0%, 100% { transform: translate(0, 0); }
        40% { transform: translate(25px, -25px); }
        80% { transform: translate(-25px, 15px); }
    }

    @keyframes float-particle {
        0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
        25% { transform: translate(15px, -15px) scale(1.5); opacity: 0.6; }
        50% { transform: translate(-10px, 10px) scale(0.8); opacity: 0.4; }
        75% { transform: translate(10px, 20px) scale(1.2); opacity: 0.5; }
    }

    /* ===== СОЦСЕТИ ===== */
    .social-section {
        padding: 2rem 0 3rem;
        background: var(--bg-warm);
    }

    .social-title {
        color: var(--primary);
        font-weight: 700;
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .social-subtitle {
        color: var(--text-light);
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .social-buttons {
        display: flex;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .social-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        border-radius: 50%;
        transition: all 0.3s ease;
        box-shadow: 0 10px 20px rgba(30, 59, 79, 0.1);
        text-decoration: none;
    }

    .social-btn:hover {
        transform: translateY(-5px);
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        box-shadow: 0 15px 25px rgba(184, 124, 75, 0.2);
    }

    .social-btn i {
        font-size: 1.8rem;
        color: white;
    }

    /* ===== СТРАНИЦЫ АУТЕНТИФИКАЦИИ (ЕДИНЫЙ БЛОК) ===== */
    .auth-card {
        background: white;
        border-radius: 30px;
        padding: 3rem 2.5rem;
        box-shadow: 0 30px 60px rgba(30, 59, 79, 0.08);
        border: 1px solid rgba(184, 124, 75, 0.15);
        position: relative;
        overflow: hidden;
    }

    .auth-card::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(184, 124, 75, 0.03) 0%, transparent 70%);
        border-radius: 50%;
        z-index: 0;
    }

    .auth-card::after {
        content: '';
        position: absolute;
        bottom: -50%;
        left: -50%;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(30, 59, 79, 0.03) 0%, transparent 70%);
        border-radius: 50%;
        z-index: 0;
    }

    .auth-card > * {
        position: relative;
        z-index: 2;
    }

    .auth-icon-wrapper {
        width: 90px;
        height: 90px;
        background: rgba(184, 124, 75, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
    }

    .auth-icon-wrapper i {
        font-size: 3rem;
        color: var(--secondary);
    }

    .auth-input {
        width: 100%;
        padding: 1rem 1.5rem;
        border: 2px solid rgba(184, 124, 75, 0.2);
        border-radius: 50px;
        font-size: 1rem;
        color: var(--text);
        background-color: white;
        transition: all 0.3s ease;
    }

    .auth-input:focus {
        outline: none;
        border-color: var(--secondary);
        box-shadow: 0 0 0 4px rgba(184, 124, 75, 0.1);
    }

    .auth-input.is-invalid {
        border-color: var(--danger);
    }

    .auth-checkbox {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .auth-checkbox input[type="checkbox"] {
        width: 20px;
        height: 20px;
        border: 2px solid rgba(184, 124, 75, 0.2);
        border-radius: 5px;
        cursor: pointer;
        accent-color: var(--secondary);
    }

    .auth-checkbox label {
        color: var(--text);
        font-size: 0.95rem;
        cursor: pointer;
    }

    .forgot-link {
        color: var(--secondary);
        text-decoration: none;
        font-size: 0.95rem;
        transition: color 0.2s ease;
    }

    .forgot-link:hover {
        color: var(--primary);
        text-decoration: underline;
    }

    .auth-divider {
        position: relative;
        text-align: center;
        margin: 2rem 0;
    }

    .auth-divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: rgba(184, 124, 75, 0.2);
        z-index: 1;
    }

    .auth-divider span {
        position: relative;
        z-index: 2;
        background: white;
        padding: 0 1rem;
        color: var(--text-light);
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .auth-switch {
        text-align: center;
        margin-top: 1.5rem;
    }

    .auth-switch p {
        color: var(--text-light);
        margin-bottom: 0.5rem;
    }

    .auth-switch-link {
        display: inline-flex;
        align-items: center;
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
        font-size: 1.1rem;
        padding: 0.5rem 1.5rem;
        border: 2px solid rgba(184, 124, 75, 0.2);
        border-radius: 50px;
        transition: all 0.3s ease;
    }

    .auth-switch-link:hover {
        border-color: var(--secondary);
        color: var(--secondary);
        transform: translateY(-2px);
    }

    .auth-switch-link i {
        transition: transform 0.3s ease;
    }

    .auth-switch-link:hover i {
        transform: translateX(3px);
    }

    .auth-info {
        text-align: center;
        margin-top: 1.5rem;
    }

    .auth-info p {
        color: var(--text-light);
        font-size: 0.9rem;
    }

    .auth-info i {
        color: var(--secondary);
    }

    /* Адаптивность для auth */
    @media (max-width: 768px) {
        .auth-card {
            padding: 2rem 1.5rem;
        }
        
        .auth-icon-wrapper {
            width: 70px;
            height: 70px;
        }
        
        .auth-icon-wrapper i {
            font-size: 2rem;
        }
        
        .auth-switch-link {
            padding: 0.4rem 1.2rem;
            font-size: 1rem;
        }
    }

    /* ===== ЛИЧНЫЙ КАБИНЕТ ===== */
    .stat-card {
        background: white;
        border-radius: 20px;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(30, 59, 79, 0.08);
        border: 1px solid rgba(184, 124, 75, 0.1);
        transition: all 0.3s ease;
        height: 100%;
    }

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(30, 59, 79, 0.15);
    }

    /* Новый стиль для иконок в статистике */
    .stat-card .stat-icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .stat-card .stat-icon i {
        font-size: 1.8rem;
        color: white;
    }

    .actions-card {
        background: white;
        border-radius: 20px;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(30, 59, 79, 0.05);
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    .action-btn,
    .action-btn-outline,
    .btn-create {
        padding: 0.8rem 1.5rem;
        border-radius: 50px;
        font-size: 0.95rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
    }

    .action-btn,
    .btn-create {
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        color: white;
        box-shadow: 0 8px 20px rgba(184, 124, 75, 0.2);
    }

    .action-btn-outline {
        background: transparent;
        color: var(--primary);
        border: 2px solid rgba(184, 124, 75, 0.2);
    }

    .action-btn:hover,
    .btn-create:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(184, 124, 75, 0.3);
        color: white;
    }

    .action-btn-outline:hover {
        border-color: var(--secondary);
        color: var(--secondary);
        transform: translateY(-2px);
    }

    .applications-card {
        background: white;
        border-radius: 20px;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(30, 59, 79, 0.05);
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    /* Таблица заявок */
    .applications-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0 0.5rem;
    }

    .applications-table thead th {
        padding: 1rem;
        color: var(--text-light);
        font-weight: 600;
        font-size: 0.9rem;
        border-bottom: 2px solid rgba(184, 124, 75, 0.1);
    }

    .applications-table tbody tr {
        background: white;
        transition: all 0.2s ease;
        border-radius: 12px;
        cursor: pointer;
    }

    .applications-table tbody tr:hover {
        background: rgba(184, 124, 75, 0.02);
        box-shadow: 0 4px 15px rgba(30, 59, 79, 0.05);
    }

    .applications-table tbody td { padding: 1rem; }

    /* Статусы */
    .status-badge {
        display: inline-block;
        padding: 0.4rem 1rem;
        border-radius: 50px;
        font-size: 0.85rem;
        font-weight: 500;
    }

    .status-new { background: rgba(108, 117, 125, 0.1); color: #6c757d; }
    .status-processing { background: rgba(23, 162, 184, 0.1); color: #17a2b8; }
    .status-warning { background: rgba(255, 193, 7, 0.1); color: #ffc107; }
    .status-calculation { background: rgba(30, 59, 79, 0.1); color: var(--primary); }
    .status-success { background: rgba(40, 167, 69, 0.1); color: #28a745; }
    .status-danger { background: rgba(220, 53, 69, 0.1); color: #dc3545; }

    .engineer-badge {
        background: rgba(184, 124, 75, 0.1);
        color: var(--secondary);
        border-radius: 50px;
        padding: 0.3rem 0.8rem;
        font-size: 0.85rem;
    }

    .unassigned-badge {
        background: rgba(255, 193, 7, 0.1);
        color: #ffc107;
        border-radius: 50px;
        padding: 0.3rem 0.8rem;
        font-size: 0.85rem;
    }

    .details-link {
        color: var(--secondary);
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        transition: all 0.2s ease;
    }

    .details-link:hover {
        color: var(--primary);
        transform: translateX(3px);
    }

    .view-all-link {
        color: var(--secondary);
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 500;
        transition: all 0.2s ease;
    }

    .view-all-link:hover {
        color: var(--primary);
    }

    .empty-state-icon {
        width: 80px;
        height: 80px;
        background: rgba(184, 124, 75, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    .empty-state-icon i {
        font-size: 2.5rem;
        color: var(--secondary);
    }

    /* ===== ДЕТАЛИ ЗАЯВКИ ===== */
    .back-link {
        display: inline-flex;
        align-items: center;
        color: var(--secondary);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.2s ease;
    }

    .back-link:hover {
        color: var(--primary);
    }

    .back-link i { transition: transform 0.2s ease; }
    .back-link:hover i { transform: translateX(-3px); }

    .detail-card {
        background: white;
        border-radius: 20px;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(30, 59, 79, 0.05);
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    .detail-icon {
        width: 45px;
        height: 45px;
        background: rgba(184, 124, 75, 0.1);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .detail-icon i {
        font-size: 1.3rem;
        color: var(--secondary);
    }

    .info-item {
        background: rgba(184, 124, 75, 0.02);
        border-radius: 12px;
        padding: 1rem;
        height: 100%;
    }

    .info-label {
        display: block;
        font-size: 0.85rem;
        color: var(--text-light);
        margin-bottom: 0.5rem;
    }

    .info-value {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--primary);
    }

    .calculation-items {
        background: rgba(184, 124, 75, 0.02);
        border-radius: 16px;
        padding: 1rem;
    }

    .calculation-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 0;
        border-bottom: 1px dashed rgba(184, 124, 75, 0.15);
    }

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

    .item-label { color: var(--text-light); font-size: 0.95rem; }
    .item-value { color: var(--primary); font-weight: 600; font-size: 1rem; }

    .calculation-total {
        margin-top: 1.5rem;
        padding: 1rem;
        background: rgba(184, 124, 75, 0.05);
        border-radius: 12px;
    }

    .total-label { font-size: 1.1rem; font-weight: 600; color: var(--text); }
    .total-value {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--secondary);
    }

    /* Таймлайн */
    .timeline {
        position: relative;
        padding-left: 2rem;
    }

    .timeline::before {
        content: '';
        position: absolute;
        left: 7px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: rgba(184, 124, 75, 0.2);
    }

    .timeline-item {
        position: relative;
        padding-bottom: 2rem;
    }

    .timeline-item:last-child { padding-bottom: 0; }

    .timeline-dot {
        position: absolute;
        left: -2rem;
        top: 0;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        border: 3px solid white;
        box-shadow: 0 0 0 2px rgba(184, 124, 75, 0.3);
    }

    .timeline-content {
        background: rgba(184, 124, 75, 0.02);
        border-radius: 12px;
        padding: 1rem;
    }

    /* Сайдбар */
    .sidebar-card {
        background: white;
        border-radius: 20px;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(30, 59, 79, 0.05);
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    .sidebar-icon {
        width: 40px;
        height: 40px;
        background: rgba(184, 124, 75, 0.1);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar-icon i {
        font-size: 1.2rem;
        color: var(--secondary);
    }

    /* Документы */
    .documents-list {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

    .document-item {
        display: flex;
        align-items: center;
        padding: 0.8rem;
        background: rgba(184, 124, 75, 0.02);
        border-radius: 10px;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .document-item:hover {
        background: rgba(184, 124, 75, 0.05);
        transform: translateX(3px);
    }

    .document-icon {
        font-size: 1.3rem;
        color: #dc3545;
        margin-right: 1rem;
    }

    .document-info { flex: 1; }

    .document-name {
        display: block;
        color: var(--text);
        font-weight: 500;
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
    }

    .document-date {
        font-size: 0.8rem;
        color: var(--text-light);
    }

    .document-download {
        color: var(--secondary);
        opacity: 0.5;
        transition: all 0.2s ease;
    }

    .document-item:hover .document-download {
        opacity: 1;
        transform: translateY(2px);
    }

    .cancel-btn {
        width: 100%;
        padding: 1rem;
        background: transparent;
        color: var(--danger);
        border: 2px solid rgba(185, 91, 91, 0.3);
        border-radius: 50px;
        font-size: 1rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .cancel-btn:hover {
        background: var(--danger);
        color: white;
        border-color: var(--danger);
    }

    /* ===== ПРОФИЛЬ ПОЛЬЗОВАТЕЛЯ ===== */
    .profile-sidebar {
        background: white;
        border-radius: 20px;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(30, 59, 79, 0.05);
        border: 1px solid rgba(184, 124, 75, 0.1);
        position: sticky;
        top: 100px;
    }

    .profile-tab {
        width: 100%;
        text-align: left;
        padding: 1rem 1.2rem;
        background: transparent;
        border: none;
        border-radius: 12px;
        color: var(--text-light);
        font-weight: 500;
        transition: all 0.3s ease;
        margin-bottom: 0.5rem;
        cursor: pointer;
    }

    .profile-tab:hover {
        background: rgba(184, 124, 75, 0.05);
        color: var(--primary);
    }

    .profile-tab.active {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        color: white;
        box-shadow: 0 8px 20px rgba(30, 59, 79, 0.15);
    }

    .profile-card {
        background: white;
        border-radius: 30px;
        padding: 2rem;
        box-shadow: 0 20px 40px rgba(30, 59, 79, 0.05);
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    .profile-icon {
        width: 50px;
        height: 50px;
        background: rgba(184, 124, 75, 0.1);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .profile-icon i {
        font-size: 1.5rem;
        color: var(--secondary);
    }

    /* Аватар */
    .avatar-wrapper {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        overflow: hidden;
        border: 4px solid rgba(184, 124, 75, 0.2);
        box-shadow: 0 10px 30px rgba(30, 59, 79, 0.1);
    }

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

    .avatar-placeholder {
        width: 100%;
        height: 100%;
        background: rgba(184, 124, 75, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .avatar-placeholder i {
        font-size: 3.5rem;
        color: var(--secondary);
        opacity: 0.5;
    }

    .avatar-upload-btn,
    .avatar-delete-btn {
        position: absolute;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
        color: white;
    }

    .avatar-upload-btn {
        bottom: 5px;
        right: 5px;
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        box-shadow: 0 5px 15px rgba(184, 124, 75, 0.3);
    }

    .avatar-delete-btn {
        top: 5px;
        right: 5px;
        width: 30px;
        height: 30px;
        background: var(--danger);
        box-shadow: 0 5px 15px rgba(185, 91, 91, 0.3);
    }

    .avatar-hint {
        margin-top: 1rem;
        font-size: 0.9rem;
        color: var(--text-light);
    }

    .profile-input,
    .profile-textarea {
        width: 100%;
        padding: 1rem 1.5rem;
        border: 2px solid rgba(184, 124, 75, 0.2);
        border-radius: 50px;
        font-size: 1rem;
        color: var(--text);
        background-color: white;
        transition: all 0.3s ease;
    }

    .profile-textarea {
        border-radius: 30px;
        resize: vertical;
    }

    .profile-input:focus,
    .profile-textarea:focus {
        outline: none;
        border-color: var(--secondary);
        box-shadow: 0 0 0 4px rgba(184, 124, 75, 0.1);
    }

    .profile-save-btn {
        padding: 1rem 2rem;
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        color: white;
        border: none;
        border-radius: 50px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 10px 25px rgba(184, 124, 75, 0.2);
        display: inline-flex;
        align-items: center;
    }

    .profile-save-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 30px rgba(184, 124, 75, 0.3);
    }

    /* Уведомления */
    .notification-item {
        display: flex;
        align-items: flex-start;
        padding: 1rem;
        background: rgba(184, 124, 75, 0.02);
        border-radius: 16px;
        margin-bottom: 1rem;
        transition: all 0.2s ease;
    }

    .notification-item:hover { background: rgba(184, 124, 75, 0.05); }

    .notification-checkbox {
        width: 20px;
        height: 20px;
        margin-right: 1rem;
        margin-top: 0.2rem;
        accent-color: var(--secondary);
    }

    .notification-label { flex: 1; cursor: pointer; }

    .notification-title {
        display: block;
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 0.2rem;
    }

    .notification-desc {
        font-size: 0.9rem;
        color: var(--text-light);
    }

    /* ===== КОММЕНТАРИИ ===== */
    .comment-form {
        background: rgba(184, 124, 75, 0.02);
        border-radius: 20px;
        padding: 1.5rem;
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    .comment-textarea {
        width: 100%;
        padding: 1rem 1.5rem;
        border: 2px solid rgba(184, 124, 75, 0.2);
        border-radius: 20px;
        font-size: 1rem;
        color: var(--text);
        background-color: white;
        transition: all 0.3s ease;
        resize: vertical;
    }

    .comment-textarea:focus {
        outline: none;
        border-color: var(--secondary);
        box-shadow: 0 0 0 4px rgba(184, 124, 75, 0.1);
    }

    .btn-send {
        padding: 0.7rem 1.5rem;
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        color: white;
        border: none;
        border-radius: 50px;
        font-size: 0.95rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 8px 20px rgba(184, 124, 75, 0.2);
        display: inline-flex;
        align-items: center;
    }

    .btn-send:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(184, 124, 75, 0.3);
    }

    .comment-item {
        display: flex;
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding: 1rem;
        background: rgba(184, 124, 75, 0.02);
        border-radius: 16px;
        transition: all 0.2s ease;
    }

    .comment-item:hover {
        background: rgba(184, 124, 75, 0.05);
        transform: translateX(5px);
    }

    .comment-avatar {
        width: 40px;
        height: 40px;
        background: rgba(184, 124, 75, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .comment-avatar i {
        font-size: 1.5rem;
        color: var(--secondary);
    }

    .comment-content { flex: 1; }

    .comment-header {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
        margin-bottom: 0.5rem;
    }

    .comment-author {
        font-weight: 600;
        color: var(--primary);
    }

    .comment-badge {
        background: rgba(184, 124, 75, 0.1);
        color: var(--secondary);
        padding: 0.2rem 0.8rem;
        border-radius: 50px;
        font-size: 0.75rem;
        font-weight: 600;
    }

    .comment-date {
        color: var(--text-light);
        font-size: 0.85rem;
        margin-left: auto;
    }

    /* ===== РЕЕСТР ЗАЯВОК ===== */
    .filters-section {
        margin-bottom: 2rem;
        padding: 1.5rem;
        background: rgba(184, 124, 75, 0.02);
        border-radius: 20px;
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    .filters-form {
        display: flex;
        gap: 1rem;
        align-items: center;
        flex-wrap: wrap;
    }

    .search-wrapper {
        position: relative;
        flex: 1;
        min-width: 250px;
    }

    .search-icon {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--secondary);
        font-size: 0.9rem;
        opacity: 0.7;
    }

    .search-input {
        width: 100%;
        padding: 0.8rem 1rem 0.8rem 2.5rem;
        border: 2px solid rgba(184, 124, 75, 0.15);
        border-radius: 50px;
        font-size: 0.95rem;
        color: var(--text);
        background-color: white;
        transition: all 0.3s ease;
    }

    .search-input:focus {
        outline: none;
        border-color: var(--secondary);
        box-shadow: 0 0 0 4px rgba(184, 124, 75, 0.1);
    }

    .status-filter-wrapper { min-width: 200px; }

    .status-filter {
        width: 100%;
        padding: 0.8rem 1.5rem;
        border: 2px solid rgba(184, 124, 75, 0.15);
        border-radius: 50px;
        font-size: 0.95rem;
        color: var(--text);
        background-color: white;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b87c4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        cursor: pointer;
    }

    .search-btn {
        padding: 0.8rem 2rem;
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        color: white;
        border: none;
        border-radius: 50px;
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 8px 20px rgba(184, 124, 75, 0.2);
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
    }

    .search-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(184, 124, 75, 0.3);
    }

    .pagination-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 2rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(184, 124, 75, 0.1);
    }

    .pagination-info {
        color: var(--text-light);
        font-size: 0.9rem;
    }

    .pagination-links {
        display: flex;
        gap: 0.3rem;
    }

    .pagination-links a,
    .pagination-links span {
        display: inline-block;
        padding: 0.5rem 1rem;
        border-radius: 12px;
        color: var(--text);
        text-decoration: none;
        transition: all 0.2s ease;
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    .pagination-links a:hover {
        background: rgba(184, 124, 75, 0.05);
        color: var(--secondary);
        border-color: rgba(184, 124, 75, 0.2);
    }

    .pagination-links .active span {
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        color: white;
        border: none;
    }

    /* ===== ДЕТАЛЬНЫЙ РАСЧЕТ (МОДАЛКА) ===== */
    .modal-content {
        border: none;
        border-radius: 30px;
        overflow: hidden;
        box-shadow: 0 50px 100px rgba(30, 59, 79, 0.3);
        background: linear-gradient(135deg, #ffffff 0%, #fcf7f2 100%);
    }

    .modal-header {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        padding: 1.5rem 2rem;
        border-bottom: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .modal-title {
        color: white;
        font-weight: 700;
        font-size: 1.5rem;
        margin: 0;
    }

    .btn-close {
        background: rgba(255,255,255,0.2) !important;
        border: none !important;
        border-radius: 50% !important;
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 1 !important;
        transition: all 0.3s ease !important;
        position: relative;
    }

    .btn-close:hover {
        background: rgba(255,255,255,0.3) !important;
        transform: rotate(90deg) !important;
    }

    .btn-close::before,
    .btn-close::after {
        content: '' !important;
        position: absolute !important;
        width: 20px !important;
        height: 2px !important;
        background-color: white !important;
    }

    .btn-close::before { transform: rotate(45deg) !important; }
    .btn-close::after { transform: rotate(-45deg) !important; }

    .modal-body { padding: 2rem; }

    .alert-info {
        background: linear-gradient(135deg, rgba(184, 124, 75, 0.05) 0%, rgba(184, 124, 75, 0.1) 100%);
        border: 1px solid rgba(184, 124, 75, 0.2);
        border-radius: 20px;
        color: var(--text);
        font-size: 0.95rem;
        padding: 1.2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .calc-item-row {
        background: white;
        border-radius: 24px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        box-shadow: 0 15px 35px rgba(30, 59, 79, 0.05);
        border: 1px solid rgba(184, 124, 75, 0.1);
        transition: all 0.3s ease;
        position: relative;
    }

    .calc-item-row:hover {
        transform: translateY(-5px) translateX(5px);
        box-shadow: 0 25px 50px rgba(30, 59, 79, 0.15);
        border-color: rgba(184, 124, 75, 0.2);
    }

    .calc-select,
    .calc-input {
        width: 100%;
        padding: 1rem 1.5rem;
        border: 2px solid rgba(184, 124, 75, 0.15);
        border-radius: 20px;
        font-size: 0.95rem;
        color: var(--text);
        background-color: white;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .calc-select {
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b87c4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1.5rem center;
        cursor: pointer;
    }

    .calc-select:hover,
    .calc-input:hover { border-color: var(--secondary); }

    .calc-select:focus,
    .calc-input:focus {
        outline: none;
        border-color: var(--secondary);
        box-shadow: 0 0 0 4px rgba(184, 124, 75, 0.1);
    }

    .btn-remove-item {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: white;
        border: 2px solid rgba(184, 124, 75, 0.15);
        color: var(--danger);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        opacity: 0;
        transform: scale(0.8);
        z-index: 10;
    }

    .calc-item-row:hover .btn-remove-item {
        opacity: 1;
        transform: scale(1);
    }

    .btn-remove-item:hover {
        background: var(--danger);
        border-color: var(--danger);
        color: white;
        transform: scale(1.1) !important;
    }

    .btn-add-item {
        background: linear-gradient(135deg, rgba(184, 124, 75, 0.05) 0%, rgba(184, 124, 75, 0.1) 100%);
        border: 2px dashed rgba(184, 124, 75, 0.3);
        border-radius: 20px;
        padding: 1rem 1.5rem;
        color: var(--secondary);
        font-weight: 600;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-top: 0.5rem;
    }

    .btn-add-item:hover {
        background: linear-gradient(135deg, rgba(184, 124, 75, 0.1) 0%, rgba(184, 124, 75, 0.15) 100%);
        border-color: var(--secondary);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(184, 124, 75, 0.1);
    }

    .modal-footer {
        padding: 1.5rem 2rem;
        border-top: 1px solid rgba(184, 124, 75, 0.1);
        background: rgba(184, 124, 75, 0.02);
        display: flex;
        justify-content: flex-end;
        gap: 1rem;
    }

    .btn-save {
        padding: 1rem 2.5rem;
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        border: none;
        border-radius: 50px;
        color: white;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 10px 25px rgba(184, 124, 75, 0.2);
    }

    .btn-save:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 30px rgba(184, 124, 75, 0.3);
    }

    /* ===== АДАПТИВНОСТЬ ===== */
    @media (max-width: 768px) {
        .hero-title { font-size: 2.2rem; }
        .hero-section-small { padding: 3rem 0 4rem; }
        .hero-section-small h1 { font-size: 2rem; }
        .stat-number { font-size: 2.2rem; }
        .navbar-brand { font-size: 1.4rem; }
        
        .contact-card { padding: 1.5rem; }
        .contact-icon {
            width: 70px;
            height: 70px;
        }
        .contact-icon i { font-size: 2rem; }
        .contact-btn {
            min-width: 140px;
            padding: 0.7rem 1.5rem;
        }
        
        .requisites-card { padding: 1.5rem; }
        .requisites-grid { grid-template-columns: 1fr; }
        .requisite-label { min-width: 50px; }
        
        .social-btn {
            width: 50px;
            height: 50px;
            margin: 0 0.2rem;
        }
        .social-btn i { font-size: 1.5rem; }
        .social-title { font-size: 1.5rem; }
        
        .actions-card .d-flex { flex-direction: column; }
        .action-btn,
        .action-btn-outline,
        .btn-create { width: 100%; justify-content: center; }
        
        .applications-table thead { display: none; }
        .applications-table tbody tr {
            display: block;
            margin-bottom: 1rem;
            border: 1px solid rgba(184, 124, 75, 0.1);
            border-radius: 12px;
        }
        .applications-table tbody td {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 1rem;
            border-bottom: 1px solid rgba(184, 124, 75, 0.1);
        }
        .applications-table tbody td:last-child { border-bottom: none; }
        .applications-table tbody td::before {
            content: attr(data-label);
            font-weight: 600;
            color: var(--text-light);
            font-size: 0.85rem;
            margin-right: 1rem;
        }
        
        .filters-form { flex-direction: column; align-items: stretch; }
        .search-wrapper,
        .status-filter-wrapper { width: 100%; }
        .search-btn { width: 100%; justify-content: center; }
        
        .pagination-wrapper { flex-direction: column; gap: 1rem; }
        
        .detail-card { padding: 1rem; }
        .timeline { padding-left: 1.5rem; }
        .timeline-dot { left: -1.5rem; }
        .calculation-total .total-value { font-size: 1.2rem; }
        
        .modal-body { padding: 1.5rem; }
        .calc-item-row { padding: 1rem; }
        .calc-select,
        .calc-input { padding: 0.8rem 1rem; font-size: 0.9rem; }
        .btn-remove-item {
            opacity: 1;
            transform: scale(1);
            top: 0.5rem;
            right: 0.5rem;
            width: 32px;
            height: 32px;
        }
        .btn-secondary,
        .btn-save { padding: 0.8rem 1.5rem; font-size: 0.95rem; }
    }

    @media (max-width: 576px) {
        .calculator-result-card { min-height: 350px; }
    }

    @media (min-width: 769px) and (max-width: 992px) {
        .services-card .d-flex {
            flex-direction: column;
            align-items: flex-start;
        }
        .services-card .icon-wrapper {
            margin-bottom: 1rem;
            margin-right: 0;
        }
        .services-card .d-flex.justify-content-between {
            flex-direction: column;
            gap: 1rem;
        }
        .services-card .btn-order { width: 100%; }
    }

    /* Placeholder стили */
    ::placeholder { color: rgba(107, 122, 138, 0.5); font-weight: 400; }

    /* Числовые инпуты */
    input[type=number]::-webkit-inner-spin-button,
    input[type=number]::-webkit-outer-spin-button {
        opacity: 0.5;
        height: 20px;
    }

    input[type=number]:hover::-webkit-inner-spin-button,
    input[type=number]:hover::-webkit-outer-spin-button { opacity: 1; }

    /* Скролл в модалке */
    .modal-body::-webkit-scrollbar { width: 6px; }
    .modal-body::-webkit-scrollbar-track { background: rgba(184, 124, 75, 0.05); border-radius: 10px; }
    .modal-body::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        border-radius: 10px;
    }
    .modal-body::-webkit-scrollbar-thumb:hover { background: var(--secondary); }

    /* ===== БОКОВАЯ ПАНЕЛЬ (СТАТУСЫ И РАСЧЕТЫ) ===== */
    .status-select {
        width: 100%;
        padding: 0.8rem 1.2rem;
        border: 2px solid rgba(184, 124, 75, 0.2);
        border-radius: 50px;
        font-size: 1rem;
        color: var(--text);
        background-color: white;
        transition: all 0.3s ease;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b87c4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1.2rem center;
        cursor: pointer;
    }

    .status-select:focus {
        outline: none;
        border-color: var(--secondary);
        box-shadow: 0 0 0 4px rgba(184, 124, 75, 0.1);
    }

    .status-comment {
        width: 100%;
        padding: 0.8rem 1.2rem;
        border: 2px solid rgba(184, 124, 75, 0.2);
        border-radius: 20px;
        font-size: 0.95rem;
        color: var(--text);
        background-color: white;
        transition: all 0.3s ease;
        resize: vertical;
    }

    .status-comment:focus {
        outline: none;
        border-color: var(--secondary);
        box-shadow: 0 0 0 4px rgba(184, 124, 75, 0.1);
    }

    .btn-status-update {
        width: 100%;
        padding: 0.8rem 1.5rem;
        background: linear-gradient(135deg, #c99f4a 0%, #e6b450 100%);
        color: white;
        border: none;
        border-radius: 50px;
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 8px 20px rgba(201, 159, 74, 0.2);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .btn-status-update:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(201, 159, 74, 0.3);
    }

    .quick-calc {
        background: rgba(184, 124, 75, 0.02);
        border-radius: 20px;
        padding: 1.2rem;
    }

    .calc-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.6rem 0;
        border-bottom: 1px dashed rgba(184, 124, 75, 0.15);
    }

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

    .calc-item span:first-child {
        color: var(--text-light);
        font-size: 0.95rem;
    }

    .calc-item .fw-bold {
        color: var(--primary);
        font-weight: 600;
    }

    .calc-total {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 2px solid rgba(184, 124, 75, 0.2);
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1.1rem;
    }

    .calc-total span:first-child {
        color: var(--text);
        font-weight: 600;
    }

    .calc-total span:last-child {
        color: var(--secondary);
        font-weight: 700;
    }

    .btn-calc-detail {
        padding: 0.8rem 1.5rem;
        background: transparent;
        color: var(--secondary);
        border: 2px solid rgba(184, 124, 75, 0.3);
        border-radius: 50px;
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        width: 100%;
        margin-top: 1rem;
    }

    .btn-calc-detail:hover {
        background: var(--secondary);
        color: white;
        border-color: var(--secondary);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(184, 124, 75, 0.2);
    }

    /* ===== АНИМИРОВАННЫЕ ФОНОВЫЕ ЭЛЕМЕНТЫ ===== */
    .hero-section {
        position: relative;
        overflow: hidden;
    }

    .hero-section .floating-circle-1 {
        position: absolute;
        top: -20%;
        right: -5%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
        border-radius: 50%;
        animation: float-slow 20s ease-in-out infinite;
        z-index: 1;
    }

    .hero-section .floating-circle-2 {
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
        border-radius: 50%;
        animation: float-medium 15s ease-in-out infinite reverse;
        z-index: 1;
    }

    .hero-section .floating-circle-3 {
        position: absolute;
        top: 30%;
        left: 20%;
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%);
        border-radius: 50%;
        animation: float-fast 12s ease-in-out infinite;
        z-index: 1;
    }

    .hero-section .particle {
        position: absolute;
        background: rgba(255,255,255,0.1);
        border-radius: 50%;
        pointer-events: none;
        z-index: 1;
    }

    .hero-section .particle-1 {
        width: 8px;
        height: 8px;
        top: 20%;
        left: 10%;
        animation: float-particle 8s ease-in-out infinite;
    }

    .hero-section .particle-2 {
        width: 12px;
        height: 12px;
        top: 60%;
        right: 15%;
        animation: float-particle 10s ease-in-out infinite reverse;
    }

    .hero-section .particle-3 {
        width: 6px;
        height: 6px;
        bottom: 30%;
        left: 30%;
        animation: float-particle 7s ease-in-out infinite;
    }

    .hero-section .particle-4 {
        width: 10px;
        height: 10px;
        top: 40%;
        right: 25%;
        animation: float-particle 9s ease-in-out infinite;
    }

    @keyframes float-slow {
        0%, 100% { transform: translate(0, 0) scale(1); }
        33% { transform: translate(40px, -40px) scale(1.05); }
        66% { transform: translate(-30px, 30px) scale(0.95); }
    }

    @keyframes float-medium {
        0%, 100% { transform: translate(0, 0) rotate(0deg); }
        25% { transform: translate(30px, -30px) rotate(5deg); }
        50% { transform: translate(-20px, 20px) rotate(-5deg); }
        75% { transform: translate(20px, 30px) rotate(3deg); }
    }

    @keyframes float-fast {
        0%, 100% { transform: translate(0, 0); }
        40% { transform: translate(25px, -25px); }
        80% { transform: translate(-25px, 15px); }
    }

    @keyframes float-particle {
        0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
        25% { transform: translate(15px, -15px) scale(1.5); opacity: 0.6; }
        50% { transform: translate(-10px, 10px) scale(0.8); opacity: 0.4; }
        75% { transform: translate(10px, 20px) scale(1.2); opacity: 0.5; }
    }

    /* Для страницы калькулятора */
    .calculator-hero {
        position: relative;
        overflow: hidden;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        padding: 4rem 0;
    }

    .calculator-hero .floating-circle {
        position: absolute;
        background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
        border-radius: 50%;
        z-index: 1;
    }

    .calculator-hero .circle-1 {
        width: 500px;
        height: 500px;
        top: -30%;
        right: -10%;
        animation: float-slow 18s ease-in-out infinite;
    }

    .calculator-hero .circle-2 {
        width: 350px;
        height: 350px;
        bottom: -40%;
        left: -5%;
        animation: float-medium 16s ease-in-out infinite reverse;
    }

    .calculator-hero .circle-3 {
        width: 150px;
        height: 150px;
        top: 20%;
        left: 15%;
        animation: float-fast 12s ease-in-out infinite;
    }

    .calculator-hero .particle {
        position: absolute;
        background: rgba(255,255,255,0.15);
        border-radius: 50%;
        z-index: 1;
    }

    .calculator-hero .particle-1 {
        width: 6px;
        height: 6px;
        top: 30%;
        left: 20%;
        animation: float-particle 7s ease-in-out infinite;
    }

    .calculator-hero .particle-2 {
        width: 10px;
        height: 10px;
        bottom: 25%;
        right: 20%;
        animation: float-particle 9s ease-in-out infinite reverse;
    }

    .calculator-hero .particle-3 {
        width: 8px;
        height: 8px;
        top: 70%;
        left: 40%;
        animation: float-particle 8s ease-in-out infinite;
    }

    .calculator-hero .particle-4 {
        width: 12px;
        height: 12px;
        bottom: 40%;
        right: 35%;
        animation: float-particle 10s ease-in-out infinite;
    }

    .calculator-hero .container {
        position: relative;
        z-index: 2;
    }

    /* Для всех hero секций */
    .hero-section-small {
        position: relative;
        overflow: hidden;
    }

    .hero-section-small .floating-elements {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .hero-section-small .floating-elements div {
        position: absolute;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
        border-radius: 50%;
    }

    .hero-section-small .floating-elements div:nth-child(1) {
        width: 400px;
        height: 400px;
        top: -20%;
        right: -5%;
        animation: float-slow 20s ease-in-out infinite;
    }

    .hero-section-small .floating-elements div:nth-child(2) {
        width: 300px;
        height: 300px;
        bottom: -30%;
        left: -10%;
        animation: float-medium 15s ease-in-out infinite reverse;
    }

    .hero-section-small .floating-elements div:nth-child(3) {
        width: 150px;
        height: 150px;
        top: 30%;
        left: 15%;
        animation: float-fast 12s ease-in-out infinite;
    }

    /* Адаптивность для боковой панели */
    @media (max-width: 768px) {
        .calc-item {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.3rem;
        }
        
        .calc-total {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
        }
    }
    /* ===== АДМИН-ПАНЕЛЬ ===== */
    :root {
        --sidebar-width: 280px;
    }

    /* Sidebar */
    .admin-sidebar {
        width: var(--sidebar-width);
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        overflow-y: auto;
        z-index: 1000;
    }

    .admin-sidebar::-webkit-scrollbar {
        width: 6px;
    }

    .admin-sidebar::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.1);
    }

    .admin-sidebar::-webkit-scrollbar-thumb {
        background: var(--secondary);
        border-radius: 3px;
    }

    .admin-sidebar .brand {
        padding: 2rem 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        margin-bottom: 1.5rem;
    }

    .admin-sidebar .brand a {
        display: flex;
        align-items: center;
        color: white;
        text-decoration: none;
        font-size: 1.4rem;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .admin-sidebar .brand i {
        color: var(--secondary);
        font-size: 2rem;
        margin-right: 0.75rem;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    }

    .admin-sidebar .nav {
        padding: 0 1rem;
    }

    .admin-sidebar .nav-item {
        margin-bottom: 0.5rem;
    }

    .admin-sidebar .nav-link {
        color: rgba(255,255,255,0.7) !important;
        padding: 0.8rem 1.2rem !important;
        border-radius: 12px;
        font-weight: 500;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
    }

    .admin-sidebar .nav-link i {
        width: 24px;
        font-size: 1.1rem;
        margin-right: 0.75rem;
        color: rgba(255,255,255,0.5);
        transition: all 0.2s ease;
    }

    .admin-sidebar .nav-link:hover {
        background-color: rgba(255,255,255,0.1);
        color: white !important;
        transform: translateX(3px);
    }

    .admin-sidebar .nav-link:hover i {
        color: var(--secondary);
    }

    .admin-sidebar .nav-link.active {
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        color: white !important;
        box-shadow: 0 8px 20px rgba(184, 124, 75, 0.3);
    }

    .admin-sidebar .nav-link.active i {
        color: white;
    }

    .admin-sidebar hr {
        margin: 1.5rem 1rem;
        border-color: rgba(255,255,255,0.1);
    }

    .admin-sidebar .logout-btn {
        background: transparent;
        border: none;
        color: rgba(255,255,255,0.7);
        padding: 0.8rem 1.2rem;
        width: 100%;
        text-align: left;
        border-radius: 12px;
        transition: all 0.2s ease;
        cursor: pointer;
        font-weight: 500;
        display: flex;
        align-items: center;
    }

    .admin-sidebar .logout-btn i {
        width: 24px;
        font-size: 1.1rem;
        margin-right: 0.75rem;
    }

    .admin-sidebar .logout-btn:hover {
        background: rgba(220, 53, 69, 0.2);
        color: #dc3545;
        transform: translateX(3px);
    }

    /* Main Content */
    .admin-main {
        margin-left: var(--sidebar-width);
        min-height: 100vh;
        background-color: var(--bg-warm);
        padding: 2rem;
    }

    /* Top Bar */
    .admin-top-bar {
        background: white;
        border-radius: 20px;
        padding: 1rem 1.5rem;
        margin-bottom: 2rem;
        box-shadow: 0 8px 25px rgba(30, 59, 79, 0.03);
        border: 1px solid rgba(184, 124, 75, 0.1);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .admin-top-bar h1 {
        color: var(--primary);
        font-size: 1.5rem;
        font-weight: 600;
        margin: 0;
    }

    .admin-user-dropdown .btn {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        color: white;
        border: none;
        border-radius: 50px;
        padding: 0.6rem 1.2rem;
        font-weight: 500;
        box-shadow: 0 4px 10px rgba(30, 59, 79, 0.2);
        transition: all 0.2s ease;
    }

    .admin-user-dropdown .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(30, 59, 79, 0.25);
    }

    .admin-user-dropdown .btn i {
        color: var(--secondary);
        margin-right: 0.5rem;
    }

    .admin-user-dropdown .dropdown-menu {
        border: none;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        padding: 0.5rem;
        border: 1px solid rgba(184, 124, 75, 0.15);
    }

    .admin-user-dropdown .dropdown-item {
        border-radius: 12px;
        padding: 0.6rem 1rem;
        color: var(--text);
        transition: all 0.2s ease;
    }

    .admin-user-dropdown .dropdown-item:hover {
        background: rgba(184, 124, 75, 0.05);
        color: var(--secondary);
    }

    .admin-user-dropdown .dropdown-item.text-danger:hover {
        background: rgba(220, 53, 69, 0.1);
        color: #dc3545 !important;
    }

    .admin-user-dropdown .dropdown-divider {
        margin: 0.5rem 0;
        border-color: rgba(184, 124, 75, 0.1);
    }

    /* Flash Messages */
    .admin-alert {
        border-radius: 16px;
        border: none;
        border-left: 4px solid;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        margin-bottom: 2rem;
        padding: 1rem 1.5rem;
    }

    .admin-alert.success {
        border-left-color: var(--success);
        background: linear-gradient(135deg, #ffffff 0%, #f4faf5 100%);
        color: var(--success);
    }

    .admin-alert.error {
        border-left-color: var(--danger);
        background: linear-gradient(135deg, #ffffff 0%, #fef5f5 100%);
        color: var(--danger);
    }

    /* Карточки с заявками/пользователями */
    .applications-card {
        background: white;
        border-radius: 20px;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(30, 59, 79, 0.05);
        border: 1px solid rgba(184, 124, 75, 0.1);
    }
    /* Таблица заявок - исправленная версия */
    .applications-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0 0.5rem;
    }

    .applications-table thead th {
        padding: 1rem;
        color: var(--text-light);
        font-weight: 600;
        font-size: 0.9rem;
        border-bottom: 2px solid rgba(184, 124, 75, 0.1);
    }

    .applications-table tbody tr {
        background: white;
        transition: all 0.2s ease;
        border-radius: 12px;
        cursor: pointer;
    }

    .applications-table tbody tr:hover {
        background: rgba(184, 124, 75, 0.02);
        box-shadow: 0 4px 15px rgba(30, 59, 79, 0.05);
    }

    .applications-table tbody td {
        padding: 1rem;
        color: var(--text);
    }

    /* Статусы */
    .status-badge {
        display: inline-block;
        padding: 0.4rem 1rem;
        border-radius: 50px;
        font-size: 0.85rem;
        font-weight: 500;
    }

    .status-new { background: rgba(108, 117, 125, 0.1); color: #6c757d; }
    .status-processing { background: rgba(23, 162, 184, 0.1); color: #17a2b8; }
    .status-calculation { background: rgba(30, 59, 79, 0.1); color: var(--primary); }
    .status-success { background: rgba(40, 167, 69, 0.1); color: #28a745; }
    .status-danger { background: rgba(220, 53, 69, 0.1); color: #dc3545; }

    /* Ссылки */
    .details-link {
        color: var(--secondary);
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
    }

    .details-link:hover {
        color: var(--primary);
        transform: translateX(3px);
    }

    .view-all-link {
        color: var(--secondary);
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 500;
        transition: all 0.2s ease;
    }

    .view-all-link:hover {
        color: var(--primary);
    }

    /* Пустое состояние */
    .empty-state-icon {
        width: 80px;
        height: 80px;
        background: rgba(184, 124, 75, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    .empty-state-icon i {
        font-size: 2.5rem;
        color: var(--secondary);
    }

    /* Аватар placeholder */
    .avatar-placeholder {
        background: rgba(184, 124, 75, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .avatar-placeholder i {
        color: var(--secondary);
        opacity: 0.5;
    }

    /* Адаптивность для админ-панели */
    @media (max-width: 768px) {
        .admin-sidebar {
            transform: translateX(-100%);
            transition: transform 0.3s ease;
        }

        .admin-sidebar.show {
            transform: translateX(0);
        }

        .admin-main {
            margin-left: 0;
            padding: 1rem;
        }

        .admin-top-bar {
            flex-direction: column;
            gap: 1rem;
            text-align: center;
        }
        
        .applications-table thead {
            display: none;
        }
        
        .applications-table tbody tr {
            display: block;
            margin-bottom: 1rem;
            border: 1px solid rgba(184, 124, 75, 0.1);
            border-radius: 12px;
        }
        
        .applications-table tbody td {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 1rem;
            border-bottom: 1px solid rgba(184, 124, 75, 0.1);
        }
        
        .applications-table tbody td:last-child {
            border-bottom: none;
        }
        
        .applications-table tbody td::before {
            content: attr(data-label);
            font-weight: 600;
            color: var(--text-light);
            font-size: 0.85rem;
            min-width: 80px;
        }
    }
    /* ===== СТРАНИЦА ПОЛЬЗОВАТЕЛЕЙ (АДМИН) ===== */

    /* Статистика */
    .stats-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .stat-card {
        background: white;
        border-radius: 20px;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(30, 59, 79, 0.08);
        border: 1px solid rgba(184, 124, 75, 0.1);
        transition: all 0.3s ease;
        height: 100%;
    }

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(30, 59, 79, 0.15);
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .stat-icon i {
        font-size: 1.8rem;
        color: white;
    }

    /* Фильтры */
    .filters-section {
        background: rgba(184, 124, 75, 0.02);
        border-radius: 20px;
        padding: 1.5rem;
        margin-bottom: 2rem;
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    .filters-form {
        display: flex;
        gap: 1rem;
        align-items: center;
        flex-wrap: wrap;
    }

    .search-wrapper {
        position: relative;
        flex: 1;
        min-width: 250px;
    }

    .search-icon {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--secondary);
        font-size: 0.9rem;
        opacity: 0.7;
    }

    .search-input {
        width: 100%;
        padding: 0.8rem 1rem 0.8rem 2.5rem;
        border: 2px solid rgba(184, 124, 75, 0.15);
        border-radius: 50px;
        font-size: 0.95rem;
        color: var(--text);
        background-color: white;
        transition: all 0.3s ease;
    }

    .search-input:focus {
        outline: none;
        border-color: var(--secondary);
        box-shadow: 0 0 0 4px rgba(184, 124, 75, 0.1);
    }

    .search-btn {
        padding: 0.8rem 2rem;
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        color: white;
        border: none;
        border-radius: 50px;
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 8px 20px rgba(184, 124, 75, 0.2);
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
    }

    .search-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(184, 124, 75, 0.3);
    }

    /* Кнопки фильтрации по ролям */
    .action-btn-outline {
        padding: 0.6rem 1.2rem;
        border-radius: 50px;
        font-size: 0.9rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        background: transparent;
        color: var(--primary);
        border: 2px solid rgba(184, 124, 75, 0.2);
    }

    .action-btn-outline i {
        color: var(--secondary);
        transition: all 0.3s ease;
    }

    .action-btn-outline:hover {
        border-color: var(--secondary);
        color: var(--secondary);
        transform: translateY(-2px);
    }

    .action-btn-outline.active {
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        color: white !important;
        border-color: transparent;
    }

    .action-btn-outline.active i {
        color: white !important;
    }

    /* Кнопка добавления */
    .action-btn {
        padding: 0.8rem 1.5rem;
        border-radius: 50px;
        font-size: 0.95rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        color: white;
        box-shadow: 0 8px 20px rgba(184, 124, 75, 0.2);
        border: none;
    }

    .action-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(184, 124, 75, 0.3);
        color: white;
    }

    .action-btn i {
        color: white;
    }

    /* Таблица пользователей */
    .applications-table td .avatar-placeholder {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: rgba(184, 124, 75, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 0.75rem;
    }

    .applications-table td .avatar-placeholder i {
        color: var(--secondary);
        font-size: 1.2rem;
        opacity: 0.5;
    }

    .applications-table td .avatar-placeholder img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
    }

    /* Иконки в контактах */
    .applications-table td .text-muted i {
        color: var(--);
        font-size: 0.8rem;
        margin-right: 0.25rem;
    }

    /* Действия */
    .applications-table td .d-flex {
        gap: 0.5rem;
    }

    .details-link {
        color: var(--secondary);
        text-decoration: none;
        font-size: 1rem;
        font-weight: 500;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0.25rem;
    }

    .details-link:hover {
        color: var(--primary);
        transform: translateY(-2px);
    }

    .details-link.text-danger:hover {
        color: var(--danger) !important;
    }

    /* Статусы с иконками */
    .status-badge i {
        font-size: 0.8rem;
        margin-right: 0.25rem;
    }

    /* Пагинация */
    .pagination-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 2rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(184, 124, 75, 0.1);
    }

    .pagination-info {
        color: var(--text-light);
        font-size: 0.9rem;
    }

    .pagination-info i {
        color: var(--secondary);
    }

    .pagination-links {
        display: flex;
        gap: 0.3rem;
    }

    .pagination-links a,
    .pagination-links span {
        display: inline-block;
        padding: 0.5rem 1rem;
        border-radius: 12px;
        color: var(--text);
        text-decoration: none;
        transition: all 0.2s ease;
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    .pagination-links a:hover {
        background: rgba(184, 124, 75, 0.05);
        color: var(--secondary);
        border-color: rgba(184, 124, 75, 0.2);
    }

    .pagination-links .active span {
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        color: white;
        border: none;
    }

    /* Адаптивность */
    @media (max-width: 768px) {
        .stats-row {
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }
        
        .filters-form {
            flex-direction: column;
            align-items: stretch;
        }
        
        .search-wrapper {
            width: 100%;
        }
        
        .search-btn {
            width: 100%;
            justify-content: center;
        }
        
        .action-btn-outline {
            padding: 0.5rem 1rem;
            font-size: 0.85rem;
        }
        
        td[data-label="Действия"] .d-flex {
            justify-content: flex-end;
        }
        
        .pagination-wrapper {
            flex-direction: column;
            gap: 1rem;
            text-align: center;
        }
    }

    @media (max-width: 576px) {
        .stats-row {
            grid-template-columns: 1fr;
        }
    }
    /* ===== СТРАНИЦА РЕДАКТИРОВАНИЯ ПОЛЬЗОВАТЕЛЯ ===== */

    /* Заголовок с иконкой */
    .auth-icon-wrapper.small {
        width: 60px;
        height: 60px;
        background: rgba(184, 124, 75, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .auth-icon-wrapper.small i {
        font-size: 2rem;
        color: var(--secondary);
    }

    /* Инпуты */
    .auth-input {
        width: 100%;
        padding: 1rem 1.5rem;
        border: 2px solid rgba(184, 124, 75, 0.2);
        border-radius: 50px;
        font-size: 1rem;
        color: var(--text);
        background-color: white;
        transition: all 0.3s ease;
    }

    .auth-input:focus {
        outline: none;
        border-color: var(--secondary);
        box-shadow: 0 0 0 4px rgba(184, 124, 75, 0.1);
    }

    .auth-input.is-invalid {
        border-color: var(--danger);
    }

    /* Текстовая область */
    textarea.auth-input {
        border-radius: 20px;
        resize: vertical;
        min-height: 100px;
        line-height: 1.5;
    }

    /* Селект */
    .status-select {
        width: 100%;
        padding: 1rem 1.5rem;
        border: 2px solid rgba(184, 124, 75, 0.2);
        border-radius: 50px;
        font-size: 1rem;
        color: var(--text);
        background-color: white;
        transition: all 0.3s ease;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b87c4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1.5rem center;
        cursor: pointer;
    }

    .status-select:focus {
        outline: none;
        border-color: var(--secondary);
        box-shadow: 0 0 0 4px rgba(184, 124, 75, 0.1);
    }

    .status-select.is-invalid {
        border-color: var(--danger);
    }

    /* Чекбокс */
    .auth-checkbox {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .auth-checkbox input[type="checkbox"] {
        width: 20px;
        height: 20px;
        border: 2px solid rgba(184, 124, 75, 0.2);
        border-radius: 5px;
        cursor: pointer;
        accent-color: var(--secondary);
        margin: 0;
    }

    .auth-checkbox label {
        color: var(--text);
        font-size: 0.95rem;
        cursor: pointer;
        display: flex;
        align-items: center;
    }

    .auth-checkbox label i {
        font-size: 1rem;
        color: var(--secondary);
        margin-right: 0.5rem;
    }

    /* Подсказки */
    .auth-input + small,
    .status-select + small {
        display: block;
        margin-top: 0.5rem;
        color: var(--text-light);
        font-size: 0.85rem;
    }

    .auth-input + small i,
    .status-select + small i {
        color: var(--secondary);
        font-size: 0.85rem;
        margin-right: 0.25rem;
    }

    /* Кнопки */
    .action-btn {
        padding: 0.8rem 2rem;
        border-radius: 50px;
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        color: white;
        border: none;
        box-shadow: 0 8px 20px rgba(184, 124, 75, 0.2);
        cursor: pointer;
    }

    .action-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(184, 124, 75, 0.3);
        color: white;
    }

    .action-btn:active {
        transform: translateY(0);
    }

    .action-btn-outline {
        padding: 0.8rem 2rem;
        border-radius: 50px;
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        color: var(--primary);
        border: 2px solid rgba(184, 124, 75, 0.2);
        cursor: pointer;
    }

    .action-btn-outline:hover {
        border-color: var(--secondary);
        color: var(--secondary);
        transform: translateY(-2px);
    }

    .action-btn-outline:active {
        transform: translateY(0);
    }

    /* Иконки в кнопках */
    .action-btn i,
    .action-btn-outline i {
        font-size: 1rem;
        margin-right: 0.5rem;
    }

    /* Адаптивность */
    @media (max-width: 768px) {
        .d-flex.gap-3 {
            flex-direction: column;
            gap: 1rem !important;
        }
        
        .action-btn,
        .action-btn-outline {
            width: 100%;
            padding: 1rem;
        }
        
        .auth-icon-wrapper.small {
            width: 50px;
            height: 50px;
        }
        
        .auth-icon-wrapper.small i {
            font-size: 1.5rem;
        }
    }

    /* Для очень маленьких экранов */
    @media (max-width: 576px) {
        .auth-input,
        .status-select {
            padding: 0.8rem 1.2rem;
            font-size: 0.95rem;
        }
        
        .auth-checkbox {
            gap: 0.5rem;
        }
        
        .auth-checkbox label {
            font-size: 0.9rem;
        }
    }
    /* ===== ИСПРАВЛЕНИЕ ДЛЯ СТРАНИЦЫ РЕДАКТИРОВАНИЯ ===== */

    /* Контейнер для заголовка с иконкой */
    .applications-card .d-flex.align-items-center.mb-4 {
        background: linear-gradient(135deg, rgba(184, 124, 75, 0.03) 0%, rgba(184, 124, 75, 0.08) 100%);
        padding: 1.5rem;
        border-radius: 20px;
        margin: -1.5rem -1.5rem 1.5rem -1.5rem;
        border-bottom: 1px solid rgba(184, 124, 75, 0.15);
    }

    /* Иконка в заголовке */
    .applications-card .auth-icon-wrapper {
        width: 70px !important;
        height: 70px !important;
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%) !important;
        border-radius: 20px !important;
        margin: 0 1rem 0 0 !important;
        box-shadow: 0 10px 25px rgba(184, 124, 75, 0.3);
    }

    .applications-card .auth-icon-wrapper i {
        font-size: 2.2rem !important;
        color: white !important;
    }

    /* Текст в заголовке */
    .applications-card .d-flex.align-items-center.mb-4 h5 {
        font-size: 1.3rem;
        margin-bottom: 0.25rem !important;
    }

    .applications-card .d-flex.align-items-center.mb-4 p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    /* Убираем лишние отступы */
    .applications-card {
        overflow: hidden;
    }
    /* ===== КАРТОЧКА-ПОДСКАЗКА ДЛЯ ЗАЯВКИ ===== */

    /* Основная карточка */
    .info-card {
        background: white;
        border-radius: 24px;
        padding: 2rem;
        box-shadow: 0 20px 40px rgba(30, 59, 79, 0.08);
        border: 1px solid rgba(184, 124, 75, 0.15);
        position: sticky;
        top: 100px;
    }

    /* Заголовок карточки */
    .info-card .card-title {
        color: var(--primary);
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
    }

    .info-card .card-title i {
        color: var(--secondary);
        font-size: 1.5rem;
        margin-right: 0.75rem;
    }

    /* Список подсказок */
    .info-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .info-list li {
        display: flex;
        align-items: flex-start;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px dashed rgba(184, 124, 75, 0.15);
    }

    .info-list li:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    /* Иконка */
    .info-icon {
        width: 36px;
        height: 36px;
        background: rgba(184, 124, 75, 0.1);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 1rem;
        flex-shrink: 0;
    }

    .info-icon i {
        font-size: 1.1rem;
        color: var(--secondary);
    }

    /* Контент */
    .info-content {
        flex: 1;
    }

    .info-content strong {
        display: block;
        color: var(--primary);
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

    .info-content p {
        color: var(--text-light);
        font-size: 0.9rem;
        line-height: 1.5;
        margin: 0;
    }

    /* Контакты в карточке */
    .info-contact {
        margin-top: 2rem;
        padding: 1.5rem;
        background: linear-gradient(135deg, rgba(184, 124, 75, 0.03) 0%, rgba(184, 124, 75, 0.08) 100%);
        border-radius: 16px;
        text-align: center;
    }

    .info-contact i {
        color: var(--secondary);
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .info-contact p {
        color: var(--text);
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .info-contact .phone {
        color: var(--primary);
        font-size: 1.2rem;
        font-weight: 700;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .info-contact .phone:hover {
        color: var(--secondary);
    }

    /* Адаптивность */
    @media (max-width: 992px) {
        .info-card {
            position: static;
            margin-top: 2rem;
        }
    }

    @media (max-width: 768px) {
        .info-card {
            padding: 1.5rem;
        }
        
        .info-list li {
            margin-bottom: 1rem;
            padding-bottom: 1rem;
        }
        
        .info-icon {
            width: 32px;
            height: 32px;
        }
        
        .info-icon i {
            font-size: 1rem;
        }
        
        .info-content strong {
            font-size: 0.95rem;
        }
        
        .info-content p {
            font-size: 0.85rem;
        }
        
        .info-contact {
            padding: 1rem;
        }
        
        .info-contact i {
            font-size: 1.5rem;
        }
        
        .info-contact .phone {
            font-size: 1rem;
        }
    }
    /* ===== ИСПРАВЛЕНИЕ ДЛЯ ALERT СООБЩЕНИЙ ===== */

    /* Контейнер для flash сообщений */
    .flash-message-container {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 9999;
        max-width: 400px;
        width: 100%;
    }

    /* Сам алерт */
    .flash-message-container .alert {
        position: relative;
        padding: 1rem 3rem 1rem 1.5rem !important;
        margin-bottom: 1rem;
        border: none;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        border-left: 4px solid;
        font-weight: 500;
        animation: slideInRight 0.3s ease forwards;
    }

    /* Кнопка закрытия */
    .flash-message-container .btn-close {
        position: absolute !important;
        top: 50% !important;
        right: 1rem !important;
        transform: translateY(-50%) !important;
        width: 24px !important;
        height: 24px !important;
        padding: 0 !important;
        background: transparent !important;
        opacity: 0.7 !important;
        border: none !important;
        cursor: pointer !important;
        z-index: 10 !important;
    }

    .flash-message-container .btn-close:hover {
        opacity: 1 !important;
        transform: translateY(-50%) scale(1.1) !important;
    }

    /* Специфичные цвета для алертов */
    .flash-message-container .alert-success {
        border-left-color: var(--success);
        background: linear-gradient(135deg, #ffffff 0%, #f4faf5 100%);
        color: var(--success);
    }

    .flash-message-container .alert-danger {
        border-left-color: var(--danger);
        background: linear-gradient(135deg, #ffffff 0%, #fef5f5 100%);
        color: var(--danger);
    }

    .flash-message-container .alert-warning {
        border-left-color: var(--warning);
        background: linear-gradient(135deg, #ffffff 0%, #fef9e7 100%);
        color: var(--warning);
    }

    .flash-message-container .alert-info {
        border-left-color: var(--secondary);
        background: linear-gradient(135deg, #ffffff 0%, #fcf7f2 100%);
        color: var(--text);
    }

    /* Анимация появления */
    @keyframes slideInRight {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    /* Адаптивность */
    @media (max-width: 768px) {
        .flash-message-container {
            top: 10px;
            right: 10px;
            left: 10px;
            max-width: none;
        }
        
        .flash-message-container .alert {
            padding: 0.875rem 2.5rem 0.875rem 1rem !important;
            font-size: 0.9rem;
        }
        
        .flash-message-container .btn-close {
            right: 0.75rem !important;
            width: 20px !important;
            height: 20px !important;
        }
    }
    /* ===== ДЕТАЛИ ЗАЯВКИ ===== */
    .back-link {
        display: inline-flex;
        align-items: center;
        color: var(--secondary);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.2s ease;
    }

    .back-link:hover {
        color: var(--primary);
    }

    .back-link i { transition: transform 0.2s ease; }
    .back-link:hover i { transform: translateX(-3px); }

    .detail-card {
        background: white;
        border-radius: 20px;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(30, 59, 79, 0.05);
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    .detail-icon {
        width: 45px;
        height: 45px;
        background: rgba(184, 124, 75, 0.1);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .detail-icon i {
        font-size: 1.3rem;
        color: var(--secondary);
    }

    .info-item {
        background: rgba(184, 124, 75, 0.02);
        border-radius: 12px;
        padding: 1rem;
        height: 100%;
    }

    .info-label {
        display: block;
        font-size: 0.85rem;
        color: var(--text-light);
        margin-bottom: 0.5rem;
    }

    .info-value {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--primary);
    }

    .sidebar-card {
        background: white;
        border-radius: 20px;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(30, 59, 79, 0.05);
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    .sidebar-icon {
        width: 40px;
        height: 40px;
        background: rgba(184, 124, 75, 0.1);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar-icon i {
        font-size: 1.2rem;
        color: var(--secondary);
    }

    .calculation-items {
        background: rgba(184, 124, 75, 0.02);
        border-radius: 16px;
        padding: 1rem;
    }

    .calculation-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 0;
        border-bottom: 1px dashed rgba(184, 124, 75, 0.15);
    }

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

    .item-label { color: var(--text-light); font-size: 0.95rem; }
    .item-value { color: var(--primary); font-weight: 600; font-size: 1rem; }

    .calculation-total {
        margin-top: 1.5rem;
        padding: 1rem;
        background: rgba(184, 124, 75, 0.05);
        border-radius: 12px;
    }

    .total-label { font-size: 1.1rem; font-weight: 600; color: var(--text); }
    .total-value {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--secondary);
    }

    .btn-calc-detail {
        display: block;
        width: 100%;
        padding: 0.8rem;
        margin-top: 1rem;
        background: transparent;
        color: var(--secondary);
        border: 2px solid rgba(184, 124, 75, 0.3);
        border-radius: 50px;
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        text-align: center;
    }

    .btn-calc-detail:hover {
        background: var(--secondary);
        color: white;
        border-color: var(--secondary);
        transform: translateY(-2px);
    }
    /* Специальный стиль для поля с ценой */
    .auth-input.price-input {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-right: none;
    }

    .price-currency {
        background: white;
        padding: 1rem 1.5rem;
        border: 2px solid rgba(184, 124, 75, 0.2);
        border-left: none;
        border-radius: 0 50px 50px 0;
        color: var(--secondary);
        font-weight: 600;
        display: flex;
        align-items: center;
        white-space: nowrap;
    }

    .price-input:focus + .price-currency {
        border-color: var(--secondary);
        border-left: none;
    }
    /* ===== ЗАГРУЗКА АВАТАРА ===== */
    .avatar-upload-container {
        width: 100%;
    }

    .avatar-upload-area {
        background: linear-gradient(135deg, rgba(184, 124, 75, 0.02) 0%, rgba(184, 124, 75, 0.05) 100%);
        border: 2px dashed rgba(184, 124, 75, 0.3);
        border-radius: 20px;
        padding: 2rem;
        text-align: center;
        transition: all 0.3s ease;
        position: relative;
        cursor: pointer;
    }

    .avatar-upload-area:hover {
        border-color: var(--secondary);
        background: rgba(184, 124, 75, 0.05);
    }

    .upload-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .upload-icon {
        font-size: 3rem;
        color: var(--secondary);
        opacity: 0.7;
        margin-bottom: 0.5rem;
    }

    .upload-text {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .primary-text {
        color: var(--primary);
        font-size: 1.1rem;
        font-weight: 600;
    }

    .secondary-text {
        color: var(--text-light);
        font-size: 0.9rem;
    }

    .file-input {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
        z-index: 2;
    }

    .browse-btn {
        background: white;
        border: 2px solid rgba(184, 124, 75, 0.2);
        border-radius: 50px;
        padding: 0.6rem 1.8rem;
        color: var(--primary);
        font-weight: 500;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        cursor: pointer;
        margin-top: 0.5rem;
        z-index: 1;
        position: relative;
    }

    .browse-btn:hover {
        border-color: var(--secondary);
        color: var(--secondary);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(184, 124, 75, 0.1);
    }

    .file-info {
        display: flex;
        gap: 1rem;
        color: var(--text);
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }

    .file-name {
        color: var(--primary);
        font-weight: 500;
    }

    .file-size {
        color: var(--secondary);
    }

    /* Превью аватара */
    .avatar-preview {
        position: relative;
        width: 120px;
        height: 120px;
        margin: 0 auto 1rem;
        border-radius: 50%;
        overflow: hidden;
        border: 4px solid rgba(184, 124, 75, 0.2);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

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

    .avatar-remove {
        position: absolute;
        top: 5px;
        right: 5px;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: var(--danger);
        border: none;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    }

    .avatar-remove:hover {
        transform: scale(1.1);
        background: #c82333;
    }

    /* Подсказка */
    .avatar-hint {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-top: 1rem;
        padding: 0.75rem 1rem;
        background: rgba(184, 124, 75, 0.05);
        border-radius: 12px;
        color: var(--text-light);
        font-size: 0.9rem;
    }

    .avatar-hint i {
        font-size: 1rem;
    }

    .avatar-hint strong {
        color: var(--secondary);
        font-weight: 600;
    }

    /* Адаптивность */
    @media (max-width: 768px) {
        .avatar-upload-area {
            padding: 1.5rem;
        }
        
        .upload-icon {
            font-size: 2.5rem;
        }
        
        .primary-text {
            font-size: 1rem;
        }
        
        .secondary-text {
            font-size: 0.85rem;
        }
        
        .file-info {
            flex-direction: column;
            gap: 0.25rem;
        }
        
        .avatar-preview {
            width: 100px;
            height: 100px;
        }
    }
    /* ===== БАЗОВЫЕ СТИЛИ ДЛЯ ФОРМ ===== */
    .auth-input {
        width: 100%;
        padding: 1rem 1.5rem;
        border: 2px solid rgba(184, 124, 75, 0.2);
        border-radius: 50px;
        font-size: 1rem;
        color: #33495f;
        background-color: white;
        transition: all 0.3s ease;
    }

    .auth-input:focus {
        outline: none;
        border-color: #b87c4b;
        box-shadow: 0 0 0 4px rgba(184, 124, 75, 0.1);
    }

    .auth-input.is-invalid {
        border-color: #b95b5b;
    }

    .status-select {
        width: 100%;
        padding: 1rem 1.5rem;
        border: 2px solid rgba(184, 124, 75, 0.2);
        border-radius: 50px;
        font-size: 1rem;
        color: #33495f;
        background-color: white;
        transition: all 0.3s ease;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b87c4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1.5rem center;
        cursor: pointer;
    }

    .status-select:focus {
        outline: none;
        border-color: #b87c4b;
        box-shadow: 0 0 0 4px rgba(184, 124, 75, 0.1);
    }

    .auth-checkbox {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .auth-checkbox input[type="checkbox"] {
        width: 20px;
        height: 20px;
        border: 2px solid rgba(184, 124, 75, 0.2);
        border-radius: 5px;
        cursor: pointer;
        accent-color: #b87c4b;
    }

    .auth-checkbox label {
        color: #33495f;
        font-size: 0.95rem;
        cursor: pointer;
    }

    /* Карточка */
    .applications-card {
        background: white;
        border-radius: 20px;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(30, 59, 79, 0.05);
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    /* Кнопки */
    .action-btn {
        padding: 0.8rem 1.5rem;
        border-radius: 50px;
        font-size: 0.95rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        background: linear-gradient(135deg, #b87c4b 0%, #c78f5e 100%);
        color: white;
        box-shadow: 0 8px 20px rgba(184, 124, 75, 0.2);
        border: none;
        cursor: pointer;
    }

    .action-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(184, 124, 75, 0.3);
        color: white;
    }

    .action-btn-outline {
        padding: 0.8rem 1.5rem;
        border-radius: 50px;
        font-size: 0.95rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        background: transparent;
        color: #1e3b4f;
        border: 2px solid rgba(184, 124, 75, 0.2);
    }

    .action-btn-outline:hover {
        border-color: #b87c4b;
        color: #b87c4b;
        transform: translateY(-2px);
    }

    /* Иконка в шапке */
    .auth-icon-wrapper {
        width: 60px;
        height: 60px;
        background: rgba(184, 124, 75, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .auth-icon-wrapper i {
        font-size: 2rem;
        color: #b87c4b;
    }

    /* Отступы */
    .mb-4 {
        margin-bottom: 1.5rem;
    }

    .mt-4 {
        margin-top: 1.5rem;
    }

    .gap-3 {
        gap: 1rem;
    }
    /* ===== ПОЛНОСТЬЮ КАСТОМНАЯ ПАГИНАЦИЯ ===== */
    .pagination-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 2rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(184, 124, 75, 0.1);
    }

    .pagination-info {
        color: var(--text-light);
        font-size: 0.9rem;
    }

    .pagination-info i {
        color: var(--secondary);
    }

    /* Скрываем стандартную Bootstrap пагинацию */
    .pagination {
        all: unset !important;
        display: flex !important;
        gap: 0.3rem !important;
        flex-wrap: wrap !important;
    }

    .page-item {
        all: unset !important;
        list-style: none !important;
    }

    .page-link {
        all: unset !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 40px !important;
        height: 40px !important;
        padding: 0 0.5rem !important;
        background: white !important;
        border: 1px solid rgba(184, 124, 75, 0.1) !important;
        border-radius: 12px !important;
        color: var(--text) !important;
        font-weight: 500 !important;
        font-size: 0.95rem !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
        cursor: pointer !important;
        box-sizing: border-box !important;
    }

    .page-link:hover {
        background: rgba(184, 124, 75, 0.05) !important;
        color: var(--secondary) !important;
        border-color: rgba(184, 124, 75, 0.2) !important;
        transform: translateY(-2px) !important;
    }

    .page-item.active .page-link {
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%) !important;
        color: white !important;
        border: none !important;
        box-shadow: 0 4px 10px rgba(184, 124, 75, 0.3) !important;
    }

    .page-item.disabled .page-link {
        background: #f8f9fa !important;
        color: #6c757d !important;
        border-color: #dee2e6 !important;
        pointer-events: none !important;
        opacity: 0.5 !important;
    }

    /* Адаптивность */
    @media (max-width: 768px) {
        .pagination-wrapper {
            flex-direction: column;
            gap: 1rem;
            text-align: center;
        }
        
        .pagination {
            justify-content: center;
        }
        
        .page-link {
            min-width: 36px !important;
            height: 36px !important;
            font-size: 0.85rem !important;
        }
    }
    /* Скрываем стандартный текст Bootstrap пагинации */
    .pagination .sr-only,
    .pagination .visually-hidden,
    .pagination .page-item .page-link .sr-only,
    .pagination .page-item .page-link .visually-hidden,
    .pagination .page-link .visually-hidden,
    .pagination .page-link .sr-only {
        display: none !important;
    }

    /* Дополнительно скрываем любые тексты с "Showing" */
    .pagination .page-item:first-child .page-link::before,
    .pagination .page-item:last-child .page-link::after {
        display: none !important;
    }
    /* Скрываем все лишние тексты */
    .pagination .text-muted,
    .pagination p.small,
    .pagination .small.text-muted {
        display: none !important;
    }
    /* Полностью скрываем стандартный текст пагинации */
    .pagination .text-muted,
    .pagination p.small,
    .pagination .small.text-muted,
    .pagination .d-none.flex-sm-fill p,
    .pagination .d-none.flex-sm-fill div:first-child {
        display: none !important;
    }
    /* ===== УВЕЛИЧЕННЫЙ ОТСТУП МЕЖДУ ЭЛЕМЕНТАМИ НАВИГАЦИИ ===== */
    .navbar-nav {
        gap: 0.5rem;
    }

    .navbar-nav .nav-item {
        margin-left: 0.25rem;
        margin-right: 0.25rem;
    }

    @media (min-width: 992px) {
        .navbar-nav {
            gap: 1rem;
        }
        
        .navbar-nav .nav-item {
            margin-left: 0.5rem;
            margin-right: 0.5rem;
        }
    }
    /* ===== ИСПРАВЛЕНИЕ ДЛЯ КАЛЬКУЛЯТОРА (БЕЗ ПРЫЖКОВ) ===== */
    .result-card-fixed {
        min-height: 550px !important;
        height: 550px !important;
        display: flex;
        flex-direction: column;
        position: relative;
        overflow: hidden;
    }

    .result-content {
        flex: 1;
        position: relative;
        width: 100%;
        height: 100%;
    }

    #calculationResult,
    #calculationPlaceholder {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        transition: opacity 0.3s ease;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    #calculationResult {
        opacity: 0;
        pointer-events: none;
        z-index: 1;
    }

    #calculationPlaceholder {
        opacity: 1;
        pointer-events: all;
        z-index: 2;
    }

    /* Когда показываем результат */
    #calculationResult.show {
        opacity: 1;
        pointer-events: all;
        z-index: 2;
    }

    #calculationPlaceholder.hide {
        opacity: 0;
        pointer-events: none;
        z-index: 1;
    }

    /* Контейнер для спиннера */
    .spinner-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
    }

    /* Стили для результата */
    .result-content-wrapper {
        height: 100%;
        width: 100%;
        overflow-y: auto;
        padding: 0.5rem;
    }

    .result-content-wrapper .bg-primary {
        background: rgba(184, 124, 75, 0.1) !important;
        border-radius: 20px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .result-content-wrapper h2 {
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--secondary);
        margin-bottom: 0;
        line-height: 1.2;
    }

    .result-content-wrapper .bg-light {
        background: rgba(184, 124, 75, 0.02) !important;
        border-radius: 16px;
        padding: 1.2rem;
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    /* Адаптивность */
    @media (max-width: 992px) {
        .result-card-fixed {
            min-height: 500px !important;
            height: 500px !important;
            margin-top: 2rem;
        }
    }

    @media (max-width: 768px) {
        .result-card-fixed {
            min-height: 450px !important;
            height: 450px !important;
        }
        
        .result-content-wrapper h2 {
            font-size: 1.8rem;
        }
    }

    /* ===== ЛИЦЕНЗИИ И СЕРТИФИКАТЫ ===== */
    .licenses-section {
        background: linear-gradient(135deg, rgba(184,124,75,0.02) 0%, rgba(30,59,79,0.02) 100%);
    }

    .licenses-slider {
        overflow-x: auto;
        padding: 20px 0 30px;
        margin: 0 -15px;
        scrollbar-width: thin;
        scrollbar-color: var(--secondary) var(--gray-light);
    }

    .licenses-slider::-webkit-scrollbar {
        height: 6px;
    }

    .licenses-slider::-webkit-scrollbar-track {
        background: var(--gray-light);
        border-radius: 10px;
    }

    .licenses-slider::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        border-radius: 10px;
    }

    .licenses-track {
        display: flex;
        gap: 25px;
        padding: 0 15px;
        min-width: min-content;
    }

    .license-item {
        flex: 0 0 auto;
        width: 200px;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        text-align: center;
    }

    .license-item:hover {
        transform: translateY(-5px);
    }

    .license-image {
        width: 180px;
        height: 240px;
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(30,59,79,0.1);
        border: 1px solid rgba(184,124,75,0.15);
        transition: box-shadow 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .license-item:hover .license-image {
        box-shadow: 0 15px 35px rgba(30,59,79,0.15);
        border-color: rgba(184,124,75,0.3);
    }

    .license-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .license-item:hover .license-image img {
        transform: scale(1.05);
    }

    .license-title {
        font-size: 0.8rem;
        font-weight: 500;
        color: var(--text);
        margin-top: 10px;
        text-align: center;
    }

    /* Адаптивность */
    @media (max-width: 768px) {
        .license-item {
            width: 160px;
        }
        .license-image {
            width: 140px;
            height: 190px;
        }
        .license-title {
            font-size: 0.7rem;
        }
    }

    /* ===== КОНТАКТЫ ===== */
    .contact-card {
        background: white;
        border-radius: 24px;
        padding: 2rem 1.5rem;
        box-shadow: 0 15px 40px rgba(30, 59, 79, 0.05);
        border: 1px solid rgba(184, 124, 75, 0.1);
        transition: all 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 50px rgba(30, 59, 79, 0.1);
        border-color: rgba(184, 124, 75, 0.2);
    }

    .contact-icon {
        width: 80px;
        height: 80px;
        background: rgba(184, 124, 75, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
    }

    .contact-icon i {
        font-size: 2.2rem;
        color: var(--secondary);
    }

    .contact-phone,
    .contact-email,
    .contact-address {
        color: var(--text);
        font-size: 1.1rem;
        font-weight: 500;
    }

    .contact-phone a,
    .contact-email a {
        color: var(--secondary);
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .contact-phone a:hover,
    .contact-email a:hover {
        color: var(--primary);
    }

    .contact-btn {
        display: inline-block;
        padding: 0.8rem 2rem;
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        color: white;
        border: none;
        border-radius: 50px;
        font-size: 1rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 8px 20px rgba(184, 124, 75, 0.2);
        min-width: 160px;
        margin-top: auto;
    }

    .contact-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(184, 124, 75, 0.3);
        color: white;
    }

    .contact-form-card {
        background: white;
        border-radius: 30px;
        box-shadow: 0 20px 50px rgba(30, 59, 79, 0.05);
        border: 1px solid rgba(184, 124, 75, 0.1);
        height: 100%;
    }

    .contact-input,
    .contact-textarea {
        width: 100%;
        padding: 1rem 1.5rem;
        border: 2px solid rgba(184, 124, 75, 0.2);
        border-radius: 50px;
        font-size: 1rem;
        color: var(--text);
        background-color: white;
        transition: border-color 0.3s ease;
    }

    .contact-textarea {
        border-radius: 30px;
        resize: vertical;
    }

    .contact-input:focus,
    .contact-textarea:focus {
        outline: none;
        border-color: var(--secondary);
        box-shadow: 0 0 0 4px rgba(184, 124, 75, 0.1);
    }

    .contact-submit-btn {
        width: 100%;
        padding: 1.2rem 2rem;
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        color: white;
        border: none;
        border-radius: 50px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 10px 25px rgba(184, 124, 75, 0.2);
    }

    .contact-submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 30px rgba(184, 124, 75, 0.3);
    }

    /* Реквизиты */
    .requisites-premium {
        background: white;
        border-radius: 30px;
        padding: 3rem;
        box-shadow: 0 30px 60px rgba(30, 59, 79, 0.12);
        border: 1px solid rgba(184, 124, 75, 0.2);
        position: relative;
        overflow: hidden;
        max-width: 800px;
        margin: 0 auto;
    }

    .requisites-premium::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(184, 124, 75, 0.03) 0%, transparent 70%);
        border-radius: 50%;
        z-index: 0;
        animation: float 20s ease-in-out infinite;
    }

    .requisites-premium::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 350px;
        height: 350px;
        background: radial-gradient(circle, rgba(30, 59, 79, 0.03) 0%, transparent 70%);
        border-radius: 50%;
        z-index: 0;
        animation: float 15s ease-in-out infinite reverse;
    }

    .requisites-premium > * {
        position: relative;
        z-index: 2;
    }

    .requisites-premium .title-section {
        text-align: center;
        margin-bottom: 3rem;
    }

    .requisites-premium .premium-badge {
        display: inline-block;
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        color: white;
        font-size: 0.9rem;
        font-weight: 600;
        padding: 0.5rem 1.5rem;
        border-radius: 50px;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 1rem;
        box-shadow: 0 5px 15px rgba(184, 124, 75, 0.3);
    }

    .requisites-premium h2 {
        color: var(--primary);
        font-size: 2.2rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        letter-spacing: -0.5px;
    }

    .requisites-premium .company-name {
        color: var(--secondary);
        font-size: 1.3rem;
        font-weight: 500;
        position: relative;
        display: inline-block;
        padding-bottom: 0.5rem;
    }

    .requisites-premium .company-name::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 3px;
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        border-radius: 2px;
    }

    .requisites-premium .requisites-grid {
        background: linear-gradient(135deg, rgba(184, 124, 75, 0.02) 0%, rgba(184, 124, 75, 0.05) 100%);
        border-radius: 24px;
        padding: 2rem;
        margin-bottom: 2rem;
        border: 1px solid rgba(184, 124, 75, 0.15);
    }

    .requisites-premium .requisite-row {
        display: flex;
        align-items: center;
        padding: 1rem 0;
        border-bottom: 1px dashed rgba(184, 124, 75, 0.2);
    }

    .requisites-premium .requisite-row:last-child {
        border-bottom: none;
    }

    .requisites-premium .requisite-label {
        width: 120px;
        color: var(--text-light);
        font-weight: 600;
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: flex;
        align-items: center;
    }

    .requisites-premium .requisite-label i {
        color: var(--secondary);
        width: 24px;
        font-size: 1.1rem;
        margin-right: 0.5rem;
    }

    .requisites-premium .requisite-value {
        flex: 1;
        color: var(--primary);
        font-weight: 600;
        font-size: 1.1rem;
        font-family: 'Inter', monospace;
        background: white;
        padding: 0.5rem 1rem;
        border-radius: 12px;
        border: 1px solid rgba(184, 124, 75, 0.1);
        transition: all 0.3s ease;
    }

    .requisites-premium .requisite-value:hover {
        border-color: var(--secondary);
        box-shadow: 0 5px 15px rgba(184, 124, 75, 0.1);
        transform: translateX(5px);
    }

    .requisites-premium .signature-section {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 2px solid rgba(184, 124, 75, 0.2);
    }

    .requisites-premium .signature {
        text-align: right;
    }

    .requisites-premium .signature-label {
        color: var(--text-light);
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 0.25rem;
    }

    .requisites-premium .signature-name {
        color: var(--primary);
        font-size: 1.3rem;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .requisites-premium .signature-stamp {
        margin-left: 2rem;
        color: var(--secondary);
        font-size: 3rem;
        opacity: 0.5;
    }

    /* Соцсети */
    .social-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        border-radius: 50%;
        transition: all 0.3s ease;
        box-shadow: 0 10px 20px rgba(30, 59, 79, 0.1);
        text-decoration: none;
        margin: 0 0.5rem;
    }

    .social-btn:hover {
        transform: translateY(-5px);
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        box-shadow: 0 15px 25px rgba(184, 124, 75, 0.2);
    }

    .social-btn i {
        font-size: 1.8rem;
        color: white;
    }

    /* Адаптивность */
    @media (max-width: 768px) {
        .requisites-premium {
            padding: 2rem 1.5rem;
        }
        
        .requisites-premium h2 {
            font-size: 1.8rem;
        }
        
        .requisites-premium .company-name {
            font-size: 1.1rem;
        }
        
        .requisites-premium .requisite-row {
            flex-direction: column;
            align-items: flex-start;
            padding: 0.75rem 0;
        }
        
        .requisites-premium .requisite-label {
            width: auto;
            margin-bottom: 0.5rem;
        }
        
        .requisites-premium .requisite-value {
            width: 100%;
            font-size: 1rem;
        }
        
        .requisites-premium .signature-section {
            flex-direction: column;
            align-items: flex-end;
        }
        
        .requisites-premium .signature-stamp {
            margin-left: 0;
            margin-top: 1rem;
        }
        
        .social-btn {
            width: 50px;
            height: 50px;
            margin: 0 0.2rem;
        }
        
        .social-btn i {
            font-size: 1.5rem;
        }
    }
    /* ===== ЕДИНЫЙ ФОН ДЛЯ ВСЕХ СЕКЦИЙ ===== */

    /* Убираем разноцветные фоны у секций */
    section.py-5,
    section.about-section,
    section.cta-section,
    section.benefits-section,
    section.services-section,
    section.contacts-section {
        background-color: var(--bg-warm) !important;
    }

    /* Убираем конкретные проблемные места */
    section[style*="background"] {
        background: var(--bg-warm) !important;
    }

    /* Оставляем hero секции с градиентом */
    .hero-section,
    .hero-section-small,
    .calculator-hero {
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%) !important;
    }

    /* Футер оставляем как есть */
    .footer {
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%) !important;
    }
    /* ===== ПОЛНОСТЬЮ ЕДИНЫЙ ФОН ДЛЯ ВСЕГО САЙТА ===== */

    /* Все секции на сайте */
    section,
    .py-5,
    .py-4,
    .container + section,
    .row + section,
    section:not(.hero-section):not(.hero-section-small):not(.calculator-hero):not(.footer) {
        background-color: var(--bg-warm) !important;
        background: var(--bg-warm) !important;
    }

    /* Конкретные классы секций */
    .about-section,
    .cta-section,
    .benefits-section,
    .services-section,
    .contacts-section,
    .features-section,
    .stats-section,
    .team-section,
    .reviews-section,
    .partners-section,
    .faq-section,
    .pricing-section,
    .gallery-section,
    .blog-section,
    .news-section,
    .catalog-section,
    .products-section,
    .cart-section,
    .checkout-section,
    .profile-section,
    .dashboard-section,
    .applications-section,
    .calculator-section,
    .auth-section,
    .register-section,
    .login-section,
    .password-section,
    .email-section,
    .verify-section {
        background-color: var(--bg-warm) !important;
        background: var(--bg-warm) !important;
    }

    /* Убираем все градиенты из обычных секций */
    .about-section,
    .cta-section,
    .benefits-section,
    .services-section {
        background: var(--bg-warm) !important;
        background-image: none !important;
    }

    /* Оставляем hero секции с градиентом */
    .hero-section,
    .hero-section-small,
    .calculator-hero {
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%) !important;
    }

    /* Футер оставляем с градиентом */
    .footer {
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%) !important;
    }

    /* Карточки остаются белыми */
    .card,
    .about-card,
    .service-card,
    .benefit-item,
    .contact-card,
    .auth-card,
    .applications-card,
    .stat-card,
    .detail-card,
    .sidebar-card,
    .requisites-premium,
    .benefit-card,
    .services-card,
    .info-card,
    .profile-card,
    .actions-card {
        background: white !important;
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    /* Секция статистики (stats-block) остаётся с градиентом как в дизайне */
    .stats-block {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    }
    /* ===== УБИРАЕМ ПОДЧЁРКИВАНИЕ У КНОПОК ===== */
    .btn-order {
        text-decoration: none !important;
    }

    .btn-order:hover,
    .btn-order:focus,
    .btn-order:active,
    .btn-order:visited {
        text-decoration: none !important;
    }

    /* На всякий случай для всех ссылок в карточках услуг */
    .services-card a,
    .services-card .btn-order,
    .card a,
    .card .btn-order {
        text-decoration: none !important;
    }
    /* ===== ВЫРАВНИВАЕМ КНОПКИ В КАРТОЧКАХ ===== */
    .services-card {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 320px; /* фиксируем минимальную высоту */
    }

    .services-card .card-text {
        flex: 1 1 auto; /* текст занимает всё доступное пространство */
        margin-bottom: 1rem;
    }

    .services-card .d-flex.justify-content-between {
        margin-top: auto; /* прижимаем блок с ценой и кнопкой к низу */
        align-items: center;
        width: 100%;
    }

    /* Для статического блока (если нет данных из БД) */
    .services-card .price {
        white-space: nowrap; /* чтобы цена не переносилась */
    }

    /* Адаптивность */
    @media (max-width: 768px) {
        .services-card {
            min-height: 280px;
        }
    }
    /* ===== ПОДСКАЗКИ ДЛЯ ПАРОЛЯ ===== */
    .password-requirements {
        background: rgba(184, 124, 75, 0.03);
        border-radius: 16px;
        padding: 1rem;
        margin-top: 0.5rem;
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    .requirement-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
        color: var(--text-light);
    }

    .requirement-item:last-child {
        margin-bottom: 0;
    }

    .requirement-item i {
        font-size: 0.9rem;
        width: 18px;
    }

    .requirement-item.valid {
        color: var(--success);
    }

    .requirement-item.valid i {
        color: var(--success);
    }

    .requirement-item.invalid {
        color: var(--danger);
    }

    .requirement-item.invalid i {
        color: var(--danger);
    }

    /* Стили для ошибок */
    .invalid-feedback {
        display: block;
        color: var(--danger);
        font-size: 0.85rem;
        margin-top: 0.25rem;
        padding-left: 1rem;
    }

    .invalid-feedback i {
        color: var(--danger);
        font-size: 0.8rem;
        margin-right: 0.25rem;
    }

    /* Подсказка для пароля */
    .password-hint {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: rgba(184, 124, 75, 0.03);
        border-radius: 12px;
        padding: 0.75rem 1rem;
        margin-top: 0.5rem;
        color: var(--text-light);
        font-size: 0.9rem;
        border: 1px solid rgba(184, 124, 75, 0.1);
    }

    .password-hint i {
        color: var(--secondary);
        font-size: 1rem;
    }
    /* ===== СТАТИСТИКА В ДАШБОРДЕ ИНЖЕНЕРА ===== */

/* Стили для карточек статистики */
.stat-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(30, 59, 79, 0.08);
    border: 1px solid rgba(184, 124, 75, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 59, 79, 0.15);
    border-color: rgba(184, 124, 75, 0.2);
}

.stat-card .d-flex {
    align-items: center;
    position: relative;
    z-index: 2;
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(5px);
}

.stat-card .stat-icon i {
    font-size: 2rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.stat-card .ms-3 {
    margin-left: 1rem !important;
}

.stat-card .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.stat-card .fw-bold {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: white;
}

/* Градиенты для каждой карточки */
.stat-card[style*="primary"] {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.stat-card[style*="c99f4a"] {
    background: linear-gradient(135deg, #c99f4a 0%, #e6b450 100%);
}

.stat-card[style*="4a6f8a"] {
    background: linear-gradient(135deg, #4a6f8a 0%, #5f8aab 100%);
}

.stat-card[style*="4d7352"] {
    background: linear-gradient(135deg, #4d7352 0%, #5f8a66 100%);
}

/* Адаптивность */
@media (max-width: 768px) {
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-card .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .stat-card .stat-icon i {
        font-size: 1.5rem;
    }
    
    .stat-card .fw-bold {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .stat-card .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-card .ms-3 {
        margin-left: 0 !important;
        margin-top: 0.75rem;
    }
    
    .stat-card .stat-icon {
        margin: 0 auto;
    }
}
/* ===== ПЕРЕБИВАЕМ СТИЛИ СТАТИСТИКИ ===== */
.row.g-4.mb-5 .col-md-3 {
    position: relative;
}

.row.g-4.mb-5 .stat-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.row.g-4.mb-5 .stat-card > div {
    background: white !important;
    border-radius: 20px !important;
    padding: 1.5rem !important;
    box-shadow: 0 10px 30px rgba(30, 59, 79, 0.15) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

/* Индивидуальные цвета */
.row.g-4.mb-5 .col-md-3:nth-child(2) .stat-card > div {
    background: linear-gradient(135deg, #c99f4a 0%, #e6b450 100%) !important;
}

.row.g-4.mb-5 .col-md-3:nth-child(3) .stat-card > div {
    background: linear-gradient(135deg, #4a6f8a 0%, #5f8aab 100%) !important;
}

.row.g-4.mb-5 .col-md-3:nth-child(4) .stat-card > div {
    background: linear-gradient(135deg, #4d7352 0%, #5f8a66 100%) !important;
}

/* Текст */
.row.g-4.mb-5 .stat-card .text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.row.g-4.mb-5 .stat-card .fw-bold.text-white {
    color: white !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

/* Иконки */
.row.g-4.mb-5 .stat-card .stat-icon {
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 16px !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.row.g-4.mb-5 .stat-card .stat-icon i {
    color: #1e3b4f !important;
    font-size: 2rem !important;
}
/* ===== НАВИГАЦИОННЫЕ КАРТОЧКИ В ИНЖЕНЕРНОМ КАБИНЕТЕ (ПЕРЕБИТЫЕ) ===== */

/* Полностью перебиваем все стили */
.row.g-3.mb-5 .stat-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-height: auto !important;
}

.row.g-3.mb-5 .stat-card > div {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    border-radius: 16px !important;
    padding: 1rem 1.25rem !important;
    box-shadow: 0 10px 20px rgba(30, 59, 79, 0.15) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Индивидуальные цвета для каждой карточки */
.row.g-3.mb-5 .col-md-3:nth-child(1) .stat-card > div {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
}

.row.g-3.mb-5 .col-md-3:nth-child(2) .stat-card > div {
    background: linear-gradient(135deg, #4a6f8a 0%, #5f8aab 100%) !important;
}

.row.g-3.mb-5 .col-md-3:nth-child(3) .stat-card > div {
    background: linear-gradient(135deg, #4d7352 0%, #5f8a66 100%) !important;
}

/* Эффект при наведении */
.row.g-3.mb-5 .stat-card > div:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25) !important;
}

/* Иконка */
.row.g-3.mb-5 .stat-card .stat-icon {
    width: 45px !important;
    height: 45px !important;
    background: rgba(255, 255, 255, 0.25) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(5px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

.row.g-3.mb-5 .stat-card .stat-icon i {
    font-size: 1.3rem !important;
    color: white !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)) !important;
}

/* Текст */
.row.g-3.mb-5 .stat-card .text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 0.15rem !important;
}

.row.g-3.mb-5 .stat-card h6 {
    color: white !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15) !important;
}

/* Ссылки */
.row.g-3.mb-5 a {
    text-decoration: none !important;
    display: block !important;
}

/* Убираем лишние фоны */
.row.g-3.mb-5 .stat-card .d-flex {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* ===== НАВИГАЦИОННЫЕ КАРТОЧКИ В ЛИЧНОМ КАБИНЕТЕ ===== */

/* Перебиваем все стили */
.row.g-3.mb-5 .stat-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-height: auto !important;
}

.row.g-3.mb-5 .stat-card > div {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    border-radius: 16px !important;
    padding: 1rem 1.25rem !important;
    box-shadow: 0 10px 20px rgba(30, 59, 79, 0.2) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Индивидуальные цвета */
.row.g-3.mb-5 .col-md-4:nth-child(1) .stat-card > div {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
}

.row.g-3.mb-5 .col-md-4:nth-child(2) .stat-card > div {
    background: linear-gradient(135deg, #c99f4a 0%, #e6b450 100%) !important;
}

.row.g-3.mb-5 .col-md-4:nth-child(3) .stat-card > div {
    background: linear-gradient(135deg, #4d7352 0%, #5f8a66 100%) !important;
}

/* Эффект при наведении */
.row.g-3.mb-5 .stat-card > div:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
}

/* Иконка */
.row.g-3.mb-5 .stat-card .stat-icon {
    width: 45px !important;
    height: 45px !important;
    background: rgba(255, 255, 255, 0.25) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(5px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

.row.g-3.mb-5 .stat-card .stat-icon i {
    font-size: 1.3rem !important;
    color: white !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)) !important;
}

/* Текст */
.row.g-3.mb-5 .stat-card .text-white-50 {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 0.15rem !important;
}

.row.g-3.mb-5 .stat-card h6 {
    color: white !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
}

/* Ссылки */
.row.g-3.mb-5 a {
    text-decoration: none !important;
    display: block !important;
}

/* Убираем лишние фоны */
.row.g-3.mb-5 .stat-card .d-flex {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .row.g-3.mb-5 .col-md-4 {
        margin-bottom: 0.75rem;
    }
}
/* ===== ПУСТОЕ СОСТОЯНИЕ НА ВЕСЬ ЭКРАН ===== */
.applications-card .text-center.py-5 {
    background: transparent !important;
    margin: -1.5rem;
    padding: 3rem 1.5rem !important;
    border-radius: 20px;
}

.applications-card .text-center.py-5 .empty-state-icon {
    background: rgba(184, 124, 75, 0.1);
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.applications-card .text-center.py-5 .empty-state-icon i {
    font-size: 3rem;
    color: var(--secondary);
}

.applications-card .text-center.py-5 h6 {
    color: var(--primary) !important;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.applications-card .text-center.py-5 .text-muted {
    color: var(--text-icon) !important;
    margin-bottom: 1.5rem;
}


/* Убираем белый фон у карточки при пустом состоянии */
.applications-card:has(.text-center.py-5) {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Для страницы списка заявок */
#applications-list .applications-card:has(.text-center.py-5),
.applications-index .applications-card:has(.text-center.py-5) {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
/* ===== СТИЛИ ДЛЯ МОДАЛКИ ДЕТАЛЬНОГО РАСЧЕТА ===== */

/* Основная модалка */
#calculateModal .modal-dialog {
    max-width: 1300px !important;
    margin: 1.75rem auto;
}

#calculateModal .modal-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

#calculateModal .modal-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 1.5rem 2rem;
    border-bottom: none;
}

#calculateModal .modal-title {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

#calculateModal .btn-close {
    background: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    position: relative;
}

#calculateModal .btn-close:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: rotate(90deg) !important;
}

#calculateModal .btn-close::before,
#calculateModal .btn-close::after {
    content: '' !important;
    position: absolute !important;
    width: 20px !important;
    height: 2px !important;
    background-color: white !important;
}

#calculateModal .btn-close::before {
    transform: rotate(45deg) !important;
}

#calculateModal .btn-close::after {
    transform: rotate(-45deg) !important;
}

/* Тело модалки */
#calculateModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #fcf7f2 100%);
}

/* Контейнеры для услуг и материалов */
#calculateModal .col-md-6 {
    padding: 0 0.75rem;
}

#calculateModal h6 {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    padding-left: 0.5rem;
    position: relative;
}

#calculateModal h6::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0.5rem;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border-radius: 2px;
}

/* Строка с услугой/материалом */
#calculateModal .calc-item-row {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 25px rgba(30, 59, 79, 0.05);
    border: 1px solid rgba(184, 124, 75, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

#calculateModal .calc-item-row:hover {
    transform: translateX(5px);
    box-shadow: 0 15px 35px rgba(30, 59, 79, 0.1);
    border-color: rgba(184, 124, 75, 0.3);
}

/* Селекты */
#calculateModal .calc-select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid rgba(184, 124, 75, 0.15);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text);
    background-color: white;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b87c4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}

#calculateModal .calc-select:hover,
#calculateModal .calc-select:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(184, 124, 75, 0.1);
}

/* Инпуты */
#calculateModal .calc-input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid rgba(184, 124, 75, 0.15);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text);
    background-color: white;
    transition: all 0.2s ease;
}

#calculateModal .calc-input:hover,
#calculateModal .calc-input:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(184, 124, 75, 0.1);
}

/* Группа с ценой */
#calculateModal .input-group {
    display: flex;
    align-items: center;
}

#calculateModal .input-group .calc-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

#calculateModal .input-group-text {
    background: white;
    border: 2px solid rgba(184, 124, 75, 0.15);
    border-left: none;
    border-radius: 0 12px 12px 0;
    color: var(--secondary);
    font-weight: 600;
    padding: 0.9rem 1rem;
}

/* Кнопка удаления */
#calculateModal .btn-remove-item {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 2px solid rgba(184, 124, 75, 0.15);
    color: var(--danger);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#calculateModal .btn-remove-item:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: white;
    transform: scale(1.1);
}

/* Кнопка добавления */
#calculateModal .btn-add-item {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 2px dashed rgba(184, 124, 75, 0.3);
    border-radius: 16px;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

    #calculateModal .btn-add-item:hover {
        border-color: var(--secondary);
        background: rgba(184, 124, 75, 0.05);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(184, 124, 75, 0.1);
    }

    #calculateModal .btn-add-item i {
        font-size: 1rem;
    }

    /* Футер модалки */
    #calculateModal .modal-footer {
        padding: 1.5rem 2rem;
        border-top: 1px solid rgba(184, 124, 75, 0.1);
        background: rgba(184, 124, 75, 0.02);
        display: flex;
        justify-content: flex-end;
        gap: 1rem;
    }

    #calculateModal .btn-secondary {
        padding: 0.8rem 2rem;
        background: transparent;
        border: 2px solid rgba(184, 124, 75, 0.2);
        border-radius: 50px;
        color: var(--text-light);
        font-weight: 500;
        transition: all 0.2s ease;
    }

    #calculateModal .btn-secondary:hover {
        border-color: var(--secondary);
        color: var(--secondary);
        transform: translateY(-2px);
    }

    #calculateModal .btn-save {
        padding: 0.8rem 2.5rem;
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        border: none;
        border-radius: 50px;
        color: white;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 10px 25px rgba(184, 124, 75, 0.2);
    }

    #calculateModal .btn-save:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 30px rgba(184, 124, 75, 0.3);
    }

    /* Скролл внутри модалки */
    #calculateModal .modal-body::-webkit-scrollbar {
        width: 8px;
    }

    #calculateModal .modal-body::-webkit-scrollbar-track {
        background: rgba(184, 124, 75, 0.05);
        border-radius: 10px;
    }

    #calculateModal .modal-body::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        border-radius: 10px;
    }

    #calculateModal .modal-body::-webkit-scrollbar-thumb:hover {
        background: var(--secondary);
    }

    /* Адаптивность */
    @media (max-width: 1200px) {
        #calculateModal .modal-dialog {
            max-width: 95% !important;
        }
    }

    @media (max-width: 992px) {
        #calculateModal .modal-body {
            padding: 1.5rem;
        }
        
        #calculateModal .calc-item-row {
            padding: 1.25rem;
        }
        
        #calculateModal .row {
            flex-direction: column;
        }
        
        #calculateModal .col-md-6 {
            width: 100%;
            margin-bottom: 1.5rem;
        }
        
        #calculateModal .col-md-6:last-child {
            margin-bottom: 0;
        }
    }

    @media (max-width: 768px) {
        #calculateModal .calc-item-row .row.mt-2 {
            flex-direction: column;
        }
        
        #calculateModal .calc-item-row .row.mt-2 .col-6 {
            width: 100%;
            padding: 0.25rem 0;
        }
        
        #calculateModal .btn-remove-item {
            top: -0.25rem;
            right: -0.25rem;
            width: 32px;
            height: 32px;
        }
        
        #calculateModal .modal-footer {
            flex-direction: column;
        }
        
        #calculateModal .modal-footer button {
            width: 100%;
        }
    }
    /* ===== ФОНОВЫЕ ИЗОБРАЖЕНИЯ ДЛЯ HERO СЕКЦИЙ (СИЛЬНО) ===== */

    /* Героическая секция (главная) */
    .hero-section {
        background: linear-gradient(135deg, rgba(21, 43, 58, 0.65) 0%, rgba(30, 59, 79, 0.85) 100%), 
                    url('/images/hero/gas-main.jpg') center/cover no-repeat !important;
    }

    /* Маленькая героическая секция (внутренние страницы) */
    .hero-section-small {
        background: linear-gradient(135deg, rgba(21, 43, 58, 0.65) 0%, rgba(30, 59, 79, 0.65) 100%), 
                    url('/images/hero/gas-small.jpg') center/cover no-repeat !important;
    }

    /* Калькулятор */
    .calculator-hero {
        background: linear-gradient(135deg, rgba(21, 43, 58, 0.65) 0%, rgba(30, 59, 79, 0.65) 100%), 
                    url('/images/hero/gas-calculator.jpg') center/cover no-repeat !important;
    }

    /* Убираем старые фоны */
    .hero-section,
    .hero-section-small,
    .calculator-hero {
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }

/* ===== МОДАЛЬНЫЕ ОКНА ПРОЕКТОВ ===== */

/* Контейнер основного изображения */
.modal-main-image-container {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f5f0ea 0%, #fff 100%);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(184, 124, 75, 0.1);
}

/* Основное изображение */
.modal-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modal-main-image:hover {
    transform: scale(1.02);
}

/* Контейнер миниатюры галереи */
.modal-gallery-item {
    width: 100%;
    height: 100px;
    background: #f5f0ea;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.modal-gallery-item:hover {
    border-color: var(--secondary);
    transform: translateY(-3px);
}

/* Изображение галереи */
.modal-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Стили модального окна Bootstrap */
.modal-content {
    border: none;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.modal-header {
    border-bottom: none;
    padding: 1.25rem 1.5rem;
}

.modal-body {
    background: var(--bg-warm);
}

.modal-body p {
    margin-bottom: 0.5rem;
}

.modal-body hr {
    margin: 1rem 0;
    border-color: rgba(184,124,75,0.15);
}

.modal-body h6 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

/* Кнопка закрытия */
.btn-close {
    background: rgba(255,255,255,0.2) !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    transition: all 0.2s ease;
}

.btn-close:hover {
    background: rgba(255,255,255,0.3) !important;
    transform: rotate(90deg);
}

/* Адаптивность */
@media (max-width: 992px) {
    .modal-main-image-container {
        height: 320px;
    }
    .modal-gallery-item {
        height: 80px;
    }
}

@media (max-width: 768px) {
    .modal-main-image-container {
        height: 250px;
    }
    .modal-gallery-item {
        height: 70px;
    }
}

@media (max-width: 576px) {
    .modal-main-image-container {
        height: 200px;
    }
    .modal-gallery-item {
        height: 60px;
    }
}

    /* ===== АКЦИОННЫЙ БАННЕР (адаптивный) ===== */
    .promo-banner-custom {
        background: linear-gradient(135deg, #9d5b00 10%, #ffb041 90%);
        overflow: hidden;
        box-shadow: 0 20px 35px -10px rgba(0,0,0,0.3);
        margin: 0 auto;
        width: 100%;
    }

    .promo-banner-custom .inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 30px;
        padding: 40px 50px;
    }

    .promo-banner-custom .content {
        flex: 1;
        min-width: 200px;
}

    /* Бейдж - маленький ярлык, а не огромная надпись */
    .promo-banner-custom .badge {
        display: inline-block;
        background: rgba(255,255,255,0.2);
        backdrop-filter: blur(4px);
        padding: 6px 16px;
        border-radius: 40px;
        font-size: 2rem;
        font-weight: 600;
        letter-spacing: 1px;
        color: #fff3e0;
        margin-bottom: 20px;
    }

    .promo-banner-custom h2 {
        font-size: 2.2rem;
        font-weight: 800;
        color: white;
        margin: 0 0 10px;
        line-height: 1.4;
    }

    .promo-banner-custom .highlight {
        color: #fff0b5;
        font-size: 2.4rem;
    }

    .promo-banner-custom p {
        font-size: 1.2rem;
        color: rgba(255,255,255,0.95);
        margin-bottom: 25px;
        line-height: 1.4;
        max-width: 90%;
    }

    .promo-banner-custom .buttons {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }

    .promo-banner-custom .btn-secondary {
        padding: 10px 24px;
        border-radius: 60px;
        font-weight: 600;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: 0.2s;
        font-size: 1.5rem;
    }


    .promo-banner-custom .btn-secondary {
        background: rgba(255,255,255,0.15);
        backdrop-filter: blur(4px);
        color: white;
        border: 1px solid rgba(255,255,255,0.3);
    }
    .promo-banner-custom .btn-secondary:hover {
        background: white;
        color: #1e3b4f;
    }

    .promo-banner-custom .icon {
        font-size: 80px;
        color: #fefefe;
        text-align: center;
        flex-shrink: 0;
    }

    /* Планшеты (768px - 1024px) */
    @media (max-width: 1024px) {
        .promo-banner-custom .inner {
            padding: 35px 40px;
            gap: 25px;
        }
        .promo-banner-custom h2 {
            font-size: 1.8rem;
        }
        .promo-banner-custom .highlight {
            font-size: 2rem;
        }
        .promo-banner-custom p {
            font-size: 0.95rem;
        }
        .promo-banner-custom .icon {
            font-size: 70px;
        }
    }

    /* Мобильные телефоны (до 768px) */
    @media (max-width: 768px) {
        .promo-banner-custom .inner {
            flex-direction: column;
            text-align: center;
            padding: 30px 20px;
            gap: 20px;
        }
        .promo-banner-custom .badge {
            font-size: 0.7rem;
            margin-bottom: 15px;
        }
        .promo-banner-custom h2 {
            font-size: 1.5rem;
        }
        .promo-banner-custom .highlight {
            font-size: 1.7rem;
        }
        .promo-banner-custom p {
            font-size: 0.9rem;
            max-width: 100%;
            margin-bottom: 20px;
        }
        .promo-banner-custom .buttons {
            justify-content: center;
            width: 100%;
        }
        .promo-banner-custom .btn-secondary {
            padding: 8px 18px;
            font-size: 0.85rem;
        }
        .promo-banner-custom .icon {
            font-size: 50px;
        }
    }

    /* Очень маленькие телефоны (до 480px) */
    @media (max-width: 480px) {
        .promo-banner-custom .inner {
            padding: 20px 15px;
        }
        .promo-banner-custom h2 {
            font-size: 1.3rem;
        }
        .promo-banner-custom .highlight {
            font-size: 1.5rem;
        }
        .promo-banner-custom p {
            font-size: 0.85rem;
        }
        .promo-banner-custom .buttons {
            flex-direction: column;
            align-items: stretch;
        }
        .promo-banner-custom .btn-secondary {
            justify-content: center;
        }
        .promo-banner-custom .icon {
            display: none; /* на совсем маленьких экранах иконку можно скрыть */
        }
    }   
/* ===== ЗАГОЛОВКИ ===== */
        .section-badge {
            background: #6c757d !important;
            color: white;
            display: inline-block;
            padding: 8px 24px;
            border-radius: 60px;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            margin-bottom: 20px;
        }

        h2 {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 12px;
        }

        .section-sub {
            color: var(--text-muted);
            font-size: 1rem;
            max-width: 550px;
            margin-left: auto;
            margin-right: auto;
        }

        /* ===== АНИМИРОВАННАЯ СХЕМА ===== */
        .gas-animation-container {
            background: radial-gradient(ellipse at 50% 30%, rgba(184,124,75,0.02), rgba(30,59,79,0.02));
            border-radius: 48px;
            margin: 0 auto;
            max-width: 1100px;
            width: 100%;
            border: 1px solid rgba(184,124,75,0.2);
            box-shadow: 0 20px 35px -10px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.6);
        }

        .gas-scheme svg {
            width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
            filter: drop-shadow(0 2px 6px rgba(0,0,0,0.05));
        }

        /* Анимации — только нужные, без ломающих координат */
        @keyframes pulseSource {
            0% { transform: scale(1); opacity: 0.9; filter: drop-shadow(0 0 0px #b87c4b);}
            50% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 0 10px rgba(184,124,75,0.6));}
            100% { transform: scale(1); opacity: 0.9; filter: drop-shadow(0 0 2px #b87c4b);}
        }

        @keyframes flickerFire {
            0% { transform: scale(1) translateY(0px); opacity: 0.8; }
            100% { transform: scale(1.1) translateY(-2px); opacity: 1; }
        }

        @keyframes floatParticle {
            0% { transform: translateY(0px) scale(0.8); opacity: 0; }
            20% { opacity: 0.7; }
            80% { opacity: 0.5; }
            100% { transform: translateY(-24px) scale(1.2); opacity: 0; }
        }

        @keyframes dashFlow {
            0% { stroke-dashoffset: 20; }
            100% { stroke-dashoffset: 0; }
        }

        @keyframes gentleGlow {
            0% { filter: drop-shadow(0 0 1px rgba(184,124,75,0.2)); }
            100% { filter: drop-shadow(0 0 8px rgba(184,124,75,0.5)); }
        }

        .gas-source-pulse {
            animation: pulseSource 2.2s ease-in-out infinite;
            transform-origin: center;
        }

        .flame-animation {
            animation: flickerFire 0.4s ease-in-out infinite alternate;
            transform-origin: center bottom;
        }

        .gas-particle-move {
            animation: floatParticle 2.3s ease-in-out infinite;
        }

        .animated-dash-line {
            stroke-dasharray: 10 8;
            animation: dashFlow 1s linear infinite;
        }

        .stage-card-glow {
            animation: gentleGlow 1.8s ease-in-out infinite alternate;
        }

        /* ===== СЕТКА КАРТОЧЕК ===== */
        .stages-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 28px;
            margin-top: 48px;
        }

        /* ОТСТУПЫ МЕЖДУ РЯДАМИ ВМЕСТО СТРЕЛОК */
        .stages-row-margin {
            margin-bottom: 48px;
        }

        .stage-card {
            background: white;
            border-radius: 24px;
            padding: 2rem 1.5rem;
            text-align: center;
            position: relative;
            border: 1px solid var(--border-light);
            transition: all 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
            box-shadow: 0 5px 15px rgba(0,0,0,0.02);
        }

        .stage-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(184,124,75,0.3);
        }

        .stage-number {
            position: absolute;
            top: -14px;
            left: 20px;
            background: linear-gradient(135deg, #b87c4b, #c78f5e);
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.7rem;
            box-shadow: 0 3px 8px rgba(0,0,0,0.1);
        }

        .stage-icon {
            font-size: 3rem;
            color: #b87c4b;
            margin-bottom: 1rem;
        }

        .stage-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: #1e3b4f;
            margin-bottom: 0.8rem;
            line-height: 1.3;
        }

        .stage-badge {
            display: inline-block;
            background: rgba(184,124,75,0.1);
            color: #b87c4b;
            padding: 5px 14px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 1rem;
            align-self: center;
        }

        .stage-desc {
            color: #4a5b6e;
            font-size: 1rem;
            line-height: 1.5;
            flex-grow: 1;
        }

        /* ===== ПЛАШКА С ДОКУМЕНТАМИ ===== */
        .stages-docs-note {
            background: linear-gradient(135deg, rgba(184,124,75,0.08) 0%, rgba(184,124,75,0.02) 100%);
            border-radius: 24px;
            border: 1px solid rgba(184,124,75,0.15);
            padding: 1.5rem;
            margin-top: 56px;
        }
        .docs-note-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
        }
        .docs-icon {
            width: 70px;
            height: 70px;
            background: rgba(184,124,75,0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .docs-icon i {
            font-size: 2rem;
            color: #b87c4b;
        }
        .docs-text {
            flex: 1;
            text-align: left;
        }
        .docs-text strong {
            display: block;
            color: #1e3b4f;
            font-size: 1.1rem;
            margin-bottom: 5px;
        }
        .docs-text span {
            color: #6b7a8a;
            font-size: 1rem;
        }
        .docs-btn {
            background: #b87c4b;
            color: white;
            border-radius: 60px;
            padding: 12px 32px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.2s;
            display: inline-block;
        }
        .docs-btn:hover {
            background: #a86b3c;
            transform: translateY(-2px);
        }

        /* ===== АДАПТИВ ===== */
        @media (max-width: 992px) {
            .stages-grid {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
                gap: 24px;
            }
            .stages-row-margin {
                margin-bottom: 40px;
            }
            .stage-card {
                padding: 1.5rem;
            }
            .stage-number {
                width: 36px;
                height: 36px;
                font-size: 1rem;
                top: -12px;
                left: 15px;
            }
            .stage-icon {
                font-size: 2.5rem;
            }
            .stage-title {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 768px) {
            .stages-section {
                padding: 50px 0;
            }
            .gas-scheme svg {
                min-width: 500px;
            }
            .stages-row-margin {
                margin-bottom: 32px;
            }
            .docs-note-inner {
                flex-direction: column;
                text-align: center;
            }
            .docs-text {
                text-align: center;
            }
            .docs-btn {
                width: 100%;
                text-align: center;
            }
            h2 {
                font-size: 1.8rem;
            }
        }

        @media (max-width: 550px) {
            .stages-grid {
                grid-template-columns: 1fr;
                max-width: 400px;
                margin-left: auto;
                margin-right: auto;
            }
            .stages-row-margin {
                margin-bottom: 28px;
            }
        }
        
        /* ============================================================
   ТОЛЬКО АДАПТИВ ДЛЯ ШАПКИ (без ломаний)
   ============================================================ */

/* Убираем выпирание шапки вправо */
#mainNav {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

#mainNav .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
}

/* Мобильное меню - компактно */
@media (max-width: 991px) {
    #mainNav .navbar-brand {
        font-size: 1rem;
    }
    #mainNav .navbar-brand i {
        font-size: 0.9rem;
    }
    #mainNav .nav-link {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
    #mainNav .navbar-collapse {
        padding: 8px 0;
    }
    #mainNav .dropdown-toggle span {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    #mainNav .navbar-brand {
        font-size: 0.85rem;
    }
    #mainNav .nav-link {
        font-size: 0.8rem;
        padding: 5px 8px;
    }
    #mainNav .dropdown-toggle span {
        display: none;
    }
    #mainNav .dropdown-toggle img,
    #mainNav .dropdown-toggle .rounded-circle {
        width: 24px !important;
        height: 24px !important;
    }
}

/* ============================================================
   СКРЫВАЕМ АНИМАЦИЮ ГАЗА НА МОБИЛЬНЫХ
   ============================================================ */
.gas-animation-container {
    display: block;
}

@media (max-width: 768px) {
    .gas-animation-container {
        display: none !important;
    }
}

/* ============================================================
   УБИРАЕМ ГОРИЗОНТАЛЬНЫЙ СКРОЛЛ
   ============================================================ */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* ===== НОРМАЛЬНОЕ ВЫПАДАЮЩЕЕ МЕНЮ ===== */

/* Убираем скролл в шапке */
#mainNav {
    overflow: visible !important;
    min-height: auto !important;
}

#mainNav .navbar-collapse {
    overflow: visible !important;
}

/* Десктопная версия - всё в строку */
@media (min-width: 992px) {
    #mainNav .navbar-nav {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 0.3rem !important;
    }
    
    #mainNav .nav-item {
        flex-shrink: 0 !important;
    }
    
    #mainNav .nav-link {
        white-space: nowrap !important;
        padding: 0.4rem 0.7rem !important;
        font-size: 0.85rem !important;
    }
    
    /* Аватар и имя в одну строку */
    #mainNav .dropdown-toggle {
        display: flex !important;
        align-items: center !important;
        gap: 0.3rem !important;
        padding: 0.3rem 0.7rem !important;
        white-space: nowrap !important;
    }
    
    #mainNav .dropdown-toggle img,
    #mainNav .dropdown-toggle .rounded-circle {
        width: 28px !important;
        height: 28px !important;
        flex-shrink: 0 !important;
    }
    
    #mainNav .dropdown-toggle span {
        font-size: 0.85rem !important;
        white-space: nowrap !important;
    }
    
    /* Выпадающее меню - нормальное позиционирование */
    #mainNav .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        left: auto !important;
        min-width: 200px !important;
        max-height: none !important;
        overflow: visible !important;
        border-radius: 12px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
        border: 1px solid rgba(184, 124, 75, 0.1) !important;
        padding: 0.5rem 0 !important;
        background: white !important;
        z-index: 9999 !important;
    }
    
    #mainNav .dropdown-item {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
        white-space: nowrap !important;
        color: #33495f !important;
    }
    
    #mainNav .dropdown-item:hover {
        background: rgba(184, 124, 75, 0.05) !important;
        color: #b87c4b !important;
    }
    
    /* Уменьшаем логотип, чтобы влезало */
    #mainNav .navbar-brand {
        font-size: 1rem !important;
        margin-right: 0.8rem !important;
        white-space: nowrap !important;
    }
    
    #mainNav .navbar-brand i {
        font-size: 0.9rem !important;
        margin-right: 0.3rem !important;
    }
}

/* Планшеты */
@media (max-width: 1199px) and (min-width: 992px) {
    #mainNav .nav-link {
        font-size: 0.8rem !important;
        padding: 0.3rem 0.5rem !important;
    }
    
    #mainNav .navbar-brand {
        font-size: 0.9rem !important;
    }
    
    #mainNav .dropdown-toggle span {
        font-size: 0.8rem !important;
    }
}

/* Мобильная версия - всё в столбик без скролла */
@media (max-width: 991px) {
    #mainNav .navbar-collapse {
        max-height: 80vh !important;
        overflow-y: auto !important;
        padding: 0.5rem 0 !important;
    }
    
    #mainNav .navbar-nav {
        flex-direction: column !important;
        width: 100% !important;
        gap: 2px !important;
    }
    
    #mainNav .nav-item {
        width: 100% !important;
    }
    
    #mainNav .nav-link {
        width: 100% !important;
        padding: 0.5rem 0.8rem !important;
    }
    
    #mainNav .dropdown-menu {
        position: static !important;
        width: 100% !important;
        border: none !important;
        box-shadow: none !important;
        padding-left: 1rem !important;
    }
}

/* ===== БЛОК "О КОМПАНИИ" - МОБИЛЬНАЯ ВЕРСИЯ ===== */

/* Специальный контейнер для статистики на мобилках */
.stats-row-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.stats-item {
    text-align: center;
    flex: 1;
}

.stats-item .stats-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.stats-item .stats-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.stats-divider {
    width: 2px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .stats-row-mobile {
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
    
    .stats-item .stats-value {
        font-size: 1.3rem;
    }
    
    .stats-item .stats-label {
        font-size: 0.75rem;
    }
    
    .stats-divider {
        height: 30px;
    }
}

@media (max-width: 576px) {
    .stats-row-mobile {
        gap: 0.75rem;
    }
    
    .stats-item .stats-value {
        font-size: 1.1rem;
    }
    
    .stats-item .stats-label {
        font-size: 0.7rem;
    }
    
    .stats-divider {
        height: 25px;
    }
    
    .stats-block {
        padding: 1.5rem 1rem !important;
    }
}

/* ===== ШАПКА С ВЫПАДАЮЩИМ МЕНЮ ПОВЕРХ ===== */

/* Убираем скролл в шапке */
#mainNav {
    overflow: visible !important;
    min-height: auto !important;
    max-height: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1030 !important;
}

#mainNav .container {
    overflow: visible !important;
}

#mainNav .navbar-collapse {
    overflow: visible !important;
}

/* Десктопная версия */
@media (min-width: 992px) {
    #mainNav .navbar-nav {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 0.2rem !important;
        overflow: visible !important;
    }
    
    #mainNav .nav-item {
        flex-shrink: 0 !important;
        overflow: visible !important;
        position: relative !important;
    }
    
    #mainNav .nav-link {
        white-space: nowrap !important;
        padding: 0.3rem 0.6rem !important;
        font-size: 0.8rem !important;
    }
    
    #mainNav .navbar-brand {
        font-size: 0.95rem !important;
        margin-right: 0.5rem !important;
    }
    
    #mainNav .navbar-brand i {
        font-size: 0.85rem !important;
    }
    
    /* Кнопка с аватаром */
    #mainNav .dropdown-toggle {
        display: flex !important;
        align-items: center !important;
        gap: 0.3rem !important;
        padding: 0.3rem 0.6rem !important;
        white-space: nowrap !important;
        cursor: pointer !important;
    }
    
    #mainNav .dropdown-toggle img,
    #mainNav .dropdown-toggle .rounded-circle {
        width: 24px !important;
        height: 24px !important;
        flex-shrink: 0 !important;
    }
    
    #mainNav .dropdown-toggle span {
        font-size: 0.8rem !important;
        white-space: nowrap !important;
    }
    
    /* ВЫПАДАЮЩЕЕ МЕНЮ ПОВЕРХ ВСЕГО */
    #mainNav .dropdown-menu {
        position: fixed !important;
        top: 60px !important;
        right: 15px !important;
        left: auto !important;
        min-width: 220px !important;
        max-width: 280px !important;
        max-height: 400px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        border-radius: 12px !important;
        box-shadow: 0 10px 40px rgba(0,0,0,0.2) !important;
        border: 1px solid rgba(184, 124, 75, 0.15) !important;
        padding: 0.5rem 0 !important;
        background: white !important;
        z-index: 9999 !important;
        display: none !important;
        margin: 0 !important;
    }
    
    #mainNav .dropdown-menu.show {
        display: block !important;
    }
    
    #mainNav .dropdown-item {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
        white-space: nowrap !important;
        color: #33495f !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }
    
    #mainNav .dropdown-item:hover {
        background: rgba(184, 124, 75, 0.08) !important;
        color: #b87c4b !important;
    }
    
    #mainNav .dropdown-divider {
        margin: 0.3rem 0 !important;
        border-color: rgba(184, 124, 75, 0.1) !important;
    }
    
    #mainNav .dropdown-item.text-danger:hover {
        background: rgba(220, 53, 69, 0.1) !important;
        color: #dc3545 !important;
    }
}

/* Планшеты */
@media (min-width: 992px) and (max-width: 1200px) {
    #mainNav .nav-link {
        font-size: 0.7rem !important;
        padding: 0.2rem 0.4rem !important;
    }
    
    #mainNav .navbar-brand {
        font-size: 0.8rem !important;
    }
    
    #mainNav .dropdown-toggle span {
        font-size: 0.7rem !important;
    }
    
    #mainNav .dropdown-menu {
        top: 55px !important;
        right: 10px !important;
    }
}

/* Мобильная версия */
@media (max-width: 991px) {
    #mainNav .navbar-collapse {
        max-height: 70vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 0.5rem 0 !important;
        background: var(--primary) !important;
        border-radius: 0 0 12px 12px !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1040 !important;
        box-shadow: 0 20px 40px rgba(0,0,0,0.2) !important;
    }
    
    #mainNav .navbar-nav {
        flex-direction: column !important;
        width: 100% !important;
        gap: 2px !important;
    }
    
    #mainNav .nav-item {
        width: 100% !important;
    }
    
    #mainNav .nav-link {
        width: 100% !important;
        padding: 0.5rem 1rem !important;
        color: white !important;
    }
    
    #mainNav .nav-link:hover {
        background: rgba(255,255,255,0.1) !important;
    }
    
    #mainNav .dropdown-menu {
        position: static !important;
        width: 100% !important;
        border: none !important;
        box-shadow: none !important;
        padding-left: 1rem !important;
        background: transparent !important;
        max-height: none !important;
        overflow-y: visible !important;
    }
    
    #mainNav .dropdown-item {
        color: rgba(255,255,255,0.8) !important;
        padding: 0.5rem 1rem !important;
    }
    
    #mainNav .dropdown-item:hover {
        background: rgba(255,255,255,0.1) !important;
        color: white !important;
    }
    
    #mainNav .dropdown-divider {
        border-color: rgba(255,255,255,0.1) !important;
    }
}

@media (max-width: 576px) {
    #mainNav .navbar-brand {
        font-size: 0.8rem !important;
    }
    
    #mainNav .dropdown-toggle span {
        display: none !important;
    }
    
    #mainNav .dropdown-menu {
        top: 50px !important;
        right: 5px !important;
        min-width: 180px !important;
    }
}