/* ===================================================================
   Ogrody Bies — design system
   Paleta: kremowa biel + leśna zieleń · czcionki: Fraunces + Inter
=================================================================== */

:root {
  /* Kolory — tło i tekst */
  --cream:        #F7F3E9;
  --cream-soft:   #FCFAF3;
  --cream-card:   #FFFDF7;
  --cream-deep:   #EFE8D6;
  --ink:          #23291F;
  --ink-soft:     #54604A;
  --ink-muted:    #76806C;

  /* Zielenie */
  --green-900:    #182E20;
  --green-800:    #1E3A28;
  --green-700:    #2F5D3A;
  --green-600:    #3C7A47;
  --green-500:    #57994E;
  --green-200:    #CADfC0;
  --green-100:    #E5EFDD;
  --green-50:     #EFF5E9;

  /* Akcenty ziemi */
  --bark:         #7A5C3E;
  --gold:         #C19A4B;
  --danger:       #B23B2E;

  /* Tokeny */
  --radius:       16px;
  --radius-sm:    10px;
  --radius-lg:    24px;
  --shadow-sm:    0 1px 2px rgba(24,46,32,.06), 0 2px 8px rgba(24,46,32,.05);
  --shadow-md:    0 4px 14px rgba(24,46,32,.08), 0 10px 30px rgba(24,46,32,.07);
  --shadow-lg:    0 18px 50px rgba(24,46,32,.14);
  --ring:         0 0 0 3px rgba(60,122,71,.30);
  --container:    1140px;
  --header-h:     74px;
  --ease:         cubic-bezier(.22,.61,.36,1);

  /* Zdjęcie trawy w tle hero (z gradientem dla czytelności tekstu) */
  --grass-img: url("https://images.unsplash.com/photo-1416879595882-3373a0480b5b?auto=format&fit=crop&w=1920&q=80");
}

/* ---------- Reset / podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--green-600); }
h1, h2, h3, h4 { font-family: "Fraunces", Georgia, serif; line-height: 1.15; color: var(--green-900); font-weight: 600; letter-spacing: -.01em; }
strong { font-weight: 600; color: var(--ink); }
.muted { color: var(--ink-muted); }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--green-700); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color:#fff; }

.container { max-width: var(--container); margin-inline: auto; padding: 0 22px; }
.container-narrow { max-width: 820px; }

/* =========================================================
   HEADER / NAWIGACJA
========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,243,233,.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(24,46,32,.08);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(249,246,238,.94); }

.nav-wrap {
  max-width: var(--container); margin-inline: auto;
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 22px; gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--green-900); }
.brand:hover { color: var(--green-900); }
.brand-logo { height: 46px; width: auto; display: block; transition: transform .2s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.03); }
@media (max-width: 560px) { .brand-logo { height: 38px; } }
.brand-mark {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 13px;
  background: linear-gradient(150deg, var(--green-600), var(--green-800));
  color: #EAF3E2; box-shadow: var(--shadow-sm);
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.32rem; color: var(--green-900); }
.brand-tag { font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); }

.primary-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; padding: 0; }
.primary-nav a {
  display: inline-block; padding: 10px 16px; border-radius: 10px;
  color: var(--ink-soft); font-weight: 500; font-size: .98rem;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.primary-nav a:hover { background: var(--green-50); color: var(--green-800); }
.primary-nav a[aria-current="page"] { color: var(--green-800); background: var(--green-100); font-weight: 600; }
.primary-nav a.nav-cta {
  background: var(--green-700); color: #fff; margin-left: 8px; box-shadow: var(--shadow-sm);
}
.primary-nav a.nav-cta:hover { background: var(--green-600); }
.primary-nav a.nav-cta[aria-current="page"] { background: var(--green-800); color:#fff; }

.nav-toggle {
  display: none; appearance: none; border: 1px solid rgba(24,46,32,.14);
  background: var(--cream-card); color: var(--green-800);
  width: 46px; height: 46px; border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

/* =========================================================
   HERO — zdjęcie trawy w tle na górze każdej zakładki
========================================================= */
.hero {
  position: relative;
  background-color: var(--green-800); /* fallback gdy zdjęcie się nie wczyta */
  background-image:
    linear-gradient(180deg, rgba(20,40,28,.50) 0%, rgba(20,40,28,.66) 100%),
    var(--grass-img);
  background-size: cover;
  background-position: center 65%;
  color: #fff;
  padding: clamp(54px, 9vw, 104px) 22px clamp(60px, 9vw, 108px);
  text-align: center;
  border-bottom: 4px solid var(--green-600);
}
.hero::after { /* miękkie przejście do kremowego tła */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px;
  background: linear-gradient(180deg, transparent, var(--cream));
  pointer-events: none;
}
.hero-inner { max-width: 760px; margin-inline: auto; position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: #DCEBCF;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
  backdrop-filter: blur(4px);
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 600; text-shadow: 0 2px 18px rgba(0,0,0,.28); }
.hero-sub { margin-top: 16px; font-size: clamp(1.02rem, 2.4vw, 1.2rem); color: #F0F5EA; text-shadow: 0 1px 10px rgba(0,0,0,.3); }

/* =========================================================
   STRONY / SEKCJE
========================================================= */
.page > .container { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 84px); }
[hidden] { display: none !important; }

