

/* Start:/local/templates/main_page/template_styles.css?176129840918262*/
 :root {
            --primary: #6e50e1;
            --secondary: #28fc82;
            --accent: #ff6b6b;
            --dark: #1a1a2e;
            --light: #f8f9fa;
            --text: #333333;
            --gray: #6c757d;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f5f5f7;
            color: var(--text);
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .section {
            padding: 80px 0;
        }
        
        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: var(--dark);
        }
        
        .section-subtitle {
            text-align: center;
            font-size: 1.2rem;
            color: #666;
            max-width: 800px;
            margin: 0 auto 60px;
        }
        
        .btn {
            display: inline-block;
            padding: 12px 30px;
            background: linear-gradient(135deg, var(--primary), #8a6eff);
            color: white;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(110, 80, 225, 0.3);
        }
        
        .btn:hover {
            background: linear-gradient(135deg, #5d3dd9, #7a5cf5);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(110, 80, 225, 0.4);
        }
        
        /* Header Styles */
        header {
            background-color: white;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            padding: 15px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            font-weight: 700;
            font-size: 24px;
            color: var(--primary);
            text-decoration: none;
        }
        
        .logo i {
            margin-right: 10px;
            color: var(--secondary);
        }
        
        .header-actions {
            display: flex;
            align-items: center;
            gap: 20px;
        }
        
        .btn-apply {
            background: linear-gradient(135deg, var(--primary), #8a6eff);
            color: white;
            padding: 10px 20px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(110, 80, 225, 0.3);
            font-size: 14px;
            white-space: nowrap;
        }
        
        .btn-apply:hover {
            background: linear-gradient(135deg, #5d3dd9, #7a5cf5);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(110, 80, 225, 0.4);
        }
        
        .location-selector {
            display: flex;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 8px 15px;
            border-radius: 20px;
            background-color: #f5f5f7;
        }
        
        .location-selector:hover {
            background-color: #e9e9e9;
        }
        
        .location-selector i {
            margin-right: 8px;
            font-size: 16px;
            color: var(--primary);
        }
        
        /* Кнопка "Вверх" */
        .scroll-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), #8a6eff);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(110, 80, 225, 0.3);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
        }
        
        .scroll-to-top.visible {
            opacity: 1;
            visibility: visible;
        }
        
        .scroll-to-top:hover {
            background: linear-gradient(135deg, #5d3dd9, #7a5cf5);
            transform: translateY(-5px);
            box-shadow: 0 6px 20px rgba(110, 80, 225, 0.4);
        }
        
        /* Modal Styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 2000;
        }
        
        .modal-content {
            background: white;
            width: 90%;
            max-width: 1000px;
            border-radius: 15px;
            padding: 30px;
            max-height: 90vh;
            overflow-y: auto;
        }
        
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .modal-title {
            font-size: 28px;
            color: var(--primary);
        }
        
        .close-modal {
            background: none;
            border: none;
            font-size: 28px;
            cursor: pointer;
            color: #777;
            transition: color 0.3s;
        }
        
        .close-modal:hover {
            color: var(--primary);
        }
        
        .cities-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 15px;
        }
        
        .city-link {
            padding: 12px 15px;
            background-color: #f8f9fa;
            border-radius: 8px;
            text-decoration: none;
            color: var(--text);
            transition: all 0.3s ease;
            display: block;
        }
        
        .city-link:hover {
            background-color: var(--primary);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(110, 80, 225, 0.3);
        }
        
        /* Hero Banner */
        .hero-banner {
            background: linear-gradient(rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.9)), url('/local/templates/main_page/images/migcredit.webp');
            background-size: cover;
            background-position: center;
            height: 80vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 100px 20px 80px;
            margin-top: 70px;
        }
        
        .hero-content {
            max-width: 900px;
        }
        
        .hero-title {
            font-size: 3.5rem;
            color: white;
            margin-bottom: 20px;
            line-height: 1.2;
        }
        
        .hero-title span {
            color: var(--secondary);
        }
        
        .hero-subtitle {
            font-size: 1.5rem;
            color: #e0e0e0;
            margin-bottom: 40px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        
        /* Form Styles */
        .form-section {
            background-color: white;
            border-radius: 15px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            margin-top: -80px;
            position: relative;
            z-index: 10;
        }
        
        .form-title {
            text-align: center;
            font-size: 28px;
            margin-bottom: 30px;
            color: var(--dark);
        }
        
        .loan-form {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(256px, 1fr));
            gap: 20px;
        }
        
      
	  
        
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--dark);
        }
        
        .form-input {
            width: 100%;
            padding: 15px 20px;
            border: 1px solid #ddd;
            border-radius: 10px;
            font-size: 16px;
            transition: all 0.3s;
        }
        
        .form-input:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 3px rgba(110, 80, 225, 0.2);
        }
        
        .form-btn {
            grid-column: 1 / -1;
            justify-self: center;
            margin-top: 10px;
            padding: 16px 40px;
            font-size: 18px;
        }
        
        /* About Section */
        .about-section {
            background-color: #f9f9ff;
        }
        
        .about-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }
        
        .about-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
            transition: all 0.4s ease;
        }
        
        .about-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(110, 80, 225, 0.15);
        }
        
        .about-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary), #8a6eff);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            color: white;
            font-size: 24px;
        }
        
        .about-title {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--dark);
        }
        
        .about-text {
            color: #666;
            line-height: 1.8;
        }
        
        /* Reviews Section */
        .reviews-section {
            background-color: white;
        }
        
        .reviews-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .review-card {
            background: #f9f9ff;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            position: relative;
        }
        
        .review-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .review-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 15px;
        }
        
        .review-name {
            font-weight: 600;
            font-size: 18px;
            margin-bottom: 5px;
        }
        
        .review-rating {
            color: #ffc107;
        }
        
        .review-text {
            color: #555;
            line-height: 1.7;
            font-style: italic;
        }
        
        /* FAQ Section */
        .faq-section {
            background-color: #f9f9ff;
        }
        
        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .faq-item {
            background: white;
            border-radius: 10px;
            margin-bottom: 15px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        }
        
        .faq-question {
            padding: 20px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            font-size: 18px;
        }
        
        .faq-answer {
            padding: 0 20px 20px;
            color: #555;
            line-height: 1.7;
            display: none;
        }
        
        .faq-active .faq-answer {
            display: block;
        }
        
        .faq-icon {
            transition: transform 0.3s;
        }
        
        .faq-active .faq-icon {
            transform: rotate(180deg);
        }
        
        /* Contact Section */
        .contact-section {
            background: linear-gradient(to right, #6e50e1, #8a6eff);
            color: white;
            padding: 60px 0;
        }
        
        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
            align-items: center;
        }
        
        .contact-info {
            padding-right: 20px;
        }
        
        .contact-title {
            font-size: 2.2rem;
            margin-bottom: 20px;
        }
        
        .contact-text {
            margin-bottom: 30px;
            line-height: 1.8;
            font-size: 18px;
        }
        
        .contact-phone {
            font-size: 26px;
            font-weight: 700;
            margin-bottom: 20px;
            display: block;
            color: white;
            text-decoration: none;
        }
        
        .contact-phone:hover {
            color: var(--secondary);
        }
        
        .map-container {
            height: 350px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }
        
        .map-placeholder {
            width: 100%;
            height: 100%;
            background: #ddd;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #666;
            font-weight: 600;
        }
        
        /* Footer */
        footer {
            background: var(--dark);
            color: white;
            padding: 30px 0;
            text-align: center;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .copyright {
            margin-bottom: 15px;
            font-size: 16px;
            color: #aaa;
        }
        
        /* Секция с кнопкой "Оставить заявку" */
        .cta-section {
            text-align: center;
            padding: 60px 0;
            background-color: #f9f9ff;
        }
        
        .cta-title {
            font-size: 2.2rem;
            margin-bottom: 20px;
            color: var(--dark);
        }
        
        .cta-text {
            font-size: 1.2rem;
            color: #666;
            max-width: 800px;
            margin: 0 auto 30px;
        }
        
        /* Responsive Design */
        @media (max-width: 992px) {
            .hero-title {
                font-size: 2.8rem;
            }
            
            .section-title {
                font-size: 2.2rem;
            }
			
			.loan-form {
				display: grid;
				grid-template-columns: 100%;
				gap: 20px;
			}
        }
        
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.3rem;
            }
            
            .hero-subtitle {
                font-size: 1.2rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .form-section {
                padding: 30px 20px;
            }
            
            .header-actions {
                gap: 10px;
            }
            
            .btn-apply {
                padding: 8px 15px;
                font-size: 12px;
            }
            
            .location-selector span {
               font-size:14px;
            }
            
            .location-selector {
                padding: 8px 10px;
            }
            
            .contact-grid {
                grid-template-columns: 1fr;
            }
            
            .contact-info {
                padding-right: 0;
                text-align: center;
            }
            
            .scroll-to-top {
                bottom: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
                font-size: 18px;
            }
            
            .cta-title {
                font-size: 1.8rem;
            }
            
            .cta-text {
                font-size: 1rem;
            }
			header{
				flex-direction: column;
				gap:5px;
			}
			.header-actions{
				justify-content: space-between;
				flex-direction: row;
				width:100%;
				
			}
        }
        
        @media (max-width: 576px) {
            .hero-title {
                font-size: 1.8rem;
            }
            
            .hero-subtitle {
                font-size: 1rem;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
            
            .form-btn {
                width: 100%;
            }
            
			header{
				padding: 15px 2%;
			}
	
        }
/* End */
/* /local/templates/main_page/template_styles.css?176129840918262 */
