* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
:root {
    --primary: #000000;
    --secondary: #ffd401;
    --accent: #e74c3c;
    --dark: #333333;
    --light: #f8f9fa;
    --gray: #5f6368;
    --light-gray: #f0f0f0;
}
body {
    color: var(--dark);
    background-color: #fff;
    line-height: 1.6;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
        
        /* Header & Navigation */
        header {
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        
        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo img {
            height: 60px;
            margin-right: 10px;
        }
        
        .logo-text {
            font-size: 20px;
            font-weight: 700;
            color: var(--primary);
            line-height: 1.2;
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 25px;
        }
        
        nav ul li a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
        }
        
        nav ul li a:hover {
            color: var(--primary);
        }
        
        nav ul li a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: var(--secondary);
            transition: width 0.3s;
        }
        
        nav ul li a:hover::after {
            width: 100%;
        }
        
        .contact-info {
            display: flex;
            align-items: center;
        }
        
        .phone {
            font-weight: 700;
            font-size: 18px;
            color: var(--primary);
            margin-right: 20px;
        }
        
        .btn {
            display: inline-block;
            background-color: var(--primary);
            color: white;
            padding: 12px 25px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        .btn:hover {
            background-color: #333;
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }
        
        .btn-secondary {
            background-color: var(--secondary);
            color: var(--primary);
        }
        
        .btn-secondary:hover {
            background-color: #e6bf00;
        }
        
        /* Иконка ВКонтакте */
        .vk-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            background-color: #4a76a8;
            color: white;
            border-radius: 50%;
            font-size: 24px;
            text-decoration: none;
            transition: all 0.3s;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }
        
        .vk-icon:hover {
            background-color: #3a6690;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }
        
        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.7)), url('https://bestklin.ru/img/bg1.jpg');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 120px 0 80px;
            margin-top: 80px;
            position: relative;
            text-align: center;
        }
        
        .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .hero h1 {
            font-size: 42px;
            margin-bottom: 20px;
            line-height: 1.2;
            font-weight: 700;
        }
        
        .hero p {
            font-size: 20px;
            margin-bottom: 30px;
            opacity: 0.9;
            line-height: 1.6;
        }
        
        /* Content Sections */
        .content-section {
            padding: 80px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-title h2 {
            font-size: 36px;
            color: var(--primary);
            margin-bottom: 15px;
        }
        
        .section-title p {
            color: var(--gray);
            font-size: 18px;
            max-width: 700px;
            margin: 0 auto;
        }
        
        /* Services Section */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }
        
        .service-card {
            background-color: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
            transition: transform 0.3s, box-shadow 0.3s;
            display: flex;
            flex-direction: column;
            height: 100%;
            border: 1px solid #f0f0f0;
            text-align: center;
            padding: 30px 20px;
        }
        
        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .service-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px;
            background: linear-gradient(135deg, #ffd401, #ffea80);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            color: var(--primary);
        }
        
        .service-card h3 {
            font-size: 22px;
            margin-bottom: 15px;
            color: var(--dark);
        }
        
        .service-card p {
            color: var(--gray);
            line-height: 1.7;
            margin-bottom: 20px;
        }
        
        /* Documents Section */
        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }
        
        .info-card {
            background-color: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
            transition: transform 0.3s, box-shadow 0.3s;
            display: flex;
            flex-direction: column;
            height: 100%;
            border: 1px solid #f0f0f0;
        }
        
        .info-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .card-header {
            background: linear-gradient(135deg, #ffd401, #ffea80);
            color: var(--primary);
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 600;
            padding: 0 20px;
            text-align: center;
        }
        
        .card-content {
            padding: 30px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .card-content h3 {
            font-size: 22px;
            margin-bottom: 15px;
            color: var(--dark);
        }
        
        .card-content p {
            color: var(--gray);
            margin-bottom: 20px;
            line-height: 1.7;
        }
        
        .doc-list {
            list-style: none;
            margin: 20px 0;
        }
        
        .doc-list li {
            margin-bottom: 10px;
            padding-left: 25px;
            position: relative;
        }
        
        .doc-list li:before {
            content: '•';
            color: var(--secondary);
            font-size: 20px;
            position: absolute;
            left: 0;
            top: -2px;
        }
        
        .doc-link {
            display: inline-block;
            background: transparent;
            color: var(--primary);
            padding: 8px 15px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            border: 2px solid var(--secondary);
            margin-top: 10px;
        }
        
        .doc-link:hover {
            background-color: var(--secondary);
            color: var(--primary);
            transform: translateY(-2px);
        }
/* Application Button Section */
        .application-section {
            padding: 60px 0;
            background-color: var(--light);
            text-align: center;
        }
        .application-content {
            background: white;
            border-radius: 15px;
            padding: 50px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .application-content h2 {
            font-size: 32px;
            margin-bottom: 20px;
            color: var(--primary);
        }
        
        .application-content p {
            font-size: 18px;
            color: var(--gray);
            margin-bottom: 30px;
            line-height: 1.6;
        }
        
        /* Modal Form */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        
        .modal.show {
            display: flex;
        }
        
        .modal-content {
            background: white;
            border-radius: 15px;
            width: 100%;
            max-width: 600px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
            animation: modalAppear 0.3s ease-out;
        }
        
        @keyframes modalAppear {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .modal-header {
            background: linear-gradient(135deg, #ffd401, #ffea80);
            color: var(--primary);
            padding: 25px;
            text-align: center;
            position: relative;
        }
        
        .modal-header h2 {
            font-size: 28px;
            margin-bottom: 10px;
        }
        
        .modal-header p {
            font-size: 16px;
            opacity: 0.9;
        }
        
        .close-modal {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            font-size: 24px;
            color: var(--primary);
            cursor: pointer;
            transition: transform 0.3s;
        }
        
        .close-modal:hover {
            transform: scale(1.2);
        }
        
        .modal-body {
            padding: 40px;
        }
        
        .form-group {
            margin-bottom: 25px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--dark);
        }
        
        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s;
        }
        
        .form-control:focus {
            border-color: var(--secondary);
            box-shadow: 0 0 0 3px rgba(255, 212, 1, 0.2);
            outline: none;
        }
        
        textarea.form-control {
            min-height: 120px;
            resize: vertical;
        }
        
        .form-submit {
            text-align: center;
            margin-top: 30px;
        }
                
        /* Requirements Section */
        .requirements {
            background-color: var(--light);
        }
        
        .requirement-item {
            background: white;
            border-radius: 10px;
            padding: 25px;
            margin-bottom: 20px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
            border-left: 4px solid var(--secondary);
        }
        
        .requirement-item h3 {
            font-size: 20px;
            margin-bottom: 10px;
            color: var(--primary);
        }
        
        /* Contacts Section */
        .contacts {
            padding: 80px 0;
            background-color: #f5f5f5;
        }
        
        .contacts-container {
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
        }
        
        .contact-info-card {
            flex: 1;
            min-width: 300px;
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .contact-info-card h3 {
            color: var(--primary);
            margin-bottom: 20px;
            font-size: 24px;
        }
        
        .contact-detail {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
        }
        
        .contact-detail i {
            color: var(--secondary);
            font-size: 20px;
            margin-right: 15px;
            margin-top: 5px;
        }
        
        .contact-detail div {
            flex: 1;
        }
        
        .contact-detail h4 {
            margin-bottom: 5px;
            color: var(--dark);
        }
        
        .map-container {
            flex: 2;
            min-width: 300px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .map-container iframe {
            width: 100%;
            height: 100%;
            min-height: 400px;
            border: none;
        }
        
        /* Footer */
        footer {
            background-color: #222;
            color: white;
            padding: 40px 0 20px;
        }
        
        .footer-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #444;
        }
        
        .footer-logo {
            display: flex;
            align-items: center;
        }
        
        .footer-logo img {
            height: 50px;
            margin-right: 15px;
        }
        
        .footer-logo-text {
            font-size: 24px;
            font-weight: bold;
            color: var(--secondary);
        }
        
        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .footer-links a {
            color: #aaa;
            text-decoration: none;
            margin-right: 20px;
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: var(--secondary);
        }
        
        .copyright {
            color: #aaa;
            font-size: 14px;
        }
        
        /* Mobile Menu */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            color: var(--dark);
            cursor: pointer;
        }
        
        /* Responsive Design */
        @media (max-width: 992px) {
            .info-grid, .services-grid {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            }
            
            .contacts-container {
                flex-direction: column;
            }
        }
        
        @media (max-width: 768px) {
            nav ul {
                display: none;
                position: absolute;
                top: 80px;
                left: 0;
                width: 100%;
                background-color: white;
                flex-direction: column;
                padding: 20px;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
            }
            
            nav ul.show {
                display: flex;
            }
            
            nav ul li {
                margin: 10px 0;
            }
            
            .mobile-menu-btn {
                display: block;
margin-right:10px;
            }
            
            .contact-info {
                display: none;
            }
            
            .hero {
                padding: 100px 0 60px;
            }
            
            .hero h1 {
                font-size: 32px;
            }
            
            .hero p {
                font-size: 16px;
            }
            
            .info-grid, .services-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-top, .footer-bottom {
                flex-direction: column;
                text-align: center;
                gap: 20px;
            }
            
            .footer-links {
                order: 2;
            }
            
            .copyright {
                order: 1;
            }
        }