/* styles.css – Delikatny, profesjonalny styl biznesowy dla WW Finance */
/* Maksymalna szerokość treści: 1090px, centrowanie, kontrast, mobilna responsywność */
/* Bez Google Fonts, bez zewnętrznych zasobów */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2d2d2d;
    scroll-behavior: smooth;
}

body {
    max-width: 1090px;
    margin: 0 auto;
    background-color: #f8f9fa;
    color: #2d2d2d;
}

/* Kontener główny – centrowanie */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

/* === BLOKI – kontrastowe tło === */
.section-offer {
    background: linear-gradient(135deg, #1a3a6e 0%, #0f2b5a 100%);
    color: #ffffff;
    min-height: 470px;
    padding: 60px 0;
    text-align: center;
    display: flex;
    align-items: center;
}

.section-offer h1 {
    font-size: 2.4rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.section-offer p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-offer .btn-primary {
    display: inline-block;
    background-color: #ff6b35;
    color: #ffffff;
    padding: 14px 32px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.section-offer .btn-primary:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

/* Bloki treści – naprzemienne tło */
section:not(.section-offer) {
    padding: 50px 0;
    border-bottom: 1px solid #e2e2e2;
}

section:nth-of-type(odd):not(.section-offer) {
    background-color: #ffffff;
}

section:nth-of-type(even):not(.section-offer) {
    background-color: #f1f3f5;
}

/* Nagłówki */
h2 {
    font-size: 2rem;
    margin-bottom: 1.8rem;
    color: #1a3a6e;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #ff6b35;
    margin: 12px auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.6rem;
    color: #1a3a6e;
    margin-bottom: 1rem;
}

/* === BLOK PRODUKTY === */
.products-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.products-list li {
    background-color: #e7f0ff;
    color: #1a3a6e;
    padding: 14px 20px;
    margin-bottom: 12px;
    border-left: 5px solid #ff6b35;
    border-radius: 0 6px 6px 0;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.products-list li:hover {
    transform: translateX(5px);
}

/* === ARTYKUŁ – wyróżnienie === */
.article-tips {
    background-color: #fff9f0;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #ffe0b3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-top: 2rem;
}

.article-tips h3 {
    color: #d35400;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.article-tips p {
    margin-bottom: 1rem;
    font-size: 1.02rem;
    text-align: justify;
}

.article-tips p strong {
    color: #e67e22;
}

/* === FORMY === */
.section-form,
.section-leave-review {
    background-color: #ffffff;
    padding: 50px 0;
}

form {
    max-width: 520px;
    margin: 0 auto;
    background-color: #f9fafa;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border: 1px solid #eaeaea;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a3a6e;
}

form input[type="email"],
form input[type="text"],
form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s ease;
    margin-bottom: 16px;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

form button,
.btn-submit {
    background-color: #1a3a6e;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(26, 58, 110, 0.3);
}

form button:hover,
.btn-submit:hover {
    background-color: #0f2b5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(26, 58, 110, 0.4);
}

/* === OPINIE === */
.review {
    background-color: #ffffff;
    padding: 18px 22px;
    margin-bottom: 16px;
    border-radius: 10px;
    border-left: 4px solid #ff6b35;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    font-style: italic;
}

.review strong {
    display: block;
    color: #1a3a6e;
    font-style: normal;
    margin-bottom: 6px;
    font-weight: 600;
}

/* === SPECJALIŚCI === */
.experts-list {
    list-style: none;
}

.experts-list li {
    background-color: #e6f0ff;
    padding: 16px 20px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px dashed #a3cfff;
    font-weight: 500;
    color: #1a3a6e;
}

/* === KONTAKT I MAPA === */
.section-contact p {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #2d2d2d;
}

iframe {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    margin-top: 1rem;
}

/* === STOPKA === */
.footer {
    background-color: #1a1a1a;
    color: #cccccc;
    text-align: center;
    padding: 25px 0;
    font-size: 0.95rem;
    margin-top: 2rem;
}

.footer p {
    margin: 0;
}

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

/* === RESPONSIVE – MOBILE === */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section-offer {
        min-height: 420px;
        padding: 50px 0;
    }

    .section-offer h1 {
        font-size: 2rem;
    }

    .section-offer p {
        font-size: 1.05rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .container {
        width: 95%;
    }

    .products-list li,
    .experts-list li,
    .review {
        padding: 14px 16px;
    }

    form {
        padding: 20px;
    }

    .article-tips {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .section-offer {
        min-height: 380px;
        padding: 40px 0;
    }

    .section-offer h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn-primary,
    form button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}
