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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #f5f7fa;
}

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

/* Блок 1: Hero секция (офер) */
#hero {
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    color: #ffffff;
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

#hero h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#hero p {
    font-size: 1.2em;
    margin-bottom: 15px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#hero .cta-button {
    display: inline-block;
    background-color: #00cc66;
    color: #ffffff;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 204, 102, 0.3);
    border: 2px solid transparent;
}

#hero .cta-button:hover {
    background-color: #00b359;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 204, 102, 0.4);
}

/* Блок 4: Специалисты */
#specialists {
    background-color: #ffffff;
    padding: 70px 20px;
}

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

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

.specialist-card {
    background-color: #f8f9fb;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e1e8ed;
    transition: all 0.3s ease;
}

.specialist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
    border-color: #0066cc;
}

.specialist-card h3 {
    color: #0066cc;
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 600;
}

.specialist-card .title {
    color: #00cc66;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.specialist-card p {
    color: #4a5568;
    line-height: 1.7;
}

/* Блок 5: Отзывы */
#reviews {
    background-color: #f0f4f8;
    padding: 70px 20px;
}

#reviews h2 {
    text-align: center;
    font-size: 2.4em;
    color: #0066cc;
    margin-bottom: 50px;
    font-weight: 700;
}

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

.review-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #00cc66;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.review-text {
    color: #2d3748;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 1.05em;
}

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

/* Блок 5.2: Оставить отзыв */
#leave-review {
    background-color: #1a1a2e;
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

#leave-review h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #ffffff;
}

#leave-review p {
    font-size: 1.15em;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.review-button {
    display: inline-block;
    background-color: #00cc66;
    color: #ffffff;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #00cc66;
}

.review-button:hover {
    background-color: transparent;
    color: #00cc66;
    transform: translateY(-2px);
}

/* Блок 3: Продукты и статья */
#products {
    background-color: #ffffff;
    padding: 70px 20px;
}

#products h2 {
    text-align: center;
    font-size: 2.4em;
    color: #0066cc;
    margin-bottom: 50px;
    font-weight: 700;
}

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

.product-card {
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
    padding: 35px;
    border-radius: 12px;
    border: 2px solid #e1e8ed;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0066cc 0%, #00cc66 100%);
}

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

.product-card h3 {
    color: #0066cc;
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-card p {
    color: #4a5568;
    line-height: 1.8;
}

/* Стили для статьи */
.financial-article {
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    color: #ffffff;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 102, 204, 0.3);
    margin-top: 50px;
}

.financial-article h2 {
    font-size: 2.2em;
    margin-bottom: 25px;
    color: #ffffff;
    font-weight: 700;
    border-bottom: 3px solid #00cc66;
    padding-bottom: 15px;
}

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

/* Блок 4.1: Деятельность и СМИ */
#media-mentions {
    background-color: #f0f4f8;
    padding: 70px 20px;
}

#media-mentions h2 {
    text-align: center;
    font-size: 2.4em;
    color: #0066cc;
    margin-bottom: 30px;
    font-weight: 700;
}

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

/* Блок 2: Форма подписки */
#newsletter {
    background: linear-gradient(135deg, #00cc66 0%, #009955 100%);
    color: #ffffff;
    padding: 70px 20px;
    text-align: center;
}

#newsletter h2 {
    font-size: 2.4em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 700;
}

#newsletter p {
    font-size: 1.15em;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 16px 20px;
    border: 2px solid #ffffff;
    border-radius: 8px;
    font-size: 1.05em;
    background-color: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.newsletter-form input[type="email"]::placeholder {
    color: #718096;
}

.subscribe-button {
    padding: 16px 40px;
    background-color: #0066cc;
    color: #ffffff;
    border: 2px solid #0066cc;
    border-radius: 8px;
    font-size: 1.05em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-button:hover {
    background-color: #004d99;
    border-color: #004d99;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4);
}

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

/* Блок 6: Локация и карта */
#location {
    background-color: #ffffff;
    padding: 70px 20px;
}

#location h2 {
    text-align: center;
    font-size: 2.4em;
    color: #0066cc;
    margin-bottom: 30px;
    font-weight: 700;
}

.address {
    text-align: center;
    font-size: 1.3em;
    color: #2d3748;
    margin-bottom: 35px;
    font-weight: 500;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid #e1e8ed;
}

.map-container iframe {
    display: block;
}

/* Блок 7: Footer */
footer {
    background-color: #1a1a2e;
    color: #ffffff;
    padding: 30px 20px;
    text-align: center;
}

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

footer .domainName {
    color: #00cc66;
    font-weight: 600;
}

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

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

    #hero .cta-button {
        padding: 14px 30px;
        font-size: 1em;
    }

    h2 {
        font-size: 1.8em !important;
    }

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

    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }

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

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

    .financial-article h2 {
        font-size: 1.6em;
    }

    .financial-article p {
        font-size: 1em;
        text-align: left;
    }

    #media-mentions p {
        text-align: left;
        font-size: 1em;
    }

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

    #hero {
        min-height: 470px;
        padding: 40px 20px;
    }

    .map-container iframe {
        height: 300px;
    }
}

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

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

    h2 {
        font-size: 1.5em !important;
    }

    .specialist-card h3,
    .product-card h3 {
        font-size: 1.3em;
    }

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

    #hero .cta-button {
        padding: 12px 25px;
        font-size: 0.95em;
    }

    .subscribe-button,
    .review-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}

/* Дополнительные улучшения */
section {
    scroll-margin-top: 20px;
}

button,
input,
a {
    -webkit-tap-highlight-color: transparent;
}

input[type="email"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
