/* EKO-INSTAL — arkusz stylów (bez zależności, bez zewnętrznych fontów) */
:root {
  color-scheme: light;
  --navy: #0c2d5e;
  --navy-900: #071d3f;
  --blue: #1270b8;
  --blue-500: #1683d6;
  --sky: #e8f4fd;
  --sky-200: #cfe6f7;
  --orange: #c2410c;
  --orange-600: #9a3412;
  --ink: #0f172a;
  --muted: #475569;
  --line: #dbe5ef;
  --bg: #ffffff;
  --bg-alt: #f5f9fd;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(12 45 94 / .06), 0 8px 24px rgb(12 45 94 / .08);
  --wrap: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --step--1: clamp(.875rem, .85rem + .1vw, .94rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.1rem + .45vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.25rem + .9vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.9vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: var(--step-0); line-height: 1.65; color: var(--ink); background: var(--bg); }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; color: var(--navy); text-wrap: balance; margin: 0 0 .6em; }
h1 { font-size: var(--step-3); letter-spacing: -.02em; }
h2 { font-size: var(--step-2); letter-spacing: -.01em; }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px; font-weight: 700; font-size: var(--step-0); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-600); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--sky-200); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky); color: var(--navy); }

/* Header */

.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.brand img { width: 39px; height: 48px; }
.brand-name { display: grid; line-height: 1.1; }
.brand-name strong { font-size: 1.2rem; letter-spacing: .04em; }
.brand-name span { font-size: .8rem; color: var(--muted); }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.nav a:not(.btn) { display: block; padding: .55rem .8rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background: var(--sky); color: var(--navy); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; inset: 100% 0 auto 0; display: none; flex-direction: column; align-items: stretch; gap: .5rem; padding: 1rem 1.25rem 1.5rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav a:not(.btn) { padding: .85rem 1rem; border-radius: var(--radius-sm); }
}

/* Hero */
.hero { background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--sky-200); color: var(--navy); font-weight: 700; font-size: var(--step--1); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgb(22 163 74 / .2); }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; padding: 0; margin: 1.75rem 0 0; color: var(--navy); font-weight: 600; font-size: var(--step--1); }
.hero-points li { display: flex; align-items: center; gap: .4rem; }
.hero-points svg { width: 1.15rem; height: 1.15rem; color: #16a34a; }
.hero-art { border-radius: 32px; box-shadow: var(--shadow); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero-art { max-width: min(100%, 560px); } }

.page-hero { background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-hero .wrap { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.page-hero .icon-badge { width: 120px; height: 120px; border-radius: 28px; }
.page-hero .icon-badge svg { width: 64px; height: 64px; }
@media (max-width: 700px) { .page-hero .wrap { grid-template-columns: minmax(0, 1fr); } .page-hero .icon-badge { display: none; } }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0 0 1rem; font-size: var(--step--1); color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: .35rem; color: #94a3b8; }
.breadcrumbs a { color: var(--muted); }

/* Sections */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: var(--step-1); }
.kicker { display: block; color: var(--orange); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: var(--step--1); margin-bottom: .5rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }

.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.card .more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card:has(.more):hover { transform: translateY(-3px); border-color: var(--blue-500); box-shadow: 0 12px 32px rgb(12 45 94 / .14); }

.icon-badge { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--sky); color: var(--blue); margin-bottom: 1.1rem; flex: none; }
.icon-badge svg { width: 30px; height: 30px; }
.icon-badge.hot { background: #fff1e8; color: var(--orange); }

.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.features li { display: flex; gap: 1rem; align-items: flex-start; }
.features .icon-badge { margin: 0; }
.features h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.features p { color: var(--muted); margin: 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: .9rem; }
.steps h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.steps p { color: var(--muted); margin: 0; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .65rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231270b8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / .85rem no-repeat; }

.prose { max-width: 70ch; }
.prose h2 { margin-top: 2rem; }

.aside-card { background: var(--navy); color: #e2ecf8; border-radius: var(--radius); padding: 1.75rem; position: sticky; top: 96px; }
.aside-card h2, .aside-card h3 { color: #fff; }
.aside-card a:not(.btn) { color: #fff; }
.aside-card .btn { width: 100%; margin-top: .6rem; }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .layout-aside { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* Area */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1rem 0 1.5rem; }
.chips li { padding: .4rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--navy); font-size: var(--step--1); }
.map-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
@media (max-width: 900px) { .area { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: .75rem; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.25rem; }
.faq details[open] { border-color: var(--blue-500); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 700; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font-size: 1.5rem; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 1.1rem; margin: 0; }

/* CTA band */
.cta-band { background: radial-gradient(circle at 85% 20%, #1e4f94 0, transparent 45%), var(--navy); color: #dbeafe; border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; font-size: var(--step-1); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.contact-list .icon-badge { margin: 0; }
.contact-list small { display: block; color: var(--muted); font-size: var(--step--1); }
.contact-list a, .contact-list strong { font-size: var(--step-1); font-weight: 700; color: var(--navy); text-decoration: none; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: var(--navy-900); color: #b8c7dd; padding-block: 3.5rem 6rem; font-size: var(--step--1); }
.site-footer .grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #e2ecf8; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer .logo { width: 140px; height: auto; margin-bottom: 1rem; background: #fff; border-radius: 16px; padding: 10px; }
.site-footer .copy { border-top: 1px solid rgb(255 255 255 / .12); margin-top: 2.5rem; padding-top: 1.5rem; }
@media (max-width: 800px) { .site-footer .grid { grid-template-columns: 1fr; } }

/* Mobile call bar */
.callbar { position: fixed; inset: auto 0 0 0; z-index: 60; display: flex; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .96); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgb(12 45 94 / .1); }
.callbar .btn { flex: 1; padding-inline: .5rem; }
.callbar-num { display: none; }
@media (min-width: 901px) {
  .callbar { inset: auto 1.5rem 1.5rem auto; padding: .5rem; border: 1px solid var(--line); border-radius: 999px; }
  .callbar .btn { flex: none; padding-inline: 1.25rem; }
  .callbar-num { display: inline; }
}

.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-2 { margin-top: 2rem; }

@media print { .site-header, .callbar, .nav-toggle { display: none !important; } body { font-size: 12pt; } }