/* ---------- Karty ogólne ---------- */
.card {
  background: var(--cream-card);
  border: 1px solid rgba(24,46,32,.08);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

/* ---------- Usługi ---------- */
.services-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-200); }
.service-ic, .pillar-ic {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--green-100); color: var(--green-700); margin-bottom: 16px;
}
.service h3 { font-size: 1.22rem; margin-bottom: 8px; }
.service p, .pillar p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Cennik ---------- */
.pricing {
  margin-top: 40px; display: grid; gap: 30px;
  grid-template-columns: 1.25fr .9fr; align-items: center;
  background: linear-gradient(155deg, var(--green-800), var(--green-900));
  color: #EAF2E3; border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow-md);
}
.pricing h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin-bottom: 12px; }
.pricing p { color: #DCE8D2; }
.pricing strong { color: #fff; }
.pricing .muted { color: #B6C7AC; }
.pricing-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.pricing-steps { display: grid; gap: 12px; }
.step {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm); padding: 14px 16px;
}
.step p { color: #EAF2E3; font-size: .96rem; }
.step-n {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--green-500); color: #10271a; font-weight: 700;
  font-family: "Fraunces", serif;
}

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 13px 22px; border-radius: 12px; cursor: pointer;
  border: 1px solid transparent; transition: all .2s var(--ease);
  min-height: 46px;
}
.btn svg { flex: none; }
.btn-primary { background: var(--green-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-700); color:#fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.30); }
.btn-ghost:hover { background: rgba(255,255,255,.18); color:#fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 24px; font-size: 1.05rem; min-height: 54px; }

/* ---------- Realizacje / galeria ---------- */
.gallery {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.shot {
  background: var(--cream-card); border: 1px solid rgba(24,46,32,.08);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.shot-btn {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  background: var(--green-100); overflow: hidden;
}
.shot-btn img { width: 100%; height: 230px; object-fit: cover; transition: transform .4s var(--ease); }
.shot-btn:hover img { transform: scale(1.05); }
.shot-btn:focus-visible { box-shadow: var(--ring); }
.shot img { width: 100%; height: 230px; object-fit: cover; }
.shot .ph {
  height: 200px; display: grid; place-items: center;
  background:
    radial-gradient(120% 120% at 30% 0%, rgba(255,255,255,.5), transparent 60%),
    linear-gradient(150deg, var(--green-100), var(--green-200));
  color: var(--green-600);
}
.shot figcaption { padding: 16px 18px; color: var(--ink-soft); font-size: .96rem; }
.gallery-note {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 28px; padding: 18px 20px;
  background: var(--green-50); border: 1px solid var(--green-200);
  border-radius: var(--radius); color: var(--ink-soft);
}
.gallery-note svg { color: var(--green-600); flex: none; margin-top: 2px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16, 30, 20, .88); backdrop-filter: blur(4px);
  padding: clamp(16px, 4vw, 48px);
  opacity: 0; transition: opacity .25s var(--ease);
}
.lightbox.open { opacity: 1; }
.lb-figure { max-width: min(1100px, 100%); max-height: 100%; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.lb-figure img {
  max-width: 100%; max-height: 78vh; object-fit: contain;
  border-radius: var(--radius); box-shadow: var(--shadow-lg); margin-inline: auto;
}
.lb-figure figcaption { color: #EAF2E3; text-align: center; font-size: 1.02rem; }
.lb-close, .lb-nav {
  position: absolute; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%; width: 52px; height: 52px; transition: background .2s var(--ease);
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.26); }
.lb-close { top: 18px; right: 18px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 18px; }
.lb-prev svg { transform: rotate(180deg); }
.lb-next { right: 18px; }
@media (max-width: 560px) {
  .lb-close, .lb-nav { width: 46px; height: 46px; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; } .lb-close { top: 10px; right: 10px; }
  .lb-figure img { max-height: 70vh; }
}

/* ---------- Przepisy / proza ---------- */
.callout {
  display: flex; gap: 14px; align-items: center;
  background: var(--cream-card); border: 1px solid var(--green-200);
  border-left: 5px solid var(--green-600);
  border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}
.callout svg { color: var(--green-600); flex: none; }
.callout p { font-size: 1.08rem; }

.prose h2 {
  display: flex; align-items: center; gap: 14px;
  font-size: clamp(1.4rem, 3vw, 1.75rem); margin: 38px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.num {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px;
  background: var(--green-700); color: #fff; border-radius: 11px; font-size: 1.1rem;
  font-family: "Inter", sans-serif; font-weight: 700;
}
.prose p { color: var(--ink-soft); margin: 12px 0; }
.prose .lead-sm { font-weight: 600; color: var(--ink); margin-top: 18px; }

.limits { list-style: none; padding: 0; display: grid; gap: 10px; margin: 16px 0; }
.limits li {
  display: flex; align-items: baseline; gap: 14px;
  background: var(--cream-card); border: 1px solid rgba(24,46,32,.08);
  border-radius: var(--radius-sm); padding: 14px 18px; color: var(--ink-soft);
}
.limit-v {
  flex: none; font-family: "Fraunces", serif; font-weight: 600; font-size: 1.05rem;
  color: var(--green-700); background: var(--green-100);
  padding: 3px 12px; border-radius: 999px; min-width: 78px; text-align: center;
}

.steps-list { padding-left: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; margin: 14px 0; }
.steps-list li {
  position: relative; padding: 12px 16px 12px 52px; color: var(--ink-soft);
  background: var(--cream-soft); border: 1px solid rgba(24,46,32,.07); border-radius: var(--radius-sm);
  counter-increment: s;
}
.steps-list li::before {
  content: counter(s); position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700); border-radius: 50%;
  font-weight: 700; font-size: .9rem;
}

.warn-cards { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin: 16px 0; }
.warn {
  background: #FBF4E8; border: 1px solid #EAD9B6; border-left: 5px solid var(--gold);
  border-radius: var(--radius); padding: 18px 20px;
}
.warn h4 { color: #7A5C1E; font-size: 1.08rem; margin-bottom: 6px; }
.warn p { color: #6c5a3a; font-size: .96rem; }

.law-box {
  display: flex; gap: 16px; align-items: flex-start; margin: 30px 0 10px;
  background: var(--green-800); color: #E7F0DF; border-radius: var(--radius); padding: 24px;
}
.law-box svg { color: var(--green-200); flex: none; margin-top: 2px; }
.law-box h4 { color: #fff; margin-bottom: 6px; font-size: 1.15rem; }
.law-box p { color: #C9D8BD; font-size: .96rem; }
.law-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  color: #DCEBCF; font-weight: 600; border-bottom: 1px solid rgba(220,235,207,.5); padding-bottom: 2px;
}
.law-link:hover { color: #fff; }
.disclaimer { font-size: .86rem; color: var(--ink-muted); margin-top: 22px; font-style: italic; }

/* ---------- O nas ---------- */
.intro { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 18px; }
.pillars { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; margin: 30px 0; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-200); }
.pillar h3 { font-size: 1.18rem; margin-bottom: 8px; }
.closing { font-size: 1.1rem; color: var(--ink-soft); margin-top: 8px; }

.cta-band {
  margin-top: 40px; display: flex; flex-wrap: wrap; gap: 18px;
  align-items: center; justify-content: space-between;
  background: linear-gradient(150deg, var(--green-100), var(--green-50));
  border: 1px solid var(--green-200); border-radius: var(--radius-lg);
  padding: 28px clamp(24px, 4vw, 40px);
}
.cta-band p { font-family: "Fraunces", serif; font-size: 1.3rem; color: var(--green-900); }

/* ---------- Kontakt ---------- */
.contact-single { max-width: 660px; margin-inline: auto; }
.contact-info {
  background: linear-gradient(160deg, var(--green-800), var(--green-900));
  color: #E7F0DF; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}
.contact-actions { display: grid; gap: 12px; margin-top: 26px; }
.contact-info .btn-ghost { border-color: rgba(255,255,255,.35); }
.contact-info .btn-ghost:hover { background: rgba(255,255,255,.16); }
.contact-info h2 { color: #fff; font-size: 1.7rem; }
.company-line { margin: 8px 0 22px; color: #CFDCC4; }
.company-line .muted { color: #A9BB9D; }
.contact-list { list-style: none; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.ci-ic {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px; color: #DCEBCF;
}
.contact-list span { display: block; }
.ci-label { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: #A9BB9D; margin-bottom: 3px; }
.contact-list a { display: block; color: #fff; font-weight: 600; font-size: 1.12rem; }
.contact-list a:hover { color: var(--green-200); }
.ci-val { color: #E7F0DF; }
.contact-info .btn-primary:hover { background: var(--green-500); }

.contact-form-wrap {
  background: var(--cream-card); border: 1px solid rgba(24,46,32,.08);
  border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 38px); box-shadow: var(--shadow-sm);
}
.contact-form-wrap h2 { font-size: 1.6rem; }
.contact-form { margin-top: 20px; display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label, .consent { font-weight: 600; font-size: .94rem; color: var(--ink); }
.req { color: var(--green-600); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); width: 100%;
  background: var(--cream-soft); border: 1.5px solid rgba(24,46,32,.16);
  border-radius: 11px; padding: 13px 15px; min-height: 50px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { min-height: auto; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #9aa491; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-600); background: #fff; box-shadow: var(--ring);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.err { color: var(--danger); font-size: .82rem; min-height: 0; font-weight: 500; }
.field.invalid .err { min-height: 1em; }

.consent {
  display: flex; gap: 11px; align-items: flex-start; font-weight: 400;
  font-size: .9rem; color: var(--ink-soft); line-height: 1.5; cursor: pointer;
}
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green-600); flex: none; }
.consent.invalid { color: var(--danger); }

.form-status { font-weight: 600; font-size: .96rem; min-height: 1.2em; }
.form-status.ok { color: var(--green-700); }
.form-status.err { color: var(--danger); }
.form-hint { font-size: .86rem; color: var(--ink-muted); }

/* =========================================================
   STOPKA
========================================================= */
.site-footer { background: var(--green-900); color: #C7D6BB; margin-top: 20px; }
.footer-top {
  max-width: var(--container); margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between;
  padding: 48px 22px 32px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; max-width: 360px; }
.footer-logo { height: 52px; width: auto; display: block; }
.footer-tagline { font-size: .9rem; color: #9FB293; margin-top: 0; }

.footer-contact { display: grid; grid-template-columns: repeat(2, auto); gap: 14px 32px; }
.fc-item { display: flex; gap: 12px; align-items: center; color: #E7F0DF; font-weight: 600; }
.fc-item svg { flex: none; color: var(--green-500); }
.fc-item:hover { color: #fff; }
.fc-item:hover svg { color: var(--green-200); }
.fc-label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: #8FA383; font-weight: 500; }

.footer-nav {
  max-width: var(--container); margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 0 22px 8px;
  border-top: 1px solid rgba(255,255,255,.10); padding-top: 22px;
}
.footer-nav a { color: #B9CBAD; padding: 8px 14px; border-radius: 8px; font-size: .95rem; font-weight: 500; }
.footer-nav a:hover { color: #fff; background: rgba(255,255,255,.07); }

.footer-bottom {
  max-width: var(--container); margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between;
  padding: 18px 22px 30px; font-size: .85rem; color: #8FA383;
}

/* =========================================================
   ANIMACJE wejścia (reveal)
========================================================= */
.reveal, .reveal-group > * {
  opacity: 0; transform: translateY(18px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal.in, .reveal-group.in > * { opacity: 1; transform: none; }
.reveal-group.in > *:nth-child(2) { transition-delay: .06s; }
.reveal-group.in > *:nth-child(3) { transition-delay: .12s; }
.reveal-group.in > *:nth-child(4) { transition-delay: .18s; }
.reveal-group.in > *:nth-child(5) { transition-delay: .24s; }
.reveal-group.in > *:nth-child(6) { transition-delay: .30s; }
.reveal-group.in > *:nth-child(7) { transition-delay: .36s; }
.reveal-group.in > *:nth-child(8) { transition-delay: .42s; }

/* =========================================================
   RESPONSYWNOŚĆ
========================================================= */
@media (max-width: 920px) {
  .pricing { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream-soft); border-bottom: 1px solid rgba(24,46,32,.10);
    box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .32s var(--ease), visibility .32s;
  }
  .primary-nav.open { max-height: 420px; visibility: visible; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 18px 20px; }
  .primary-nav a { padding: 14px 16px; font-size: 1.05rem; }
  .primary-nav a.nav-cta { margin-left: 0; text-align: center; }
  .pillars, .warn-cards { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 26px; }
  .footer-contact { grid-template-columns: 1fr; }
  .pricing-actions .btn { width: 100%; }
  .brand-tag { display: none; }
}

/* Dostępność — ograniczenie ruchu */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal, .reveal-group > * { opacity: 1; transform: none; }
}
