/* Cztery Struny Świata — wspólny wygląd strony.
   Układ: pergaminowe tło, bordowe akcenty, sekcje w pasach z wewnętrznym kontenerem 1200px. */
:root {
  --bg: #F2DDB6;
  --band: #EACFA2;
  --card: #F7E8CC;
  --field: #FFF7E8;
  --line: #B98B5C;
  --line-soft: #D9B98C;
  --ink: #3A2416;
  --ink-2: #4A2E1E;
  --muted: #6B4A34;
  --accent: #7A1F17;
  --accent-hover: #B82424;
  --dark: #3A2416;
  --on-dark: #F7E8CC;
  --on-dark-2: #EAD6B8;
  --gold: #E8C79A;
  --f-hero: 'Pirata One', 'Playfair Display', Georgia, serif;
  --f-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-label: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --f-body: 'Source Serif 4', Georgia, serif;
  color-scheme: light;
}
* { box-sizing: border-box }
[hidden] { display: none !important }
[id] { scroll-margin-top: 96px }
html { scroll-behavior: smooth }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6 }
img { max-width: 100%; height: auto }
a { color: var(--accent) }
a:hover { color: var(--accent-hover) }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px }
h1, h2, h3 { text-wrap: balance }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
.band { background: var(--band); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line) }
.section { padding-block: 80px }
.section-sm { padding-block: 56px }

/* Nagłówek */
.site-header { background: var(--bg); border-bottom: 2px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20 }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg) }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px }
.logo img { height: 60px; width: auto; display: block }
.menu-btn { display: none; font-family: var(--f-label); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--on-dark); border: 0; border-radius: 6px; min-height: 44px; padding: 0 16px; cursor: pointer }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-family: var(--f-label); font-weight: 500; font-size: 14px; letter-spacing: .06em; text-transform: uppercase }
.nav a { color: var(--ink); text-decoration: none; padding-block: 6px }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent) }
.nav a[aria-current="page"] { border-bottom: 2px solid var(--accent) }
.nav .nav-cta { background: var(--accent); color: var(--on-dark); padding: 10px 16px; border-radius: 6px; border: 0 }
.nav .nav-cta:hover { color: #fff; background: #5E1712 }
@media (max-width: 1240px) {
  .menu-btn { display: inline-flex; align-items: center }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px }
  .nav.open { display: flex }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line-soft) }
  .nav a[aria-current="page"] { border-bottom: 1px solid var(--line-soft) }
  .nav .nav-cta { margin-top: 12px; text-align: center; border-bottom: 0 }
  .header-row { flex-wrap: wrap }
}

/* Typografia */
.eyebrow { margin: 0 0 14px; font-family: var(--f-label); font-weight: 500; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted) }
.hero { padding-block: 80px 64px; text-align: center }
.hero h1 { margin: 0 auto; font-family: var(--f-hero); font-weight: 400; font-size: clamp(46px, 7.4vw, 96px); line-height: 1.05; color: var(--accent); max-width: 16ch }
.hero h1.plain { font-family: var(--f-head); font-weight: 700; font-size: clamp(36px, 5.6vw, 68px); line-height: 1.1 }
.lead { margin: 24px auto 0; font-size: 20px; color: var(--ink-2); max-width: 52ch }
.h2 { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; color: var(--accent) }
.h2.center { text-align: center }
.sub { margin: 12px 0 0; color: var(--ink-2); max-width: 60ch }
.sub.center { margin-left: auto; margin-right: auto; text-align: center }
.h3 { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: 23px; line-height: 1.2; color: var(--ink) }
.h3.caps { font-weight: 900; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent) }

/* Przyciski */
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 26px; border-radius: 6px; font-family: var(--f-label); font-weight: 500; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer }
.btn-primary { background: var(--accent); color: var(--on-dark); border: 0 }
.btn-primary:hover { background: #5E1712; color: #fff }
.btn-ghost { border: 2px solid var(--accent); color: var(--accent); background: transparent }
.btn-ghost:hover { background: var(--accent); color: var(--on-dark) }

/* Siatki i karty */
.grid { display: grid; gap: 22px; margin-top: 40px }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)) }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)) }
.pair { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)) }
.card { background: var(--card); border: 2px solid var(--line); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0 }
.card p { margin: 0 }
.card ul { margin: 0; padding-left: 20px; color: var(--ink-2) }
.card .price { font-family: var(--f-label); font-weight: 500; font-size: 20px; color: var(--ink); margin-top: auto; padding-top: 8px }
.card.dark { background: var(--dark); border-color: var(--accent); color: var(--on-dark) }
.card.dark .h3, .card.dark .price { color: var(--on-dark) }
.card.dark ul, .card.dark p { color: var(--on-dark-2) }
.card .tag { font-family: var(--f-label); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) }
.card.dark .tag { color: var(--gold) }
a.card { text-decoration: none; color: var(--ink); transition: transform .15s ease, border-color .15s ease }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--ink) }
@media (prefers-reduced-motion: reduce) { a.card { transition: none } a.card:hover { transform: none } }
a.card .more { margin-top: auto; padding-top: 8px; font-family: var(--f-label); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent) }
.center-card { align-items: center; text-align: center }
.mark { display: block; width: 48px; height: 3px; background: var(--accent) }

