/* Mama i Prawo — design system (port z projektu Lovable)
   Tokeny: cream/navy/coral, serif Cormorant Garamond (kursywa), sans Nunito Sans */
:root {
  --cream: #fdf9f0;   --cream-l: oklch(0.982 0.012 85);
  --navy: #0d225e;    --navy-l: oklch(0.28 0.11 265);
  --coral: #f28058;   --coral-l: oklch(0.72 0.15 40);
  --secondary: #f5eee0;
  --muted-fg: #5b6375;
  --border: #e4ddcf;
  --input: #e9e4da;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(13, 34, 94, .07);
  --shadow-md: 0 6px 20px rgba(13, 34, 94, .10);
  --shadow-lg: 0 16px 44px rgba(13, 34, 94, .16);
  --serif: 'Cormorant Garamond', ui-serif, Georgia, serif;
  --sans: 'Nunito Sans', ui-sans-serif, system-ui, sans-serif;
}
@supports (color: oklch(0.5 0.1 100)) {
  :root { --cream: oklch(0.982 0.012 85); --navy: oklch(0.28 0.11 265); --coral: oklch(0.72 0.15 40);
    --secondary: oklch(0.95 0.02 85); --muted-fg: oklch(0.5 0.03 265);
    --border: oklch(0.9 0.02 85); --input: oklch(0.92 0.015 85); }
}

* { margin: 0; padding: 0; box-sizing: border-box; border-color: var(--border); }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.7;
  background: var(--cream); color: var(--navy); }
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 800px; }
.center { text-align: center; }

h1, h2, h3, h4 { letter-spacing: -.01em; line-height: 1.15; color: var(--navy); }
.serif, h1, h2, h3 { font-family: var(--serif); font-style: italic; font-weight: 600; }

/* ── Przyciski ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: 1rem;
  font-style: normal; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: filter .15s, background .15s, color .15s, border-color .15s; line-height: 1.4; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--coral); }
.btn-outline { background: transparent; color: var(--navy); border-color: rgba(13, 34, 94, .3); }
.btn-outline:hover { border-color: var(--coral); color: var(--coral); }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(253, 249, 240, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 2px 18px rgba(13, 34, 94, .1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; }
.logo { display: flex; align-items: baseline; gap: 1px; line-height: 1; text-decoration: none; }
.logo .lg-a { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 2.6rem; color: var(--navy); }
.logo .lg-i { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 2.6rem; color: var(--coral); }
.logo .lg-tld { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: rgba(13, 34, 94, .7); }
.site-nav > ul { list-style: none; display: flex; gap: 30px; align-items: center; }
.site-nav a { display: block; color: var(--navy); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 6px 2px; }
.site-nav a:hover, .site-nav a.active { color: var(--coral); }
.site-nav a.nav-cta { background: var(--coral); color: #fff; border-radius: 999px; padding: 11px 22px;
  box-shadow: var(--shadow-sm); }
.site-nav a.nav-cta:hover { filter: brightness(1.05); color: #fff; }
.has-sub { position: relative; }
.has-sub > a::after { content: ''; display: inline-block; margin-left: 7px; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); }
.submenu { list-style: none; display: none; position: absolute; top: 100%; left: -12px; background: #fff;
  min-width: 250px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 10px; z-index: 50; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { display: block; }
.submenu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.submenu a { padding: 9px 14px; font-weight: 400; border-radius: 8px; }
.submenu a:hover { background: var(--secondary); color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 6px 0; }

/* ── Hero (strona główna) ── */
.hero2 { position: relative; overflow: hidden; }
.hero2-bg { position: absolute; inset: 0;
  background: url('/assets/img/bgmamaiprawo.webp') left 60% / cover no-repeat;
  opacity: .16; pointer-events: none; }
.hero2-bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(253,249,240,.4) 0%, rgba(253,249,240,0) 55%, rgba(253,249,240,.7) 100%); }
.hero2-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; padding-top: 40px; padding-bottom: 110px; }
.hero2-kicker { font-family: var(--serif); font-style: italic; font-size: 1.9rem; color: rgba(13, 34, 94, .8); }
.hero2-name { font-size: clamp(3.4rem, 8vw, 6rem); line-height: 1; margin: .1em 0 .3em; }
.hero2-lead { font-size: 1.28rem; line-height: 1.65; color: rgba(13, 34, 94, .85); max-width: 32rem;
  margin-bottom: 2.2em; }
