/* ZwinnaStrona — "Sprint Board" Design System */
/* ── Design Tokens ─────────────────────────────────────────── */

:root {
    --paper:        #FFFFFF;
    --paper-deep:   #F1F5F9;
    --card:         #FFFFFF;
    --ink:          #121417;
    --ink-soft:     #4B5563;
    --ink-faint:    #6B7280;
    --line:         #E5E7EB;
    --line-strong:  #D1D5DB;
    --blue:         #2540E0;
    --blue-hover:   #1C33B8;
    --blue-soft:    #E9EDFD;
    --amber:        #D97706;
    --amber-soft:   #FEF3C7;
    --green:        #15803D;
    --green-soft:   #DCFCE7;
    --red:          #DC2626;
    --font-display: 'Outfit', 'Archivo', sans-serif;
    --font-body:    'Manrope', sans-serif;
    --font-mono:    'IBM Plex Mono', monospace;
    --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back:  cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-card: 0 1px 2px rgba(18, 20, 23, 0.04), 0 8px 24px rgba(18, 20, 23, 0.04);
    --shadow-card-hover: 0 4px 12px rgba(18, 20, 23, 0.06), 0 20px 36px rgba(18, 20, 23, 0.08);
    --shadow-pop: 0 20px 48px rgba(18, 20, 23, 0.12);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: var(--font-body);
    background: #FFFFFF; color: var(--ink); overflow-x: hidden;
    line-height: 1.6; font-size: 16px;
}
::selection { background: var(--blue); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FFFFFF; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }
a { color: inherit; }
/* ── Background grid & rulers disabled (clean white canvas) ── */
.board-surface,
.ruler,
.ruler-top,
.ruler-left {
    display: none !important;
    background: none !important;
}
/* ── Shared bits ───────────────────────────────────────────── */
.ticket-id,
.portfolio-stamp,
.testimonial-approved,
.form-ticket-head,
.step-col-label,
.nav-index {
    display: none !important;
}

.tag {
    font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600;
    padding: 3px 9px; border-radius: 5px; letter-spacing: 0.02em; text-transform: uppercase;
}
.tag-shop     { background: var(--blue-soft);  color: var(--blue); }
.tag-site     { background: var(--green-soft); color: var(--green); }
.tag-app      { background: var(--amber-soft); color: var(--amber); }
.tag-redesign { background: #F3E3F7; color: #8E3EA1; }
.tag-design   { background: #F3E3F7; color: #8E3EA1; }
.tag-seo      { background: var(--blue-soft);  color: var(--blue); }
.tag-support  { background: var(--amber-soft); color: var(--amber); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.status-open { background: var(--green); box-shadow: none; animation: none; }
/* ── Navigation (Enlarged & Clean White) ───────────────────── */
nav {
    position: fixed; top: 0; width: 100%; padding: 14px 5%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; transition: all 0.3s var(--ease-out-expo);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px); padding: 12px 5%;
    border-bottom-color: var(--line);
    box-shadow: 0 2px 16px rgba(18, 20, 23, 0.04);
}

.logo {
    font-family: var(--font-display); font-size: 1.48rem; font-weight: 800;
    color: var(--ink); text-decoration: none; display: inline-flex; align-items: center;
    gap: 0; letter-spacing: -0.02em; line-height: 1; white-space: nowrap;
}

.logo-img {
    height: 28px;
    width: auto;
    max-width: 60px;
    display: block;
    object-fit: contain;
    transform: translateY(-1px);
    margin-right: 8px;
}

.logo-tag { font-family: var(--font-mono); color: var(--blue); font-weight: 700; margin-right: 6px; font-size: 1.12rem; }
.logo span { color: #2540E0; }
.nav-links { display: flex; gap: 34px; list-style: none; align-items: center; }
.nav-links a {
    color: var(--ink-soft); text-decoration: none; font-weight: 600;
    font-size: 1.05rem; position: relative; padding: 6px 0;
    transition: color 0.25s var(--ease-out-quart); display: inline-flex; align-items: baseline; gap: 6px;
}

.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--blue); transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
    background: var(--blue); color: #FFFFFF; padding: 13px 26px;
    border-radius: 10px; text-decoration: none; font-weight: 700;
    font-family: var(--font-body); font-size: 0.92rem; transition: all 0.25s var(--ease-out-quart);
    border: 1px solid var(--blue); cursor: pointer;
}

.nav-cta:hover { background: var(--blue-hover); border-color: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37, 64, 224, 0.22); }
.mobile-menu-btn {
    display: none; background: none; border: none; color: var(--ink);
    font-size: 1.5rem; cursor: pointer; padding: 6px;
}

/* ── Hero ──────────────────────────────────────────────────── */

.hero { padding: 152px 5% 84px; position: relative; background: #FFFFFF; }
.hero-inner {
    max-width: 1240px; margin: 0 auto; display: grid;
    grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}

.hero-right {
    display: flex; flex-direction: column; width: 100%;
}

.hero-copy { max-width: 560px; }
.ticket-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--card); border: 1px solid var(--line);
    padding: 9px 18px; border-radius: 50px; font-size: 0.82rem;
    font-weight: 600; color: var(--ink-soft); margin-bottom: 28px;
    box-shadow: var(--shadow-card);
}

.ticket-badge strong { color: var(--ink); font-family: var(--font-mono); }
.hero h1 {
    font-family: var(--font-display); font-size: clamp(2.4rem, 4.2vw, 3.5rem);
    font-weight: 800; line-height: 1.1; margin-bottom: 22px; letter-spacing: -0.025em;
    color: var(--ink);
}

.hero h1 .hl { color: var(--blue); }
.hero p, .hero-lead {
    font-size: 1.05rem; color: var(--ink-soft); max-width: 520px;
    margin-bottom: 34px; line-height: 1.7; font-weight: 400;
}
.hero-actions { display: flex; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; align-items: center; }

.btn-primary {
    background: var(--blue); color: #fff; padding: 14px 26px;
    border-radius: 10px; text-decoration: none; font-weight: 700;
    font-size: 0.95rem; transition: background 0.2s ease, transform 0.2s var(--ease-out-quart), box-shadow 0.2s ease;
    border: 1px solid transparent; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 1px 2px rgba(20, 22, 27, 0.08), 0 2px 4px rgba(20, 22, 27, 0.04);
}

.btn-primary span { transition: transform 0.2s var(--ease-out-quart); display: inline-block; }
.btn-primary:hover {
    background: #1e35b8; transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 22, 27, 0.12);
}
.btn-primary:hover span { transform: translateX(3px); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(20, 22, 27, 0.08); }

.btn-secondary {
    background: var(--card); color: var(--ink); padding: 14px 26px;
    border-radius: 10px; text-decoration: none; font-weight: 700;
    font-size: 0.95rem; transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease-out-quart), box-shadow 0.2s ease;
    border: 1px solid var(--line-strong); cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 1px 2px rgba(20, 22, 27, 0.04);
}

.btn-secondary:hover {
    border-color: var(--ink); background: var(--paper);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 22, 27, 0.06);
}
.btn-secondary:active { transform: translateY(0); }

.hero-team { display: flex; align-items: center; gap: 10px; }
.hero-team p { font-size: 0.84rem; color: var(--ink-faint); margin: 0; }
.mini-avatar {
    width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--paper);
    display: flex; align-items: center; justify-content: center; font-family: var(--font-mono);
    font-size: 0.68rem; font-weight: 700; border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--line);
}

