/* Kostkonauta — styl: kosmiczny granat + pomarańcz skafandra. */
:root {
  --space: #0b1226;
  --space-2: #121d3d;
  --ink: #1c2336;
  --muted: #5a6378;
  --line: #e3e7f0;
  --bg: #ffffff;
  --bg-alt: #f3f5fa;
  --orange: #ff6b35;
  --orange-d: #e4571f;
  --cyan: #67e0e3;
  --star: rgba(255, 255, 255, .8);
  --radius: 6px;
  --shadow: 0 10px 30px rgba(11, 18, 38, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: "Karla", system-ui, sans-serif; color: var(--ink);
  background: var(--bg); font-size: 17px; line-height: 1.65;
}
h1, h2, h3, .btn, .brand { font-family: "Space Grotesk", sans-serif; }
h1 { font-size: clamp(1.7rem, 4.2vw, 2.7rem); line-height: 1.15; margin: .4em 0; }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.2; margin: 0 0 .6em; }
h3 { font-size: 1.12rem; margin: 0 0 .35em; }
p { margin: .5em 0 1em; }
a { color: var(--orange-d); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.icn { width: 1.15em; height: 1.15em; vertical-align: -0.2em; }

/* gwiazdy --------------------------------------------------------------- */
.stars { position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 28%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 72%, var(--star) 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 41% 18%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 60%, var(--star) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 67% 32%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 80%, var(--star) 50%, transparent 51%),
    radial-gradient(1.7px 1.7px at 88% 22%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 55%, var(--star) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 6% 64%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 48% 88%, var(--star) 50%, transparent 51%);
  opacity: .7;
}

/* header ---------------------------------------------------------------- */
.hdr { position: sticky; top: 0; z-index: 60; background: #fff;
  border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--ink); padding: 8px 12px; border-radius: 6px; font-weight: 600; font-size: .95rem; }
.nav a:hover { background: var(--bg-alt); text-decoration: none; }
.nav a.on { color: var(--orange-d); }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  border-radius: 8px; padding: 11px 22px; border: 2px solid transparent;
  cursor: pointer; font-size: 1rem; text-decoration: none !important; }