/* Lista z cenami */
.pricelist { margin-top: 28px; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card) }
.pricelist .row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 20px; border-top: 1px solid var(--line-soft) }
.pricelist .row:first-child { border-top: 0 }
.pricelist .head { background: var(--dark); color: var(--on-dark); font-family: var(--f-label); font-size: 14px; letter-spacing: .1em; text-transform: uppercase }
.pricelist strong { white-space: nowrap; color: var(--accent); font-variant-numeric: tabular-nums }
.note { margin: 18px 0 0; background: var(--dark); color: var(--on-dark); border-radius: 10px; padding: 16px 22px; font-size: 16px }
.note strong { color: var(--gold) }

/* Kroki procesu */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: step }
.steps li { counter-increment: step; background: var(--card); border: 2px solid var(--line); border-radius: 10px; padding: 24px; min-width: 0 }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--on-dark); font-family: var(--f-label); font-weight: 600; font-size: 18px; margin-bottom: 12px }
.steps h3 { margin: 0 0 6px }
.steps p { margin: 0; color: var(--ink-2) }

/* Opinie */
.rating { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin-top: 28px; color: var(--muted) }
.rating strong { font-family: var(--f-label); font-size: 24px; color: var(--accent) }
.review-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px }
.review-links a { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 20px; background: var(--card); border: 2px solid var(--line); border-radius: 6px; color: var(--ink); text-decoration: none; font-family: var(--f-label); font-weight: 500; letter-spacing: .04em; text-transform: uppercase }
.review-links a:hover { border-color: var(--accent); color: var(--accent) }

/* Kontakt i formularz */
.contact { display: flex; flex-wrap: wrap; gap: 44px }
.contact-info { flex: 1 1 300px; min-width: 0 }
.contact-info .big { display: block; font-family: var(--f-label); font-weight: 600; font-size: 24px; color: var(--ink); text-decoration: none }
.contact-info p { margin: 6px 0 0 }
.socials { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; font-family: var(--f-label); letter-spacing: .06em; text-transform: uppercase }
.form { flex: 2 1 480px; min-width: 0; background: var(--card); border: 2px solid var(--line); border-radius: 10px; padding: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.field.full, .form .full { grid-column: 1 / -1 }
.field label { font-size: 15px; font-weight: 600 }
.field input, .field select, .field textarea { min-height: 46px; width: 100%; background: var(--field); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 0 12px; font: inherit }
.field textarea { padding: 12px; resize: vertical; min-height: 110px }
.consents { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink-2) }
.consents label { display: flex; gap: 10px; align-items: flex-start }
.consents input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); flex: none }
.hp { position: absolute; left: -9999px }
.form-msg { grid-column: 1 / -1; margin: 0; padding: 12px 16px; border-radius: 6px; background: var(--dark); color: var(--on-dark) }

/* Stopka */
.site-footer { background: var(--dark); color: var(--on-dark-2); margin-top: 0 }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); padding-block: 48px 28px }
.site-footer h2 { margin: 0 0 10px; font-family: var(--f-label); font-weight: 500; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold) }
.site-footer a { color: var(--on-dark) }
.site-footer a:hover { color: #fff }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px }
.site-footer p { margin: 0 0 6px }
.footer-bottom { border-top: 1px solid #5A3F2E; padding-block: 18px; font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px }

/* Formularz zależny od tematu */
.form-area { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px }
.form-area .form { flex: none }
.topic { background: var(--dark); color: var(--on-dark); border-radius: 10px; padding: 20px 24px; display: flex; flex-direction: column; gap: 8px }
.topic label { font-family: var(--f-label); font-weight: 500; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold) }
.topic select { min-height: 50px; width: 100%; background: var(--field); color: var(--ink); border: 2px solid var(--gold); border-radius: 6px; padding: 0 12px; font: inherit; font-size: 18px }
.topic-hint { margin: 0; color: var(--on-dark-2); font-size: 15px }
.form-title { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: 22px; color: var(--accent) }
.checks { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin: 0; display: grid; gap: 8px 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); font-size: 15px; color: var(--ink-2) }
.checks legend { padding: 0 6px; font-weight: 600; color: var(--ink) }
.checks label { display: flex; gap: 10px; align-items: flex-start }
.checks input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none }

