/* ===== Kolory i zmienne ===== */
:root {
  /* Paleta inspirowana Instagramem @psycholognajuz: pomarańcz, słoneczna żółć, głęboka zieleń */
  --bg: #fffaf2;
  --bg-tint: #fff1dc;
  --surface: #ffffff;
  --text: #2b2a28;
  --muted: #645e56;
  --primary: #c4561a;       /* ciepły pomarańcz */
  --primary-dark: #9e430f;
  --accent: #f0a92e;        /* słoneczna żółć */
  --sun: #ffd978;
  --border: #f0e2cc;
  --dark: #234536;          /* głęboka zieleń */
  --radius: 18px;
  --shadow: 0 10px 30px rgba(45, 51, 48, .08);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary-dark); }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: .5rem; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: .8rem;
}

/* Żółty „zakreślacz” pod wybranymi słowami */
.mark {
  background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 92%, transparent 92%);
  padding: 0 .1em;
}

/* ===== Przyciski ===== */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  border: 2px solid var(--primary);
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  transition: background .2s, transform .2s, border-color .2s;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--primary-dark); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-small { padding: .55rem 1.1rem; font-size: .92rem; }
.btn-light { background: #fff; color: var(--dark); border-color: #fff; }
.btn-light:hover { background: var(--bg-tint); border-color: var(--bg-tint); }

/* ===== Nagłówek ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--border); box-shadow: 0 2px 20px rgba(0,0,0,.04); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 72px; }

.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; }
.logo small { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.logo-mark { color: var(--primary); display: flex; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { text-decoration: none; color: var(--text); font-size: .95rem; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--accent); transition: width .25s; }
.nav a:not(.btn):hover::after { width: 100%; }

.nav a.nav-ig {
  display: flex; align-items: center; gap: .45rem; color: var(--primary); font-weight: 600;
  border: 2px solid var(--primary); border-radius: 999px; padding: .4rem .55rem;
  transition: background .2s, color .2s;
}
.nav a.nav-ig::after { display: none; }
.nav a.nav-ig:hover { background: var(--primary); color: #fff; }
.nav-ig-label { display: none; }
.header-ig {
  display: none; width: 38px; height: 38px; border-radius: 50%; place-items: center; flex-shrink: 0;
  color: #fff; background: linear-gradient(135deg, #f0a92e, #c4561a); margin-left: auto;
}
.nav a { white-space: nowrap; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .3s, opacity .3s; }

/* ===== Hero ===== */
.hero { padding: clamp(3rem, 7vw, 6rem) 0; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .92rem; color: var(--muted); }
.hero-badges li::before { content: "✓"; color: var(--primary); font-weight: 700; margin-right: .4rem; }

.hero-visual { position: relative; }
.photo-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: 200px 200px var(--radius) var(--radius);
  background: linear-gradient(160deg, #ffe9b0, #ffd27a);
  color: var(--primary-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  overflow: hidden;
  position: relative;
}
.photo-placeholder picture { width: 100%; height: 100%; display: block; position: relative; }
.photo-placeholder img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; display: block; }.photo-placeholder svg { width: 75%; }
.photo-placeholder span { position: absolute; top: 18%; font-size: .85rem; opacity: .7; }
.hero-card {
  position: absolute; left: -2rem; bottom: 2rem;
  background: var(--surface); padding: 1rem 1.25rem; border-radius: 14px;
  box-shadow: var(--shadow); max-width: 230px;
  display: flex; flex-direction: column; font-size: .88rem; color: var(--muted);
}
.hero-card strong { color: var(--primary); font-size: .95rem; }

/* ===== Sekcje ===== */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-tinted { background: var(--bg-tint); }
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--muted); }

/* O mnie */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: start; }
.about-text p:not(.eyebrow) { margin-bottom: 1rem; color: var(--muted); }
.about-text strong { color: var(--text); }
.credentials { list-style: none; display: grid; gap: 1rem; }
.credentials li {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.25rem;
}
.cred-icon { font-size: 1.5rem; line-height: 1; }
.credentials div { display: flex; flex-direction: column; }
.credentials span:not(.cred-icon) { color: var(--muted); font-size: .93rem; }

