/* =========================================================
   Jasny Talerz – Gabinet Dietetyczny
   Motyw: zieleń lasu · słoneczne złoto · krem papieru
   ========================================================= */

/* ---------- Tokeny ---------- */
:root {
  --paper: #FAF7EE;
  --paper-2: #F3EEDD;
  --surface: #FFFDF7;
  --ink: #1C2A1A;
  --muted: #4A5A45;
  --forest: #24412A;
  --forest-2: #2F5636;
  --on-forest: #FAF7EE;
  --leaf: #5B8C3A;
  --sun: #F2B10D;
  --sun-ink: #1C2A1A;
  --sun-soft: #FCEFC4;
  --line: #DED9C4;
  --band: #1F3A25;
  --band-ink: #F3F0E3;
  --band-muted: #C9D5BE;
  --error: #A3261B;
  --shadow: 0 1px 2px rgb(28 42 26 / .06), 0 12px 32px -12px rgb(28 42 26 / .18);
  --shadow-lg: 0 30px 60px -24px rgb(28 42 26 / .35);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 22px;
  --radius-sm: 12px;
  --header-h: 76px;
  --wrap: 1160px;
  --ease: cubic-bezier(.22, .8, .24, 1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0F1810;
    --paper-2: #142016;
    --surface: #182619;
    --ink: #ECF1E3;
    --muted: #B3C2A7;
    --forest: #A9D18A;
    --forest-2: #C3E2A8;
    --on-forest: #0F1810;
    --leaf: #86BD5F;
    --sun: #F5C23A;
    --sun-soft: #2B2915;
    --line: #2B3B2C;
    --band: #172818;
    --band-muted: #B3C2A7;
    --error: #FF9C8F;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px -12px rgb(0 0 0 / .6);
    --shadow-lg: 0 30px 60px -24px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #0F1810;
  --paper-2: #142016;
  --surface: #182619;
  --ink: #ECF1E3;
  --muted: #B3C2A7;
  --forest: #A9D18A;
  --forest-2: #C3E2A8;
  --on-forest: #0F1810;
  --leaf: #86BD5F;
  --sun: #F5C23A;
  --sun-soft: #2B2915;
  --line: #2B3B2C;
  --band: #172818;
  --band-muted: #B3C2A7;
  --error: #FF9C8F;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px -12px rgb(0 0 0 / .6);
  --shadow-lg: 0 30px 60px -24px rgb(0 0 0 / .7);
  color-scheme: dark;
}

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}

/* delikatne ziarno papieru */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  margin: 0;
  color: var(--forest);
  line-height: 1.12;
  text-wrap: balance;
}
h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 120;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.005em; }

p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
  border-radius: 6px;
}
main:focus { outline: none; }

::selection { background: var(--sun); color: var(--sun-ink); }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  background: var(--forest);
  color: var(--on-forest);
  font-weight: 700;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Przyciski ---------- */
.btn {
  --_bg: var(--forest);
  --_fg: var(--on-forest);
  --_bd: var(--forest);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .8rem 1.6rem;
  border: 2px solid var(--_bd);
  border-radius: 999px;
  background: var(--_bg);
  color: var(--_fg);
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-ghost { --_bg: transparent; --_fg: var(--forest); }
.btn-ghost:hover { --_bg: var(--forest); --_fg: var(--on-forest); }
.btn-sun { --_bg: var(--sun); --_fg: var(--sun-ink); --_bd: var(--sun); }
.btn-sm { min-height: 42px; padding: .55rem 1.2rem; font-size: .95rem; }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--forest);
  cursor: pointer;
  transition: border-color .2s, transform .2s var(--ease);
}
.icon-btn:hover { border-color: var(--forest); }
.icon-btn svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Typografia pomocnicza ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--sun);
}
.eyebrow .dot { display: none; }
.eyebrow--light { color: var(--band-muted); }

