/* LifeMed Wilanów – system wizualny */
:root {
  --ink: #1d2823;
  --ink-soft: #4a5751;
  --muted: #7a857f;
  --forest: #2f4a3e;
  --forest-deep: #1f332a;
  --sage: #8fa394;
  --sage-light: #dfe6df;
  --cream: #f7f3ec;
  --paper: #fffdf9;
  --sand: #ece3d5;
  --gold: #a88452;
  --gold-soft: #d9c4a1;
  --line: rgba(29, 40, 35, .12);
  --danger: #a4463a;
  --ok: #3d7556;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(31, 51, 42, .05), 0 12px 40px -12px rgba(31, 51, 42, .18);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.8rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
h3 { font-size: 1.65rem; }
p { margin: 0 0 1em; }
em.accent, h1 em, h2 em { font-style: italic; color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em; font: 600 .75rem/1 var(--sans);
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 58ch; }
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* przyciski */
.btn {
  --bg: var(--forest); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 15px 28px; border-radius: 999px; border: 1px solid var(--bg);
  background: var(--bg); color: var(--fg); font: 600 .95rem/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: transform .25s, background .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(31, 51, 42, .55); }
.btn-gold { --bg: var(--gold); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper); box-shadow: none; }
.btn-light { --bg: var(--paper); --fg: var(--forest-deep); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* nagłówek */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 236, .82);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-color: var(--line); }
.topbar { background: var(--forest-deep); color: var(--sand); font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar a { text-decoration: none; white-space: nowrap; }
.topbar .show-xs { display: none; }
.topbar .wrap > div > * + * { margin-left: 22px; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; }
.brand-name { font: 500 1.6rem/1 var(--serif); letter-spacing: .01em; }
.brand-name small { display: block; font: 600 .62rem/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--ink-soft); position: relative; white-space: nowrap; }
.topbar .wrap > div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1100px) { .topbar .hide-sm { display: none; } }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links .btn { padding: 12px 22px; color: var(--paper); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 44px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 28px; padding: 0; margin: 0; list-style: none; color: var(--ink-soft); font-size: .9rem; }
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.hero-art { position: relative; aspect-ratio: 4 / 5; }
.arch {
  position: absolute; inset: 0; border-radius: 999px 999px 24px 24px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 30% 20%, rgba(255, 253, 249, .55), transparent 60%),
    linear-gradient(165deg, #b9c7b9 0%, #6f8a7a 45%, #2f4a3e 100%);
  box-shadow: var(--shadow);
}
.arch svg { position: absolute; inset: auto 0 0 0; width: 100%; height: auto; }
.arch-outline { position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--gold-soft); border-radius: 999px 999px 28px 28px; }
.hero-card {
  position: absolute; left: -48px; bottom: 56px; background: var(--paper); border-radius: 16px; padding: 18px 22px;
  box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; max-width: 280px;
}
.hero-card .dot { width: 44px; height: 44px; border-radius: 50%; background: var(--sage-light); display: grid; place-items: center; color: var(--forest); flex: none; }
.hero-card strong { display: block; font: 500 1.25rem/1.1 var(--serif); }
.hero-card span { font-size: .8rem; color: var(--muted); }
.hero-quote { position: absolute; left: 50%; top: 20%; transform: translateX(-50%); width: 72%; color: var(--paper); font: italic 500 clamp(1.25rem, 2vw, 1.6rem)/1.3 var(--serif); text-align: center; margin: 0; }

/* pasek zaufania */
.strip { border-block: 1px solid var(--line); background: var(--paper); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip div { padding: 28px 24px; border-left: 1px solid var(--line); }
.strip div:first-child { border-left: 0; }
.strip strong { display: block; font: 500 1.5rem/1.2 var(--serif); }
.strip span { font-size: .86rem; color: var(--muted); }

/* o nas */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.about-grid .big { font: 400 clamp(1.6rem, 2.6vw, 2.2rem)/1.35 var(--serif); color: var(--ink); }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 40px; margin-top: 40px; }
.pillar h4 { font-size: 1.35rem; margin-bottom: .3em; }
.pillar p { font-size: .94rem; color: var(--ink-soft); margin: 0; }
.pillar .num { font: italic 500 1rem var(--serif); color: var(--gold); display: block; margin-bottom: 8px; }

