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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Блok 1: Hero Section - Oferta */
.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;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.2em;
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    color: #e8f0fe;
}

.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;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    border: 2px solid transparent;
}

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

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

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

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

.specialist-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #ff6b35;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.specialist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.specialist-card h3 {
    color: #1e3c72;
    font-size: 1.5em;
    margin-bottom: 8px;
    font-weight: 600;
}

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

.specialist-bio {
    color: #555;
    line-height: 1.7;
}

/* Блок отзывов */
.reviews-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 70px 20px;
    color: #ffffff;
}

.reviews-section h2 {
    text-align: center;
    font-size: 2.4em;
    margin-bottom: 50px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

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

.review-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

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

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

/* Formularz opinii */
.review-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.review-form-container h3 {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 25px;
    font-weight: 600;
}

.review-form input,
.review-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1em;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: all 0.3s ease;
}

.review-form input:focus,
.review-form textarea:focus {
    outline: none;
    border-color: #ff6b35;
    background: #ffffff;
}

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

.submit-button {
    width: 100%;
    padding: 15px;
    background-color: #ff6b35;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #ff8555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Newsletter блок */
.newsletter-section {
    background-color: #2d3748;
    padding: 70px 20px;
    color: #ffffff;
}

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

.newsletter-section p {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 35px;
    color: #cbd5e0;
}

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

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

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #ff6b35;
    background-color: #2d3748;
}

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

.subscribe-button {
    padding: 16px 35px;
    background-color: #ff6b35;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.05em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

/* Media блок */
.media-section {
    background-color: #f7fafc;
    padding: 70px 20px;
}

.media-section h2 {
    text-align: center;
    font-size: 2.4em;
    margin-bottom: 30px;
    color: #1e3c72;
    font-weight: 700;
}

.media-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.9;
    color: #4a5568;
    text-align: justify;
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #667eea;
}

/* Services блок */
.services-section {
    background-color: #ffffff;
    padding: 70px 20px;
}

.services-section h2 {
    text-align: center;
    font-size: 2.4em;
    margin-bottom: 50px;
    color: #1e3c72;
    font-weight: 700;
}

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

.service-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 12px;
    border-top: 4px solid #1e3c72;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-top-color: #ff6b35;
}

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

.service-card p {
    color: #555;
    line-height: 1.7;
}

/* Artykuł */
.featured-article {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 45px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 3px solid #fdcb6e;
}

.featured-article h2 {
    color: #2d3436;
    font-size: 2em;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

.featured-article p {
    color: #2d3436;
    font-size: 1.05em;
    line-height: 1.9;
    margin-bottom: 20px;
    text-align: justify;
}

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

/* Location блок */
.location-section {
    background-color: #e9ecef;
    padding: 70px 20px;
}

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

.address {
    text-align: center;
    font-size: 1.15em;
    margin-bottom: 40px;
    line-height: 1.8;
    color: #4a5568;
}

.address strong {
    color: #1e3c72;
    font-size: 1.2em;
}

.map-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    display: block;
}

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

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

.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-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

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

    .specialists-section,
    .reviews-section,
    .newsletter-section,
    .media-section,
    .services-section,
    .location-section {
        padding: 50px 15px;
    }

    .specialists-section h2,
    .reviews-section h2,
    .newsletter-section h2,
    .media-section h2,
    .services-section h2,
    .location-section h2 {
        font-size: 1.8em;
        margin-bottom: 35px;
    }

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

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

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

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

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

    .subscribe-button {
        width: 100%;
    }

    .media-text {
        padding: 25px;
        font-size: 1em;
    }

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

    .featured-article h2 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

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

    .address {
        font-size: 1em;
    }

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

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

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

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

    .specialists-section h2,
    .reviews-section h2,
    .newsletter-section h2,
    .media-section h2,
    .services-section h2,
    .location-section h2 {
        font-size: 1.5em;
    }

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

    .featured-article h2 {
        font-size: 1.3em;
    }

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