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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    max-width: 1090px;
    margin: 0 auto;
    background-color: #0a0e27;
}

.container {
    padding: 0 20px;
}

/* Стиль авиастроения - геометрические формы и технические линии */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

h2 {
    font-size: 2em;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #0066cc);
}

h3 {
    font-size: 1.3em;
    margin-bottom: 12px;
    color: #00d4ff;
}

/* Блок 1: Hero Section - стиль кабины пилота */
.hero-section {
    background: linear-gradient(135deg, #0a0e27 0%, #1a237e 50%, #283593 100%);
    color: #ffffff;
    min-height: 470px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 212, 255, 0.03) 2px, rgba(0, 212, 255, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 212, 255, 0.03) 2px, rgba(0, 212, 255, 0.03) 4px);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.hero-section h2 {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1em;
    margin-bottom: 35px;
    max-width: 700px;
    line-height: 1.8;
    color: #e3f2fd;
}

/* Кнопка CTA - стиль приборной панели */
.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, #00d4ff 0%, #0066cc 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid #00d4ff;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 25px rgba(0, 212, 255, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(0, 212, 255, 0.5);
}

.cta-button:hover::before {
    left: 100%;
}

/* Блок специалистов - технический чертеж */
.specialists-section {
    background-color: #f5f5f5;
    padding: 70px 0;
    position: relative;
}

.specialists-section h2 {
    color: #1a237e;
    text-align: center;
}

.specialists-section h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.specialists-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.specialist-card {
    background: #ffffff;
    padding: 30px;
    border-left: 4px solid #00d4ff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.specialist-card::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
}

.specialist-card:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.2);
    border-left-color: #0066cc;
}

.specialist-role {
    color: #0066cc;
    font-weight: 600;
    font-size: 0.95em;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.specialist-bio {
    color: #424242;
    font-size: 0.95em;
    line-height: 1.7;
}

/* Блок отзывов - аэродинамические линии */
.reviews-section {
    background: linear-gradient(135deg, #263238 0%, #37474f 100%);
    padding: 70px 0;
    color: #ffffff;
}

.reviews-section h2,
.reviews-section h3 {
    color: #00d4ff;
    text-align: center;
}

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

.review-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 4em;
    color: #00d4ff;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.review-card:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
    transform: translateY(-5px);
}

.review-text {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.7;
    color: #eceff1;
}

.review-author {
    text-align: right;
    color: #00d4ff;
    font-weight: 600;
}

/* Форма отзывов */
.review-form-section {
    margin-top: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.review-form-section h3 {
    text-align: center;
    margin-bottom: 30px;
}

/* Блок продуктов и статьи */
.products-section {
    background-color: #ffffff;
    padding: 70px 0;
}

.products-section h2 {
    color: #1a237e;
    text-align: center;
}

.products-section h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    padding: 30px;
    border: 2px solid #bdbdbd;
    position: relative;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.product-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: #00d4ff;
}

.product-card:hover {
    border-color: #00d4ff;
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
}

.product-card h3 {
    color: #1a237e;
    margin-bottom: 15px;
}

.product-card p {
    color: #424242;
    margin-bottom: 20px;
    line-height: 1.7;
}

.price {
    font-weight: 700;
    color: #0066cc;
    font-size: 1.1em;
}

.price-value {
    color: #00d4ff;
}

/* Статья - выделенный блок */
.blog-article {
    margin-top: 70px;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    padding: 50px;
    color: #ffffff;
    border: 3px solid #00d4ff;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 102, 204, 0.3);
}

.blog-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #00d4ff, #0066cc, #00d4ff);
}

.blog-article h2 {
    color: #00d4ff;
    margin-bottom: 30px;
    font-size: 1.8em;
}

.blog-article h2::after {
    background: linear-gradient(90deg, #ffffff, #00d4ff);
}

.blog-article p {
    margin-bottom: 20px;
    line-height: 1.9;
    font-size: 1.05em;
    color: #e3f2fd;
}

/* Блок деятельности */
.teaching-section {
    background: linear-gradient(135deg, #eceff1 0%, #cfd8dc 100%);
    padding: 70px 0;
}

.teaching-section h2 {
    color: #1a237e;
    text-align: center;
}

.teaching-section h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.teaching-content {
    max-width: 900px;
    margin: 40px auto 0;
    font-size: 1.05em;
    line-height: 1.9;
    color: #263238;
    text-align: justify;
    background: #ffffff;
    padding: 35px;
    border-left: 5px solid #00d4ff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Блок newsletter - технологичная форма */
.newsletter-section {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
    padding: 70px 0;
    color: #ffffff;
}

.newsletter-section h2 {
    color: #00d4ff;
    text-align: center;
}

.newsletter-section h2::after {
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #ffffff, #00d4ff);
}

.newsletter-section > .container > p {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #e3f2fd;
}

/* Стили форм */
.newsletter-form,
.review-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9em;
    color: #00d4ff;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Кнопки отправки форм */
.submit-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #00d4ff 0%, #0066cc 100%);
    color: #ffffff;
    border: 2px solid #00d4ff;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.submit-button:hover::before {
    width: 400px;
    height: 400px;
}

.submit-button:active {
    transform: translateY(0);
}

/* Блок контактов и карты */
.contact-section {
    background-color: #f5f5f5;
    padding: 70px 0;
}

.contact-section h2 {
    color: #1a237e;
    text-align: center;
}

.contact-section h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.address {
    text-align: center;
    font-size: 1.3em;
    color: #0066cc;
    font-weight: 600;
    margin: 30px 0 40px;
    letter-spacing: 0.5px;
}

.map-container {
    max-width: 100%;
    overflow: hidden;
    border: 3px solid #00d4ff;
    box-shadow: 0 5px 25px rgba(0, 102, 204, 0.2);
}

.map-container iframe {
    display: block;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a0e27 0%, #1a237e 100%);
    color: #ffffff;
    padding: 30px 0;
    text-align: center;
    border-top: 3px solid #00d4ff;
}

.footer p {
    font-size: 0.95em;
    letter-spacing: 0.5px;
}

.domainName {
    color: #00d4ff;
}

/* Мобильная версия */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.1em;
    }

    .hero-section {
        min-height: 470px;
        padding: 40px 0;
    }

    .hero-section h2 {
        font-size: 1.2em;
    }

    .hero-description {
        font-size: 1em;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 1em;
    }

    .specialists-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-article {
        padding: 30px 20px;
    }

    .blog-article h2 {
        font-size: 1.4em;
    }

    .teaching-content {
        padding: 25px;
    }

    .review-form-section {
        padding: 25px;
    }

    .container {
        padding: 0 15px;
    }

    .specialists-section,
    .reviews-section,
    .products-section,
    .teaching-section,
    .newsletter-section,
    .contact-section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.6em;
    }

    h2 {
        font-size: 1.3em;
    }

    .hero-section {
        min-height: 470px;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 0.95em;
        letter-spacing: 1px;
    }

    .specialist-card,
    .product-card {
        padding: 20px;
    }

    .blog-article {
        padding: 20px 15px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group textarea {
        padding: 12px;
    }

    .submit-button {
        padding: 14px;
        font-size: 1em;
    }

    .address {
        font-size: 1.1em;
    }
}