.mini-avatar + .mini-avatar { margin-left: -12px; }

.ticket-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }

/* ── Hero Spec Card (Variant A: Technical Benchmark) ──────── */
.hero-spec-card {
    background: var(--card); border-radius: 16px; padding: 26px;
    border: 1px solid var(--line); box-shadow: var(--shadow-card);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-spec-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-card-hover);
}

.spec-head {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 16px; margin-bottom: 18px;
    border-bottom: 1px solid var(--paper-deep);
}

.spec-tag {
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
    color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.08em;
}

.spec-status {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
    color: var(--green); background: var(--green-soft);
    padding: 4px 10px; border-radius: 20px;
}

.status-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--green); display: inline-block;
}

.spec-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
    margin-bottom: 20px;
}

.spec-item {
    background: var(--paper); border: 1px solid var(--line);
    border-radius: 12px; padding: 16px 16px 14px;
    display: flex; flex-direction: column;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.spec-item:hover {
    border-color: var(--line-strong);
    background: #F8FAFC;
}

.spec-num {
    font-family: var(--font-display); font-size: 1.85rem; font-weight: 800;
    color: var(--ink); line-height: 1.05; letter-spacing: -0.02em;
}

.spec-unit {
    font-size: 1rem; font-weight: 700; color: var(--blue); margin-left: 2px;
}

.spec-label {
    font-family: var(--font-mono); font-size: 0.74rem; font-weight: 700;
    color: var(--ink); margin-top: 6px; letter-spacing: -0.01em;
}

.spec-sub {
    font-size: 0.72rem; color: var(--ink-soft); line-height: 1.4;
    margin-top: 4px;
}

.spec-footer {
    padding-top: 18px; border-top: 1px solid var(--paper-deep);
    display: flex; flex-direction: column; gap: 14px;
}

.spec-features {
    display: flex; flex-direction: column; gap: 8px;
}

.spec-feature {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.82rem; color: var(--ink-soft); font-weight: 500;
}

.spec-feature span {
    color: var(--green); font-weight: 800; font-family: var(--font-mono);
    font-size: 0.85rem; flex-shrink: 0;
}

.spec-link {
    display: inline-flex; align-items: center; justify-content: space-between;
    padding: 12px 18px; background: var(--blue, #2540E0) !important;
    border: 1px solid var(--blue, #2540E0) !important; border-radius: 10px;
    color: #ffffff !important; text-decoration: none; font-size: 0.84rem;
    font-weight: 700; font-family: var(--font-mono);
    box-shadow: 0 1px 2px rgba(18, 20, 23, 0.08), 0 4px 12px rgba(37, 64, 224, 0.22);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease-out-quart), box-shadow 0.2s ease;
}

.spec-link span {
    transition: transform 0.2s ease; font-weight: 800; color: #ffffff !important;
    margin-left: 8px;
}

.spec-link:hover {
    background: var(--blue-hover, #1C33B8) !important; border-color: var(--blue-hover, #1C33B8) !important; color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 64, 224, 0.32);
}

.spec-link:active {
    transform: translateY(0);
}

.spec-link:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.spec-link:hover span {
    transform: translateY(2px);
}

/* ── Sections ──────────────────────────────────────────────── */

section { padding: 100px 5%; position: relative; }
.section-header { max-width: 640px; margin: 0 auto 56px; }
.section-tag {
    display: inline-block; font-family: var(--font-mono); color: var(--blue);
    font-size: 0.74rem; font-weight: 700; margin-bottom: 16px;
    letter-spacing: 0.06em; text-transform: uppercase;
}

.section-header h2 {
    font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.7rem);
    font-weight: 800; margin-bottom: 14px; letter-spacing: -0.02em; line-height: 1.15;
}

.hl-inline { color: var(--blue); }
.section-header p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; }
/* ── Services (Bento Grid - Compact & Sleek) ──────────────── */
#uslugi { background: #FFFFFF; padding: 68px 5% 72px; border-top: 1px solid var(--line); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1240px;
    margin: 0 auto;
}

.service-card {
    background: var(--card); border-radius: 14px; padding: 22px 22px;
    border: 1px solid var(--line); transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease-out-quart);
    box-shadow: var(--shadow-card);
    display: flex; flex-direction: column; justify-content: space-between;
    position: relative;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--line-strong);
}

.service-card.bento-hero {
    grid-column: span 2;
    background: #FFFFFF;
    padding: 24px 24px;
}

.service-card.bento-wide {
    grid-column: span 3;
    background: #FFFFFF;
    padding: 24px 24px;
}

.bento-wide-content {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 24px;
    align-items: start;
    margin-top: 6px;
}

.service-card h3 {
    font-family: var(--font-display); font-size: 1.15rem; margin: 6px 0 6px;
    font-weight: 700; letter-spacing: -0.015em; color: var(--ink);
}

.service-card.bento-hero h3 {
    font-size: 1.32rem;
}

.service-card.bento-wide h3 {
    font-size: 1.25rem;
}

.service-card > div > p, .service-card p {
    color: var(--ink-soft); font-size: 0.86rem; line-height: 1.5; margin-bottom: 12px;
}

.service-features { list-style: none; margin-bottom: 12px; }
.service-features li {
    display: flex; align-items: center; gap: 8px; color: var(--ink-soft);
    font-size: 0.81rem; padding: 4.5px 0; border-top: 1px solid var(--paper-deep);
    line-height: 1.35;
}

.service-features li:first-child { border-top: none; }
.service-features li::before {
    content: '✓'; color: var(--green); font-weight: 700; font-family: var(--font-mono); font-size: 0.78rem; flex-shrink: 0;
}

.bento-badges {
    display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px;
}

.bento-badge {
    font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600;
    padding: 3px 8px; border-radius: 5px; background: var(--paper);
    color: var(--ink); border: 1px solid var(--line);
}

.service-action-link {
    margin-top: auto; padding-top: 12px; border-top: 1px solid var(--paper-deep);
    display: inline-flex; align-items: center; justify-content: space-between;
    font-family: var(--font-mono); font-size: 0.73rem; font-weight: 700;
    color: var(--blue); text-transform: uppercase; letter-spacing: 0.04em;
}

.service-action-link span { transition: transform 0.2s ease; display: inline-block; font-weight: 800; font-size: 0.95rem; }
.service-card:hover .service-action-link span { transform: translateX(4px); }
/* ── Process (kanban swimlane, order = real sequence) ────── */
.process-section { background: #FFFFFF; border-top: 1px solid var(--line); }
.process-track {
    display: flex; max-width: 1100px; margin: 0 auto; gap: 0;
    border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden; background: var(--card);
}

.process-step { flex: 1; padding: 32px 24px; position: relative; }
.process-step:not(:last-child) { border-right: 1px solid var(--line); }
.step-col-label { font-family: var(--font-mono); font-size: 0.64rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.step-number { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--blue); margin-bottom: 12px; }
.process-step h3, .process-step h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 8px; font-weight: 700; }
.process-step p { color: var(--ink-soft); font-size: 0.87rem; line-height: 1.65; }
/* ── Portfolio (closed tickets) ───────────────────────────── */
#portfolio { background: #FFFFFF; border-top: 1px solid var(--line); }
.portfolio-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 22px; max-width: 1200px; margin: 0 auto;
}