.section { padding: clamp(4.5rem, 10vw, 7.5rem) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head h2 { margin-bottom: 1rem; }
.section-intro { color: var(--muted); font-size: 1.125rem; margin: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--forest);
  text-decoration: none;
  margin-right: auto;
  border-radius: 10px;
}
.brand-mark { width: 50px; height: 45px; flex: none; color: var(--forest); overflow: visible; }
.brand-mark .logo-sun { transform-origin: 96px 28px; transition: transform .8s var(--ease); }
.brand:hover .logo-sun { transform: rotate(45deg); }
.brand-text { display: grid; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.3rem; letter-spacing: -.015em; }
.brand-sub {
  margin-top: 3px;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.site-nav ul { display: flex; align-items: center; gap: .25rem; }
.site-nav a:not(.btn) {
  display: block;
  padding: .55rem .85rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.site-nav a:not(.btn):hover,
.site-nav a[aria-current="true"] { color: var(--forest); background: var(--sun-soft); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}

.menu-toggle { display: none; }
.burger { display: grid; gap: 4px; width: 18px; }
.burger span {
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 9vw, 7rem);
}
.hero::before {
  content: "";
  position: absolute;
  width: 900px; height: 900px;
  right: -280px; top: -320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sun-soft) 0%, transparent 62%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--forest);
  background: linear-gradient(transparent 68%, color-mix(in srgb, var(--sun) 55%, transparent) 68% 92%, transparent 92%);
  padding: 0 .06em;
}
.hero .lead {
  max-width: 34rem;
  margin: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-trust {
  display: grid;
  gap: .55rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .97rem;
  font-weight: 500;
}
.hero-trust li { display: flex; align-items: center; gap: .65rem; }
.hero-trust svg {
  width: 22px; height: 22px; flex: none;
  padding: 3px;
  border-radius: 50%;
  background: var(--sun-soft);
  fill: none; stroke: var(--forest); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
}

.hero-visual {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  aspect-ratio: 1;
}
.hero-sun {
  position: absolute;
  width: 34%;
  right: -2%; top: -6%;
  z-index: 0;
  animation: spin 60s linear infinite;
}
.plate-frame {
  position: absolute;
  inset: 6%;
  z-index: 1;
  overflow: hidden;
  border-radius: 50%;
  border: 10px solid var(--surface);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
  background: var(--paper-2);
}
.plate-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem 1.1rem .8rem .8rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.3;
}
.float-card strong { display: block; color: var(--forest); font-size: .98rem; }
.float-card--a { left: -6%; bottom: 14%; animation: bob 7s ease-in-out infinite; }
.float-card--b { right: -2%; bottom: -1%; animation: bob 7s ease-in-out -3.5s infinite; }
.fc-mark { width: 40px; height: 36px; color: var(--forest); overflow: visible; }
.fc-num {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--sun-ink);
  font: 600 1.35rem/1 var(--font-display);
}

/* wejście hero */
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-visual { animation: rise 1.1s var(--ease) .15s both; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Zasady ---------- */
.principles { background: var(--paper-2); }
.principle-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: p;
}
.principle-list li {
  position: relative;
  padding: 1.75rem 1.5rem 1.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.principle-list li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.principle-list li:nth-child(even) { margin-top: 2rem; }
.p-num {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--sun);
  font: 600 2.4rem/1 var(--font-display);
  -webkit-text-stroke: 1px color-mix(in srgb, var(--sun) 70%, var(--forest));
}
.principle-list h3 { margin-bottom: .6rem; }
.principle-list p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Oferta ---------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.offer-card {
  position: relative;
  padding: 2rem 1.9rem 2.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--forest) 30%, var(--line)); }
.offer-card h3 { margin: 1.25rem 0 .5rem; font-size: 1.35rem; }
.offer-card > p { color: var(--muted); margin-bottom: 1.25rem; }
.offer-card ul { display: grid; gap: .1rem; }
.offer-card li {
  position: relative;
  padding: .55rem 0 .55rem 1.6rem;
  border-top: 1px dashed var(--line);
  font-weight: 500;
}
.offer-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 10px; height: 10px;
  translate: 0 -50%;
  border-radius: 0 60% 0 60%;
  background: var(--leaf);
}
.offer-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 18px;
  background: var(--sun-soft);
  color: var(--forest);
}
.offer-icon svg {
  width: 30px; height: 30px;
  fill: none; stroke: currentColor; stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
}
.offer-card--featured {
  background: var(--band);
  border-color: color-mix(in srgb, var(--sun) 25%, var(--band));
  color: var(--band-ink);
  margin-top: -1rem;
}
.offer-card--featured h3 { color: var(--band-ink); }
.offer-card--featured > p { color: var(--band-muted); }
.offer-card--featured li { border-top-color: rgb(255 255 255 / .14); }
.offer-card--featured li::before { background: var(--sun); }
.offer-card--featured .offer-icon { background: var(--sun); color: var(--sun-ink); }