.hero2-lead b { font-weight: 700; }
.hero2-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: -1.2em 0 2em; }
.badge { background: rgba(242, 128, 88, .1); color: var(--navy); font-size: .85rem; font-weight: 600;
  padding: 7px 15px; border-radius: 999px; border: 1px solid rgba(242, 128, 88, .25); }
.hero2-actions { display: flex; align-items: center; gap: 20px; }
.hero2-photo { position: relative; justify-self: end; margin-right: 46px; }
.hero2-circle { position: absolute; right: -26px; bottom: 22px; width: 160px; height: 160px;
  border-radius: 50%; background: var(--navy); }
/* proporcje łuku dobrane do proporcji zdjęcia (370×673), żeby cover niczego istotnego nie ucinał */
.hero2-arch { position: relative; width: 340px; max-width: 100%; height: 600px;
  border-radius: 170px 170px 24px 24px; overflow: hidden; box-shadow: var(--shadow-lg);
  /* tło zlane z kolorami zdjęcia (marynarka/bluzka), maskuje przezroczyste rogi PNG */
  background: linear-gradient(180deg, #4a4a48 0%, #8a8886 35%, #f3e4e4 70%, #f7efee 100%); }
.hero2-arch img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* #MamaiPrawo w poprzek zdjęcia — jak na oryginalnej stronie */
.hero2-tag { position: absolute; z-index: 3; left: 50%; transform: translateX(-62%); bottom: 120px;
  font-family: var(--serif); font-style: italic; font-weight: 700; white-space: nowrap;
  font-size: clamp(2.6rem, 4.4vw, 4rem); color: transparent; -webkit-text-stroke: 1.5px var(--coral);
  pointer-events: none; user-select: none; opacity: .95; }
.hero2-tag b { color: var(--navy); -webkit-text-stroke: 0; font-weight: 700; }

/* ── Sekcja pytania: formularz | kroki ── */
.ask-section { padding: 80px 0; }
.ask-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.ask-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 32px; box-shadow: var(--shadow-sm); }
.ask-title { font-size: 2.3rem; margin-bottom: .7em; }
.ask-hint { margin-top: 14px; font-size: .85rem; color: var(--muted-fg); text-align: center; font-weight: 400; }

.mip-form .form-field { margin-bottom: 16px; }
.mip-form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.mip-form input[type=text], .mip-form input[type=email], .mip-form input[type=tel], .mip-form input[type=url],
.mip-form input[type=number], .mip-form input[type=date], .mip-form textarea, .mip-form select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--input); border-radius: 10px;
  font: inherit; font-weight: 400; font-size: 1rem; background: var(--cream); color: var(--navy);
  transition: border-color .15s, box-shadow .15s; }