/* obszary pomocy */
.areas { background: var(--paper); }
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.area { background: var(--paper); padding: 40px 34px; transition: background .3s; }
.area:hover { background: var(--cream); }
.area .icon { width: 46px; height: 46px; color: var(--gold); margin-bottom: 24px; }
.area .sub { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-bottom: 10px; }
.area ul { list-style: none; padding: 0; margin: 18px 0 0; font-size: .92rem; color: var(--ink-soft); }
.area li { padding: 7px 0 7px 20px; position: relative; border-top: 1px dashed var(--line); }
.area li::before { content: ""; position: absolute; left: 0; top: 17px; width: 8px; height: 1px; background: var(--gold); }
.area details summary { cursor: pointer; list-style: none; font-size: .88rem; font-weight: 600; color: var(--forest); margin-top: 14px; }
.area details summary::-webkit-details-marker { display: none; }
.area details summary::after { content: " +"; }
.area details[open] summary::after { content: " –"; }

/* specjaliści */
.portrait .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.choice img.mono-sm { object-fit: cover; }
.announce { background: var(--gold); color: var(--paper); text-align: center; font-size: .85rem; font-weight: 600; padding: 9px 16px; }
.announce a { color: inherit; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.person { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.portrait {
  aspect-ratio: 5 / 4; position: relative; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--sand), var(--sage-light));
}
.portrait .mono {
  width: 128px; height: 160px; border-radius: 999px 999px 12px 12px; background: var(--forest);
  color: var(--gold-soft); display: grid; place-items: center; font: italic 500 3rem var(--serif);
  box-shadow: 0 0 0 10px rgba(255, 253, 249, .5);
}
.person-body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.person .role { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.person p { font-size: .93rem; color: var(--ink-soft); }
.profile-link { font-size: .84rem; font-weight: 600; color: var(--forest); margin: -8px 0 20px; text-decoration: none; }
.profile-link:hover { text-decoration: underline; }

/* podstrony SEO */
.lp-hero { padding-bottom: clamp(40px, 5vw, 64px); }
.lp-hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); max-width: 18ch; }
.crumbs { display: flex; gap: 10px; font-size: .82rem; color: var(--muted); margin-bottom: 28px; }
.crumbs a { text-decoration: none; color: var(--forest); }
.lp-body { max-width: 820px; padding-bottom: clamp(40px, 6vw, 80px); }
.lp-section { padding: 34px 0; border-top: 1px solid var(--line); }
.lp-section h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.lp-section p { color: var(--ink-soft); font-size: 1.02rem; max-width: 68ch; }
.lp-links { margin-top: 48px; }
.lp-links div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lp-links a { border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: .88rem; text-decoration: none; background: var(--paper); }
.lp-links a:hover { border-color: var(--gold); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 24px; padding: 0; list-style: none; }
.tags li { font-size: .76rem; padding: 5px 12px; border-radius: 999px; background: var(--cream); color: var(--ink-soft); border: 1px solid var(--line); }
.person .btn { margin-top: auto; align-self: flex-start; }

/* proces */
.process { background: var(--forest-deep); color: var(--sand); position: relative; overflow: hidden; }
.process h2, .process h3 { color: var(--paper); }
.process .lead { color: rgba(236, 227, 213, .75); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; margin-top: 12px; }
.step { border-top: 1px solid rgba(217, 196, 161, .35); padding-top: 28px; }
.step::before { counter-increment: s; content: "0" counter(s); font: italic 500 2.6rem/1 var(--serif); color: var(--gold-soft); display: block; margin-bottom: 18px; }
.step p { font-size: .93rem; color: rgba(236, 227, 213, .75); }
.pay-logos { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 44px; }
.pay-logos span { border: 1px solid rgba(217, 196, 161, .35); border-radius: 999px; padding: 8px 18px; font-size: .85rem; }

