/* === Reset i podstawy === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2d2d2d;
    scroll-behavior: smooth;
}

body {
    max-width: 1090px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 0 15px;
}

/* === Kontener główny === */
.container {
    width: 100%;
    max-width: 1090px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Kolorystyka – styl "Online Księgowość" === */
:root {
    --primary: #1a5bb8;      /* głęboki niebieski – zaufanie, profesjonalizm */
    --accent: #00c48c;       /* żywy zielony – finanse, wzrost */
    --dark: #1e293b;        /* ciemny grafit – nagłówki */
    --light: #f1f5f9;       /* jasne tło */
    --gray: #64748b;        /* tekst pomocniczy */
    --border: #e2e8f0;
    --success: #10b981;
    --danger: #ef4444;
}

/* === Blok 1: Oferta (hero) === */
.block.oferta {
    min-height: 470px;
    background: linear-gradient(135deg, var(--primary) 0%, #0f4a9e 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 60px 0;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(26, 91, 184, 0.2);
}

.block.oferta h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.block.oferta p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.block.oferta strong {
    color: var(--accent);
}

.block.oferta em {
    font-style: italic;
    color: #c0e4ff;
}

/* Przycisk w hero */
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 196, 140, 0.3);
    margin-top: 10px;
}

.btn-primary:hover {
    background: #00a571;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 196, 140, 0.4);
}

/* === Ogólne bloki – kontrastowe tło === */
.block {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
}

/* Alternatywne tło dla kontrastu */
.block:nth-child(even) {
    background: #f8fafc;
}

/* === Nagłówki === */
.block h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 12px;
}

.block h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* === Formularze === */
form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

input[type="email"],
input[type="text"],
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 91, 184, 0.15);
}

button[type="submit"] {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

button[type="submit"]:hover {
    background: #13489b;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(26, 91, 184, 0.3);
}

/* === Lista produktów === */
.products-list {
    list-style: none;
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.products-list li {
    padding: 16px 20px;
    background: #eef2ff;
    border-left: 5px solid var(--primary);
    border-radius: 8px;
    font-weight: 500;
    color: var(--dark);
    transition: transform 0.2s ease;
}

.products-list li:hover {
    transform: translateX(8px);
    background: #dbeafe;
}

/* === Artykuł – wyróżnienie === */
.article-tip {
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
    padding: 32px;
    border-radius: 16px;
    border: 2px dashed var(--accent);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.article-tip::before {
    content: 'TOP 10 PORAD';
    position: absolute;
    top: 12px;
    right: 16px;
    background: var(--accent);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.article-tip h3 {
    color: var(--primary);
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
}

.article-tip p {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 28px;
}

.article-tip p strong {
    color: var(--dark);
}

.article-tip p::before {
    content: attr(data-number, "✓");
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1rem;
}

/* === Specjaliści === */
.experts-list {
    list-style: none;
    display: grid;
    gap: 1.2rem;
}

.experts-list li {
    padding: 18px 22px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-weight: 500;
    color: var(--dark);
}

/* === Opinie === */
.review {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.review p:first-child {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.review p:last-child {
    font-style: italic;
    color: var(--gray);
}

/* === Mapa === */
.block.mapa iframe {
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* === Stopka === */
.footer {
    background: var(--dark);
    color: #cbd5e1;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
    border-radius: 16px 16px 0 0;
    margin-top: 40px;
}

.footer p {
    margin: 0;
}

.domainName {
    color: var(--accent);
    font-weight: 600;
}

/* === Responsywność === */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .block.oferta {
        min-height: 400px;
        padding: 40px 0;
        border-radius: 12px;
    }

    .block.oferta h1 {
        font-size: 2.2rem;
    }

    .block {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .block h2 {
        font-size: 1.7rem;
    }

    .btn-primary,
    button[type="submit"] {
        width: 100%;
        text-align: center;
        padding: 16px;
    }

    form {
        max-width: 100%;
    }

    .article-tip {
<<<<<<< UPDATED
        padding: 24px;
    }

    .article-tip p {
        padding-left: 24px;
    }

    .products-list,
    .experts-list {
        gap: 0.8rem;
    }

    .products-list li,
    .experts-list li {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .block.oferta h1 {
        font-size: 1.9rem;
    }

    .block h2 {
        font-size: 1.5rem;
    }

    .article-tip::before {
        font-size: 0.7rem;
        padding: 3px 8px;
        top: 8px;
        right: 12px;
    }
}