.portfolio-item {
    position: relative; border-radius: 16px; overflow: hidden;
    aspect-ratio: 16/10.5; border: 1px solid var(--line); background: var(--card);
    transition: all 0.4s var(--ease-out-expo);
}

.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out-expo), filter 0.4s ease; display: block; background: var(--paper-deep); }
.portfolio-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.portfolio-item:hover img { transform: scale(1.05); filter: brightness(0.75); }
.portfolio-stamp {
    position: absolute; top: 14px; right: 14px; background: var(--card); color: var(--green);
    font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; padding: 5px 10px;
    border-radius: 6px; border: 1px solid var(--green-soft);
}

.portfolio-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(20,22,27,0.92) 0%, rgba(20,22,27,0.35) 55%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 24px; opacity: 0; transition: opacity 0.4s var(--ease-out-expo);
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-tag {
    display: inline-block; background: rgba(255,255,255,0.14); color: #fff; font-family: var(--font-mono);
    padding: 4px 12px; border-radius: 50px; font-size: 0.65rem; font-weight: 600;
    margin-bottom: 10px; width: fit-content; letter-spacing: 0.03em; text-transform: uppercase;
}

.portfolio-overlay h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 6px; font-weight: 700; color: #fff; }
.portfolio-overlay p { color: rgba(255,255,255,0.75); font-size: 0.85rem; }
.portfolio-category-header { max-width: 1200px; margin: 40px auto 20px; display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.portfolio-category-header h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--ink); margin: 0; }
.portfolio-category-header .category-desc { color: var(--ink-soft); font-size: 0.88rem; margin: 0; }
.portfolio-stamp.stamp-demo { color: var(--blue); border-color: rgba(37,64,224,0.3); }

/* ── Portfolio Carousel (Homepage Showcase) ────────────────── */
.portfolio-carousel-section {
    background: #FFFFFF;
    border-top: 1px solid var(--line);
    padding: 88px 5%;
    overflow: hidden;
}
.portfolio-carousel-wrap {
    max-width: 1200px;
    margin: 0 auto;
}
.portfolio-carousel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.portfolio-carousel-head .section-header {
    margin: 0;
    max-width: 640px;
    text-align: left;
}
.portfolio-carousel-head .section-header h2 {
    margin-bottom: 10px;
}
.portfolio-carousel-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.carousel-nav-btns {
    display: flex;
    gap: 8px;
}
.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    background: #FFFFFF;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out-quart);
}
.carousel-btn:hover:not(:disabled) {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
}
.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.portfolio-carousel-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 6px 2px 18px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.portfolio-carousel-track::-webkit-scrollbar {
    display: none;
}
.portfolio-carousel-track .portfolio-item {
    flex: 0 0 calc((100% - 44px) / 3);
    min-width: 310px;
    scroll-snap-align: start;
    text-decoration: none;
}
.portfolio-carousel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    gap: 16px;
    flex-wrap: wrap;
}
.carousel-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50px;
    background: var(--line-strong);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.3s var(--ease-out-expo), background 0.3s ease;
}
.carousel-dot.active {
    width: 26px;
    background: var(--blue);
}
@media (max-width: 1024px) {
    .portfolio-carousel-track .portfolio-item {
        flex: 0 0 calc((100% - 22px) / 2);
    }
}
@media (max-width: 680px) {
    .portfolio-carousel-track .portfolio-item {
        flex: 0 0 88%;
        min-width: 270px;
    }
    .portfolio-carousel-head {
        align-items: flex-start;
    }
}
/* ── Pricing (single estimate ticket) ─────────────────────── */
.estimate-wrap { max-width: 720px; margin: 0 auto; }
.estimate-card {
    background: var(--card); border-radius: 18px; padding: 40px;
    border: 1px solid var(--line-strong); box-shadow: var(--shadow-pop);
}

.estimate-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.estimate-head h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin: 8px 0 6px; }
.estimate-head p { color: var(--ink-soft); font-size: 0.9rem; }
.estimate-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--blue); white-space: nowrap; }
.pricing-features { list-style: none; margin-bottom: 24px; }
.pricing-features li {
    display: flex; align-items: center; gap: 12px; padding: 11px 0;
    border-bottom: 1px solid var(--paper-deep); color: var(--ink-soft); font-size: 0.92rem;
}

.pricing-features li:last-child { border-bottom: none; }
.pricing-features li.included::before { content: '✓'; color: var(--green); font-weight: 700; width: 18px; }
.estimate-note { color: var(--ink-faint); font-size: 0.85rem; line-height: 1.6; margin-bottom: 24px; }
.pricing-btn {
    width: 100%; padding: 15px; border-radius: 10px; border: none;
    background: var(--blue); color: #fff; font-weight: 700; font-size: 0.95rem;
    cursor: pointer; transition: all 0.3s var(--ease-out-back); font-family: var(--font-body);
}

.pricing-btn:hover { background: var(--blue-hover); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(18, 20, 23, 0.12); }
/* ── Team ──────────────────────────────────────────────────── */
.team-section { background: #FFFFFF; border-top: 1px solid var(--line); padding: 56px 5% 76px; }
.team-trio-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 24px;
    max-width: 1220px;
    margin: 0 auto;
    align-items: stretch;
}
.team-intro-card {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(20, 22, 27, 0.03);
    transition: all 0.35s var(--ease-out-expo);
}
.team-intro-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--line-strong);
}
.team-intro-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.tech-badge {
    background: var(--paper, #F8F9FC);
    color: var(--ink-soft);
    padding: 5px 11px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.73rem;
    font-weight: 600;
    border: 1px solid var(--line);
    white-space: nowrap;
}
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; }
.team-card {
    padding: 26px 26px;
    background: var(--card);
    border-radius: 18px;
    border: 1px solid var(--line);
    transition: all 0.35s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(20, 22, 27, 0.03);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--line-strong); }