.btn-main { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(255, 107, 53, .35); }
.btn-main:hover { background: var(--orange-d); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.page-hero .btn-ghost, .hero .btn-ghost { color: #fff; }
.btn-call { background: var(--space); color: #fff; }
.btn-call:hover { background: var(--space-2); }
.burger { display: none; font-size: 1.5rem; background: none; border: 0; cursor: pointer; }

/* hero ------------------------------------------------------------------ */
.hero, .page-hero { position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(120% 140% at 80% -20%, #233666 0%, var(--space-2) 45%, var(--space) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px;
  align-items: center; padding: 64px 20px 72px; position: relative; }
.page-hero .wrap { padding: 56px 20px 60px; position: relative; }
.hero h1 em, .page-hero h1 em { color: var(--cyan); font-style: normal; }
.hero .lead, .page-hero .lead { font-size: 1.1rem; color: #cfd8ef; max-width: 60ch; }
.page-hero a { color: var(--cyan); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  padding: 6px 14px; border-radius: 6px; color: var(--cyan); }
.sec .kicker, .calc-sec .kicker { background: var(--space); color: var(--cyan); border: 0; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0 8px; }
.hero-proof { list-style: none; display: flex; gap: 28px; padding: 0; margin: 26px 0 0; flex-wrap: wrap; }
.hero-proof li { font-size: .92rem; color: #aeb9d6; }
.hero-proof strong { display: block; font-size: 1.5rem; color: #fff; font-family: "Space Grotesk", sans-serif; }
.hero-img img { border-radius: 8px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .15); }

/* sekcje ----------------------------------------------------------------- */
.sec { padding: 56px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-lead { max-width: 70ch; color: var(--muted); }
.article { max-width: 78ch; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; color: var(--ink); display: flex; flex-direction: column; gap: 6px;
  transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card-icn { width: 34px; height: 34px; color: var(--orange); }
.card-price { font-weight: 700; color: var(--space); font-family: "Space Grotesk", sans-serif; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step-no { display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: 10px; background: var(--space); color: var(--cyan); font-weight: 700;
  font-family: "Space Grotesk", sans-serif; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: .93rem; margin: 0; }

/* cennik / tabela --------------------------------------------------------- */
.price-table { width: 100%; border-collapse: collapse; margin: 18px 0 8px; background: #fff;
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(11,18,38,.06); }
.price-table th, .price-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--space); color: #fff; font-family: "Space Grotesk", sans-serif; font-size: .95rem; }
.price-table td:last-child { font-weight: 700; white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }
.disclaimer { font-size: .82rem; color: var(--muted); max-width: 80ch; }

/* kalkulator -------------------------------------------------------------- */
.calc-sec { position: relative; padding: 64px 0; color: #fff; overflow: hidden;
  background: radial-gradient(110% 130% at 15% -10%, #233666 0%, var(--space-2) 50%, var(--space) 100%); }
.calc-sec .wrap { position: relative; }
.calc-head h2 { margin-top: 14px; }
.calc-head p { color: #cfd8ef; max-width: 68ch; }
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; margin-top: 26px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px; padding: 26px; backdrop-filter: blur(4px); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 600; }
.fld input, .fld select, .fld textarea { font: inherit; padding: 11px 12px; border-radius: 6px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
.calc .chk { display: flex; gap: 10px; align-items: center; font-size: .95rem; grid-column: 1 / -1; }
.calc .chk input { width: 18px; height: 18px; accent-color: var(--orange); }
.calc-out { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.calc-price { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700; color: var(--cyan); }
.calc-price sup { color: var(--orange); font-size: .6em; }
.calc-breakdown { font-size: .9rem; color: #cfd8ef; }
.calc-breakdown span { display: block; }
.calc-sec .disclaimer { color: #9aa7c7; }
.calc-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

/* miasta ------------------------------------------------------------------ */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px; margin: 20px 0; }
.city-grid a { background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 10px 14px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.city-grid a:hover { border-color: var(--orange); color: var(--orange-d); text-decoration: none; }
.sec-alt .city-grid a { background: #fff; }
.inline-links { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-links a { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 16px; color: var(--ink); font-weight: 600; font-size: .93rem; }
.inline-links a:hover { border-color: var(--orange); color: var(--orange-d); text-decoration: none; }

/* FAQ ---------------------------------------------------------------------- */
.faq-list { max-width: 80ch; }
.faq-item { border: 1px solid var(--line); border-radius: 6px; margin-bottom: 10px;
  background: #fff; padding: 0 18px; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0;
  font-family: "Space Grotesk", sans-serif; list-style: none; position: relative; padding-right: 30px; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 12px;
  color: var(--orange); font-size: 1.3rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); margin-top: 0; }

/* formularz ------------------------------------------------------------------ */
.form-sec { padding: 64px 0; background: var(--bg-alt); }
.form-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: start; }
.form-or { color: var(--muted); }
.form-intro .kicker { background: var(--space); color: var(--cyan); border: 0; margin-bottom: 14px; }
.trust { list-style: none; padding: 0; margin: 22px 0; display: flex; flex-direction: column; gap: 12px; }
.trust li { display: flex; gap: 11px; align-items: flex-start; font-size: .98rem; line-height: 1.45; }
.trust .icn { color: var(--orange); width: 22px; height: 22px; flex: none; margin-top: 1px; }
.trust strong { font-weight: 700; }
.form-card { display: flex; gap: 16px; align-items: center; background: var(--space);
  color: #fff; border-radius: var(--radius); padding: 18px 22px; }
.form-card-ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none;
  border-radius: 10px; background: rgba(255,255,255,.1); color: var(--cyan); }
.form-card-ic .icn { width: 24px; height: 24px; }
.form-card-label { display: block; font-size: .85rem; color: #aeb9d6; }
.form-card-phone { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.5rem;
  font-weight: 700; color: #fff; line-height: 1.2; }
.form-card-phone:hover { color: var(--cyan); text-decoration: none; }
.form-card-hours { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; color: #aeb9d6; margin-top: 2px; }
.form-card-hours .icn { width: 15px; height: 15px; }
.lead { }
form.lead { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: #fff;
  padding: 26px; border-radius: var(--radius); box-shadow: var(--shadow); }
form.lead .fld-full, form.lead button, .form-note, .form-status { grid-column: 1 / -1; }
form.lead textarea { resize: vertical; }
.form-note { font-size: .8rem; color: var(--muted); margin: 0; }
.form-status { font-weight: 700; min-height: 1.2em; margin: 0; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #b91c1c; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; }

/* stopka ------------------------------------------------------------------------ */
.ftr { position: relative; background: var(--space); color: #c6cfe6; overflow: hidden;
  padding: 56px 0 96px; margin-top: 0; }
.ftr-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr; gap: 40px; position: relative; }
.ftr h3 { color: #fff; font-size: 1rem; }
.ftr-tag { color: var(--cyan); font-weight: 700; margin-top: 12px; }
.ftr a { color: #c6cfe6; }
.ftr a:hover { color: #fff; }
.ftr-links { display: flex; flex-direction: column; gap: 7px; font-size: .94rem; }
.ftr-cities { flex-flow: row wrap; gap: 6px 14px; }
.ftr-cities .more { color: var(--cyan); }
.ftr-legal { position: relative; margin-top: 36px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; color: #8c97b8; }
.ftr-legal .disclaimer { color: #8c97b8; }

/* pasek mobilny ----------------------------------------------------------------- */
.sticky-call { display: none; }

@media (max-width: 920px) {
  .hero-grid, .form-grid, .calc { grid-template-columns: 1fr; }
  .hero-img { order: -1; max-width: 420px; }
  .steps, .cols-3 { grid-template-columns: 1fr 1fr; }
  .ftr-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 12px 20px 18px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .burger { display: block; margin-left: auto; }
  .hdr .btn-call { display: none; }
  .sticky-call { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
    gap: 10px; padding: 10px 14px; background: rgba(11, 18, 38, .97); }
  .sticky-call .btn { flex: 1; justify-content: center; font-size: .95rem; padding: 12px 10px; }
  .sticky-call .btn-call { background: var(--orange); }
  .sticky-call .btn-ghost { color: #fff; }
  body { padding-bottom: 64px; }
}
@media (max-width: 560px) {
  .steps, .cols-3, .calc-grid { grid-template-columns: 1fr; }
  form.lead { grid-template-columns: 1fr; }
  .hero-proof { gap: 18px; }
}

/* galeria ------------------------------------------------------------------ */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.gal-item { margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(11,18,38,.06);
  display: flex; flex-direction: column; }
.gal-item a { display: block; overflow: hidden; }
.gal-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .2s; }
.gal-item a:hover img { transform: scale(1.04); }
.gal-item figcaption { padding: 12px 16px 14px; font-size: .88rem; color: var(--muted); }

/* obrazki artykulow / porad -------------------------------------------------- */
.art-img { margin: 0 0 22px; }
.art-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.tip-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: center; }
.tip-grid .art-img { margin: 0; }
.tip { font-size: 1.05rem; background: #fff; border-left: 4px solid var(--orange);
  padding: 18px 20px; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: 0 2px 10px rgba(11,18,38,.06); }

/* rozbudowany formularz ------------------------------------------------------- */
.svc-set { border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; margin: 0; }
.svc-set legend { font-size: .9rem; font-weight: 700; padding: 0 6px; }
.chk2 { display: flex; gap: 9px; align-items: center; font-size: .95rem; padding: 4px 0; }
.chk2 input { width: 17px; height: 17px; accent-color: var(--orange); flex: none; }
.zgoda { font-size: .85rem; color: var(--muted); }

@media (max-width: 700px) {
  .tip-grid { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
}

/* tabele danych na stronach miast --------------------------------------------- */
.data-table { margin: 14px 0 18px; }
.data-table th { font-size: .9rem; }
.data-table td { font-size: .95rem; vertical-align: top; }
.data-table td:first-child { font-weight: 700; color: var(--ink); white-space: normal; }
.data-table td:last-child { white-space: normal; }
.article .data-table td:last-child { font-weight: 400; }

/* okruszki (breadcrumbs) ------------------------------------------------------ */
.crumbs { background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: .85rem; }
.crumbs .wrap { padding-top: 10px; padding-bottom: 10px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--orange-d); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }
.crumb-sep { margin: 0 8px; color: var(--muted); }