/* ---------- Współpraca ---------- */
.process { background: var(--paper-2); }
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.steps::before {
  content: "";
  position: absolute;
  left: 28px; right: 28px; top: 28px;
  border-top: 2px dashed color-mix(in srgb, var(--forest) 35%, transparent);
}
.step { position: relative; }
.step-num {
  position: relative;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--forest);
  color: var(--on-forest);
  font: 600 1.4rem/1 var(--font-display);
  box-shadow: 0 0 0 8px var(--paper-2);
}
.step:last-child .step-num { background: var(--sun); color: var(--sun-ink); }
.step h3 { margin-bottom: .5rem; }
.step p { margin: 0; color: var(--muted); font-size: .98rem; }

.modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.mode {
  display: flex;
  gap: 1.25rem;
  padding: 1.6rem 1.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.mode-icon {
  width: 44px; height: 44px; flex: none;
  fill: none; stroke: var(--leaf); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
}
.mode h3 { margin-bottom: .4rem; }
.mode p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- O mnie ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.about-media { position: relative; margin: 0; }
.about-media::before {
  content: "";
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  z-index: -1;
  border-radius: 200px 200px var(--radius) var(--radius);
  background: var(--sun-soft);
}
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-media figcaption {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  padding: .85rem 1.1rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: .92rem;
  font-weight: 500;
}
.about-copy h2 { margin-bottom: .35rem; }
.about-role { color: var(--leaf); font-weight: 700; margin-bottom: 1.5rem; }
.about-copy > p:not(.about-role):not(.eyebrow) { color: var(--muted); font-size: 1.07rem; max-width: 60ch; }
.chips-title {
  margin: 2rem 0 .9rem;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
  padding: .45rem 1rem;
  border: 1px solid color-mix(in srgb, var(--forest) 30%, var(--line));
  border-radius: 999px;
  color: var(--forest);
  font-size: .92rem;
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  display: block;
  padding: 1.4rem 3.25rem 1.4rem 0;
  color: var(--forest);
  font-size: 1.12rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  border-radius: 8px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 36px; height: 36px;
  translate: 0 -50%;
  border-radius: 50%;
  background:
    linear-gradient(var(--forest), var(--forest)) center / 14px 2px no-repeat,
    linear-gradient(var(--forest), var(--forest)) center / 2px 14px no-repeat,
    var(--sun-soft);
  transition: rotate .3s var(--ease), background-color .3s;
}
.faq-list details[open] summary::after { rotate: 45deg; }
.faq-list summary:hover { color: var(--forest-2); }
.faq-body p { margin: 0; padding: 0 3rem 1.5rem 0; color: var(--muted); }
.faq-list details[open] .faq-body { animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Kontakt ---------- */
.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  background: var(--band);
  color: var(--band-ink);
}
.contact::before {
  content: "";
  position: absolute;
  width: 640px; height: 640px;
  left: -260px; bottom: -320px;
  border-radius: 50%;
  border: 2px dashed rgb(255 255 255 / .1);
}
.contact::after {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  right: -120px; top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--sun) 28%, transparent), transparent 70%);
}
.contact :focus-visible { outline-color: var(--sun); }
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact h2 { color: var(--band-ink); margin-bottom: 1rem; }
.contact-copy > p { color: var(--band-muted); font-size: 1.1rem; max-width: 30rem; }
.contact-list { display: grid; gap: 1rem; margin-top: 2.25rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; }
.contact-list svg {
  width: 46px; height: 46px; flex: none;
  padding: 11px;
  border-radius: 50%;
  background: rgb(255 255 255 / .08);
  fill: none; stroke: var(--sun); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.contact-list strong {
  display: block;
  color: var(--band-muted);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.contact-list a { color: var(--band-ink); font-weight: 600; }

.contact-form {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--sun) 18%, transparent);
  box-shadow: var(--shadow-lg);
}
.contact-form :focus-visible { outline-color: var(--leaf); }
.hp { position: absolute; left: -9999px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin: 0 0 1.1rem; min-width: 0; }
.field > label, .field legend {
  display: block;
  margin-bottom: .4rem;
  color: var(--forest);
  font-size: .92rem;
  font-weight: 700;
}
.req { color: var(--error); }
.opt { color: var(--muted); font-weight: 500; }

.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B8C3A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 18px;
}
.field ::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--forest) 40%, var(--line)); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--leaf);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--leaf) 22%, transparent);
  background: var(--surface);
}
.field [aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { margin: .35rem 0 0; color: var(--error); font-size: .85rem; font-weight: 600; }
.field-error:empty { display: none; }

.segmented { border: 0; padding: 0; }
.seg-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.seg-options label { position: relative; cursor: pointer; }
.seg-options input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.seg-options span {
  display: grid; place-items: center;
  min-height: 48px;
  padding: .5rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--muted);
  font-size: .92rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  transition: all .2s;
}
.seg-options input:checked + span {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--on-forest);
}
.seg-options input:focus-visible + span { outline: 3px solid var(--leaf); outline-offset: 2px; }