.team-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.team-avatar {
    width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #FFFFFF;
    display: flex; align-items: center; justify-content: center; font-family: var(--font-mono);
    font-weight: 700; font-size: 0.95rem; flex-shrink: 0;
}
.team-card-meta { display: flex; flex-direction: column; gap: 2px; }
.team-name-line { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.team-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 0; font-weight: 800; line-height: 1.2; color: var(--ink); }
.team-role { color: var(--blue); font-weight: 600; font-size: 0.82rem; margin: 0; }
.team-desc { color: var(--ink-soft); font-size: 0.89rem; line-height: 1.64; margin: 0 0 16px; }
.team-skills { display: flex; flex-wrap: wrap; gap: 6px; }
.team-skill {
    background: var(--paper, #F8F9FC); color: var(--ink-soft); padding: 4px 10px;
    border-radius: 6px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
    border: 1px solid var(--line); white-space: nowrap;
}

@media (max-width: 1024px) {
    .team-trio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ── Testimonials ──────────────────────────────────────────── */

.testimonials-section { background: #FFFFFF; border-top: 1px solid var(--line); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; }
.testimonial-card { background: var(--card); border-radius: 16px; padding: 32px; border: 1px solid var(--line); transition: all 0.4s var(--ease-out-expo); }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.testimonial-approved {
    display: inline-block; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700;
    color: var(--green); background: var(--green-soft); padding: 4px 10px; border-radius: 6px; margin-bottom: 18px;
}

.testimonial-text { color: var(--ink); font-size: 0.92rem; line-height: 1.75; margin-bottom: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 38px; height: 38px; border-radius: 50%; background: var(--paper-deep); color: var(--ink);
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.88rem; flex-shrink: 0;
}

.testimonial-author-info h4 { font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; }
/* ── Contact ───────────────────────────────────────────────── */
#kontakt { background: #FFFFFF; border-top: 1px solid var(--line); padding: 56px 5% 80px; }
.contact-container { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 32px; 
    max-width: 1140px; 
    margin: 0 auto; 
    align-items: stretch;
}

.contact-info { 
    background: var(--card); 
    padding: 32px 32px;
    border-radius: 18px; 
    border: 1px solid var(--line); 
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-head,
.form-head {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.contact-head h3,
.form-head h3 { 
    font-family: var(--font-display); 
    font-size: 1.42rem; 
    margin: 0 0 6px; 
    font-weight: 800; 
    letter-spacing: -0.015em;
    color: var(--ink);
}

.contact-head p,
.form-head p { 
    color: var(--ink-soft); 
    margin: 0; 
    line-height: 1.55; 
    font-size: 0.88rem;
}

.contact-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
    justify-content: space-between;
}

.contact-item { 
    display: flex; 
    align-items: flex-start; 
    gap: 14px; 
    padding: 2px 0;
    margin-bottom: 0;
}

.contact-icon {
    width: 42px; 
    height: 42px; 
    background: var(--blue-soft); 
    border-radius: 10px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.05rem;
    color: var(--blue); 
    flex-shrink: 0; 
    border: 1px solid rgba(37, 64, 224, 0.12);
}

.contact-item h4 { font-family: var(--font-display); font-size: 0.94rem; margin-bottom: 3px; font-weight: 700; color: var(--ink); }
.contact-item p { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.5; margin: 0; }
.contact-item a { color: var(--ink); text-decoration: none; font-weight: 600; transition: color 0.2s ease; }
.contact-item a:hover { color: var(--blue); }

/* ── Formularz (Poprawione proporcje & Wyrównanie) ─────────── */
.contact-form { 
    background: var(--card); 
    padding: 32px 32px;
    border-radius: 18px; 
    border: 1px solid var(--line); 
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form-group { margin-bottom: 12px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 0.82rem; color: var(--ink-soft); }
.form-group:focus-within label { color: var(--blue); }
.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%; 
    padding: 9px 13px;
    background: #FFFFFF;
    border: 1.5px solid var(--line); 
    border-radius: 10px; 
    color: var(--ink);
    font-family: var(--font-body); 
    font-size: 0.92rem; 
    line-height: 1.4;
    transition: all 0.25s var(--ease-out-expo);
    cursor: pointer; 
    appearance: none; 
    -webkit-appearance: none; 
    outline: none;
}

.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ink-faint); }
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232A46E8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat; 
    background-position: right 14px center; 
    background-size: 16px; 
    padding-right: 42px;
}

.form-group input:hover, .form-group textarea:hover, .form-group select:hover { border-color: var(--line-strong); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-soft); }
.form-group textarea { min-height: 92px; resize: vertical; line-height: 1.45; }
.form-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 12px;
}

.submit-btn {
    width: 100%; 
    padding: 14px 22px; 
    background: var(--blue, #2540E0); 
    color: #FFFFFF; 
    border: 1px solid var(--blue, #2540E0);
    border-radius: 10px; 
    font-family: var(--font-body); 
    font-size: 0.96rem; 
    font-weight: 700;
    cursor: pointer; 
    transition: background 0.2s ease, transform 0.2s var(--ease-out-quart), box-shadow 0.2s ease; 
    display: inline-flex;
    align-items: center; 
    justify-content: center; 
    gap: 8px;
    margin-top: 4px;
    box-shadow: 0 1px 2px rgba(20, 22, 27, 0.08), 0 4px 12px rgba(37, 64, 224, 0.22);
}

.submit-btn:hover {
    background: var(--blue-hover, #1C33B8);
    border-color: var(--blue-hover, #1C33B8);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 64, 224, 0.32);
}
.submit-btn:disabled { opacity: 0.75; cursor: not-allowed; transform: none; }
.submit-btn.submit-ok { background: var(--green); }
.submit-btn.submit-err { background: var(--red); }
@media (max-width: 768px) {
    .contact-container { grid-template-columns: 1fr; gap: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-info, .contact-form { padding: 24px 20px; }
}

/* ── FAQ (Collapsible on Trigger) ─────────────────────────── */
.faq-wrap { background: #FFFFFF; padding: 68px 5% 72px; border-top: 1px solid var(--line); }

.faq-toggle-wrap {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.faq-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    background: var(--card);
    border: 1.5px solid var(--line-strong);
    border-radius: 50px;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 0.94rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(18, 20, 23, 0.06);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out-quart), box-shadow 0.2s ease;
}

.faq-toggle-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 64, 224, 0.22);
}

.faq-toggle-arrow {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 1rem;
    transition: transform 0.25s ease;
    display: inline-block;
}

.faq-toggle-btn.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #ffffff;
}

.faq-toggle-btn.is-active .faq-toggle-arrow {
    transform: rotate(180deg);
}

.faq-container {
    max-width: 780px;
    margin: 36px auto 0;
}

.faq-wrap:has(.faq-toggle-wrap) .faq-container,
.faq-wrap #faqContainer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    margin-top: 0;
    transition: max-height 0.45s var(--ease-out-expo), opacity 0.35s ease, margin-top 0.35s ease;
}

.faq-wrap:has(.faq-toggle-wrap) .faq-container.is-open,
.faq-wrap #faqContainer.is-open {
    max-height: 2500px;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
    margin-top: 36px;
}

.faq-item { background: var(--card); border-radius: 14px; margin-bottom: 12px; border: 1px solid var(--line); overflow: hidden; transition: all 0.3s var(--ease-out-expo); }
.faq-item:hover { border-color: var(--line-strong); }
.faq-item.active { border-color: var(--blue); box-shadow: 0 4px 16px rgba(18, 20, 23, 0.06); }
.faq-question {
    padding: 18px 24px; display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; font-weight: 700; font-size: 0.95rem; gap: 16px;
}

.faq-question:hover { color: var(--blue); }
.faq-icon {
    width: 24px; height: 24px; min-width: 24px; border-radius: 50%;
    background: var(--paper); display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem; transition: all 0.3s var(--ease-out-back); color: var(--ink-soft); flex-shrink: 0;
}

