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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
}

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

/* Блок 1: Hero секция */
.hero-section {
    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-section h1 {
    font-size: 2.8em;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

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

.cta-button {
    display: inline-block;
    background-color: #ff6b35;
    color: #ffffff;
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 20px;
    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);
}

/* Блок 2: Newsletter форма */
.newsletter-section {
    background-color: #ffffff;
    padding: 70px 20px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.newsletter-section h2 {
    font-size: 2.2em;
    color: #1e3c72;
    margin-bottom: 15px;
    font-weight: 700;
}

.newsletter-section p {
    font-size: 1.1em;
    color: #5a6c7d;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 16px 20px;
    border: 2px solid #d1d8e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.subscribe-button {
    padding: 16px 40px;
    background-color: #27ae60;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subscribe-button:hover {
    background-color: #229954;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

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

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

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

.product-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #2a5298;
}

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

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

.product-item p {
    color: #5a6c7d;
    line-height: 1.7;
}

/* Стили для статьи */
.finance-article {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    border-top: 5px solid #ff6b35;
}

.finance-article h2 {
    font-size: 2em;
    color: #1e3c72;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: left;
}

.finance-article p {
    color: #2c3e50;
    margin-bottom: 18px;
    line-height: 1.8;
    font-size: 1.05em;
}

.finance-article strong {
    color: #1e3c72;
    font-weight: 600;
}

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

.specialists-section h2 {
    font-size: 2.2em;
    color: #1e3c72;
    margin-bottom: 45px;
    text-align: center;
    font-weight: 700;
}

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

.specialist-item {
    background-color: #f8f9fa;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e8ecef;
}

.specialist-item:hover {
    border-color: #2a5298;
    box-shadow: 0 6px 20px rgba(42, 82, 152, 0.15);
}

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

.specialist-item p {
    color: #5a6c7d;
    line-height: 1.7;
}

/* Блок 4.1: Медиа упоминания */
.media-mentions-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 70px 20px;
}

.media-mentions-section h2 {
    font-size: 2.2em;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

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

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

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

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

.review-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    border-left: 4px solid #27ae60;
}

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

.review-item p {
    color: #5a6c7d;
    line-height: 1.7;
    font-style: italic;
}

/* Блок 5.2: Оставить отзыв */
.leave-review-section {
    background-color: #ffffff;
    padding: 70px 20px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.leave-review-section h2 {
    font-size: 2.2em;
    color: #1e3c72;
    margin-bottom: 15px;
    font-weight: 700;
}

.leave-review-section > p {
    font-size: 1.1em;
    color: #5a6c7d;
    margin-bottom: 35px;
}

.review-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-form input[type="text"],
.review-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #d1d8e0;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s ease;
}

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

.review-form input[type="text"]:focus,
.review-form textarea:focus {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.submit-button {
    padding: 16px 40px;
    background-color: #ff6b35;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: center;
}

.submit-button:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

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

.location-section h2 {
    font-size: 2.2em;
    color: #1e3c72;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.location-section p {
    text-align: center;
    font-size: 1.1em;
    color: #5a6c7d;
    margin-bottom: 40px;
    line-height: 1.8;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
}

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

.footer-section p {
    font-size: 0.95em;
    opacity: 0.9;
}

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

/* Мобильная версия */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
        padding: 40px 20px;
    }

    .hero-section h1 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .hero-section p {
        font-size: 1em;
        margin-bottom: 15px;
    }

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

    .newsletter-section,
    .products-section,
    .specialists-section,
    .media-mentions-section,
    .reviews-section,
    .leave-review-section,
    .location-section {
        padding: 50px 15px;
    }

    .newsletter-section h2,
    .products-section h2,
    .specialists-section h2,
    .media-mentions-section h2,
    .reviews-section h2,
    .leave-review-section h2,
    .location-section h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

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

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

    .subscribe-button,
    .submit-button {
        width: 100%;
        padding: 15px 30px;
    }

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

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

    .finance-article h2 {
        font-size: 1.6em;
        margin-bottom: 20px;
    }

    .finance-article p {
        font-size: 1em;
        margin-bottom: 15px;
    }

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

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

    .footer-section {
        padding: 30px 15px;
    }

    .footer-section p {
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.5em;
    }

    .hero-section p {
        font-size: 0.95em;
    }

    .cta-button {
        padding: 12px 28px;
        font-size: 0.95em;
    }

    .newsletter-section h2,
    .products-section h2,
    .specialists-section h2,
    .media-mentions-section h2,
    .reviews-section h2,
    .leave-review-section h2,
    .location-section h2 {
        font-size: 1.5em;
    }

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

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

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