/* ── DUK — Drobne Usługi Kaszuby ─────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary:      #3a6b35;
    --primary-dark: #2d5429;
    --primary-light:#e8f5e2;
    --accent:       #8b5e3c;
    --text:         #1e2a1a;
    --text-muted:   #5a6b55;
    --bg:           #ffffff;
    --bg-alt:       #f4f8f2;
    --border:       #d4e0ce;
    --radius:       10px;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nawigacja ───────────────────────────────────────────── */
.www-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.www-nav-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.www-nav-logo strong { color: var(--primary); }

.www-nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
}

.www-nav-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

.www-nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── Nav dropdown ────────────────────────────────────────── */
.www-nav-has-sub { position: relative; }

.www-nav-sub {
    display: none;
    position: absolute;
    top: 100%;
    left: -12px;
    padding-top: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 210px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    z-index: 200;
    padding: 0 0 6px 0;
    list-style: none;
}

.www-nav-sub::before {
    content: '';
    display: block;
    height: 8px;
}

.www-nav-has-sub:hover .www-nav-sub { display: block; }

.www-nav-sub li a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
}

.www-nav-sub li a:hover { background: var(--bg-alt); color: var(--text); }

.www-nav-arrow { font-size: 10px; margin-left: 3px; opacity: 0.6; }

.btn-cta {
    padding: 8px 20px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
}

.btn-cta:hover { background: var(--primary-dark); text-decoration: none; color: #fff; }

/* ── Sekcje ──────────────────────────────────────────────── */
.www-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 40px;
}

.www-section--alt { background: var(--bg-alt); }

/* ── Hero ────────────────────────────────────────────────── */
.www-hero-bg {
    background: url('../img/hero.jpg') center center / cover no-repeat;
    position: relative;
}

.www-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.85);
}

.www-hero {
    position: relative;
    text-align: center;
    padding: 50px 40px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.www-hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--text);
}

.www-hero h1 span { color: var(--primary); }

.www-hero-brand { font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--primary); margin: 0 0 8px; opacity: 0.9; }

.www-hero-tagline { font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); margin: 6px 0 28px; opacity: 0.8; }

.www-hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.www-hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 14px 32px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
}

.btn-hero:hover { background: var(--primary-dark); text-decoration: none; color: #fff; }

.btn-hero--outline {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-hero--outline:hover { background: var(--bg-alt); color: var(--text); }

.btn-hero--sm { font-size: 13px; padding: 6px 14px; }

/* ── Usługi grid ─────────────────────────────────────────── */
.www-section-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.www-section-sub {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.www-section-intro {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 720px;
    line-height: 1.7;
}

.www-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.www-feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.www-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.www-feature-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    border-bottom: 1px solid var(--border);
}

.www-feature-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(60%);
}

.www-feature-card {
    padding: 0;
    overflow: hidden;
}

.www-feature-card-body {
    padding: 24px 28px 28px;
}

.www-feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.www-feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.www-feature-card ul {
    margin-top: 10px;
    padding-left: 18px;
    font-size: 14px;
    color: var(--text-muted);
}

.www-feature-card ul li { margin-bottom: 4px; }
.www-list-label { font-size: 12px; color: var(--text-muted); margin-top: 10px; margin-bottom: 2px; }

/* ── Galeria ─────────────────────────────────────────────── */
.www-galeria-bg {
    background: var(--primary-light);
}

.www-galeria-bg .www-section-title,
.www-galeria-bg .www-section-sub {
    color: var(--text);
}
.www-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.www-gallery img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius);
    filter: grayscale(40%);
    transition: filter 0.3s ease;
}

.www-gallery-item {
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: zoom-in;
}

.www-gallery img:hover { filter: grayscale(0%); }

/* ── Lightbox ────────────────────────────────────────────── */
.www-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.www-lightbox.active { display: flex; align-items: center; justify-content: center; }

.www-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    cursor: zoom-out;
}

.www-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}

.www-lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: var(--radius);
    display: block;
}

.www-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
}

.www-lightbox-content p {
    color: #fff;
    margin-top: 12px;
    font-size: 14px;
}

