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

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

.container {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

/* Блок 1: Hero - Oferta sprzedażowa */
#hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #ffffff;
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

#hero h1 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

#hero h2 {
    font-size: 1.8em;
    margin-bottom: 25px;
    font-weight: 400;
    opacity: 0.95;
}

#hero p {
    font-size: 1.15em;
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Кнопка CTA */
.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background-color: #ff6b35;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

/* Блок Teaching */
#teaching {
    background-color: #ffffff;
    padding: 70px 20px;
    border-bottom: 3px solid #e0e0e0;
}

#teaching h2 {
    font-size: 2.2em;
    color: #1e3c72;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

#teaching p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.9;
    text-align: justify;
    max-width: 900px;
    margin: 0 auto;
}

/* Блок Products */
#products {
    background-color: #f8f9fa;
    padding: 70px 20px;
}

#products h2 {
    font-size: 2.2em;
    color: #1e3c72;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
}

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

.product-item {
    background-color: #ffffff;
    padding: 35px 28px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #ff6b35;
}

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

.product-item h3 {
    font-size: 1.5em;
    color: #1e3c72;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-item p {
    font-size: 1.05em;
    color: #666;
    line-height: 1.7;
}

/* Статья - выделенное оформление */
.article {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 50px 40px;
    border-radius: 15px;
    margin-top: 50px;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

.article h3 {
    font-size: 2em;
    margin-bottom: 25px;
    font-weight: 700;
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 15px;
}

.article p {
    font-size: 1.1em;
    line-height: 1.9;
    margin-bottom: 20px;
    text-align: justify;
}

.article p:last-child {
    margin-bottom: 0;
}

/* Блок Reviews */
#reviews {
    background-color: #ffffff;
    padding: 70px 20px;
}

#reviews h2 {
    font-size: 2.2em;
    color: #1e3c72;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
}

.reviews-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.review-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.review-item:hover {
    border-color: #ff6b35;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.review-item h4 {
    font-size: 1.3em;
    color: #1e3c72;
    margin-bottom: 12px;
    font-weight: 600;
}

.review-item p {
    font-size: 1.05em;
    color: #555;
    line-height: 1.7;
    font-style: italic;
}

/* Форма отзыва */
.review-form-section {
    background-color: #f0f4f8;
    padding: 45px;
    border-radius: 12px;
    margin-top: 40px;
}

.review-form-section h3 {
    font-size: 1.8em;
    color: #1e3c72;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.review-form input[type="text"],
.review-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #d0d0d0;
    border-radius: 8px;
    font-size: 1.05em;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.review-form input[type="text"]:focus,
.review-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

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

.review-form button {
    width: 100%;
    padding: 16px;
    background-color: #1e3c72;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.15em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.review-form button:hover {
    background-color: #2a5298;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

/* Блок Specialists */
#specialists {
    background-color: #2d3e50;
    color: #ffffff;
    padding: 70px 20px;
}

#specialists h2 {
    font-size: 2.2em;
    color: #ffffff;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
}

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

.specialist-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 35px 25px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.specialist-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #ff6b35;
    transform: translateY(-5px);
}

.specialist-item h4 {
    font-size: 1.4em;
    color: #ff6b35;
    margin-bottom: 15px;
    font-weight: 600;
}

.specialist-item p {
    font-size: 1.05em;
    color: #e0e0e0;
    line-height: 1.7;
}

/* Блок Subscribe Form */
#subscribe-form {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #ffffff;
    padding: 70px 20px;
    text-align: center;
}

#subscribe-form h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    font-weight: 700;
}

#subscribe-form p {
    font-size: 1.2em;
    margin-bottom: 35px;
    opacity: 0.95;
}

.subscribe-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.subscribe-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 18px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-family: inherit;
}

.subscribe-form input[type="email"]:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
}

.subscribe-form button {
    padding: 18px 40px;
    background-color: #ffffff;
    color: #11998e;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subscribe-form button:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Блок Contact */
#contact {
    background-color: #ffffff;
    padding: 70px 20px;
}

#contact h2 {
    font-size: 2.2em;
    color: #1e3c72;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

#contact p {
    font-size: 1.2em;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.8;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    display: block;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 30px 20px;
    text-align: center;
}

footer p {
    font-size: 1em;
    opacity: 0.9;
}

.domainName {
    color: #ff6b35;
    font-weight: 600;
}

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

    #hero h2 {
        font-size: 1.3em;
    }

    #hero p {
        font-size: 1em;
    }

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

    #teaching,
    #products,
    #reviews,
    #specialists,
    #subscribe-form,
    #contact {
        padding: 50px 20px;
    }

    #teaching h2,
    #products h2,
    #reviews h2,
    #specialists h2,
    #subscribe-form h2,
    #contact h2 {
        font-size: 1.8em;
        margin-bottom: 35px;
    }

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

    .article {
        padding: 35px 25px;
    }

    .article h3 {
        font-size: 1.6em;
    }

    .article p {
        font-size: 1em;
    }

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

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

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form input[type="email"],
    .subscribe-form button {
        width: 100%;
        min-width: 100%;
    }

    .review-form-section {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 480px) {
    #hero {
        min-height: 400px;
        padding: 40px 15px;
    }

    #hero h1 {
        font-size: 1.6em;
    }

    #hero h2 {
        font-size: 1.1em;
    }

    .container {
        padding: 0 15px;
    }

    .product-item,
    .review-item,
    .specialist-item {
        padding: 25px 20px;
    }

    .article {
        padding: 25px 20px;
    }

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