.faq-item.active .faq-icon { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out-expo), padding 0.4s var(--ease-out-expo); }
.faq-item.active .faq-answer { max-height: 400px; padding: 0 24px 20px; }
.faq-answer p { color: var(--ink-soft); line-height: 1.7; font-size: 0.9rem; margin: 0; }
/* ── Footer ────────────────────────────────────────────────── */
footer { background: var(--ink); color: var(--paper); padding: 36px 5% 18px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; max-width: 1200px; margin: 0 auto 20px; }
footer .logo { color: #FFFFFF; }
footer .logo span { color: #4E71FF; }
footer .logo-img { filter: brightness(1.25); }
.footer-brand p { color: rgba(241,241,236,0.55); margin-top: 10px; line-height: 1.6; font-size: 0.86rem; }
.footer-brand .footer-jdg { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(241,241,236,0.08); font-size: 0.79rem; line-height: 1.55; color: rgba(241,241,236,0.5); }
.footer-brand .footer-jdg strong { color: rgba(241,241,236,0.78); font-weight: 600; }
.footer-links h4 { font-family: var(--font-display); font-size: 0.92rem; margin-bottom: 12px; font-weight: 700; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { color: rgba(241,241,236,0.55); text-decoration: none; font-size: 0.85rem; transition: color 0.25s ease; }
.footer-links a:hover { color: #9DB0FF; }
.footer-bottom { text-align: center; padding-top: 16px; border-top: 1px solid rgba(241,241,236,0.1); color: rgba(241,241,236,0.4); font-size: 0.8rem; }
/* ── Scroll animation ──────────────────────────────────────── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out-expo),
                transform 0.7s var(--ease-out-expo);
    will-change: opacity, transform;
}

.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
/* ── Cennik: kaskada kart zamiast jednego bloku ── */
.estimate-wrap:not(.visible) .estimate-card {
    opacity: 0;
    transform: translateY(28px);
}
.estimate-wrap.visible .estimate-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s var(--ease-out-expo),
                transform 0.6s var(--ease-out-expo);
    will-change: opacity, transform;
}
.estimate-wrap.visible .estimate-card:nth-child(1) { transition-delay: 0.05s; }
.estimate-wrap.visible .estimate-card:nth-child(2) { transition-delay: 0.18s; }
.estimate-wrap.visible .estimate-card:nth-child(3) { transition-delay: 0.31s; }
/* Po wejściu opóźnienie kasowane, żeby hover reagował natychmiast */
.estimate-card:hover { transition-delay: 0s !important; }
.services-grid .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.services-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.06s; }
.services-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.12s; }
.services-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.18s; }
.services-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.24s; }
.services-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.30s; }
.portfolio-grid .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.portfolio-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.portfolio-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.portfolio-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.portfolio-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.32s; }
.portfolio-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.40s; }
.testimonials-grid .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.testimonials-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
/* ── Responsive ────────────────────────────────────────────── */
.nav-cta-mobile-wrap { display: none; }
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-right { max-width: 580px; margin: 0 auto; width: 100%; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .service-card.bento-hero { grid-column: span 2; }
    .service-card.bento-wide { grid-column: span 2; }
    .bento-wide-content { grid-template-columns: 1fr; gap: 16px; }
    .contact-container { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .process-track { flex-direction: column; }
    .process-step:not(:last-child) { border-right: none; border-bottom: 1px dashed var(--line-strong); }
}

@media (max-width: 768px) {
    nav { padding: 14px 5%; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--paper); backdrop-filter: blur(16px);
        flex-direction: column; padding: 20px 5%; gap: 0;
        border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-pop);
}

    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: flex; padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--paper-deep); }
    .nav-links a::after { display: none; }
    .nav-links .nav-cta-mobile {
        display: block; margin-top: 14px; text-align: center;
        background: var(--blue); color: #fff; padding: 14px; border-radius: 10px;
        font-weight: 700; text-decoration: none; font-family: var(--font-mono); font-size: 0.85rem;
}

    .mobile-menu-btn { display: block; }
    .nav-cta { display: none; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 40px 5%; }
    .hero { padding: 110px 5% 50px; }
    section { padding: 64px 5%; }
    .services-grid { grid-template-columns: 1fr; gap: 14px; }
    .service-card.bento-hero, .service-card.bento-wide { grid-column: span 1; }
    .service-card { padding: 24px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; gap: 32px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn-primary, .hero-actions .btn-secondary { justify-content: center; width: 100%; text-align: center; }
    .spec-grid { grid-template-columns: 1fr; }
    .hero-spec-card { padding: 20px 16px; }
    .contact-form { padding: 16px 34px 24px; }
    .estimate-card { padding: 28px 22px; }
    .estimate-head { flex-direction: column; }
}

/* Polityka Prywatności */

/* ── Policy Hero ───────────────────────────────────────────── */

/* ── Subpages: first section sits directly below top spacer ── */
body > div[style*="padding-top"] + section,
body > div[style*="padding-top"] + main section:first-of-type {
    padding-top: 24px !important;
}

.policy-hero {
    padding: 84px 5% 44px;
    position: relative;
}

.policy-hero-inner {
    max-width: 1280px; margin: 0 auto;
    max-width: 640px;
}

.policy-hero .ticket-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--card); border: 1px solid var(--line);
    padding: 9px 18px; border-radius: 50px; font-size: 0.82rem;
    font-weight: 600; color: var(--ink-soft); margin-bottom: 28px;
    box-shadow: var(--shadow-card);
}

.policy-hero h1 {
    font-family: var(--font-display); font-size: clamp(2.4rem, 4.4vw, 3.6rem);
    font-weight: 800; line-height: 1.08; margin-bottom: 24px; letter-spacing: -0.02em;
}

.policy-hero h1 .hl { color: var(--blue); }
.policy-hero p {
    font-size: 1.05rem; color: var(--ink-soft); max-width: 480px; line-height: 1.75;
}

/* ── Policy Content Layout ─────────────────────────────────── */

.policy-content {
    padding: 40px 5% 100px;
}

.policy-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start;
}

/* ── Table of Contents (Sticky Sidebar) ────────────────────── */

.policy-toc {
    position: sticky; top: 100px;
}

.toc-card {
    background: var(--card); border-radius: 16px; padding: 28px 24px;
    border: 1px solid var(--line); box-shadow: var(--shadow-card);
}

.toc-card .ticket-id {
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
    color: var(--ink-faint); letter-spacing: 0.02em; display: block; margin-bottom: 16px;
}

.toc-card h3 {
    font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
    margin-bottom: 18px; letter-spacing: -0.01em;
}

.toc-card ul {
    list-style: none;
}

.toc-card li {
    margin-bottom: 4px;
}

.toc-card a {
    display: block; padding: 8px 12px; border-radius: 8px;
    color: var(--ink-soft); text-decoration: none; font-size: 0.85rem;
    font-weight: 500; transition: all 0.25s var(--ease-out-expo);
    border-left: 2px solid transparent;
}

.toc-card a:hover {
    background: var(--paper); color: var(--ink); border-left-color: var(--blue);
    padding-left: 16px;
}

/* ── Policy Body ───────────────────────────────────────────── */

.policy-body {
    display: flex; flex-direction: column; gap: 48px;
}

.policy-section {
    background: var(--card); border-radius: 18px; padding: 40px;
    border: 1px solid var(--line); box-shadow: var(--shadow-card);
    transition: all 0.4s var(--ease-out-expo);
}

.policy-section:hover {
    box-shadow: var(--shadow-card-hover); border-color: var(--line-strong);
}

.policy-section .section-tag {
    display: inline-block; font-family: var(--font-mono); color: var(--blue);
    font-size: 0.74rem; font-weight: 700; margin-bottom: 16px;
    letter-spacing: 0.06em; text-transform: uppercase;
}

.policy-section h2 {
    font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    font-weight: 800; margin-bottom: 24px; letter-spacing: -0.02em; line-height: 1.15;
}

.policy-section ol {
    list-style: none; counter-reset: policy-item;
}

.policy-section ol > li {
    position: relative; padding-left: 36px; margin-bottom: 16px;
    color: var(--ink-soft); font-size: 0.95rem; line-height: 1.75;
    counter-increment: policy-item;
}

