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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fcfcfc;
    scroll-behavior: smooth; 
    scroll-padding-top: 105px; 
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0; 
}

h1, h2, h3 {
    color: #0b1a43;
    font-weight: 800;
}

.section-title {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    text-transform: uppercase;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #007bff;
    margin: 10px auto 60px;
}

.subtitle {
    text-align: center;
    color: #555;
    font-size: 1.1em;
    margin-bottom: 60px;
}

.btn {
    display: inline-block;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
}

.primary-btn {
    background-color: #007bff; 
    color: white;
}

.primary-btn:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

.pulse-effect {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(0, 123, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}

.top-bar {
    background-color: #0d2c60;
    padding: 5px 0;
    width: 100%;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    padding: 0 20px; 
}

.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-option {
    color: white;
    font-size: 0.85em;
    font-weight: 600;
    margin-left: 10px;
    padding: 2px 0;
    cursor: pointer;
    transition: color 0.2s, border-bottom 0.2s;
    opacity: 0.6;
}

.lang-option.active {
    opacity: 1;
    color: #ffc107; 
    border-bottom: 2px solid #ffc107;
}

.lang-option:hover:not(.active) {
    color: #cfd8dc;
    opacity: 0.8;
}

.main-header {
    background-color: #0b1a43;
    position: sticky; 
    top: 0; 
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    height: 70px;
}

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

.logo {
    font-size: 30px;
    font-weight: 800;
    color: white;
}

.main-nav .nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav .nav-links li {
    margin-left: 25px;
}

.main-nav .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
    font-size: 0.95em;
}

.main-nav .nav-links a:hover {
    color: #007bff;
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-phone-btn {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border: 2px solid #007bff;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.header-phone-btn:hover {
    background-color: #007bff;
}

.header-phone-btn i {
    margin-right: 5px;
}

.menu-toggle {
    display: none; 
    color: white;
    font-size: 1.8em;
    cursor: pointer;
    margin-left: 20px;
}

.hero-section {
    background: linear-gradient(135deg, #0d2c60 0%, #0056b3 100%); 
    color: white;
    padding-top: 150px;
    padding-bottom: 100px; 
    text-align: center;
    min-height: 75vh;
    height: calc(100vh - 6.709375rem);
    display: flex;
    align-items: center; 
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/02_c__02-1.webp') center center/cover no-repeat;
    opacity: 0.15;
    transform: scale(1.1);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4em;
    color: white;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-content .subtitle {
    font-size: 1.5em;
    color: #e0f2ff;
    margin-bottom: 60px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-content .primary-btn {
    background-color: #ffc107;
    color: #0b1a43;
    padding: 20px 45px;
    font-size: 1.1em;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-content .primary-btn:hover {
    background-color: #e0a800;
    transform: translateY(-5px);
}

.about-section {
    padding-bottom: 100px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.advantage-item {
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 5px solid #007bff;
    transition: box-shadow 0.3s, transform 0.3s;
    background-color: white;
}

.advantage-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.advantage-item i {
    font-size: 3.5em;
    color: #007bff;
    margin-bottom: 20px;
}

.expertise-section {
    background-color: #f0f3f7;
    padding: 100px 0;
}

.expertise-section .section-title:after {
    background: #0b1a43;
}

.expertise-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.expertise-cards .card {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s, transform 0.3s;
}

.expertise-cards .card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.expertise-cards .card i {
    font-size: 4em;
    color: #0b1a43;
    margin-bottom: 15px;
}

.expertise-cards .card h3 {
    color: #0b1a43;
    font-weight: 700;
    text-transform: uppercase;
}

.portfolio-section {
    padding-bottom: 100px;
}

.in-progress-section {
    background-color: #e0f2ff;
}

.in-progress-section .section-title:after {
    background: #007bff; 
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.object-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); 
    transition: transform 0.3s;
    height: 300px; 
}

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

.object-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s;
}

.object-item:hover img {
    filter: brightness(0.6);
}

.object-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 26, 67, 0.85);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
    
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.object-item:hover .overlay {
    opacity: 1;
    transform: translateY(0);
    background: rgba(0, 123, 255, 0.9);
}

.in-progress .overlay {
    background: rgba(0, 123, 255, 0.85);
}
.in-progress:hover .overlay {
    background: rgba(0, 100, 200, 0.95);
}


.contact-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form-container {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.contact-details {
    padding-top: 20px;
}

.contact-details h3 {
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #0b1a43;
}

.requisites {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
    line-height: 1.8;
}

.contact-details i {
    color: #007bff;
    margin-right: 10px;
}

footer {
    background-color: #0b1a43;
    color: #cfd8dc;
    text-align: center;
    padding: 30px 0;
}

@media (max-width: 992px) {
    section {
        padding: 60px 0;
    }

    .top-bar {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        z-index: 2;
    }
    
    .main-header {
        position: fixed; 
        width: 100%;
        height: 70px;
    }
    
    body { 
        scroll-padding-top: 70px; 
    }
    
    .main-nav { display: none; }
    .header-phone-btn { display: none; }
    .menu-toggle { display: block; }
    
    .main-nav.active {
        display: block;
        position: fixed; 
        width: 100%;
        left: 0;
        top: 70px; 
        background-color: #0b1a43;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
        padding: 10px 0;
        height: calc(100vh - 70px); 
        overflow-y: auto; 
    }
    .main-nav.active .nav-links {
        flex-direction: column;
        align-items: center;
    }
    .main-nav.active .nav-links li {
        margin: 10px 0;
        width: 90%; 
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 5px;
    }
    .main-nav.active .nav-links li:last-child {
        border-bottom: none;
    }
    
    .hero-content h1 {
        font-size: 2.8em; 
    }
    .hero-content .subtitle {
        font-size: 1em;
        margin-bottom: 40px;
    }

    .hero-section {
        height: calc(100vh - 6.709375rem);
        min-height: 65vh;
        padding-top: 180px;
        padding-bottom: 60px;
    }
    
    .advantages-grid, .expertise-cards {
        grid-template-columns: 1fr;
        gap: 20px; 
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-grid {
        gap: 15px;
    }

    .contact-form .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .section-title:after {
        margin: 10px auto 40px;
    }
    
    .hero-content h1 {
        font-size: 2.2em; 
    }
    
    .hero-content .primary-btn {
        padding: 15px 30px;
        font-size: 0.9em;
    }
    
    .logo {
        font-size: 24px;
    }
}