/* Импорт шрифтов Google Fonts в парижском стиле */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Montserrat:wght@300;400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    max-width: 1090px;
    margin: 0 auto;
    background-color: #f8f5f0;
}

.container {
    padding: 60px 30px;
}

/* Заголовки в парижском стиле */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 3px;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #1a1a1a;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f4e5c3, #d4af37);
}

h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #2c2c2c;
}

h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-style: italic;
}

p {
    margin-bottom: 15px;
    font-size: 1.05em;
}

/* Блок 1: Офerta - Парижский шик с золотом */
#oferta {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
    color: #f8f5f0;
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#oferta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(212, 175, 55, 0.03) 35px, rgba(212, 175, 55, 0.03) 70px);
    pointer-events: none;
}

#oferta .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

#oferta h1 {
    color: #d4af37;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 3.8em;
    letter-spacing: 5px;
    text-align: center;
}

#oferta h2 {
    color: #f8f5f0;
    font-size: 2em;
    margin-bottom: 25px;
    font-weight: 400;
    text-align: center;
}

#oferta h2::after {
    background: linear-gradient(90deg, #d4af37, #f8f5f0, #d4af37);
}

#oferta p {
    font-size: 1.15em;
    max-width: 800px;
    margin: 0 auto 20px;
    color: #e8e8e8;
    font-weight: 300;
    text-align: center;
}

/* Кнопка CTA в парижском стиле */
.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #d4af37 0%, #f4e5c3 50%, #d4af37 100%);
    color: #1a1a1a;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 3px solid #d4af37;
    border-radius: 0;
    margin-top: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #f4e5c3 0%, #d4af37 50%, #f4e5c3 100%);
}

/* Блок специалистов - Кремовый элегантный */
#specjalisci {
    background-color: #f8f5f0;
    color: #2c2c2c;
}

#specjalisci h2 {
    color: #1a1a1a;
}

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

.specialist-item {
    background: #ffffff;
    padding: 30px;
    border: 1px solid #d4af37;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.specialist-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f4e5c3);
}

.specialist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.specialist-item h3 {
    color: #1a1a1a;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.specialist-item p {
    font-size: 1em;
    color: #4a4a4a;
    line-height: 1.7;
}

/* Блок отзывов - Темный бордовый парижский */
#opinie {
    background: linear-gradient(135deg, #4a1e1e 0%, #6b2d2d 50%, #4a1e1e 100%);
    color: #f8f5f0;
}

#opinie h2 {
    color: #f8f5f0;
}

#opinie h2::after {
    background: linear-gradient(90deg, #d4af37, #f8f5f0, #d4af37);
}

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

.review-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-left: 4px solid #d4af37;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.review-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.review-item h4 {
    color: #d4af37;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3em;
    margin-bottom: 12px;
}

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

/* Блок деятельности - Золотой акцент */
#dzialalnosc {
    background: #2c2c2c;
    color: #f8f5f0;
}

#dzialalnosc h2 {
    color: #d4af37;
}

#dzialalnosc h2::after {
    background: linear-gradient(90deg, #d4af37, #f4e5c3, #d4af37);
}

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

/* Блок продуктов - Светлый роскошный */
#produkty {
    background-color: #ffffff;
    color: #2c2c2c;
}

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

.product-item {
    background: linear-gradient(135deg, #f8f5f0 0%, #ffffff 100%);
    padding: 35px 25px;
    border: 2px solid #d4af37;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    transition: all 0.5s ease;
}

.product-item:hover::before {
    top: -25%;
    right: -25%;
}

.product-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.product-item h3 {
    color: #1a1a1a;
    font-size: 1.5em;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.product-item p {
    color: #4a4a4a;
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.price {
    font-family: 'Playfair Display', serif;
    font-size: 2.2em !important;
    font-weight: 700;
    color: #d4af37 !important;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

/* Стилизация статьи - Выделенный блок */
.financial-article {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: #f8f5f0;
    padding: 50px 40px;
    margin-top: 60px;
    border-top: 5px solid #d4af37;
    border-bottom: 5px solid #d4af37;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.financial-article::before {
    content: '✦';
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 3em;
    color: #d4af37;
    opacity: 0.3;
}

.financial-article::after {
    content: '✦';
    position: absolute;
    bottom: 20px;
    right: 40px;
    font-size: 3em;
    color: #d4af37;
    opacity: 0.3;
}

.financial-article h2 {
    color: #d4af37;
    font-size: 2.2em;
    text-align: left;
    margin-bottom: 30px;
    text-transform: none;
}

.financial-article h2::after {
    left: 0;
    transform: translateX(0);
}

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

/* Блок формы - Элегантный кремовый */
#formularz {
    background: linear-gradient(135deg, #f4e5c3 0%, #f8f5f0 50%, #f4e5c3 100%);
    color: #2c2c2c;
}

#formularz h2 {
    color: #1a1a1a;
}

#formularz p {
    text-align: center;
    font-size: 1.15em;
    color: #4a4a4a;
    max-width: 600px;
    margin: 0 auto 30px;
}

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

input[type="email"] {
    padding: 18px 25px;
    font-size: 1.1em;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid #d4af37;
    background-color: #ffffff;
    color: #2c2c2c;
    transition: all 0.3s ease;
    outline: none;
}

input[type="email"]:focus {
    border-color: #1a1a1a;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

input[type="email"]::placeholder {
    color: #999;
    font-style: italic;
}

button[type="submit"] {
    padding: 18px 40px;
    font-size: 1.15em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: #d4af37;
    border: 2px solid #d4af37;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

button[type="submit"]:hover::before {
    width: 300px;
    height: 300px;
}

button[type="submit"]:hover {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #f4e5c3;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* Блок контактов - Темный элегантный */
#kontakt {
    background-color: #2c2c2c;
    color: #f8f5f0;
}

#kontakt h2 {
    color: #d4af37;
}

#kontakt h2::after {
    background: linear-gradient(90deg, #d4af37, #f4e5c3, #d4af37);
}

#kontakt p {
    text-align: center;
    font-size: 1.15em;
    color: #e8e8e8;
    margin-bottom: 10px;
}

.domainName {
    color: #d4af37;
    font-weight: 500;
}

.map-container {
    margin-top: 40px;
    border: 5px solid #d4af37;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.map-container iframe {
    display: block;
}

/* Footer - Роскошный темный */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    color: #d4af37;
    text-align: center;
    padding: 40px 30px;
    border-top: 3px solid #d4af37;
}

footer p {
    margin-bottom: 8px;
    font-size: 1em;
    letter-spacing: 1px;
}

footer .domainName {
    color: #f4e5c3;
}

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

    h1 {
        font-size: 2.2em;
        letter-spacing: 2px;
    }

    h2 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    h3 {
        font-size: 1.3em;
    }

    #oferta {
        min-height: 470px;
        padding: 30px 0;
    }

    #oferta h1 {
        font-size: 2.5em;
        letter-spacing: 3px;
    }

    #oferta h2 {
        font-size: 1.5em;
    }

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

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

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

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

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

    .financial-article::before,
    .financial-article::after {
        font-size: 2em;
    }

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

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

    form {
        padding: 0 10px;
    }

    input[type="email"],
    button[type="submit"] {
        padding: 15px 20px;
        font-size: 1em;
    }

    .price {
        font-size: 1.8em !important;
    }

    .map-container {
        border-width: 3px;
    }

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

    footer {
        padding: 30px 20px;
    }
}

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

    h2 {
        font-size: 1.5em;
    }

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

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

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

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