/* ── Dla kogo ────────────────────────────────────────────── */
.www-dlakogo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.www-dlakogo-item {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.www-dlakogo-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.www-dlakogo-icon {
    font-size: 28px;
    line-height: 1;
}

.www-dlakogo-item strong {
    font-size: 15px;
    color: var(--text);
}

.www-dlakogo-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── Dlaczego my ─────────────────────────────────────────── */
.www-dlaczego-bg {
    background: url('../img/dlaczego.jpg') center center / cover no-repeat;
    position: relative;
}

.www-dlaczego-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.85);
}
.www-why-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.www-why-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 15px;
    color: var(--text);
}

.www-why-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── Kontakt ─────────────────────────────────────────────── */
.www-contact-box {
    background: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    text-align: center;
    margin-top: 40px;
}

.www-contact-box h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.www-contact-box p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.www-contact-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.www-contact-btns a.btn-hero {
    display: inline-block;
}

/* ── Klikalne kafle usług ────────────────────────────────── */
.www-feature-card--link {
    cursor: pointer;
}

.www-feature-card--link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* ── Podstrona usługi ────────────────────────────────────── */
.www-usluga-hero-bg {
    background: center center / cover no-repeat;
    position: relative;
}
.www-usluga-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.82);
}
.www-usluga-hero {
    position: relative;
    text-align: center;
    padding: 50px 40px 40px;
    max-width: 800px;
    margin: 0 auto;
}
.www-usluga-hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--text);
}
.www-usluga-hero p {
    font-size: 18px;
    color: var(--text-muted);
}

.www-usluga { padding: 24px 0; }

.www-usluga-note {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

.www-usluga-body {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.www-usluga-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 20px;
    filter: grayscale(40%);
}

.www-usluga-desc p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 20px;
}