.policy-section ol > li::before {
    content: counter(policy-item) '.';
    position: absolute; left: 0; top: 0;
    font-family: var(--font-mono); font-weight: 600; font-size: 0.8rem;
    color: var(--blue); width: 28px; text-align: right;
}

.policy-section ol ol {
    margin-top: 10px; margin-left: 0;
}

.policy-section ol ol > li {
    padding-left: 28px; margin-bottom: 8px;
}

.policy-section ol ol > li::before {
    content: counter(policy-item) '.' counter(list-item) '.';
    font-size: 0.72rem; color: var(--ink-faint);
}

.policy-section ul {
    list-style: none; margin-top: 10px;
}

.policy-section ul > li {
    position: relative; padding-left: 24px; margin-bottom: 8px;
    color: var(--ink-soft); font-size: 0.92rem; line-height: 1.65;
}

.policy-section ul > li::before {
    content: '—'; position: absolute; left: 0;
    font-family: var(--font-mono); color: var(--ink-faint); font-size: 0.8rem;
}

.policy-section a {
    color: var(--blue); text-decoration: none; font-weight: 600;
    border-bottom: 1px solid transparent; transition: border-color 0.3s ease;
}

.policy-section a:hover {
    border-bottom-color: var(--blue);
}

.policy-section b {
    color: var(--ink); font-weight: 700;
}

/* Browser links grid */

.browser-links {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    margin-top: 12px !important;
}

.browser-links li {
    padding-left: 0 !important; margin-bottom: 4px !important;
}

.browser-links li::before { display: none !important; }
.browser-links a {
    display: block; padding: 8px 14px; background: var(--paper);
    border-radius: 8px; border: 1px solid var(--line); text-align: center;
    font-size: 0.82rem !important; font-weight: 600;
    transition: all 0.3s var(--ease-out-expo);
}

.browser-links a:hover {
    background: var(--blue-soft); border-color: var(--blue); color: var(--blue);
    transform: translateY(-2px);
}

.browser-subtitle {
    font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-faint);
    text-transform: uppercase; letter-spacing: 0.06em; margin-top: 16px;
    font-weight: 600;
}

/* ── Policy Footer Note ──────────────────────────────────── */

.policy-footer-note {
    background: var(--paper-deep); border-radius: 14px; padding: 28px 32px;
    border: 1px solid var(--line); display: flex; align-items: flex-start; gap: 16px;
}

.policy-footer-note .ticket-id {
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
    color: var(--ink-faint); letter-spacing: 0.02em; flex-shrink: 0;
    background: var(--card); padding: 6px 12px; border-radius: 6px;
    border: 1px solid var(--line);
}

.policy-footer-note p {
    color: var(--ink-soft); font-size: 0.9rem; line-height: 1.7; margin: 0;
}

.policy-footer-note a {
    color: var(--blue); text-decoration: none; font-weight: 600;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1024px) {
    .policy-container { grid-template-columns: 1fr; }
    .policy-toc { position: static; margin-bottom: 32px; }
    .toc-card { padding: 20px; }
    .toc-card ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
    .browser-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .policy-hero { padding: 110px 5% 40px; }
    .policy-section { padding: 28px 22px; }
    .toc-card ul { grid-template-columns: 1fr; }
    .browser-links { grid-template-columns: 1fr; }
    .policy-footer-note { flex-direction: column; gap: 12px; }
}

/* Cookie banner */

.cookie-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 440px;
    background: #0f1012;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 99999;
    font-family: 'Manrope', sans-serif;
    color: #f1f1ec;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: cookieSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cookieSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
}

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
}
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: rgba(241, 241, 236, 0.6);
    text-transform: uppercase;
}

/* Styl kropki zgodny ze statusem na stronie */

.cookie-badge .status-dot {
    width: 7px;
    height: 7px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    display: inline-block;
}

.cookie-content h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Archivo', sans-serif;
    letter-spacing: -0.02em;
}

.cookie-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(241, 241, 236, 0.7);
}

.cookie-content p a {
    color: #4fa3ff;
    text-decoration: underline;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.cookie-content p a:hover {
    opacity: 0.8;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

/* Przyciski w klimacie ZwinnaStrona */

.cookie-btn {
    padding: 10px 16px;
    font-size: 13px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    flex: 1;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Manrope', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#btnCookieAccept {
    background: #ffffff;
    color: #0b0b0c;
    border: 1px solid #ffffff;
}

#btnCookieAccept:hover {
    background: #f1f1ec;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

#btnCookieReject {
    background: rgba(255, 255, 255, 0.05);
    color: #f1f1ec;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

#btnCookieReject:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .cookie-banner {
        bottom: 12px;
        right: 12px;
        left: 12px;
        max-width: none;
        padding: 18px;
    }

    .cookie-actions {
        flex-direction: column;
    }
}

/* ── Scroll to top button ──────────────────────────────────── */
.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: var(--blue, #2540E0);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.25s ease, transform 0.25s var(--ease-out-quart), background 0.2s ease, box-shadow 0.2s ease;
    z-index: 990;
    box-shadow: 0 4px 14px rgba(18, 20, 23, 0.16), 0 1px 3px rgba(18, 20, 23, 0.08);
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--blue-hover, #1C33B8);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 64, 224, 0.32), 0 2px 6px rgba(18, 20, 23, 0.12);
}

.scroll-top:active {
    transform: translateY(0);
}

.scroll-top:focus-visible {
    outline: 2px solid var(--blue, #2540E0);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}
/* ── Cennik (Bento Pricing Cards) ─────────────────────────── */
.estimate-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    max-width: 1240px;
    margin: 40px auto 0;
    padding: 0;
}

@media (max-width: 1024px) {
    .estimate-wrap {
        grid-template-columns: 1fr;
        max-width: 580px;
        gap: 20px;
    }
}

.estimate-card {
    position: relative;
    background: var(--card);
    border-radius: 18px;
    padding: 32px 28px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s var(--ease-out-quart), box-shadow 0.25s ease, border-color 0.25s ease;
}

.estimate-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--line-strong);
}

.estimate-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--paper-deep);
}

.estimate-head h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
    letter-spacing: -0.015em;
}

.estimate-head p {
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin: 0;
}

.estimate-price {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--blue);
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--paper-deep);
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--ink-soft);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    color: var(--green);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing-features li strong {
    color: var(--ink);
    font-weight: 600;
}

.support-section {
    background: var(--paper);
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    border-left: 3px solid var(--blue);
}

.support-section h4 {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    color: var(--ink);
    font-weight: 700;
}

.support-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.support-section li {
    font-size: 0.8rem;
    margin-bottom: 4px;
    color: var(--ink-soft);
    line-height: 1.4;
}

.support-section li strong {
    color: var(--ink);
}

.estimate-note {
    font-size: 0.8rem;
    color: var(--ink-faint);
    line-height: 1.45;
    margin-bottom: 18px;
}

.pricing-btn {
    width: 100%;
    padding: 13px 20px;
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s var(--ease-out-quart), box-shadow 0.2s ease;
    box-shadow: 0 1px 2px rgba(18, 20, 23, 0.08);
    font-family: var(--font-body);
}

.pricing-btn:hover {
    background: var(--blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(18, 20, 23, 0.12);
}

.section-header {
    margin-bottom: 40px;
}

.page-cennik #cennik {
    padding-top: 40px;
}

.page-cennik {
    padding-top: 0 !important;
}