/* cennik */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.price-card h3 { font-size: 1.45rem; margin-bottom: 2px; }
.price-card .who { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.price-row b { font: 500 1.35rem var(--serif); white-space: nowrap; }
.price-row small { display: block; color: var(--muted); font-size: .78rem; }
.note { font-size: .82rem; color: var(--muted); margin-top: 22px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font: 500 1.35rem/1.3 var(--serif); display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.6rem/1 var(--sans); color: var(--gold); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; color: var(--ink-soft); font-size: .96rem; max-width: 62ch; }

/* pomoc w kryzysie */
.crisis { background: var(--sand); border-radius: var(--radius); padding: 32px 36px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.crisis svg { width: 40px; height: 40px; color: var(--danger); }
.crisis p { margin: 0; font-size: .95rem; }
.crisis strong { font-weight: 700; }

/* kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.contact-info { padding: 52px; }
.contact-info dl { margin: 32px 0 0; display: grid; gap: 22px; }
.contact-info dt { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.contact-info dd { margin: 4px 0 0; font: 500 1.3rem/1.4 var(--serif); }
.contact-info dd a { text-decoration: none; }
.hours { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .92rem; }
.hours td { padding: 4px 0; }
.hours td:last-child { text-align: right; color: var(--ink-soft); }
.map { min-height: 420px; background: var(--sage-light); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) sepia(.15); }
.map-link { position: absolute; left: 20px; bottom: 20px; z-index: 1; padding: 12px 20px; }

/* CTA */
.cta { text-align: center; padding: clamp(80px, 10vw, 120px) 0; background:
  radial-gradient(60% 120% at 50% 0%, rgba(168, 132, 82, .14), transparent 70%), var(--cream); }
.cta h2 { max-width: 16ch; margin-inline: auto; }

/* stopka */
.site-footer { background: var(--forest-deep); color: rgba(236, 227, 213, .7); font-size: .9rem; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid.has-pages { grid-template-columns: 1.3fr 1fr 1.2fr 1fr 1.1fr; }
.site-footer h4 { color: var(--paper); font-size: 1.2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .brand-name { color: var(--paper); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(236, 227, 213, .12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; }

/* animacje wejścia */
/* Treść jest zawsze widoczna. Ukrywamy ją do animacji tylko wtedy, gdy działa skrypt (klasa .js na <html>). */
.js .reveal { transform: translateY(22px); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { transform: none; }
/* Baner główny: animowany jest tylko ruch, nie przezroczystość – nawet gdy przeglądarka wstrzyma
   animację (karta w tle, zrzut ekranu, oszczędzanie energii), treść pozostaje w pełni widoczna. */
.rise { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-art.rise { animation-delay: .1s; }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; transition: none; }
  .rise { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- rezerwacja */
.booking-page { padding: 48px 0 96px; }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.booking-layout > * { min-width: 0; }
.stepper { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 36px; counter-reset: st; }
.stepper li { flex: 1; font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.stepper li::before { content: ""; display: block; height: 3px; border-radius: 3px; background: var(--line); margin-bottom: 10px; transition: background .4s; }
.stepper li.done::before, .stepper li.active::before { background: var(--gold); }
.stepper li.active { color: var(--ink); }
.panel { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.panel h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.panel-step { display: none; animation: fade .5s ease; }
.panel-step.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.choice-grid { display: grid; gap: 14px; }
.choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.choice {
  position: relative; display: flex; gap: 16px; align-items: center; padding: 20px 22px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 14px; background: var(--paper); transition: border-color .2s, background .2s, box-shadow .2s;
}
.choice:hover { border-color: var(--sage); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--forest); background: #f4f6f2; box-shadow: inset 0 0 0 1px var(--forest); }
.choice:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.choice .mono-sm { width: 52px; height: 64px; border-radius: 999px 999px 8px 8px; background: var(--forest); color: var(--gold-soft); display: grid; place-items: center; font: italic 500 1.35rem var(--serif); flex: none; }
.choice strong { display: block; font-weight: 600; font-size: .98rem; }
.choice small { color: var(--muted); font-size: .83rem; display: block; line-height: 1.45; }
.choice .price { margin-left: auto; font: 500 1.35rem var(--serif); white-space: nowrap; }
.choice-grid.cols-3 .choice { flex-direction: column; align-items: flex-start; gap: 6px; }
.field-label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 32px 0 14px; }

.days { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; }
.day {
  flex: none; width: 76px; padding: 12px 0; text-align: center; border-radius: 14px; border: 1px solid var(--line);
  background: var(--paper); cursor: pointer; scroll-snap-align: start; font: inherit; color: inherit; transition: all .2s;
}
.day small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.day b { display: block; font: 500 1.7rem/1.1 var(--serif); }
.day span { font-size: .72rem; color: var(--muted); }
.day:hover:not([disabled]) { border-color: var(--sage); }
.day.selected { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.day.selected small, .day.selected span { color: var(--gold-soft); }
.day[disabled] { opacity: .35; cursor: not-allowed; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.time { padding: 12px 0; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); font: 600 .95rem var(--sans); cursor: pointer; color: var(--ink); transition: all .2s; }
.time:hover { border-color: var(--sage); }
.time.selected { background: var(--gold); border-color: var(--gold); color: var(--paper); }
.empty { color: var(--muted); font-size: .94rem; padding: 20px; background: var(--cream); border-radius: 12px; text-align: center; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--cream);
  font: inherit; color: var(--ink); transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--forest); background: var(--paper); }
.field textarea { min-height: 100px; resize: vertical; }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); cursor: pointer; line-height: 1.5; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--forest); flex: none; }
.consents { display: grid; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }

.pay-options .choice { padding: 22px; }
.pay-icon { width: 58px; height: 40px; border-radius: 8px; display: grid; place-items: center; flex: none; font: 800 .8rem/1 var(--sans); letter-spacing: .02em; }
.pay-icon.blik { background: #111; color: #fff; }
.pay-icon.online { background: var(--sage-light); color: var(--forest); }
.pay-icon.bank { background: var(--sand); color: var(--forest); }

.panel-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.error-box { display: none; margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: #f6e7e4; color: var(--danger); font-size: .92rem; }
.error-box.show { display: block; }

.summary { position: sticky; top: 104px; background: var(--forest-deep); color: var(--sand); border-radius: var(--radius); padding: 32px; }
.summary h3 { color: var(--paper); font-size: 1.6rem; }
.summary dl { margin: 22px 0 0; display: grid; gap: 14px; }
.summary dt { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }
.summary dd { margin: 3px 0 0; font-size: .95rem; color: var(--paper); }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(236, 227, 213, .15); }
.summary .total b { font: 500 2.1rem var(--serif); color: var(--paper); }
.summary .secure { display: flex; gap: 10px; align-items: center; font-size: .78rem; margin-top: 20px; color: rgba(236, 227, 213, .65); }
.summary .secure svg { width: 16px; height: 16px; flex: none; }

/* potwierdzenie / płatność */
.center-card { max-width: 640px; margin: 64px auto 110px; text-align: center; }
.status-icon { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 26px; display: grid; place-items: center; }
.status-icon svg { width: 38px; height: 38px; }
.status-icon.ok { background: #e3eee6; color: var(--ok); }
.status-icon.wait { background: var(--sand); color: var(--gold); }
.status-icon.bad { background: #f6e7e4; color: var(--danger); }
.details { text-align: left; margin: 30px 0; border-top: 1px solid var(--line); }
.details div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.details span { color: var(--muted); }
.details b { font-weight: 600; text-align: right; }
.transfer-box { text-align: left; background: var(--cream); border: 1px dashed var(--gold-soft); border-radius: 14px; padding: 22px 24px; margin: 24px 0; font-size: .93rem; }
.transfer-box code { font: 600 1rem ui-monospace, Consolas, monospace; letter-spacing: .03em; }
.spinner { width: 28px; height: 28px; border: 2px solid var(--sand); border-top-color: var(--gold); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-banner { background: var(--gold); color: var(--paper); text-align: center; font-size: .82rem; padding: 8px 16px; font-weight: 600; }
.gateway { max-width: 460px; margin: 56px auto; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.gateway-head { background: var(--ink); color: var(--paper); padding: 22px 28px; display: flex; justify-content: space-between; align-items: center; }
.gateway-body { padding: 30px 28px; }
.blik-code { font: 600 2rem/1 ui-monospace, Consolas, monospace; letter-spacing: .4em; text-align: center; }
.bank-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bank-list button { padding: 16px 6px; border-radius: 10px; border: 1px solid var(--line); background: var(--cream); font: 600 .8rem var(--sans); cursor: pointer; }
.bank-list button.selected { border-color: var(--forest); background: var(--sage-light); }

/* strony tekstowe */
.prose { max-width: 760px; margin: 56px auto 110px; background: var(--paper); padding: clamp(28px, 5vw, 64px); border-radius: var(--radius); }
.prose h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-soft); font-size: .97rem; }

/* ---------------------------------------------------------------- responsywność */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .faq-grid, .booking-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-art { max-width: 440px; margin-inline: auto; width: 100%; }
  .hero-card { left: -12px; }
  .area-grid, .team-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .strip div:nth-child(3) { border-left: 0; }
  .strip div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid, .footer-grid.has-pages { grid-template-columns: 1fr 1fr; }
  .summary { position: static; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 16px; width: 100%; }
  .topbar .hide-sm { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { padding: 32px 24px; }
  .map { min-height: 300px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .topbar .hide-xs { display: none; }
  .stepper li:not(.active) { font-size: 0; }
  .stepper li.active { flex: 2.5; white-space: nowrap; }
  .topbar .show-xs { display: inline; }
  .brand-name small { letter-spacing: .18em; }
  .area-grid, .team-grid, .price-grid, .steps, .pillars, .footer-grid, .footer-grid.has-pages, .form-grid, .choice-grid.cols-3 { grid-template-columns: 1fr; }
  .strip .wrap { grid-template-columns: 1fr; }
  .strip div { border-left: 0 !important; border-top: 1px solid var(--line); padding: 18px 0; }
  .strip div:first-child { border-top: 0; }
  .hero-card { position: relative; left: 0; bottom: 0; margin: -60px 16px 0; }
  .hero-art { aspect-ratio: auto; }
  .hero-art .arch { position: relative; aspect-ratio: 4 / 5; }
  .arch-outline { display: none; }
  .crisis { grid-template-columns: 1fr; padding: 24px; }
  .area { padding: 30px 24px; }
  .choice { flex-wrap: wrap; }
  .choice .price { margin-left: 68px; }
  .pay-options .choice .price { margin-left: 74px; }
  .panel-nav .btn { flex: 1; padding-inline: 12px; }
  .bank-list { grid-template-columns: repeat(2, 1fr); }
}
