/* Style podstron (dolegliwości). Kolory i przyciski jak na stronie głównej. */
:root {
    --primary: #34432A;
    --primary-dark: #4A5735;
    --primary-deep: #243320;
    --olive: #5B6842;
    --accent: #C6A96C;
    --accent-soft: #F1EAD6;
    --whatsapp: #0E7A3E;
    --surface: #ffffff;
    --surface-alt: #F3F0E7;
    --border-color: rgba(52, 67, 42, 0.14);
    --text-main: #2B3224;
    --text-light: #525C42;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', sans-serif; }
/* czcionka Outfit ładowana lokalnie z css/fonts.css */
html { font-size: 106.25%; scroll-behavior: smooth; }
body { background: var(--surface-alt); color: var(--text-main); line-height: 1.65; overflow-x: hidden; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1150px; margin: 0 auto; padding: 0 5%; }

/* Nawigacja */
.sub-nav {
    position: sticky; top: 0; z-index: 100; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 0.8rem 5%; background: rgba(243, 240, 231, 0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}
.sub-nav .logo img { height: 56px; width: auto; display: block; }

/* Przyciski */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0.9rem 1.7rem; border-radius: 50px;
    text-decoration: none; font-weight: 600; font-size: 1.05rem; border: 2px solid transparent; cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.btn-call { background: var(--primary); color: #fff; }
.btn-call:hover { background: var(--primary-deep); }
.btn-gold { background: var(--accent); color: var(--primary-deep); }
.btn-gold:hover { background: #fff; }
.btn-wa { background: var(--whatsapp); color: #fff; }
.btn-wa:hover { background: #0B6633; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-outline-light:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.15rem; }

/* Okruszki */
.breadcrumb { background: var(--surface); border-bottom: 1px solid var(--border-color); font-size: 0.95rem; padding: 0.7rem 0; color: var(--text-light); }
.breadcrumb a { color: var(--primary); }
.breadcrumb .sep { margin: 0 0.35rem; color: var(--accent); }

/* Nagłówek */
.sub-hero { background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 60%, var(--primary-dark) 100%); color: #fff; padding: 3.5rem 0 3.2rem; }
.hero-badge { display: inline-block; background: rgba(198, 169, 108, 0.2); color: #F1DFA9; border: 1px solid rgba(198, 169, 108,0.4); padding: 0.4rem 1rem; border-radius: 50px; font-weight: 600; font-size: 0.92rem; margin-bottom: 1rem; }
.sub-hero h1 { font-size: 2.8rem; line-height: 1.15; margin-bottom: 1rem; max-width: 820px; }
.sub-hero .lead { font-size: 1.2rem; color: #ECEDE3; max-width: 760px; margin-bottom: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* Treść */
.sub-main { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; padding-top: 3.5rem; padding-bottom: 3rem; }
.content section { margin-bottom: 2.4rem; }
.content h2 { font-size: 1.7rem; color: var(--primary); line-height: 1.25; margin-bottom: 0.8rem; }
.content p { font-size: 1.1rem; margin-bottom: 0.9rem; }
ul.check { list-style: none; display: grid; gap: 0.6rem; font-size: 1.1rem; margin: 0.4rem 0 1rem; }
ul.check li { padding-left: 1.9rem; position: relative; }
ul.check li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--primary-deep); background: var(--accent); width: 1.35rem; height: 1.35rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; margin-top: 0.2rem; }
.warning { background: #FBF3E6; border: 1px solid #E8D3AE; border-left: 5px solid #C9893A; border-radius: 16px; padding: 1.5rem 1.7rem; }
.warning h2 { font-size: 1.3rem; color: #7A4B12; }
.warning ul { margin-left: 1.3rem; font-size: 1.05rem; display: grid; gap: 0.4rem; }
.disclaimer { font-size: 0.92rem !important; color: var(--text-light); }

/* Panel kontaktu */
.cta-box {
    position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--border-color); border-top: 4px solid var(--accent);
    border-radius: 20px; padding: 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; box-shadow: 0 10px 30px rgba(52, 67, 42, 0.08);
}
.cta-box h2 { font-size: 1.4rem; color: var(--primary); line-height: 1.25; }
.cta-box p { color: var(--text-light); font-size: 1rem; }
.cta-phone { font-size: 1.9rem; font-weight: 700; color: var(--primary); text-decoration: none; letter-spacing: 0.5px; }
.cta-box .btn { width: 100%; }
.cta-link { color: var(--primary); font-weight: 600; text-align: center; margin-top: 0.3rem; }

/* Listy dolegliwości */
.cond-list { list-style: none; columns: 2 260px; column-gap: 1.8rem; font-size: 1.05rem; margin: 1rem 0 1.2rem; }
.cond-list li { padding-left: 1.4rem; position: relative; margin-bottom: 0.6rem; break-inside: avoid; }
.cond-list li::before { content: '•'; position: absolute; left: 0.2rem; color: var(--accent); font-weight: 700; }
.cond-list a { color: var(--primary); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(198, 169, 108, 0.8); text-underline-offset: 3px; }
.cond-list a:hover { color: var(--olive); }

.related { padding-top: 2.5rem; padding-bottom: 3.5rem; border-top: 1px solid var(--border-color); }
.related h2 { font-size: 1.5rem; color: var(--primary); }
.related > p a { color: var(--primary); font-weight: 600; }

/* Strona zbiorcza */
.hub { padding-top: 3rem; padding-bottom: 3rem; display: grid; gap: 1.5rem; }
.area-block { background: var(--surface); border: 1px solid var(--border-color); border-radius: 20px; padding: 2rem 2.2rem; scroll-margin-top: 90px; }
.area-block h2 { font-size: 1.6rem; color: var(--primary); margin-bottom: 0.4rem; }
.area-block > p { color: var(--text-light); font-size: 1.05rem; }

footer { text-align: center; padding: 2.2rem 5%; color: var(--text-light); border-top: 1px solid var(--border-color); font-size: 0.98rem; display: grid; gap: 0.4rem; }
footer a { color: inherit; }
.footer-links { font-size: 0.92rem; }

/* Polityka prywatności */
.legal { max-width: 860px; padding-top: 2.5rem; padding-bottom: 3.5rem; }
.legal-date { color: var(--text-light); font-size: 0.95rem; margin-bottom: 1.5rem; }
.legal section { margin-bottom: 2.2rem; }
.legal h2 { font-size: 1.5rem; color: var(--primary); margin-bottom: 0.7rem; line-height: 1.3; }
.legal h3 { font-size: 1.15rem; color: var(--olive); margin: 1rem 0 0.4rem; }
.legal p { font-size: 1.05rem; margin-bottom: 0.8rem; }
.legal ul { margin: 0.4rem 0 1.1rem 1.2rem; padding-left: 1.4rem; list-style: disc outside; font-size: 1.05rem; }   /* wyraźne wcięcie: kropka ~1,2rem od krawędzi tekstu */
.legal li { margin-bottom: 0.45rem; padding-left: 0.3rem; }
.legal li::marker { color: var(--accent); }
.legal a { color: var(--primary); }

.mobile-cta { display: none; }

@media (max-width: 900px) {
    .sub-main { grid-template-columns: 1fr; }
    .cta-box { position: static; }
}
@media (max-width: 768px) {
    html { font-size: 100%; }
    .sub-nav .logo img { height: 42px; }
    .nav-phone { display: none; }
    .sub-hero { padding: 2.5rem 0 2.3rem; }
    .sub-hero h1 { font-size: 2rem; }
    .sub-hero .lead { font-size: 1.08rem; }
    .hero-cta .btn { width: 100%; }
    .content h2 { font-size: 1.45rem; }
    .area-block { padding: 1.5rem 1.3rem; }
    .mobile-cta {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; gap: 0.6rem;
        padding: 0.6rem 4% calc(0.6rem + env(safe-area-inset-bottom));
        background: rgba(243, 240, 231, 0.97); border-top: 1px solid var(--border-color); box-shadow: 0 -6px 20px rgba(52, 67, 42, 0.1);
        transform: translateY(110%); transition: transform 0.35s ease;
    }
    .mobile-cta.visible { transform: none; }
    .mobile-cta a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0.9rem 0.5rem; border-radius: 50px; font-weight: 600; text-decoration: none; color: #fff; }
    .mobile-cta .cta-call { background: var(--primary); flex: 1.6; }
    .mobile-cta .cta-wa { background: var(--whatsapp); }
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