/* Instagram */
.ig-section { background: linear-gradient(135deg, #fff1cf 0%, #ffe2b8 55%, #ffd3c2 100%); position: relative; overflow: hidden; }
.ig-section::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: var(--sun); opacity: .45; right: -120px; top: -160px;
}
.ig-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; }
.ig-handle { color: var(--primary); white-space: nowrap; }
.ig-text > p:not(.eyebrow) { color: var(--muted); margin-bottom: 1.4rem; }
.ig-list { list-style: none; display: grid; gap: .6rem; margin-bottom: 2rem; }
.ig-list li { display: flex; gap: .7rem; align-items: center; }
.btn-ig {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--dark); border-color: var(--dark); color: #fff; font-weight: 600; padding: 1rem 1.8rem;
}
.btn-ig:hover { background: #17302a; border-color: #17302a; }

.ig-card {
  display: block; text-decoration: none; color: var(--text);
  background: var(--surface); border-radius: 24px; padding: 1.4rem; box-shadow: 0 20px 50px rgba(158, 67, 15, .18);
  transform: rotate(1.5deg); transition: transform .3s, box-shadow .3s; max-width: 440px; justify-self: center; width: 100%;
}
.ig-card:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 26px 60px rgba(158, 67, 15, .24); }
.ig-card-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.2rem; }
.ig-card-head div { display: flex; flex-direction: column; font-size: .85rem; color: var(--muted); line-height: 1.4; }
.ig-card-head strong { color: var(--text); font-size: 1rem; }
.ig-tags { font-size: .78rem; }
.ig-avatar {
  width: 62px; height: 62px; border-radius: 50%; padding: 3px; flex-shrink: 0;
  background: conic-gradient(from 200deg, #f0a92e, #e8602c, #c4561a, #ffd978, #f0a92e);
}
.ig-avatar img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; border: 3px solid #fff;
}
.ig-avatar span {
  width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); border: 3px solid #fff; font-family: var(--font-head); font-weight: 600; color: var(--primary-dark);
}
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: 12px; overflow: hidden; }
.ig-tile {
  aspect-ratio: 1; display: flex; align-items: flex-end; padding: .55rem; position: relative; overflow: hidden;
}
.ig-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ig-tile::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(35, 69, 54, .55)); }
.ig-card:hover .ig-tile img { transform: scale(1.05); }
.ig-tile b {
  font-family: var(--font-head); font-size: .8rem; line-height: 1.15; position: relative; z-index: 1;
  background: var(--tile-bg); color: var(--tile-fg); padding: .3rem .5rem; border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
@media (max-width: 480px) {
  .ig-tile { padding: .3rem; }
  .ig-tile b { font-size: .66rem; padding: .2rem .35rem; border-radius: 6px; }
}
.t1 { --tile-bg: #2f6b3f; --tile-fg: #ffb347; background: #2f6b3f; }
.t2 { --tile-bg: #f4a259; --tile-fg: #fff; background: #f4a259; }
.t3 { --tile-bg: #ffffff; --tile-fg: var(--primary); background: #fff; }
.t4 { --tile-bg: var(--sun); --tile-fg: var(--primary-dark); background: var(--sun); }
.t5 { --tile-bg: #c4561a; --tile-fg: #fff3d6; background: #c4561a; }
.t6 { --tile-bg: #234536; --tile-fg: var(--sun); background: #234536; }
.ig-card-foot { display: block; text-align: right; margin-top: 1rem; font-weight: 600; color: var(--primary); font-size: .92rem; }

/* Etykieta z profilem w hero */
.hero-ig {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.4rem;
  text-decoration: none; color: var(--text); font-size: .95rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: .4rem 1rem .4rem .4rem;
  transition: border-color .2s, transform .2s;
}
.hero-ig:hover { border-color: var(--primary); transform: translateY(-2px); }
.hero-ig .ig-dot {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #f0a92e, #c4561a);
}
.hero-ig strong { color: var(--primary); }

/* Karty */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--surface); border-radius: var(--radius); padding: 2rem;
  border: 1px solid var(--border); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.card p { color: var(--muted); font-size: .96rem; }

/* Kroki */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6rem; counter-reset: s; position: relative; }
.steps li { position: relative; }
.step-num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: #fff; font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 1.2rem;
  position: relative; z-index: 1;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 26px; left: 64px; right: -1.5rem; border-top: 2px dashed var(--border);
}
.steps p { color: var(--muted); font-size: .96rem; }

/* Cennik */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; align-items: stretch; max-width: 760px; margin-inline: auto; }
/* Cennik na tle zdjęcia z parku (img/park.jpg, na telefonie img/park-pion.jpg) */
.section-photo {
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(255, 250, 242, .88) 22%, rgba(255, 250, 242, .25) 55%, rgba(255, 250, 242, .1) 100%),
    url("img/park.jpg") center 62% / cover no-repeat;
}
.section-photo .section-head p:not(.eyebrow) { color: var(--text, #2b2b2b); }
.section-photo .price-card { box-shadow: 0 12px 34px rgba(35, 69, 54, .22); }
@media (max-width: 640px) {
  .section-photo {
    background:
      linear-gradient(180deg, var(--bg) 0%, rgba(255, 250, 242, .9) 18%, rgba(255, 250, 242, .2) 45%, rgba(255, 250, 242, .1) 100%),
      url("img/park-pion.jpg") center bottom / cover no-repeat;
  }
}
.price-card {
  background: var(--surface); border-radius: var(--radius); padding: 2.2rem 2rem; border: 1px solid var(--border);
  position: relative; text-align: center;
}
.price-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.price-card .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: .75rem; padding: .25rem .8rem; border-radius: 999px; white-space: nowrap;
}
.price { font-family: var(--font-head); font-size: 2.4rem; color: var(--primary-dark); margin: .5rem 0 1rem; }
.price-time { font-family: var(--font-body, inherit); font-size: 1rem; color: var(--muted); font-weight: 400; }
.price-card p:last-child { color: var(--muted); font-size: .95rem; }

/* Opinie – karuzela */
.carousel { position: relative; max-width: 980px; margin-inline: auto; padding: 0 3.5rem; }
.carousel-track {
  display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: .5rem .25rem 1.5rem; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: var(--radius); }
.testimonial {
  flex: 0 0 calc(50% - .75rem); scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; display: flex; flex-direction: column; gap: 1.4rem; position: relative;
}
.testimonial::before {
  content: "“"; position: absolute; top: .4rem; right: 1.2rem;
  font-family: var(--font-head); font-size: 5rem; line-height: 1; color: var(--sun);
}
.testimonial blockquote { font-size: 1.05rem; color: var(--text); flex: 1; position: relative; }
.testimonial figcaption { display: flex; align-items: center; gap: .8rem; }
.testimonial figcaption > span:last-child { display: flex; flex-direction: column; font-size: .88rem; color: var(--muted); }
.testimonial figcaption strong { color: var(--text); font-size: .98rem; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--sun); color: var(--primary-dark); font-weight: 600; font-family: var(--font-head);
}
.sample-tag {
  align-self: flex-start; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em;
  background: #fde7e0; color: #a3341a; padding: .2rem .6rem; border-radius: 999px; font-weight: 600;
}
.carousel-btn {
  position: absolute; top: calc(50% - 1.5rem); transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--primary); font-size: 1.6rem; line-height: 1;
  cursor: pointer; box-shadow: var(--shadow); transition: background .2s, color .2s;
}
.carousel-btn:hover { background: var(--primary); color: #fff; }
.carousel-btn:disabled { opacity: .35; cursor: default; background: var(--surface); color: var(--primary); }
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }
.carousel-dots { display: flex; justify-content: center; gap: .5rem; }
.carousel-dots button {
  width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0;
  background: var(--border); cursor: pointer; transition: width .25s, background .25s;
}
.carousel-dots button[aria-selected="true"] { width: 28px; background: var(--primary); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); padding: 1.2rem 0; }
.faq summary {
  cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--primary); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: .8rem; }