/* Nagłówek karty cennika */
.estimate-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
}

.estimate-head > div {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.estimate-price {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    margin-top: 0 !important;
    text-align: right !important;
}

/* Artykuły i blog */

/* ── Lista artykułów (artykuly.html) ── */
.articles-grid { max-width: 1200px; }
.article-card { display: flex; flex-direction: column; }
.article-card.is-hidden { display: none !important; }
.article-meta {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-faint);
    margin-bottom: 12px; padding-top: 12px; border-top: 1px solid var(--paper-deep);
}
.article-meta .dot-sep { color: var(--line-strong); }
.article-card h3 { margin-top: 0 !important; }
.article-excerpt { flex-grow: 1; }
.article-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px; font-weight: 700; font-size: 0.88rem;
    color: var(--blue); text-decoration: none;
}
.article-link span { transition: transform 0.3s var(--ease-out-back); }
.article-link:hover span { transform: translateX(4px); }
/* ── Filtr kategorii (opcjonalny) ── */
.articles-filter {
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center; margin: 0 auto 40px; max-width: 1200px;
}
.filter-btn {
    background: #FFFFFF; border: 1px solid var(--line); color: var(--ink-soft);
    padding: 9px 20px; border-radius: 50px; font-family: var(--font-mono);
    font-size: 0.76rem; font-weight: 600; cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(20, 22, 27, 0.02);
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }
.filter-btn.active { background: var(--blue); border-color: var(--blue); color: #FFFFFF; box-shadow: 0 4px 12px rgba(37, 64, 224, 0.24); }
/* ─- Strona artykułu (artykul-X.html) ── */
.article-hero { padding: 90px 0 32px; }
.article-hero-inner {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}
.article-back {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600;
    color: var(--ink-soft); text-decoration: none; margin-bottom: 28px;
    transition: color 0.3s ease;
}
.article-back:hover { color: var(--blue); }
.article-head-meta {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    margin-bottom: 20px;
}
.article-head-meta .article-date {
    font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-faint);
}
.article-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.8vw, 2.9rem);
    font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
    margin-bottom: 22px;
}
.article-hero h1 .hl { color: var(--blue); }
.article-lead {
    font-size: 1.05rem; color: var(--ink-soft); line-height: 1.8;
    padding-bottom: 28px; border-bottom: 1px dashed var(--line-strong);
}

.article-body {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 40px 24px 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
}
.article-body h2 {
    font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 800; letter-spacing: -0.02em; line-height: 1.2;
    margin-top: 16px;
}
.article-body h3 {
    font-family: var(--font-display); font-size: 1.15rem;
    font-weight: 700; letter-spacing: -0.01em; margin-top: 8px;
}
.article-body p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.85; }
.article-body p strong, .article-body li strong { color: var(--ink); }
.article-body ul {
    list-style: none; background: var(--card); border: 1px solid var(--line);
    border-radius: 14px; padding: 22px 26px; box-shadow: var(--shadow-card);
}
.article-body ul li {
    position: relative; padding-left: 26px; margin-bottom: 12px;
    color: var(--ink-soft); font-size: 0.94rem; line-height: 1.7;
}
.article-body ul li:last-child { margin-bottom: 0; }
.article-body ul li::before {
    content: '✓'; position: absolute; left: 0; top: 1px;
    color: var(--green); font-weight: 700; font-size: 0.85rem;
}
.article-body a { color: var(--blue); font-weight: 600; }
/* ── CTA na końcu artykułu ── */
.article-cta {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 24px 100px;
    box-sizing: border-box;
}
.article-cta-inner {
    background: var(--ink); color: var(--paper); border-radius: 18px;
    padding: 44px 40px; text-align: center; position: relative; overflow: hidden;
}
.article-cta-inner::before {
    content: ''; position: absolute; top: -60px; right: -60px;
    width: 200px; height: 200px; border-radius: 50%;
    background: rgba(37, 64, 224, 0.2); filter: blur(40px);
}
.article-cta-inner h2 {
    font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px;
    position: relative;
}
.article-cta-inner p {
    color: rgba(241,241,236,0.7); font-size: 0.98rem; line-height: 1.7;
    max-width: 520px; margin: 0 auto 26px; position: relative;
}
.article-cta-inner a {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--blue); color: #fff; padding: 14px 28px;
    border-radius: 10px; text-decoration: none; font-weight: 700;
    font-size: 0.95rem; transition: all 0.3s var(--ease-out-back);
    position: relative;
}
.article-cta-inner a:hover { background: var(--blue-hover); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(18, 20, 23, 0.16); }
@media (max-width: 768px) {
    .article-hero { padding: 110px 0 30px; }
    .article-cta-inner { padding: 32px 22px; }
}

/* Obszar działania (mapa SVG i lista miast) */
.area-section {
    padding: 84px 5%;
    position: relative;
    border-top: 1px solid var(--line);
    background: #FFFFFF;
}
.area-wrapper {
    max-width: 1220px;
    margin: 0 auto;
}
.area-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}
.area-header-top {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: end;
}
.area-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.1vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 8px 0 0;
    color: var(--ink);
}
.area-copy p {
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.7;
    margin: 0;
}
.area-copy p strong {
    color: var(--ink);
    font-weight: 700;
}
.area-controls-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}
.area-region-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.area-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--ink-soft);
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none !important;
}
.area-tab .tab-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line-strong);
    transition: background 0.28s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.area-tab:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(18, 20, 23, 0.08);
}
.area-tab.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(18, 20, 23, 0.12);
    transform: translateY(-2px);
}
.area-tab.active .tab-dot {
    background: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.85);
}
.area-more-link {
    margin: 0 !important;
    font-size: 0.86rem !important;
}
.area-more-link a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease;
}
.area-more-link a:hover {
    text-decoration: underline;
    transform: translateX(3px);
}

/* ── Główny układ: Mapa po lewej, Karta z miastami po prawej (zero nachodzenia) ── */
.area-main-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 28px;
    align-items: stretch;
}
.area-map-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}
.area-map-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 600 / 520;
    max-height: 410px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Reset obrysu focus dla mapy SVG */
.area-poland-svg,
.area-poland-svg *,
.voivodeships-layer,
.voivodeship-path,
.voivodeship-path:focus,
.voivodeship-path:focus-visible,
.voivodeship-path:active,
.map-dot,
.map-dot:focus,
.map-dots-group {
    outline: none !important;
    outline-style: none !important;
    outline-width: 0 !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}

.area-poland-svg {
    width: 100%;
    height: 100%;
    max-height: 400px;
    overflow: visible;
}

/* Stylizacja województw */
.voivodeship-path {
    fill: #EDEBE4;
    stroke: #FFFFFF;
    stroke-width: 2;
    stroke-linejoin: round;
    transition: fill 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease, opacity 0.35s ease;
    transform-origin: center;
    transform-box: fill-box;
    cursor: default;
}

/* Województwa aktywne */
.voivodeship-path.is-selectable {
    fill: #373E4D;
    stroke: #FFFFFF;
    stroke-width: 2.2;
    cursor: pointer;
    filter: drop-shadow(0 4px 12px rgba(15, 23, 42, 0.14));
}
.voivodeship-path.is-selectable:hover {
    fill: #4B63EB;
    transform: scale(1.02);
    filter: drop-shadow(0 8px 22px rgba(42, 70, 232, 0.32));
}

