/* Elektryka Szybko — statyczny CSS, bez frameworków */

:root {
  --navy: #0d2337;
  --navy-2: #143452;
  --ink: #17242e;
  --body: #3d4d5a;
  --line: #e2e8ee;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --accent: #f5a524;
  --accent-dark: #c97f0a;
  --wa: #1faf54;
  --wa-dark: #158b41;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(13, 35, 55, .06), 0 8px 24px rgba(13, 35, 55, .07);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  padding-bottom: 72px; /* miejsce na mobilny pasek CTA */
}

h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 4.6vw, 2.85rem); }
h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); }
h3 { font-size: 1.06rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-2); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }

svg { fill: currentColor; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: inherit; font-weight: 700; line-height: 1;
  padding: 14px 22px; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }

.btn-call { background: var(--navy); color: #fff; }
.btn-call:hover { background: var(--navy-2); color: #fff; }

.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-on-dark { border-color: rgba(255,255,255,.65); color: #fff; }
.btn-on-dark:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn-ghost { padding: 10px 16px; color: var(--navy); background: #eef3f8; }
.btn-ghost:hover { background: var(--navy); color: #fff; }

.btn-block { display: flex; width: 100%; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cta-center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 66px; }

.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--navy); margin-right: auto; }
.logo-mark { width: 26px; height: 26px; color: var(--accent); flex: none; }
.logo-text { font-weight: 500; font-size: 1.12rem; letter-spacing: -.02em; }
.logo-text strong { font-weight: 800; }

.site-nav { display: none; gap: 22px; }
.site-nav a { color: var(--body); text-decoration: none; font-weight: 600; font-size: .96rem; }
.site-nav a:hover { color: var(--navy); }

.header-cta { display: none; }

@media (min-width: 860px) {
  .site-nav { display: flex; }
  .header-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(245,165,36,.16), transparent 60%),
    linear-gradient(180deg, #f7fafd, #ffffff);
  border-bottom: 1px solid var(--line);
  padding: 44px 0 52px;
}
.hero-inner { display: grid; gap: 32px; }

.eyebrow {
  display: inline-block; margin: 0 0 14px;
  font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent-dark); background: rgba(245,165,36,.14);
  padding: 6px 12px; border-radius: 999px;
}

.lead { font-size: 1.1rem; color: var(--body); max-width: 62ch; }

.hero-facts { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 10px; }
.hero-facts li { position: relative; padding-left: 30px; font-size: .99rem; }
.hero-facts li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); box-shadow: inset 0 0 0 4px #fff;
}
.hero-facts strong { color: var(--ink); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}

.quick-card { align-self: start; }
.quick-title { font-size: 1.16rem; margin-bottom: .3em; }
.quick-sub { font-size: .95rem; }
.quick-list { margin: 0 0 18px; padding-left: 20px; font-size: .97rem; }
.quick-list li { margin-bottom: 4px; }
.quick-note { margin-top: 12px; font-size: .85rem; color: #6b7c8a; text-align: center; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { margin-bottom: .35em; }
.section-sub { color: #63737f; margin-bottom: 30px; }

.strip { background: var(--navy); color: #cfdcea; padding: 34px 0; }
.strip h3 { color: #fff; margin: 12px 0 6px; }
.strip p { font-size: .93rem; margin: 0; }
.feat svg { width: 26px; height: 26px; color: var(--accent); }

.grid-3, .grid-4 { display: grid; gap: 18px; }

.svc h3 { color: var(--navy); }
.svc p { font-size: .96rem; margin: 0; }

.note {
  margin-top: 26px; padding: 14px 18px; font-size: .93rem; color: #5b6b78;
  border-left: 4px solid var(--accent); background: var(--bg-alt); border-radius: 0 8px 8px 0;
}

/* ---------- Cena ---------- */
.price-wrap { display: grid; gap: 30px; align-items: start; }

.steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 14px; }
.steps span {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700;
  display: grid; place-items: center; font-size: .95rem;
}
.steps h3 { margin: 4px 0 2px; }
.steps p { font-size: .95rem; margin: 0; }

.price-card { background: #fff; text-align: center; position: sticky; top: 86px; }
.price-label { font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 4px; }
.price-value { font-size: 3rem; font-weight: 800; color: var(--ink); line-height: 1; margin: 0 0 18px; }
.price-value span { font-size: 1.2rem; font-weight: 700; }
.price-list { list-style: none; margin: 0 0 18px; padding: 0; text-align: left; display: grid; gap: 8px; }
.price-list li { position: relative; padding-left: 28px; font-size: .97rem; }
.price-list li::before {
  content: ""; position: absolute; left: 4px; top: .35em;
  width: 12px; height: 7px; border-left: 2.5px solid var(--wa); border-bottom: 2.5px solid var(--wa);
  transform: rotate(-45deg);
}
.price-note { font-size: .86rem; color: #6b7c8a; margin-bottom: 18px; }

/* ---------- Obszar ---------- */
.area-wrap { display: grid; gap: 30px; align-items: center; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; padding: 0; }
.pills li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-weight: 700; color: var(--navy); font-size: .95rem;
  box-shadow: 0 1px 2px rgba(13,35,55,.05);
}
.hours { margin-top: 18px; }
.hours strong { color: var(--ink); }
.map-card { padding: 14px; }
.map { display: block; width: 100%; height: auto; border-radius: 10px; }
.map-note { font-size: .82rem; color: #7b8b98; text-align: center; margin: 10px 0 0; }

/* ---------- O mnie ---------- */
.about { max-width: 780px; }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: .4em;
  width: 13px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  padding: 0 18px; margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 34px 16px 0;
  list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 22px;
  width: 9px; height: 9px; border-right: 2.5px solid var(--accent-dark); border-bottom: 2.5px solid var(--accent-dark);
  transform: rotate(45deg); transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 25px; }
.faq details p { padding-bottom: 18px; font-size: .97rem; margin: 0; }

/* ---------- CTA końcowe ---------- */
.cta-final {
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  color: #d6e3f0; padding: 56px 0; text-align: center;
}
.cta-final h2 { color: #fff; max-width: 22ch; margin: 0 auto .5em; }
.cta-final p { font-size: .97rem; }
.cta-final-inner { display: grid; justify-items: center; }

/* ---------- Stopka ---------- */
.site-footer { background: #0a1b2b; color: #b7c6d5; padding: 44px 0 22px; font-size: .93rem; }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: .6em; }
.site-footer a { color: #e4ecf4; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; gap: 26px; }
.footer-logo { color: #fff; font-size: 1.1rem; font-weight: 500; margin-bottom: .5em; }
.footer-logo strong { font-weight: 800; }
.muted { color: #97a8b8; }
.social { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; }
.social svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { font-size: .82rem; }

/* ---------- Mobilny pasek CTA ---------- */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 18px rgba(13,35,55,.09);
}
.mobile-bar .btn { flex: 1; padding: 13px 10px; }

/* ---------- Breakpointy ---------- */
@media (min-width: 620px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-facts { grid-template-columns: 1fr; }
}

@media (min-width: 860px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .hero { padding: 68px 0 76px; }
  .hero-inner { grid-template-columns: 1.35fr .9fr; gap: 44px; align-items: start; }
  .section { padding: 74px 0; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .price-wrap { grid-template-columns: 1.3fr .85fr; gap: 44px; }
  .area-wrap { grid-template-columns: 1fr 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .site-header, .mobile-bar, .cta-row { display: none; }
}