/* Ilustracje i bloki treści */
.card-img { display: block; width: calc(100% + 52px); max-width: none; margin: -26px -26px 6px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px 8px 0 0; border-bottom: 2px solid var(--line); background: var(--card) }
.feature { display: flex; flex-wrap: wrap; align-items: center; gap: 36px }
.feature > img { flex: 1 1 300px; min-width: 0; max-width: 100%; width: 100%; border: 2px solid var(--line); border-radius: 10px; object-fit: cover }
.feature > div { flex: 1.4 1 380px; min-width: 0 }
.feature > .grid { flex: 1.6 1 420px }
.why { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-top: 32px; text-align: center }
.why > div { padding-top: 14px }
.why p { margin: 6px 0 0; color: var(--ink-2) }
.chips { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px }
.chips li { background: var(--card); border: 2px solid var(--line); border-radius: 999px; padding: 8px 18px; display: flex; flex-direction: column; align-items: center; line-height: 1.3 }
.chips strong { font-family: var(--f-label); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; font-size: 15px }
.chips span { font-size: 13px; color: var(--muted) }
.pkg { text-align: center; align-items: center }
.pkg-hl { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset }
.pkg .disc { font-family: var(--f-head); font-weight: 900; font-size: 34px; color: var(--accent); line-height: 1 }
.pkg-prices { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding-block: 12px }
.pkg-prices > div { display: flex; flex-direction: column; gap: 2px }
.pkg-prices > div + div { border-left: 1px solid var(--line-soft) }
.pkg .len { font-family: var(--f-label); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) }
.pkg .amt { font-family: var(--f-label); font-weight: 600; font-size: 24px; color: var(--accent); font-variant-numeric: tabular-nums }
.pkg .per { font-size: 13px; color: var(--muted) }
.pkg .was { font-size: 14px; color: var(--muted) }
.pl-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); margin-top: 36px; align-items: start }
.pl-block .pricelist { margin-top: 12px }
.pl-note { margin: 8px 0 0; font-size: 15px; color: var(--muted) }
.panel-art { display: flex; gap: 8%; align-items: center; justify-content: center; padding: 10% 12%; background: linear-gradient(#E9D3AE, #DCC096) }
.panel-art span { flex: 1; height: 100%; border: 6px solid #8A5A34; border-radius: 3px; background: repeating-linear-gradient(90deg, #6E4A33 0 3px, #7C5640 3px 6px); box-shadow: 0 6px 10px rgba(58,36,22,.25) }
.swatches { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 18px }
.swatches li { display: flex; align-items: center; gap: 8px; font-size: 15px }
.swatches span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: inline-block }

/* „Dlaczego my?” – symetryczne kwadraty: 4 w rzędzie, 2 + 2 na tablecie, 1 na telefonie */
.why { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px }
.why > div { border: 2px solid var(--line); border-radius: 10px; background: var(--card); padding: 28px 22px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; min-height: 190px }
.why > div::before { content: ""; display: block; width: 48px; height: 3px; background: var(--accent); margin-bottom: 12px }
.why p { max-width: 24ch }
@media (max-width: 900px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 520px) { .why { grid-template-columns: minmax(0, 1fr) } .why > div { min-height: 0 } }
.card-img { aspect-ratio: 16 / 9 }
.wide-img { display: block; width: 100%; max-width: 1000px; margin: 28px auto 0; border: 2px solid var(--line); border-radius: 10px }
.table-wrap { overflow-x: auto; margin-top: 28px }
.duo { width: 100%; max-width: 760px; margin: 0 auto; border-collapse: separate; border-spacing: 0; background: var(--card); border: 2px solid var(--line); border-radius: 10px; overflow: hidden; font-variant-numeric: tabular-nums }
.duo th, .duo td { padding: 14px 18px; text-align: center; border-top: 1px solid var(--line-soft) }
.duo thead th { background: var(--dark); color: var(--on-dark); font-family: var(--f-label); font-weight: 500; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; border-top: 0 }
.duo tbody th { text-align: left; font-weight: 600 }
.duo td strong { display: block; font-family: var(--f-label); font-weight: 600; font-size: 20px; color: var(--accent) }
.duo td span { display: block; font-size: 14px; color: var(--muted) }
.legal h2 { font-family: var(--f-head); font-weight: 700; font-size: 24px; color: var(--accent); margin: 40px 0 10px }
.legal h3 { font-family: var(--f-head); font-weight: 700; font-size: 19px; margin: 24px 0 8px }
.legal ol { padding-left: 24px; display: grid; gap: 6px }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 16px; background: var(--card); font-variant-numeric: tabular-nums }
.legal th, .legal td { border: 1px solid var(--line-soft); padding: 9px 12px; text-align: left }
.legal th { background: var(--dark); color: var(--on-dark); font-family: var(--f-label); font-weight: 500; letter-spacing: .06em }
/* Galerie zdjęć – układ kolumnowy, bez przycinania */
.gallery { columns: 3 260px; column-gap: 18px; margin-top: 36px }
.gallery figure { break-inside: avoid; margin: 0 0 18px; background: var(--card); border: 2px solid var(--line); border-radius: 10px; overflow: hidden }
.gallery img { display: block; width: 100%; height: auto }
.gallery figcaption { padding: 10px 14px; font-size: 15px; color: var(--muted) }
