/* Magia z Bieguna — wspólny arkusz stylów */
:root {
  --night: #0e1a33;
  --night-2: #16264a;
  --night-3: #21345f;
  --snow: #fbf7f0;
  --paper: #fffdf8;
  --ink: #1d2433;
  --ink-soft: #4a5468;
  --line: #e6dfd2;
  --red: #b3262e;
  --red-dark: #8e1c23;
  --gold: #e7b75f;
  --gold-soft: #f6e3b8;
  --green: #1f5c45;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(14, 26, 51, .12);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--snow);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--night); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--paper); border-block: 1px solid var(--line); }
.eyebrow { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: var(--red); margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 680px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 800 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(179, 38, 46, .3); }
.btn-primary:hover { background: var(--red-dark); }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* Pasek z licznikiem do Wigilii (assets/licznik.js) */
.licznik { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 9px 16px; background: linear-gradient(90deg, var(--red-dark), var(--red), var(--red-dark)); color: #fff; font-size: .92rem; line-height: 1.4; text-align: center; }
.licznik[hidden] { display: none; }
.licznik strong { color: var(--gold-soft); }
.licznik a { color: #fff; font-weight: 800; white-space: nowrap; margin-left: 6px; text-underline-offset: 3px; }
.licznik a:hover { color: var(--gold-soft); }
.licznik-gwiazdka { color: var(--gold); flex: none; }
@media (max-width: 560px) { .licznik { font-size: .84rem; padding: 8px 12px; } .licznik-gwiazdka { display: none; } }

/* Nagłówek */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(14, 26, 51, .92); backdrop-filter: blur(8px); color: #fff; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; }
.logo-star { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: #dfe6f3; text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav a:hover { color: var(--gold); }
.nav .btn { padding: 10px 18px; color: #fff; }
@media (max-width: 820px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 70% -10%, #2b4680 0%, var(--night-2) 45%, var(--night) 100%); }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: clamp(56px, 9vw, 110px) 0; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { color: #cdd7ea; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; align-items: center; }
.hero-note { font-size: .92rem; color: #aebbd6; margin-top: 18px; }
.hero-visual { aspect-ratio: 16 / 10; border-radius: var(--radius); background: linear-gradient(160deg, #2a3f70, #121f3d); border: 1px solid rgba(255,255,255,.15); box-shadow: 0 30px 60px rgba(0,0,0,.35); display: grid; place-items: center; text-align: center; padding: 24px; color: #c9d4ea; position: relative; overflow: hidden; }
.hero-visual .play { width: 74px; height: 74px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; margin: 0 auto 14px; box-shadow: 0 0 0 10px rgba(231, 183, 95, .18); }
.hero-visual .play::after { content: ""; border-left: 22px solid var(--night); border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.hero-img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.15); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.film-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Śnieg */
.snow { position: absolute; inset: 0; pointer-events: none; z-index: 1; background-image:
  radial-gradient(2px 2px at 20px 30px, #fff, transparent),
  radial-gradient(2px 2px at 140px 80px, rgba(255,255,255,.8), transparent),
  radial-gradient(3px 3px at 260px 160px, rgba(255,255,255,.7), transparent),
  radial-gradient(2px 2px at 380px 40px, #fff, transparent),
  radial-gradient(2px 2px at 90px 200px, rgba(255,255,255,.6), transparent);
  background-size: 420px 240px; animation: snow 18s linear infinite; opacity: .55; }
.snow-far { background-image:
  radial-gradient(1.5px 1.5px at 60px 50px, rgba(255,255,255,.7), transparent),
  radial-gradient(1px 1px at 200px 120px, rgba(255,255,255,.6), transparent),
  radial-gradient(1.5px 1.5px at 310px 20px, rgba(255,255,255,.5), transparent),
  radial-gradient(1px 1px at 150px 220px, rgba(255,255,255,.6), transparent);
  background-size: 360px 260px; animation-duration: 34s; opacity: .45; }
@keyframes snow { from { background-position: 0 0; } to { background-position: 60px 480px; } }
@media (prefers-reduced-motion: reduce) { .snow { animation: none; } html { scroll-behavior: auto; } }

/* Wideo w hero + etykieta „Wasz dom” */
.hero-media { position: relative; margin: 0; }
.hero-media::before { content: ""; position: absolute; inset: -12% -8%; z-index: -1; background: radial-gradient(closest-side, rgba(231, 183, 95, .28), transparent 70%); filter: blur(10px); }
.hero-media .hero-img { aspect-ratio: 4 / 3; object-fit: cover; background: #1b2a4d url("img/hero-kula.webp") center / cover; }
.hero-chip { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(14, 26, 51, .78); backdrop-filter: blur(6px); border: 1px solid rgba(231, 183, 95, .45); color: #fff; font-size: .9rem; font-weight: 700; }
.hero-chip strong { color: var(--gold); }
.hero-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(231, 183, 95, .7); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(231, 183, 95, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(231, 183, 95, 0); } }
@media (prefers-reduced-motion: reduce) { .hero-chip .dot { animation: none; } }
/* Na telefonie kula z domem na górze: to pierwsze, co widzi rodzic z reklamy */
@media (max-width: 900px) {
  .hero .wrap { gap: 28px; padding-top: 24px; }
  .hero-media { order: -1; }
  .hero-chip { left: 12px; bottom: 12px; font-size: .82rem; padding: 6px 12px; }
}

/* Pojawianie się przy przewijaniu (tylko z JS, bez JS wszystko widać od razu) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Sekcja ciemna: pupil i pamiątki */
.section-dark { position: relative; overflow: hidden; color: #dfe6f3; background: radial-gradient(900px 500px at 15% 0%, #233a6b 0%, var(--night-2) 50%, var(--night) 100%); }
.section-dark h2 { color: #fff; }
.section-dark h2 em { color: var(--gold); font-style: italic; }
.section-dark .eyebrow { color: var(--gold); }
.showcase { position: relative; z-index: 2; display: grid; gap: clamp(48px, 7vw, 88px); }
.show-row { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.show-row-rev .show-img { order: 2; }
.show-img { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.show-img img { width: 100%; height: auto; aspect-ratio: 1100 / 821; object-fit: cover; }
.show-text p { color: #cdd7ea; font-size: 1.05rem; }
.show-note { font-size: .95rem !important; color: #aebbd6 !important; border-left: 3px solid var(--gold); padding-left: 12px; }
.show-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.show-list li { position: relative; padding-left: 26px; color: #cdd7ea; }
.show-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.show-list strong { color: #fff; }
@media (max-width: 860px) { .show-row { grid-template-columns: 1fr; } .show-row-rev .show-img { order: 0; } }

/* Wyróżniki */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--gold-soft); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 14px; color: var(--red); }
.feature .icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }

/* Karty filmów */
.films { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.film { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.film-cover { aspect-ratio: 16 / 9; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-size: 1.1rem; text-align: center; padding: 16px; position: relative; }
.film-cover small { display: block; font-family: var(--font-body); font-size: .8rem; opacity: .8; margin-top: 6px; }
.cover-a { background: linear-gradient(135deg, #8e1c23, #c8553d); }
.cover-b { background: linear-gradient(135deg, #0e1a33, #2b4680); }
.cover-c { background: linear-gradient(135deg, #1f5c45, #3e8a68); }
.film-media { overflow: hidden; background: var(--night); }
.film-media .film-img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.film:hover .film-media .film-img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .film:hover .film-media .film-img { transform: none; } }
.film-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.film-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-block; font-size: .78rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--snow); border: 1px solid var(--line); color: var(--ink-soft); }
.tag-gold { background: var(--gold-soft); border-color: #ecd49c; color: #6b4b0c; }
.film ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); font-size: .95rem; }
.film-cta { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.films-ceny { text-align: center; max-width: 760px; margin: 28px auto 0; color: var(--ink-soft); font-size: .95rem; }
.films-ceny strong { color: var(--night); white-space: nowrap; }
@media (max-width: 960px) { .films { grid-template-columns: 1fr; } }

/* Pakiety */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; align-items: stretch; }
.package { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.package.featured { border: 2px solid var(--red); box-shadow: 0 20px 40px rgba(179, 38, 46, .15); transform: translateY(-8px); }
.badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-weight: 800; font-size: .8rem; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.price { font-family: var(--font-head); font-size: 2.6rem; font-weight: 600; color: var(--night); line-height: 1; }
.price small { font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--ink-soft); }
.checklist { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 8px; }
.checklist li { padding-left: 28px; position: relative; font-size: .97rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-size: .72rem; display: grid; place-items: center; font-weight: 900; margin-top: 3px; }
.checklist li.no { color: #9aa1ae; }
.checklist li.no::before { content: "–"; background: #d7d9de; }
.package .btn { margin-top: auto; }
@media (max-width: 960px) { .packages { grid-template-columns: 1fr; } .package.featured { transform: none; } }

/* Zakładki filmów nad pakietami */
.film-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.film-tab { font: 800 1rem/1.2 var(--font-body); color: var(--night); background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 12px 18px; cursor: pointer; text-align: center; }
.film-tab small { display: block; font-weight: 700; font-size: .78rem; color: var(--ink-soft); margin-top: 3px; }
.film-tab[aria-selected="true"] { border-color: var(--red); background: #fff6f3; color: var(--red); }
.film-tab:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.pkg-meta { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.pkg-label { font-weight: 800; color: var(--night); margin: 6px 0 0; }
.pkg-photos { background: var(--snow); border: 1px dashed #d6cfc0; border-radius: 10px; padding: 10px 12px; font-size: .9rem; margin: 0; }
.pkg-example { font-style: italic; color: var(--ink-soft); font-size: .9rem; margin: 0; }

/* Tabela szczegółów */
.table-scroll { overflow-x: auto; margin-top: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table.detail { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
table.detail th, table.detail td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.detail th { background: var(--night); color: #fff; font-weight: 800; }
table.detail tr:last-child td { border-bottom: 0; }

/* Kroki */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before { counter-increment: step; content: counter(step); width: 38px; height: 38px; border-radius: 50%; background: var(--night); color: var(--gold); font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; margin-bottom: 12px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { margin-top: 32px; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--night); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* Baner z terminem */
.deadline { background: var(--gold-soft); border: 1px solid #ecd49c; color: #5c3f07; border-radius: 14px; padding: 14px 18px; font-weight: 700; display: flex; gap: 10px; align-items: flex-start; }

/* Stopka */
.footer { background: var(--night); color: #b9c4da; padding: 48px 0 32px; font-size: .92rem; }
.footer a { color: #e3e9f5; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 1rem; margin-bottom: .6em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.pay-logos { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pay-flags { display: block; width: 100%; max-width: 460px; height: auto; background: #fff; border-radius: 10px; padding: 6px; }
.pay-logo { background: #fff; color: var(--night); border-radius: 6px; padding: 4px 10px; font-weight: 900; font-size: .8rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }

/* Dokumenty prawne */
.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 48px); margin: 40px auto 64px; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.doc h2 { font-size: 1.35rem; margin-top: 2em; padding-top: .6em; border-top: 1px solid var(--line); }
.doc ol, .doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: .55em; }
.doc-meta { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1.6em; }
.doc .company-card { background: var(--snow); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.doc .company-card p { margin: 0 0 .3em; }
.doc .callout { background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 8px; padding: 14px 18px; margin: 1em 0; }
.toc { columns: 2; font-size: .95rem; }
@media (max-width: 640px) { .toc { columns: 1; } }

/* Formularz zamówienia */
.order { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; margin: 40px auto 72px; }
@media (max-width: 960px) { .order { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.card + .card { margin-top: 22px; }
.card h2 { font-size: 1.4rem; display: flex; align-items: center; gap: 12px; }
.card h2 .num { width: 34px; height: 34px; border-radius: 50%; background: var(--night); color: var(--gold); display: grid; place-items: center; font-size: 1rem; flex: none; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
@media (max-width: 700px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice label { display: block; height: 100%; border: 2px solid var(--line); border-radius: 14px; padding: 16px; cursor: pointer; transition: border-color .15s, background .15s; }
.choice label strong { display: block; color: var(--night); }
.choice label span { display: block; font-size: .88rem; color: var(--ink-soft); margin-top: 4px; }
.choice label .choice-price { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--red); margin-top: 2px; }
/* Wybrany film / pakiet / płeć: zielony (czerwony zostaje dla błędów) */
.choice input:checked + label { border-color: var(--green); background: #eef6f1; box-shadow: 0 0 0 1px var(--green); }
/* Wybór filmu ze zdjęciem */
.film-choice label { padding: 0; overflow: hidden; position: relative; }
.film-choice img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease; }
.film-choice label:hover img { transform: scale(1.03); }
.film-choice label .film-choice-txt { display: block; padding: 12px 14px 14px; margin: 0; font-size: 1rem; color: var(--ink); }
.film-choice label .film-choice-druk { font-size: .8rem; font-weight: 700; color: var(--green); margin-top: 6px; }
.film-choice input:checked + label::after { content: "✓"; position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: .9rem; box-shadow: 0 4px 12px rgba(0,0,0,.25); background: var(--green); }
@media (max-width: 700px) {
  .film-choice label { display: grid; grid-template-columns: 120px 1fr; align-items: center; }
  .film-choice img { height: 100%; aspect-ratio: auto; min-height: 92px; }
  .film-choice label .film-choice-txt { padding: 10px 12px; }
  .film-choice input:checked + label::after { top: 8px; right: 8px; width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) { .film-choice label:hover img { transform: none; } }
.choice label .pkg-mini { font-weight: 700; }
/* W formularzu pakiety jeden pod drugim, żeby listy były czytelne */
.pkg-choices { grid-template-columns: 1fr; }
.pkg-choices .choice label { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: baseline; }
.pkg-choices .choice label > strong { grid-column: 1; font-size: 1.1rem; }
.pkg-choices .choice label > .choice-price { grid-column: 2; grid-row: 1; }
.pkg-choices .choice label > .pkg-mini, .pkg-choices .choice label > .pkg-list, .pkg-choices .choice label > .pkg-mini-photos { grid-column: 1 / -1; }
.pkg-choices .pkg-list { grid-template-columns: 1fr 1fr; column-gap: 18px; }
@media (max-width: 640px) { .pkg-choices .pkg-list { grid-template-columns: 1fr; } }
.pkg-list { list-style: none; margin: 10px 0 8px; padding: 0; display: grid; gap: 6px; font-size: .86rem; color: var(--ink); }
.pkg-list li { padding-left: 20px; position: relative; line-height: 1.4; }
.pkg-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.pkg-list li.no { color: #9aa1ae; }
.pkg-list li.no::before { content: "–"; color: #9aa1ae; }
.choice label .pkg-mini-photos { background: var(--snow); border: 1px dashed #d6cfc0; border-radius: 8px; padding: 6px 8px; font-size: .82rem; color: var(--ink-soft); }
.choice input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.field { display: grid; gap: 6px; margin-top: 16px; }
.field label, .field .label { font-weight: 800; color: var(--night); font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--ink-soft); }
.field input[type=text], .field input[type=email], .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid #d6cfc0; border-radius: 10px; font: inherit; background: var(--paper); color: var(--ink);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--night-3); box-shadow: 0 0 0 3px rgba(33, 52, 95, .15); }
/* Objaśnienie gwiazdki i numer pierwszego dziecka */
.req-note { color: var(--ink-soft); font-size: .92rem; margin: -6px 0 0; }
.req-note .req { color: var(--red); font-weight: 900; }
.dziecko-nr { font-weight: 800; color: var(--night); margin: 6px 0 -4px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
/* Rodzeństwo w formularzu */
.sibling { border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px 16px; margin: 12px 0 0; background: var(--snow); }
.sibling legend { font-weight: 800; color: var(--night); padding: 0 6px; }
.sibling { position: relative; }
.sibling-usun { font: 700 .85rem/1 var(--font-body); color: var(--red); background: var(--paper); border: 1.5px solid #e9c6c6; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.sibling-usun:hover { background: #fff1f1; }
.sibling-usun:focus-visible, .btn-dodaj:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-dodaj { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font: 800 .92rem/1.2 var(--font-body); color: #fff; background: var(--green); border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; box-shadow: 0 6px 14px rgba(31, 92, 69, .25); transition: background .15s ease, transform .15s ease; }
.btn-dodaj span { font-size: 1.1rem; line-height: 1; }
.btn-dodaj:hover { background: #174a37; transform: translateY(-1px); }
.dodaj-hint { color: var(--ink-soft); margin-left: 10px; font-size: .82rem; }
#rodzenstwo-maly { color: var(--ink-soft); margin: 16px 0 0; font-size: .88rem; }

/* Przełącznik dwóch opcji (dziewczynka / chłopiec) */
.segmented { display: flex; gap: 8px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { flex: 1; text-align: center; padding: 11px 12px; border: 1.5px solid #d6cfc0; border-radius: 10px; background: var(--paper); cursor: pointer; font-weight: 700; color: var(--ink); }
.segmented label:hover { border-color: var(--night-3); }
.segmented input:checked + label { border-color: var(--green); background: #eef6f1; color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.segmented input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* Imię, a pod nim wybór dziewczynka / chłopiec */
.stack-2 { display: grid; }
.stack-2 .field input[type=text] { max-width: 420px; }
.stack-2 .segmented { max-width: 420px; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }
.upload { position: relative; border: 2px dashed #d6cfc0; border-radius: 14px; padding: 16px; background: var(--paper); display: grid; gap: 10px; transition: border-color .15s ease, background .15s ease; }
.upload .preview { display: none; width: 100%; max-height: 180px; object-fit: cover; border-radius: 10px; }
.upload.has-file { border-style: solid; border-color: #9cc3b0; }
.upload.has-file .preview { display: block; }
.upload.drag { border-color: var(--green); background: #eef6f1; }
.upload-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.upload-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.upload .upload-btn { display: inline-flex; align-items: center; gap: 8px; font: 800 .92rem/1.2 var(--font-body); color: #fff; background: var(--green); border: 2px solid var(--green); border-radius: 999px; padding: 9px 18px; cursor: pointer; box-shadow: 0 6px 14px rgba(31, 92, 69, .25); transition: background .15s ease, transform .15s ease; }
.upload .upload-btn:hover { background: #174a37; transform: translateY(-1px); }
.upload-input:focus-visible ~ .upload-row .upload-btn { outline: 3px solid var(--gold); outline-offset: 2px; }
.upload.has-file .upload-btn { background: #fff; color: var(--green); box-shadow: none; }
.upload.has-file .upload-btn:hover { background: #eef6f1; }
.upload-ok { display: none; font-weight: 800; font-size: .9rem; color: var(--green); }
.upload.has-file .upload-ok { display: inline; }
.upload-drop { font-size: .85rem; color: var(--ink-soft); }
.upload.has-file .upload-drop { display: none; }
@media (hover: none) { .upload-drop { display: none; } }
/* Informacje przed zamówieniem (formularz, krok 5) */
.przed-zam { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .82rem; line-height: 1.55; color: var(--ink-soft); scroll-margin-top: 90px; }
.przed-zam strong { color: var(--night); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; font-size: .93rem; }
.zgody-tytul { font-weight: 800; color: var(--night); margin: 22px 0 0; font-size: .95rem; }
.consent .consent-hint { display: block; margin-top: 4px; font-size: .85rem; color: var(--ink-soft); }
.consent input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--red); }
.summary { position: sticky; top: 84px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 12px 0; }
.summary dt { color: var(--ink-soft); }
.summary dd { margin: 0; font-weight: 800; text-align: right; }
.summary .total { font-family: var(--font-head); font-size: 2rem; color: var(--night); }
.alert { border-radius: 12px; padding: 14px 18px; margin-top: 16px; font-weight: 700; }
.alert-error { background: #fdecec; color: #8e1c23; border: 1px solid #f3c2c2; }
.alert-ok { background: #e9f5ef; color: #1f5c45; border: 1px solid #bfe0cf; }
.hidden { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Krok 3: lista dzieci (imię + płeć) i szczegóły dla każdego dziecka */
.dzieci-lista { padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.sib-id { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.sib-id-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sib-nr { font-weight: 800; color: var(--night); }
.dziecko-nr { margin-top: 18px; }

/* Podpowiedzi pochwał */
.podpowiedzi { margin-top: 8px; }
.podp-select { width: 100%; padding: 10px 12px; border: 1.5px dashed #9cc3b0; border-radius: 10px; font: 600 .9rem/1.3 var(--font-body); color: var(--green); background: #f4faf6; cursor: pointer; }
.podp-select:hover { border-color: var(--green); }
.podp-select:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
/* Licznik znaków */
.znaki { display: block; text-align: right; font-size: .78rem; color: var(--ink-soft); margin-top: 2px; font-variant-numeric: tabular-nums; }
.znaki.blisko { color: #9a6a00; font-weight: 700; }

/* Pola z błędem: czerwona ramka i komunikat przy polu */
.ma-blad input[type=text], .ma-blad input[type=email], .ma-blad textarea, .ma-blad select { border-color: var(--red) !important; background: #fff5f5; box-shadow: 0 0 0 3px rgba(179, 38, 46, .12); }
.ma-blad .segmented label, .ma-blad .upload { border-color: var(--red); background: #fff5f5; }
.consent.ma-blad { background: #fff5f5; border-radius: 10px; padding: 8px 10px; box-shadow: inset 0 0 0 1.5px var(--red); }
.blad-msg { display: block; color: var(--red); font-weight: 700; font-size: .85rem; margin-top: 4px; }
.consent.ma-blad { flex-wrap: wrap; }
.consent .blad-msg { margin-top: 2px; width: 100%; padding-left: 30px; }
@media (max-width: 560px) { .dodaj-hint { display: block; margin: 6px 0 0; } }