.www-usluga-desc h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.www-usluga-list {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.www-usluga-list li {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.www-usluga-notfound {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.www-usluga-cta-box {
    background: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 90px;
}

.www-usluga-cta-box h3 {
    font-size: 18px;
    font-weight: 700;
}

.www-usluga-cta-box p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.www-usluga-cta-note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

.www-usluga-nav {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ── Zobacz też ──────────────────────────────────────────── */
.www-related {
    position: relative;
    display: inline-block;
}

.www-related-trigger {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.www-related-popup {
    position: absolute;
    bottom: calc(100% - 8px);
    left: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    padding: 12px;
    display: none;
    grid-template-columns: repeat(3, 120px);
    gap: 8px;
    z-index: 300;
    width: max-content;
}

.www-related:hover .www-related-popup { display: grid; }

.www-related-card {
    width: 120px;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    display: block;
}

.www-related-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 55%);
    transition: opacity 0.2s;
}

.www-related-card:hover::after { opacity: 0.6; }

.www-related-card span {
    position: absolute;
    bottom: 7px;
    left: 7px;
    right: 7px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    z-index: 1;
}

@media (max-width: 768px) {
    .www-usluga-hero { padding: 36px 16px 28px; }
    .www-usluga-hero h1 { font-size: 32px; letter-spacing: -0.5px; }
    .www-usluga-hero p { font-size: 16px; }
    .www-usluga-body { grid-template-columns: 1fr; }
    .www-usluga-cta { order: -1; }
    .www-usluga-cta-box { position: static; }
}

/* ── FAQ strona ──────────────────────────────────────────── */
.www-faq-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 8px;
}

.www-faq-filter {
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--bg);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.www-faq-filter:hover { border-color: var(--primary); color: var(--primary); }
.www-faq-filter.active { background: var(--primary); border-color: var(--primary); color: #fff; }


.www-faq-breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    padding: 10px 0;
}
.www-faq-breadcrumb a { color: var(--text-muted); }
.www-faq-breadcrumb a:hover { color: var(--primary); text-decoration: none; }
.www-faq-breadcrumb span { color: var(--text); }

.www-faq-single-q {
    font-size: 26px;
    font-weight: 800;
    margin: 24px 0 16px;
    line-height: 1.3;
}

.www-faq-single-a {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 720px;
}

.www-faq-single-btns {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.www-faq-cta { margin-top: 10px; }
.www-faq--page { margin-top: 24px; }

.www-faq-row {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.www-faq-row:last-child { border-bottom: none; }

.www-faq-row-q {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.www-faq-row-q:hover { color: var(--primary); text-decoration: none; }

.www-faq-row-a {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.www-faq { margin-top: 16px; }

.www-faq-item { border-bottom: 1px solid var(--border); }
.www-faq-item:last-child { border-bottom: none; }

.www-faq-item h3 {
    font-size: 14px;
    font-weight: 600;
    padding: 10px 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-family: inherit;
}

.www-faq-prefix {
    color: var(--text-muted);
    margin-right: 0.4em;
    display: inline-block;
    transition: transform 0.2s;
    font-size: 11px;
}

.www-faq-item h3.faq-open .www-faq-prefix { transform: rotate(90deg); }

.www-faq-link-icon {
    margin-left: auto;
    padding-left: 0.75rem;
    font-size: 0.85rem;
    opacity: 0.35;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.www-faq-link-icon:hover { opacity: 1; }
.www-faq-item h3:hover .www-faq-link-icon { opacity: 0.7; }

.www-faq-item p, .www-faq-item ul {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.75;
    padding-bottom: 12px;
}

/* ── Formularz kontaktowy ────────────────────────────────── */
.www-contact-form { text-align: left; margin-top: 24px; }

.www-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.www-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.www-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.www-req { color: var(--primary); }

.www-form-group input,
.www-form-group select,
.www-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    transition: border-color 0.2s;
    outline: none;
}

.www-form-group input:focus,
.www-form-group select:focus,
.www-form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(58,107,53,0.1);
}

.www-form-group textarea { resize: vertical; min-height: 100px; }

.www-form-submit { width: 100%; margin-top: 4px; cursor: pointer; border: none; font-family: inherit; }

.www-form-ref {
    font-size: 0.88rem;
    color: #555;
    margin-bottom: 12px;
}

.www-form-error {
    background: #fff3f3;
    border: 1px solid #f5c6c6;
    color: #c0392b;
    border-radius: var(--radius);
    padding: 10px 16px;
    font-size: 14px;
    margin-bottom: 16px;
}

.www-form-success {
    padding: 32px 0;
    text-align: center;
}

.www-form-success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.www-form-success h3 { font-size: 22px; margin-bottom: 8px; }
.www-form-success p  { color: var(--text-muted); font-size: 15px; }

.www-contact-alt {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

/* ── Wyszukiwarka nav ────────────────────────────────────── */
.www-nav-search-btn {
    background: none; border: none; cursor: pointer; padding: 4px 6px;
    display: flex; align-items: center; opacity: .75; transition: opacity .15s;
}
.www-nav-search-btn:hover { opacity: 1; }
.www-nav-search-btn svg { pointer-events: none; }
.www-nav-search-btn--mobile { display: none; }

.www-search-overlay {
    display: none; position: fixed; inset: 0; z-index: 500;
    background: rgba(0,0,0,.45); backdrop-filter: blur(3px);
    align-items: flex-start; justify-content: center; padding-top: 80px;
    animation: searchFadeIn .15s ease;
}
.www-search-overlay.open { display: flex; }
@keyframes searchFadeIn { from { opacity: 0; } to { opacity: 1; } }

.www-search-modal {
    background: #fff; border-radius: 14px; width: 100%; max-width: 580px;
    margin: 0 20px; box-shadow: 0 20px 60px rgba(0,0,0,.25);
    overflow: hidden; animation: searchSlideIn .15s ease;
}
@keyframes searchSlideIn { from { transform: translateY(-12px); opacity: 0; } to { transform: none; opacity: 1; } }

.www-search-modal-input-wrap {
    display: flex; align-items: center; gap: 12px; padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}
.www-search-modal-icon { flex-shrink: 0; }
.www-search-modal-input-wrap input {
    flex: 1; border: none; outline: none; font-size: 17px;
    color: var(--text); background: transparent;
}
.www-search-modal-close {
    background: var(--bg-alt); border: 1px solid var(--border); border-radius: 5px;
    font-size: 11px; font-weight: 600; color: var(--text-muted); padding: 3px 7px;
    cursor: pointer; white-space: nowrap; letter-spacing: .5px;
}
.www-search-modal-close:hover { color: var(--text); }

.www-nav-search-results { display: none; max-height: 380px; overflow-y: auto; }
.www-nav-search-results.open { display: block; }
.www-search-result {
    display: flex; align-items: center; gap: 10px; padding: 11px 20px;
    text-decoration: none; color: var(--text); font-size: 14px;
    border-bottom: 1px solid var(--bg-alt); transition: background .1s;
}
.www-search-result:last-child { border-bottom: none; }
.www-search-result:hover { background: var(--bg-alt); }
.www-search-result span:last-child { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.www-search-badge {
    font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px;
    white-space: nowrap; text-transform: uppercase; letter-spacing: .4px;
    flex-shrink: 0; width: 100px; text-align: center;
}
.www-search-badge--usluga { background: var(--primary-light); color: var(--primary-dark); }
.www-search-badge--faq { background: #e8f0fe; color: #3a5bc7; }
.www-search-empty { padding: 14px 20px; font-size: 14px; color: var(--text-muted); }

/* ── Hamburger ───────────────────────────────────────────── */
.www-nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.www-nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.www-nav-burger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.www-nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.www-nav-burger.open span:nth-child(2) { opacity: 0; }
.www-nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Responsywność ───────────────────────────────────────── */
@media (max-width: 768px) {

    /* Nav */
    .www-nav { padding: 12px 20px; }
    .www-nav-logo-img { height: 56px; }
    .www-nav-burger { display: flex; }

    .www-nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 8px 0;
        z-index: 99;
    }

    .www-nav-links.open { display: flex; }

    .www-nav-links li a {
        display: block;
        padding: 12px 20px;
        font-size: 16px;
        color: var(--text);
        border-bottom: 1px solid var(--border);
    }

    .www-nav-links li:last-child a { border-bottom: none; }
    .www-nav-links li:has(.www-nav-search-btn) { display: none; }
    .www-nav-search-btn--mobile { display: flex; }

    .www-nav-sub {
        display: block;
        position: static;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--border);
        border-radius: 0;
        padding: 0 0 4px 12px;
        margin: 0 0 4px 20px;
        min-width: 0;
    }
    .www-nav-sub li a {
        padding: 8px 16px;
        font-size: 14px;
        border-bottom: none;
    }
    .www-nav-arrow { display: none; }

    /* btn-cta w nav - ukryj na mobile (jest w menu i w hero) */
    .www-nav-right .btn-cta { display: none; }

    /* Sekcje */
    .www-section { padding: 20px 16px; }

    /* Hero */
    .www-hero { padding: 36px 16px 28px; }
    .www-hero h1 { font-size: 32px; letter-spacing: -0.5px; }
    .www-hero p { font-size: 16px; margin-bottom: 28px; }
    .btn-hero { padding: 12px 24px; font-size: 15px; }
    .www-hero-cta { flex-direction: column; align-items: center; }
    .www-hero-cta .btn-hero { width: 100%; max-width: 320px; text-align: center; }

    /* Tytuły sekcji */
    .www-section-title { font-size: 24px; }
    .www-section-sub { font-size: 14px; }

    /* Usługi */
    .www-features-grid { grid-template-columns: 1fr; gap: 16px; }

    /* Dla kogo */
    .www-dlakogo-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

    /* Kontakt */
    .www-contact-box { padding: 24px 16px; }
    .www-form-row { grid-template-columns: 1fr; }

    /* Footer */
    .www-footer {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
        gap: 12px;
    }
}

@media (max-width: 420px) {
    .www-dlakogo-grid { grid-template-columns: 1fr; }
    .www-hero h1 { font-size: 28px; }
}

/* ── Pakiety ─────────────────────────────────────────────── */
.www-pakiety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 8px;
}

.www-pakiet-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.www-pakiet-card--featured {
    border-color: var(--primary);
    border-width: 2px;
}

.www-pakiet-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 20px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.www-pakiet-name {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}


.www-pakiet-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}

.www-pakiet-list li {
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}

.www-pakiet-list li::before {
    content: '✓ ';
    color: var(--primary);
    font-weight: 700;
}

.btn-pakiet {
    display: block;
    text-align: center;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    background: var(--bg-alt);
}

.btn-pakiet:hover { background: var(--border); text-decoration: none; }

.btn-pakiet--featured {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-pakiet--featured:hover { background: var(--primary-dark); }

.www-pakiety-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

/* ── Footer ──────────────────────────────────────────────── */
.www-footer {
    border-top: 1px solid var(--border);
    padding: 28px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 13px;
    flex-wrap: wrap;
    gap: 8px;
}

.www-footer-logo { font-weight: 800; color: var(--text); font-size: 15px; }

.www-nav-logo-img { height: 80px; width: auto; display: block; }
.www-footer-copy { text-align: center; }
.www-footer-logo-img { height: 56px; width: auto; vertical-align: middle; margin-right: 8px; }
.www-footer-logo strong { color: var(--primary); }