.mip-form ::placeholder { color: var(--muted-fg); }
.mip-form input:focus, .mip-form textarea:focus, .mip-form select:focus { outline: none;
  border-color: var(--coral); box-shadow: 0 0 0 3px rgba(242, 128, 88, .3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.req { color: var(--coral); }
.options { display: flex; flex-direction: column; gap: 10px; }
/* opcje radio/checkbox jako klikalne karty */
label.option, .option { display: flex; gap: 12px; align-items: center; font-weight: 400 !important; cursor: pointer;
  font-size: .98rem; border: 1px solid var(--input); border-radius: 10px; padding: 13px 16px;
  background: var(--cream); transition: border-color .15s, background .15s, box-shadow .15s; }
label.option:hover, .option:hover { border-color: var(--coral); }
label.option:has(input:checked), .option:has(input:checked) { border-color: var(--coral); background: rgba(242, 128, 88, .07);
  box-shadow: 0 0 0 1px var(--coral); }
.option input { flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--coral); }
/* zgody (checkbox regulaminu) zostają zwykłym wierszem, nie kartą */
label.option.acceptance, .option.acceptance { border: 0; padding: 0; background: none; box-shadow: none; align-items: flex-start; }
.option.acceptance input { margin-top: 4px; width: 16px; height: 16px; }
/* nagłówki sekcji i wstęp w formularzach */
.form-section-title { font-size: 1.6rem; margin: 26px 0 4px; padding-top: 22px; border-top: 1px solid var(--border); }
.form-intro-title { font-size: 1.9rem; margin-bottom: .4em; }
.form-intro-list { padding-left: 1.3em; margin: .4em 0 .8em; }
.form-intro-list li { margin-bottom: .25em; }
.acceptance span { font-size: .88rem; color: rgba(13, 34, 94, .7); }
.acceptance a { text-decoration: underline; }
.acceptance a:hover { color: var(--coral); }
.help { color: var(--muted-fg); font-size: .85rem; display: block; margin-top: 4px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-actions { margin-top: 22px; }
.form-feedback { margin-top: 16px; padding: 14px 16px; border-radius: 10px; white-space: pre-line;
  font-weight: 400; }
.form-feedback.ok { background: #e8f5e9; color: #1c5e2a; border: 1px solid #bfe3c6; }
.form-feedback.err { background: #fdecec; color: #9c2121; border: 1px solid #f3c1c1; }
.file-upload { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.file-status { font-size: .9rem; color: var(--muted-fg); }
.file-status.ok { color: #1c5e2a; font-weight: 600; }
.file-status.err { color: #9c2121; font-weight: 600; }
.form-html { margin-bottom: 18px; font-weight: 400; }
.form-html p { margin-bottom: .6em; }

.steps-list { display: flex; flex-direction: column; gap: 40px; list-style: none; }
.tstep { display: flex; gap: 24px; }
.tstep-icon { flex-shrink: 0; width: 64px; height: 64px; border-radius: var(--radius-lg);
  background: rgba(242, 128, 88, .1); color: var(--coral); display: grid; place-items: center; }
.tstep-icon svg { width: 28px; height: 28px; }
.tstep h3 { font-size: 1.9rem; margin-bottom: .35em; }
.tstep p { font-size: 1.08rem; line-height: 1.65; color: rgba(13, 34, 94, .8); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── Sekcja cen na stronie głównej ── */
.pricing-section { padding: 72px 0 84px; background: linear-gradient(180deg, rgba(233,236,246,0) 0%, rgba(233,236,246,.55) 100%); }
.center-lead { margin: 0 auto 2.2em; text-align: center; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1080px; margin: 0 auto; }
.pricing-card { background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 30px 28px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); }
.pricing-card.highlight { border-color: var(--coral); box-shadow: 0 10px 32px rgba(242, 128, 88, .16);
  position: relative; }
.pricing-card.highlight::before { content: 'Najczęściej wybierana'; position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%); background: var(--coral); color: #fff; font-size: .75rem; font-weight: 700;
  padding: 3px 14px; border-radius: 999px; white-space: nowrap; }
.pricing-card h3 { font-size: 1.5rem; }
.pc-price { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 2.6rem; line-height: 1;
  color: var(--navy); }
.pc-price small { font-size: 1.2rem; }
.pricing-card ul { list-style: none; flex: 1; }
.pricing-card li { padding: 5px 0 5px 24px; position: relative; font-size: .92rem; color: rgba(13,34,94,.75);
  font-weight: 400; }
.pricing-card li::before { content: '✓'; position: absolute; left: 0; color: var(--coral); font-weight: 700; }
.pricing-card .btn { margin-top: 8px; }

/* ── Ikona serca w tytule formularza ── */
.title-heart { width: .8em; height: .8em; color: var(--coral); margin-left: 12px; vertical-align: -0.08em; }

/* ── Animacje wejścia (choreografia hero + reveal przy scrollu) ── */
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero2-kicker, .hero2-name, .hero2-lead, .hero2-badges, .hero2-actions { animation: riseIn .5s ease backwards; }
.hero2-kicker { animation-delay: .05s; }
.hero2-name { animation-delay: .12s; }
.hero2-lead { animation-delay: .2s; }
.hero2-badges { animation-delay: .28s; }
.hero2-actions { animation-delay: .34s; }
.hero2-photo { animation: riseIn .6s ease .15s backwards; }
/* .reveal chowamy wyłącznie gdy JS działa (klasa .js na <html>) — bez JS treść jest widoczna */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero2-kicker, .hero2-name, .hero2-lead, .hero2-badges, .hero2-actions, .hero2-photo { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Navy band tytułowy podstron ── */
.page-hero { background: var(--navy); color: #fff; padding: 68px 0; }
.page-hero h1 { font-family: var(--serif); font-style: normal; font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); }
.page-hero .breadcrumb { margin-top: 12px; font-size: .88rem; color: rgba(255,255,255,.7); font-weight: 400; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--coral); }
.page-hero .post-meta-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 30px; }
.page-hero .pm-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.6); font-weight: 600; }
.page-hero .pm-value { margin-top: 8px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 8px;
  font-weight: 600; color: #fff; font-size: .98rem; }
.page-hero .pm-value a { color: #fff; text-decoration: none; }
.page-hero .pm-value a:hover { color: var(--coral); }

/* ── Blog: chipy kategorii + karty ── */
.blog-section { padding: 64px 0 80px; }
.cat-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 36px; }
.cat-chips .chips-label { color: var(--muted-fg); font-size: .95rem; }
.chip { display: inline-block; padding: 7px 18px; border-radius: 999px; border: 1px solid rgba(13,34,94,.2);
  color: var(--navy); font-size: .88rem; font-weight: 600; text-decoration: none; transition: all .15s; }
.chip:hover { border-color: var(--coral); color: var(--coral); }
.chip.active { background: var(--coral); border-color: var(--coral); color: #fff; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s; }
.post-card:hover { box-shadow: var(--shadow-lg); }
.post-thumb { display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.post-card-meta { display: flex; gap: 16px; font-size: .78rem; color: var(--muted-fg); font-weight: 400; }
.post-card h2, .post-card h3 { margin-top: 12px; font-size: 1.55rem; line-height: 1.2; }
.post-card h2 a, .post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--coral); }
.post-card p { margin-top: 12px; flex: 1; font-size: .98rem; line-height: 1.65; color: rgba(13,34,94,.75); }
.read-more { margin-top: 20px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff; padding: 9px 20px; border-radius: 999px; font-size: .88rem;
  font-weight: 600; text-decoration: none; transition: background .15s; }
.read-more:hover { background: var(--coral); }
.pagination { display: flex; gap: 8px; margin-top: 44px; justify-content: center; }
.pagination a { padding: 9px 17px; border: 1px solid rgba(13,34,94,.2); border-radius: 999px;
  text-decoration: none; color: var(--navy); font-weight: 600; font-size: .9rem; }
.pagination a.current, .pagination a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ── Wpis ── */
.post-cover { max-width: 1024px; margin: 48px auto 0; padding: 0 24px; }
.post-cover .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.post-cover img { display: block; width: 100%; }
.post-body { max-width: 800px; margin: 0 auto; padding: 48px 24px; }
.post-inline-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 32px; font-size: .88rem;
  color: var(--muted-fg); font-weight: 400; }
.post-inline-meta a { color: var(--coral); text-decoration: none; }
.post-inline-meta a:hover { text-decoration: underline; }
.content-html { font-size: 1.1rem; line-height: 1.75; color: rgba(13,34,94,.88); font-weight: 300; }
.content-html p, .content-html ul, .content-html ol { margin-bottom: 1.2em; }
.content-html ul, .content-html ol { padding-left: 1.4em; }
.content-html h2, .content-html h3 { margin: 1.5em 0 .6em; }
.content-html h2 { font-size: 1.9rem; }
.content-html h3 { font-size: 1.5rem; }
.content-html img { border-radius: var(--radius); }
.content-html a { color: var(--coral); }
.content-html blockquote { border-left: 3px solid var(--coral); padding: 10px 22px; background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 1.2em; }
.content-html table { width: 100%; border-collapse: collapse; margin-bottom: 1.2em; background: #fff; }
.content-html td, .content-html th { border: 1px solid var(--border); padding: 9px 13px; }
.content-html hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
img.emoji { width: 1.15em !important; height: 1.15em !important; display: inline-block;
  vertical-align: -0.18em; border-radius: 0 !important; margin: 0 2px; }
.post-footer-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--border); margin-top: 48px; padding-top: 32px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600;
  color: var(--navy); text-decoration: none; }
.back-link:hover { color: var(--coral); }

/* ── Zobacz również ── */
.related-band { border-top: 1px solid var(--border); background: rgba(245, 238, 224, .4); padding: 64px 0 80px; }
.related-band h2 { font-size: 2.1rem; margin-bottom: 1em; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.rel-card { display: block; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: #fff; box-shadow: var(--shadow-sm); text-decoration: none; transition: box-shadow .2s; }
.rel-card:hover { box-shadow: var(--shadow-lg); }
.rel-card .rel-thumb { overflow: hidden; aspect-ratio: 16 / 10; }
.rel-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.rel-card:hover img { transform: scale(1.05); }
.rel-card .rel-body { padding: 20px; }
.rel-card .rel-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700;
  color: var(--coral); }
.rel-card h3 { margin-top: 8px; font-size: 1.3rem; }
.rel-card:hover h3 { color: var(--coral); }

/* ── Strony statyczne / formularze na stronach ── */
.page-body { max-width: 800px; margin: 0 auto; padding: 56px 24px 72px; }
.page-form { max-width: 800px; margin: 0 auto; padding: 0 24px 72px; }

/* ── Layout kartowy formularza: pytanie = biała karta na chłodnym, wyraźnym tle ── */
.form-band { background: #e9ecf6; padding: 40px 0 72px; }
.mip-form-cards .form-field, .mip-form-cards .form-html {
  background: #fff; border: 1.5px solid transparent; border-radius: 18px;
  padding: 26px 28px; margin-bottom: 16px; box-shadow: 0 2px 10px rgba(13, 34, 94, .07);
  transition: border-color .2s, box-shadow .2s; }
/* „tu jesteś" — karta z aktywnym polem dostaje koralową krawędź */
.mip-form-cards .form-field:focus-within { border-color: var(--coral);
  box-shadow: 0 6px 24px rgba(13, 34, 94, .12); }
.mip-form-cards .form-html { font-weight: 400; }
.mip-form-cards .form-html:has(.form-section-title) { background: transparent; border: 0; box-shadow: none;
  padding: 14px 6px 0; margin-bottom: 10px; }
.form-step-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 2px; }
.mip-form-cards .form-section-title { border-top: 0; padding-top: 0; margin: 0; font-size: 1.7rem; }
.mip-form-cards label { font-size: 1.05rem; margin-bottom: 12px; }
/* w kartach opcje to proste wiersze — karta pytania wystarczy */
.mip-form-cards label.option, .mip-form-cards .option { border: 0; padding: 4px 2px; background: none;
  box-shadow: none; font-size: 1rem; }
.mip-form-cards label.option:has(input:checked), .mip-form-cards .option:has(input:checked) {
  border: 0; background: none; box-shadow: none; color: var(--coral); font-weight: 600 !important; }
.mip-form-cards .options { gap: 6px; }
.mip-form-cards .help { margin-top: 12px; font-size: .82rem; line-height: 1.55; color: var(--muted-fg); }
.mip-form-cards .form-actions { margin-top: 10px; }
.mip-form-cards .form-intro-title { font-size: 1.8rem; }
.help-details { margin-top: 12px; }
.help-details summary { font-size: .82rem; font-weight: 600; color: var(--muted-fg); cursor: pointer; }
.help-details summary:hover { color: var(--coral); }
.help-details[open] summary { margin-bottom: 6px; }

/* pasek postępu formularza */
.form-progress { position: sticky; top: 12px; z-index: 20; display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 999px; padding: 10px 18px; margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(13, 34, 94, .12); }
.fp-track { flex: 1; height: 6px; background: #e9ecf6; border-radius: 999px; overflow: hidden; }
.fp-fill { height: 100%; width: 0; background: var(--coral); border-radius: 999px; transition: width .35s ease; }
.form-progress.done .fp-fill { background: #3d9a5f; }
.fp-label { font-size: .78rem; font-weight: 600; color: var(--muted-fg); white-space: nowrap; }
.form-progress.done .fp-label { color: #3d9a5f; }

/* karty cenowe — wybór formy konsultacji */
.price-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.price-option { display: block; cursor: pointer; border: 1.5px solid var(--border); border-radius: 16px;
  padding: 22px 22px 20px; background: var(--cream); transition: border-color .15s, box-shadow .15s, background .15s;
  position: relative; }
.price-option:hover { border-color: var(--coral); }
.price-option:has(input:checked) { border-color: var(--coral); background: #fff;
  box-shadow: 0 0 0 1.5px var(--coral), 0 8px 24px rgba(242, 128, 88, .18); }
.price-option input { position: absolute; opacity: 0; pointer-events: none; }
.price-option:has(input:focus-visible) { outline: 3px solid var(--coral); outline-offset: 2px; }
.price-option:has(input:checked)::after { content: '✓'; position: absolute; top: 14px; right: 16px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: #fff;
  display: grid; place-items: center; font-size: .9rem; font-weight: 700; }
.po-body { display: flex; flex-direction: column; gap: 4px; }
.po-name { font-weight: 700; font-size: 1.02rem; color: var(--navy); }
.po-price { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 2.2rem;
  line-height: 1.1; color: var(--navy); }
.po-note { font-size: .82rem; color: var(--muted-fg); font-weight: 400; }
@media (max-width: 640px) {
  .price-options { grid-template-columns: 1fr; }
  .form-progress { top: 8px; padding: 9px 14px; }
  .fp-label { display: none; }
}

/* ── Modal pakietów ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(13, 34, 94, .55); z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto;
  animation: fadeIn .18s ease; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(14px); } }
.modal-box { background: var(--cream); border-radius: var(--radius-lg); max-width: 1000px; width: 100%;
  padding: 38px; position: relative; max-height: 92vh; overflow-y: auto; animation: slideUp .22s ease; }
.modal-box h2 { font-size: 2.2rem; }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: 0; font-size: 2rem;
  color: var(--muted-fg); cursor: pointer; line-height: 1; }
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.package { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); }
.package.highlight { border: 2px solid var(--coral); box-shadow: var(--shadow-md); position: relative; }
.package.highlight::before { content: 'Najczęściej wybierana'; position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%); background: var(--coral); color: #fff; font-size: .75rem; font-weight: 700;
  padding: 3px 14px; border-radius: 999px; white-space: nowrap; }
.package h3 { font-size: 1.5rem; }
.package .price { font-size: 2.3rem; font-weight: 700; color: var(--navy); font-family: var(--sans); }
.package .price small { font-size: 1rem; font-weight: 600; }
.package .price .old { text-decoration: line-through; color: var(--muted-fg); font-size: 1.1rem; margin-right: 8px; }
.package ul { list-style: none; flex: 1; }
.package li { padding: 5px 0 5px 24px; position: relative; font-size: .92rem; color: rgba(13,34,94,.75);
  font-weight: 400; }
.package li::before { content: '✓'; position: absolute; left: 0; color: var(--coral); font-weight: 700; }

/* ── Status płatności ── */
.payu-status { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-sm); margin-bottom: 32px; }
.spinner { width: 46px; height: 46px; border: 4px solid var(--border); border-top-color: var(--coral);
  border-radius: 50%; margin: 0 auto 14px; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.payu-status.done .spinner { display: none; }
.payu-status .status-icon { font-size: 3rem; }

/* ── Cookie notice ── */
.cookie-notice { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 540px; margin: 0 auto;
  background: var(--navy); color: #fff; padding: 18px 22px; border-radius: var(--radius-lg); z-index: 900;
  display: flex; gap: 16px; align-items: center; box-shadow: var(--shadow-lg); }
.cookie-notice p { font-size: .87rem; flex: 1; font-weight: 400; }
.cookie-notice a { color: var(--coral); }
.cookie-notice .btn { padding: 9px 20px; font-size: .9rem; flex-shrink: 0; }

/* ── Strona błędu ── */
.error-page { padding: 100px 0; }
.error-code { font-family: var(--serif); font-style: italic; font-size: 6rem; font-weight: 600;
  color: var(--border); line-height: 1; }
.error-page .btn { margin: 6px; }

/* ── Stopka (minimalna, jak w projekcie) ── */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; padding: 30px 24px; font-size: .9rem; color: rgba(13, 34, 94, .6); font-weight: 400; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; }
.footer-links a { color: rgba(13, 34, 94, .6); text-decoration: none; }
.footer-links a:hover { color: var(--coral); }

/* ── Responsywność ── */
@media (max-width: 960px) {
  .packages-grid, .posts-grid, .related-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .ask-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero2-inner { grid-template-columns: 1fr; gap: 24px; padding-bottom: 90px; }
  .hero2-photo { justify-self: center; margin-right: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .page-hero .post-meta-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); z-index: 60;
    max-height: calc(100vh - 90px); overflow-y: auto; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 24px; }
  .has-sub > a::after { display: none; }
  .submenu { display: block; position: static; box-shadow: none; border: 0; padding-left: 18px; background: transparent; }
  .submenu::before { display: none; }
  .site-header { position: relative; }
}
@media (max-width: 640px) {
  .packages-grid, .posts-grid, .related-grid, .pricing-grid { grid-template-columns: 1fr; }
  .hero2-arch { width: 280px; height: 494px; border-radius: 140px 140px 20px 20px; }
  .hero2-circle { width: 110px; height: 110px; right: -8px; }
  .hero2-tag { font-size: 2.1rem; bottom: 90px; transform: translateX(-50%); }
  .logo .lg-a, .logo .lg-i { font-size: 2.1rem; }
  .post-footer-nav { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
