/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* Заголовок и навигация */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(33, 62, 74, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.logo-icon img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.logo-icon:hover img {
    transform: scale(1.1);
}


.logo-text h1 {
    font-size: 28px;
    font-weight: 700;
    color: #213E4A;
    line-height: 1;
}

.logo-text p {
    font-size: 10px;
    font-weight: 500;
    color: #213E4A;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-top: 2px;
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #213E4A;
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover {
    color: #2a4f5f;
}


/* Главная секция */
.hero {
    background: white;
    padding: 60px 0;
    text-align: center;
    margin-top: 70px;
}

.hero-logo {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.hero-logo-img {
    width: 360px;
    height: 180px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.05);
}



.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #213E4A;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: #213E4A;
    color: white;
}

.btn-primary:hover {
    background: #2a4f5f;
}

.btn-secondary {
    background: transparent;
    color: #213E4A;
    border: 2px solid #213E4A;
}

.btn-secondary:hover {
    background: #213E4A;
    color: white;
}

/* Секции */
section {
    padding: 60px 0;
    background: white;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #213E4A;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #213E4A;
}

/* О компании */

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

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #213E4A;
    margin-bottom: 8px;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Услуги */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(33, 62, 74, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(33, 62, 74, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #213E4A;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Контакты */

.contact-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: nowrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    background: #f8f9fa;
    padding: 15px 12px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(33, 62, 74, 0.1);
    border-color: #213E4A;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #213E4A;
    margin-bottom: 8px;
}

.contact-details p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

.contact-details a {
    color: #213E4A;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.contact-details a:hover {
    color: #2a4f5f;
    text-decoration: underline;
}


/* Футер */
.footer {
    background: #213E4A;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo .logo-text h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-logo .logo-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
    letter-spacing: 0.5px;
}

.footer-logo .logo-icon {
    background: white;
    border-radius: 8px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo .logo-icon img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.footer-logo .logo-icon:hover img {
    transform: scale(1.1);
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}

/* Адаптивный дизайн */
@media (max-width: 768px) {
    .header {
        position: relative;
    }
    
    .hero {
        margin-top: 0;
    }
    
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .nav-menu {
        margin-top: 20px;
        gap: 20px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-logo-img {
        width: 240px;
        height: 120px;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        max-width: 100%;
        padding: 0 10px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        flex-direction: column;
        gap: 20px;
        padding: 0 10px;
    }
    
    .contact-item {
        min-width: 0;
        flex: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .contact-icon {
        font-size: 1.5rem;
    }
    
    .contact-details h3 {
        font-size: 1rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 30px 0;
    }

    .hero-logo-img {
        width: 200px;
        height: 100px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 30px;
        padding: 0 5px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .service-card {
        padding: 25px 15px;
    }
    
    .contact-content {
        gap: 8px;
        padding: 0 5px;
    }
    
    .contact-item {
        padding: 20px 10px;
    }
    
    .contact-icon {
        font-size: 1.5rem;
    }
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}


/* Дополнительные стили для улучшения UX */
.btn:focus {
    outline: 2px solid #213E4A;
    outline-offset: 2px;
}

input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(33, 62, 74, 0.1);
}

/* Стили для мобильного меню (если понадобится) */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}