.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .25rem .75rem;
  align-items: start;
}
.check input {
  width: 22px; height: 22px;
  margin: 2px 0 0;
  accent-color: var(--forest);
  cursor: pointer;
}
.check label { margin: 0 !important; color: var(--muted) !important; font-size: .88rem !important; font-weight: 500 !important; line-height: 1.5; cursor: pointer; }
.check .field-error { grid-column: 2; }

.contact-form .btn { margin-top: .5rem; }
.spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.contact-form.is-sending .spinner { display: inline-block; }
.contact-form.is-sending .btn { pointer-events: none; opacity: .85; }

.form-status { margin: 1rem 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--sun-soft);
  color: var(--forest);
}
.form-status.is-error { color: var(--error); }
.form-note { margin: .75rem 0 0; color: var(--muted); font-size: .8rem; }

/* ---------- Stopka ---------- */
.site-footer {
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}
.footer-brand p { margin: 1rem 0 0; }
.footer-nav { display: grid; gap: .4rem; }
.footer-nav a { text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--forest); text-decoration: underline; }
.footer-meta p { margin: 0 0 .5rem; }
.disclaimer { font-size: .85rem; }

/* ---------- Strony proste (404, podziękowanie) ---------- */
.simple-page {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: .5rem;
  width: min(640px, 100% - 2.5rem);
  min-height: 100vh;
  min-height: 100dvh;
  margin-inline: auto;
  padding: 3rem 0;
}
.simple-page .brand { margin-bottom: 1.5rem; }
.simple-page p { color: var(--muted); font-size: 1.1rem; }
.simple-page .btn { margin-top: 1rem; }

/* ---------- Pojawianie się przy przewijaniu ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .principle-list li.reveal.is-in:hover,
.js .offer-card.reveal.is-in:hover { transform: translateY(-4px); transition-delay: 0s; }

/* ---------- Responsywność ---------- */
@media (max-width: 1080px) {
  .principle-list { grid-template-columns: repeat(2, 1fr); }
  .principle-list li:nth-child(even) { margin-top: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .steps::before { display: none; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .offer-card--featured { margin-top: 0; grid-row: span 2; }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: inline-grid; }
  .header-cta { display: none; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 1rem 1.25rem 1.75rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .site-nav a:not(.btn) { padding: .9rem 1rem; font-size: 1.1rem; border-radius: 14px; }
  .nav-cta-mobile { display: block; margin-top: .75rem; }
  .nav-cta-mobile .btn { width: 100%; }

  .hero-grid,
  .about-grid,
  .faq-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .hero-visual { width: min(88%, 440px); order: -1; }
  .hero .lead { margin-top: 1.25rem; }
  .faq-grid .section-head { position: static; }
  .about-media { max-width: 480px; margin-inline: auto; width: calc(100% - 1.5rem); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand-mark { width: 42px; height: 38px; }
  .brand-name { font-size: 1.15rem; }
  .brand-sub { font-size: .6rem; letter-spacing: .16em; }
  .hero-actions .btn { flex: 1 1 100%; }
  .float-card { font-size: .78rem; padding: .6rem .8rem .6rem .6rem; }
  .float-card strong { font-size: .88rem; }
  .float-card--a { left: -4%; }
  .float-card--b { right: -4%; }
  .fc-mark { width: 32px; height: 29px; }
  .fc-num { width: 32px; height: 32px; font-size: 1.1rem; }
  .principle-list,
  .offer-grid,
  .steps,
  .modes,
  .field-row { grid-template-columns: 1fr; }
  .offer-card--featured { grid-row: auto; }
  .field-row { gap: 0; }
  .seg-options { grid-template-columns: 1fr 1fr 1fr; }
  .seg-options span { font-size: .82rem; }
  .mode { flex-direction: column; gap: .9rem; }
  .faq-body p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .brand-sub { display: none; }
  .header-actions { gap: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
  .btn, .icon-btn, .seg-options span { border: 2px solid ButtonText; }
  .seg-options input:checked + span { background: Highlight; color: HighlightText; }
}

@media print {
  .site-header, .contact-form, .hero-visual, body::before { display: none; }
  .contact { background: none; color: #000; }
}