/* Wybrane aktywne województwo */
.voivodeship-path.is-active {
    fill: var(--blue) !important;
    stroke: #FFFFFF;
    stroke-width: 2.8;
    transform: scale(1.025);
    filter: drop-shadow(0 14px 30px rgba(42, 70, 232, 0.44));
}

/* Kropki miast na mapie */
.map-dots-group {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.map-dots-group.is-active {
    opacity: 1;
    pointer-events: auto;
}
.map-dot-item {
    opacity: 0;
    transform-origin: center;
    transform-box: fill-box;
}
.map-dots-group.is-active .map-dot-item {
    animation: mapDotSpringPop 0.52s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: var(--dot-delay, 0s);
}

@keyframes mapDotSpringPop {
    0% {
        opacity: 0;
        transform: scale(0) translateY(12px);
}
    60% {
        opacity: 1;
        transform: scale(1.35) translateY(-2px);
}
    82% {
        transform: scale(0.9) translateY(1px);
}
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
}
}

.map-dot {
    fill: #FFFFFF;
    stroke: #0F172A;
    stroke-width: 1.6;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), fill 0.2s ease, stroke 0.2s ease, filter 0.2s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
}
.map-dot-main {
    fill: #FEF08A;
    stroke: #B45309;
    stroke-width: 2.4;
    filter: drop-shadow(0 0 8px rgba(254, 240, 138, 0.9));
}
.map-dot:hover {
    fill: #22C55E;
    stroke: #FFFFFF;
    stroke-width: 2;
    transform: scale(1.85);
    filter: drop-shadow(0 0 12px rgba(34, 197, 94, 0.9));
}
.map-dot-main:hover {
    fill: #FDE047;
    stroke: #FFFFFF;
    stroke-width: 2.2;
    transform: scale(1.85);
    filter: drop-shadow(0 0 14px rgba(253, 224, 71, 0.95));
}
.map-dot-pulse {
    fill: rgba(255, 255, 255, 0.55);
    pointer-events: none;
    animation: mapPulse 2.2s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
    transform-origin: center;
    transform-box: fill-box;
}
@keyframes mapPulse {
    0% {
        transform: scale(0.5);
        opacity: 0.95;
}
    50% {
        opacity: 0.4;
}
    100% {
        transform: scale(2.9);
        opacity: 0;
}
}

.area-map-Caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--paper-deep);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-soft);
}
.area-map-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    color: var(--ink);
    transition: color 0.2s ease;
}
.area-map-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px var(--green-soft);
}

/* Karta z listą miast */
.area-cities-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px 30px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 468px;
}
.area-cities-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--paper-deep);
}
.area-cities-card-head h3 {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0;
}
.area-cities-count {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--blue);
    background: var(--blue-soft);
    padding: 4px 11px;
    border-radius: 50px;
}
.area-cities-panels {
    position: relative;
    flex: 1;
    display: flex;
    align-items: flex-start;
}
.area-cities-list {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 14px;
}
.area-cities-list.active {
    display: grid;
    animation: areaListIn 0.3s ease both;
}
.area-cities-list.active li {
    animation: cityItemSlideIn 0.36s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.area-cities-list.active li:nth-child(1) { animation-delay: 0.015s; }
.area-cities-list.active li:nth-child(2) { animation-delay: 0.030s; }
.area-cities-list.active li:nth-child(3) { animation-delay: 0.045s; }
.area-cities-list.active li:nth-child(4) { animation-delay: 0.060s; }
.area-cities-list.active li:nth-child(5) { animation-delay: 0.075s; }
.area-cities-list.active li:nth-child(6) { animation-delay: 0.090s; }
.area-cities-list.active li:nth-child(7) { animation-delay: 0.105s; }
.area-cities-list.active li:nth-child(8) { animation-delay: 0.120s; }
.area-cities-list.active li:nth-child(9) { animation-delay: 0.135s; }
.area-cities-list.active li:nth-child(10) { animation-delay: 0.150s; }
.area-cities-list.active li:nth-child(11) { animation-delay: 0.165s; }
.area-cities-list.active li:nth-child(12) { animation-delay: 0.180s; }
.area-cities-list.active li:nth-child(13) { animation-delay: 0.195s; }
.area-cities-list.active li:nth-child(14) { animation-delay: 0.210s; }
.area-cities-list.active li:nth-child(15) { animation-delay: 0.225s; }
.area-cities-list.active li:nth-child(16) { animation-delay: 0.240s; }
.area-cities-list.active li:nth-child(17) { animation-delay: 0.255s; }
.area-cities-list.active li:nth-child(18) { animation-delay: 0.270s; }
.area-cities-list.active li:nth-child(19) { animation-delay: 0.285s; }
.area-cities-list.active li:nth-child(20) { animation-delay: 0.300s; }
.area-cities-list.active li:nth-child(21) { animation-delay: 0.315s; }
.area-cities-list.active li:nth-child(22) { animation-delay: 0.330s; }
.area-cities-list.active li:nth-child(23) { animation-delay: 0.345s; }
.area-cities-list.active li:nth-child(24) { animation-delay: 0.360s; }
.area-cities-list.active li:nth-child(25) { animation-delay: 0.375s; }
@keyframes areaListIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes cityItemSlideIn {
    0% {
        opacity: 0;
        transform: translateY(8px);
}
    100% {
        opacity: 1;
        transform: translateY(0);
}
}

.area-cities-list li {
    margin: 0;
    min-width: 0;
}
.area-cities-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.82rem;
    line-height: 1.35;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.area-cities-list a span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}
.area-cities-list a:hover {
    color: var(--blue);
    background: #FFFFFF;
    border-color: var(--line-strong);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(18, 20, 23, 0.06);
}
.area-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    font-size: 0.64rem;
    font-weight: 800;
    flex-shrink: 0;
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.area-cities-list a:hover .area-check {
    background: var(--blue);
    color: #FFFFFF;
    transform: scale(1.18) rotate(6deg);
    box-shadow: 0 2px 6px rgba(37, 64, 224, 0.25);
}
.area-cities-card-foot {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--ink-faint);
}
.area-cities-card-foot a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}
.area-cities-card-foot a:hover {
    text-decoration: underline;
}

/* ── Responsywność (Mobile-First / Tablet / Phone) ── */
@media (max-width: 1024px) {
    .area-header-top {
        grid-template-columns: 1fr;
        gap: 14px;
}
    .area-main-grid {
        grid-template-columns: 1fr;
}
    .area-cities-card {
        min-height: unset;
}
}
@media (max-width: 680px) {
    .area-section {
        padding: 56px 5%;
}
    .area-cities-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
}
    .area-cities-card {
        padding: 20px 18px;
}
    .area-map-card {
        padding: 18px;
}
    .area-map-Caption {
        flex-direction: column;
        align-items: flex-start;
}
}
@media (max-width: 440px) {
    .area-cities-list {
        grid-template-columns: 1fr;
}
    .area-tab {
        padding: 8px 14px;
        font-size: 0.72rem;
}
}

/* ── Hub katalogu miast (tworzenie-stron-internetowych/) ── */
.hub-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px 80px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.hub-region-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 36px;
    box-shadow: var(--shadow-card);
}
.hub-region-head {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--paper-deep);
    padding-bottom: 16px;
}
.hub-region-head h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
}
.hub-grid-3 {
    display: grid !important;
    column-count: unset !important;
    gap: 10px 28px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
}
