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

body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6;
    color: #2c1810;
    background-color: #f5f0eb;
    max-width: 1090px;
    margin: 0 auto;
}

.container {
    padding: 40px 20px;
}

/* Заголовки */
h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #3d2817;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 2.2em;
    margin-bottom: 25px;
    color: #4a3426;
    border-bottom: 3px solid #8b6f47;
    padding-bottom: 10px;
}

h3 {
    font-size: 1.5em;
    margin-bottom: 12px;
    color: #5d4230;
}

p {
    margin-bottom: 15px;
}

/* Блок 1: Hero - Кофейная тема */
#hero {
    background: linear-gradient(135deg, #6f4e37 0%, #8b6f47 50%, #a0826d 100%);
    color: #fff;
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.3);
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(139, 111, 71, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(111, 78, 55, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

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

#hero h1 {
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    font-size: 3em;
}

#hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Кнопка CTA */
.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(145deg, #d4a574, #c19a6b);
    color: #2c1810;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 3px solid #8b6f47;
    margin-top: 20px;
}

.cta-button:hover {
    background: linear-gradient(145deg, #e0b686, #d4a574);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Блок специалистов - Светлый кремовый */
#specialists {
    background-color: #f5f0eb;
    color: #2c1810;
}

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

.specialist-card {
    background: linear-gradient(135deg, #fff8f0 0%, #f0e6dc 100%);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(111, 78, 55, 0.2);
    border: 2px solid #d4a574;
    transition: transform 0.3s ease;
}

.specialist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(111, 78, 55, 0.3);
}

.specialist-card .role {
    color: #8b6f47;
    font-style: italic;
    font-size: 1.1em;
    margin-bottom: 10px;
}

/* Блок отзывов - Темный шоколадный */
#reviews {
    background: linear-gradient(135deg, #4a3426 0%, #5d4230 100%);
    color: #f5f0eb;
}

#reviews h2 {
    color: #d4a574;
    border-bottom-color: #c19a6b;
}

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

.review-card {
    background: rgba(255, 248, 240, 0.1);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #d4a574;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.review-text {
    font-style: italic;
    font-size: 1.05em;
    margin-bottom: 15px;
    color: #f5f0eb;
}

.review-author {
    text-align: right;
    color: #d4a574;
    font-weight: bold;
}

/* Блок продуктов и статьи - Светлый бежевый */
#products {
    background-color: #e8dfd6;
    color: #2c1810;
}

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

.product-card {
    background: linear-gradient(135deg, #fff 0%, #f5f0eb 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(111, 78, 55, 0.15);
    border-top: 4px solid #8b6f47;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(111, 78, 55, 0.25);
    border-top-color: #6f4e37;
}

/* Статья - Выделенный блок */
.article {
    background: linear-gradient(145deg, #6f4e37, #5d4230);
    color: #f5f0eb;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    margin-top: 40px;
    border: 3px solid #8b6f47;
}

.article h2 {
    color: #d4a574;
    border-bottom: 3px solid #c19a6b;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.article p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 18px;
}

.article strong {
    color: #d4a574;
}

/* Блок обучения - Золотисто-коричневый */
#teaching {
    background: linear-gradient(135deg, #a0826d 0%, #8b6f47 100%);
    color: #fff;
}

#teaching h2 {
    color: #fff;
    border-bottom-color: #f5f0eb;
}

#teaching p {
    font-size: 1.1em;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Блок формы отзыва - Кремовый */
#leave-review {
    background-color: #f9f5f0;
    color: #2c1810;
}

.review-form {
    max-width: 600px;
    margin: 30px auto 0;
}

.review-form input,
.review-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #8b6f47;
    border-radius: 10px;
    font-size: 1.1em;
    font-family: Georgia, serif;
    background-color: #fff;
    color: #2c1810;
    transition: border-color 0.3s ease;
}

.review-form input:focus,
.review-form textarea:focus {
    outline: none;
    border-color: #6f4e37;
    box-shadow: 0 0 10px rgba(111, 78, 55, 0.3);
}

.review-form button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(145deg, #6f4e37, #5d4230);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(111, 78, 55, 0.3);
}

.review-form button:hover {
    background: linear-gradient(145deg, #5d4230, #4a3426);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(111, 78, 55, 0.4);
}

/* Блок формы подписки - Темный кофейный */
#formularz {
    background: linear-gradient(135deg, #3d2817 0%, #2c1810 100%);
    color: #f5f0eb;
}

#formularz h2 {
    color: #d4a574;
    border-bottom-color: #8b6f47;
}

#formularz p {
    font-size: 1.15em;
    color: #e8dfd6;
}

.subscription-form {
    max-width: 600px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.subscription-form input[type="email"] {
    width: 100%;
    padding: 18px;
    border: 2px solid #8b6f47;
    border-radius: 10px;
    font-size: 1.1em;
    font-family: Georgia, serif;
    background-color: #f5f0eb;
    color: #2c1810;
}

.subscription-form input[type="email"]:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 15px rgba(212, 165, 116, 0.5);
}

.subscription-form button {
    padding: 18px;
    background: linear-gradient(145deg, #d4a574, #c19a6b);
    color: #2c1810;
    border: none;
    border-radius: 10px;
    font-size: 1.3em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.subscription-form button:hover {
    background: linear-gradient(145deg, #e0b686, #d4a574);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.5);
}

/* Блок локации - Светлый */
#location {
    background-color: #f5f0eb;
    color: #2c1810;
}

#location p {
    font-size: 1.15em;
    margin-bottom: 25px;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(111, 78, 55, 0.3);
    border: 3px solid #8b6f47;
}

.map-container iframe {
    display: block;
}

/* Footer - Темный кофейный */
footer {
    background: linear-gradient(135deg, #2c1810 0%, #1a0f0a 100%);
    color: #d4a574;
    text-align: center;
    padding: 30px 20px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

footer p {
    margin: 0;
    font-size: 1em;
}

.domainName {
    color: #c19a6b;
}

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

    .container {
        padding: 30px 15px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.7em;
    }

    h3 {
        font-size: 1.3em;
    }

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

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

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

    .cta-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }

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

    .article {
        padding: 25px 20px;
    }

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

    .subscription-form,
    .review-form {
        padding: 0 10px;
    }

    .subscription-form input[type="email"],
    .subscription-form button,
    .review-form input,
    .review-form textarea,
    .review-form button {
        font-size: 1em;
        padding: 12px;
    }

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

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

    h2 {
        font-size: 1.4em;
    }

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

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

    .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

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

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