/* Kontakt */
.section-dark { background: var(--dark); color: #e8efe9; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--sun); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info > p { color: #c4d2c8; margin-bottom: 2rem; }
.contact-list { list-style: none; display: grid; gap: 1rem; }
.contact-list li { display: flex; flex-direction: column; }
.contact-list span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #9fb5a7; }
.contact-list a { color: #fff; text-decoration: none; font-size: 1.1rem; }
.contact-list a:hover { text-decoration: underline; }

.contact-cta {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 2.2rem;
}
.cta-emoji { font-size: 2rem; display: block; margin-bottom: .6rem; }
.contact-cta h3 { color: #fff; font-size: 1.5rem; }
.contact-cta p { color: #c4d2c8; margin-bottom: 1.5rem; }
.contact-cta .cta-alt { margin: 1.5rem 0 0; font-size: .92rem; }
.contact-cta .cta-alt a { color: var(--sun); }
.btn-sun { background: var(--sun); border-color: var(--sun); color: var(--dark); font-weight: 600; }
.btn-sun:hover { background: var(--accent); border-color: var(--accent); }
.footer-links { display: flex; gap: 1.2rem; }

/* Stopka */
.site-footer { background: #1a3529; color: #b4c4ba; padding: 2.5rem 0 1.5rem; font-size: .92rem; }
.crisis { background: rgba(255,255,255,.05); border-left: 3px solid var(--accent); padding: 1rem 1.25rem; border-radius: 8px; margin-bottom: 2rem; }
.crisis strong { color: #fff; display: block; margin-bottom: .3rem; }
.crisis a { color: var(--sun); font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom a { color: #b4c4ba; }

/* Animacje pojawiania */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsywność ===== */
@media (max-width: 960px) {
  .hero-inner, .about, .contact, .ig-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 380px; margin-inline: auto; width: 100%; margin-bottom: 2rem; }
  .hero-card { left: 0; bottom: -2rem; }
  .cards, .pricing { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
}

/* Menu „hamburger” – włącza się, gdy pełne menu przestaje mieścić się w jednej linii */
@media (max-width: 1100px) {
  .nav-toggle { display: block; flex-shrink: 0; }
  .header-inner { gap: .6rem; }
  .header-ig { display: grid; }
  .logo { white-space: nowrap; line-height: 1.25; min-width: 0; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: .5rem 16px 1.25rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--border); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1rem; text-align: center; }
  .nav-ig-label { display: inline; }
  .nav a.nav-ig { margin-top: 1rem; justify-content: center; padding: .7rem 1rem; border-bottom: 2px solid var(--primary); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 760px) {
  .logo { font-size: 1.05rem; }
  .logo-mark svg { width: 24px; height: 24px; }
  .ig-handle { white-space: normal; word-break: break-word; }
  .btn-ig { width: 100%; justify-content: center; }
  .ig-card { transform: none; }
  .hero-ig { font-size: .88rem; }

  .cards, .pricing, .steps { grid-template-columns: 1fr; }
  .pricing { gap: 2rem; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .contact-cta { padding: 1.5rem; }
  .carousel { padding: 0; }
  .testimonial { flex-basis: 88%; padding: 1.5rem; }
  .carousel-btn { display: none; }
}

@media (max-width: 360px) {
  .logo { font-size: .92rem; gap: .4rem; }
  .logo small { font-size: .62rem; }
  .header-ig { width: 34px; height: 34px; }
  .nav-toggle { padding: 6px 2px; }
}

@media (max-width: 320px) {
  .logo-mark { display: none; }
}

/* ===== PODSTRONA: POLITYKA PRYWATNOŚCI ===== */
.legal-hero {
  padding-bottom: 2rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 217, 120, .45), transparent 70%),
    var(--bg);
}
.legal-hero .section-head { margin-bottom: 0; }
.legal-section { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.legal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 5vw, 3rem);
  overflow-wrap: break-word;
}
.legal h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  margin: 2.6rem 0 .9rem;
  padding-top: 1.6rem;
  border-top: 1px dashed var(--border);
}
.legal h2 span { color: var(--primary); }
.legal h3 { font-size: 1.05rem; margin: 1.6rem 0 .5rem; color: var(--dark); }
.legal p, .legal li { color: var(--text); }
.legal p { margin-bottom: .9rem; }
.legal ul { margin: 0 0 1rem; padding-left: 0; list-style: none; }
.legal ul li { position: relative; padding-left: 1.4rem; margin-bottom: .55rem; }
.legal ul li::before {
  content: ""; position: absolute; left: .2rem; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.legal a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--primary); }
.legal-intro { font-size: 1.05rem; }
.legal-basis {
  font-size: .95rem; color: var(--muted) !important;
  background: var(--bg-tint); border-left: 3px solid var(--accent);
  padding: .6rem .9rem; border-radius: 0 10px 10px 0;
}
.legal-toc {
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.2rem 1.4rem; margin: 1.6rem 0 .5rem;
}
.legal-toc strong { font-family: var(--font-head); font-size: 1.1rem; display: block; margin-bottom: .6rem; }
.legal-toc ol { margin: 0; padding-left: 1.4rem; columns: 2; column-gap: 2rem; }
.legal-toc li { margin-bottom: .35rem; break-inside: avoid; }
.legal-toc li::marker { color: var(--primary); font-weight: 600; }
.legal-toc a { text-decoration: none; color: var(--text); }
.legal-toc a:hover { color: var(--primary); text-decoration: underline; }
.legal-sign {
  margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px dashed var(--border);
}
.legal-date { color: var(--muted) !important; font-size: .95rem; }
.legal-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.legal-actions .btn { text-decoration: none; }
.legal-actions .btn:not(.btn-ghost) { color: #fff; }
.footer-links a[aria-current="page"] { color: var(--sun); }
@media (max-width: 640px) {
  .legal-toc ol { columns: 1; }
}
